Main Page
Groups
Namespace List
Class Hierarchy
Alphabetical List
Compound List
File
List
Namespace Members
Compound Members
File Members
Concepts
itk::Functor::JoinFunctor< TPixel1, TPixel2 > Class Template Reference
Join the components of two pixel types into a single pixel type.
More...
#include <itkJoinImageFilter.h>
List of all members.
Detailed Description
template<class TPixel1, class TPixel2>
class itk::Functor::JoinFunctor< TPixel1, TPixel2 >
Join the components of two pixel types into a single pixel type.
JoinFunctor combines the components of two pixel types into a single pixel type. The components of one pixel are appended to the components of the other pixel. The output pixel type is an itk::Vector. The ValueType of the vector is the smallest scalar type that can represent the dynamic range of the both the input pixel value types. Hence, joining a char and unsigned char results in a short 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.
Definition at line 46 of file itkJoinImageFilter.h.
Member Typedef Documentation
Constructor & Destructor Documentation
Member Function Documentation
template<class TPixel1, class TPixel2> |
itk::Functor::JoinFunctor< TPixel1, TPixel2 >::itkStaticConstMacro |
( |
JoinDimension |
, |
|
|
unsigned |
int, |
|
|
Dimension1+ |
Dimension2 |
|
) |
|
|
|
Capture the dimensions of the image. |
|
Capture the dimensions of the image. |
|
Capture the dimensions of the image. |
The documentation for this class was generated from the following file:
Generated at Sat Mar 31 03:13:09 2007 for ITK by
1.3.8 written by Dimitri van Heesch,
© 1997-2000