18 #ifndef itkExtractImageFilter_h
19 #define itkExtractImageFilter_h
89 template<
typename TInputImage,
typename TOutputImage >
125 DIRECTIONCOLLAPSETOUNKOWN=0,
126 DIRECTIONCOLLAPSETOIDENTITY=1,
127 DIRECTIONCOLLAPSETOSUBMATRIX=2,
128 DIRECTIONCOLLAPSETOGUESS=3
129 } DIRECTIONCOLLAPSESTRATEGY;
158 switch(choosenStrategy)
160 case DIRECTIONCOLLAPSETOGUESS:
161 case DIRECTIONCOLLAPSETOIDENTITY:
162 case DIRECTIONCOLLAPSETOSUBMATRIX:
164 case DIRECTIONCOLLAPSETOUNKOWN:
166 itkExceptionMacro( <<
"Invalid Strategy Chosen for itk::ExtractImageFilter" );
170 this->m_DirectionCollapseStrategy=choosenStrategy;
184 return this->m_DirectionCollapseStrategy;
190 this->SetDirectionCollapseToStrategy(DIRECTIONCOLLAPSETOGUESS);
196 this->SetDirectionCollapseToStrategy(DIRECTIONCOLLAPSETOIDENTITY);
202 this->SetDirectionCollapseToStrategy(DIRECTIONCOLLAPSETOSUBMATRIX);
207 itkStaticConstMacro(InputImageDimension,
unsigned int,
208 TInputImage::ImageDimension);
209 itkStaticConstMacro(OutputImageDimension,
unsigned int,
210 TOutputImage::ImageDimension);
214 itkGetStaticConstMacro(InputImageDimension),
226 #ifdef ITK_USE_CONCEPT_CHECKING
236 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
246 virtual void GenerateOutputInformation() ITK_OVERRIDE;
258 virtual
void CallCopyOutputRegionToInputRegion(InputImageRegionType & destRegion,
259 const OutputImageRegionType & srcRegion) ITK_OVERRIDE;
270 void ThreadedGenerateData(const OutputImageRegionType & outputRegionForThread,
276 void GenerateData() ITK_OVERRIDE;
289 #ifndef ITK_MANUAL_INSTANTIATION
290 #include "itkExtractImageFilter.hxx"
unsigned int ThreadIdType
Control indentation during Print() invocation.
ImageBaseType::SizeType SizeType
Base class for filters that take an image as input and overwrite that image as the output...
#define itkConceptMacro(name, concept)
ImageBaseType::IndexType IndexType