-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENH: Improve DataImporter #56
Conversation
0fdd66f
to
324964c
Compare
63a0f75
to
9980ad8
Compare
Closes #54 |
77a9aab
to
453ecae
Compare
Also add unit-test to ctest.
Add importLabelMap Add importSegmentation: image (.seg) or vtm (.seg.vtm) Add tests Remove csv mode TODO: - GUI, remove unused.
Remove csv mode
Fortify logic handling segmendId instead of segmentIndex. Better error/warning messages.
Remove its trivial usage from DataImporter
TODO: - Functions to display segments should be moved outside logic into widget - Table might contain more information that just the name. - Think about re-implementing a tab for a csv file.
453ecae
to
fe4bbae
Compare
TODO: - Control Display (selected in table or selected in column) -[x] Enable CSV
e27ef83
to
5fcf7aa
Compare
return True | ||
|
||
def filePathsFromCSVFile(self, csvFileName): | ||
""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May be you could also use the Slicer reader for loading table file (aka csv)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not resolved... yet
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well done 👍
New commits: $ git shortlog 602046b..7414e09 David Allemang (3): WIP: Fix VTK_USE_QVTKOPENGLWIDGET condition WIP: VTK_OVERRIDE -> override Merge pull request #56 from NIRALUser/vtk9 Jared Vicory (1): BUG: Use correct filter for reducing number of vectors Jean-Christophe Fillion-Robin (6): Merge pull request #50 from slicersalt/slicersalt-2019-11-20-bd4bdcf ENH: Support use of extension wizard simplify setting of EXTENSION_* vars Merge pull request #51 from jcfr/support-extension-wizard-use COMP: Generate (Extension)Config.cmake Merge pull request #52 from jcfr/generate-config-file Merge pull request #54 from NIRALUser/53-fix-qt5-build-error Sam Horvath (1): COMP: Qt 5.15 needs QPainterPath include with QPainter Ye Han (5): ENH: Allow import .xml file to visualize S-Rep ENH: Visualize spokes and assign point data for coloring ENH: Load customized colormap when reading SReps ENH: Allow SPV to Load SReps from CLI ENH: Allow reading s-rep from csv files
Allows reading LabelMaps, Segmentations, and Models.
Things to improve / todo:
not great.