Class JbClasser

java.lang.Object
com.sun.jna.Structure
net.sourceforge.lept4j.JbClasser
Direct Known Subclasses:
JbClasser.ByReference, JbClasser.ByValue

public class JbClasser extends com.sun.jna.Structure
native declaration : jbclass.h:29
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 
     
    static class 
     

    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
    number of components already processed
    C type : l_int32
    int
    JB_CONN_COMPS, JB_CHARACTERS or
    C type : l_int32
    Hash table to find templates by size
    C type : L_DnaHash*
    int
    max height of original src images
    C type : l_int32
    int
    If zero, pixaa isn't filled
    C type : l_int32
    int
    max component height allowed
    C type : l_int32
    int
    max component width allowed
    C type : l_int32
    int
    JB_RANKHAUS, JB_CORRELATION
    C type : l_int32
    w * h of each template, without extra
    C type : Numa*
    array of class ids for each component
    C type : Numa*
    number of components on each page
    C type : Numa*
    fg areas of undilated templates;
    C type : Numa*
    array of page nums for each component
    C type : Numa*
    int
    current number of classes
    C type : l_int32
    int
    number of pages already processed
    C type : l_int32
    instances for each class; unbordered
    C type : Pixaa*
    templates for each class; bordered
    C type : Pixa*
    templates for each class; bordered
    C type : Pixa*
    centroids of all bordered cc
    C type : Pta*
    centroids of all bordered template cc
    C type : Pta*
    similar to ptaul, but for LL corners
    C type : Pta*
    array of UL corners at which the
    C type : Pta*
    float
    rank val of haus match, each way
    C type : l_float32
    input page image file names
    C type : Sarray*
    int
    size of square struct element for haus
    C type : l_int32
    float
    thresh value for correlation score
    C type : l_float32
    int
    max width of original src images
    C type : l_int32
    float
    corrects thresh value for heaver
    C type : l_float32

    Fields inherited from class com.sun.jna.Structure

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

    Constructors
    Constructor
    Description
     
    JbClasser​(com.sun.jna.Pointer peer)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected List<String>
    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

    • safiles

      public Sarray.ByReference safiles
      input page image file names
      C type : Sarray*
    • method

      public int method
      JB_RANKHAUS, JB_CORRELATION
      C type : l_int32
    • components

      public int components
      JB_CONN_COMPS, JB_CHARACTERS or
      C type : l_int32
    • maxwidth

      public int maxwidth
      max component width allowed
      C type : l_int32
    • maxheight

      public int maxheight
      max component height allowed
      C type : l_int32
    • npages

      public int npages
      number of pages already processed
      C type : l_int32
    • baseindex

      public int baseindex
      number of components already processed
      C type : l_int32
    • nacomps

      public Numa.ByReference nacomps
      number of components on each page
      C type : Numa*
    • sizehaus

      public int sizehaus
      size of square struct element for haus
      C type : l_int32
    • rankhaus

      public float rankhaus
      rank val of haus match, each way
      C type : l_float32
    • thresh

      public float thresh
      thresh value for correlation score
      C type : l_float32
    • weightfactor

      public float weightfactor
      corrects thresh value for heaver
      C type : l_float32
    • naarea

      public Numa.ByReference naarea
      w * h of each template, without extra
      C type : Numa*
    • w

      public int w
      max width of original src images
      C type : l_int32
    • h

      public int h
      max height of original src images
      C type : l_int32
    • nclass

      public int nclass
      current number of classes
      C type : l_int32
    • keep_pixaa

      public int keep_pixaa
      If zero, pixaa isn't filled
      C type : l_int32
    • pixaa

      public Pixaa.ByReference pixaa
      instances for each class; unbordered
      C type : Pixaa*
    • pixat

      public Pixa.ByReference pixat
      templates for each class; bordered
      C type : Pixa*
    • pixatd

      public Pixa.ByReference pixatd
      templates for each class; bordered
      C type : Pixa*
    • dahash

      public L_DnaHash.ByReference dahash
      Hash table to find templates by size
      C type : L_DnaHash*
    • nafgt

      public Numa.ByReference nafgt
      fg areas of undilated templates;
      C type : Numa*
    • ptac

      public Pta.ByReference ptac
      centroids of all bordered cc
      C type : Pta*
    • ptact

      public Pta.ByReference ptact
      centroids of all bordered template cc
      C type : Pta*
    • naclass

      public Numa.ByReference naclass
      array of class ids for each component
      C type : Numa*
    • napage

      public Numa.ByReference napage
      array of page nums for each component
      C type : Numa*
    • ptaul

      public Pta.ByReference ptaul
      array of UL corners at which the
      C type : Pta*
    • ptall

      public Pta.ByReference ptall
      similar to ptaul, but for LL corners
      C type : Pta*
  • Constructor Details

    • JbClasser

      public JbClasser()
    • JbClasser

      public JbClasser(com.sun.jna.Pointer peer)
  • Method Details

    • getFieldOrder

      protected List<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