// Determine local skew public static int pixGetLocalSkewTransform(this Pix pixs, int nslices, int redsweep, int redsearch, float sweeprange, float sweepdelta, float minbsdelta, out Pta pptas, out Pta pptad) { if (null == pixs) { throw new ArgumentNullException("pixs cannot be null."); } IntPtr pptasPtr, pptadPtr; var result = Native.DllImports.pixGetLocalSkewTransform((HandleRef)pixs, nslices, redsweep, redsearch, sweeprange, sweepdelta, minbsdelta, out pptasPtr, out pptadPtr); if (IntPtr.Zero == pptasPtr || IntPtr.Zero == pptadPtr) { pptas = null; pptad = null; } else { pptas = new Pta(pptasPtr); pptad = new Pta(pptadPtr); } return(result); }
// Projective coordinate transformation public static int getProjectiveXformCoeffs(Pta ptas, Pta ptad, out IntPtr pvc) { throw new NotImplementedException(); }
public static Pta ptaSelectByValue(this Pta ptas, float xth, float yth, int type, int relation) { throw new NotImplementedException(); }
// Simple rearrangements public static Pta ptaSubsample(this Pta ptas, int subfactor) { throw new NotImplementedException(); }
public static Pta ptaTransform(this Pta ptas, int shiftx, int shifty, float scalex, float scaley) { throw new NotImplementedException(); }
public static int ptaContainsPt(this Pta pta, int x, int y) { throw new NotImplementedException(); }
public static int ptaGetRange(this Pta pta, out float pminx, out float pmaxx, out float pminy, out float pmaxy) { throw new NotImplementedException(); }
public static Pta ptaSelectRange(this Pta ptas, int first, int last) { throw new NotImplementedException(); }
public static int ptaNoisyQuadraticLSF(this Pta pta, float factor, out Pta pptad, out float pa, out float pb, out float pc, out float pmederr, out Numa pnafit) { throw new NotImplementedException(); }
public static int ptaJoin(this Pta ptad, Pta ptas, int istart, int iend) { throw new NotImplementedException(); }
public static int ptaGetQuarticLSF(this Pta pta, out float pa, out float pb, out float pc, out float pd, out float pe, out Numa pnafit) { throw new NotImplementedException(); }
// Least Squares Fit public static int ptaGetLinearLSF(this Pta pta, out float pa, out float pb, out Numa pnafit) { throw new NotImplementedException(); }
public static Pta ptaCropToMask(this Pta ptas, Pix pixm) { throw new NotImplementedException(); }
public static int pixaAccumulateSamples(this Pixa pixa, Pta pta, out Pix ppixd, out float px, out float py) { throw new NotImplementedException(); }
// Projective(4 pt) image transformation using a sampled (to nearest integer) transform on each dest point public static Pix pixProjectiveSampledPta(this Pix pixs, Pta ptad, Pta ptas, int incolor) { throw new NotImplementedException(); }
public static Pta ptaTranspose(this Pta ptas) { throw new NotImplementedException(); }
public static Pta ptaCyclicPerm(this Pta ptas, int xs, int ys) { throw new NotImplementedException(); }
// Interconversions with Pix public static int pixPlotAlongPta(this Pix pixs, Pta pta, int outformat, string title) { throw new NotImplementedException(); }
// Geometric public static Box ptaGetBoundingRegion(this Pta pta) { throw new NotImplementedException(); }
public static Pix pixGenerateFromPta(this Pta pta, int w, int h) { var pointer = Native.DllImports.pixGenerateFromPta((HandleRef)pta, w, h); return(new Pix(pointer)); }
public static Pta ptaGetInsideBox(this Pta ptas, HandleRef box) { throw new NotImplementedException(); }
public static int ptaConvertToNuma(this Pta pta, out Numa pnax, out Numa pnay) { throw new NotImplementedException(); }
public static int ptaTestIntersection(this Pta pta1, Pta pta2) { throw new NotImplementedException(); }
public static Pta ptaReverse(this Pta ptas, int type) { throw new NotImplementedException(); }
public static int ptaPtInsidePolygon(this Pta pta, float x, float y, out int pinside) { throw new NotImplementedException(); }
// Display Pta and Ptaa public static Pix pixDisplayPta(this Pix pixd, Pix pixs, Pta pta) { throw new NotImplementedException(); }
// Min/max and filtering public static int ptaGetMinMax(this Pta pta, out float pxmin, out float pymin, out float pxmax, out float pymax) { throw new NotImplementedException(); }
public static Pix pixDisplayPtaPattern(this Pix pixd, Pix pixs, Pta pta, Pix pixp, int cx, int cy, uint color) { throw new NotImplementedException(); }
// Selection of minima in mask of connected components public static int pixSelectMinInConnComp(this Pix pixs, Pix pixm, out Pta ppta, out Numa pnav) { throw new NotImplementedException(); }
public static Pta ptaReplicatePattern(this Pta ptas, Pix pixp, Pta ptap, int cx, int cy, int w, int h) { throw new NotImplementedException(); }