|
VMTK
|
Apply a sigmoid function to every voxel of an image. More...
#include <vtkvmtkLevelSetSigmoidFilter.h>
Public Types | |
| typedef vtkSimpleImageToImageFilter | Superclass |
Public Member Functions | |
| virtual int | IsA (const char *type) |
| vtkvmtkLevelSetSigmoidFilter * | NewInstance () const |
| void | PrintSelf (std::ostream &os, vtkIndent indent) override |
| virtual void | SetLevelSetsImage (vtkImageData *) |
| virtual vtkImageData * | GetLevelSetsImage () |
| virtual void | SetSigma (double) |
| virtual double | GetSigma () |
| virtual void | SetScaleValue (double) |
| virtual double | GetScaleValue () |
| virtual void | SetComputeScaleValueFromInput (int) |
| virtual int | GetComputeScaleValueFromInput () |
| virtual void | ComputeScaleValueFromInputOn () |
| virtual void | ComputeScaleValueFromInputOff () |
Static Public Member Functions | |
| static int | IsTypeOf (const char *type) |
| static vtkvmtkLevelSetSigmoidFilter * | SafeDownCast (vtkObjectBase *o) |
| static vtkvmtkLevelSetSigmoidFilter * | New () |
Protected Member Functions | |
| virtual vtkObjectBase * | NewInstanceInternal () const |
| vtkvmtkLevelSetSigmoidFilter () | |
| ~vtkvmtkLevelSetSigmoidFilter () | |
| virtual void | SimpleExecute (vtkImageData *input, vtkImageData *output) override |
Protected Attributes | |
| vtkImageData * | LevelSetsImage |
| double | Sigma |
| double | ScaleValue |
| int | ComputeScaleValueFromInput |
Apply a sigmoid function to every voxel of an image.
For every voxel whose value in LevelSetsImage (typically a signed distance / level set image computed from a preliminary segmentation) is below a small fixed window (4 voxel-spacing units), this filter adds a sigmoid-shaped correction to the corresponding input feature image value; the correction is centered on the LevelSetsImage zero level set with width controlled by Sigma (in voxel units) and height controlled by ScaleValue (or, if ComputeScaleValueFromInput is on, by the mean of the input image). Voxels farther from the level set are left unchanged.
This is primarily used in feature image correction (see http://vmtk.github.io/tutorials/ImageFeatureCorrection.html for details), where it locally boosts the speed/feature image near a preliminary level set front so that a subsequent level set evolution is encouraged to settle more precisely on the true boundary.
Definition at line 41 of file vtkvmtkLevelSetSigmoidFilter.h.
| typedef vtkSimpleImageToImageFilter vtkvmtkLevelSetSigmoidFilter::Superclass |
Definition at line 44 of file vtkvmtkLevelSetSigmoidFilter.h.
|
protected |
Definition at line 35 of file vtkvmtkLevelSetSigmoidFilter.cxx.
|
protected |
Definition at line 43 of file vtkvmtkLevelSetSigmoidFilter.cxx.
|
static |
|
virtual |
|
static |
|
protectedvirtual |
| vtkvmtkLevelSetSigmoidFilter * vtkvmtkLevelSetSigmoidFilter::NewInstance | ( | ) | const |
|
override |
Definition at line 109 of file vtkvmtkLevelSetSigmoidFilter.cxx.
|
static |
|
virtual |
Set/Get the level set (signed distance) image whose zero level set defines the front around which the sigmoid correction is applied to the input feature image. Required before SimpleExecute is called.
|
virtual |
Set/Get the level set (signed distance) image whose zero level set defines the front around which the sigmoid correction is applied to the input feature image. Required before SimpleExecute is called.
|
virtual |
Set/Get the sigma value of the sigmoid function. Sigma determines the width of the sigmoid function. The value is given in pixel (voxel spacing) units. Default: 1.0.
|
virtual |
Set/Get the sigma value of the sigmoid function. Sigma determines the width of the sigmoid function. The value is given in pixel (voxel spacing) units. Default: 1.0.
|
virtual |
Set/Get the Scalevalue of the sigmoind function. This determines the height of the sigmoid.
|
virtual |
Set/Get the Scalevalue of the sigmoind function. This determines the height of the sigmoid.
|
virtual |
Set/Get The the ComputeScaleValueFromInput option. When enabled, vmtkimagefeaturecorrection computes the mean value from the featureimage and uses this value to set the height of the sigmoid function instead of the value given to the option scalevalue.
|
virtual |
Set/Get The the ComputeScaleValueFromInput option. When enabled, vmtkimagefeaturecorrection computes the mean value from the featureimage and uses this value to set the height of the sigmoid function instead of the value given to the option scalevalue.
|
virtual |
Set/Get The the ComputeScaleValueFromInput option. When enabled, vmtkimagefeaturecorrection computes the mean value from the featureimage and uses this value to set the height of the sigmoid function instead of the value given to the option scalevalue.
|
virtual |
Set/Get The the ComputeScaleValueFromInput option. When enabled, vmtkimagefeaturecorrection computes the mean value from the featureimage and uses this value to set the height of the sigmoid function instead of the value given to the option scalevalue.
|
overrideprotectedvirtual |
Definition at line 52 of file vtkvmtkLevelSetSigmoidFilter.cxx.
|
protected |
Definition at line 93 of file vtkvmtkLevelSetSigmoidFilter.h.
|
protected |
Definition at line 95 of file vtkvmtkLevelSetSigmoidFilter.h.
|
protected |
Definition at line 96 of file vtkvmtkLevelSetSigmoidFilter.h.
|
protected |
Definition at line 97 of file vtkvmtkLevelSetSigmoidFilter.h.