18 #ifndef __itkGradientRecursiveGaussianImageFilter_h
19 #define __itkGradientRecursiveGaussianImageFilter_h
51 template<
typename TInputImage,
52 typename TOutputImage = Image< CovariantVector<
53 typename NumericTraits< typename TInputImage::PixelType >::RealType,
54 TInputImage::ImageDimension >,
55 TInputImage::ImageDimension > >
79 itkStaticConstMacro(ImageDimension,
unsigned int,
80 TInputImage::ImageDimension);
144 void SetNormalizeAcrossScale(
bool normalizeInScaleSpace);
145 itkGetConstMacro(NormalizeAcrossScale,
bool);
153 virtual void GenerateInputRequestedRegion()
166 itkSetMacro(UseImageDirection,
bool);
167 itkGetConstMacro(UseImageDirection,
bool);
168 itkBooleanMacro(UseImageDirection);
171 #ifdef ITK_USE_CONCEPT_CHECKING
182 void PrintSelf(std::ostream & os,
Indent indent)
const;
185 void GenerateData(
void);
188 void EnlargeOutputRequestedRegion(
DataObject *output);
190 void GenerateOutputInformation();
194 template <
class TValueType>
201 it.GetImage()->TransformLocalVectorToPhysicalVector(gradient, physicalGradient );
202 it.Set(
OutputPixelType( physicalGradient.GetDataPointer(), ImageDimension, false ) );
213 for (
unsigned int nc = 0; nc < nComponents; nc++ )
217 for (
unsigned int dim = 0; dim < ImageDimension; dim++ )
221 it.
GetImage()->TransformLocalVectorToPhysicalVector(componentGradient, correctedComponentGradient );
222 for (
unsigned int dim = 0; dim < ImageDimension; dim++ )
225 correctedComponentGradient[dim] );
227 it.
Set(correctedGradient);
231 template <
template<
class,
unsigned int>
class P,
class T,
unsigned int N>
236 it.GetImage()->TransformLocalVectorToPhysicalVector(gradient, it.Value() );
242 void operator=(
const Self &);
258 #ifndef ITK_MANUAL_INSTANTIATION
259 #include "itkGradientRecursiveGaussianImageFilter.hxx"