ITK
4.4.0
Insight Segmentation and Registration Toolkit
|
#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 209 of file itkJoinImageFilter.h.
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, Functor::MakeJoin< TInputImage1, TInputImage2 >::ImageType, Functor::MakeJoin< TInputImage1, TInputImage2 >::FunctorType > | |
static Pointer | New () |
Private Member Functions | |
JoinImageFilter (const Self &) | |
void | operator= (const Self &) |
Additional Inherited Members | |
Protected Types inherited from itk::ImageToImageFilter< TInputImage1, Functor::MakeJoin< TInputImage1, TInputImage2 >::ImageType > | |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension) > | InputToOutputRegionCopierType |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension) > | OutputToInputRegionCopierType |
Static Protected Member Functions inherited from itk::ImageSource< Functor::MakeJoin< TInputImage1, TInputImage2 >::ImageType > | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
typedef SmartPointer< const Self > itk::JoinImageFilter< TInputImage1, TInputImage2 >::ConstPointer |
Definition at line 239 of file itkJoinImageFilter.h.
typedef Functor::MakeJoin< TInputImage1, TInputImage2 >::FunctorType itk::JoinImageFilter< TInputImage1, TInputImage2 >::FunctorType |
Output typedefs.
Definition at line 229 of file itkJoinImageFilter.h.
typedef FunctorType::JoinType itk::JoinImageFilter< TInputImage1, TInputImage2 >::OutputImagePixelType |
Definition at line 232 of file itkJoinImageFilter.h.
typedef Functor::MakeJoin< TInputImage1, TInputImage2 >::ImageType itk::JoinImageFilter< TInputImage1, TInputImage2 >::OutputImageType |
Definition at line 231 of file itkJoinImageFilter.h.
typedef SmartPointer< Self > itk::JoinImageFilter< TInputImage1, TInputImage2 >::Pointer |
Definition at line 238 of file itkJoinImageFilter.h.
typedef JoinImageFilter itk::JoinImageFilter< TInputImage1, TInputImage2 >::Self |
Standard class typedefs.
Definition at line 225 of file itkJoinImageFilter.h.
typedef BinaryFunctorImageFilter< TInputImage1, TInputImage2, OutputImageType, FunctorType > itk::JoinImageFilter< TInputImage1, TInputImage2 >::Superclass |
Standard class typedefs.
Definition at line 236 of file itkJoinImageFilter.h.
|
inlineprotected |
End concept checking
Definition at line 261 of file itkJoinImageFilter.h.
|
inlineprotectedvirtual |
Definition at line 262 of file itkJoinImageFilter.h.
|
private |
|
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.
|
virtual |
Run-time type information (and related methods).
|
static |
Method for creation through the object factory.
|
private |
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 > )
itk::JoinImageFilter< TInputImage1, TInputImage2 >::typedef | ( | Concept::HasPixelTraits< typename TInputImage2::PixelType > | ) |
This class requires Input2HasPixelTraitsCheck in the form of ( Concept::HasPixelTraits< typename TInputImage2::PixelType > )
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 > )
|
static |
Capture the output image dimension.
Definition at line 222 of file itkJoinImageFilter.h.