Package org.itk.simple
Class RegionalMinimaImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.RegionalMinimaImageFilter
Produce a binary image where foreground is the regional minima of the
input image.
Regional minima are flat zones surrounded by pixels of greater value.
If the input image is constant, the entire image can be considered as
a minima or not. The SetFlatIsMinima() method let the user choose which behavior to use.
This class was contributed to the Insight Journal by
Gaetan Lehmann. Biologie du Developpement et de la Reproduction, INRA
de Jouy-en-Josas, France. https://www.insight-journal.org/browse/publication/65
See:
RegionalMaximaImageFilter
ValuedRegionalMinimaImageFilter
HConcaveImageFilter
itk::simple::RegionalMinima for the procedural interface
itk::RegionalMinimaImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkRegionalMinimaImageFilter.h
-
Field Summary
Fields inherited from class org.itk.simple.ProcessObject
swigCMemOwn
-
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::RegionalMinimaImageFilter::RegionalMinimaImageFilter() Default Constructor that takes no arguments and initializes default parametersprotected
RegionalMinimaImageFilter
(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
virtual itk::simple::RegionalMinimaImageFilter::~RegionalMinimaImageFilter() DestructorImage itk::simple::RegionalMinimaImageFilter::Execute(const Image &image1) Execute the filter on the input imageprotected void
finalize()
void
Self& itk::simple::RegionalMinimaImageFilter::FlatIsMinimaOff()void
Self& itk::simple::RegionalMinimaImageFilter::FlatIsMinimaOn() Set the value of FlatIsMinima to true or false respectfully.void
Self& itk::simple::RegionalMinimaImageFilter::FullyConnectedOff()void
Self& itk::simple::RegionalMinimaImageFilter::FullyConnectedOn() Set the value of FullyConnected to true or false respectfully.double
double itk::simple::RegionalMinimaImageFilter::GetBackgroundValue() const Set/Get the value used as "background" in the output image.protected static long
boolean
bool itk::simple::RegionalMinimaImageFilter::GetFlatIsMinima() const Set/Get whether a flat image must be considered as a minima or not.double
double itk::simple::RegionalMinimaImageFilter::GetForegroundValue() const Set/Get the value in the output image to consider as "foreground".boolean
bool itk::simple::RegionalMinimaImageFilter::GetFullyConnected() const Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity.getName()
std::string itk::simple::RegionalMinimaImageFilter::GetName() const Name of this classvoid
setBackgroundValue
(double BackgroundValue) Self& itk::simple::RegionalMinimaImageFilter::SetBackgroundValue(double BackgroundValue) Set/Get the value used as "background" in the output image.void
setFlatIsMinima
(boolean FlatIsMinima) Self& itk::simple::RegionalMinimaImageFilter::SetFlatIsMinima(bool FlatIsMinima) Set/Get whether a flat image must be considered as a minima or not.void
setForegroundValue
(double ForegroundValue) Self& itk::simple::RegionalMinimaImageFilter::SetForegroundValue(double ForegroundValue) Set/Get the value in the output image to consider as "foreground".void
setFullyConnected
(boolean FullyConnected) Self& itk::simple::RegionalMinimaImageFilter::SetFullyConnected(bool FullyConnected) Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity.protected static long
toString()
std::string itk::simple::RegionalMinimaImageFilter::ToString() const Print ourselves outMethods inherited from class org.itk.simple.ImageFilter
getCPtr, swigRelease
Methods inherited from class org.itk.simple.ProcessObject
abort, 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
-
RegionalMinimaImageFilter
protected RegionalMinimaImageFilter(long cPtr, boolean cMemoryOwn) -
RegionalMinimaImageFilter
public RegionalMinimaImageFilter()itk::simple::RegionalMinimaImageFilter::RegionalMinimaImageFilter() Default Constructor that takes no arguments and initializes default parameters
-
-
Method Details
-
getCPtr
-
swigRelease
-
finalize
protected void finalize()- Overrides:
finalize
in classImageFilter
-
delete
public void delete()virtual itk::simple::RegionalMinimaImageFilter::~RegionalMinimaImageFilter() Destructor- Overrides:
delete
in classImageFilter
-
setBackgroundValue
public void setBackgroundValue(double BackgroundValue) Self& itk::simple::RegionalMinimaImageFilter::SetBackgroundValue(double BackgroundValue) Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin() . -
getBackgroundValue
public double getBackgroundValue()double itk::simple::RegionalMinimaImageFilter::GetBackgroundValue() const Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin() . -
setForegroundValue
public void setForegroundValue(double ForegroundValue) Self& itk::simple::RegionalMinimaImageFilter::SetForegroundValue(double ForegroundValue) Set/Get the value in the output image to consider as "foreground". Defaults to maximum value of PixelType. -
getForegroundValue
public double getForegroundValue()double itk::simple::RegionalMinimaImageFilter::GetForegroundValue() const Set/Get the value in the output image to consider as "foreground". Defaults to maximum value of PixelType. -
setFullyConnected
public void setFullyConnected(boolean FullyConnected) Self& itk::simple::RegionalMinimaImageFilter::SetFullyConnected(bool FullyConnected) Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn. -
fullyConnectedOn
public void fullyConnectedOn()Self& itk::simple::RegionalMinimaImageFilter::FullyConnectedOn() Set the value of FullyConnected to true or false respectfully. -
fullyConnectedOff
public void fullyConnectedOff()Self& itk::simple::RegionalMinimaImageFilter::FullyConnectedOff() -
getFullyConnected
public boolean getFullyConnected()bool itk::simple::RegionalMinimaImageFilter::GetFullyConnected() const Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn. -
setFlatIsMinima
public void setFlatIsMinima(boolean FlatIsMinima) Self& itk::simple::RegionalMinimaImageFilter::SetFlatIsMinima(bool FlatIsMinima) Set/Get whether a flat image must be considered as a minima or not. Defaults to true. -
flatIsMinimaOn
public void flatIsMinimaOn()Self& itk::simple::RegionalMinimaImageFilter::FlatIsMinimaOn() Set the value of FlatIsMinima to true or false respectfully. -
flatIsMinimaOff
public void flatIsMinimaOff()Self& itk::simple::RegionalMinimaImageFilter::FlatIsMinimaOff() -
getFlatIsMinima
public boolean getFlatIsMinima()bool itk::simple::RegionalMinimaImageFilter::GetFlatIsMinima() const Set/Get whether a flat image must be considered as a minima or not. Defaults to true. -
getName
std::string itk::simple::RegionalMinimaImageFilter::GetName() const Name of this class- Overrides:
getName
in classProcessObject
-
toString
std::string itk::simple::RegionalMinimaImageFilter::ToString() const Print ourselves out- Overrides:
toString
in classProcessObject
-
execute
Image itk::simple::RegionalMinimaImageFilter::Execute(const Image &image1) Execute the filter on the input image
-