24 Jan, 2022
1 commit
-
To enable starting InVesalius by importing app.py and calling main().
14 Jan, 2022
1 commit
03 Dec, 2021
1 commit
19 Oct, 2021
2 commits
-
* Change column order in marker panel - Show most relevant information (id, session, label, target) in the first columns, and the coordinates only in the latter columns. - Adjust the column sizes to give more horizontal space to the label. - Round the coordinates to one decimal place instead of two. - Minor clean-up. * Fix debug option in Session object - Before, debug option was updated when --debug flag was set but not when unset. - Also, debug option was updated too late to be available when the __init__ functions in the UI were called. * Show coordinate columns in marker list only when in --debug mode
10 Sep, 2021
1 commit
18 Aug, 2021
1 commit
-
- The Panel layout differs depending on if the pedal is in use or not, therefore the pedal needs to be initialized before the panel is created.
12 Aug, 2021
1 commit
02 Aug, 2021
1 commit
-
This reverts commit 30ae50b1b29bb0d9c331971f0190fe7b5332e12b.
29 Jul, 2021
1 commit
-
* ADD: Remote control via Socket.IO - Add a command line option (--remote-host) to connect to a remote server via Socket.IO. - Add a hook to send all internal events to the remote server using `from_neuronavigation` event. - Add a Socket.IO event listener for `to_neuronavigation` events, send publish those events internally. * FIX: WxPython-UI modifying Socket.IO messages not working * FIX: Allow sending message to neuronavigation with data None * Review comments: Create RemoteControl class under invesalius/net * Review comments: Move invesalius_pubsub dir to invesalius/pubsub * ADD: Python modules needed by Socket.IO to requirements.txt * MOD: Move python-socketio to optional-requirements.txt - Also, change the requirement name from python-socketio to python-socketio[client], causing all dependencies needed by the Socket.IO client (e.g., requests) to be installed - Due to that, remove explicit 'requests' library from the requirements Co-authored-by: Olli-Pekka Kahilakoski <olli-pekka.kahilakoski@aalto.fi>
28 Jul, 2021
1 commit
-
* ADD: Optional use of trigger pedal - Show the pedal status in a checkbox in the UI. Add actual functions for the pedal later. - For now, hide the feature behind a feature-flag (--use-pedal) * Review comment: Make MIDI requirements optional Co-authored-by: Olli-Pekka Kahilakoski <olli-pekka.kahilakoski@aalto.fi>
20 Jul, 2021
1 commit
-
- FIX: Locale problem crashing with Windows 10 and certain locales (closes #283). Fix locale problem by calling self.ResetLocale() instead Co-authored-by: Olli-Pekka Kahilakoski <olli-pekka.kahilakoski@aalto.fi>
25 May, 2020
1 commit
21 May, 2020
1 commit
-
- FIx sizer error to make InVesalius work with wxPython 4.1 - Not using Mixin with ListCtrl to make edition and check image - Force X11 in Linux (wxPython with OpenGL not working in Wayland)
17 Apr, 2020
1 commit
-
* Using subprocess to start brain segmenter * Wrong mode in comm_array opening * Managing errors * calling get_plaidml_device out of main process to avoid crash with plaidml * Trying to use multiprocessing instead of subprocess * Trying to use multiprocessing instead of subprocess * Using a class to keep brain segmentation * Putting probability_array in SegmentProcess * Some cleaning and style modifications * Moved brainseg model to models/brain_mri_t1 * Setting _ on children process * Added option to create or no create a new mask * Setting lang and _ outside of InVesalius class * models -> ai
13 Apr, 2020
1 commit
-
iteritems was removed from python3.
02 Apr, 2020
2 commits
-
…using pubsub directly from PubSub lib
21 Mar, 2020
1 commit
16 Mar, 2020
1 commit
-
* creating plugins folder and add menu * added header to inv_paths * Adding plugin into menu * Added pubsub to call a plugin * starting to calling plugin * importing plugin module * improvements * starting to calling plugin main * Adding plugin style into style_level and slice_styles * Created methods to discard cache nd get slice and actual mask * added option to discard vtk cache from slice and mask * added method to create project from a matrix * show close project dialong when creating a new project from array * replace scipy.misc with imageio * enabling and disabling plugin menu items when open and close a project * using default ww&wl from previous project if available * Starting to create a base editor style * Created a base editor style interactor to ease the creation o segmentation that need to select voxels by a brush * calling methods before and after click, move and release in the BaseImageEdtionInteractorStyle * improvements * improvements * merging with master * Created a method to load project from folder * Created a method to save a project inside a folder * Importing invesalius project folder * Starting new invesalius instance * Showing error when not able to launch new invesalius instance * calling correctly new invesalius instance * improvements
26 Apr, 2019
1 commit
-
* created a file to keep all the inv paths * frame and task_slice using inv_paths * task slice, surface, export and data_notebook using invesalius.inv_paths * clut_raycasting using inv_paths * using pathlib in frame * dicom reader using inv_paths * neuronavigation using inv_paths * session using inv_paths * dialogs using inv_paths
16 Apr, 2019
1 commit
-
* using calllater instead of futurecall * Using Append instead of AppendMenu in slice_menu * Using Append instead of AppendItem in slice_menu * Using Append instead of AppendItem in rest of source code * Using Append instead of AppendMenu in rest of source code * Using Bitmap instead of BitmapFromImage * GetVirtualSizeTuple -> GetVirtualSize * SetToolTipString -> SetToolTip * ImageFromStream -> Image * using self.bind to undo and redo tool * wx.EmptyBitmapRGBA to wx.Bitmap * EmptyImage -> Image * InsertStringItem -> InsertItem * SetStringItem -> SetItem * wx.StockCursor to wx.Cursor * GetSizeTuple -> GetSize * Less time in dicom loading from cmdline * Created an alternative class to SpinCtrl * Using InvSpinCtrl in task_slice * implementing float spinctrl * Added InvFloatSpinCtrl * Using InvSpinCtrl in task_surface * Using InvSpinCtrl in regiongrowing dialog * Using InvSpinCtrl in watershed config dialgo * Using InvSpinCtrl in contextawaresmoothing config dialog * Using InvSpinCtrl in fillholes auto config dialog * Using InvSpinCtrl in the resizeimage dialog * Using InvSpinCtrl in the bitmap spacing dialog * removed all wx.predialog * Using InvSpinCtrl gradient ctrl * align to the right by default * Added Spinbutton at inv_spinctrl * formatation * Using other way to calc invspinctrl size * better size of spin button * better size of spin button * improvements * better gradient code format * Improvements in gradient ctrl * Using gradientctrl instead of gradientslider in new mask * better invspinctrl size to mac * moved invspinctrl to widgets * better size to mac
23 Jan, 2019
1 commit
-
* Export hdf5 * Exporting mask to hdf5 * Exporting all project to hdf5 * better hierachy of tags * Only exporting project * Option to export to hdf5 via command line * suffix * Added an option to not export masks * exporting to nifti * Exporting to nifti * Doing swap axes to export nii * Better extension handling * Better extension handling * fliping lr when exporting to nii
06 Dec, 2018
1 commit
-
* session as dict almost working * writing to json * Better last projection handling * was not closing when didn't have config * Not reading status from config file * removed unused fucntion * reading from cfg specifing the types * reading from cfg specifing the types * Removed unused parts * Added a get method to session * Using default in session * last folder to inv3 and other files in session * last folder to export and import stl export screenshots and open bmp folder in session
08 Oct, 2018
1 commit
11 Sep, 2018
1 commit
13 Aug, 2018
1 commit
-
args1 pypubsub protocol was deprecated since wxpython3. In wxpython4 it was removed. This code updates invesalius to the new pypubsub protocol (kwargs).
06 Jun, 2018
1 commit
04 Jun, 2018
1 commit
14 May, 2018
1 commit
26 Apr, 2018
1 commit
-
* Starting to port to python3 * String decode error with python3 * More string decode and print * More errors with wxpython modules * More errors with wxpython modules and prints * More errors with wxpython modules, prints and xrange * wx hyperlink import errors * print, xrange and wx import errors on tasks * more print and xrange errors * more print and xrange errors in dicom reader * taskbaricon error * print and xrange errors in surface code parts * print and xrange errors * metaclass in python3 using six * StringIO to BytesIO * Hyperlinkctrl errors * SystemSettings errors * AddSizer -> Add * More hyperlink errors * AddSpacer -> Add * Temporary fixes * Temporary fixes * Creating preferences dialog * Update checking working * presets and other errors * Opening inv3 proj * Measures and gradiente widget (from manual segmentation) working * Task thresholding, manual segmentation and watershed working * Changed a bunch of xrange to range * Opening dicom from command line * Opening dicom by the gui * Showing raycasting * clut raycasting working * Changing viewer volume colour working again * Saving inv3 files * Surface creation dialog and mask and surface colour setting * Region growing gui working again * Crop mask working again * Reorient image working again * New mask gui dialog working again * Mask boolean operations working again * Fill holes manually working again * Fill holes automatically working again * Fill holes automatically radiobox set default values * Select parts working again * Handling all exceptions when verifying update * Entering in navigate mode and the navigate debug device * Custom pseudocolor gui working again * Opening bitmap folder working again * Expanding watershed working again * Resize dicom dialog gui working again * Converted the rest of the dialogs * Exporting mesh files * Exporting mesh files * Datanotebook (surface and measures) working again * Fixed crash when closing project (because of checking an unused menu in slice viewer) * UnIniting auimanager when closing invesalius gui * Fill holes manually working in both wxpython 3 and 4 * Fill holes automatically working in both wxpython 3 and 4 * Crop working in both wxpython 3 and 4 * Opening bmp files working in both wxpython 3 and 4 * Colors of measures * Changes in Neuronavigation to work with wxpython4 and python3 * Forcing surface and mask colour to always be a triple (r, g, b) * Workaround to make InVesalius run in wxPython in Ubuntu 18.04
27 Nov, 2017
1 commit
29 Sep, 2017
1 commit
22 Aug, 2017
2 commits
14 Aug, 2017
1 commit
-
* Create option in app.py to import and then save the project * Add command to import and export in STL to all available presets * Create option to open InVesalius without gui * Add option --export * No-gui doing less work when creating surface * Print on debug * Fix missing session assignment in non-gui mode * Add option to import every group of DICOM images * Checking surface index exists in actors_dict before removing it
09 Aug, 2017
1 commit
08 Aug, 2017
1 commit
-
Fix the above unicode related errors: - InVesalius was not starting in Windows with users with non ascii chars. - Not opening dicom files from path with non ascii chars. - Not opening bitmap files from path with non ascii chars. - Not opening Analyze, Nifti with filename with non ascii chars. - Not exporting surface when the path has non ascii chars. - Not exporting picture when the path has non ascii chars. - Not importing surface when the path has non ascii chars. - Strange chars when showing developers and translators with non ascii chars. To fix that errors we are convert all paths and filenames to unicode. wxPythons eases this, since it gives the paths and filenames as unicode. When using VTK to save or open a file we encode the filename to sys.getfilesystemencoding. In Windows it is necessary an additional step, convert the filename to an short representation using [win32api](http://docs.activestate.com/activepython/2.6/pywin32/win32api__GetShortPathName_meth.html).
31 Jul, 2017
1 commit
28 Jul, 2017
1 commit