Tesseract-android-tools  1.0
 Todo Clases Namespaces Archivos Funciones Variables
Atributos públicos estáticos
Referencia de la Clase com.googlecode.leptonica.android.Constants

Constantes de la librería Leptonica. Más...

Lista de todos los miembros.

Atributos públicos estáticos

static final int IFF_BMP = 1
static final int IFF_DEFAULT = 15
static final int IFF_GIF = 13
static final int IFF_JFIF_JPEG = 2
static final int IFF_JP2 = 14
static final int IFF_PNG = 3
static final int IFF_PNM = 11
static final int IFF_PS = 12
static final int IFF_SPIX = 16
static final int IFF_TIFF = 4
static final int IFF_TIFF_G3 = 7
static final int IFF_TIFF_G4 = 8
static final int IFF_TIFF_LZW = 9
static final int IFF_TIFF_PACKBITS = 5
static final int IFF_TIFF_RLE = 6
static final int IFF_TIFF_ZIP = 10
static final int IFF_UNKNOWN = 0
static final int L_CLONE = 2
 Make/use clone (ref count) of the object.
static final int L_COPY = 1
 Make/use a copy of the object.
static final int L_COPY_CLONE = 3
 Make a new object and fill with with clones of each object in the array(s)
static final int L_INSERT = 0
 Stuff it in; no copy, clone or copy-clone.
static final int L_SORT_BY_AREA = 10
 Sort box or c.c. by area.
static final int L_SORT_BY_ASPECT_RATIO = 11
 Sort box or c.c. by width/height ratio.
static final int L_SORT_BY_HEIGHT = 6
 Sort box or c.c. by height.
static final int L_SORT_BY_MAX_DIMENSION = 8
 Sort box or c.c. by max dimension.
static final int L_SORT_BY_MIN_DIMENSION = 7
 Sort box or c.c. by min dimension.
static final int L_SORT_BY_PERIMETER = 9
 Sort box or c.c. by perimeter.
static final int L_SORT_BY_WIDTH = 5
 Sort box or c.c. by width.
static final int L_SORT_BY_X = 3
 Sort box or c.c. by horiz location.
static final int L_SORT_BY_Y = 4
 Sort box or c.c. by vert location.
static final int L_SORT_DECREASING = 2
 Sort in decreasing order.
static final int L_SORT_INCREASING = 1
 Sort in increasing order.

Descripción detallada

Constantes de la librería Leptonica.

Definición en la línea 32 del archivo Constants.java.


Documentación de los datos miembro

Definición en la línea 123 del archivo Constants.java.

Definición en la línea 151 del archivo Constants.java.

Definición en la línea 147 del archivo Constants.java.

Definición en la línea 125 del archivo Constants.java.

Definición en la línea 149 del archivo Constants.java.

Definición en la línea 127 del archivo Constants.java.

Definición en la línea 143 del archivo Constants.java.

Definición en la línea 145 del archivo Constants.java.

Definición en la línea 153 del archivo Constants.java.

Definición en la línea 129 del archivo Constants.java.

Definición en la línea 135 del archivo Constants.java.

Definición en la línea 137 del archivo Constants.java.

Definición en la línea 139 del archivo Constants.java.

Definición en la línea 131 del archivo Constants.java.

Definición en la línea 133 del archivo Constants.java.

Definición en la línea 141 del archivo Constants.java.

------------------ Image file format types -------------- The IFF_DEFAULT flag is used to write the file out in the same (input) file format that the pix was read from. If the pix was not read from file, the input format field will be IFF_UNKNOWN and the output file format will be chosen to be compressed and lossless; namely, IFF_TIFF_G4 for d = 1 and IFF_PNG for everything else. IFF_JP2 is for jpeg2000, which is not supported in leptonica.

Definición en la línea 121 del archivo Constants.java.

Make/use clone (ref count) of the object.

Definición en la línea 66 del archivo Constants.java.

Make/use a copy of the object.

Definición en la línea 63 del archivo Constants.java.

Make a new object and fill with with clones of each object in the array(s)

Definición en la línea 72 del archivo Constants.java.

Stuff it in; no copy, clone or copy-clone.

------------------------------------------------------------------------- * Access and storage flags * ------------------------------------------------------------------------- For Pix, Box, Pta and Numa, there are 3 standard methods for handling the retrieval or insertion of a struct: (1) direct insertion (Don't do this if there is another handle somewhere to this same struct!) (2) copy (Always safe, sets up a refcount of 1 on the new object. Can be undesirable if very large, such as an image or an array of images.) (3) clone (Makes another handle to the same struct, and bumps the refcount up by 1. Safe to do unless you're changing data through one of the handles but don't want those changes to be seen by the other handle.) For Pixa and Boxa, which are structs that hold an array of clonable structs, there is an additional method: (4) copy-clone (Makes a new higher-level struct with a refcount of 1, but clones all the structs in the array.) Unlike the other structs, when retrieving a string from an Sarray, you are allowed to get a handle without a copy or clone (i.e., that you don't own!). You must not free or insert such a string! Specifically, for an Sarray, the copyflag for retrieval is either: TRUE (or 1 or L_COPY) or FALSE (or 0 or L_NOCOPY) For insertion, the copyflag is either: TRUE (or 1 or L_COPY) or FALSE (or 0 or L_INSERT) Note that L_COPY is always 1, and L_INSERT and L_NOCOPY are always 0.

Definición en la línea 60 del archivo Constants.java.

Sort box or c.c. by area.

Definición en la línea 106 del archivo Constants.java.

Sort box or c.c. by width/height ratio.

Definición en la línea 109 del archivo Constants.java.

Sort box or c.c. by height.

Definición en la línea 94 del archivo Constants.java.

Sort box or c.c. by max dimension.

Definición en la línea 100 del archivo Constants.java.

Sort box or c.c. by min dimension.

Definición en la línea 97 del archivo Constants.java.

Sort box or c.c. by perimeter.

Definición en la línea 103 del archivo Constants.java.

Sort box or c.c. by width.

Definición en la línea 91 del archivo Constants.java.

Sort box or c.c. by horiz location.

Definición en la línea 85 del archivo Constants.java.

Sort box or c.c. by vert location.

Definición en la línea 88 del archivo Constants.java.

Sort in decreasing order.

Definición en la línea 82 del archivo Constants.java.

Sort in increasing order.

Definición en la línea 79 del archivo Constants.java.


La documentación para esta clase fue generada a partir del siguiente fichero:
 Todo Clases Namespaces Archivos Funciones Variables