18 #ifndef itkSimilarityIndexImageFilter_h
19 #define itkSimilarityIndexImageFilter_h
59 template<
typename TInputImage1,
typename TInputImage2 >
92 itkStaticConstMacro(ImageDimension,
unsigned int,
93 TInputImage1::ImageDimension);
100 { this->SetInput(image); }
103 void SetInput2(
const InputImage2Type *image);
107 {
return this->GetInput(); }
110 const InputImage2Type * GetInput2();
113 itkGetConstMacro(SimilarityIndex, RealType);
115 #ifdef ITK_USE_CONCEPT_CHECKING
127 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
131 void AllocateOutputs() ITK_OVERRIDE;
134 void BeforeThreadedGenerateData() ITK_OVERRIDE;
138 void AfterThreadedGenerateData() ITK_OVERRIDE;
141 void ThreadedGenerateData(const RegionType &
142 outputRegionForThread,
146 void GenerateInputRequestedRegion() ITK_OVERRIDE;
149 void EnlargeOutputRequestedRegion(
DataObject *data) ITK_OVERRIDE;
162 #ifndef ITK_MANUAL_INSTANTIATION
163 #include "itkSimilarityIndexImageFilter.hxx"
Array class with size defined at construction time.
const InputImage1Type * GetInput1(void)
Light weight base class for most itk classes.
TInputImage2::ConstPointer InputImage2ConstPointer
TInputImage2::PixelType InputImage2PixelType
TInputImage1::RegionType RegionType
TInputImage1::Pointer InputImage1Pointer
SmartPointer< Self > Pointer
TInputImage1 InputImage1Type
unsigned long SizeValueType
NumericTraits< InputImage1PixelType >::RealType RealType
TInputImage1::IndexType IndexType
TInputImage1::SizeType SizeType
SimilarityIndexImageFilter Self
ImageToImageFilter< TInputImage1, TInputImage1 > Superclass
Measures the similarity between the set of non-zero pixels of two images.
void SetInput1(const InputImage1Type *image)
TInputImage2::Pointer InputImage2Pointer
unsigned int ThreadIdType
TInputImage1::PixelType InputImage1PixelType
Base class for filters that take an image as input and produce an image as output.
~SimilarityIndexImageFilter() override
Control indentation during Print() invocation.
SmartPointer< const Self > ConstPointer
ImageBaseType::SizeType SizeType
Define additional traits for native types such as int or float.
TInputImage2 InputImage2Type
#define itkConceptMacro(name, concept)
TInputImage1::ConstPointer InputImage1ConstPointer
Base class for all data objects in ITK.
ImageBaseType::IndexType IndexType