Leptonica  1.83.1
Image processing and image analysis suite
Pix Struct Reference

#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 PixColormapcolormap
 
l_uint32 * data
 

Detailed Description

Basic Pix

Definition at line 180 of file pix_internal.h.

Field Documentation

◆ colormap

struct PixColormap* Pix::colormap

colormap (may be null)

Definition at line 195 of file pix_internal.h.

Referenced by pixDestroyColormap(), pixSetColormap(), and pixTransferAllData().

◆ d

l_uint32 Pix::d

depth in bits (bpp)

Definition at line 184 of file pix_internal.h.

Referenced by pixGetDimensions().

◆ data

l_uint32* Pix::data

◆ h

l_uint32 Pix::h

height in pixels

Definition at line 183 of file pix_internal.h.

Referenced by pixClearAll(), pixCreate(), pixCreateTemplate(), and pixGetDimensions().

◆ informat

l_int32 Pix::informat

input file format, IFF_*

Definition at line 192 of file pix_internal.h.

◆ refcount

l_atomic Pix::refcount

reference count (1 if no clones)

Definition at line 187 of file pix_internal.h.

Referenced by pixClone(), pixExtractData(), pixFree(), and pixTransferAllData().

◆ special

l_int32 Pix::special

special instructions for I/O, etc

Definition at line 193 of file pix_internal.h.

◆ spp

l_uint32 Pix::spp

number of samples per pixel

Definition at line 185 of file pix_internal.h.

◆ text

char* Pix::text

text string associated with pix

Definition at line 194 of file pix_internal.h.

Referenced by pixAddText(), pixGetText(), pixSetText(), pixSetTextCompNew(), and recogProcessLabeled().

◆ w

l_uint32 Pix::w

width in pixels

Definition at line 182 of file pix_internal.h.

Referenced by pixGetDimensions().

◆ wpl

l_uint32 Pix::wpl

32-bit words/line

Definition at line 186 of file pix_internal.h.

Referenced by pixClearAll(), pixCreate(), and pixCreateTemplate().

◆ xres

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().

◆ yres

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().


The documentation for this struct was generated from the following file: