ANIMA
4.0
|
#include <itkImageIOBase.h>
#include <itkMacro.h>
#include <itkImage.h>
#include <itkVectorImage.h>
#include <itkVector.h>
Go to the source code of this file.
Macros | |
#define | ANIMA_CHECK_IF_COMPONENTS_ARE_VECTORS(imageIO, ComponentType, Dimension, function, ...) |
#define | ANIMA_RETRIEVE_COMPONENT_TYPE(imageIO, function, ...) |
#define | ANIMA_RETRIEVE_NUMBER_OF_COMPONENTS(imageIO, ComponentType, dimension, function, ...) |
#define | ANIMA_RETRIEVE_NUMBER_OF_DIMENSIONS(imageIO, ComponentType, function, ...) |
#define ANIMA_CHECK_IF_COMPONENTS_ARE_VECTORS | ( | imageIO, | |
ComponentType, | |||
Dimension, | |||
function, | |||
... | |||
) |
Check if one image is a Scalar image or not from an itk::ImageIOBase, then call a given function templated on either a itk::Image or itk::VectorImage
imageIO -> An itk::ImageIOBase setted for your image file. ComponentType -> The type used to templatized the function to call. Dimension -> The number of dimension on used to templatized the function yo call. function -> The name of the function to call. function<itk::Image<ComponentType, Dimension> >(args, args...) or function<itk::VectorImage<ComponentType, Dimension> >(args, args...) args... -> A list of arguments to pass to the function
Definition at line 88 of file animaRetrieveImageTypeMacros.h.
Referenced by checkIfComponentsAreVectors().
#define ANIMA_RETRIEVE_COMPONENT_TYPE | ( | imageIO, | |
function, | |||
... | |||
) |
Retrieve the type of the components of one image from an itk::ImageIOBase, then call a given function templated on that type.
imageIO -> An itk::ImageIOBase setted for your image file. function -> The name of the function to call: function<ComponentType>(args, args...) args... -> A list of arguments to pass to the function.
Definition at line 16 of file animaRetrieveImageTypeMacros.h.
Referenced by main().
#define ANIMA_RETRIEVE_NUMBER_OF_COMPONENTS | ( | imageIO, | |
ComponentType, | |||
dimension, | |||
function, | |||
... | |||
) |
Retrieve the number of components of one image from an itk::ImageIOBase, then call a given function templated on a vector image of the right size.
imageIO -> An itk::ImageIOBase setted for your image file. ComponentType -> The type used to templatized the function to call. Dimension -> The number of dimension on used to templatized the function yo call. function -> The name of the function to call. function<itk::Image<ik::Vector<ComponentType, ComponentSize>, Dimension> >(args, args...) args... -> A list of arguments to pass to the function
Definition at line 121 of file animaRetrieveImageTypeMacros.h.
#define ANIMA_RETRIEVE_NUMBER_OF_DIMENSIONS | ( | imageIO, | |
ComponentType, | |||
function, | |||
... | |||
) |
Retrieve the number dimension of one image from an itk::ImageIOBase, then call a given function templated on that a Component type and the found number of dimension.
imageIO -> An itk::ImageIOBase setted for your image file. ComponentType -> The type used to templatized the function to call. function -> The name of the function to call. function<ComponentType Dimensions>(args, args...) args... -> A list of arguments to pass to the function.
Definition at line 60 of file animaRetrieveImageTypeMacros.h.
Referenced by retrieveNbDimensions().