#include <itkJoinImageFilter.h>
Public Types | |
typedef JoinFunctor | Self |
typedef PixelTraits< TPixel1 >::ValueType | ValueType1 |
typedef PixelTraits< TPixel2 >::ValueType | ValueType2 |
typedef JoinTraits< ValueType1, ValueType2 >::ValueType | JoinValueType |
typedef Vector< JoinValueType, itkGetStaticConstMacro(JoinDimension) | JoinType ) |
Public Methods | |
JoinFunctor () | |
~JoinFunctor () | |
JoinType | operator() (const TPixel1 &A, const TPixel2 &B) |
itkStaticConstMacro (Dimension1, unsigned int, PixelTraits< TPixel1 >::Dimension) | |
itkStaticConstMacro (Dimension2, unsigned int, PixelTraits< TPixel2 >::Dimension) | |
itkStaticConstMacro (JoinDimension, unsigned int, Dimension1+Dimension2) |
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.
|
A vector of the join dimension. Definition at line 71 of file itkJoinImageFilter.h. |
|
Definition at line 59 of file itkJoinImageFilter.h. |
|
Standard typedefs Definition at line 54 of file itkJoinImageFilter.h. |
|
Typedefs for the output join type. Definition at line 57 of file itkJoinImageFilter.h. |
|
Definition at line 58 of file itkJoinImageFilter.h. |
|
Definition at line 49 of file itkJoinImageFilter.h. |
|
Definition at line 50 of file itkJoinImageFilter.h. |
|
Capture the dimensions of the image. |
|
Capture the dimensions of the image. |
|
Capture the dimensions of the image. |
|
operator(). This is the "call" method of the functor. Definition at line 74 of file itkJoinImageFilter.h. |