Searched refs:threshold (Results 1 – 5 of 5) sorted by relevance
| /potrace-1.14/src/ |
| H A D | bitmap_io.c | 20 static int bm_readbody_bmp(FILE *f, double threshold, potrace_bitmap_t **bmp); 121 int bm_read(FILE *f, double threshold, potrace_bitmap_t **bmp) { in bm_read() argument 135 return bm_readbody_pnm(f, threshold, bmp, magic[1]); in bm_read() 138 return bm_readbody_bmp(f, threshold, bmp); in bm_read() 210 BM_UPUT(bm, x, y, b > threshold * max ? 0 : 1); in bm_readbody_pnm() 234 BM_UPUT(bm, x, y, sum > 3 * threshold * max ? 0 : 1); in bm_readbody_pnm() 287 BM_UPUT(bm, x, y, b > threshold * max ? 0 : 1); in bm_readbody_pnm() 323 BM_UPUT(bm, x, y, sum > 3 * threshold * max ? 0 : 1); in bm_readbody_pnm() 561 coltable[i] = (c > 3 * threshold * 255 ? 0 : 1); in bm_readbody_bmp() 649 BM_UPUT(bm, x, y, c > 3 * threshold * 255 ? 0 : 1); in bm_readbody_bmp() [all …]
|
| H A D | mkbitmap.c | 160 static potrace_bitmap_t *threshold(greymap_t *gm, double c) { in threshold() function 441 sm = threshold(gm, info.level); in process_file()
|
| /potrace-1.14/ |
| H A D | README | 85 -a, --alphamax <n> - corner threshold parameter (default 1)
|
| H A D | ChangeLog | 357 and PPM format and convert to bitmap by simple threshold method.
|
| /potrace-1.14/doc/ |
| H A D | potracelib.tex | 523 given threshold. Figure~\ref{fig-turdsize} shows the result of 576 The \verb!alphamax! parameter is a threshold for the detection of
|