Leptonica  1.82.0
Image processing and image analysis suite
FillSeg Struct Reference

Data Fields

l_int32 xleft
 
l_int32 xright
 
l_int32 y
 
l_int32 dy
 

Detailed Description

The struct FillSeg is used by the Heckbert seedfill algorithm to hold information about image segments that are waiting to be investigated. We use two Stacks, one to hold the FillSegs in use, and an auxiliary Stack as a reservoir to hold FillSegs for re-use.

Definition at line 103 of file conncomp.c.

Field Documentation

◆ dy

l_int32 FillSeg::dy

parent segment direction: 1 above, -1 below)

Definition at line 108 of file conncomp.c.

Referenced by pixSeedfill4(), pixSeedfill4BB(), pixSeedfill8(), pixSeedfill8BB(), popFillseg(), pushFillseg(), and pushFillsegBB().

◆ xleft

l_int32 FillSeg::xleft

left edge of run

Definition at line 105 of file conncomp.c.

Referenced by popFillseg(), pushFillseg(), and pushFillsegBB().

◆ xright

l_int32 FillSeg::xright

right edge of run

Definition at line 106 of file conncomp.c.

Referenced by popFillseg(), pushFillseg(), and pushFillsegBB().

◆ y

l_int32 FillSeg::y

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