ITK  4.2.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 Types inherited from itk::ImageSource< TOutputImage >
typedef
Superclass::DataObjectIdentifierType 
DataObjectIdentifierType
typedef DataObject::Pointer DataObjectPointer
typedef
Superclass::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
typedef OutputImageType::PixelType OutputImagePixelType
typedef OutputImageType::Pointer OutputImagePointer
typedef TOutputImage OutputImageType
- Public Types inherited from itk::ProcessObject
typedef std::vector
< DataObjectPointer
DataObjectPointerArray
typedef std::vector
< DataObjectIdentifierType
NameArray
- Public Types inherited from itk::Object
- Public Types inherited from itk::LightObject

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
- Public Member Functions inherited from itk::ImageSource< TOutputImage >
OutputImageTypeGetOutput (unsigned int idx)
virtual void GraftNthOutput (unsigned int idx, DataObject *output)
virtual void GraftOutput (DataObject *output)
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *output)
OutputImageTypeGetOutput (void)
const OutputImageTypeGetOutput (void) const
virtual
ProcessObject::DataObjectPointer 
MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx)
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
virtual void AbortGenerateDataOn ()
virtual void EnlargeOutputRequestedRegion (DataObject *)
virtual const bool & GetAbortGenerateData ()
NameArray GetInputNames () const
MultiThreader * GetMultiThreader () const
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
DataObjectPointerArraySizeType GetNumberOfInputs () const
DataObjectPointerArraySizeType GetNumberOfOutputs () const
virtual
DataObjectPointerArraySizeType 
GetNumberOfValidRequiredInputs () const
NameArray GetOutputNames () const
virtual const float & GetProgress ()
NameArray GetRequiredInputNames () const
bool HasInput (const DataObjectIdentifierType &key) const
bool HasOutput (const DataObjectIdentifierType &key) const
virtual DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
virtual void PrepareOutputs ()
virtual void PropagateRequestedRegion (DataObject *output)
virtual void ResetPipeline ()
virtual void SetAbortGenerateData (bool _arg)
virtual void SetProgress (float _arg)
virtual void Update ()
virtual void UpdateLargestPossibleRegion ()
virtual void UpdateOutputData (DataObject *output)
virtual void UpdateOutputInformation ()
void UpdateProgress (float amount)
DataObjectPointerArray GetInputs ()
DataObjectPointerArray GetOutputs ()
DataObjectPointerArray GetIndexedInputs ()
DataObjectPointerArray GetIndexedOutputs ()
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
virtual void SetReleaseDataFlag (bool flag)
virtual bool GetReleaseDataFlag () const
void ReleaseDataFlagOn ()
void ReleaseDataFlagOff ()
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
virtual const bool & GetReleaseDataBeforeUpdateFlag ()
virtual void ReleaseDataBeforeUpdateFlagOn ()
virtual void ReleaseDataBeforeUpdateFlagOff ()
virtual void SetNumberOfThreads (ThreadIdType _arg)
virtual const ThreadIdTypeGetNumberOfThreads ()
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
unsigned long AddObserver (const EventObject &event, Command *) const
virtual void DebugOff () const
virtual void DebugOn () const
CommandGetCommand (unsigned long tag)
bool GetDebug () const
MetaDataDictionaryGetMetaDataDictionary (void)
const MetaDataDictionaryGetMetaDataDictionary (void) const
virtual unsigned long GetMTime () const
virtual const TimeStampGetTimeStamp () const
bool HasObserver (const EventObject &event) const
void InvokeEvent (const EventObject &)
void InvokeEvent (const EventObject &) const
virtual void Modified () const
virtual void Register () const
void RemoveAllObservers ()
void RemoveObserver (unsigned long tag)
void SetDebug (bool debugFlag) const
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
virtual void SetReferenceCount (int)
virtual void UnRegister () const
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
virtual int GetReferenceCount () const
 itkCloneMacro (Self)
void Print (std::ostream &os, Indent indent=0) 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 ()
- Protected Member Functions inherited from itk::ImageSource< TOutputImage >
virtual void AfterThreadedGenerateData ()
virtual void AllocateOutputs ()
virtual void GenerateData ()
 ImageSource ()
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int num, OutputImageRegionType &splitRegion)
virtual ~ImageSource ()
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
virtual void AddOutput (DataObject *output)
bool AddRequiredInputName (const DataObjectIdentifierType &)
virtual void CacheInputReleaseDataFlags ()
virtual void GenerateInputRequestedRegion ()
virtual void GenerateOutputInformation ()
virtual void GenerateOutputRequestedRegion (DataObject *output)
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredInputs ()
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredOutputs ()
bool IsIndexedName (const DataObjectIdentifierType &) const
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 itkLegacyMacro (virtual void RemoveInput(DataObject *input))
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num))
 itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num))
DataObjectPointerArraySizeType MakeIndexFromName (const DataObjectIdentifierType &) const
DataObjectIdentifierType MakeNameFromIndex (DataObjectPointerArraySizeType) const
 ProcessObject ()
virtual void PropagateResetPipeline ()
virtual void ReleaseInputs ()
virtual void RemoveInput (const DataObjectIdentifierType &key)
virtual void RemoveInput (DataObjectPointerArraySizeType)
virtual void RemoveOutput (const DataObjectIdentifierType &key)
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
virtual void RestoreInputReleaseDataFlags ()
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
virtual void SetNthInput (DataObjectPointerArraySizeType num, DataObject *input)
virtual void SetNthOutput (DataObjectPointerArraySizeType num, DataObject *output)
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
virtual void SetOutput (const DataObjectIdentifierType &key, DataObject *output)
virtual void SetPrimaryInput (DataObject *input)
virtual void SetPrimaryOutput (DataObject *output)
void SetRequiredInputNames (const NameArray &)
virtual void VerifyInputInformation ()
virtual void VerifyPreconditions ()
 ~ProcessObject ()
DataObjectGetInput (const DataObjectIdentifierType &key)
const DataObjectGetInput (const DataObjectIdentifierType &key) const
DataObjectGetInput (DataObjectPointerArraySizeType)
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
DataObjectGetPrimaryInput ()
const DataObjectGetPrimaryInput () const
DataObjectGetOutput (const DataObjectIdentifierType &key)
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
DataObjectGetOutput (DataObjectPointerArraySizeType idx)
const DataObjectGetOutput (DataObjectPointerArraySizeType idx) const
DataObjectGetPrimaryOutput ()
const DataObjectGetPrimaryOutput () const
virtual void PushBackInput (const DataObject *input)
virtual void PopBackInput ()
virtual void PushFrontInput (const DataObject *input)
virtual void PopFrontInput ()
- Protected Member Functions inherited from itk::Object
 Object ()
bool PrintObservers (std::ostream &os, Indent indent) const
virtual void SetTimeStamp (const TimeStamp &time)
virtual ~Object ()
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 LightObject ()
virtual void PrintHeader (std::ostream &os, Indent indent) const
virtual void PrintTrailer (std::ostream &os, Indent indent) const
virtual ~LightObject ()

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

Additional Inherited Members

- Static Public Attributes inherited from itk::ImageSource< TOutputImage >
static const unsigned int OutputImageDimension = TOutputImage::ImageDimension
- Static Protected Member Functions inherited from itk::ImageSource< TOutputImage >
static ITK_THREAD_RETURN_TYPE ThreaderCallback (void *arg)

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 ( )
inlineprotectedvirtual

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  )
protectedvirtual

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
protectedvirtual

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 
)
protectedvirtual

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: