NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
2D image filter class to compute the light line response of an image a specific scale. More...
Classes | |
struct | LightLineResponseThreadStruct |
Public Member Functions | |
virtual const char * | GetClassName () const |
itkStaticConstMacro (ImageDimension, unsigned int, TInputImage::ImageDimension) | |
void | SetDebug (bool b) |
Set the debugging output. More... | |
void | DebugOn () |
Set debugging output on. More... | |
void | DebugOff () |
Set debugging output off. More... | |
void | SetVerbose (bool b) |
Set the verbose output. More... | |
void | VerboseOn () |
Set verbose output on. More... | |
void | VerboseOff () |
Set verbose output off. More... | |
void | SetSigma (RealType sigma) |
virtual void | GenerateInputRequestedRegion () throw ( InvalidRequestedRegionError ) |
void | SetNormalizeAcrossScale (bool normalizeInScaleSpace) |
virtual bool | GetNormalizeAcrossScale () const |
virtual void | SetEpsilon (InternalRealType _arg) |
Set the noise suppression parameter. More... | |
virtual InternalRealType | GetEpsilon () |
Get the noise suppression parameter. More... | |
virtual void | SetNumberOfOrientations (unsigned int _arg) |
Set the number of orientations to quantise into. More... | |
virtual unsigned int | GetNumberOfOrientations () |
Get the number of orientations to quantise into. More... | |
void | SetOrigin (OriginType o) |
Set the origin for oriented BIFs. More... | |
virtual OriginType | GetOrigin () |
Get the origin for oriented BIFs. More... | |
void | SetFlipHorizontally (void) |
Set the coefficient to flip the orientation horizontally. More... | |
void | SetFlipVertically (void) |
Set the coefficient to flip the orientation vertically. More... | |
void | SetLocalOrientation (RealImagePointer OrientationInX, RealImagePointer OrientationInY) |
Set the local reference orientation images. More... | |
virtual void | SetOrientationInY (RealImageType *_arg) |
Set the local reference orientation image in 'y'. More... | |
virtual void | SetMask (MaskImageType *_arg) |
Set an optional mask image. More... | |
virtual RealImageType * | GetS11 () |
virtual RealImageType * | GetS20 () |
Get a pointer to the second derivative in 'xy'. More... | |
virtual RealImageType * | GetS02 () |
Get a pointer to the second derivative in 'xx'. More... | |
virtual RealImageType * | GetOrientation () |
Get a pointer to the second derivative in 'yy'. More... | |
void | WriteDerivativeToFile (int n, std::string filename) |
Get a pointer to the structure orientation. More... | |
void | SetSingleThreadedExecution (void) |
For debugging purposes, set single threaded execution. More... | |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
LightLineResponseImageFilter () | |
virtual | ~LightLineResponseImageFilter () |
void | PrintSelf (std::ostream &os, Indent indent) const |
RealImagePointer | GetDerivative (DerivativeFilterOrderEnumTypeX xOrder, DerivativeFilterOrderEnumTypeY yOrder) |
virtual void | BeforeThreadedGenerateData (void) |
virtual void | AfterThreadedGenerateData (void) |
void | GenerateData () |
void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId) |
void | EnlargeOutputRequestedRegion (DataObject *output) |
Protected Attributes | |
bool | m_FlagMultiThreadedExecution |
Flag to turn multithreading on or off. More... | |
bool | m_FlagLocalOrientationSet |
Flag to calculate orientated BIFs using local orientation images. More... | |
unsigned int | m_NumberOfOrientations |
bool | m_NormalizeAcrossScale |
InternalRealType | m_Epsilon |
Noise suppression parameter. More... | |
InternalRealType | m_Sigma |
Scale. More... | |
bool | m_FlagOriginSet |
Flag indicating whether the orgin has been set. More... | |
OriginType | m_Origin |
The origin to use for oriented BIFs. More... | |
RealType | flipHorizontally |
Coefficient to flip the orientation horizontally. More... | |
RealType | flipVertically |
Coefficient to flip the orientation vertically. More... | |
RealImagePointer | m_OrientationInX |
Set the local reference orientation image in 'x'. More... | |
RealImagePointer | m_OrientationInY |
Set the local reference orientation image in 'y'. More... | |
MaskImagePointer | m_Mask |
Optional mask image. More... | |
MaskFilterPointer | m_MaskFilter |
RealImagePointer | m_S11 |
Second derivative in 'xy'. More... | |
RealImagePointer | m_S20 |
Second derivative in 'xx'. More... | |
RealImagePointer | m_S02 |
Second derivative in 'yy'. More... | |
RealImagePointer | m_Orientation |
Orientation of the structure. More... | |
2D image filter class to compute the light line response of an image a specific scale.
typedef SmartPointer< const Self > itk::LightLineResponseImageFilter< TInputImage, TOutputImage >::ConstPointer |
typedef DerivativeFilterTypeX::OrderEnumType itk::LightLineResponseImageFilter< TInputImage, TOutputImage >::DerivativeFilterOrderEnumTypeX |
Pointer to a derivative filter.
typedef DerivativeFilterTypeY::OrderEnumType itk::LightLineResponseImageFilter< TInputImage, TOutputImage >::DerivativeFilterOrderEnumTypeY |
typedef DerivativeFilterTypeX::Pointer itk::LightLineResponseImageFilter< TInputImage, TOutputImage >::DerivativeFilterPointerX |
Pointer to a derivative filtr. e
typedef DerivativeFilterTypeY::Pointer itk::LightLineResponseImageFilter< TInputImage, TOutputImage >::DerivativeFilterPointerY |
typedef LewisGriffinRecursiveGaussianImageFilter< InputImageType, RealImageType > itk::LightLineResponseImageFilter< TInputImage, TOutputImage >::DerivativeFilterTypeX |
Derivative filter type, it will be the first in the pipeline
typedef LewisGriffinRecursiveGaussianImageFilter< RealImageType, RealImageType > itk::LightLineResponseImageFilter< TInputImage, TOutputImage >::DerivativeFilterTypeY |
typedef InputImageType::ConstPointer itk::LightLineResponseImageFilter< TInputImage, TOutputImage >::InputImageConstPointer |
typedef InputImageType::PixelType itk::LightLineResponseImageFilter< TInputImage, TOutputImage >::InputImagePixelType |
typedef InputImageType::Pointer itk::LightLineResponseImageFilter< TInputImage, TOutputImage >::InputImagePointer |
typedef InputImageType::PointType itk::LightLineResponseImageFilter< TInputImage, TOutputImage >::InputImagePointType |
typedef InputImageType::RegionType itk::LightLineResponseImageFilter< TInputImage, TOutputImage >::InputImageRegionType |
typedef InputImageType::SpacingType itk::LightLineResponseImageFilter< TInputImage, TOutputImage >::InputImageSpacingType |
typedef TInputImage itk::LightLineResponseImageFilter< TInputImage, TOutputImage >::InputImageType |
Type of the input image
typedef float itk::LightLineResponseImageFilter< TInputImage, TOutputImage >::InternalRealType |
Define the image type for internal computations RealType is usually 'double' in NumericTraits. Here we prefer float in order to save memory.
typedef MaskFilterType::Pointer itk::LightLineResponseImageFilter< TInputImage, TOutputImage >::MaskFilterPointer |
typedef itk::MaskImageFilter< OutputImageType, MaskImageType, OutputImageType > itk::LightLineResponseImageFilter< TInputImage, TOutputImage >::MaskFilterType |
typedef MaskImageType::Pointer itk::LightLineResponseImageFilter< TInputImage, TOutputImage >::MaskImagePointer |
typedef itk::Image<MaskPixelType, ImageDimension> itk::LightLineResponseImageFilter< TInputImage, TOutputImage >::MaskImageType |
typedef unsigned char itk::LightLineResponseImageFilter< TInputImage, TOutputImage >::MaskPixelType |
Optional mask image
typedef OutputImagePointType itk::LightLineResponseImageFilter< TInputImage, TOutputImage >::OriginType |
typedef OutputImageType::IndexType itk::LightLineResponseImageFilter< TInputImage, TOutputImage >::OutputImageIndexType |
typedef OutputImageType::PixelType itk::LightLineResponseImageFilter< TInputImage, TOutputImage >::OutputImagePixelType |
typedef OutputImageType::Pointer itk::LightLineResponseImageFilter< TInputImage, TOutputImage >::OutputImagePointer |
typedef OutputImageType::PointType itk::LightLineResponseImageFilter< TInputImage, TOutputImage >::OutputImagePointType |
typedef OutputImageType::RegionType itk::LightLineResponseImageFilter< TInputImage, TOutputImage >::OutputImageRegionType |
typedef TOutputImage itk::LightLineResponseImageFilter< TInputImage, TOutputImage >::OutputImageType |
Type of the output image
typedef SmartPointer< Self > itk::LightLineResponseImageFilter< TInputImage, TOutputImage >::Pointer |
typedef RealImageType::Pointer itk::LightLineResponseImageFilter< TInputImage, TOutputImage >::RealImagePointer |
typedef Image< InternalRealType, TInputImage::ImageDimension > itk::LightLineResponseImageFilter< TInputImage, TOutputImage >::RealImageType |
typedef NumericTraits<InputImagePixelType>::RealType itk::LightLineResponseImageFilter< TInputImage, TOutputImage >::RealType |
typedef LightLineResponseImageFilter itk::LightLineResponseImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
typedef ImageToImageFilter< TInputImage,TOutputImage > itk::LightLineResponseImageFilter< TInputImage, TOutputImage >::Superclass |
|
protected |
|
protectedvirtual |
|
protectedvirtual |
If an imaging filter needs to perform processing after all processing threads have completed, the filter can can provide an implementation for AfterThreadedGenerateData(). The execution flow in the default GenerateData() method will be: 1) Allocate the output buffer 2) Call BeforeThreadedGenerateData() 3) Spawn threads, calling ThreadedGenerateData() in each thread. 4) Call AfterThreadedGenerateData() Note that this flow of control is only available if a filter provides a ThreadedGenerateData() method and NOT a GenerateData() method.
|
protectedvirtual |
If an imaging filter needs to perform processing after the buffer has been allocated but before threads are spawned, the filter can can provide an implementation for BeforeThreadedGenerateData(). The execution flow in the default GenerateData() method will be: 1) Allocate the output buffer 2) Call BeforeThreadedGenerateData() 3) Spawn threads, calling ThreadedGenerateData() in each thread. 4) Call AfterThreadedGenerateData() Note that this flow of control is only available if a filter provides a ThreadedGenerateData() method and NOT a GenerateData() method.
|
inline |
Set debugging output off.
|
inline |
Set debugging output on.
|
protected |
|
protected |
Single threaded execution, for debugging purposes ( call SetSingleThreadedExecution() )
|
virtual |
LightLineResponseImageFilter needs all of the input to produce an output. Therefore, GradientRecursiveGaussianImageFilter needs to provide an implementation for GenerateInputRequestedRegion in order to inform the pipeline execution model.
|
virtual |
Run-time type information (and related methods).
|
protected |
|
virtual |
Get the noise suppression parameter.
|
virtual |
|
virtual |
Get the number of orientations to quantise into.
|
virtual |
Get a pointer to the second derivative in 'yy'.
|
virtual |
Get the origin for oriented BIFs.
|
virtual |
Get a pointer to the second derivative in 'xx'.
|
virtual |
|
virtual |
Get a pointer to the second derivative in 'xy'.
itk::LightLineResponseImageFilter< TInputImage, TOutputImage >::itkStaticConstMacro | ( | ImageDimension | , |
unsigned | int, | ||
TInputImage::ImageDimension | |||
) |
Image dimension.
|
static |
Method for creation through the object factory.
|
protected |
|
inline |
Set the debugging output.
|
virtual |
Set the noise suppression parameter.
|
inline |
Set the coefficient to flip the orientation horizontally.
|
inline |
Set the coefficient to flip the orientation vertically.
|
inline |
Set the local reference orientation images.
|
virtual |
Set an optional mask image.
void itk::LightLineResponseImageFilter< TInputImage, TOutputImage >::SetNormalizeAcrossScale | ( | bool | normalizeInScaleSpace | ) |
Define which normalization factor will be used for the Gaussian
|
virtual |
Set the number of orientations to quantise into.
|
virtual |
Set the local reference orientation image in 'y'.
|
inline |
Set the origin for oriented BIFs.
void itk::LightLineResponseImageFilter< TInputImage, TOutputImage >::SetSigma | ( | RealType | sigma | ) |
Set Sigma value.
|
inline |
For debugging purposes, set single threaded execution.
|
inline |
Set the verbose output.
|
protected |
LightLineResponseImageFilter can be implemented as a multithreaded filter. Therefore, this implementation provides a ThreadedGenerateData() routine which is called for each processing thread. The output image data is allocated automatically by the superclass prior to calling ThreadedGenerateData(). ThreadedGenerateData can only write to the portion of the output image specified by the parameter "outputRegionForThread"
|
inline |
Set verbose output off.
|
inline |
Set verbose output on.
void itk::LightLineResponseImageFilter< TInputImage, TOutputImage >::WriteDerivativeToFile | ( | int | n, |
std::string | filename | ||
) |
Get a pointer to the structure orientation.
Write one of the derivatives to a file ( 0 < n < 6 )
|
protected |
Coefficient to flip the orientation horizontally.
|
protected |
Coefficient to flip the orientation vertically.
|
protected |
Noise suppression parameter.
|
protected |
Flag to calculate orientated BIFs using local orientation images.
|
protected |
Flag to turn multithreading on or off.
|
protected |
Flag indicating whether the orgin has been set.
|
protected |
Optional mask image.
|
protected |
|
protected |
Normalize the image across scale space
|
protected |
The number of orientations to quantise into. For example the default value, 8, results in 45 degree quantisation (eight slope orientations and four line orientations).
|
protected |
Orientation of the structure.
|
protected |
Set the local reference orientation image in 'x'.
|
protected |
Set the local reference orientation image in 'y'.
|
protected |
The origin to use for oriented BIFs.
|
protected |
Second derivative in 'yy'.
|
protected |
Second derivative in 'xy'.
|
protected |
Second derivative in 'xx'.
|
protected |
Scale.