RTK
2.6.0
Reconstruction Toolkit
|
#include <rtkConditionalMedianImageFilter.h>
Public Types | |
using | MedianRadiusType = typename itk::ConstNeighborhoodIterator< TInputImage >::RadiusType |
using | Pointer = itk::SmartPointer< Self > |
using | Self = ConditionalMedianImageFilter |
using | Superclass = itk::InPlaceImageFilter< TInputImage > |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
virtual const char * | GetNameOfClass () const |
virtual void | SetRadius (MedianRadiusType _arg) |
virtual MedianRadiusType | GetRadius () |
virtual void | SetThresholdMultiplier (double _arg) |
virtual double | GetThresholdMultiplier () |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
ConditionalMedianImageFilter () | |
void | DynamicThreadedGenerateData (const typename TInputImage::RegionType &outputRegionForThread) override |
template<> | |
RTK_EXPORT void | DynamicThreadedGenerateData (const itk::VectorImage< float, 3 >::RegionType &outputRegionForThread) |
void | GenerateInputRequestedRegion () override |
~ConditionalMedianImageFilter () override=default | |
Protected Attributes | |
MedianRadiusType | m_Radius |
double | m_ThresholdMultiplier |
Performs a median filtering on outlier pixels.
ConditionalMedianImageFilter computes the median of the pixel values in a neighborhood around each pixel. If the input pixel value is close to the computed median, it is kept unchanged and copied to the output. Otherwise it is replaced by the computed median. Note that if m_ThresholdMultiplier = 0, this filter behaves like a usual median filter, and if m_Radius = [0, 0, ..., 0], the image passes through unchanged.
Definition at line 49 of file rtkConditionalMedianImageFilter.h.
using rtk::ConditionalMedianImageFilter< TInputImage >::MedianRadiusType = typename itk::ConstNeighborhoodIterator<TInputImage>::RadiusType |
Definition at line 58 of file rtkConditionalMedianImageFilter.h.
using rtk::ConditionalMedianImageFilter< TInputImage >::Pointer = itk::SmartPointer<Self> |
Definition at line 57 of file rtkConditionalMedianImageFilter.h.
using rtk::ConditionalMedianImageFilter< TInputImage >::Self = ConditionalMedianImageFilter |
Standard class type alias.
Definition at line 55 of file rtkConditionalMedianImageFilter.h.
using rtk::ConditionalMedianImageFilter< TInputImage >::Superclass = itk::InPlaceImageFilter<TInputImage> |
Definition at line 56 of file rtkConditionalMedianImageFilter.h.
|
protected |
|
overrideprotecteddefault |
|
virtual |
Reimplemented from itk::Object.
|
overrideprotected |
Does the real work.
|
protected |
|
overrideprotectedvirtual |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
virtual |
Set/Get neighborhood radius
|
virtual |
Set/Get neighborhood radius
|
static |
Method for creation through the object factory.
|
virtual |
Set/Get neighborhood radius
|
virtual |
Set/Get neighborhood radius
|
protected |
Definition at line 92 of file rtkConditionalMedianImageFilter.h.
|
protected |
Definition at line 93 of file rtkConditionalMedianImageFilter.h.