18 #ifndef itkExtractImageFilter_h
19 #define itkExtractImageFilter_h
89 template<
typename TInputImage,
typename TOutputImage >
127 DIRECTIONCOLLAPSETOUNKOWN=0,
128 DIRECTIONCOLLAPSETOIDENTITY=1,
129 DIRECTIONCOLLAPSETOSUBMATRIX=2,
130 DIRECTIONCOLLAPSETOGUESS=3
131 } DIRECTIONCOLLAPSESTRATEGY;
160 switch(choosenStrategy)
162 case DIRECTIONCOLLAPSETOGUESS:
163 case DIRECTIONCOLLAPSETOIDENTITY:
164 case DIRECTIONCOLLAPSETOSUBMATRIX:
166 case DIRECTIONCOLLAPSETOUNKOWN:
168 itkExceptionMacro( <<
"Invalid Strategy Chosen for itk::ExtractImageFilter" );
172 this->m_DirectionCollapseStrategy=choosenStrategy;
186 return this->m_DirectionCollapseStrategy;
192 this->SetDirectionCollapseToStrategy(DIRECTIONCOLLAPSETOGUESS);
198 this->SetDirectionCollapseToStrategy(DIRECTIONCOLLAPSETOIDENTITY);
204 this->SetDirectionCollapseToStrategy(DIRECTIONCOLLAPSETOSUBMATRIX);
209 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
210 static constexpr
unsigned int OutputImageDimension = TOutputImage::ImageDimension;
213 Self::InputImageDimension,
214 Self::OutputImageDimension >;
225 #ifdef ITK_USE_CONCEPT_CHECKING
235 void PrintSelf(std::ostream & os,
Indent indent)
const override;
245 void GenerateOutputInformation()
override;
273 void GenerateData()
override;
284 #ifndef ITK_MANUAL_INSTANTIATION
285 #include "itkExtractImageFilter.hxx"
ImageBaseType::SizeType SizeType
ImageBaseType::IndexType IndexType
Control indentation during Print() invocation.
Base class for filters that take an image as input and overwrite that image as the output...
ImageBaseType::RegionType RegionType
#define itkConceptMacro(name, concept)