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: VectorToScalar optionally extract single components. #967

Closed
wants to merge 2 commits into from

Commits on Jun 18, 2018

  1. ENH: VectorToScalar optionally extract single components.

    This commit improves the user interface adding support for choosing
    the conversion mode.
    
    Available conversion modes are now:
    * vector (RGB, RGBA) images to luminance (default mode keeping backward
      compatibility with original module implementation)
    * vector images to single component (user select which component to extract)
    
    To support reusing of components by other scripted modules, a logic
    and widget have also been created:
    * VectorToScalarVolumeConversionModeWidget
    * VectorToScalarVolumeLogic
    
    Co-authored-by: Jean-Christophe Fillion-Robin <[email protected]>
    Reviewed-by: Andras Lasso <[email protected]>
    Reviewed-by: Csaba Pinter <[email protected]>
    Reviewed-by: Steve Pieper <[email protected]>
    phcerdan and jcfr committed Jun 18, 2018
    Configuration menu
    Copy the full SHA
    6afb9f4 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2018

  1. ENH: Add average computation to VectorToScalarVolume Module.

    Add new method to compute the average of all the components of a
    VectorVolume. Also add parameterNode awareness, and general reformat that
    deserve a new commit.
    
    Co-authored-by: Jean-Christophe Fillion-Robin <[email protected]>
    phcerdan and jcfr committed Jun 23, 2018
    Configuration menu
    Copy the full SHA
    9c40117 View commit details
    Browse the repository at this point in the history