CSOBulgeProcessor¶
-
MLModule
¶ genre CSOProcessor
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoCSO
definition SoCSODeprecatedModules.def see also SoCSOBulgeEditor
keywords modify
,modification
,contour
,interpolation
,segmentation
,interactive
Purpose¶
The module CSOBulgeProcessor
allows for a deforming modification of any type of existing CSO.
Usage¶
Just attach this module at the processor input of a SoView2DCSOEditor
.
Details¶
If clicked in the vicinity of an existing CSO, the CSO can locally be deformed while dragging the mouse. The amount of deformation depends on the module’s influence range, which is measured as a geodesic distance in screen coordinates (pixels) along the contour. Additionally, the influence range may be modified by an optional angle criterion. This is done by following the contour from the clicked point on until either the range limit is reached or until the contour yields a larger angle then is specified is reached.
Only the nearest contour is deformed.
The influenced path points are smoothly deformed using a cosine sigmoid function.
Output Fields¶
None.
outProcessorData¶
-
name:
outProcessorData
, type:
CSOProcessorData(MLBase)
¶ Connect this output to the processor input of a
SoView2DCSOEditor
.
Parameter Fields¶
Field Index¶
Adapt influence range by distance : Bool |
emptyGroupBeforeGeneration : Bool |
seedPointSize : Float |
Adapt while interacting : Bool |
Influence Range (screen) : Integer |
seedPointStyle : Enum |
addCSOToGroupMode : Enum |
Is Processing : Bool |
updateMode : Enum |
addCSOToGroupWithId : Integer |
pathPointStyle : Enum |
|
Angle : Float |
pathPointWidth : Float |
|
apply : Trigger |
Restrict to : Bool |
|
autoApply : Bool |
seedPointAlpha : Float |
|
done : Trigger |
seedPointColor : Color |
Visible Fields¶
Is Processing¶
-
name:
isProcessing
, type:
Bool
, persistent:
no
¶ Shows whether the module is processing which is when the user interacts.
Influence Range (screen)¶
-
name:
influenceRange
, type:
Integer
, default:
64
, minimum:
0
¶ Sets the influence range in pixels along the contour.
Restrict to¶
-
name:
restrictToCurvature
, type:
Bool
, default:
TRUE
¶ If checked, the influence range is eventually further shortened by the contour’s curvature.
Angle¶
-
name:
angleLimit
, type:
Float
, default:
90
¶ Sets a limit value in degrees that restricts the influence range.