|
std::size_t | channels () const noexcept |
| Returns the number of color channels in the image. More...
|
|
const std::uint8_t * | data () const noexcept |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
std::uint8_t * | data () noexcept |
| Returns a pointer to the raw pixel data in HWC layout. More...
|
|
std::size_t | elements () const noexcept |
| Returns the number of data elements in the image. More...
|
|
NeuralResult | fromFill (std::size_t height, std::size_t width, std::size_t channels, std::uint8_t fillValue) noexcept |
| Loads an image by tiling a fill value. More...
|
|
NeuralResult | fromRandomValues (std::size_t height, std::size_t width, std::size_t channels) noexcept |
| Loads an image by generating normally distributed noise in the range [0, 255]. More...
|
|
std::size_t | height () const noexcept |
| Returns the height of the image in pixels. More...
|
|
NeuralResult | loadFromDescriptors (const std::vector< ImageDescriptor > &descriptors) noexcept |
| Loads an image from a chained set of descriptors. More...
|
|
NeuralResult | loadFromFile (const std::string &filename) noexcept |
| Loads an image from a single bitmap file. More...
|
|
NeuralResult | resize (std::size_t height, std::size_t width, std::size_t channels) noexcept |
| Clears the image and reserves storage. More...
|
|
NeuralResult | saveToFile (const std::string &filename) noexcept |
| Saves the resulting image as a file. More...
|
|
std::size_t | width () const noexcept |
| Returns the width of the image in pixels. More...
|
|
IRefObject::RefCount | addRef () const noexcept |
| Increment the object's reference count. More...
|
|
const void * | queryInterface (IRefObject::TypeId interfaceId) const noexcept |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
void * | queryInterface (IRefObject::TypeId interfaceId) noexcept |
| Retrieves a new object interface pointer. More...
|
|
| RefObjectBase () |
| Default constructor. Logs object creation.
|
|
IRefObject::RefCount | release () const noexcept |
| Decrements the object's reference count and destroys the object if the reference count reaches zero. More...
|
|
Standard implementation for IFileImage.