Class L_Dewarp

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

public class L_Dewarp extends com.sun.jna.Structure
Data structure for a single dewarp
native declaration : dewarp.h:52
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
    sets to 1 if debug output requested
    C type : l_int32
    ptr to parent (not owned)
    C type : L_Dewarpa*
    full horiz disparity array
    C type : FPix*
    full vert disparity array
    C type : FPix*
    full slope h-disparity array
    C type : FPix*
    int
    height of source image
    C type : l_int32
    int
    0 if normal; 1 if has a refpage
    C type : l_int32
    int
    sets to 1 if horiz disparity builds
    C type : l_int32
    int
    sets to 1 if valid horiz disparity
    C type : l_int32
    int
    left edge curvature in micro-units
    C type : l_int32
    int
    left edge slope in milli-units
    C type : l_int32
    int
    max line curvature in micro-units
    C type : l_int32
    int
    min line curvature in micro-units
    C type : l_int32
    int
    min number of long lines required
    C type : l_int32
    sorted curvature of each line
    C type : Numa*
    sorted y val of midpoint each line
    C type : Numa*
    int
    number of long lines found
    C type : l_int32
    int
    number of sampling pts in x-dir
    C type : l_int32
    int
    number of sampling pts in y-dir
    C type : l_int32
    int
    page number; important for reuse
    C type : l_int32
    source pix, 1 bpp
    C type : Pix*
    int
    reduction factor of pixs: 1 or 2
    C type : l_int32
    int
    page with disparity model to use
    C type : l_int32
    int
    right edge curvature in micro-units
    C type : l_int32
    int
    right edge slope in milli-units
    C type : l_int32
    sampled horiz disparity array
    C type : FPix*
    int
    sampling factor of disparity arrays
    C type : l_int32
    sampled vert disparity array
    C type : FPix*
    sampled slope h-disparity array
    C type : FPix*
    int
    if 1, skip horiz disparity
    C type : l_int32
    int
    sets to 1 if vert disparity builds
    C type : l_int32
    int
    sets to 1 if valid vert disparity
    C type : l_int32
    int
    width of source image
    C type : l_int32
    int
    sets to 1 if slope disparity builds
    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_Dewarp​(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

    • dewa

      public L_Dewarpa.ByReference dewa
      ptr to parent (not owned)
      C type : L_Dewarpa*
    • pixs

      public Pix.ByReference pixs
      source pix, 1 bpp
      C type : Pix*
    • sampvdispar

      public FPix.ByReference sampvdispar
      sampled vert disparity array
      C type : FPix*
    • samphdispar

      public FPix.ByReference samphdispar
      sampled horiz disparity array
      C type : FPix*
    • sampydispar

      public FPix.ByReference sampydispar
      sampled slope h-disparity array
      C type : FPix*
    • fullvdispar

      public FPix.ByReference fullvdispar
      full vert disparity array
      C type : FPix*
    • fullhdispar

      public FPix.ByReference fullhdispar
      full horiz disparity array
      C type : FPix*
    • fullydispar

      public FPix.ByReference fullydispar
      full slope h-disparity array
      C type : FPix*
    • namidys

      public Numa.ByReference namidys
      sorted y val of midpoint each line
      C type : Numa*
    • nacurves

      public Numa.ByReference nacurves
      sorted curvature of each line
      C type : Numa*
    • w

      public int w
      width of source image
      C type : l_int32
    • h

      public int h
      height of source image
      C type : l_int32
    • pageno

      public int pageno
      page number; important for reuse
      C type : l_int32
    • sampling

      public int sampling
      sampling factor of disparity arrays
      C type : l_int32
    • redfactor

      public int redfactor
      reduction factor of pixs: 1 or 2
      C type : l_int32
    • minlines

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

      public int nlines
      number of long lines found
      C type : l_int32
    • mincurv

      public int mincurv
      min line curvature in micro-units
      C type : l_int32
    • maxcurv

      public int maxcurv
      max line curvature in micro-units
      C type : l_int32
    • leftslope

      public int leftslope
      left edge slope in milli-units
      C type : l_int32
    • rightslope

      public int rightslope
      right edge slope in milli-units
      C type : l_int32
    • leftcurv

      public int leftcurv
      left edge curvature in micro-units
      C type : l_int32
    • rightcurv

      public int rightcurv
      right edge curvature in micro-units
      C type : l_int32
    • nx

      public int nx
      number of sampling pts in x-dir
      C type : l_int32
    • ny

      public int ny
      number of sampling pts in y-dir
      C type : l_int32
    • hasref

      public int hasref
      0 if normal; 1 if has a refpage
      C type : l_int32
    • refpage

      public int refpage
      page with disparity model to use
      C type : l_int32
    • vsuccess

      public int vsuccess
      sets to 1 if vert disparity builds
      C type : l_int32
    • hsuccess

      public int hsuccess
      sets to 1 if horiz disparity builds
      C type : l_int32
    • ysuccess

      public int ysuccess
      sets to 1 if slope disparity builds
      C type : l_int32
    • vvalid

      public int vvalid
      sets to 1 if valid vert disparity
      C type : l_int32
    • hvalid

      public int hvalid
      sets to 1 if valid horiz disparity
      C type : l_int32
    • skip_horiz

      public int skip_horiz
      if 1, skip horiz disparity
      C type : l_int32
    • debug

      public int debug
      sets to 1 if debug output requested
      C type : l_int32
  • Constructor Details

    • L_Dewarp

      public L_Dewarp()
    • L_Dewarp

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