Class L_Dewarpa

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

public class L_Dewarpa extends com.sun.jna.Structure
Data structure to hold a number of Dewarp
native declaration : dewarp.h:19
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
    if there are multiple columns,
    C type : l_int32
    com.sun.jna.ptr.PointerByReference
    array of ptrs to page dewarp
    C type : L_Dewarp**
    com.sun.jna.ptr.PointerByReference
    array of ptrs to cached dewarps
    C type : L_Dewarp**
    int
    maximum abs diff left-right
    C type : l_int32
    int
    maximum abs diff line
    C type : l_int32
    int
    maximum abs left or right edge
    C type : l_int32
    int
    maximum abs left or right edge
    C type : l_int32
    int
    maximum abs line curvature
    C type : l_int32
    int
    max distance for getting ref page
    C type : l_int32
    int
    maximum page number in array
    C type : l_int32
    int
    minimum abs diff line
    C type : l_int32
    int
    min number of long lines required
    C type : l_int32
    int
    invalid models have been removed
    C type : l_int32
    int
    size of dewarp ptr array
    C type : l_int32
    list of page numbers for pages
    C type : Numa*
    list of page numbers with either
    C type : Numa*
    int
    reduction factor of input: 1 or 2
    C type : l_int32
    int
    disparity arrays sampling factor
    C type : l_int32
    int
    use both disparity arrays if
    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_Dewarpa​(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

    • nalloc

      public int nalloc
      size of dewarp ptr array
      C type : l_int32
    • maxpage

      public int maxpage
      maximum page number in array
      C type : l_int32
    • dewarp

      public com.sun.jna.ptr.PointerByReference dewarp
      array of ptrs to page dewarp
      C type : L_Dewarp**
    • dewarpcache

      public com.sun.jna.ptr.PointerByReference dewarpcache
      array of ptrs to cached dewarps
      C type : L_Dewarp**
    • namodels

      public Numa.ByReference namodels
      list of page numbers for pages
      C type : Numa*
    • napages

      public Numa.ByReference napages
      list of page numbers with either
      C type : Numa*
    • redfactor

      public int redfactor
      reduction factor of input: 1 or 2
      C type : l_int32
    • sampling

      public int sampling
      disparity arrays sampling factor
      C type : l_int32
    • minlines

      public int minlines
      min number of long lines required
      C type : l_int32
    • maxdist

      public int maxdist
      max distance for getting ref page
      C type : l_int32
    • max_linecurv

      public int max_linecurv
      maximum abs line curvature
      C type : l_int32
    • min_diff_linecurv

      public int min_diff_linecurv
      minimum abs diff line
      C type : l_int32
    • max_diff_linecurv

      public int max_diff_linecurv
      maximum abs diff line
      C type : l_int32
    • max_edgeslope

      public int max_edgeslope
      maximum abs left or right edge
      C type : l_int32
    • max_edgecurv

      public int max_edgecurv
      maximum abs left or right edge
      C type : l_int32
    • max_diff_edgecurv

      public int max_diff_edgecurv
      maximum abs diff left-right
      C type : l_int32
    • useboth

      public int useboth
      use both disparity arrays if
      C type : l_int32
    • check_columns

      public int check_columns
      if there are multiple columns,
      C type : l_int32
    • modelsready

      public int modelsready
      invalid models have been removed
      C type : l_int32
  • Constructor Details

    • L_Dewarpa

      public L_Dewarpa()
    • L_Dewarpa

      public L_Dewarpa(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