#include <itkJoinImageFilter.h>
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
Definition at line 205 of file itkJoinImageFilter.h.
Inheritance diagram for itk::JoinImageFilter< TInputImage1, TInputImage2 >:
Collaboration diagram for itk::JoinImageFilter< TInputImage1, TInputImage2 >:| using itk::JoinImageFilter< TInputImage1, TInputImage2 >::ConstPointer = SmartPointer<const Self> |
Definition at line 228 of file itkJoinImageFilter.h.
| using itk::JoinImageFilter< TInputImage1, TInputImage2 >::FunctorType = typename Functor::MakeJoin<TInputImage1, TInputImage2>::FunctorType |
Output type alias.
Definition at line 220 of file itkJoinImageFilter.h.
| using itk::JoinImageFilter< TInputImage1, TInputImage2 >::OutputImagePixelType = typename FunctorType::JoinType |
Definition at line 222 of file itkJoinImageFilter.h.
| using itk::JoinImageFilter< TInputImage1, TInputImage2 >::OutputImageType = typename Functor::MakeJoin<TInputImage1, TInputImage2>::ImageType |
Definition at line 221 of file itkJoinImageFilter.h.
| using itk::JoinImageFilter< TInputImage1, TInputImage2 >::Pointer = SmartPointer<Self> |
Definition at line 227 of file itkJoinImageFilter.h.
| using itk::JoinImageFilter< TInputImage1, TInputImage2 >::Self = JoinImageFilter |
Standard class type aliases.
Definition at line 217 of file itkJoinImageFilter.h.
| using itk::JoinImageFilter< TInputImage1, TInputImage2 >::Superclass = BinaryGeneratorImageFilter<TInputImage1, TInputImage2, OutputImageType> |
Standard class type aliases.
Definition at line 225 of file itkJoinImageFilter.h.
|
inlineprotected |
Definition at line 243 of file itkJoinImageFilter.h.
References itk::BinaryGeneratorImageFilter< TInputImage1, TInputImage2, OutputImageType >::SetFunctor().
Referenced by GetNameOfClass().
|
overrideprotecteddefault |
|
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::BinaryGeneratorImageFilter< TInputImage1, TInputImage2, Functor::MakeJoin< TInputImage1, TInputImage2 >::ImageType >.
|
virtual |
Reimplemented from itk::BinaryGeneratorImageFilter< TInputImage1, TInputImage2, Functor::MakeJoin< TInputImage1, TInputImage2 >::ImageType >.
References JoinImageFilter().
|
static |
Method for creation through the object factory.
|
staticconstexpr |
Capture the output image dimension.
Definition at line 214 of file itkJoinImageFilter.h.