|
VMTK
|
Wraps itk::FastMarchingUpwindGradientImageFilter. More...
#include <vtkvmtkFastMarchingUpwindGradientImageFilter.h>
Public Types | |
| enum | { ONE_TARGET , ALL_TARGETS , NO_TARGETS } |
| typedef vtkSimpleImageToImageFilter | Superclass |
Public Member Functions | |
| virtual int | IsA (const char *type) |
| vtkvmtkFastMarchingUpwindGradientImageFilter * | NewInstance () const |
| void | SetTargetReachedModeToOneTarget () |
| void | SetTargetReachedModeToAllTargets () |
| void | SetTargetReachedModeToNoTargets () |
| virtual double | GetTargetValue () |
| virtual int | GetGenerateGradientImage () |
| virtual void | SetGenerateGradientImage (int) |
| virtual void | GenerateGradientImageOn () |
| virtual void | GenerateGradientImageOff () |
| virtual int | GetTargetReachedMode () |
| virtual void | SetTargetReachedMode (int) |
| virtual double | GetTargetOffset () |
| virtual void | SetTargetOffset (double) |
| virtual void | SetSeeds (vtkIdList *) |
| virtual vtkIdList * | GetSeeds () |
| virtual void | SetTargets (vtkIdList *) |
| virtual vtkIdList * | GetTargets () |
Static Public Member Functions | |
| static vtkvmtkFastMarchingUpwindGradientImageFilter * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkvmtkFastMarchingUpwindGradientImageFilter * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
| virtual vtkObjectBase * | NewInstanceInternal () const |
| vtkvmtkFastMarchingUpwindGradientImageFilter () | |
| ~vtkvmtkFastMarchingUpwindGradientImageFilter () | |
| virtual void | SimpleExecute (vtkImageData *input, vtkImageData *output) override |
Wraps itk::FastMarchingUpwindGradientImageFilter.
vtkvmtkFastMarchingUpwindGradientImageFilter runs a fast marching front propagation, on the (internally float-cast, assumed 3D) input speed image, starting from the point ids listed in Seeds and outputs the front arrival time at every voxel (and, if GenerateGradientImage is on, the gradient of the arrival time field). Front propagation can be stopped early once one/all of the point ids listed in Targets are reached, according to TargetReachedMode; after Update(), the arrival time at the (first reached) target is available via GetTargetValue. This is used by the vmtkimageinitialization pype script's fast-marching-based initialization method to build an initial level set: the arrival time image, shifted by (minus) the target value, has its zero level set passing through the target, giving a front that has grown outward from the seeds to reach it.
Definition at line 47 of file vtkvmtkFastMarchingUpwindGradientImageFilter.h.
| typedef vtkSimpleImageToImageFilter vtkvmtkFastMarchingUpwindGradientImageFilter::Superclass |
Definition at line 51 of file vtkvmtkFastMarchingUpwindGradientImageFilter.h.
| anonymous enum |
| Enumerator | |
|---|---|
| ONE_TARGET | |
| ALL_TARGETS | |
| NO_TARGETS | |
Definition at line 102 of file vtkvmtkFastMarchingUpwindGradientImageFilter.h.
|
protected |
Definition at line 35 of file vtkvmtkFastMarchingUpwindGradientImageFilter.cxx.
|
protected |
Definition at line 45 of file vtkvmtkFastMarchingUpwindGradientImageFilter.cxx.
|
static |
|
static |
|
virtual |
|
static |
|
protectedvirtual |
| vtkvmtkFastMarchingUpwindGradientImageFilter * vtkvmtkFastMarchingUpwindGradientImageFilter::NewInstance | ( | ) | const |
|
virtual |
Toggle computation of the gradient of the arrival time image, in addition to the arrival time image itself. Default: off.
|
virtual |
Toggle computation of the gradient of the arrival time image, in addition to the arrival time image itself. Default: off.
|
virtual |
Toggle computation of the gradient of the arrival time image, in addition to the arrival time image itself. Default: off.
|
virtual |
Toggle computation of the gradient of the arrival time image, in addition to the arrival time image itself. Default: off.
|
virtual |
Set/get the criterion used to decide when front propagation towards Targets should stop: one of ONE_TARGET (stop as soon as any target is reached), ALL_TARGETS (stop only once every target has been reached), or NO_TARGETS (ignore Targets and propagate over the whole image). Use SetTargetReachedModeToOneTarget/ToAllTargets/ToNoTargets for the equivalent named setters. Default: ONE_TARGET.
|
virtual |
Set/get the criterion used to decide when front propagation towards Targets should stop: one of ONE_TARGET (stop as soon as any target is reached), ALL_TARGETS (stop only once every target has been reached), or NO_TARGETS (ignore Targets and propagate over the whole image). Use SetTargetReachedModeToOneTarget/ToAllTargets/ToNoTargets for the equivalent named setters. Default: ONE_TARGET.
|
inline |
Set TargetReachedMode to ONE_TARGET: propagation stops as soon as any one of the Targets is reached.
Definition at line 79 of file vtkvmtkFastMarchingUpwindGradientImageFilter.h.
|
inline |
Set TargetReachedMode to ALL_TARGETS: propagation stops only once every point in Targets has been reached.
Definition at line 88 of file vtkvmtkFastMarchingUpwindGradientImageFilter.h.
|
inline |
Set TargetReachedMode to NO_TARGETS: Targets is ignored and the front propagates over the whole image.
Definition at line 97 of file vtkvmtkFastMarchingUpwindGradientImageFilter.h.
|
virtual |
Get the front arrival time at the target reached according to TargetReachedMode. Valid only after Update() has been called.
|
virtual |
Set/get an offset added to (subtracted from, per ITK's convention) the stopping value used when checking whether Targets have been reached, allowing the front to overshoot the target slightly. Default: 0.0.
|
virtual |
Set/get an offset added to (subtracted from, per ITK's convention) the stopping value used when checking whether Targets have been reached, allowing the front to overshoot the target slightly. Default: 0.0.
|
virtual |
Set/get the point ids (into the input image's points) of the seeds from which the front starts propagating (fast marching trial points).
|
virtual |
Set/get the point ids (into the input image's points) of the seeds from which the front starts propagating (fast marching trial points).
|
virtual |
Set/get the point ids (into the input image's points) of the target points used, together with TargetReachedMode, to decide when front propagation stops.
|
virtual |
Set/get the point ids (into the input image's points) of the target points used, together with TargetReachedMode, to decide when front propagation stops.
|
overrideprotectedvirtual |
Definition at line 59 of file vtkvmtkFastMarchingUpwindGradientImageFilter.cxx.