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.
TensorImageType::PixelType TensorType
ImageType::PixelType PixelType
TTensorImage TensorImageType
SmartPointer< Self > Pointer
bool m_UseGradientRecursiveGaussianImageFilter
Image< ScalarType, Dimension > ScalarImageType
SmartPointer< const Self > ConstPointer
void IntermediateFilter(const Dispatch< true > &)
Computes the structure tensor.
ScalarType m_PostRescaling
ImageToImageFilter< TImage, TImage > Superclass
Image< CovariantVectorType, Dimension > CovariantImageType
static const unsigned int Dimension
ScalarType operator()(const TensorType &t) const
StructureTensorImageFilter()
CovariantVector< ScalarType, Dimension > CovariantVectorType
ScalarType m_FeatureScale
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
TensorType::ComponentType ScalarType
TensorType operator()(const TensorType &t) const
StructureTensorImageFilter Self
A templated class holding a n-Dimensional covariant vector.
Templated n-dimensional image class.
TensorImageType::Pointer m_IntermediateResult
virtual void GenerateData() override
Global rescaling constant used.