15 #ifndef __IPSDKIMAGE_IMAGEUTILS_H__ 16 #define __IPSDKIMAGE_IMAGEUTILS_H__ 21 #include <IPSDKUtil/Tools/ProcessingResult.h> 78 const BaseImageGeometry& targetGeometry);
130 template <
typename T>
141 template <
typename T>
157 #endif // __IPSDKIMAGE_IMAGEUTILS_H__ IPSDKIMAGE_API ipReal64 getMaxValue(const eImageBufferType &imageBufferType)
retrieve maximum value for a given image buffer type
IPSDKIMAGE_API std::string getFormatedName(const BaseImageFragment &fragment, const eFormatedType &formatedType=eFormatedType::eFT_Full)
format image name associated to fragment for display
IPSDKIMAGE_API ipReal64 getMinValue(const eImageBufferType &imageBufferType)
retrieve minimum value for a given image buffer type
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
IPSDK_DECLARE_SERIAL_ENUM(IPSDKBaseData, eDiscreteOrientation2d)
serialization operators for eDiscreteOrientation2d enumerate
uint64_t ipUInt64
Base types definition.
Definition: BaseTypes.h:55
boost::shared_ptr< BaseImage > ImagePtr
Definition: ImageTypes.h:139
double ipReal64
Base types definition.
Definition: BaseTypes.h:57
eFormatedType
Type for generation of formated image name.
Definition: ImageTypes.h:124
IPSDKIMAGE_API const T * extractBufferFromConstImage(const BaseImage &inImg, const ipUInt64 sizeY, const ipUInt64 z=0, const ipUInt64 c=0, const ipUInt64 t=0)
function allowing to retrieve the buffer of a constant image plan
Macro allowing to declare serialization for a given enumerate.
IPSDKIMAGE_API T * extractBufferFromImage(BaseImage &inImg, const ipUInt64 sizeY, const ipUInt64 z=0, const ipUInt64 c=0, const ipUInt64 t=0)
function allowing to retrieve the buffer of an image plan
Definition of import/export macro for library.
eDataType
Enumerate describing a base type.
Definition: BaseTypes.h:77
IPSDKIMAGE_API eDataType toDataType(const eImageBufferType &imageBufferType)
recovery of underlying data type from image buffer type
Predefined types for image geometry management.
#define IPSDKIMAGE_API
Import/Export macro for library IPSDKImage.
Definition: IPSDKImageExports.h:27
Full image formated name (default : Name {Guid})
Definition: ImageTypes.h:126
IPSDKIMAGE_API BoolResult createImage(const BaseImage &originalImage, ImagePtr &pOutImg)
function allowing to create an image from an existing other image
ProcessingResult< bool > BoolResult
typedef for boolean results associated to a string description
Definition: ProcessingResultTypes.h:29
IPSDKIMAGE_API BoolResult canBeReInterpreted(const BaseImage &originalImage, const BaseImageGeometry &targetGeometry)
fonction allowing to check whether data of an image can be re interpreted with a different geometry...
Predefined type for image management.
eImageAccessMode
Image access mode.
Definition: ImageTypes.h:110
eImageBufferType
types associated to image buffers
Definition: ImageTypes.h:78
IPSDKIMAGE_API ipUInt32 getImageBufferBaseSize(const eImageBufferType &imageBufferType)
recovery of image buffer size from its type (in octets)
uint32_t ipUInt32
Base types definition.
Definition: BaseTypes.h:53