Package net.sourceforge.lept4j
Class L_Rch
java.lang.Object
com.sun.jna.Structure
net.sourceforge.lept4j.L_Rch
- Direct Known Subclasses:
L_Rch.ByReference
,L_Rch.ByValue
public class L_Rch
extends com.sun.jna.Structure
Data returned from correlation matching on a single character
native declaration : recog.h:128
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java or JNA.
native declaration : recog.h:128
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java or JNA.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.sun.jna.Structure
com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField
-
Field Summary
Modifier and TypeFieldDescriptionint
index of best template
C type : l_int32int
index of best sample (within the best
C type : l_int32float
correlation score of best template
C type : l_float32com.sun.jna.Pointer
character string of best template
C type : char*int
width of best template
C type : l_int32int
x-location of template (delx + shiftx)
C type : l_int32int
y-location of template (dely + shifty)
C type : l_int32Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets this Structure's field names in their proper order.Methods inherited from class com.sun.jna.Structure
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
-
Field Details
-
index
public int indexindex of best template
C type : l_int32 -
score
public float scorecorrelation score of best template
C type : l_float32 -
text
public com.sun.jna.Pointer textcharacter string of best template
C type : char* -
sample
public int sampleindex of best sample (within the best
C type : l_int32 -
xloc
public int xlocx-location of template (delx + shiftx)
C type : l_int32 -
yloc
public int ylocy-location of template (dely + shifty)
C type : l_int32 -
width
public int widthwidth of best template
C type : l_int32
-
-
Constructor Details
-
L_Rch
public L_Rch() -
L_Rch
public L_Rch(int index, float score, com.sun.jna.Pointer text, int sample, int xloc, int yloc, int width)- Parameters:
index
- index of best template
C type : l_int32score
- correlation score of best template
C type : l_float32text
- character string of best template
C type : char*sample
- index of best sample (within the best
C type : l_int32xloc
- x-location of template (delx + shiftx)
C type : l_int32yloc
- y-location of template (dely + shifty)
C type : l_int32width
- width of best template
C type : l_int32
-
L_Rch
public L_Rch(com.sun.jna.Pointer peer)
-
-
Method Details
-
getFieldOrder
Gets this Structure's field names in their proper order.- Overrides:
getFieldOrder
in classcom.sun.jna.Structure
- Returns:
- list of ordered field names
-