ITK  4.1.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes
itk::JoinImageFilter< TInputImage1, TInputImage2 > Class Template Reference

#include <itkJoinImageFilter.h>

+ Inheritance diagram for itk::JoinImageFilter< TInputImage1, TInputImage2 >:
+ Collaboration diagram for itk::JoinImageFilter< TInputImage1, TInputImage2 >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef Functor::MakeJoin
< TInputImage1, TInputImage2 >
::FunctorType 
FunctorType
typedef FunctorType::JoinType OutputImagePixelType
typedef Functor::MakeJoin
< TInputImage1, TInputImage2 >
::ImageType 
OutputImageType
typedef SmartPointer< SelfPointer
typedef JoinImageFilter Self
typedef
BinaryFunctorImageFilter
< TInputImage1, TInputImage2,
OutputImageType, FunctorType
Superclass

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const char * GetNameOfClass () const
 typedef (Concept::HasPixelTraits< typename TInputImage1::PixelType >) Input1HasPixelTraitsCheck
 typedef (Concept::HasPixelTraits< typename TInputImage2::PixelType >) Input2HasPixelTraitsCheck
 typedef (Concept::HasJoinTraits< typename PixelTraits< typename TInputImage1::PixelType >::ValueType, typename PixelTraits< typename TInputImage2::PixelType >::ValueType >) Input1Input2HasJoinTraitsCheck

Static Public Member Functions

static Pointer New ()

Static Public Attributes

static const unsigned int OutputImageDimension = TInputImage1::ImageDimension
 JoinImageFilter ()
virtual ~JoinImageFilter ()
 JoinImageFilter (const Self &)
void operator= (const Self &)

Detailed Description

template<class TInputImage1, class TInputImage2>
class itk::JoinImageFilter< TInputImage1, TInputImage2 >

Join two images, resulting in an image where each pixel has the components of the first image followed by the components of the second image.

JoinImageFilter combines two images by appending the components of one image to the components of another image. The output image type is always a itk::Vector image and the vector value type will the smallest type that can represent the dynamic range of both the input value types. Hence, joining an image of char and unsigned char results in an image of shorts since that is the smallest datatype with a large enough dynamic range. To define a consistent behavior across different architectures, the join of an int and an unsigned int is float. On a 64 bit architecture, this join could be represented in a long. But on 32 bit architectures, the only safe join value type is a float. For this and similar ambiguous cases, the join value type is promoted to a float.

Note that this filter is not templated over its output image type. Rather the filter determines what its output image type is based on the input data types. To determine the output type, use JoinImageFilter<Image1, Image2>::OutputImageType

Wiki Examples:

Definition at line 209 of file itkJoinImageFilter.h.


Member Typedef Documentation

template<class TInputImage1 , class TInputImage2 >
typedef SmartPointer< const Self > itk::JoinImageFilter< TInputImage1, TInputImage2 >::ConstPointer
template<class TInputImage1 , class TInputImage2 >
typedef Functor::MakeJoin< TInputImage1, TInputImage2 >::FunctorType itk::JoinImageFilter< TInputImage1, TInputImage2 >::FunctorType
template<class TInputImage1 , class TInputImage2 >
typedef FunctorType::JoinType itk::JoinImageFilter< TInputImage1, TInputImage2 >::OutputImagePixelType
template<class TInputImage1 , class TInputImage2 >
typedef Functor::MakeJoin< TInputImage1, TInputImage2 >::ImageType itk::JoinImageFilter< TInputImage1, TInputImage2 >::OutputImageType
template<class TInputImage1 , class TInputImage2 >
typedef SmartPointer< Self > itk::JoinImageFilter< TInputImage1, TInputImage2 >::Pointer
template<class TInputImage1 , class TInputImage2 >
typedef JoinImageFilter itk::JoinImageFilter< TInputImage1, TInputImage2 >::Self
template<class TInputImage1 , class TInputImage2 >
typedef BinaryFunctorImageFilter< TInputImage1, TInputImage2, OutputImageType, FunctorType > itk::JoinImageFilter< TInputImage1, TInputImage2 >::Superclass

Constructor & Destructor Documentation

template<class TInputImage1 , class TInputImage2 >
itk::JoinImageFilter< TInputImage1, TInputImage2 >::JoinImageFilter ( ) [inline, protected]

End concept checking

Definition at line 260 of file itkJoinImageFilter.h.

template<class TInputImage1 , class TInputImage2 >
virtual itk::JoinImageFilter< TInputImage1, TInputImage2 >::~JoinImageFilter ( ) [inline, protected, virtual]

End concept checking

Definition at line 261 of file itkJoinImageFilter.h.

template<class TInputImage1 , class TInputImage2 >
itk::JoinImageFilter< TInputImage1, TInputImage2 >::JoinImageFilter ( const Self ) [private]

End concept checking


Member Function Documentation

template<class TInputImage1 , class TInputImage2 >
virtual::itk::LightObject::Pointer itk::JoinImageFilter< TInputImage1, TInputImage2 >::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::BinaryFunctorImageFilter< TInputImage1, TInputImage2, Functor::MakeJoin< TInputImage1, TInputImage2 >::ImageType, Functor::MakeJoin< TInputImage1, TInputImage2 >::FunctorType >.

template<class TInputImage1 , class TInputImage2 >
virtual const char* itk::JoinImageFilter< TInputImage1, TInputImage2 >::GetNameOfClass ( ) const [virtual]
template<class TInputImage1 , class TInputImage2 >
static Pointer itk::JoinImageFilter< TInputImage1, TInputImage2 >::New ( ) [static]
template<class TInputImage1 , class TInputImage2 >
void itk::JoinImageFilter< TInputImage1, TInputImage2 >::operator= ( const Self ) [private]
template<class TInputImage1 , class TInputImage2 >
itk::JoinImageFilter< TInputImage1, TInputImage2 >::typedef ( Concept::HasPixelTraits< typename TInputImage1::PixelType >  )

Begin concept checking This class requires Input1HasPixelTraitsCheck in the form of ( Concept::HasPixelTraits< typename TInputImage1::PixelType > )

template<class TInputImage1 , class TInputImage2 >
itk::JoinImageFilter< TInputImage1, TInputImage2 >::typedef ( Concept::HasPixelTraits< typename TInputImage2::PixelType >  )

This class requires Input2HasPixelTraitsCheck in the form of ( Concept::HasPixelTraits< typename TInputImage2::PixelType > )

template<class TInputImage1 , class TInputImage2 >
itk::JoinImageFilter< TInputImage1, TInputImage2 >::typedef ( Concept::HasJoinTraits< typename PixelTraits< typename TInputImage1::PixelType >::ValueType, typename PixelTraits< typename TInputImage2::PixelType >::ValueType >  )

This class requires Input1Input2HasJoinTraitsCheck in the form of ( Concept::HasJoinTraits< typename PixelTraits< typename TInputImage1::PixelType >::ValueType, typename PixelTraits< typename TInputImage2::PixelType >::ValueType > )


Member Data Documentation

template<class TInputImage1 , class TInputImage2 >
const unsigned int itk::JoinImageFilter< TInputImage1, TInputImage2 >::OutputImageDimension = TInputImage1::ImageDimension [static]

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