18 #ifndef __itkSimilarityIndexImageFilter_h
19 #define __itkSimilarityIndexImageFilter_h
59 template<
class TInputImage1,
class TInputImage2 >
85 typedef typename TInputImage1::SizeType
SizeType;
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(
void);
113 itkGetConstMacro(SimilarityIndex, RealType);
115 #ifdef ITK_USE_CONCEPT_CHECKING
128 void PrintSelf(std::ostream & os,
Indent indent)
const;
132 void AllocateOutputs();
135 void BeforeThreadedGenerateData();
139 void AfterThreadedGenerateData();
142 void ThreadedGenerateData(
const RegionType &
143 outputRegionForThread,
147 void GenerateInputRequestedRegion();
150 void EnlargeOutputRequestedRegion(
DataObject *data);
154 void operator=(
const Self &);
164 #ifndef ITK_MANUAL_INSTANTIATION
165 #include "itkSimilarityIndexImageFilter.hxx"