Leptonica  1.82.0
Image processing and image analysis suite
JbData Struct Reference

#include <jbclass.h>

Data Fields

struct Pixpix
 
l_int32 npages
 
l_int32 w
 
l_int32 h
 
l_int32 nclass
 
l_int32 latticew
 
l_int32 latticeh
 
struct Numanaclass
 
struct Numanapage
 
struct Ptaptaul
 

Detailed Description

The JbData struct holds all the data required for
the compressed jbig-type representation of a set of images.
The data can be written to file, read back, and used
to regenerate an approximate version of the original,
which differs in two ways from the original:
  (1) It uses a template image for each c.c. instead of the
      original instance, for each occurrence on each page.
  (2) It discards components with either a height or width larger
      than the maximuma, given here by the lattice dimensions
      used for storing the templates.

Definition at line 104 of file jbclass.h.

Field Documentation

◆ h

l_int32 JbData::h

max height of original page images

Definition at line 109 of file jbclass.h.

Referenced by readHeaderMemJp2k().

◆ latticeh

l_int32 JbData::latticeh

lattice height for template composite

Definition at line 112 of file jbclass.h.

◆ latticew

l_int32 JbData::latticew

lattice width for template composite

Definition at line 111 of file jbclass.h.

◆ naclass

struct Numa* JbData::naclass

array of class ids for each component

Definition at line 113 of file jbclass.h.

◆ napage

struct Numa* JbData::napage

array of page nums for each component

Definition at line 114 of file jbclass.h.

◆ nclass

l_int32 JbData::nclass

number of classes

Definition at line 110 of file jbclass.h.

◆ npages

l_int32 JbData::npages

number of pages

Definition at line 107 of file jbclass.h.

◆ pix

struct Pix* JbData::pix

template composite for all classes

Definition at line 106 of file jbclass.h.

◆ ptaul

struct Pta* JbData::ptaul

array of UL corners at which the template is to be placed for each component

Definition at line 115 of file jbclass.h.

◆ w

l_int32 JbData::w

max width of original page images

Definition at line 108 of file jbclass.h.

Referenced by readHeaderMemJp2k().


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