Searched refs:npix (Results 1 – 9 of 9) sorted by relevance
/external/tesseract/liblept/ |
D | colorquant2.c | 165 l_int32 npix; /* number of pixels in the vbox */ member 382 vbox->npix = vboxGetCount(vbox, histo, sigbits); in pixMedianCutQuantGeneral() 405 vbox1->sortparam = vbox1->npix; in pixMedianCutQuantGeneral() 410 vbox2->sortparam = vbox2->npix; in pixMedianCutQuantGeneral() 426 vbox->sortparam = vbox->npix * vbox->vol; in pixMedianCutQuantGeneral() 445 vbox1->sortparam = vbox1->npix * vbox1->vol; in pixMedianCutQuantGeneral() 450 vbox2->sortparam = vbox2->npix * vbox2->vol; in pixMedianCutQuantGeneral() 466 vbox->sortparam = vbox->npix; in pixMedianCutQuantGeneral() 1095 vbox1->npix = vboxGetCount(vbox1, histo, sigbits); in medianCutApply() 1096 vbox2->npix = vboxGetCount(vbox2, histo, sigbits); in medianCutApply() [all …]
|
D | colorcontent.c | 470 l_int32 total, npix, ncolor, rdiff, gdiff, bdiff, maxdiff; in pixColorFraction() local 487 npix = ncolor = total = 0; in pixColorFraction() 497 npix++; in pixColorFraction() 508 if (npix == 0) { in pixColorFraction() 512 *ppixfract = (l_float32)npix / (l_float32)total; in pixColorFraction() 513 *pcolorfract = (l_float32)ncolor / (l_float32)npix; in pixColorFraction()
|
D | pix2.c | 631 l_int32 n, i, j, w, h, d, wpl, npix; in pixSetAllArbitrary() local 669 npix = 32 / d; /* number of pixels per 32 bit word */ in pixSetAllArbitrary() 670 for (j = 0; j < npix; j++) in pixSetAllArbitrary() 1384 l_int32 npix, in pixAddBorder() argument 1391 if (npix == 0) in pixAddBorder() 1393 return pixAddBorderGeneral(pixs, npix, npix, npix, npix, val); in pixAddBorder() 1474 l_int32 npix) in pixRemoveBorder() argument 1480 if (npix == 0) in pixRemoveBorder() 1482 return pixRemoveBorderGeneral(pixs, npix, npix, npix, npix); in pixRemoveBorder()
|
D | colorquant1.c | 184 l_float32 npix; /* parameter on which to sort */ member 665 l_int32 npix; /* number of remaining pixels to be assigned */ in octreeGenerateAndPrune() local 703 npix = w * h; /* initialize to all pixels */ in octreeGenerateAndPrune() 705 ppc = npix / ncolor; in octreeGenerateAndPrune() 767 npix -= cqcsub->n; in octreeGenerateAndPrune() 770 ppc = npix / ncolor; in octreeGenerateAndPrune() 772 ppc = npix / (ncolor + reservedcolors); in octreeGenerateAndPrune() 781 cqcsub->n, npix, ppc); in octreeGenerateAndPrune() 822 npix -= cqc->n; in octreeGenerateAndPrune() 825 ppc = npix / ncolor; in octreeGenerateAndPrune() [all …]
|
D | pixafunc2.c | 886 l_int32 i, j, npixa, npix; in pixaaDisplayByPixa() local 907 npix = pixaGetCount(pixa); in pixaaDisplayByPixa() 912 lwidth = npix * (w + xspace); in pixaaDisplayByPixa() 931 npix = pixaGetCount(pixa); in pixaaDisplayByPixa() 932 for (j = 0; j < npix; j++) { in pixaaDisplayByPixa()
|
D | colorseg.c | 559 l_int32 i, w, h, npix, minpix, ncolors, index, selected, tempcolor; in pixColorSegmentRemoveColors() local 591 numaGetIValue(na, i, &npix); in pixColorSegmentRemoveColors() 592 if (npix < minpix && npix > 0) { /* these pixels to be reassigned */ in pixColorSegmentRemoveColors()
|
D | leptprotos.h | 928 LEPT_DLL extern PIX * pixAddBorder ( PIX *pixs, l_int32 npix, l_uint32 val ); 930 LEPT_DLL extern PIX * pixRemoveBorder ( PIX *pixs, l_int32 npix );
|
/external/libpcap/ |
D | CHANGES | 461 by Mahesh Jethanandani (mahesh@npix.com).
|
/external/tesseract/include/ |
D | leptprotos.h | 902 LEPT_DLL extern PIX * pixAddBorder ( PIX *pixs, l_int32 npix, l_uint32 val ); 904 LEPT_DLL extern PIX * pixRemoveBorder ( PIX *pixs, l_int32 npix );
|