![]() |
Leptonica 1.85.0
Image processing and image analysis suite
|
#include <watershed.h>
Data Fields | |
| struct Pix * | pixs |
| struct Pix * | pixm |
| l_int32 | mindepth |
| struct Pix * | pixlab |
| struct Pix * | pixt |
| void ** | lines8 |
| void ** | linem1 |
| void ** | linelab32 |
| void ** | linet1 |
| struct Pixa * | pixad |
| struct Pta * | ptas |
| struct Numa * | nasi |
| struct Numa * | nash |
| struct Numa * | namh |
| struct Numa * | nalevels |
| l_int32 | nseeds |
| l_int32 | nother |
| l_int32 * | lut |
| struct Numa ** | links |
| l_int32 | arraysize |
| l_int32 | debug |
Simple data structure to hold watershed data.
Definition at line 38 of file watershed.h.
| l_int32 L_WShed::arraysize |
size of links array
Definition at line 59 of file watershed.h.
Referenced by mergeLookup(), wshedApply(), and wshedDestroy().
| l_int32 L_WShed::debug |
set to 1 for debug output
Definition at line 60 of file watershed.h.
Referenced by identifyWatershedBasin(), wshedApply(), and wshedCreate().
| void** L_WShed::linelab32 |
line ptrs for pixlab
Definition at line 47 of file watershed.h.
Referenced by identifyWatershedBasin(), wshedApply(), wshedCreate(), and wshedDestroy().
| void** L_WShed::linem1 |
line ptrs for pixm
Definition at line 46 of file watershed.h.
Referenced by wshedCreate(), and wshedDestroy().
| void** L_WShed::lines8 |
line ptrs for pixs
Definition at line 45 of file watershed.h.
Referenced by identifyWatershedBasin(), wshedApply(), wshedCreate(), and wshedDestroy().
| void** L_WShed::linet1 |
line ptrs for pixt
Definition at line 48 of file watershed.h.
Referenced by identifyWatershedBasin(), wshedCreate(), and wshedDestroy().
| struct Numa** L_WShed::links |
back-links into lut, for updates
Definition at line 58 of file watershed.h.
Referenced by mergeLookup(), wshedApply(), and wshedDestroy().
| l_int32* L_WShed::lut |
lut for pixel indices
Definition at line 57 of file watershed.h.
Referenced by identifyWatershedBasin(), mergeLookup(), wshedApply(), and wshedDestroy().
| l_int32 L_WShed::mindepth |
minimum depth allowed for a watershed
Definition at line 42 of file watershed.h.
Referenced by wshedApply(), and wshedCreate().
| struct Numa* L_WShed::nalevels |
result: numa of watershed levels
Definition at line 54 of file watershed.h.
Referenced by wshedApply(), wshedBasins(), wshedDestroy(), and wshedSaveBasin().
| struct Numa* L_WShed::namh |
numa of initial minima heights
Definition at line 53 of file watershed.h.
Referenced by wshedApply(), wshedDestroy(), and wshedGetHeight().
| struct Numa* L_WShed::nash |
numa of initial seed heights
Definition at line 52 of file watershed.h.
Referenced by wshedApply(), wshedDestroy(), and wshedGetHeight().
| struct Numa* L_WShed::nasi |
numa of seed indicators; 0 if completed
Definition at line 51 of file watershed.h.
Referenced by wshedApply(), and wshedDestroy().
| l_int32 L_WShed::nother |
number of minima different from seeds
Definition at line 56 of file watershed.h.
Referenced by wshedGetHeight().
| l_int32 L_WShed::nseeds |
| struct Pixa* L_WShed::pixad |
result: 1 bpp pixa of watersheds
Definition at line 49 of file watershed.h.
Referenced by wshedApply(), wshedBasins(), wshedDestroy(), and wshedSaveBasin().
| struct Pix* L_WShed::pixlab |
16 bpp label pix
Definition at line 43 of file watershed.h.
Referenced by wshedCreate(), and wshedDestroy().
| struct Pix* L_WShed::pixm |
clone of input 1 bpp seed (marker) pixm
Definition at line 41 of file watershed.h.
Referenced by wshedApply(), wshedCreate(), and wshedDestroy().
| struct Pix* L_WShed::pixs |
clone of input 8 bpp pixs
Definition at line 40 of file watershed.h.
Referenced by identifyWatershedBasin(), wshedApply(), wshedCreate(), wshedDestroy(), wshedRenderColors(), and wshedRenderFill().
| struct Pix* L_WShed::pixt |
scratch pix for computing wshed regions
Definition at line 44 of file watershed.h.
Referenced by identifyWatershedBasin(), wshedCreate(), and wshedDestroy().
| struct Pta* L_WShed::ptas |
pta of initial seed pixels
Definition at line 50 of file watershed.h.
Referenced by identifyWatershedBasin(), wshedApply(), and wshedDestroy().