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.
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  L_Rch.ByReference  
    static class  L_Rch.ByValue  

    Nested classes/interfaces inherited from class com.sun.jna.Structure

    com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField
  • Field Summary

    Fields 
    Modifier and Type Field Description
    int index
    index of best template
    C type : l_int32
    int sample
    index of best sample (within the best
    C type : l_int32
    float score
    correlation score of best template
    C type : l_float32
    com.sun.jna.Pointer text
    character string of best template
    C type : char*
    int width
    width of best template
    C type : l_int32
    int xloc
    x-location of template (delx + shiftx)
    C type : l_int32
    int yloc
    y-location of template (dely + shifty)
    C type : l_int32

    Fields inherited from class com.sun.jna.Structure

    ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
  • Constructor Summary

    Constructors 
    Constructor Description
    L_Rch()  
    L_Rch​(int index, float score, com.sun.jna.Pointer text, int sample, int xloc, int yloc, int width)  
    L_Rch​(com.sun.jna.Pointer peer)  
  • 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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • index

      public int index
      index of best template
      C type : l_int32
    • score

      public float score
      correlation score of best template
      C type : l_float32
    • text

      public com.sun.jna.Pointer text
      character string of best template
      C type : char*
    • sample

      public int sample
      index of best sample (within the best
      C type : l_int32
    • xloc

      public int xloc
      x-location of template (delx + shiftx)
      C type : l_int32
    • yloc

      public int yloc
      y-location of template (dely + shifty)
      C type : l_int32
    • width

      public int width
      width 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_int32
      score - correlation score of best template
      C type : l_float32
      text - character string of best template
      C type : char*
      sample - index of best sample (within the best
      C type : l_int32
      xloc - x-location of template (delx + shiftx)
      C type : l_int32
      yloc - y-location of template (dely + shifty)
      C type : l_int32
      width - 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 class com.sun.jna.Structure
      Returns:
      list of ordered field names