public static int fpixaSetPixel(this FPixa fpixa, int index, int x, int y, float val) { if (null == fpixa) { throw new ArgumentNullException("fpixa, fpix cannot be null."); } return(Native.DllImports.fpixaSetPixel((HandleRef)fpixa, index, x, y, val)); }
public static int fpixaGetFPixDimensions(this FPixa fpixa, int index, out int pw, out int ph) { if (null == fpixa) { throw new ArgumentNullException("fpixa, fpix cannot be null."); } return(Native.DllImports.fpixaGetFPixDimensions((HandleRef)fpixa, index, out pw, out ph)); }
public static IntPtr fpixaGetData(this FPixa fpixa, int index) { if (null == fpixa) { throw new ArgumentNullException("fpixa, fpix cannot be null."); } return(Native.DllImports.fpixaGetData((HandleRef)fpixa, index)); }
public static int fpixaChangeRefcount(this FPixa fpixa, int delta) { if (null == fpixa) { throw new ArgumentNullException("fpixa, fpix cannot be null."); } return(Native.DllImports.fpixaChangeRefcount((HandleRef)fpixa, delta)); }
// FPixa addition public static int fpixaAddFPix(this FPixa fpixa, FPix fpix, int copyflag) { if (null == fpixa || null == fpix) { throw new ArgumentNullException("fpixa, fpix cannot be null."); } return(Native.DllImports.fpixaAddFPix((HandleRef)fpixa, (HandleRef)fpix, copyflag)); }
public static void fpixaDestroy(this FPixa pfpixa) { if (null == pfpixa) { throw new ArgumentNullException("pfpixa cannot be null"); } var pointer = (IntPtr)pfpixa; Native.DllImports.fpixaDestroy(ref pointer); }
public static FPix fpixaGetFPix(this FPixa fpixa, int index, int accesstype) { if (null == fpixa) { throw new ArgumentNullException("fpixa cannot be null."); } var pointer = Native.DllImports.fpixaGetFPix((HandleRef)fpixa, index, accesstype); if (IntPtr.Zero == pointer) { return(null); } else { return(new FPix(pointer)); } }
public static Pix fpixaConvertLABToRGB(this FPixa fpixa) { if (null == fpixa) { throw new ArgumentNullException("fpixa cannot be null."); } var pointer = Native.DllImports.fpixaConvertLABToRGB((HandleRef)fpixa); if (IntPtr.Zero == pointer) { return(null); } else { return(new Pix(pointer)); } }
public static FPixa fpixaCopy(this FPixa fpixa, int copyflag) { if (null == fpixa) { throw new ArgumentNullException("fpixa cannot be null."); } var pointer = Native.DllImports.fpixaCopy((HandleRef)fpixa, copyflag); if (IntPtr.Zero == pointer) { return(null); } else { return(new FPixa(pointer)); } }
// Top level quadtree linear statistics public static int pixQuadtreeMean(this Pix pixs, int nlevels, Pix pix_ma, out FPixa pfpixa) { throw new NotImplementedException(); }
// Display quadtree public static Pix fpixaDisplayQuadtree(this FPixa fpixa, int factor, int fontsize) { throw new NotImplementedException(); }
public static int quadtreeGetChildren(this FPixa fpixa, int level, int x, int y, out float pval00, out float pval10, out float pval01, out float pval11) { throw new NotImplementedException(); }
// Quadtree access public static int quadtreeGetParent(this FPixa fpixa, int level, int x, int y, out float pval) { throw new NotImplementedException(); }
public static int pixQuadtreeVariance(this Pix pixs, int nlevels, Pix pix_ma, DPix dpix_msa, out FPixa pfpixa_v, out FPixa pfpixa_rv) { throw new NotImplementedException(); }