public interface ILeptonica
| Modifier and Type | Interface | Description |
|---|---|---|
static interface |
ILeptonica.alloc_fn |
|
static interface |
ILeptonica.dealloc_fn |
|
static class |
ILeptonica.FILE |
|
static interface |
ILeptonica.GPLOT_OUTPUT |
enum values
|
static interface |
ILeptonica.GPLOT_SCALING |
enum values
|
static interface |
ILeptonica.GPLOT_STYLE |
gplot.h
Data structures and parameters for generating gnuplot files We used to support X11 output, but recent versions of gnuplot do not support the X11 terminal. |
static interface |
ILeptonica.leptSetStderrHandler_handler_callback |
| Modifier and Type | Field | Description |
|---|---|---|
static int |
ADDED_BORDER |
-------------------------------------------------------------------------*
Standard size of border added around images for special processing * ------------------------------------------------------------------------- pixels, not bits |
static int |
ASYMMETRIC_MORPH_BC |
|
static int |
BMP_ID |
BM - for bitmaps
|
static int |
BOXA_VERSION_NUMBER |
|
static int |
BOXAA_VERSION_NUMBER |
|
static int |
CCB_GLOBAL_COORDS |
|
static int |
CCB_LOCAL_COORDS |
|
static int |
CCB_SAVE_ALL_PTS |
|
static int |
CCB_SAVE_TURNING_PTS |
|
static int |
COLOR_BLUE |
blue color index in RGBA_QUAD
|
static int |
COLOR_GREEN |
green color index in RGBA_QUAD
|
static int |
COLOR_RED |
red color index in RGBA_QUAD
|
static int |
DEFAULT_CLIP_LOWER_1 |
dist to black with no prop; 1 bpp
|
static int |
DEFAULT_CLIP_LOWER_2 |
dist to black with no prop; 2 bpp
|
static int |
DEFAULT_CLIP_UPPER_1 |
dist to black with no prop; 1 bpp
|
static int |
DEFAULT_CLIP_UPPER_2 |
dist to black with no prop; 2 bpp
|
static int |
DEWARP_VERSION_NUMBER |
|
static int |
DNA_VERSION_NUMBER |
|
static int |
DPIX_VERSION_NUMBER |
|
static int |
FALSE |
|
static int |
FPIX_VERSION_NUMBER |
|
static int |
GPLOT_VERSION_NUMBER |
|
static int |
HAVE_DIRFD |
|
static int |
HAVE_FSTATAT |
|
static int |
HAVE_LIBGIF |
|
static int |
HAVE_LIBJP2K |
|
static int |
HAVE_LIBJPEG |
|
static int |
HAVE_LIBPNG |
|
static int |
HAVE_LIBTIFF |
|
static int |
HAVE_LIBUNGIF |
|
static int |
HAVE_LIBWEBP |
|
static int |
HAVE_LIBWEBP_ANIM |
|
static int |
HAVE_LIBZ |
|
static int |
IFF_BMP |
|
static int |
IFF_DEFAULT |
|
static int |
IFF_GIF |
|
static int |
IFF_JFIF_JPEG |
|
static int |
IFF_JP2 |
|
static int |
IFF_LPDF |
|
static int |
IFF_PNG |
|
static int |
IFF_PNM |
|
static int |
IFF_PS |
|
static int |
IFF_SPIX |
|
static int |
IFF_TIFF |
|
static int |
IFF_TIFF_G3 |
|
static int |
IFF_TIFF_G4 |
|
static int |
IFF_TIFF_JPEG |
|
static int |
IFF_TIFF_LZW |
|
static int |
IFF_TIFF_PACKBITS |
|
static int |
IFF_TIFF_RLE |
|
static int |
IFF_TIFF_ZIP |
|
static int |
IFF_UNKNOWN |
|
static int |
IFF_WEBP |
|
static int |
JB_CHARACTERS |
|
static int |
JB_CONN_COMPS |
|
static int |
JB_CORRELATION |
|
static java.lang.String |
JB_DATA_EXT |
|
static int |
JB_RANKHAUS |
|
static java.lang.String |
JB_TEMPLATE_EXT |
|
static int |
JB_WORDS |
|
static int |
KERNEL_VERSION_NUMBER |
|
static int |
L_ADD_ABOVE |
Add text above the image
|
static int |
L_ADD_AT_BOT |
Add text over the bottom of the image
|
static int |
L_ADD_AT_LEFT |
Add text over left side of the image
|
static int |
L_ADD_AT_RIGHT |
Add text over right side of the image
|
static int |
L_ADD_AT_TOP |
Add text over the top of the image
|
static int |
L_ADD_BELOW |
Add text below the image
|
static int |
L_ADD_LEFT |
Add text to the left of the image
|
static int |
L_ADD_RIGHT |
Add text to the right of the image
|
static int |
L_ADD_TRAIL_SLASH |
Add trailing slash to string
|
static int |
L_ADJUST_BOT |
adjust bottom edge
|
static int |
L_ADJUST_CHOOSE_MAX |
choose the max median value
|
static int |
L_ADJUST_CHOOSE_MIN |
choose the min median value
|
static int |
L_ADJUST_LEFT |
adjust left edge
|
static int |
L_ADJUST_LEFT_AND_RIGHT |
adjust both left and right edges
|
static int |
L_ADJUST_RIGHT |
adjust right edge
|
static int |
L_ADJUST_SKIP |
do not adjust
|
static int |
L_ADJUST_TOP |
adjust top edge
|
static int |
L_ADJUST_TOP_AND_BOT |
adjust both top and bottom edges
|
static int |
L_ALL |
all values
|
static int |
L_ALL_EDGES |
filters for all edges
|
static int |
L_ALPHA_CHANNEL |
alpha value index in RGBA_QUAD
|
static int |
L_ARABIC_NUMERALS |
10 digits
|
static int |
L_ARITH_ADD |
|
static int |
L_ARITH_DIVIDE |
on numas only
|
static int |
L_ARITH_MULTIPLY |
on numas only
|
static int |
L_ARITH_SUBTRACT |
|
static int |
L_AUTO_BYTE |
use LSB if max(val) < 256; else MSB
|
static int |
L_AUTO_DOWNSHIFT |
choose based on number of holes
|
static int |
L_AVE_MAX_DIFF_2 |
diff average closest comps to third
|
static int |
L_BIN_SORT |
use bin sort
|
static int |
L_BLACK_IS_MAX |
black pixels are 0xff or 0xffff; white are 0
|
static int |
L_BLEND_GRAY |
blend src directly with blender
|
static int |
L_BLEND_GRAY_WITH_INVERSE |
add amount of src inverse to itself,
|
static int |
L_BLEND_TO_BLACK |
shift src colors towards black
|
static int |
L_BLEND_TO_WHITE |
shift src colors towards white
|
static int |
L_BLEND_WITH_INVERSE |
add some of src inverse to itself
|
static float |
L_BLUE_WEIGHT |
Percept. weight for blue
|
static int |
L_BOTH_DIRECTIONS |
|
static int |
L_BOUNDARY_BG |
assume bg outside image
|
static int |
L_BOUNDARY_FG |
assume fg outside image
|
static int |
L_BOX_CENTER |
center
|
static int |
L_BRING_IN_BLACK |
bring in black pixels from the outside
|
static int |
L_BRING_IN_WHITE |
bring in white pixels from the outside
|
static int |
L_CHECK_BOTH |
check and possibly modify both
|
static int |
L_CHECK_HEIGHT |
check and possibly modify height
|
static int |
L_CHECK_WIDTH |
check and possibly modify width
|
static int |
L_CHOOSE_CONSECUTIVE |
select 'n' consecutive
|
static int |
L_CHOOSE_MAX |
useful in a downscaling "dilation"
|
static int |
L_CHOOSE_MAX_BOOST |
use a modification of the max value
|
static int |
L_CHOOSE_MAXDIFF |
useful in a downscaling contrast
|
static int |
L_CHOOSE_MIN |
useful in a downscaling "erosion"
|
static int |
L_CHOOSE_MIN_BOOST |
use a modification of the min value
|
static int |
L_CHOOSE_SKIP_BY |
select at intervals of 'n'
|
static int |
L_CLEAR_PIXELS |
set all bits in each pixel to 0
|
static int |
L_CLIP_TO_FF |
use max(val, 255)
|
static int |
L_CLIP_TO_FFFF |
use max(val, 65535)
|
static int |
L_CLIP_TO_ZERO |
Clip negative values to 0
|
static int |
L_CLONE |
make/use clone (ref count) of the object
|
static int |
L_COMBINE |
resize to bounding region; remove smaller
|
static int |
L_COMPACTION |
compact the array
|
static int |
L_COMPARE_ABS_DIFF |
|
static int |
L_COMPARE_SUBTRACT |
|
static int |
L_COMPARE_XOR |
|
static int |
L_CONTINUED_BORDER |
extended with same value
|
static int |
L_COPY |
make/use a copy of the object
|
static int |
L_COPY_CLONE |
make a new array object (e.g., pixa) and fill
|
static int |
L_DEFAULT_ENCODE |
use default encoding based on image
|
static int |
L_DISPLAY_WITH_IV |
Use irfanview (win) with pixDisplay()
|
static int |
L_DISPLAY_WITH_NONE |
Disable pixDisplay()
|
static int |
L_DISPLAY_WITH_OPEN |
Use open (apple/win) with pixDisplay()
|
static int |
L_DISPLAY_WITH_XLI |
Use xli with pixDisplay()
|
static int |
L_DISPLAY_WITH_XV |
Use xv with pixDisplay()
|
static int |
L_DISPLAY_WITH_XZGV |
Use xzgv with pixDisplay()
|
static int |
L_DRAW_BLUE |
draw in blue
|
static int |
L_DRAW_GREEN |
draw in green
|
static int |
L_DRAW_RANDOM |
draw randomly chosen colors
|
static int |
L_DRAW_RED |
draw in red
|
static int |
L_DRAW_RGB |
draw as sequence of r,g,b
|
static int |
L_DRAW_SPECIFIED |
draw specified color
|
static int |
L_EQUAL_TO_ZERO |
Choose values equal to zero
|
static int |
L_EUCLIDEAN_DISTANCE |
L2 distance
|
static int |
L_EXCLUDE_REGION |
Use pixels outside HSV region
|
static int |
L_EXCLUSIVE_OR |
on numas only
|
static int |
L_FILL_BLACK |
fill black pixels (e.g., in bg map)
|
static int |
L_FILL_WHITE |
fill white pixels (e.g, in fg map)
|
static int |
L_FIRST_IMAGE |
first image to be used
|
static int |
L_FLATE_ENCODE |
use flate encoding: any depth, cmap ok
|
static int |
L_FLIP_PIXELS |
flip all bits in each pixel
|
static int |
L_FLOAT_TYPE |
|
static int |
L_FLOAT_VALUE |
convert to float
|
static int |
L_FOUND |
|
static int |
L_FROM_BOT |
scan from bottom
|
static int |
L_FROM_LEFT |
scan from left
|
static int |
L_FROM_RIGHT |
scan from right
|
static int |
L_FROM_TOP |
scan from top
|
static int |
L_FULL_DOWNSHIFT |
downshifts all ptrs below insert
|
static int |
L_G4_ENCODE |
use ccitt g4 fax encoding: 1 bpp
|
static int |
L_GEOMETRIC_INTERSECTION |
use intersection of two boxes
|
static int |
L_GEOMETRIC_UNION |
use union of two boxes
|
static int |
L_GET_BLACK_VAL |
get black pixel value
|
static int |
L_GET_BOT |
get bottom side location
|
static int |
L_GET_LEFT |
get left side location
|
static int |
L_GET_RIGHT |
get right side location
|
static int |
L_GET_TOP |
get top side location
|
static int |
L_GET_WHITE_VAL |
get white pixel value
|
static int |
L_GREATER_THAN_ZERO |
Choose values greater than zero
|
static float |
L_GREEN_WEIGHT |
Percept. weight for green
|
static int |
L_HANDLE_ONLY |
ptr to L_Ptra; caller can inspect only
|
static int |
L_HMAP_CHECK |
check if this key/val has been stored
|
static int |
L_HMAP_CREATE |
create and store a hashitem if not found
|
static int |
L_HORIZ |
|
static int |
L_HORIZONTAL_EDGES |
filters for horizontal edges
|
static int |
L_HORIZONTAL_LINE |
horizontal line
|
static int |
L_HORIZONTAL_RUNS |
determine runlengths of horizontal runs
|
static int |
L_HS_HISTO |
Use hue-saturation histogram
|
static int |
L_HV_HISTO |
Use hue-value histogram
|
static int |
L_INCLUDE_REGION |
Use pixels with specified HSV region
|
static int |
L_INSERT |
stuff it in; do not copy or clone
|
static int |
L_INT_TYPE |
|
static int |
L_INTEGER_VALUE |
convert to integer
|
static int |
L_INTERMED_DIFF |
intermediate of diff component values
|
static int |
L_INTERPOLATED |
linear interpolation from src pixels
|
static int |
L_INTERSECTION |
on numas only
|
static int |
L_J2K_CODEC |
codestream
|
static int |
L_JP2_CODEC |
file format with 'ihdr'
|
static int |
L_JP2K_ENCODE |
use jp2k encoding: 8 and 32 bpp, no cmap
|
static int |
L_JPEG_CONTINUE_WITH_BAD_DATA |
return possibly damaged pix
|
static int |
L_JPEG_ENCODE |
use dct encoding: 8 and 32 bpp, no cmap
|
static int |
L_JPEG_READ_LUMINANCE |
only want luminance data; no chroma
|
static int |
L_LANDSCAPE_MODE |
page is viewed at 90 deg to portrait mode
|
static int |
L_LARGEST_AREA |
use box with largest area
|
static int |
L_LAST_IMAGE |
last image to be used
|
static int |
L_LC_ALPHA |
26 lower-case letters
|
static int |
L_LC_ROMAN_NUMERALS |
7 lower-case letters (i,v,x,l,c,d,m)
|
static int |
L_LESS_THAN_ZERO |
Choose values less than zero
|
static int |
L_LINEAR_INTERP |
linear
|
static int |
L_LINEAR_SCALE |
|
static int |
L_LINEAR_WARP |
stretch or contraction grows linearly
|
static int |
L_LOG_SCALE |
|
static int |
L_LOWER_LEFT |
LL corner
|
static int |
L_LOWER_RIGHT |
LR corner
|
static int |
L_LS_BYTE |
use LSB
|
static int |
L_LS_TWO_BYTES |
use two LSB
|
static int |
L_MANHATTAN_DISTANCE |
L1 distance (e.g., in color space)
|
static int |
L_MAX_DIFF |
maximum diff of component values
|
static int |
L_MEAN_ABSVAL |
average of abs values
|
static int |
L_MEDIAN_VAL |
median value of set
|
static int |
L_MIN_DOWNSHIFT |
downshifts min # of ptrs below insert
|
static int |
L_MIRRORED_BORDER |
mirrored
|
static int |
L_MODE_COUNT |
mode count of set
|
static int |
L_MODE_VAL |
mode value of set
|
static int |
L_MORPH_CLOSE |
|
static int |
L_MORPH_DILATE |
|
static int |
L_MORPH_ERODE |
|
static int |
L_MORPH_HMT |
|
static int |
L_MORPH_OPEN |
|
static int |
L_MS_BYTE |
use MSB
|
static int |
L_MS_TWO_BYTES |
use two MSB
|
static int |
L_NEG_SLOPE_LINE |
45 degree line with negative slope
|
static int |
L_NEGATIVE |
values < 0
|
static int |
L_NEXT_IMAGE |
intermediate image; not first or last
|
static int |
L_NO_CHROMA_SAMPLING_JPEG |
Write full resolution chroma
|
static int |
L_NO_COMPACTION |
null the pointer only
|
static int |
L_NOCOPY |
do not copy the object; do not delete the ptr
|
static int |
L_NON_NEGATIVE |
values >= 0
|
static int |
L_NON_POSITIVE |
values <= 0
|
static int |
L_NOT_FOUND |
|
static int |
L_OBLIQUE_LINE |
neither horizontal nor vertical
|
static int |
L_PAINT_DARK |
colorize non-white pixels
|
static int |
L_PAINT_LIGHT |
colorize non-black pixels
|
static int |
L_PLOT_AT_BOT |
Plot horizontally at bottom
|
static int |
L_PLOT_AT_LEFT |
Plot vertically at left
|
static int |
L_PLOT_AT_MID_HORIZ |
Plot horizontally at middle
|
static int |
L_PLOT_AT_MID_VERT |
Plot vertically at middle
|
static int |
L_PLOT_AT_RIGHT |
Plot vertically at right
|
static int |
L_PLOT_AT_TOP |
Plot horizontally at top
|
static int |
L_PORTRAIT_MODE |
typical: page is viewed with height > width
|
static int |
L_POS_SLOPE_LINE |
45 degree line with positive slope
|
static int |
L_POSITIVE |
values > 0
|
static int |
L_QUADRATIC_INTERP |
quadratic
|
static int |
L_QUADRATIC_WARP |
stretch or contraction grows quadratically
|
static float |
L_RED_WEIGHT |
Notes: (1) These perceptual weighting factors are ad-hoc, but they do add up to 1. |
static int |
L_REG_COMPARE |
|
static int |
L_REG_DISPLAY |
|
static int |
L_REG_GENERATE |
|
static int |
L_REMOVE |
caller owns; destroy or save in L_Ptraa
|
static int |
L_REMOVE_SMALL |
only remove smaller
|
static int |
L_REMOVE_TRAIL_SLASH |
Remove trailing slash from string
|
static int |
L_RO_SC_TR |
rotate, scale, translate
|
static int |
L_RO_TR_SC |
rotate, translate, scale
|
static int |
L_ROOT_MEAN_SQUARE |
rms of values
|
static int |
L_ROTATE_AREA_MAP |
use area map rotation, if possible
|
static int |
L_ROTATE_SAMPLING |
use sampling
|
static int |
L_ROTATE_SHEAR |
use shear rotation
|
static int |
L_RUN_OFF |
|
static int |
L_RUN_ON |
|
static int |
L_SAMPLED |
nearest src pixel sampling only
|
static int |
L_SC_RO_TR |
scale, rotate, translate
|
static int |
L_SC_TR_RO |
scale, translate, rotate
|
static int |
L_SCAN_BOTH |
scan in both directions
|
static int |
L_SCAN_HORIZONTAL |
horizontal scan (direction unimportant)
|
static int |
L_SCAN_NEGATIVE |
scan in negative direction
|
static int |
L_SCAN_POSITIVE |
scan in positive direction
|
static int |
L_SCAN_VERTICAL |
vertical scan (direction unimportant)
|
static int |
L_SELECT_AVERAGE |
use average of color components
|
static int |
L_SELECT_BLUE |
use blue component
|
static int |
L_SELECT_BY_AREA |
select by foreground area; 1 bpp
|
static int |
L_SELECT_BY_HEIGHT |
select by height; 1 bpp
|
static int |
L_SELECT_BY_MAX_DIMENSION |
select by max of width and
|
static int |
L_SELECT_BY_PERIMETER |
select by perimeter; 1 bpp
|
static int |
L_SELECT_BY_WIDTH |
select by width; 1 bpp
|
static int |
L_SELECT_GREEN |
use green component
|
static int |
L_SELECT_HEIGHT |
height must satisfy constraint
|
static int |
L_SELECT_HUE |
use hue value (in HSV color space)
|
static int |
L_SELECT_IF_BOTH |
both width and height (or xval
|
static int |
L_SELECT_IF_EITHER |
either width or height (or xval
|
static int |
L_SELECT_IF_GT |
save if value is more than threshold
|
static int |
L_SELECT_IF_GTE |
save if value is >= to the threshold
|
static int |
L_SELECT_IF_LT |
save if value is less than threshold
|
static int |
L_SELECT_IF_LTE |
save if value is <= to the threshold
|
static int |
L_SELECT_MAX |
use max color component
|
static int |
L_SELECT_MIN |
use min color component
|
static int |
L_SELECT_RED |
use red component
|
static int |
L_SELECT_SATURATION |
use saturation value (in HSV space)
|
static int |
L_SELECT_WEIGHTED |
use weighted average of color comps
|
static int |
L_SELECT_WIDTH |
width must satisfy constraint
|
static int |
L_SELECT_XVAL |
x value must satisfy constraint
|
static int |
L_SELECT_YVAL |
y value must satisfy constraint
|
static int |
L_SET_BLACK |
set pixels to black
|
static int |
L_SET_BOT |
set bottom side to a given value
|
static int |
L_SET_LEFT |
set left side to a given value
|
static int |
L_SET_PIXELS |
set all bits in each pixel to 1
|
static int |
L_SET_RIGHT |
set right side to a given value
|
static int |
L_SET_TOP |
set top side to a given value
|
static int |
L_SET_WHITE |
set pixels to white
|
static int |
L_SEVERITY_ALL |
Lowest severity: print all messages
|
static int |
L_SEVERITY_DEBUG |
Print debugging and higher messages
|
static int |
L_SEVERITY_ERROR |
Print error and higher messages
|
static int |
L_SEVERITY_EXTERNAL |
Get the severity from the environment
|
static int |
L_SEVERITY_INFO |
Print informational and higher messages
|
static int |
L_SEVERITY_NONE |
Highest severity: print no messages
|
static int |
L_SEVERITY_WARNING |
Print warning and higher messages
|
static int |
L_SHEAR_ABOUT_CENTER |
shear image about center
|
static int |
L_SHEAR_ABOUT_CORNER |
shear image about UL corner
|
static int |
L_SHELL_SORT |
use shell sort
|
static int |
L_SLOPE_BORDER |
extended with constant normal derivative
|
static int |
L_SMALLEST_AREA |
use box with smallest area
|
static int |
L_SOBEL_EDGE |
Sobel edge filter
|
static int |
L_SORT_BY_AREA |
sort box or c.c. by area
|
static int |
L_SORT_BY_ASPECT_RATIO |
sort box or c.c. by width/height ratio
|
static int |
L_SORT_BY_BOT |
sort box or c.c. by bot edge location
|
static int |
L_SORT_BY_HEIGHT |
sort box or c.c. by height
|
static int |
L_SORT_BY_MAX_DIMENSION |
sort box or c.c. by max dimension
|
static int |
L_SORT_BY_MIN_DIMENSION |
sort box or c.c. by min dimension
|
static int |
L_SORT_BY_PERIMETER |
sort box or c.c. by perimeter
|
static int |
L_SORT_BY_RIGHT |
sort box or c.c. by right edge location
|
static int |
L_SORT_BY_WIDTH |
sort box or c.c. by width
|
static int |
L_SORT_BY_X |
sort box or c.c. by left edge location
|
static int |
L_SORT_BY_Y |
sort box or c.c. by top edge location
|
static int |
L_SORT_DECREASING |
sort in decreasing order
|
static int |
L_SORT_INCREASING |
sort in increasing order
|
static int |
L_STANDARD_DEVIATION |
standard deviation from mean
|
static int |
L_STR_MEMREADER |
reader to get the compressed string in memory
|
static int |
L_STR_NAME |
name of the data type
|
static int |
L_STR_READER |
reader to get the data type from file
|
static int |
L_STR_TYPE |
typedef for the data type
|
static int |
L_SUB_ON_LOC_DIFF |
modify boundary if big location diff
|
static int |
L_SUB_ON_SIZE_DIFF |
modify boundary if big size diff
|
static int |
L_SUBPIXEL_ORDER_BGR |
sensor order left-to-right BGR
|
static int |
L_SUBPIXEL_ORDER_RGB |
sensor order left-to-right RGB
|
static int |
L_SUBPIXEL_ORDER_VBGR |
sensor order top-to-bottom BGR
|
static int |
L_SUBPIXEL_ORDER_VRGB |
sensor order top-to-bottom RGB
|
static int |
L_SUBTRACTION |
on numas only
|
static int |
L_SUDOKU_INIT |
|
static int |
L_SUDOKU_STATE |
|
static int |
L_SV_HISTO |
Use saturation-value histogram
|
static int |
L_TAKE_ABSVAL |
Convert to positive using L_ABS()
|
static int |
L_TEXT_ORIENT_DOWN |
portrait, text upside-down
|
static int |
L_TEXT_ORIENT_LEFT |
landscape, text up to left
|
static int |
L_TEXT_ORIENT_RIGHT |
landscape, text up to right
|
static int |
L_TEXT_ORIENT_UNKNOWN |
low confidence on text orientation
|
static int |
L_TEXT_ORIENT_UP |
portrait, text rightside-up
|
static int |
L_THIN_BG |
thin background of 1 bpp image
|
static int |
L_THIN_FG |
thin foreground of 1 bpp image
|
static int |
L_TOPHAT_BLACK |
|
static int |
L_TOPHAT_WHITE |
|
static int |
L_TR_RO_SC |
translate, rotate, scale
|
static int |
L_TR_SC_RO |
translate, scale, rotate
|
static int |
L_TWO_SIDED_EDGE |
Two-sided edge filter
|
static int |
L_UC_ALPHA |
26 upper-case letters
|
static int |
L_UC_ROMAN_NUMERALS |
7 upper-case letters (I,V,X,L,C,D,M)
|
static int |
L_UINT_TYPE |
|
static int |
L_UNDEFINED |
invalid operation
|
static int |
L_UNION |
on numas only
|
static int |
L_UNKNOWN |
character set type is not specified
|
static int |
L_UPPER_LEFT |
UL corner
|
static int |
L_UPPER_RIGHT |
UR corner
|
static int |
L_USE_ALL_BOXES |
consider all boxes in the sequence
|
static int |
L_USE_ALL_TEMPLATES |
use all templates; default
|
static int |
L_USE_AVERAGE_TEMPLATES |
use average templates; special cases
|
static int |
L_USE_CAPPED_MAX |
modify boundary with capped max
|
static int |
L_USE_CAPPED_MIN |
modify boundary with capped min
|
static int |
L_USE_INNER |
Select the interior part
|
static int |
L_USE_MAXSIZE |
use boundaries giving max size
|
static int |
L_USE_MINSIZE |
use boundaries giving min size
|
static int |
L_USE_OUTER |
Select the outer part (e.g., a frame)
|
static int |
L_USE_SAME_PARITY_BOXES |
consider boxes with the same parity
|
static int |
L_VARIANCE |
variance of values
|
static int |
L_VERT |
|
static int |
L_VERTICAL_EDGES |
filters for vertical edges
|
static int |
L_VERTICAL_LINE |
vertical line
|
static int |
L_VERTICAL_RUNS |
determine runlengths of vertical runs
|
static int |
L_WARP_TO_LEFT |
increasing stretch or contraction to left
|
static int |
L_WARP_TO_RIGHT |
increasing stretch or contraction to right
|
static int |
L_WHITE_IS_MAX |
white pixels are 0xff or 0xffff; black are 0
|
static int |
L_ZERO |
values = 0
|
static int |
LIBLEPT_MAJOR_VERSION |
|
static int |
LIBLEPT_MINOR_VERSION |
|
static int |
LIBLEPT_PATCH_VERSION |
|
static int |
NULL |
|
static int |
NUM_GPLOT_OUTPUTS |
|
static int |
NUM_GPLOT_STYLES |
|
static int |
NUMA_VERSION_NUMBER |
|
static int |
PIX_CLR |
|
static int |
PIX_DST |
|
static int |
PIX_MASK |
|
static int |
PIX_PAINT |
|
static int |
PIX_SET |
|
static int |
PIX_SRC |
|
static int |
PIX_SUBTRACT |
|
static int |
PIX_XOR |
|
static int |
PIXA_VERSION_NUMBER |
|
static int |
PIXAA_VERSION_NUMBER |
|
static int |
PIXACOMP_VERSION_NUMBER |
|
static int |
PTA_VERSION_NUMBER |
|
static int |
RECOG_VERSION_NUMBER |
|
static int |
REMOVE_CMAP_BASED_ON_SRC |
remove depending on src format
|
static int |
REMOVE_CMAP_TO_BINARY |
remove colormap for conv to 1 bpp
|
static int |
REMOVE_CMAP_TO_FULL_COLOR |
remove colormap for conv to 32 bpp
|
static int |
REMOVE_CMAP_TO_GRAYSCALE |
remove colormap for conv to 8 bpp
|
static int |
REMOVE_CMAP_WITH_ALPHA |
remove colormap and alpha
|
static int |
SARRAY_VERSION_NUMBER |
|
static int |
SEL_DONT_CARE |
|
static int |
SEL_HIT |
|
static int |
SEL_MISS |
|
static int |
SEL_VERSION_NUMBER |
|
static int |
SPLIT_ON_BLANK_LINE |
newline with optional white space
|
static int |
SPLIT_ON_BOTH |
leading white space or newline
|
static int |
SPLIT_ON_LEADING_WHITE |
tab or space at beginning of line
|
static int |
SYMMETRIC_MORPH_BC |
|
static int |
TIFF_BIGEND_ID |
MM - for 'motorola'
|
static int |
TIFF_LITTLEEND_ID |
II - for 'intel'
|
static int |
TRUE |
|
static int |
UNDEF |
|
static int |
UNIX_PATH_SEPCHAR |
|
static int |
USE_BMPIO |
|
static int |
USE_INLINE_ACCESSORS |
|
static int |
USE_JP2KHEADER |
|
static int |
USE_PDFIO |
|
static int |
USE_PNMIO |
|
static int |
USE_PSIO |
|
static int |
WIN_PATH_SEPCHAR |
static final int L_NOT_FOUND
static final int L_FOUND
static final int UNIX_PATH_SEPCHAR
static final int WIN_PATH_SEPCHAR
static final int L_SEVERITY_EXTERNAL
static final int L_SEVERITY_ALL
static final int L_SEVERITY_DEBUG
static final int L_SEVERITY_INFO
static final int L_SEVERITY_WARNING
static final int L_SEVERITY_ERROR
static final int L_SEVERITY_NONE
static final int L_LINEAR_INTERP
static final int L_QUADRATIC_INTERP
static final int L_CONTINUED_BORDER
static final int L_SLOPE_BORDER
static final int L_MIRRORED_BORDER
static final int L_INTEGER_VALUE
static final int L_FLOAT_VALUE
static final int L_UNDEFINED
static final int L_HMAP_CHECK
static final int L_HMAP_CREATE
static final int L_NO_COMPACTION
static final int L_COMPACTION
static final int L_AUTO_DOWNSHIFT
static final int L_MIN_DOWNSHIFT
static final int L_FULL_DOWNSHIFT
static final int L_HANDLE_ONLY
static final int L_REMOVE
static final int L_INT_TYPE
static final int L_UINT_TYPE
static final int L_FLOAT_TYPE
static final int SPLIT_ON_LEADING_WHITE
static final int SPLIT_ON_BLANK_LINE
static final int SPLIT_ON_BOTH
static final int CCB_LOCAL_COORDS
static final int CCB_GLOBAL_COORDS
static final int CCB_SAVE_ALL_PTS
static final int CCB_SAVE_TURNING_PTS
static final int IFF_UNKNOWN
static final int IFF_BMP
static final int IFF_JFIF_JPEG
static final int IFF_PNG
static final int IFF_TIFF
static final int IFF_TIFF_PACKBITS
static final int IFF_TIFF_RLE
static final int IFF_TIFF_G3
static final int IFF_TIFF_G4
static final int IFF_TIFF_LZW
static final int IFF_TIFF_ZIP
static final int IFF_PNM
static final int IFF_PS
static final int IFF_GIF
static final int IFF_JP2
static final int IFF_WEBP
static final int IFF_LPDF
static final int IFF_TIFF_JPEG
static final int IFF_DEFAULT
static final int IFF_SPIX
static final int BMP_ID
static final int TIFF_BIGEND_ID
static final int TIFF_LITTLEEND_ID
static final int L_JPEG_READ_LUMINANCE
static final int L_JPEG_CONTINUE_WITH_BAD_DATA
static final int L_J2K_CODEC
static final int L_JP2_CODEC
static final int L_DEFAULT_ENCODE
static final int L_JPEG_ENCODE
static final int L_G4_ENCODE
static final int L_FLATE_ENCODE
static final int L_JP2K_ENCODE
static final int L_FIRST_IMAGE
static final int L_NEXT_IMAGE
static final int L_LAST_IMAGE
static final int JB_RANKHAUS
static final int JB_CORRELATION
static final int JB_CONN_COMPS
static final int JB_CHARACTERS
static final int JB_WORDS
static final int SYMMETRIC_MORPH_BC
static final int ASYMMETRIC_MORPH_BC
static final int SEL_DONT_CARE
static final int SEL_HIT
static final int SEL_MISS
static final int L_RUN_OFF
static final int L_RUN_ON
static final int L_HORIZ
static final int L_VERT
static final int L_BOTH_DIRECTIONS
static final int L_MORPH_DILATE
static final int L_MORPH_ERODE
static final int L_MORPH_OPEN
static final int L_MORPH_CLOSE
static final int L_MORPH_HMT
static final int L_LINEAR_SCALE
static final int L_LOG_SCALE
static final int L_TOPHAT_WHITE
static final int L_TOPHAT_BLACK
static final int L_ARITH_ADD
static final int L_ARITH_SUBTRACT
static final int L_ARITH_MULTIPLY
static final int L_ARITH_DIVIDE
static final int L_UNION
static final int L_INTERSECTION
static final int L_SUBTRACTION
static final int L_EXCLUSIVE_OR
static final int L_CHOOSE_MIN
static final int L_CHOOSE_MAX
static final int L_CHOOSE_MAXDIFF
static final int L_CHOOSE_MIN_BOOST
static final int L_CHOOSE_MAX_BOOST
static final int L_BOUNDARY_BG
static final int L_BOUNDARY_FG
static final int L_COMPARE_XOR
static final int L_COMPARE_SUBTRACT
static final int L_COMPARE_ABS_DIFF
static final int COLOR_RED
static final int COLOR_GREEN
static final int COLOR_BLUE
static final int L_ALPHA_CHANNEL
static final int L_DRAW_RED
static final int L_DRAW_GREEN
static final int L_DRAW_BLUE
static final int L_DRAW_SPECIFIED
static final int L_DRAW_RGB
static final int L_DRAW_RANDOM
static final int REMOVE_CMAP_TO_BINARY
static final int REMOVE_CMAP_TO_GRAYSCALE
static final int REMOVE_CMAP_TO_FULL_COLOR
static final int REMOVE_CMAP_WITH_ALPHA
static final int REMOVE_CMAP_BASED_ON_SRC
static final int L_NOCOPY
static final int L_INSERT
static final int L_COPY
static final int L_CLONE
static final int L_COPY_CLONE
static final int L_SHELL_SORT
static final int L_BIN_SORT
static final int L_SORT_INCREASING
static final int L_SORT_DECREASING
static final int L_SORT_BY_X
static final int L_SORT_BY_Y
static final int L_SORT_BY_RIGHT
static final int L_SORT_BY_BOT
static final int L_SORT_BY_WIDTH
static final int L_SORT_BY_HEIGHT
static final int L_SORT_BY_MIN_DIMENSION
static final int L_SORT_BY_MAX_DIMENSION
static final int L_SORT_BY_PERIMETER
static final int L_SORT_BY_AREA
static final int L_SORT_BY_ASPECT_RATIO
static final int L_BLEND_WITH_INVERSE
static final int L_BLEND_TO_WHITE
static final int L_BLEND_TO_BLACK
static final int L_BLEND_GRAY
static final int L_BLEND_GRAY_WITH_INVERSE
static final int L_PAINT_LIGHT
static final int L_PAINT_DARK
static final int L_SET_PIXELS
static final int L_CLEAR_PIXELS
static final int L_FLIP_PIXELS
static final int L_SELECT_IF_LT
static final int L_SELECT_IF_GT
static final int L_SELECT_IF_LTE
static final int L_SELECT_IF_GTE
static final int L_SELECT_BY_WIDTH
static final int L_SELECT_BY_HEIGHT
static final int L_SELECT_BY_MAX_DIMENSION
static final int L_SELECT_BY_AREA
static final int L_SELECT_BY_PERIMETER
static final int L_SELECT_WIDTH
static final int L_SELECT_HEIGHT
static final int L_SELECT_XVAL
static final int L_SELECT_YVAL
static final int L_SELECT_IF_EITHER
static final int L_SELECT_IF_BOTH
static final int L_CHECK_WIDTH
static final int L_CHECK_HEIGHT
static final int L_CHECK_BOTH
static final int L_SELECT_RED
static final int L_SELECT_GREEN
static final int L_SELECT_BLUE
static final int L_SELECT_MIN
static final int L_SELECT_MAX
static final int L_SELECT_AVERAGE
static final int L_SELECT_HUE
static final int L_SELECT_SATURATION
static final int L_SELECT_WEIGHTED
static final int L_INTERMED_DIFF
static final int L_AVE_MAX_DIFF_2
static final int L_MAX_DIFF
static final int L_LS_BYTE
static final int L_MS_BYTE
static final int L_AUTO_BYTE
static final int L_CLIP_TO_FF
static final int L_LS_TWO_BYTES
static final int L_MS_TWO_BYTES
static final int L_CLIP_TO_FFFF
static final int L_ROTATE_AREA_MAP
static final int L_ROTATE_SHEAR
static final int L_ROTATE_SAMPLING
static final int L_BRING_IN_WHITE
static final int L_BRING_IN_BLACK
static final int L_SHEAR_ABOUT_CORNER
static final int L_SHEAR_ABOUT_CENTER
static final int L_TR_SC_RO
static final int L_SC_RO_TR
static final int L_RO_TR_SC
static final int L_TR_RO_SC
static final int L_RO_SC_TR
static final int L_SC_TR_RO
static final int L_FILL_WHITE
static final int L_FILL_BLACK
static final int L_SET_WHITE
static final int L_SET_BLACK
static final int L_GET_WHITE_VAL
static final int L_GET_BLACK_VAL
static final int L_WHITE_IS_MAX
static final int L_BLACK_IS_MAX
static final int DEFAULT_CLIP_LOWER_1
static final int DEFAULT_CLIP_UPPER_1
static final int DEFAULT_CLIP_LOWER_2
static final int DEFAULT_CLIP_UPPER_2
static final int L_MANHATTAN_DISTANCE
static final int L_EUCLIDEAN_DISTANCE
static final int L_NEGATIVE
static final int L_NON_NEGATIVE
static final int L_POSITIVE
static final int L_NON_POSITIVE
static final int L_ZERO
static final int L_ALL
static final int L_MEAN_ABSVAL
static final int L_MEDIAN_VAL
static final int L_MODE_VAL
static final int L_MODE_COUNT
static final int L_ROOT_MEAN_SQUARE
static final int L_STANDARD_DEVIATION
static final int L_VARIANCE
static final int L_CHOOSE_CONSECUTIVE
static final int L_CHOOSE_SKIP_BY
static final int L_TEXT_ORIENT_UNKNOWN
static final int L_TEXT_ORIENT_UP
static final int L_TEXT_ORIENT_LEFT
static final int L_TEXT_ORIENT_DOWN
static final int L_TEXT_ORIENT_RIGHT
static final int L_HORIZONTAL_EDGES
static final int L_VERTICAL_EDGES
static final int L_ALL_EDGES
static final int L_HORIZONTAL_LINE
static final int L_POS_SLOPE_LINE
static final int L_VERTICAL_LINE
static final int L_NEG_SLOPE_LINE
static final int L_OBLIQUE_LINE
static final int L_PORTRAIT_MODE
static final int L_LANDSCAPE_MODE
static final int L_FROM_LEFT
static final int L_FROM_RIGHT
static final int L_FROM_TOP
static final int L_FROM_BOT
static final int L_SCAN_NEGATIVE
static final int L_SCAN_POSITIVE
static final int L_SCAN_BOTH
static final int L_SCAN_HORIZONTAL
static final int L_SCAN_VERTICAL
static final int L_ADJUST_SKIP
static final int L_ADJUST_LEFT
static final int L_ADJUST_RIGHT
static final int L_ADJUST_LEFT_AND_RIGHT
static final int L_ADJUST_TOP
static final int L_ADJUST_BOT
static final int L_ADJUST_TOP_AND_BOT
static final int L_ADJUST_CHOOSE_MIN
static final int L_ADJUST_CHOOSE_MAX
static final int L_SET_LEFT
static final int L_SET_RIGHT
static final int L_SET_TOP
static final int L_SET_BOT
static final int L_GET_LEFT
static final int L_GET_RIGHT
static final int L_GET_TOP
static final int L_GET_BOT
static final int L_USE_MINSIZE
static final int L_USE_MAXSIZE
static final int L_SUB_ON_LOC_DIFF
static final int L_SUB_ON_SIZE_DIFF
static final int L_USE_CAPPED_MIN
static final int L_USE_CAPPED_MAX
static final int L_COMBINE
static final int L_REMOVE_SMALL
static final int L_GEOMETRIC_UNION
static final int L_GEOMETRIC_INTERSECTION
static final int L_LARGEST_AREA
static final int L_SMALLEST_AREA
static final int L_USE_ALL_BOXES
static final int L_USE_SAME_PARITY_BOXES
static final int L_UPPER_LEFT
static final int L_UPPER_RIGHT
static final int L_LOWER_LEFT
static final int L_LOWER_RIGHT
static final int L_BOX_CENTER
static final int L_WARP_TO_LEFT
static final int L_WARP_TO_RIGHT
static final int L_LINEAR_WARP
static final int L_QUADRATIC_WARP
static final int L_INTERPOLATED
static final int L_SAMPLED
static final int L_THIN_FG
static final int L_THIN_BG
static final int L_HORIZONTAL_RUNS
static final int L_VERTICAL_RUNS
static final int L_SOBEL_EDGE
static final int L_TWO_SIDED_EDGE
static final int L_SUBPIXEL_ORDER_RGB
static final int L_SUBPIXEL_ORDER_BGR
static final int L_SUBPIXEL_ORDER_VRGB
static final int L_SUBPIXEL_ORDER_VBGR
static final int L_HS_HISTO
static final int L_HV_HISTO
static final int L_SV_HISTO
static final int L_INCLUDE_REGION
static final int L_EXCLUDE_REGION
static final int L_ADD_ABOVE
static final int L_ADD_BELOW
static final int L_ADD_LEFT
static final int L_ADD_RIGHT
static final int L_ADD_AT_TOP
static final int L_ADD_AT_BOT
static final int L_ADD_AT_LEFT
static final int L_ADD_AT_RIGHT
static final int L_PLOT_AT_TOP
static final int L_PLOT_AT_MID_HORIZ
static final int L_PLOT_AT_BOT
static final int L_PLOT_AT_LEFT
static final int L_PLOT_AT_MID_VERT
static final int L_PLOT_AT_RIGHT
static final int L_USE_INNER
static final int L_USE_OUTER
static final int L_DISPLAY_WITH_NONE
static final int L_DISPLAY_WITH_XZGV
static final int L_DISPLAY_WITH_XLI
static final int L_DISPLAY_WITH_XV
static final int L_DISPLAY_WITH_IV
static final int L_DISPLAY_WITH_OPEN
static final int L_NO_CHROMA_SAMPLING_JPEG
static final int L_CLIP_TO_ZERO
static final int L_TAKE_ABSVAL
static final int L_LESS_THAN_ZERO
static final int L_EQUAL_TO_ZERO
static final int L_GREATER_THAN_ZERO
static final int L_ADD_TRAIL_SLASH
static final int L_REMOVE_TRAIL_SLASH
static final int L_UNKNOWN
static final int L_ARABIC_NUMERALS
static final int L_LC_ROMAN_NUMERALS
static final int L_UC_ROMAN_NUMERALS
static final int L_LC_ALPHA
static final int L_UC_ALPHA
static final int L_USE_ALL_TEMPLATES
static final int L_USE_AVERAGE_TEMPLATES
static final int L_REG_GENERATE
static final int L_REG_COMPARE
static final int L_REG_DISPLAY
static final int L_STR_TYPE
static final int L_STR_NAME
static final int L_STR_READER
static final int L_STR_MEMREADER
static final int L_SUDOKU_INIT
static final int L_SUDOKU_STATE
static final int ADDED_BORDER
static final float L_RED_WEIGHT
Notes:
(1) These perceptual weighting factors are ad-hoc, but they do
add up to 1. Unlike, for example, the weighting factors for
converting RGB to luminance, or more specifically to Y in the
YUV colorspace. Those numbers come from the
International Telecommunications Union, via ITU-R.
static final float L_GREEN_WEIGHT
static final float L_BLUE_WEIGHT
static final int LIBLEPT_MAJOR_VERSION
static final int LIBLEPT_MINOR_VERSION
static final int LIBLEPT_PATCH_VERSION
static final int HAVE_LIBJPEG
static final int HAVE_LIBTIFF
static final int HAVE_LIBPNG
static final int HAVE_LIBZ
static final int HAVE_LIBGIF
static final int HAVE_LIBUNGIF
static final int HAVE_LIBWEBP
static final int HAVE_LIBWEBP_ANIM
static final int HAVE_LIBJP2K
static final int USE_BMPIO
static final int USE_PNMIO
static final int USE_JP2KHEADER
static final int USE_PDFIO
static final int USE_PSIO
static final int HAVE_FSTATAT
static final int HAVE_DIRFD
static final int UNDEF
static final int NULL
static final int TRUE
static final int FALSE
static final int NUMA_VERSION_NUMBER
static final int DNA_VERSION_NUMBER
static final int SARRAY_VERSION_NUMBER
static final int USE_INLINE_ACCESSORS
static final int DEWARP_VERSION_NUMBER
static final int GPLOT_VERSION_NUMBER
static final int NUM_GPLOT_STYLES
static final int NUM_GPLOT_OUTPUTS
static final java.lang.String JB_TEMPLATE_EXT
static final java.lang.String JB_DATA_EXT
static final int SEL_VERSION_NUMBER
static final int KERNEL_VERSION_NUMBER
static final int PIX_SRC
static final int PIX_DST
static final int PIX_CLR
static final int PIX_SET
static final int PIX_PAINT
static final int PIX_MASK
static final int PIX_SUBTRACT
static final int PIX_XOR
static final int PIXAA_VERSION_NUMBER
static final int PIXA_VERSION_NUMBER
static final int BOXA_VERSION_NUMBER
static final int BOXAA_VERSION_NUMBER
static final int PTA_VERSION_NUMBER
static final int FPIX_VERSION_NUMBER
static final int DPIX_VERSION_NUMBER
static final int PIXACOMP_VERSION_NUMBER
static final int RECOG_VERSION_NUMBER
Copyright © 2026. All rights reserved.