Leptonica 1.85.0
Image processing and image analysis suite
Loading...
Searching...
No Matches
L_Dewarp Struct Reference

#include <dewarp.h>

Data Fields

struct L_Dewarpadewa
 
struct Pixpixs
 
struct FPixsampvdispar
 
struct FPixsamphdispar
 
struct FPixsampydispar
 
struct FPixfullvdispar
 
struct FPixfullhdispar
 
struct FPixfullydispar
 
struct Numanamidys
 
struct Numanacurves
 
l_int32 w
 
l_int32 h
 
l_int32 pageno
 
l_int32 sampling
 
l_int32 redfactor
 
l_int32 minlines
 
l_int32 nlines
 
l_int32 mincurv
 
l_int32 maxcurv
 
l_int32 leftslope
 
l_int32 rightslope
 
l_int32 leftcurv
 
l_int32 rightcurv
 
l_int32 nx
 
l_int32 ny
 
l_int32 hasref
 
l_int32 refpage
 
l_int32 vsuccess
 
l_int32 hsuccess
 
l_int32 ysuccess
 
l_int32 vvalid
 
l_int32 hvalid
 
l_int32 skip_horiz
 
l_int32 debug
 

Detailed Description

Data structure for a single dewarp

Definition at line 151 of file dewarp.h.

Field Documentation

◆ debug

l_int32 L_Dewarp::debug

◆ dewa

struct L_Dewarpa* L_Dewarp::dewa

ptr to parent (not owned)

Definition at line 153 of file dewarp.h.

Referenced by dewarpaInsertDewarp(), dewarpFindHorizDisparity(), and dewarpMinimize().

◆ fullhdispar

◆ fullvdispar

◆ fullydispar

struct FPix* L_Dewarp::fullydispar

full slope h-disparity array

Definition at line 160 of file dewarp.h.

Referenced by dewarpDestroy().

◆ h

l_int32 L_Dewarp::h

◆ hasref

◆ hsuccess

◆ hvalid

l_int32 L_Dewarp::hvalid

◆ leftcurv

l_int32 L_Dewarp::leftcurv

◆ leftslope

l_int32 L_Dewarp::leftslope

◆ maxcurv

l_int32 L_Dewarp::maxcurv

◆ mincurv

l_int32 L_Dewarp::mincurv

◆ minlines

l_int32 L_Dewarp::minlines

min number of long lines required

Definition at line 168 of file dewarp.h.

Referenced by dewarpaInsertDewarp(), dewarpBuildPageModel(), dewarpDebug(), dewarpReadStream(), and dewarpWriteStream().

◆ nacurves

struct Numa* L_Dewarp::nacurves

sorted curvature of each line

Definition at line 162 of file dewarp.h.

Referenced by dewarpDestroy(), dewarpFindVertDisparity(), and dewarpMinimize().

◆ namidys

struct Numa* L_Dewarp::namidys

sorted y val of midpoint each line

Definition at line 161 of file dewarp.h.

Referenced by dewarpDestroy(), dewarpFindVertDisparity(), and dewarpMinimize().

◆ nlines

l_int32 L_Dewarp::nlines

number of long lines found

Definition at line 169 of file dewarp.h.

Referenced by dewarpaInfo(), dewarpDebug(), dewarpFindVertDisparity(), dewarpReadStream(), and dewarpWriteStream().

◆ nx

◆ ny

◆ pageno

◆ pixs

◆ redfactor

l_int32 L_Dewarp::redfactor

reduction factor of pixs: 1 or 2

Definition at line 167 of file dewarp.h.

Referenced by dewarpaInsertDewarp(), dewarpDebug(), dewarpPopulateFullRes(), dewarpReadStream(), and dewarpWriteStream().

◆ refpage

l_int32 L_Dewarp::refpage

page with disparity model to use

Definition at line 179 of file dewarp.h.

Referenced by dewarpaApplyInit(), dewarpaInfo(), dewarpCreateRef(), dewarpDebug(), dewarpMinimize(), dewarpReadStream(), dewarpShowResults(), and dewarpWriteStream().

◆ rightcurv

l_int32 L_Dewarp::rightcurv

◆ rightslope

l_int32 L_Dewarp::rightslope

◆ samphdispar

struct FPix* L_Dewarp::samphdispar

◆ sampling

l_int32 L_Dewarp::sampling

◆ sampvdispar

struct FPix* L_Dewarp::sampvdispar

◆ sampydispar

struct FPix* L_Dewarp::sampydispar

sampled slope h-disparity array

Definition at line 157 of file dewarp.h.

Referenced by dewarpDestroy(), and dewarpFindHorizSlopeDisparity().

◆ skip_horiz

l_int32 L_Dewarp::skip_horiz

if 1, skip horiz disparity
correction

Definition at line 185 of file dewarp.h.

Referenced by dewarpaApplyDisparity(), dewarpaApplyDisparityBoxa(), dewarpaApplyInit(), and dewarpPopulateFullRes().

◆ vsuccess

◆ vvalid

l_int32 L_Dewarp::vvalid

sets to 1 if valid vert disparity

Definition at line 183 of file dewarp.h.

Referenced by dewarpaApplyInit(), dewarpaInsertRefModels(), dewarpaModelStats(), dewarpaTestForValidModel(), and dewarpFindHorizSlopeDisparity().

◆ w

l_int32 L_Dewarp::w

◆ ysuccess

l_int32 L_Dewarp::ysuccess

sets to 1 if slope disparity builds

Definition at line 182 of file dewarp.h.

Referenced by dewarpFindHorizSlopeDisparity().


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