CSOModifyProcessor¶
-
MLModule
¶ genre CSOProcessor
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoCSO
definition SoCSODeprecatedModules.def see also SoCSOModifyEditor
keywords modification
,contour
,interpolation
,segmentation
,interactive
Purpose¶
The module CSOModifyProcessor
allows for the interactive modification of existing CSOs.
This is done by drawing freehand modification contours that are combined with the existing ones. The combination can be a Boolean difference or union operation. The actual operation depends on the starting point of drawing a modification contour: if this contour is started with a point inside an existing CSO, a union operation is performed, if it is started outside an existing CSO, a difference operation is performed.
Usage¶
Attach this module as a processor to a SoView2DCSOEditor
.
Details¶
The Boolean operation of the modification contour is performed with only one existing CSO. That is for the union operation (starting inside) the CSO which embraces the starting point, and for the difference operation (starting outside) the CSO that is firstly intersected twice by the modification contour, in direction of its drawing.
Note that modification contours that are self-intersecting are rejected.
If a difference operation is performed on an existing CSO, the result can be multiple CSOs. That is, the difference operation may cut a CSO into pieces. In order to prevent a CSO to fall into small and useless pieces, there is a parameter that adjusts a limit on the resulting CSO pieces: if a resulting pieces would become too small in respect to the choosen limit, it is removed from the list of CSOs.
Output Fields¶
None.
Parameter Fields¶
Field Index¶
addCSOToGroupMode : Enum |
Limit : Float |
Selection Mode : Enum |
addCSOToGroupWithId : Integer |
Limit Unit : Enum |
updateMode : Enum |
apply : Trigger |
pathPointStyle : Enum |
|
autoApply : Bool |
pathPointWidth : Float |
|
done : Trigger |
seedPointAlpha : Float |
|
emptyGroupBeforeGeneration : Bool |
seedPointColor : Color |
|
IDs : String |
seedPointSize : Float |
|
Is Processing : Bool |
seedPointStyle : Enum |
Visible Fields¶
Is Processing¶
-
name:
isProcessing
, type:
Bool
, persistent:
no
¶ Shows whether the module is processing which is when the user interacts.
Limit¶
-
name:
limitValue
, type:
Float
, default:
0
¶ Sets the limiting parameter. The default of 0 means that nothing is ever removed.
Limit Unit¶
-
name:
limitUnit
, type:
Enum
, default:
numPoints
¶ Defines how the limiting parameter should be evaluated.
Values:
Title | Name |
---|---|
num Points | numPoints |
smm | smm |
scm | scm |
sm | sm |