Class JbClasser

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  JbClasser.ByReference  
      static class  JbClasser.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 baseindex
      number of components already processed
      C type : l_int32
      int components
      JB_CONN_COMPS, JB_CHARACTERS or
      C type : l_int32
      L_DnaHash.ByReference dahash
      Hash table to find templates by size
      C type : L_DnaHash*
      int h
      max height of original src images
      C type : l_int32
      int keep_pixaa
      If zero, pixaa isn't filled
      C type : l_int32
      int maxheight
      max component height allowed
      C type : l_int32
      int maxwidth
      max component width allowed
      C type : l_int32
      int method
      JB_RANKHAUS, JB_CORRELATION
      C type : l_int32
      Numa.ByReference naarea
      w * h of each template, without extra
      C type : Numa*
      Numa.ByReference naclass
      array of class ids for each component
      C type : Numa*
      Numa.ByReference nacomps
      number of components on each page
      C type : Numa*
      Numa.ByReference nafgt
      fg areas of undilated templates;
      C type : Numa*
      Numa.ByReference napage
      array of page nums for each component
      C type : Numa*
      int nclass
      current number of classes
      C type : l_int32
      int npages
      number of pages already processed
      C type : l_int32
      Pixaa.ByReference pixaa
      instances for each class; unbordered
      C type : Pixaa*
      Pixa.ByReference pixat
      templates for each class; bordered
      C type : Pixa*
      Pixa.ByReference pixatd
      templates for each class; bordered
      C type : Pixa*
      Pta.ByReference ptac
      centroids of all bordered cc
      C type : Pta*
      Pta.ByReference ptact
      centroids of all bordered template cc
      C type : Pta*
      Pta.ByReference ptall
      similar to ptaul, but for LL corners
      C type : Pta*
      Pta.ByReference ptaul
      array of UL corners at which the
      C type : Pta*
      float rankhaus
      rank val of haus match, each way
      C type : l_float32
      Sarray.ByReference safiles
      input page image file names
      C type : Sarray*
      int sizehaus
      size of square struct element for haus
      C type : l_int32
      float thresh
      thresh value for correlation score
      C type : l_float32
      int w
      max width of original src images
      C type : l_int32
      float weightfactor
      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()  
      JbClasser​(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 Detail

      • 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*
      • 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 Detail

      • JbClasser

        public JbClasser()
      • JbClasser

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

      • 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