8 #ifndef META_OCEAN_MEDIA_SPECIAL_IMAGE_PFM_H
9 #define META_OCEAN_MEDIA_SPECIAL_IMAGE_PFM_H
80 static bool readHeader(
const uint8_t*& data,
size_t& size,
FrameType& frameType,
bool& isLittleEndian);
90 static bool readValue(
const uint8_t*& data,
size_t& size, std::string& value);
This class implements Ocean's image class.
Definition: Frame.h:1792
Definition of a frame type composed by the frame dimension, pixel format and pixel origin.
Definition: Frame.h:30
PixelFormat
Definition of all pixel formats available in the Ocean framework.
Definition: Frame.h:183
static bool arePixelFormatsCompatible(const PixelFormat pixelFormatA, const PixelFormat pixelFormatB)
Returns whether two given pixel formats are compatible.
PixelOrigin
Defines different types of frame origin positions.
Definition: Frame.h:1046
@ ORIGIN_UPPER_LEFT
The first pixel lies in the upper left corner, the last pixel in the lower right corner.
Definition: Frame.h:1050
@ ORIGIN_LOWER_LEFT
The first pixel lies in the lower left corner, the last pixel in the upper right corner.
Definition: Frame.h:1052
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15