@Name(value="CCBord")
public static class lept.CCBORD
extends org.bytedeco.javacpp.Pointer
CCBord contains:
(1) a minimally-clipped bitmap of the component (pix),
(2) a boxa consisting of:
for the primary component:
(xul, yul) pixel location in global coords
(w, h) of the bitmap
for the hole components:
(x, y) in relative coordinates in primary component
(w, h) of the hole border (which is 2 pixels
larger in each direction than the hole itself)
(3) a pta ('start') of the initial border pixel location for each
closed curve, all in relative coordinates of the primary
component. This is given for the primary component,
followed by the hole components, if any.
(4) a refcount of the ccbord; used internally when a ccbord
is accessed from a ccborda (array of ccbord)
(5) a ptaa for the chain code for the border in relative
coordinates, where the first pta is the exterior border
and all other pta are for interior borders (holes)
(6) a ptaa for the global pixel loc rendition of the border,
where the first pta is the exterior border and all other
pta are for interior borders (holes).
This is derived from the local or step chain code.
(7) a numaa for the chain code for the border as orientation
directions between successive border pixels, where
the first numa is the exterior border and all other
numa are for interior borders (holes). This is derived
from the local chain code. The 8 directions are 0 - 7.
(8) a pta for a single chain for each c.c., comprised of outer
and hole borders, plus cut paths between them, all in
local coords.
(9) a pta for a single chain for each c.c., comprised of outer
and hole borders, plus cut paths between them, all in
global coords.
| Constructor and Description |
|---|
CCBORD()
Default native constructor.
|
CCBORD(long size)
Native array allocator.
|
CCBORD(org.bytedeco.javacpp.Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
lept.BOXA |
boxa()
regions of each closed curve
|
lept.CCBORD |
boxa(lept.BOXA boxa) |
lept.PTAA |
global()
ptaa of chain pixels (global)
|
lept.CCBORD |
global(lept.PTAA global) |
lept.PTAA |
local()
ptaa of chain pixels (local)
|
lept.CCBORD |
local(lept.PTAA local) |
lept.PIX |
pix()
component bitmap (min size)
|
lept.CCBORD |
pix(lept.PIX pix) |
lept.CCBORD |
position(long position) |
int |
refcount()
number of handles; start at 1
|
lept.CCBORD |
refcount(int refcount) |
lept.PTA |
spglobal()
pta of single chain (global)
|
lept.CCBORD |
spglobal(lept.PTA spglobal) |
lept.PTA |
splocal()
pta of single chain (local)
|
lept.CCBORD |
splocal(lept.PTA splocal) |
lept.PTA |
start()
initial border pixel locations
|
lept.CCBORD |
start(lept.PTA start) |
lept.NUMAA |
step()
numaa of chain code (step dir)
|
lept.CCBORD |
step(lept.NUMAA step) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic CCBORD()
public CCBORD(long size)
Pointer.position(long).public CCBORD(org.bytedeco.javacpp.Pointer p)
Pointer.Pointer(Pointer).public lept.CCBORD position(long position)
position in class org.bytedeco.javacpp.Pointerpublic lept.PIX pix()
public lept.CCBORD pix(lept.PIX pix)
public lept.BOXA boxa()
public lept.CCBORD boxa(lept.BOXA boxa)
public lept.PTA start()
public lept.CCBORD start(lept.PTA start)
@Cast(value="l_int32") public int refcount()
public lept.CCBORD refcount(int refcount)
public lept.PTAA local()
public lept.CCBORD local(lept.PTAA local)
public lept.PTAA global()
public lept.CCBORD global(lept.PTAA global)
public lept.NUMAA step()
public lept.CCBORD step(lept.NUMAA step)
public lept.PTA splocal()
public lept.CCBORD splocal(lept.PTA splocal)
public lept.PTA spglobal()
public lept.CCBORD spglobal(lept.PTA spglobal)
Copyright © 2018. All rights reserved.