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
23 Mar, 2017
1 commit
21 Sep, 2016
1 commit
-
ENH: Code restructuring, invesalius.py is now app.py