Class CollidingFrontsImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.CollidingFrontsImageFilter
Selects a region of space where two independent fronts run towards
each other.
The filter can be used to quickly segment anatomical structures (e.g.
for level set initialization).
The filter uses two instances of FastMarchingUpwindGradientImageFilter to compute the gradients of arrival times of two wavefronts
propagating from two sets of seeds. The input of the filter is used as
the speed of the two wavefronts. The output is the dot product between
the two gradient vector fields.
The filter works on the following basic idea. In the regions where the
dot product between the two gradient fields is negative, the two
fronts propagate in opposite directions. In the regions where the dot
product is positive, the two fronts propagate in the same direction.
This can be used to extract the region of space between two sets of
points.
If StopOnTargets is On, then each front will stop as soon as all seeds
of the other front have been reached. This can markedly speed up the
execution of the filter, since wave propagation does not take place on
the complete image.
Optionally, a connectivity criterion can be applied to the resulting
dot product image. In this case, the only negative region in the
output image is the one connected to the seeds.
Luca Antiga Ph.D. Biomedical Technologies Laboratory, Bioengineering
Department, Mario Negri Institute, Italy.
See:
 itk::simple::CollidingFronts for the procedural interface
 itk::CollidingFrontsImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkCollidingFrontsImageFilter.h
- 
Field SummaryFields inherited from class org.itk.simple.ProcessObjectswigCMemOwn
- 
Constructor SummaryConstructorsModifierConstructorDescriptionitk::simple::CollidingFrontsImageFilter::CollidingFrontsImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedCollidingFrontsImageFilter(long cPtr, boolean cMemoryOwn) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddSeedPoint1(VectorUInt32 point) Self& itk::simple::CollidingFrontsImageFilter::AddSeedPoint1(std::vector< unsigned int > point) Add SeedPoints1 point.voidaddSeedPoint2(VectorUInt32 point) Self& itk::simple::CollidingFrontsImageFilter::AddSeedPoint2(std::vector< unsigned int > point) Add SeedPoints2 point.voidSelf& itk::simple::CollidingFrontsImageFilter::ApplyConnectivityOff()voidSelf& itk::simple::CollidingFrontsImageFilter::ApplyConnectivityOn() Set the value of ApplyConnectivity to true or false respectfully.voidSelf& itk::simple::CollidingFrontsImageFilter::ClearSeedPoints1() Remove all SeedPoints1 points.voidSelf& itk::simple::CollidingFrontsImageFilter::ClearSeedPoints2() Remove all SeedPoints2 points.voiddelete()virtual itk::simple::CollidingFrontsImageFilter::~CollidingFrontsImageFilter() DestructorImage itk::simple::CollidingFrontsImageFilter::Execute(const Image &image1) Execute the filter on the input imageprotected voidfinalize()booleanbool itk::simple::CollidingFrontsImageFilter::GetApplyConnectivity() constprotected static longgetName()std::string itk::simple::CollidingFrontsImageFilter::GetName() const Name of this classdoubledouble itk::simple::CollidingFrontsImageFilter::GetNegativeEpsilon() conststd::vector< std::vector< unsigned int > > itk::simple::CollidingFrontsImageFilter::GetSeedPoints1() const Get the container of Seed Points representing the first initial front.std::vector< std::vector< unsigned int > > itk::simple::CollidingFrontsImageFilter::GetSeedPoints2() const Get the container of Seed Points representing the second initial front.booleanbool itk::simple::CollidingFrontsImageFilter::GetStopOnTargets() constvoidsetApplyConnectivity(boolean ApplyConnectivity) Self& itk::simple::CollidingFrontsImageFilter::SetApplyConnectivity(bool ApplyConnectivity)voidsetNegativeEpsilon(double NegativeEpsilon) Self& itk::simple::CollidingFrontsImageFilter::SetNegativeEpsilon(double NegativeEpsilon)voidsetSeedPoints1(VectorUIntList SeedPoints1) Self& itk::simple::CollidingFrontsImageFilter::SetSeedPoints1(std::vector< std::vector< unsigned int > > SeedPoints1) Set the container of Seed Points representing the first initial front.voidsetSeedPoints2(VectorUIntList SeedPoints2) Self& itk::simple::CollidingFrontsImageFilter::SetSeedPoints2(std::vector< std::vector< unsigned int > > SeedPoints2) Set the container of Seed Points representing the second initial front.voidsetStopOnTargets(boolean StopOnTargets) Self& itk::simple::CollidingFrontsImageFilter::SetStopOnTargets(bool StopOnTargets)voidSelf& itk::simple::CollidingFrontsImageFilter::StopOnTargetsOff()voidSelf& itk::simple::CollidingFrontsImageFilter::StopOnTargetsOn() Set the value of StopOnTargets to true or false respectfully.protected static longtoString()std::string itk::simple::CollidingFrontsImageFilter::ToString() const Print ourselves outMethods inherited from class org.itk.simple.ImageFiltergetCPtr, swigReleaseMethods inherited from class org.itk.simple.ProcessObjectabort, addCommand, debugOff, debugOn, getCPtr, getDebug, getGlobalDefaultCoordinateTolerance, getGlobalDefaultDebug, getGlobalDefaultDirectionTolerance, getGlobalDefaultNumberOfThreads, getGlobalDefaultThreader, getGlobalWarningDisplay, getNumberOfThreads, getNumberOfWorkUnits, getProgress, globalDefaultDebugOff, globalDefaultDebugOn, globalWarningDisplayOff, globalWarningDisplayOn, hasCommand, removeAllCommands, setDebug, setGlobalDefaultCoordinateTolerance, setGlobalDefaultDebug, setGlobalDefaultDirectionTolerance, setGlobalDefaultNumberOfThreads, setGlobalDefaultThreader, setGlobalWarningDisplay, setNumberOfThreads, setNumberOfWorkUnits, swigRelease
- 
Constructor Details- 
CollidingFrontsImageFilterprotected CollidingFrontsImageFilter(long cPtr, boolean cMemoryOwn) 
- 
CollidingFrontsImageFilterpublic CollidingFrontsImageFilter()itk::simple::CollidingFrontsImageFilter::CollidingFrontsImageFilter() Default Constructor that takes no arguments and initializes default parameters
 
- 
- 
Method Details- 
getCPtr
- 
swigRelease
- 
finalizeprotected void finalize()- Overrides:
- finalizein class- ImageFilter
 
- 
deletepublic void delete()virtual itk::simple::CollidingFrontsImageFilter::~CollidingFrontsImageFilter() Destructor- Overrides:
- deletein class- ImageFilter
 
- 
setSeedPoints1Self& itk::simple::CollidingFrontsImageFilter::SetSeedPoints1(std::vector< std::vector< unsigned int > > SeedPoints1) Set the container of Seed Points representing the first initial front. Seed points are represented as a VectorContainer of LevelSetNodes.
- 
getSeedPoints1std::vector< std::vector< unsigned int > > itk::simple::CollidingFrontsImageFilter::GetSeedPoints1() const Get the container of Seed Points representing the first initial front.
- 
addSeedPoint1Self& itk::simple::CollidingFrontsImageFilter::AddSeedPoint1(std::vector< unsigned int > point) Add SeedPoints1 point.
- 
clearSeedPoints1public void clearSeedPoints1()Self& itk::simple::CollidingFrontsImageFilter::ClearSeedPoints1() Remove all SeedPoints1 points.
- 
setSeedPoints2Self& itk::simple::CollidingFrontsImageFilter::SetSeedPoints2(std::vector< std::vector< unsigned int > > SeedPoints2) Set the container of Seed Points representing the second initial front. Seed points are represented as a VectorContainer of LevelSetNodes.
- 
getSeedPoints2std::vector< std::vector< unsigned int > > itk::simple::CollidingFrontsImageFilter::GetSeedPoints2() const Get the container of Seed Points representing the second initial front.
- 
addSeedPoint2Self& itk::simple::CollidingFrontsImageFilter::AddSeedPoint2(std::vector< unsigned int > point) Add SeedPoints2 point.
- 
clearSeedPoints2public void clearSeedPoints2()Self& itk::simple::CollidingFrontsImageFilter::ClearSeedPoints2() Remove all SeedPoints2 points.
- 
setApplyConnectivitypublic void setApplyConnectivity(boolean ApplyConnectivity) Self& itk::simple::CollidingFrontsImageFilter::SetApplyConnectivity(bool ApplyConnectivity)
- 
applyConnectivityOnpublic void applyConnectivityOn()Self& itk::simple::CollidingFrontsImageFilter::ApplyConnectivityOn() Set the value of ApplyConnectivity to true or false respectfully.
- 
applyConnectivityOffpublic void applyConnectivityOff()Self& itk::simple::CollidingFrontsImageFilter::ApplyConnectivityOff()
- 
getApplyConnectivitypublic boolean getApplyConnectivity()bool itk::simple::CollidingFrontsImageFilter::GetApplyConnectivity() const
- 
setNegativeEpsilonpublic void setNegativeEpsilon(double NegativeEpsilon) Self& itk::simple::CollidingFrontsImageFilter::SetNegativeEpsilon(double NegativeEpsilon)
- 
getNegativeEpsilonpublic double getNegativeEpsilon()double itk::simple::CollidingFrontsImageFilter::GetNegativeEpsilon() const
- 
setStopOnTargetspublic void setStopOnTargets(boolean StopOnTargets) Self& itk::simple::CollidingFrontsImageFilter::SetStopOnTargets(bool StopOnTargets)
- 
stopOnTargetsOnpublic void stopOnTargetsOn()Self& itk::simple::CollidingFrontsImageFilter::StopOnTargetsOn() Set the value of StopOnTargets to true or false respectfully.
- 
stopOnTargetsOffpublic void stopOnTargetsOff()Self& itk::simple::CollidingFrontsImageFilter::StopOnTargetsOff()
- 
getStopOnTargetspublic boolean getStopOnTargets()bool itk::simple::CollidingFrontsImageFilter::GetStopOnTargets() const
- 
getNamestd::string itk::simple::CollidingFrontsImageFilter::GetName() const Name of this class- Overrides:
- getNamein class- ProcessObject
 
- 
toStringstd::string itk::simple::CollidingFrontsImageFilter::ToString() const Print ourselves out- Overrides:
- toStringin class- ProcessObject
 
- 
execute
 
-