#include <itkSupportInputImageTypes.h>
Instantiatiate a Pipeline functor over multiple pixel types and dimensions and match to the input image type.
Instantiate the PipelineFunctor (function object) over multiple pixel types and image dimensions. If the input image matches these pixel types or dimensions, use the compile-time optimized pipeline for that image type. Otherwise, exit the pipeline with an error identifying the unsupported image type.
Example usage:
[...]
Definition at line 89 of file itkSupportInputImageTypes.h.
Static Public Member Functions | |
| template<unsigned int... VDimensions> | |
| static int | Dimensions (const std::string &inputImageOptionName, Pipeline &pipeline) |
Static Private Member Functions | |
| template<unsigned int VDimension, unsigned int... VDimensions> | |
| static int | IterateDimensions (Pipeline &pipeline, const ImageTypeJSON &imageType, bool passThrough=false) |
| template<unsigned int VDimension, typename TPixel, typename... TPixelsRest> | |
| static int | IteratePixelTypes (Pipeline &pipeline, const ImageTypeJSON &imageType, bool passThrough=false) |
|
inlinestatic |
Definition at line 94 of file itkSupportInputImageTypes.h.
References itk::wasm::Pipeline::get_argc(), itk::wasm::Pipeline::get_argv(), IterateDimensions(), and ITK_WASM_PRE_PARSE.
|
inlinestaticprivate |
Definition at line 151 of file itkSupportInputImageTypes.h.
References itk::ImageTypeJSON::dimension, itk::wasm::Pipeline::exit(), IterateDimensions(), and IteratePixelTypes().
Referenced by Dimensions(), and IterateDimensions().
|
inlinestaticprivate |
Definition at line 121 of file itkSupportInputImageTypes.h.
References itk::ImageTypeJSON::components, itk::ImageTypeJSON::componentType, itk::wasm::Pipeline::exit(), IteratePixelTypes(), itk::wasm::MapComponentType< TComponent >::JSONComponentEnum, itk::wasm::MapPixelType< TPixel >::JSONPixelEnum, itk::ImageTypeJSON::pixelType, itk::VariableLengthVector, and itk::VariableSizeMatrix.
Referenced by IterateDimensions(), and IteratePixelTypes().