ITK  4.1.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Private Member Functions | Private Attributes
itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage > Class Template Reference

#include <itkTestingStretchIntensityImageFilter.h>

+ Inheritance diagram for itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage >:
+ Collaboration diagram for itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef TInputImage::PixelType InputPixelType
typedef TOutputImage::PixelType OutputPixelType
typedef SmartPointer< SelfPointer
typedef NumericTraits
< InputPixelType >::RealType 
RealType
typedef StretchIntensityImageFilter Self
typedef ImageSource< TOutputImage > Superclass

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const char * GetNameOfClass () const
virtual const OutputPixelTypeGetOutputMaximum ()
virtual const OutputPixelTypeGetOutputMinimum ()
virtual void SetOutputMaximum (OutputPixelType _arg)
virtual void SetOutputMinimum (OutputPixelType _arg)
 typedef (Concept::HasNumericTraits< InputPixelType >) InputHasNumericTraitsCheck
 typedef (Concept::HasNumericTraits< OutputPixelType >) OutputHasNumericTraitsCheck
 typedef (Concept::MultiplyOperator< RealType >) RealTypeMultiplyOperatorCheck
 typedef (Concept::AdditiveOperators< RealType >) RealTypeAdditiveOperatorsCheck
virtual const RealTypeGetScale ()
virtual const RealTypeGetShift ()
virtual const InputPixelTypeGetInputMinimum ()
virtual const InputPixelTypeGetInputMaximum ()
virtual void SetInput (const TInputImage *image)
const TInputImage * GetInput (void) const

Static Public Member Functions

static Pointer New ()

Protected Types

typedef TInputImage::RegionType InputImageRegionType
typedef
Superclass::OutputImageRegionType 
OutputImageRegionType

Protected Member Functions

void BeforeThreadedGenerateData (void)
void PrintSelf (std::ostream &os, Indent indent) const
 StretchIntensityImageFilter ()
void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
virtual ~StretchIntensityImageFilter ()

Private Member Functions

void operator= (const Self &)
 StretchIntensityImageFilter (const Self &)

Private Attributes

InputPixelType m_InputMaximum
InputPixelType m_InputMinimum
OutputPixelType m_OutputMaximum
OutputPixelType m_OutputMinimum
RealType m_Scale
RealType m_Shift

Detailed Description

template<typename TInputImage, typename TOutputImage = TInputImage>
class itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage >

Applies a linear transformation to the intensity levels of the input Image.

StretchIntensityImageFilter applies pixel-wise a linear transformation to the intensity values of input image pixels. The linear transformation is defined by the user in terms of the minimum and maximum values that the output image should have.

Definition at line 41 of file itkTestingStretchIntensityImageFilter.h.


Member Typedef Documentation

template<typename TInputImage , typename TOutputImage = TInputImage>
typedef SmartPointer< const Self > itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage >::ConstPointer

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 48 of file itkTestingStretchIntensityImageFilter.h.

template<typename TInputImage , typename TOutputImage = TInputImage>
typedef TInputImage::RegionType itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage >::InputImageRegionType [protected]

Definition at line 109 of file itkTestingStretchIntensityImageFilter.h.

template<typename TInputImage , typename TOutputImage = TInputImage>
typedef TInputImage::PixelType itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage >::InputPixelType

Definition at line 51 of file itkTestingStretchIntensityImageFilter.h.

template<typename TInputImage , typename TOutputImage = TInputImage>
typedef Superclass::OutputImageRegionType itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage >::OutputImageRegionType [protected]

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 108 of file itkTestingStretchIntensityImageFilter.h.

template<typename TInputImage , typename TOutputImage = TInputImage>
typedef TOutputImage::PixelType itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage >::OutputPixelType

Definition at line 50 of file itkTestingStretchIntensityImageFilter.h.

template<typename TInputImage , typename TOutputImage = TInputImage>
typedef SmartPointer< Self > itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage >::Pointer

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 47 of file itkTestingStretchIntensityImageFilter.h.

template<typename TInputImage , typename TOutputImage = TInputImage>
typedef NumericTraits< InputPixelType >::RealType itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage >::RealType

Definition at line 52 of file itkTestingStretchIntensityImageFilter.h.

template<typename TInputImage , typename TOutputImage = TInputImage>
typedef StretchIntensityImageFilter itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage >::Self

Standard class typedefs.

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 45 of file itkTestingStretchIntensityImageFilter.h.

template<typename TInputImage , typename TOutputImage = TInputImage>
typedef ImageSource< TOutputImage > itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage >::Superclass

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 46 of file itkTestingStretchIntensityImageFilter.h.


Constructor & Destructor Documentation

template<typename TInputImage , typename TOutputImage = TInputImage>
itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage >::StretchIntensityImageFilter ( ) [protected]

End concept checking

template<typename TInputImage , typename TOutputImage = TInputImage>
virtual itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage >::~StretchIntensityImageFilter ( ) [inline, protected, virtual]

Definition at line 100 of file itkTestingStretchIntensityImageFilter.h.

template<typename TInputImage , typename TOutputImage = TInputImage>
itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage >::StretchIntensityImageFilter ( const Self ) [private]

Member Function Documentation

template<typename TInputImage , typename TOutputImage = TInputImage>
void itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage >::BeforeThreadedGenerateData ( void  ) [protected, virtual]

Process to execute before entering the multithreaded section

Reimplemented from itk::ImageSource< TOutputImage >.

template<typename TInputImage , typename TOutputImage = TInputImage>
virtual::itk::LightObject::Pointer itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage >::CreateAnother ( void  ) const [virtual]

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::Object.

template<typename TInputImage , typename TOutputImage = TInputImage>
const TInputImage* itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage >::GetInput ( void  ) const
template<typename TInputImage , typename TOutputImage = TInputImage>
virtual const InputPixelType& itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage >::GetInputMaximum ( ) [virtual]

Get the Minimum and Maximum values of the input image.

Warning:
These Values are only valid after the filter has been updated
template<typename TInputImage , typename TOutputImage = TInputImage>
virtual const InputPixelType& itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage >::GetInputMinimum ( ) [virtual]

Get the Minimum and Maximum values of the input image.

Warning:
These Values are only valid after the filter has been updated
template<typename TInputImage , typename TOutputImage = TInputImage>
virtual const char* itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage >::GetNameOfClass ( ) const [virtual]

Runtime information support.

Reimplemented from itk::ImageSource< TOutputImage >.

template<typename TInputImage , typename TOutputImage = TInputImage>
virtual const OutputPixelType& itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage >::GetOutputMaximum ( ) [virtual]
template<typename TInputImage , typename TOutputImage = TInputImage>
virtual const OutputPixelType& itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage >::GetOutputMinimum ( ) [virtual]
template<typename TInputImage , typename TOutputImage = TInputImage>
virtual const RealType& itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage >::GetScale ( ) [virtual]

Get the Scale and Shift used for the linear transformation of gray level values.

Warning:
These Values are only valid after the filter has been updated
template<typename TInputImage , typename TOutputImage = TInputImage>
virtual const RealType& itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage >::GetShift ( ) [virtual]

Get the Scale and Shift used for the linear transformation of gray level values.

Warning:
These Values are only valid after the filter has been updated
template<typename TInputImage , typename TOutputImage = TInputImage>
static Pointer itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage >::New ( ) [static]

Method for creation through the object factory.

Reimplemented from itk::Object.

template<typename TInputImage , typename TOutputImage = TInputImage>
void itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage >::operator= ( const Self ) [private]

Reimplemented from itk::ImageSource< TOutputImage >.

template<typename TInputImage , typename TOutputImage = TInputImage>
void itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected, virtual]

Print internal ivars

Reimplemented from itk::ProcessObject.

template<typename TInputImage , typename TOutputImage = TInputImage>
virtual void itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage >::SetInput ( const TInputImage *  image) [virtual]
template<typename TInputImage , typename TOutputImage = TInputImage>
virtual void itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage >::SetOutputMaximum ( OutputPixelType  _arg) [virtual]
template<typename TInputImage , typename TOutputImage = TInputImage>
virtual void itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage >::SetOutputMinimum ( OutputPixelType  _arg) [virtual]
template<typename TInputImage , typename TOutputImage = TInputImage>
void itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData ( const OutputImageRegionType outputRegionForThread,
ThreadIdType  threadId 
) [protected, virtual]

UnaryFunctorImageFilter 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"

Reimplemented from itk::ImageSource< TOutputImage >.

template<typename TInputImage , typename TOutputImage = TInputImage>
itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage >::typedef ( Concept::HasNumericTraits< InputPixelType )

Begin concept checking This class requires InputHasNumericTraitsCheck in the form of ( Concept::HasNumericTraits< InputPixelType > )

template<typename TInputImage , typename TOutputImage = TInputImage>
itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage >::typedef ( Concept::HasNumericTraits< OutputPixelType )

This class requires OutputHasNumericTraitsCheck in the form of ( Concept::HasNumericTraits< OutputPixelType > )

template<typename TInputImage , typename TOutputImage = TInputImage>
itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage >::typedef ( Concept::MultiplyOperator< RealType )

This class requires RealTypeMultiplyOperatorCheck in the form of ( Concept::MultiplyOperator< RealType > )

template<typename TInputImage , typename TOutputImage = TInputImage>
itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage >::typedef ( Concept::AdditiveOperators< RealType )

This class requires RealTypeAdditiveOperatorsCheck in the form of ( Concept::AdditiveOperators< RealType > )


Member Data Documentation

template<typename TInputImage , typename TOutputImage = TInputImage>
InputPixelType itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage >::m_InputMaximum [private]

Definition at line 129 of file itkTestingStretchIntensityImageFilter.h.

template<typename TInputImage , typename TOutputImage = TInputImage>
InputPixelType itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage >::m_InputMinimum [private]

Definition at line 128 of file itkTestingStretchIntensityImageFilter.h.

template<typename TInputImage , typename TOutputImage = TInputImage>
OutputPixelType itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage >::m_OutputMaximum [private]

Definition at line 132 of file itkTestingStretchIntensityImageFilter.h.

template<typename TInputImage , typename TOutputImage = TInputImage>
OutputPixelType itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage >::m_OutputMinimum [private]

Definition at line 131 of file itkTestingStretchIntensityImageFilter.h.

template<typename TInputImage , typename TOutputImage = TInputImage>
RealType itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage >::m_Scale [private]

Definition at line 125 of file itkTestingStretchIntensityImageFilter.h.

template<typename TInputImage , typename TOutputImage = TInputImage>
RealType itk::Testing::StretchIntensityImageFilter< TInputImage, TOutputImage >::m_Shift [private]

Definition at line 126 of file itkTestingStretchIntensityImageFilter.h.


The documentation for this class was generated from the following file: