ANIMA
4.0
|
#include <animaRecursiveLineYvvGaussianImageFilter.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef TInputImage::ConstPointer | InputImageConstPointer |
typedef TInputImage::Pointer | InputImagePointer |
typedef TInputImage | InputImageType |
typedef TInputImage::PixelType | InputPixelType |
typedef TOutputImage::RegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::NumericTraits< InputPixelType >::RealType | RealType |
typedef itk::NumericTraits< InputPixelType >::ScalarRealType | ScalarRealType |
typedef RecursiveLineYvvGaussianImageFilter | Self |
typedef itk::InPlaceImageFilter< TInputImage, TOutputImage > | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual unsigned int | GetDirection () const |
const TInputImage * | GetInputImage (void) |
virtual const char * | GetNameOfClass () const |
virtual bool | GetNormalizeAcrossScale () const |
virtual ScalarRealType | GetSigma () const |
virtual void | SetDirection (unsigned int _arg) |
void | SetInputImage (const TInputImage *) |
virtual void | SetNormalizeAcrossScale (bool _arg) |
virtual void | SetSigma (ScalarRealType _arg) |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
void | BeforeThreadedGenerateData () ITK_OVERRIDE |
template<class T > | |
void | ComputeAntiCausalBase (const T &data, T *outs, T &V0, T &V1, T &V2, unsigned int ln) |
template<class T > | |
void | ComputeAntiCausalBase (const itk::VariableLengthVector< T > &data, itk::VariableLengthVector< T > *outs, itk::VariableLengthVector< T > &V0, itk::VariableLengthVector< T > &V1, itk::VariableLengthVector< T > &V2, unsigned int ln) |
template<class T > | |
void | ComputeAntiCausalPart (T &out, T &data, T &V0, T &V1, T &V2) |
template<class T > | |
void | ComputeAntiCausalPart (itk::VariableLengthVector< T > &out, itk::VariableLengthVector< T > &data, itk::VariableLengthVector< T > &V0, itk::VariableLengthVector< T > &V1, itk::VariableLengthVector< T > &V2) |
template<class T > | |
void | ComputeCausalBase (const T &data, T &V0, T &V1, T &V2) |
template<class T > | |
void | ComputeCausalBase (const itk::VariableLengthVector< T > &data, itk::VariableLengthVector< T > &V0, itk::VariableLengthVector< T > &V1, itk::VariableLengthVector< T > &V2) |
template<class T > | |
void | ComputeCausalPart (T &out, const T &data, T &V0, T &V1, T &V2) |
template<class T > | |
void | ComputeCausalPart (itk::VariableLengthVector< T > &out, const itk::VariableLengthVector< T > &data, itk::VariableLengthVector< T > &V0, itk::VariableLengthVector< T > &V1, itk::VariableLengthVector< T > &V2) |
void | DynamicThreadedGenerateData (const OutputImageRegionType &outputRegionForThread) ITK_OVERRIDE |
void | EnlargeOutputRequestedRegion (itk::DataObject *output) ITK_OVERRIDE |
void | FilterDataArray (RealType *outs, const RealType *data, unsigned int ln, RealType &sV0, RealType &sV1, RealType &sV2) |
void | GenerateData () ITK_OVERRIDE |
void | PrintSelf (std::ostream &os, itk::Indent indent) const ITK_OVERRIDE |
RecursiveLineYvvGaussianImageFilter () | |
virtual void | SetUp (ScalarRealType spacing) |
virtual | ~RecursiveLineYvvGaussianImageFilter () |
Protected Attributes | |
ScalarRealType | m_B |
ScalarRealType | m_B1 |
ScalarRealType | m_B2 |
ScalarRealType | m_B3 |
vnl_matrix< ScalarRealType > | m_MMatrix |
Definition at line 11 of file animaRecursiveLineYvvGaussianImageFilter.h.
typedef itk::SmartPointer<const Self> anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::ConstPointer |
Definition at line 19 of file animaRecursiveLineYvvGaussianImageFilter.h.
typedef TInputImage::ConstPointer anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::InputImageConstPointer |
Definition at line 29 of file animaRecursiveLineYvvGaussianImageFilter.h.
typedef TInputImage::Pointer anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::InputImagePointer |
Smart pointer typedef support.
Definition at line 28 of file animaRecursiveLineYvvGaussianImageFilter.h.
typedef TInputImage anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::InputImageType |
Type of the input image
Definition at line 43 of file animaRecursiveLineYvvGaussianImageFilter.h.
typedef TInputImage::PixelType anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::InputPixelType |
Real type to be used in internal computations. RealType in general is templated over the pixel type. (For example for vector or tensor pixels, RealType is a vector or a tensor of doubles.) ScalarRealType is a type meant for scalars.
Definition at line 36 of file animaRecursiveLineYvvGaussianImageFilter.h.
typedef TOutputImage::RegionType anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::OutputImageRegionType |
Definition at line 40 of file animaRecursiveLineYvvGaussianImageFilter.h.
typedef TOutputImage anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::OutputImageType |
Type of the output image
Definition at line 46 of file animaRecursiveLineYvvGaussianImageFilter.h.
typedef itk::SmartPointer<Self> anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::Pointer |
Definition at line 18 of file animaRecursiveLineYvvGaussianImageFilter.h.
typedef itk::NumericTraits<InputPixelType>::RealType anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::RealType |
Definition at line 37 of file animaRecursiveLineYvvGaussianImageFilter.h.
typedef itk::NumericTraits<InputPixelType>::ScalarRealType anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::ScalarRealType |
Definition at line 38 of file animaRecursiveLineYvvGaussianImageFilter.h.
typedef RecursiveLineYvvGaussianImageFilter anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
Definition at line 16 of file animaRecursiveLineYvvGaussianImageFilter.h.
typedef itk::InPlaceImageFilter<TInputImage,TOutputImage> anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::Superclass |
Definition at line 17 of file animaRecursiveLineYvvGaussianImageFilter.h.
|
protected |
Definition at line 16 of file animaRecursiveLineYvvGaussianImageFilter.hxx.
References anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::SetInputImage().
|
inlineprotectedvirtual |
Definition at line 85 of file animaRecursiveLineYvvGaussianImageFilter.h.
References anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::BeforeThreadedGenerateData(), anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::DynamicThreadedGenerateData(), anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::EnlargeOutputRequestedRegion(), anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::FilterDataArray(), anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::GenerateData(), anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::PrintSelf(), and anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::SetUp().
|
protected |
GenerateData (apply) the filter.
Definition at line 172 of file animaRecursiveLineYvvGaussianImageFilter.hxx.
References anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::GenerateData().
Referenced by anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::EnlargeOutputRequestedRegion(), and anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::~RecursiveLineYvvGaussianImageFilter().
|
inlineprotected |
Definition at line 190 of file animaRecursiveLineYvvGaussianImageFilter.h.
References anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::m_B, anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::m_B1, anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::m_B2, anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::m_B3, and anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::m_MMatrix.
|
inlineprotected |
Definition at line 214 of file animaRecursiveLineYvvGaussianImageFilter.h.
References anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::m_B, anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::m_B1, anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::m_B2, anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::m_B3, and anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::m_MMatrix.
|
inlineprotected |
Utility function to compute causal part for any type
Definition at line 145 of file animaRecursiveLineYvvGaussianImageFilter.h.
References anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::m_B, anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::m_B1, anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::m_B2, and anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::m_B3.
|
inlineprotected |
Utility function to compute causal part for ITK vector type
Definition at line 153 of file animaRecursiveLineYvvGaussianImageFilter.h.
References anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::m_B, anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::m_B1, anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::m_B2, and anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::m_B3.
|
inlineprotected |
Definition at line 166 of file animaRecursiveLineYvvGaussianImageFilter.h.
References anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::m_B1, anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::m_B2, and anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::m_B3.
|
inlineprotected |
Definition at line 172 of file animaRecursiveLineYvvGaussianImageFilter.h.
References anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::m_B1, anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::m_B2, and anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::m_B3.
|
inlineprotected |
Utility function to compute causal part for any type
Definition at line 120 of file animaRecursiveLineYvvGaussianImageFilter.h.
References anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::m_B1, anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::m_B2, and anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::m_B3.
|
inlineprotected |
Utility function to compute causal part for ITK vector type
Definition at line 128 of file animaRecursiveLineYvvGaussianImageFilter.h.
References anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::m_B1, anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::m_B2, and anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::m_B3.
virtual::itk::LightObject::Pointer anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::CreateAnother | ( | void | ) | const |
|
protected |
Compute Recursive filter line by line in one of the dimensions
Definition at line 223 of file animaRecursiveLineYvvGaussianImageFilter.hxx.
References anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::PrintSelf().
Referenced by anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::GenerateData(), and anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::~RecursiveLineYvvGaussianImageFilter().
|
protected |
RecursiveLineYvvGaussianImageFilter needs all of the input only in the "Direction" dimension. Therefore we enlarge the output's RequestedRegion to this. Then the superclass's GenerateInputRequestedRegion method will copy the output region to the input.
Definition at line 146 of file animaRecursiveLineYvvGaussianImageFilter.hxx.
References anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::BeforeThreadedGenerateData().
Referenced by anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::FilterDataArray(), and anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::~RecursiveLineYvvGaussianImageFilter().
|
protected |
Apply the Recursive Filter to an array of data. This method is called for each line of the volume. Parameter "scratch" is a scratch area used for internal computations that is the same size as the parameters "outs" and "data". The scratch area must be allocated outside of this routine (this avoids memory allocation and deallocation in the inner loop of the overall algorithm.
Apply Recursive Filter
Causal direction pass
Recursively filter the rest
AntiCausal direction pass
Recursively filter the rest
Definition at line 110 of file animaRecursiveLineYvvGaussianImageFilter.hxx.
References anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::EnlargeOutputRequestedRegion().
Referenced by anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::SetUp(), and anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::~RecursiveLineYvvGaussianImageFilter().
|
protected |
Definition at line 202 of file animaRecursiveLineYvvGaussianImageFilter.hxx.
References anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::DynamicThreadedGenerateData().
Referenced by anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::BeforeThreadedGenerateData(), and anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::~RecursiveLineYvvGaussianImageFilter().
|
virtual |
Get the direction in which the filter is to be applied.
const TInputImage * anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::GetInputImage | ( | void | ) |
Get Input Image.
Get Input Image
Definition at line 44 of file animaRecursiveLineYvvGaussianImageFilter.hxx.
References anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::SetUp().
Referenced by anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::SetInputImage().
|
virtual |
Type macro that defines a name for this class.
|
virtual |
|
virtual |
Set/Get the Sigma, measured in world coordinates, of the Gaussian kernel. The default is 1.0.
|
static |
Method for creation through the object factory.
|
protected |
Definition at line 302 of file animaRecursiveLineYvvGaussianImageFilter.hxx.
Referenced by anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::DynamicThreadedGenerateData(), and anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::~RecursiveLineYvvGaussianImageFilter().
|
virtual |
Set the direction in which the filter is to be applied.
void anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::SetInputImage | ( | const TInputImage * | input | ) |
Set Input Image.
Set Input Image
Definition at line 31 of file animaRecursiveLineYvvGaussianImageFilter.hxx.
References anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::GetInputImage().
Referenced by anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::RecursiveLineYvvGaussianImageFilter().
|
virtual |
Set/Get the flag for normalizing the gaussian over scale space. When this flag is ON the filter will be normalized in such a way that larger sigmas will not result in the image fading away.
\[ \frac{ 1 }{ \sqrt{ 2 \pi } }; \]
When the flag is OFF the normalization will conserve contant the integral of the image intensity.
\[ \frac{ 1 }{ \sigma \sqrt{ 2 \pi } }; \]
For analyzing an image across Scale Space you want to enable this flag. It is disabled by default.
|
virtual |
|
protectedvirtual |
Set up the coefficients of the filter to approximate a specific kernel. Typically it can be used to approximate a Gaussian or one of its derivatives. Parameter is the spacing along the dimension to filter.
Compute filter for Gaussian kernel.
Definition at line 55 of file animaRecursiveLineYvvGaussianImageFilter.hxx.
References anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::FilterDataArray().
Referenced by anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::GetInputImage(), and anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::~RecursiveLineYvvGaussianImageFilter().
|
protected |
|
protected |
Causal and anti-causal coefficients that multiply the input data. These are already divided by B0
Definition at line 247 of file animaRecursiveLineYvvGaussianImageFilter.h.
Referenced by anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::ComputeAntiCausalBase(), anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::ComputeAntiCausalPart(), anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::ComputeCausalBase(), and anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::ComputeCausalPart().
|
protected |
Definition at line 248 of file animaRecursiveLineYvvGaussianImageFilter.h.
Referenced by anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::ComputeAntiCausalBase(), anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::ComputeAntiCausalPart(), anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::ComputeCausalBase(), and anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::ComputeCausalPart().
|
protected |
Definition at line 249 of file animaRecursiveLineYvvGaussianImageFilter.h.
Referenced by anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::ComputeAntiCausalBase(), anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::ComputeAntiCausalPart(), anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::ComputeCausalBase(), and anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::ComputeCausalPart().
|
protected |
Definition at line 253 of file animaRecursiveLineYvvGaussianImageFilter.h.
Referenced by anima::RecursiveLineYvvGaussianImageFilter< TInputImage, TOutputImage >::ComputeAntiCausalBase().