Home
last modified time | relevance | path

Searched refs:pixmi (Results 1 – 5 of 5) sorted by relevance

/external/tesseract/liblept/
Dadaptmap.c247 PIX *pixm, *pixmi, *pixd; in pixBackgroundNorm() local
282 pixmi = pixGetInvBackgroundMap(pixm, bgval, smoothx, smoothy); in pixBackgroundNorm()
283 if (!pixmi) in pixBackgroundNorm()
286 pixd = pixApplyInvBackgroundGrayMap(pixs, pixmi, sx, sy); in pixBackgroundNorm()
289 pixDestroy(&pixmi); in pixBackgroundNorm()
371 PIX *pixm, *pixmi, *pixd; in pixBackgroundNormMorph() local
399 pixmi = pixGetInvBackgroundMap(pixm, bgval, 0, 0); in pixBackgroundNormMorph()
400 if (!pixmi) in pixBackgroundNormMorph()
403 pixd = pixApplyInvBackgroundGrayMap(pixs, pixmi, in pixBackgroundNormMorph()
406 pixDestroy(&pixmi); in pixBackgroundNormMorph()
Dpix3.c149 PIX *pixmi = pixInvert(NULL, pixm); in pixSetMasked() local
150 pixRasterop(pixd, 0, 0, wm, hm, PIX_MASK, pixmi, 0, 0); in pixSetMasked()
151 pixDestroy(&pixmi); in pixSetMasked()
602 PIX *pixmi = pixInvert(NULL, pixm); in pixPaintThroughMask() local
603 pixRasterop(pixd, x, y, wm, hm, PIX_MASK, pixmi, 0, 0); in pixPaintThroughMask()
604 pixDestroy(&pixmi); in pixPaintThroughMask()
Dseedfill.c864 PIX *pixbi, *pixmi, *pixsd; in pixSeedfillGrayBasin() local
890 pixmi = pixInvert(NULL, pixm); in pixSeedfillGrayBasin()
892 pixSeedfillGray(pixsd, pixmi, connectivity); in pixSeedfillGrayBasin()
898 pixDestroy(&pixmi); in pixSeedfillGrayBasin()
Dpsio.c696 PIX *pixmi, *pixt, *pixg, *pixsc, *pixb, *pixc; in pixWriteSegmentedPageToPS() local
720 pixmi = pixInvert(NULL, pixm); in pixWriteSegmentedPageToPS()
721 pixZero(pixmi, &notext); /* pixm full; no text */ in pixWriteSegmentedPageToPS()
722 pixDestroy(&pixmi); in pixWriteSegmentedPageToPS()
Dpix4.c2242 PIX *pixmi, *pixd; in pixClipMasked() local
2260 pixmi = pixInvert(NULL, pixm); in pixClipMasked()
2267 pixPaintThroughMask(pixd, pixmi, 0, 0, pixel); in pixClipMasked()
2270 pixPaintThroughMask(pixd, pixmi, 0, 0, outval); in pixClipMasked()
2273 pixDestroy(&pixmi); in pixClipMasked()