ImageDescriptor Struct Reference

#include <C:/Users/figor/programming/project/aspose.ocr-for-cpp/doc_gen/aspose_ocr.h>

Public Attributes

const unsigned char *** image_from_raw_bytes = NULL
 Input raw data in special format image_from_raw_bytes[height][width][channels_size] Input raw data in special format may represent: 1) RGB color model (channels_size = 3):
 
const char * uri = NULL
 Null terminated c string, that describe a path to file in a files system or .
 
size_t height = 0
 First dimension of image_from_raw_bytes.
 
size_t width = 0
 Second dimension of image_from_raw_bytes.
 
size_t channels_size = 0
 Third dimension of image_from_raw_bytes.
 

Member Data Documentation

◆ channels_size

size_t ImageDescriptor::channels_size = 0

Third dimension of image_from_raw_bytes.

◆ height

size_t ImageDescriptor::height = 0

First dimension of image_from_raw_bytes.

◆ image_from_raw_bytes

const unsigned char*** ImageDescriptor::image_from_raw_bytes = NULL

Input raw data in special format image_from_raw_bytes[height][width][channels_size] Input raw data in special format may represent: 1) RGB color model (channels_size = 3):

  • image_from_raw_bytes[height][width][0] = RED
  • image_from_raw_bytes[height][width][1] = GREEN
  • image_from_raw_bytes[height[width][2] = BLUE. 2) Grayscale (channels_size = 1):
  • image_from_raw_bytes[height][width][0] = grayscale value

◆ uri

const char* ImageDescriptor::uri = NULL

Null terminated c string, that describe a path to file in a files system or .

◆ width

size_t ImageDescriptor::width = 0

Second dimension of image_from_raw_bytes.