Skip to content
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

Merged
merged 9 commits into from
Sep 11, 2018
Merged

Conversation

phcerdan
Copy link
Contributor

@phcerdan phcerdan commented Aug 24, 2018

Allows reading LabelMaps, Segmentations, and Models.

Things to improve / todo:

  • Functions to display segments should be moved outside logic into widget
  • Table might contain more information other than just the name, the interface is
    not great.
  • Think about re-implementing IO for a csv file (csv is used in other SALT extensions)

@phcerdan phcerdan force-pushed the improve_dataimporter branch 5 times, most recently from 0fdd66f to 324964c Compare August 29, 2018 17:37
@phcerdan phcerdan force-pushed the improve_dataimporter branch 4 times, most recently from 63a0f75 to 9980ad8 Compare September 4, 2018 22:41
@phcerdan phcerdan changed the title WIP: Improve DataImporter ENH: Improve DataImporter Sep 4, 2018
@phcerdan
Copy link
Contributor Author

phcerdan commented Sep 5, 2018

Closes #54

@phcerdan phcerdan mentioned this pull request Sep 5, 2018
3 tasks
@phcerdan phcerdan force-pushed the improve_dataimporter branch 3 times, most recently from 77a9aab to 453ecae Compare September 7, 2018 16:01
Add importLabelMap
Add importSegmentation: image (.seg) or vtm (.seg.vtm)
Add tests

Remove csv mode

TODO:
- GUI, remove unused.
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.
@phcerdan phcerdan force-pushed the improve_dataimporter branch from 453ecae to fe4bbae Compare September 8, 2018 14:56
TODO:
 - Control Display (selected in table or selected in column)
 -[x] Enable CSV
@phcerdan phcerdan force-pushed the improve_dataimporter branch from e27ef83 to 5fcf7aa Compare September 11, 2018 01:18
return True

def filePathsFromCSVFile(self, csvFileName):
"""
Copy link
Member

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)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not resolved... yet

Copy link
Member

@jcfr jcfr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done 👍

@phcerdan phcerdan merged commit 7ec66aa into Kitware:master Sep 11, 2018
allemangD added a commit that referenced this pull request Oct 29, 2021
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants