18#ifndef itkSimilarityIndexImageFilter_h
19#define itkSimilarityIndexImageFilter_h
60template <
typename TInputImage1,
typename TInputImage2>
94 static constexpr unsigned int ImageDimension = TInputImage1::ImageDimension;
103 this->SetInput(image);
114 return this->GetInput();
118 const InputImage2Type *
124#ifdef ITK_USE_CONCEPT_CHECKING
158 itkExceptionMacro(
"This class requires threadId so it must use classic multi-threading model");
178#ifndef ITK_MANUAL_INSTANTIATION
179# include "itkSimilarityIndexImageFilter.hxx"
Base class for all data objects in ITK.
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
Light weight base class for most itk classes.
Define additional traits for native types such as int or float.
Measures the similarity between the set of non-zero pixels of two images.
void SetInput1(const InputImage1Type *image)
typename TInputImage1::RegionType RegionType
const InputImage1Type * GetInput1()
TInputImage2 InputImage2Type
~SimilarityIndexImageFilter() override=default
void GenerateInputRequestedRegion() override
void BeforeThreadedGenerateData() override
typename TInputImage2::PixelType InputImage2PixelType
typename NumericTraits< InputImage1PixelType >::RealType RealType
void AllocateOutputs() override
TInputImage1 InputImage1Type
const InputImage2Type * GetInput2()
typename TInputImage1::PixelType InputImage1PixelType
void DynamicThreadedGenerateData(const RegionType &) override
typename TInputImage1::SizeType SizeType
typename TInputImage1::ConstPointer InputImage1ConstPointer
void ThreadedGenerateData(const RegionType &outputRegionForThread, ThreadIdType threadId) override
void EnlargeOutputRequestedRegion(DataObject *data) override
typename TInputImage1::Pointer InputImage1Pointer
void SetInput2(const InputImage2Type *image)
SimilarityIndexImageFilter()
typename TInputImage2::Pointer InputImage2Pointer
void PrintSelf(std::ostream &os, Indent indent) const override
void AfterThreadedGenerateData() override
typename TInputImage1::IndexType IndexType
typename TInputImage2::ConstPointer InputImage2ConstPointer
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
#define itkConceptMacro(name, concept)
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned int ThreadIdType