ITK  4.8.0
Insight Segmentation and Registration Toolkit
itkSatoLocalStructureFeatureGenerator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Insight Segmentation & Registration Toolkit
4  Module: itkSatoLocalStructureFeatureGenerator.h
5  Language: C++
6  Date: $Date$
7  Version: $Revision$
8 
9  Copyright (c) Insight Software Consortium. All rights reserved.
10  See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
11 
12  This software is distributed WITHOUT ANY WARRANTY; without even
13  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14  PURPOSE. See the above copyright notices for more information.
15 
16 =========================================================================*/
17 #ifndef __itkSatoLocalStructureFeatureGenerator_h
18 #define __itkSatoLocalStructureFeatureGenerator_h
19 
20 #include "itkFeatureGenerator.h"
21 #include "itkImage.h"
22 #include "itkImageSpatialObject.h"
27 
28 namespace itk
29 {
30 
41 template <unsigned int NDimension>
42 class ITK_EXPORT SatoLocalStructureFeatureGenerator : public FeatureGenerator<NDimension>
43 {
44 public:
50 
52  itkNewMacro(Self);
53 
56 
58  itkStaticConstMacro(Dimension, unsigned int, NDimension);
59 
62  typedef signed short InputPixelType;
66  typedef typename Superclass::SpatialObjectType SpatialObjectType;
67 
70  void SetInput( const SpatialObjectType * input );
71  const SpatialObjectType * GetInput() const;
73 
76  const SpatialObjectType * GetFeature() const;
77 
80  itkSetMacro( Sigma, double );
81  itkGetMacro( Sigma, double );
83 
85  itkSetMacro( Alpha, double );
86  itkGetMacro( Alpha, double );
88 
90  itkSetMacro( Gamma, double );
91  itkGetMacro( Gamma, double );
93 
94 protected:
97  void PrintSelf(std::ostream& os, Indent indent) const;
98 
101  void GenerateData ();
102 
103 private:
104  SatoLocalStructureFeatureGenerator(const Self&); //purposely not implemented
105  void operator=(const Self&); //purposely not implemented
106 
107  typedef float InternalPixelType;
109 
112 
114 
117  typedef typename HessianImageType::PixelType HessianPixelType;
118 
121 
123 
125 
129 
130  double m_Sigma;
131  double m_Alpha;
132  double m_Gamma;
133 };
134 
135 } // end namespace itk
136 
137 #ifndef ITK_MANUAL_INSTANTIATION
138 # include "itkSatoLocalStructureFeatureGenerator.hxx"
139 #endif
140 
141 #endif
HessianRecursiveGaussianImageFilter< InputImageType > HessianFilterType
Light weight base class for most itk classes.
InputImageSpatialObjectType::Pointer InputImageSpatialObjectPointer
Computes the eigen-values of every input symmetric matrix pixel.
FixedArray< double, HessianPixelType::Dimension > EigenValueArrayType
Image< EigenValueArrayType, Dimension > EigenValueImageType
Simulate a standard C array with copy semnatics.
Definition: itkFixedArray.h:50
Generates a feature image by computing measures based on the Hessian Eigenvalues. ...
ImageSpatialObject< NDimension, OutputPixelType > OutputImageSpatialObjectType
Class that generates features (typically images) used as input for a segmentation method...
Implementation of the composite pattern.
virtual void SetInput(const DataObjectIdentifierType &key, DataObject *input)
Protected method for setting indexed and named inputs.
ImageSpatialObject< NDimension, InputPixelType > InputImageSpatialObjectType
Computes the Hessian matrix of an image by convolution with the Second and Cross derivatives of a Gau...
SymmetricEigenAnalysisImageFilter< HessianImageType, EigenValueImageType > EigenAnalysisFilterType
Implementation of an image as spatial object.
Control indentation during Print() invocation.
Definition: itkIndent.h:49
Computes local similarity to geometrical structures using second derivative operations.
Templated n-dimensional image class.
Definition: itkImage.h:75
LocalStructureImageFilter< EigenValueImageType, OutputImageType > LocalStructureFilterType