All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sourceforge.lept4j.L_Dewarp Maven / Gradle / Ivy

package net.sourceforge.lept4j;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
import java.util.Arrays;
import java.util.List;
/**
 * 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. */ public class L_Dewarp extends Structure { /** * ptr to parent (not owned)
* C type : L_Dewarpa* */ public net.sourceforge.lept4j.L_Dewarpa.ByReference dewa; /** * source pix, 1 bpp
* C type : Pix* */ public net.sourceforge.lept4j.Pix.ByReference pixs; /** * sampled vert disparity array
* C type : FPix* */ public net.sourceforge.lept4j.FPix.ByReference sampvdispar; /** * sampled horiz disparity array
* C type : FPix* */ public net.sourceforge.lept4j.FPix.ByReference samphdispar; /** * sampled slope h-disparity array
* C type : FPix* */ public net.sourceforge.lept4j.FPix.ByReference sampydispar; /** * full vert disparity array
* C type : FPix* */ public net.sourceforge.lept4j.FPix.ByReference fullvdispar; /** * full horiz disparity array
* C type : FPix* */ public net.sourceforge.lept4j.FPix.ByReference fullhdispar; /** * full slope h-disparity array
* C type : FPix* */ public net.sourceforge.lept4j.FPix.ByReference fullydispar; /** * sorted y val of midpoint each line
* C type : Numa* */ public net.sourceforge.lept4j.Numa.ByReference namidys; /** * sorted curvature of each line
* C type : Numa* */ public net.sourceforge.lept4j.Numa.ByReference nacurves; /** * width of source image
* C type : l_int32 */ public int w; /** * height of source image
* C type : l_int32 */ public int h; /** * page number; important for reuse
* C type : l_int32 */ public int pageno; /** * sampling factor of disparity arrays
* C type : l_int32 */ public int sampling; /** * reduction factor of pixs: 1 or 2
* C type : l_int32 */ public int redfactor; /** * min number of long lines required
* C type : l_int32 */ public int minlines; /** * number of long lines found
* C type : l_int32 */ public int nlines; /** * min line curvature in micro-units
* C type : l_int32 */ public int mincurv; /** * max line curvature in micro-units
* C type : l_int32 */ public int maxcurv; /** * left edge slope in milli-units
* C type : l_int32 */ public int leftslope; /** * right edge slope in milli-units
* C type : l_int32 */ public int rightslope; /** * left edge curvature in micro-units
* C type : l_int32 */ public int leftcurv; /** * right edge curvature in micro-units
* C type : l_int32 */ public int rightcurv; /** * number of sampling pts in x-dir
* C type : l_int32 */ public int nx; /** * number of sampling pts in y-dir
* C type : l_int32 */ public int ny; /** * 0 if normal; 1 if has a refpage
* C type : l_int32 */ public int hasref; /** * page with disparity model to use
* C type : l_int32 */ public int refpage; /** * sets to 1 if vert disparity builds
* C type : l_int32 */ public int vsuccess; /** * sets to 1 if horiz disparity builds
* C type : l_int32 */ public int hsuccess; /** * sets to 1 if slope disparity builds
* C type : l_int32 */ public int ysuccess; /** * sets to 1 if valid vert disparity
* C type : l_int32 */ public int vvalid; /** * sets to 1 if valid horiz disparity
* C type : l_int32 */ public int hvalid; /** * if 1, skip horiz disparity
* C type : l_int32 */ public int skip_horiz; /** * sets to 1 if debug output requested
* C type : l_int32 */ public int debug; public L_Dewarp() { super(); } protected List getFieldOrder() { return Arrays.asList("dewa", "pixs", "sampvdispar", "samphdispar", "sampydispar", "fullvdispar", "fullhdispar", "fullydispar", "namidys", "nacurves", "w", "h", "pageno", "sampling", "redfactor", "minlines", "nlines", "mincurv", "maxcurv", "leftslope", "rightslope", "leftcurv", "rightcurv", "nx", "ny", "hasref", "refpage", "vsuccess", "hsuccess", "ysuccess", "vvalid", "hvalid", "skip_horiz", "debug"); } public L_Dewarp(Pointer peer) { super(peer); read(); } public static class ByReference extends L_Dewarp implements Structure.ByReference { }; public static class ByValue extends L_Dewarp implements Structure.ByValue { }; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy