Class MedianImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.MedianImageFilter
Applies a median filter to an image.
Computes an image where a given pixel is the median value of the the
pixels in a neighborhood about the corresponding input pixel.
A median filter is one of the family of nonlinear filters. It is used
to smooth an image without being biased by outliers or shot noise.
This filter requires that the input pixel type provides an operator<() (LessThan Comparable).
See:
Image
Neighborhood
NeighborhoodOperator
NeighborhoodIterator
itk::simple::Median for the procedural interface
itk::MedianImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkMedianImageFilter.h
-
Field Summary
Fields inherited from class ProcessObject
swigCMemOwn -
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::MedianImageFilter::MedianImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedMedianImageFilter(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()virtual itk::simple::MedianImageFilter::~MedianImageFilter() DestructorImage itk::simple::MedianImageFilter::Execute(const Image &image1) Execute the filter on the input imageprotected voidfinalize()protected static longgetCPtr(MedianImageFilter obj) getName()std::string itk::simple::MedianImageFilter::GetName() const Name of this classstd::vector<unsigned int> itk::simple::MedianImageFilter::GetRadius() constvoidsetRadius(long value) Self& itk::simple::MedianImageFilter::SetRadius(unsigned int value) Set the values of the Radius vector all to valuevoidsetRadius(VectorUInt32 Radius) Self& itk::simple::MedianImageFilter::SetRadius(unsigned int value) Set the values of the Radius vector all to valueprotected static longtoString()std::string itk::simple::MedianImageFilter::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
-
MedianImageFilter
protected MedianImageFilter(long cPtr, boolean cMemoryOwn) -
MedianImageFilter
public MedianImageFilter()itk::simple::MedianImageFilter::MedianImageFilter() 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::MedianImageFilter::~MedianImageFilter() Destructor- Overrides:
deletein classImageFilter
-
setRadius
Self& itk::simple::MedianImageFilter::SetRadius(unsigned int value) Set the values of the Radius vector all to value -
setRadius
public void setRadius(long value) Self& itk::simple::MedianImageFilter::SetRadius(unsigned int value) Set the values of the Radius vector all to value -
getRadius
std::vector<unsigned int> itk::simple::MedianImageFilter::GetRadius() const -
getName
std::string itk::simple::MedianImageFilter::GetName() const Name of this class- Overrides:
getNamein classProcessObject
-
toString
std::string itk::simple::MedianImageFilter::ToString() const Print ourselves out- Overrides:
toStringin classProcessObject
-
execute
-