Go to the source code of this file.
Data Structures | |
class | elastix::ElastixTypedef< VIndex > |
Namespaces | |
namespace | elastix |
Macros | |
#define | elxSupportedImageTypeMacro(_fPixelType, _fDim, _mPixelType, _mDim, _VIndex) |
#define elxSupportedImageTypeMacro | ( | _fPixelType, | |
_fDim, | |||
_mPixelType, | |||
_mDim, | |||
_VIndex ) |
Macro for installing support for new ImageTypes. Used in elxSupportedImageTypes.cxx .
Example of usage:
namespace elastix { elxSupportedImageTypeMacro(unsigned short, 2, float, 3, 1); elxSupportedImageTypeMacro(unsigned short, 3, float, 3, 2); etc. } //end namespace elastix
The first line adds support for the following combination of ImageTypes: fixedImage: 2D unsigned short movingImage 3D float The Index (last argument) of this combination of ImageTypes is 1.
The Index should not be 0. This value is reserved for errormessages. Besides, duplicate indices are not allowed.
IMPORTANT: the macro must be invoked in namespace elastix!
Details: the macro adds a class template specialization for the class ElastixTypedef<VIndex>.
Definition at line 77 of file elxPrepareImageTypeSupport.h.
Generated on 2024-07-17 for elastix by 1.11.0 (9b424b03c9833626cd435af22a444888fbbb192d) |