10using RawImageData = Array2D<unsigned char>;
38 MMIND_API_EXPORT
size_t width()
const;
43 MMIND_API_EXPORT
size_t height()
const;
61 std::shared_ptr<RawImageImpl> _impl;
62 friend class ProfilerImpl;
Represents a 2D container of data.
MMIND_API_EXPORT RawImage(const RawImage &image)
Copy constructor.
MMIND_API_EXPORT ~RawImage()
Destructor.
MMIND_API_EXPORT bool isEmpty() const
Checks if the RawImage object has no elements.
MMIND_API_EXPORT RawImageData getData() const
Gets the raw image data.
MMIND_API_EXPORT size_t height() const
Returns the height of the RawImage object (number of pixel rows in the raw image).
MMIND_API_EXPORT size_t width() const
Returns the width of the RawImage object (number of pixel columns in the raw image).
MMIND_API_EXPORT void clear()
Clears the data in the RawImage object.
MMIND_API_EXPORT RawImage()
Constructor.