Home
last modified time | relevance | path

Searched refs:pixSubtract (Results 1 – 25 of 30) sorted by relevance

12

/dports/graphics/leptonica/leptonica-1.76.0/prog/
H A Dlogicops_reg.c136 pixSubtract(pix3, pixs, pix1); /* existing */ in main()
137 pix4 = pixSubtract(NULL, pixs, pix1); /* new */ in main()
141 pixSubtract(pix4, pixs, pix4); /* in-place */ in main()
147 pixSubtract(pix3, pixs, pix2); /* existing */ in main()
148 pix4 = pixSubtract(NULL, pixs, pix2); /* new */ in main()
152 pixSubtract(pix4, pixs, pix4); /* in-place */ in main()
158 pixSubtract(pix4, pixs, pixs); /* subtract from itself; should be empty */ in main()
164 pixSubtract(pixs, pixs, pixs); /* subtract from itself; should be empty */ in main()
H A Dlivre_pageseg.c180 pix2 = pixSubtract(NULL, pixi, pix1); in DoPageSegmentation()
200 pixm2 = pixSubtract(NULL, pixm1, pixvws); in DoPageSegmentation()
226 pix2 = pixSubtract(NULL, pix1, pixvws); in DoPageSegmentation()
265 pix1 = pixSubtract(NULL, pixs, pixm3); /* remove text pixels */ in DoPageSegmentation()
266 pixnon = pixSubtract(NULL, pix1, pixhm2); /* remove halftone pixels */ in DoPageSegmentation()
H A Dspeckle_reg.c86 pix6 = pixSubtract(NULL, pix3, pix5); in main()
98 pix9 = pixSubtract(NULL, pix3, pix8); in main()
H A Dmorphtest1.c125 pixSubtract(pixd, pixd, pixs);
131 pixd = pixSubtract(NULL, pixd, pixs);
H A Dccbordtest.c92 pixt = pixSubtract(NULL, pixd, pixs); in main()
222 pixt = pixSubtract(NULL, pixd3, pixs); in main()
H A Dpagesegtest2.c102 pixSubtract(pixb, pixb, pixd); in main()
H A Dpsioseg_reg.c69 pixtxt = pixSubtract(NULL, pixs, pixht); in main()
H A Dnewspaper_reg.c121 pixSubtract(pix9, pix9, pix8); /* preserve gutter */ in main()
H A Dfind_colorregions.c277 pixSubtract(pixm2, pixm2, pixm1); in pixFindColorRegionsLight()
/dports/graphics/tesseract/tesseract-5.0.0/src/textord/
H A Dlinefind.cpp98 pixSubtract(src_pix, src_pix, line_pix); in SubtractLinesAndResidue()
100 Image residue_pix = pixSubtract(nullptr, src_pix, non_line_pix); in SubtractLinesAndResidue()
106 pixSubtract(src_pix, src_pix, fat_line_pix); in SubtractLinesAndResidue()
286 pixSubtract(pix, pix, pix_join_residue); in FindAndRemoveLines()
294 pixSubtract(pix, pix, *pix_music_mask); in FindAndRemoveLines()
539 pixSubtract(pix_vline, pix_vline, music_mask); in FilterMusic()
540 pixSubtract(pix_hline, pix_hline, music_mask); in FilterMusic()
601 pix_hollow = pixSubtract(nullptr, pix_closed, pix_solid); in GetLineMasks()
635 pix_nonlines = pixSubtract(nullptr, src_pix, *pix_vline); in GetLineMasks()
637 pixSubtract(pix_nonlines, pix_nonlines, *pix_hline); in GetLineMasks()
[all …]
/dports/devel/upp/upp/bazaar/PixRaster/lib/
H A Dpageseg.c132 pixt1 = pixSubtract(NULL, pixs, pixtm); /* remove text pixels */ in pixGetRegionsBinary()
133 pixt2 = pixSubtract(NULL, pixt1, pixhm); /* remove halftone pixels */ in pixGetRegionsBinary()
264 *ppixtext = pixSubtract(NULL, pixs, pixd); in pixGenHalftoneMask()
321 pixSubtract(pixt1, pixt1, pixt2); in pixGenTextlineMask()
339 pixd = pixSubtract(NULL, pixt1, pixvws); in pixGenTextlineMask()
405 pixt3 = pixSubtract(NULL, pixt2, pixvws); in pixGenTextblockMask()
H A Dseedfill.c406 pixSubtract(pixd, pixd, pixs); in pixFillClosedBorders()
1311 *ppixmin = pixSubtract(pixmin, pixmin, pixt); in pixSelectedLocalExtrema()
1312 *ppixmax = pixSubtract(pixmax, pixmax, pixt); in pixSelectedLocalExtrema()
1319 *ppixmin = pixSubtract(pixmin, pixmin, pixtmax); in pixSelectedLocalExtrema()
1320 *ppixmax = pixSubtract(pixmax, pixmax, pixtmin); in pixSelectedLocalExtrema()
H A Dcompare.c525 pixSubtract(pixt, pix1, pix2); in pixDisplayDiffBinary()
527 pixSubtract(pixt, pix2, pix1); in pixDisplayDiffBinary()
576 pixt = pixSubtract(NULL, pix1, pix2); in pixCompareBinary()
H A Dccthin.c289 pixSubtract(pixd, pixd, pixhmt[0]); /* remove result */ in pixThinGeneral()
H A Dpix3.c1236 pixSubtract(PIX *pixd, in pixSubtract() function
H A Dsel1.c2147 pixm = pixSubtract(NULL, pixh, pix2); in selDisplayInPix()
/dports/graphics/leptonica/leptonica-1.76.0/src/
H A Dccthin.c274 pixSubtract(pixd, pixd, pixhmt[0]); /* remove result */ in pixThinConnectedBySet()
299 pix1 = pixSubtract(NULL, pixd, pixs); in pixThinConnectedBySet()
301 pixSubtract(pixd, pixd, pix2); in pixThinConnectedBySet()
H A Dpageseg.c180 pix1 = pixSubtract(NULL, pixs, pixtm); /* remove text pixels */ in pixGetRegionsBinary()
181 pix2 = pixSubtract(NULL, pix1, pixhm); /* remove halftone pixels */ in pixGetRegionsBinary()
339 *ppixtext = pixSubtract(NULL, pixs, pixd); in pixGenerateHalftoneMask()
405 pixSubtract(pix1, pix1, pix2); in pixGenTextlineMask()
423 pixd = pixSubtract(NULL, pix1, pixvws); in pixGenTextlineMask()
496 pix3 = pixSubtract(NULL, pix2, pixvws); in pixGenTextblockMask()
1693 pixSubtract(pix1, pix1, pix6); in pixDecideIfTable()
H A Dseedfill.c671 pixSubtract(pixd, pixd, pixs); in pixFillClosedBorders()
3218 *ppixmin = pixSubtract(pixmin, pixmin, pixt); in pixSelectedLocalExtrema()
3219 *ppixmax = pixSubtract(pixmax, pixmax, pixt); in pixSelectedLocalExtrema()
3226 *ppixmin = pixSubtract(pixmin, pixmin, pixtmax); in pixSelectedLocalExtrema()
3227 *ppixmax = pixSubtract(pixmax, pixmax, pixtmin); in pixSelectedLocalExtrema()
H A Dcompare.c684 pixSubtract(pixt, pix1, pix2); in pixDisplayDiffBinary()
686 pixSubtract(pixt, pix2, pix1); in pixDisplayDiffBinary()
737 pixt = pixSubtract(NULL, pix1, pix2); in pixCompareBinary()
H A Dcolorcontent.c913 pixSubtract(pixm2, pixm2, pixm1); in pixFindColorRegions()
H A Dsel1.c2249 pixm = pixSubtract(NULL, pixh, pix2); in selDisplayInPix()
/dports/graphics/tesseract/tesseract-5.0.0/src/ccmain/
H A Dpagesegmain.cpp298 pix_no_image_ = pixSubtract(nullptr, pix_binary_, *photo_mask_pix); in SetupPageSegAndDetectOrientation()
H A Dosdetect.cpp179 pixSubtract(pix, pix, im_pix); in remove_nontext_regions()
/dports/textproc/py-ocrmypdf/ocrmypdf-12.7.2/src/ocrmypdf/
H A Dleptonica.py780 pixsub = Pix(lept.pixSubtract(ffi.NULL, self._cdata, pixdilated._cdata))

12