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