// Build the line disparity model public static int dewarpBuildLineModel(this L_Dewarp dew, int opensize, string debugfile) { if (null == dew) { throw new System.IO.FileNotFoundException("dew cannot be null."); } return(Native.DllImports.dewarpBuildLineModel((HandleRef)dew, opensize, debugfile)); }
public static int dewarpPopulateFullRes(this L_Dewarp dew, Pix pix, int x, int y) { if (null == dew) { throw new ArgumentNullException("dew cannot be null."); } return(Native.DllImports.dewarpPopulateFullRes((HandleRef)dew, (HandleRef)pix, x, y)); }
// Stripping out data and populating full res disparity public static int dewarpMinimize(this L_Dewarp dew) { if (null == dew) { throw new ArgumentNullException("dew cannot be null."); } return(Native.DllImports.dewarpMinimize((HandleRef)dew)); }
// Build disparity model for slope near binding public static int dewarpFindHorizSlopeDisparity(this L_Dewarp dew, Pix pixb, float fractthresh, int parity) { if (null == dew || null == pixb) { throw new System.IO.FileNotFoundException("dew, pixb cannot be null."); } return(Native.DllImports.dewarpFindHorizSlopeDisparity((HandleRef)dew, (HandleRef)pixb, fractthresh, parity)); }
public static int dewarpFindHorizDisparity(this L_Dewarp dew, Ptaa ptaa) { if (null == dew || null == ptaa) { throw new System.IO.FileNotFoundException("dew, ptaa cannot be null."); } return(Native.DllImports.dewarpFindHorizDisparity((HandleRef)dew, (HandleRef)ptaa)); }
public static int dewarpDebug(this L_Dewarp dew, string subdirs, int index) { if (null == dew || string.IsNullOrWhiteSpace(subdirs)) { throw new ArgumentNullException("dewa, subdirs cannot be null."); } return(Native.DllImports.dewarpDebug((HandleRef)dew, subdirs, index)); }