// Top-level rotation by multiples of 90 degrees public static Pix pixRotateOrth(this Pix pixs, int quads) { throw new NotImplementedException(); }
// Builds an image of the color content, on a per-pixel basis, as a measure of the amount of divergence of each color component(R, G, B) from gray. public static int pixColorContent(this Pix pixs, int rwhite, int gwhite, int bwhite, int mingray, out Pix ppixr, out Pix ppixg, out Pix ppixb) { if (null == pixs) { throw new ArgumentNullException("pixs cannot be null."); } IntPtr ppixrPtr, ppixgPtr, ppixbPtr; var result = Native.DllImports.pixColorContent((HandleRef)pixs, rwhite, gwhite, bwhite, mingray, out ppixrPtr, out ppixgPtr, out ppixbPtr); ppixr = new Pix(ppixrPtr); ppixg = new Pix(ppixgPtr); ppixb = new Pix(ppixbPtr); return(result); }
public static Pix Translate(Pix pix) { return(Translate(pix, ColorOptions.BringInWhite)); }
// Full image rasterop with no translation public static int pixRasteropFullImage(this Pix pixd, Pix pixs, int op) { throw new NotImplementedException(); }
// Convolution for mean, mean square, variance and rms deviation in specified window public static int pixWindowedStats(this Pix pixs, int wc, int hc, int hasborder, out Pix ppixm, out Pix ppixms, out FPix pfpixv, out FPix pfpixrv) { if (null == pixs) { throw new ArgumentNullException("pixs cannot be null."); } IntPtr ppixmPtr, ppixmsPtr, pfpixvPtr, pfpixrvPtr; var result = Native.DllImports.pixWindowedStats((HandleRef)pixs, wc, hc, hasborder, out ppixmPtr, out ppixmsPtr, out pfpixvPtr, out pfpixrvPtr); ppixm = new Pix(ppixmPtr); ppixms = new Pix(ppixmsPtr); pfpixv = new FPix(pfpixvPtr); pfpixrv = new FPix(pfpixrvPtr); return(result); }
public static int pixWriteStreamTiff(IntPtr fp, Pix pix, int comptype) { throw new NotImplementedException(); }
// Full image translation(general and in-place) public static Pix pixTranslate(this Pix pixd, Pix pixs, int hshift, int vshift, int incolor) { throw new NotImplementedException(); }
public static Numa pixReadBarcodeWidths(this Pix pixs, int method, int debugflag) { throw new NotImplementedException(); }
// Location public static Boxa pixLocateBarcodes(this Pix pixs, int thresh, out Pix ppixb, out Pix ppixm) { throw new NotImplementedException(); }
// Stroke parameter measurement public static int pixFindStrokeLength(this Pix pixs, IntPtr tab8, out int plength) { throw new NotImplementedException(); }
// Next levels public static Pixa pixExtractBarcodes(this Pix pixs, int debugflag) { throw new NotImplementedException(); }
public static Pix pixSetStrokeWidth(this Pix pixs, int width, int thinfirst, int connectivity) { throw new NotImplementedException(); }
public static Pix pixModifyStrokeWidth(this Pix pixs, float width, float targetw) { throw new NotImplementedException(); }
public static int pixFindStrokeWidth(this Pix pixs, float thresh, IntPtr tab8, out float pwidth, out Numa pnahisto) { throw new NotImplementedException(); }
// Writing tiff: public static int pixWriteTiff(string filename, Pix pix, int comptype, string modestr) { throw new NotImplementedException(); }
// Extraction and deskew public static Pix pixDeskewBarcode(this Pix pixs, Pix pixb, HandleRef box, int margin, int threshold, out float pangle, out float pconf) { throw new NotImplementedException(); }
public static int pixWriteTiffCustom(string filename, Pix pix, int comptype, string modestr, Numa natags, Sarray savals, Sarray satypes, Numa nasizes) { throw new NotImplementedException(); }
// Process to get line widths public static Numa pixExtractBarcodeWidths1(this Pix pixs, float thresh, float binfract, out Numa pnaehist, out Numa pnaohist, int debugflag) { throw new NotImplementedException(); }
public static int pixWriteStreamTiffWA(IntPtr fp, Pix pix, int comptype, string modestr) { throw new NotImplementedException(); }
public static Numa pixExtractBarcodeWidths2(this Pix pixs, float thresh, out float pwidth, out Numa pnac, int debugflag) { throw new NotImplementedException(); }
public static int pixRasteropIP(this Pix pixd, int hshift, int vshift, int incolor) { throw new NotImplementedException(); }
public static Numa pixExtractBarcodeCrossings(this Pix pixs, float thresh, int debugflag) { throw new NotImplementedException(); }
// General rasterop public static int pixRasterop(this Pix pixd, int dx, int dy, int dw, int dh, int op, Pix pixs, int sx, int sy) { throw new NotImplementedException(); }
// Top level public static Sarray pixProcessBarcodes(this Pix pixs, int format, int method, out Sarray psaw, int debugflag) { throw new NotImplementedException(); }
// Identify images that have highlight(red) color public static int pixHasHighlightRed(this Pix pixs, int factor, float fract, float fthresh, out int phasred, out float pratio, out Pix ppixdb) { if (null == pixs) { throw new ArgumentNullException("pixs cannot be null."); } IntPtr ppixdbPtr; var result = Native.DllImports.pixHasHighlightRed((HandleRef)pixs, factor, fract, fthresh, out phasred, out pratio, out ppixdbPtr); ppixdb = new Pix(ppixdbPtr); return(result); }
public static int pixWriteMemTiff(out IntPtr pdata, IntPtr psize, Pix pix, int comptype) { throw new NotImplementedException(); }
// Determine if there are significant color regions that are not background in a page image public static int pixFindColorRegions(this Pix pixs, Pix pixm, int factor, int lightthresh, int darkthresh, int mindiff, int colordiff, float edgefract, out float pcolorfract, out Pix pcolormask1, out Pix pcolormask2, Pixa pixadb) { if (null == pixs) { throw new ArgumentNullException("pixs cannot be null."); } IntPtr pcolormask1Ptr, pcolormask2Ptr; var result = Native.DllImports.pixFindColorRegions((HandleRef)pixs, (HandleRef)pixm, factor, lightthresh, darkthresh, mindiff, colordiff, edgefract, out pcolorfract, out pcolormask1Ptr, out pcolormask2Ptr, (HandleRef)pixadb); pcolormask1 = new Pix(pcolormask1Ptr); pcolormask2 = new Pix(pcolormask2Ptr); return(result); }
public static int pixWriteMemTiffCustom(out IntPtr pdata, IntPtr psize, Pix pix, int comptype, Numa natags, Sarray savals, Sarray satypes, Numa nasizes) { throw new NotImplementedException(); }
public static Pix Translate(Pix pix, ColorOptions options) { return(Translate(pix, DefaultHorizontalShift, DefaultVerticalShift, options)); }
// Top-bottom flip public static Pix pixFlipTB(this Pix pixd, Pix pixs) { throw new NotImplementedException(); }