Class ChangeLabelImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.ChangeLabelImageFilter
Change Sets of Labels.
This filter produces an output image whose pixels are either copied
from the input if they are not being changed or are rewritten based on
the change parameters
This filter is templated over the input image type and the output
image type.
The filter expect both images to have the same number of dimensions.
Tim Kelliher. GE Research, Niskayuna, NY.
This work was supported by a grant from DARPA, executed by the U.S.
Army Medical Research and Materiel Command/TATRC Assistance Agreement,
Contract::W81XWH-05-2-0059.
See:
itk::simple::ChangeLabel for the procedural interface
itk::ChangeLabelImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkChangeLabelImageFilter.h
-
Field Summary
Fields inherited from class ProcessObject
swigCMemOwn -
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::ChangeLabelImageFilter::ChangeLabelImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedChangeLabelImageFilter(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()virtual itk::simple::ChangeLabelImageFilter::~ChangeLabelImageFilter() DestructorImage itk::simple::ChangeLabelImageFilter::Execute(Image &&image1) Execute the filter on the input imageprotected voidfinalize()std::map<double,double> itk::simple::ChangeLabelImageFilter::GetChangeMap() constprotected static longgetName()std::string itk::simple::ChangeLabelImageFilter::GetName() const Name of this classvoidsetChangeMap(DoubleDoubleMap ChangeMap) Self& itk::simple::ChangeLabelImageFilter::SetChangeMap(std::map< double, double > ChangeMap) Set the entire change mapprotected static longtoString()std::string itk::simple::ChangeLabelImageFilter::ToString() const Print ourselves outMethods inherited from class ImageFilter
getCPtr, swigReleaseModifier and TypeMethodDescriptionprotected static longgetCPtr(ImageFilter obj) protected static longswigRelease(ImageFilter obj) Methods inherited from class 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, swigReleaseModifier and TypeMethodDescriptionvoidabort()virtual void itk::simple::ProcessObject::Abort() Sets an abort flag on the active process.intaddCommand(EventEnum event, Command cmd) virtual int itk::simple::ProcessObject::AddCommand(itk::simple::EventEnum event, itk::simple::Command &cmd) Add a Command Object to observer the event.voiddebugOff()voiddebugOn()protected static longgetCPtr(ProcessObject obj) booleangetDebug()static doublestatic booleanstatic doublestatic longstatic Stringstatic booleanlonglongfloatvirtual float itk::simple::ProcessObject::GetProgress() const An Active Measurement of the progress of execution.static voidstatic voidstatic voidstatic voidbooleanhasCommand(EventEnum event) virtual bool itk::simple::ProcessObject::HasCommand(itk::simple::EventEnum event) const Query of this object has any registered commands for event.voidvirtual void itk::simple::ProcessObject::RemoveAllCommands() Remove all registered commands.voidsetDebug(boolean debugFlag) static voidsetGlobalDefaultCoordinateTolerance(double arg0) static voidsetGlobalDefaultDebug(boolean debugFlag) static voidsetGlobalDefaultDirectionTolerance(double arg0) static voidsetGlobalDefaultNumberOfThreads(long n) static booleansetGlobalDefaultThreader(String threader) static voidsetGlobalWarningDisplay(boolean flag) voidsetNumberOfThreads(long n) voidsetNumberOfWorkUnits(long n) protected static longswigRelease(ProcessObject obj)
-
Constructor Details
-
ChangeLabelImageFilter
protected ChangeLabelImageFilter(long cPtr, boolean cMemoryOwn) -
ChangeLabelImageFilter
public ChangeLabelImageFilter()itk::simple::ChangeLabelImageFilter::ChangeLabelImageFilter() Default Constructor that takes no arguments and initializes default parameters
-
-
Method Details
-
getCPtr
-
swigRelease
-
finalize
protected void finalize()- Overrides:
finalizein classImageFilter
-
delete
public void delete()virtual itk::simple::ChangeLabelImageFilter::~ChangeLabelImageFilter() Destructor- Overrides:
deletein classImageFilter
-
setChangeMap
Self& itk::simple::ChangeLabelImageFilter::SetChangeMap(std::map< double, double > ChangeMap) Set the entire change map -
getChangeMap
std::map<double,double> itk::simple::ChangeLabelImageFilter::GetChangeMap() const -
getName
std::string itk::simple::ChangeLabelImageFilter::GetName() const Name of this class- Overrides:
getNamein classProcessObject
-
toString
std::string itk::simple::ChangeLabelImageFilter::ToString() const Print ourselves out- Overrides:
toStringin classProcessObject
-
execute
-