23 #ifndef itkStructureTensorImageFilter_h
24 #define itkStructureTensorImageFilter_h
49 template<
typename TImage,
50 typename TTensorImage =
51 Image< SymmetricSecondRankTensor< typename TImage::PixelType,TImage::ImageDimension >, TImage::ImageDimension > >
68 static const unsigned int Dimension = ImageType::ImageDimension;
79 itkSetMacro(RescaleForUnitMaximumTrace,
bool);
83 itkGetConstMacro(RescaleForUnitMaximumTrace,
bool);
111 for(
unsigned int i = 0; i <
Dimension; ++i )
113 for(
unsigned int j = i; j <
Dimension; ++j)
140 #ifndef ITK_MANUAL_INSTANTIATION
141 #include "itkStructureTensorImageFilter.hxx"
Light weight base class for most itk classes.
bool m_UseGradientRecursiveGaussianImageFilter
void IntermediateFilter(const Dispatch< true > &)
Computes the structure tensor.
ScalarType m_PostRescaling
static const unsigned int Dimension
typename TensorImageType::PixelType TensorType
ScalarType operator()(const TensorType &t) const
StructureTensorImageFilter()
TTensorImage TensorImageType
ScalarType m_FeatureScale
typename TensorType::ComponentType ScalarType
void GenerateData() override
Global rescaling constant used.
bool m_RescaleForUnitMaximumTrace
Base class for filters that take an image as input and produce an image as output.
TensorType operator()(const CovariantVectorType &u) const
typename ImageType::PixelType PixelType
TensorType operator()(const TensorType &t) const
A templated class holding a n-Dimensional covariant vector.
Templated n-dimensional image class.
TensorImageType::Pointer m_IntermediateResult