ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches

#include <itkFastBilateralImageFilter.h>

Detailed Description

template<typename TInputImage, typename TOutputImage>
class itk::FastBilateralImageFilter< TInputImage, TOutputImage >

A fast approximation to the bilateral filter.

This filter is a fast approximation to the bilateral filter. Blurring is performed on an image based on the distance of pixels in both space and intensity.

The algorithm used was originally proposed by Paris and Durand [1].

Instead of calculating a kernel for every pixel in an image, this filter places the values of each pixel into a higher dimensional image determined by the position and intensity of a pixel. How many bins are used is determined by the sigma values provided to the filter. Larger sigmas will result in more aggresive downsampling and less running time overall. After the data of an image has been organized into bins, a DiscreteGaussianImageFilter is applied. Finally, the output image is constructed by interpolating the values of the output pixels from the blurred higher dimensional image.

[1] Sylvain Paris and Frédo Durand, A Fast Approximation of the Bilateral Filter using a Signal Processing Approach, European Conference on Computer Vision (ECCV'06)

See also
BilateralImageFilter
GaussianOperator
AnisotropicDiffusionImageFilter
Image
Neighborhood
NeighborhoodOperator
Todo

Support for color images

Support for vector images

Definition at line 73 of file itkFastBilateralImageFilter.h.

+ Inheritance diagram for itk::FastBilateralImageFilter< TInputImage, TOutputImage >:
+ Collaboration diagram for itk::FastBilateralImageFilter< TInputImage, TOutputImage >:

Public Types

using ConstPointer = SmartPointer<const Self>
 
using DomainSigmaArrayType = FixedArray<double, Self::ImageDimension>
 
using InputImageConstIteratorType = ImageRegionConstIteratorWithIndex<TInputImage>
 
using InputImageConstPointer = typename TInputImage::ConstPointer
 
using InputImageIndexType = typename TInputImage::IndexType
 
using InputImagePointer = typename TInputImage::Pointer
 
using InputImageSizeType = typename TInputImage::SizeType
 
using InputImageSpacingType = typename TInputImage::SpacingType
 
using InputImageType = TInputImage
 
using InputPixelType = typename TInputImage::PixelType
 
using OutputImageIteratorType = ImageRegionIterator<TOutputImage>
 
using OutputImagePointer = typename TOutputImage::Pointer
 
using OutputImageType = TOutputImage
 
using OutputPixelType = typename TOutputImage::PixelType
 
using Pointer = SmartPointer<Self>
 
using Self = FastBilateralImageFilter
 
using Superclass = ImageToImageFilter<TInputImage, TOutputImage>
 
- Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
using ConstPointer = SmartPointer<const Self>
 
using InputImageConstPointer = typename InputImageType::ConstPointer
 
using InputImagePixelType = typename InputImageType::PixelType
 
using InputImagePointer = typename InputImageType::Pointer
 
using InputImageRegionType = typename InputImageType::RegionType
 
using InputImageType = TInputImage
 
using OutputImagePixelType
 
using OutputImageRegionType
 
using Pointer = SmartPointer<Self>
 
using Self = ImageToImageFilter
 
using Superclass = ImageSource<TOutputImage>
 
- Public Types inherited from itk::ImageSource< TOutputImage >
using ConstPointer = SmartPointer<const Self>
 
using DataObjectIdentifierType = Superclass::DataObjectIdentifierType
 
using DataObjectPointer = DataObject::Pointer
 
using DataObjectPointerArraySizeType = Superclass::DataObjectPointerArraySizeType
 
using OutputImagePixelType = typename OutputImageType::PixelType
 
using OutputImagePointer = typename OutputImageType::Pointer
 
using OutputImageRegionType = typename OutputImageType::RegionType
 
using OutputImageType = TOutputImage
 
using Pointer = SmartPointer<Self>
 
using Self = ImageSource
 
using Superclass = ProcessObject
 
- Public Types inherited from itk::ProcessObject
using ConstPointer = SmartPointer<const Self>
 
using DataObjectIdentifierType = DataObject::DataObjectIdentifierType
 
using DataObjectPointer = DataObject::Pointer
 
using DataObjectPointerArray = std::vector<DataObjectPointer>
 
using DataObjectPointerArraySizeType = DataObjectPointerArray::size_type
 
using NameArray = std::vector<DataObjectIdentifierType>
 
using Pointer = SmartPointer<Self>
 
using Self = ProcessObject
 
using Superclass = Object
 
- Public Types inherited from itk::Object
using ConstPointer = SmartPointer<const Self>
 
using Pointer = SmartPointer<Self>
 
using Self = Object
 
using Superclass = LightObject
 
- Public Types inherited from itk::LightObject
using ConstPointer = SmartPointer<const Self>
 
using Pointer = SmartPointer<Self>
 
using Self = LightObject
 

Public Member Functions

virtual::itk::LightObject::Pointer CreateAnother () const
 
virtual DomainSigmaArrayType GetDomainSigma () const
 
virtual const char * GetNameOfClass () const
 
virtual double GetRangeSigma () const
 
void SetDomainSigma (const double v)
 
virtual void SetDomainSigma (DomainSigmaArrayType _arg)
 
virtual void SetRangeSigma (double _arg)
 
- Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
const InputImageType * GetInput () const
 
const InputImageType * GetInput (unsigned int idx) const
 
void PopBackInput () override
 
void PopFrontInput () override
 
virtual void PushBackInput (const InputImageType *input)
 
virtual void PushFrontInput (const InputImageType *input)
 
virtual void SetInput (const InputImageType *input)
 
virtual void SetInput (unsigned int, const TInputImage *image)
 
virtual void SetCoordinateTolerance (double _arg)
 
virtual double GetCoordinateTolerance () const
 
virtual void SetDirectionTolerance (double _arg)
 
virtual double GetDirectionTolerance () const
 
- Public Member Functions inherited from itk::ImageSource< TOutputImage >
OutputImageType * GetOutput (unsigned int idx)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *graft)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *graft)
 
virtual void GraftOutput (DataObject *graft)
 
OutputImageType * GetOutput ()
 
const OutputImageType * GetOutput () const
 
ProcessObject::DataObjectPointer MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) override
 
ProcessObject::DataObjectPointer MakeOutput (const ProcessObject::DataObjectIdentifierType &) override
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *output)
 
virtual const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
MultiThreaderBase * GetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual DataObjectPointerArraySizeType GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual float GetProgress () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
void IncrementProgress (float increment)
 
virtual void PrepareOutputs ()
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
void SetMultiThreader (MultiThreaderBase *threader)
 
virtual void SetNumberOfWorkUnitsFromThreadRatio (ThreadIdType ratio)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
virtual void SetReleaseDataFlag (bool val)
 
virtual bool GetReleaseDataFlag () const
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual const bool & GetReleaseDataBeforeUpdateFlag () const
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
virtual void ReleaseDataBeforeUpdateFlagOff ()
 
virtual void SetNumberOfWorkUnits (ThreadIdType numberOfWorkUnits)
 
virtual ThreadIdType GetNumberOfWorkUnits () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *cmd) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const
 
LightObject::Pointer CreateAnother () const override
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
Command * GetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionary & GetMetaDataDictionary ()
 
const MetaDataDictionary & GetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStamp & GetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag) const
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexcept override
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
Pointer Clone () const
 
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
static double GetGlobalDefaultCoordinateTolerance ()
 
static double GetGlobalDefaultDirectionTolerance ()
 
static void SetGlobalDefaultCoordinateTolerance (double)
 
static void SetGlobalDefaultDirectionTolerance (double)
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool val)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static constexpr unsigned int ImageDimension = TInputImage::ImageDimension
 
- Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension
 
static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension
 
- Static Public Attributes inherited from itk::ImageSource< TOutputImage >
static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension
 

Protected Types

using BlurType = DiscreteGaussianImageFilter<GridType, GridType>
 
using GridImageConstIteratorType = ImageRegionConstIterator<GridType>
 
using GridImageIteratorType = ImageRegionIterator<GridType>
 
using GridIndexType = typename GridType::IndexType
 
using GridPixelType = typename GridType::PixelType
 
using GridRegionType = typename GridType::RegionType
 
using GridSizeType = typename GridType::SizeType
 
using GridSizeValueType = typename Size<Self::ImageDimension + 1>::SizeValueType
 
using GridType = typename itk::Image<float, Self::ImageDimension + 1>
 
using InterpolatedIndexType = typename InterpolatorType::ContinuousIndexType
 
using InterpolatorType = LinearInterpolateImageFunction<GridType, float>
 
- Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
using InputToOutputRegionCopierType
 
using OutputToInputRegionCopierType
 

Protected Member Functions

 FastBilateralImageFilter ()
 
void GenerateData () override
 
void GenerateInputRequestedRegion () override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~FastBilateralImageFilter () override=default
 
- Protected Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
virtual void CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion)
 
virtual void CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion)
 
void GenerateInputRequestedRegion () override
 
 ImageToImageFilter ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
void VerifyInputInformation () const override
 
 ~ImageToImageFilter () override=default
 
- Protected Member Functions inherited from itk::ImageSource< TOutputImage >
virtual void AfterThreadedGenerateData ()
 
virtual void AllocateOutputs ()
 
virtual void BeforeThreadedGenerateData ()
 
void ClassicMultiThread (ThreadFunctionType callbackFunction)
 
void GenerateData () override
 
virtual const ImageRegionSplitterBase * GetImageRegionSplitter () const
 
 ImageSource ()
 
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion)
 
 ~ImageSource () override=default
 
virtual void ThreadedGenerateData (const OutputImageRegionType &region, ThreadIdType threadId)
 
virtual void DynamicThreadedGenerateData (const OutputImageRegionType &outputRegionForThread)
 
virtual bool GetDynamicMultiThreading () const
 
virtual void SetDynamicMultiThreading (bool _arg)
 
virtual void DynamicMultiThreadingOn ()
 
virtual void DynamicMultiThreadingOff ()
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
void AddOptionalInputName (const DataObjectIdentifierType &)
 
void AddOptionalInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void AddOutput (DataObject *output)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateOutputInformation ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
DataObject * GetInput (const DataObjectIdentifierType &key)
 
const DataObject * GetInput (const DataObjectIdentifierType &key) const
 
virtual const DataObjectPointerArraySizeType & GetNumberOfRequiredInputs () const
 
virtual const DataObjectPointerArraySizeType & GetNumberOfRequiredOutputs () const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
virtual void PushBackInput (const DataObject *input)
 
virtual void PushFrontInput (const DataObject *input)
 
virtual void ReleaseInputs ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType idx, DataObject *input)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType idx, DataObject *output)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &name, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *object)
 
virtual void SetPrimaryOutput (DataObject *object)
 
void SetRequiredInputNames (const NameArray &)
 
virtual void VerifyPreconditions () const
 
 ~ProcessObject () override
 
DataObject * GetInput (DataObjectPointerArraySizeType idx)
 
const DataObject * GetInput (DataObjectPointerArraySizeType idx) const
 
DataObject * GetPrimaryInput ()
 
const DataObject * GetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName () const
 
DataObject * GetOutput (const DataObjectIdentifierType &key)
 
const DataObject * GetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName () const
 
DataObject * GetOutput (DataObjectPointerArraySizeType i)
 
const DataObject * GetOutput (DataObjectPointerArraySizeType i) const
 
DataObject * GetPrimaryOutput ()
 
const DataObject * GetPrimaryOutput () const
 
virtual bool GetThreaderUpdateProgress () const
 
virtual void ThreaderUpdateProgressOn ()
 
virtual void ThreaderUpdateProgressOff ()
 
virtual void SetThreaderUpdateProgress (bool arg)
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &timeStamp)
 
 ~Object () override
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Protected Attributes

DomainSigmaArrayType m_DomainSigma
 
double m_RangeSigma
 
- Protected Attributes inherited from itk::ImageSource< TOutputImage >
bool m_DynamicMultiThreading { true }
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime {}
 
bool m_Updating {}
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount {}
 

Additional Inherited Members

- Static Protected Member Functions inherited from itk::ImageSource< TOutputImage >
static const ImageRegionSplitterBase * GetGlobalDefaultSplitter ()
 
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION ThreaderCallback (void *arg)
 
- Static Protected Member Functions inherited from itk::ProcessObject
template<typename TSourceObject>
static void MakeRequiredOutputs (TSourceObject &sourceObject, const DataObjectPointerArraySizeType numberOfRequiredOutputs)
 
static constexpr float progressFixedToFloat (uint32_t fixed)
 
static uint32_t progressFloatToFixed (float f)
 

Member Typedef Documentation

◆ BlurType

template<typename TInputImage, typename TOutputImage>
using itk::FastBilateralImageFilter< TInputImage, TOutputImage >::BlurType = DiscreteGaussianImageFilter<GridType, GridType>
protected

The type of blurring to use on the grid.

Definition at line 181 of file itkFastBilateralImageFilter.h.

◆ ConstPointer

template<typename TInputImage, typename TOutputImage>
using itk::FastBilateralImageFilter< TInputImage, TOutputImage >::ConstPointer = SmartPointer<const Self>

Definition at line 82 of file itkFastBilateralImageFilter.h.

◆ DomainSigmaArrayType

template<typename TInputImage, typename TOutputImage>
using itk::FastBilateralImageFilter< TInputImage, TOutputImage >::DomainSigmaArrayType = FixedArray<double, Self::ImageDimension>

Typedef for an array of doubles that specifies the DomainSigma in each spacial dimension.

Definition at line 118 of file itkFastBilateralImageFilter.h.

◆ GridImageConstIteratorType

template<typename TInputImage, typename TOutputImage>
using itk::FastBilateralImageFilter< TInputImage, TOutputImage >::GridImageConstIteratorType = ImageRegionConstIterator<GridType>
protected

Definition at line 178 of file itkFastBilateralImageFilter.h.

◆ GridImageIteratorType

template<typename TInputImage, typename TOutputImage>
using itk::FastBilateralImageFilter< TInputImage, TOutputImage >::GridImageIteratorType = ImageRegionIterator<GridType>
protected

Grid image iterator type.

Definition at line 177 of file itkFastBilateralImageFilter.h.

◆ GridIndexType

template<typename TInputImage, typename TOutputImage>
using itk::FastBilateralImageFilter< TInputImage, TOutputImage >::GridIndexType = typename GridType::IndexType
protected

Definition at line 171 of file itkFastBilateralImageFilter.h.

◆ GridPixelType

template<typename TInputImage, typename TOutputImage>
using itk::FastBilateralImageFilter< TInputImage, TOutputImage >::GridPixelType = typename GridType::PixelType
protected

Grid types

Definition at line 170 of file itkFastBilateralImageFilter.h.

◆ GridRegionType

template<typename TInputImage, typename TOutputImage>
using itk::FastBilateralImageFilter< TInputImage, TOutputImage >::GridRegionType = typename GridType::RegionType
protected

Definition at line 174 of file itkFastBilateralImageFilter.h.

◆ GridSizeType

template<typename TInputImage, typename TOutputImage>
using itk::FastBilateralImageFilter< TInputImage, TOutputImage >::GridSizeType = typename GridType::SizeType
protected

Definition at line 172 of file itkFastBilateralImageFilter.h.

◆ GridSizeValueType

template<typename TInputImage, typename TOutputImage>
using itk::FastBilateralImageFilter< TInputImage, TOutputImage >::GridSizeValueType = typename Size<Self::ImageDimension + 1>::SizeValueType
protected

Definition at line 173 of file itkFastBilateralImageFilter.h.

◆ GridType

template<typename TInputImage, typename TOutputImage>
using itk::FastBilateralImageFilter< TInputImage, TOutputImage >::GridType = typename itk::Image<float, Self::ImageDimension + 1>
protected

The type of image to use as the higher dimensional grid. The blurring is performed on this image type.

Definition at line 167 of file itkFastBilateralImageFilter.h.

◆ InputImageConstIteratorType

template<typename TInputImage, typename TOutputImage>
using itk::FastBilateralImageFilter< TInputImage, TOutputImage >::InputImageConstIteratorType = ImageRegionConstIteratorWithIndex<TInputImage>

Input image iterator type.

Definition at line 103 of file itkFastBilateralImageFilter.h.

◆ InputImageConstPointer

template<typename TInputImage, typename TOutputImage>
using itk::FastBilateralImageFilter< TInputImage, TOutputImage >::InputImageConstPointer = typename TInputImage::ConstPointer

Definition at line 97 of file itkFastBilateralImageFilter.h.

◆ InputImageIndexType

template<typename TInputImage, typename TOutputImage>
using itk::FastBilateralImageFilter< TInputImage, TOutputImage >::InputImageIndexType = typename TInputImage::IndexType

Definition at line 100 of file itkFastBilateralImageFilter.h.

◆ InputImagePointer

template<typename TInputImage, typename TOutputImage>
using itk::FastBilateralImageFilter< TInputImage, TOutputImage >::InputImagePointer = typename TInputImage::Pointer

Definition at line 96 of file itkFastBilateralImageFilter.h.

◆ InputImageSizeType

template<typename TInputImage, typename TOutputImage>
using itk::FastBilateralImageFilter< TInputImage, TOutputImage >::InputImageSizeType = typename TInputImage::SizeType

Definition at line 99 of file itkFastBilateralImageFilter.h.

◆ InputImageSpacingType

template<typename TInputImage, typename TOutputImage>
using itk::FastBilateralImageFilter< TInputImage, TOutputImage >::InputImageSpacingType = typename TInputImage::SpacingType

Definition at line 98 of file itkFastBilateralImageFilter.h.

◆ InputImageType

template<typename TInputImage, typename TOutputImage>
using itk::FastBilateralImageFilter< TInputImage, TOutputImage >::InputImageType = TInputImage

Input image type aliases.

Definition at line 95 of file itkFastBilateralImageFilter.h.

◆ InputPixelType

template<typename TInputImage, typename TOutputImage>
using itk::FastBilateralImageFilter< TInputImage, TOutputImage >::InputPixelType = typename TInputImage::PixelType

Definition at line 114 of file itkFastBilateralImageFilter.h.

◆ InterpolatedIndexType

template<typename TInputImage, typename TOutputImage>
using itk::FastBilateralImageFilter< TInputImage, TOutputImage >::InterpolatedIndexType = typename InterpolatorType::ContinuousIndexType
protected

Definition at line 185 of file itkFastBilateralImageFilter.h.

◆ InterpolatorType

template<typename TInputImage, typename TOutputImage>
using itk::FastBilateralImageFilter< TInputImage, TOutputImage >::InterpolatorType = LinearInterpolateImageFunction<GridType, float>
protected

The type of interpolation done to calculate output pixels.

Definition at line 184 of file itkFastBilateralImageFilter.h.

◆ OutputImageIteratorType

template<typename TInputImage, typename TOutputImage>
using itk::FastBilateralImageFilter< TInputImage, TOutputImage >::OutputImageIteratorType = ImageRegionIterator<TOutputImage>

Output image iterator type.

Definition at line 110 of file itkFastBilateralImageFilter.h.

◆ OutputImagePointer

template<typename TInputImage, typename TOutputImage>
using itk::FastBilateralImageFilter< TInputImage, TOutputImage >::OutputImagePointer = typename TOutputImage::Pointer

Definition at line 107 of file itkFastBilateralImageFilter.h.

◆ OutputImageType

template<typename TInputImage, typename TOutputImage>
using itk::FastBilateralImageFilter< TInputImage, TOutputImage >::OutputImageType = TOutputImage

Output image type aliases.

Definition at line 106 of file itkFastBilateralImageFilter.h.

◆ OutputPixelType

template<typename TInputImage, typename TOutputImage>
using itk::FastBilateralImageFilter< TInputImage, TOutputImage >::OutputPixelType = typename TOutputImage::PixelType

Pixel types.

Definition at line 113 of file itkFastBilateralImageFilter.h.

◆ Pointer

template<typename TInputImage, typename TOutputImage>
using itk::FastBilateralImageFilter< TInputImage, TOutputImage >::Pointer = SmartPointer<Self>

Definition at line 81 of file itkFastBilateralImageFilter.h.

◆ Self

template<typename TInputImage, typename TOutputImage>
using itk::FastBilateralImageFilter< TInputImage, TOutputImage >::Self = FastBilateralImageFilter

Standard class type aliases.

Definition at line 79 of file itkFastBilateralImageFilter.h.

◆ Superclass

template<typename TInputImage, typename TOutputImage>
using itk::FastBilateralImageFilter< TInputImage, TOutputImage >::Superclass = ImageToImageFilter<TInputImage, TOutputImage>

Definition at line 80 of file itkFastBilateralImageFilter.h.

Constructor & Destructor Documentation

◆ FastBilateralImageFilter()

template<typename TInputImage, typename TOutputImage>
itk::FastBilateralImageFilter< TInputImage, TOutputImage >::FastBilateralImageFilter ( )
inlineprotected

Default Constructor. Default value for DomainSigma is 4. Default value for RangeSigma is 50. These values were chosen match those of the BilateralImageFilter

Definition at line 140 of file itkFastBilateralImageFilter.h.

References m_DomainSigma, and m_RangeSigma.

Referenced by GetNameOfClass().

◆ ~FastBilateralImageFilter()

template<typename TInputImage, typename TOutputImage>
itk::FastBilateralImageFilter< TInputImage, TOutputImage >::~FastBilateralImageFilter ( )
overrideprotecteddefault

Member Function Documentation

◆ CreateAnother()

template<typename TInputImage, typename TOutputImage>
virtual::itk::LightObject::Pointer itk::FastBilateralImageFilter< TInputImage, TOutputImage >::CreateAnother ( ) const
virtual

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::LightObject.

◆ GenerateData()

template<typename TInputImage, typename TOutputImage>
void itk::FastBilateralImageFilter< TInputImage, TOutputImage >::GenerateData ( )
overrideprotectedvirtual

Standard pipline method

Reimplemented from itk::ProcessObject.

◆ GenerateInputRequestedRegion()

template<typename TInputImage, typename TOutputImage>
void itk::FastBilateralImageFilter< TInputImage, TOutputImage >::GenerateInputRequestedRegion ( )
overrideprotectedvirtual

What is the input requested region that is required to produce the output requested region? By default, the largest possible region is always required but this is overridden in many subclasses. For instance, for an image processing filter where an output pixel is a simple function of an input pixel, the input requested region will be set to the output requested region. For an image processing filter where an output pixel is a function of the pixels in a neighborhood of an input pixel, then the input requested region will need to be larger than the output requested region (to avoid introducing artificial boundary conditions). This function should never request an input region that is outside the the input largest possible region (i.e. implementations of this method should crop the input requested region at the boundaries of the input largest possible region).

Reimplemented from itk::ProcessObject.

◆ GetDomainSigma()

template<typename TInputImage, typename TOutputImage>
virtual DomainSigmaArrayType itk::FastBilateralImageFilter< TInputImage, TOutputImage >::GetDomainSigma ( ) const
virtual

Standard get/set macros for filter parameters. DomainSigma is specified in the same units as the Image spacing. RangeSigma is specified in the units of intensity.

◆ GetNameOfClass()

template<typename TInputImage, typename TOutputImage>
virtual const char * itk::FastBilateralImageFilter< TInputImage, TOutputImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

References FastBilateralImageFilter().

◆ GetRangeSigma()

template<typename TInputImage, typename TOutputImage>
virtual double itk::FastBilateralImageFilter< TInputImage, TOutputImage >::GetRangeSigma ( ) const
virtual

◆ New()

template<typename TInputImage, typename TOutputImage>
static Pointer itk::FastBilateralImageFilter< TInputImage, TOutputImage >::New ( )
static

Method for creation through the object factory.

◆ PrintSelf()

template<typename TInputImage, typename TOutputImage>
void itk::FastBilateralImageFilter< TInputImage, TOutputImage >::PrintSelf ( std::ostream & os,
Indent indent ) const
overrideprotectedvirtual

Method to print member variables to an output stream

Reimplemented from itk::LightObject.

◆ SetDomainSigma() [1/2]

template<typename TInputImage, typename TOutputImage>
void itk::FastBilateralImageFilter< TInputImage, TOutputImage >::SetDomainSigma ( const double v)
inline

Convenience set method for setting all domain standard deviations to the same value.

Definition at line 131 of file itkFastBilateralImageFilter.h.

References m_DomainSigma.

◆ SetDomainSigma() [2/2]

template<typename TInputImage, typename TOutputImage>
virtual void itk::FastBilateralImageFilter< TInputImage, TOutputImage >::SetDomainSigma ( DomainSigmaArrayType _arg)
virtual

◆ SetRangeSigma()

template<typename TInputImage, typename TOutputImage>
virtual void itk::FastBilateralImageFilter< TInputImage, TOutputImage >::SetRangeSigma ( double _arg)
virtual

Member Data Documentation

◆ ImageDimension

template<typename TInputImage, typename TOutputImage>
unsigned int itk::FastBilateralImageFilter< TInputImage, TOutputImage >::ImageDimension = TInputImage::ImageDimension
staticconstexpr

Dimensionality of the input image. Dimensionality of the output image is assumed to be the same.

Definition at line 92 of file itkFastBilateralImageFilter.h.

◆ m_DomainSigma

template<typename TInputImage, typename TOutputImage>
DomainSigmaArrayType itk::FastBilateralImageFilter< TInputImage, TOutputImage >::m_DomainSigma
protected

Definition at line 188 of file itkFastBilateralImageFilter.h.

Referenced by FastBilateralImageFilter(), and SetDomainSigma().

◆ m_RangeSigma

template<typename TInputImage, typename TOutputImage>
double itk::FastBilateralImageFilter< TInputImage, TOutputImage >::m_RangeSigma
protected

Definition at line 187 of file itkFastBilateralImageFilter.h.

Referenced by FastBilateralImageFilter().


The documentation for this class was generated from the following file: