18#ifndef itkNonLocalPatchBasedImageFilter_h
19#define itkNonLocalPatchBasedImageFilter_h
23#include "AdaptiveDenoisingExport.h"
50extern AdaptiveDenoising_EXPORT std::ostream &
61template <
typename TInputImage,
typename TOutputImage = TInputImage>
110#if !defined(ITK_LEGACY_REMOVE)
112 static constexpr SimilarityMetricType PEARSON_CORRELATION = SimilarityMetricEnum::PEARSON_CORRELATION;
113 static constexpr SimilarityMetricType MEAN_SQUARES = SimilarityMetricEnum::MEAN_SQUARES;
213#ifndef ITK_MANUAL_INSTANTIATION
214# include "itkNonLocalPatchBasedImageFilter.hxx"
Neighborhood patch similarity metric enumerated type.
Const version of NeighborhoodIterator, defining iteration of a local N-dimensional neighborhood of pi...
itk::Size< VDimension > RadiusType
Offset< VDimension > OffsetType
Templated n-dimensional image class.
SmartPointer< Self > Pointer
Index< VImageDimension > IndexType
Control indentation during Print() invocation.
A light-weight container object for storing an N-dimensional neighborhood of values.
Non-local patch-based image filter enum classes.
SizeValueType NeighborhoodSizeType
typename InputImageType::Pointer InputImagePointer
NonLocalPatchBasedImageFilter()
typename OutputImageType::PixelType OutputPixelType
NeighborhoodRadiusType m_NeighborhoodPatchRadius
TOutputImage OutputImageType
NeighborhoodRadiusType m_NeighborhoodSearchRadius
RealType ComputeNeighborhoodPatchSimilarity(const InputImageList &, const IndexType, const InputImagePixelVectorType &, const bool)
SizeValueType m_NeighborhoodPatchSize
RegionType m_TargetImageRegion
NonLocalPatchBasedImageFilter< TInputImage, TOutputImage > Self
SmartPointer< const Self > ConstPointer
SizeValueType m_NeighborhoodSearchSize
typename RealImageType::IndexType IndexType
InputImagePixelVectorType VectorizeImagePatch(const InputImagePointer, const IndexType, const bool)
std::vector< InputPixelType > InputImagePixelVectorType
static constexpr unsigned int ImageDimension
~NonLocalPatchBasedImageFilter() override=default
Image< RealType, ImageDimension > RealImageType
void BeforeThreadedGenerateData() override
typename RealImageType::Pointer RealImagePointer
virtual void SetNeighborhoodSearchOffsetList(const NeighborhoodOffsetListType list)
NeighborhoodOffsetListType m_NeighborhoodSearchOffsetList
NeighborhoodOffsetListType m_NeighborhoodPatchOffsetList
NonLocalPatchBasedImageFilterEnums::SimilarityMetric SimilarityMetricEnum
TInputImage InputImageType
std::vector< InputImageList > InputImageSetList
ImageToImageFilter< TInputImage, TOutputImage > Superclass
void PrintSelf(std::ostream &os, Indent indent) const override
void GetMeanAndStandardDeviationOfVectorizedImagePatch(const InputImagePixelVectorType &, RealType &, RealType &)
virtual void SetNeighborhoodPatchOffsetList(const NeighborhoodOffsetListType list)
typename ConstNeighborhoodIteratorType::RadiusType NeighborhoodRadiusType
typename InputImageType::RegionType RegionType
SimilarityMetricEnum m_SimilarityMetric
Neighborhood< InputPixelType, ImageDimension > NeighborhoodType
std::vector< InputImagePointer > InputImageList
typename InputImageType::PixelType InputPixelType
typename ConstNeighborhoodIteratorType::OffsetType NeighborhoodOffsetType
InputImagePixelVectorType VectorizeImageListPatch(const InputImageList &, const IndexType, const bool)
SmartPointer< Self > Pointer
std::vector< NeighborhoodOffsetType > NeighborhoodOffsetListType
ConstNeighborhoodIterator< InputImageType > ConstNeighborhoodIteratorType
virtual void Modified() const
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType
ITKCommon_EXPORT std::ostream & operator<<(std::ostream &out, AnatomicalOrientation::CoordinateEnum value)