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 Modifier and Type Class Description static class
L_Rch.ByReference
static class
L_Rch.ByValue
-
Field Summary
Fields Modifier and Type Field Description int
index
index of best template
C type : l_int32int
sample
index of best sample (within the best
C type : l_int32float
score
correlation score of best template
C type : l_float32com.sun.jna.Pointer
text
character string of best template
C type : char*int
width
width of best template
C type : l_int32int
xloc
x-location of template (delx + shiftx)
C type : l_int32int
yloc
y-location of template (dely + shifty)
C type : l_int32 -
Constructor Summary
-
Method Summary
Modifier and Type Method Description protected java.util.List<java.lang.String>
getFieldOrder()
Gets 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
protected java.util.List<java.lang.String> getFieldOrder()Gets this Structure's field names in their proper order.- Overrides:
getFieldOrder
in classcom.sun.jna.Structure
- Returns:
- list of ordered field names
-