Class CastImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.CastImageFilter
A hybrid cast image filter to convert images to other types of images.
Several different ITK classes are implemented under the hood, to
convert between different image types.
See:
itk::simple::Cast for the procedural interface
C++ includes: sitkCastImageFilter.h
-
Field Summary
Fields inherited from class ProcessObject
swigCMemOwn -
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::CastImageFilter::CastImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedCastImageFilter(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()itk::simple::CastImageFilter::~CastImageFilter() overrideImage itk::simple::CastImageFilter::Execute(const Image &)protected voidfinalize()protected static longgetCPtr(CastImageFilter obj) getName()std::string itk::simple::CastImageFilter::GetName() const override Name of this classPixelIDValueEnum itk::simple::CastImageFilter::GetOutputPixelType() constvoidsetOutputPixelType(PixelIDValueEnum pixelID) Self& itk::simple::CastImageFilter::SetOutputPixelType(PixelIDValueEnum pixelID) Set/Get the output pixel typeprotected static longtoString()std::string itk::simple::CastImageFilter::ToString() const overrideMethods 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
-
CastImageFilter
protected CastImageFilter(long cPtr, boolean cMemoryOwn) -
CastImageFilter
public CastImageFilter()itk::simple::CastImageFilter::CastImageFilter() 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()itk::simple::CastImageFilter::~CastImageFilter() override- Overrides:
deletein classImageFilter
-
setOutputPixelType
Self& itk::simple::CastImageFilter::SetOutputPixelType(PixelIDValueEnum pixelID) Set/Get the output pixel type -
getOutputPixelType
PixelIDValueEnum itk::simple::CastImageFilter::GetOutputPixelType() const -
getName
std::string itk::simple::CastImageFilter::GetName() const override Name of this class- Overrides:
getNamein classProcessObject
-
toString
std::string itk::simple::CastImageFilter::ToString() const override- Overrides:
toStringin classProcessObject
-
execute
-