![]() |
Leptonica 1.85.0
Image processing and image analysis suite
|
#include <pix_internal.h>
Data Fields | |
| l_uint32 | w |
| l_uint32 | h |
| l_uint32 | d |
| l_uint32 | spp |
| l_uint32 | wpl |
| l_atomic | refcount |
| l_int32 | xres |
| l_int32 | yres |
| l_int32 | informat |
| l_int32 | special |
| char * | text |
| struct PixColormap * | colormap |
| l_uint32 * | data |
Basic Pix
Definition at line 180 of file pix_internal.h.
| struct PixColormap* Pix::colormap |
colormap (may be null)
Definition at line 195 of file pix_internal.h.
Referenced by pixCopyColormap(), pixDestroyColormap(), pixPrintStreamInfo(), pixSetColormap(), and pixTransferAllData().
| l_uint32 Pix::d |
depth in bits (bpp)
Definition at line 184 of file pix_internal.h.
Referenced by pixGetDimensions().
| l_uint32* Pix::data |
the image data
Definition at line 196 of file pix_internal.h.
Referenced by pixClearAll(), pixCopy(), pixCreate(), pixCreateTemplate(), pixFreeAndSetData(), pixFreeData(), pixGetData(), pixPrintStreamInfo(), pixSetAll(), pixSetData(), and pixTransferAllData().
| l_uint32 Pix::h |
height in pixels
Definition at line 183 of file pix_internal.h.
Referenced by pixClearAll(), pixCreate(), pixCreateTemplate(), pixGetDimensions(), and pixSetAll().
| l_int32 Pix::informat |
input file format, IFF_*
Definition at line 192 of file pix_internal.h.
Referenced by pixCreateHeader().
| l_atomic Pix::refcount |
reference count (1 if no clones)
Definition at line 187 of file pix_internal.h.
Referenced by pixClone(), pixCreateHeader(), pixExtractData(), pixFree(), pixPrintStreamInfo(), and pixTransferAllData().
| l_int32 Pix::special |
special instructions for I/O, etc
Definition at line 193 of file pix_internal.h.
Referenced by pixConnCompIncrAdd(), pixWriteMemPng(), pixWriteStreamJpeg(), and pixWriteStreamPng().
| l_uint32 Pix::spp |
number of samples per pixel
Definition at line 185 of file pix_internal.h.
| char* Pix::text |
text string associated with pix
Definition at line 194 of file pix_internal.h.
Referenced by pixAddText(), pixGetText(), pixPrintStreamInfo(), pixReadMemPng(), pixReadStreamPng(), pixSetText(), pixSetTextCompNew(), and recogProcessLabeled().
| l_uint32 Pix::w |
| l_uint32 Pix::wpl |
32-bit words/line
Definition at line 186 of file pix_internal.h.
Referenced by pixClearAll(), pixCreate(), pixCreateTemplate(), and pixSetAll().
| l_int32 Pix::xres |
image res (ppi) in x direction
(use 0 if unknown)
Definition at line 188 of file pix_internal.h.
Referenced by pixaWriteStream(), pixGetResolution(), and pixSetResolution().
| l_int32 Pix::yres |
image res (ppi) in y direction
(use 0 if unknown)
Definition at line 190 of file pix_internal.h.
Referenced by pixaWriteStream(), pixGetResolution(), and pixSetResolution().