tesseract-doxygen/include/leptprotos.h File Reference

Go to the source code of this file.

Functions

LEPT_DLL PIXpixBackgroundNormSimple (PIX *pixs, PIX *pixim, PIX *pixg)
LEPT_DLL PIXpixBackgroundNorm (PIX *pixs, PIX *pixim, PIX *pixg, l_int32 sx, l_int32 sy, l_int32 thresh, l_int32 mincount, l_int32 bgval, l_int32 smoothx, l_int32 smoothy)
LEPT_DLL PIXpixBackgroundNormMorph (PIX *pixs, PIX *pixim, l_int32 reduction, l_int32 size, l_int32 bgval)
LEPT_DLL l_int32 pixBackgroundNormGrayArray (PIX *pixs, PIX *pixim, l_int32 sx, l_int32 sy, l_int32 thresh, l_int32 mincount, l_int32 bgval, l_int32 smoothx, l_int32 smoothy, PIX **ppixd)
LEPT_DLL l_int32 pixBackgroundNormRGBArrays (PIX *pixs, PIX *pixim, PIX *pixg, l_int32 sx, l_int32 sy, l_int32 thresh, l_int32 mincount, l_int32 bgval, l_int32 smoothx, l_int32 smoothy, PIX **ppixr, PIX **ppixg, PIX **ppixb)
LEPT_DLL l_int32 pixBackgroundNormGrayArrayMorph (PIX *pixs, PIX *pixim, l_int32 reduction, l_int32 size, l_int32 bgval, PIX **ppixd)
LEPT_DLL l_int32 pixBackgroundNormRGBArraysMorph (PIX *pixs, PIX *pixim, l_int32 reduction, l_int32 size, l_int32 bgval, PIX **ppixr, PIX **ppixg, PIX **ppixb)
LEPT_DLL l_int32 pixGetBackgroundGrayMap (PIX *pixs, PIX *pixim, l_int32 sx, l_int32 sy, l_int32 thresh, l_int32 mincount, PIX **ppixd)
LEPT_DLL l_int32 pixGetBackgroundRGBMap (PIX *pixs, PIX *pixim, PIX *pixg, l_int32 sx, l_int32 sy, l_int32 thresh, l_int32 mincount, PIX **ppixmr, PIX **ppixmg, PIX **ppixmb)
LEPT_DLL l_int32 pixGetBackgroundGrayMapMorph (PIX *pixs, PIX *pixim, l_int32 reduction, l_int32 size, PIX **ppixm)
LEPT_DLL l_int32 pixGetBackgroundRGBMapMorph (PIX *pixs, PIX *pixim, l_int32 reduction, l_int32 size, PIX **ppixmr, PIX **ppixmg, PIX **ppixmb)
LEPT_DLL l_int32 pixFillMapHoles (PIX *pix, l_int32 nx, l_int32 ny, l_int32 filltype)
LEPT_DLL PIXpixExtendByReplication (PIX *pixs, l_int32 addw, l_int32 addh)
LEPT_DLL l_int32 pixSmoothConnectedRegions (PIX *pixs, PIX *pixm, l_int32 factor)
LEPT_DLL PIXpixGetInvBackgroundMap (PIX *pixs, l_int32 bgval, l_int32 smoothx, l_int32 smoothy)
LEPT_DLL PIXpixApplyInvBackgroundGrayMap (PIX *pixs, PIX *pixm, l_int32 sx, l_int32 sy)
LEPT_DLL PIXpixApplyInvBackgroundRGBMap (PIX *pixs, PIX *pixmr, PIX *pixmg, PIX *pixmb, l_int32 sx, l_int32 sy)
LEPT_DLL PIXpixApplyVariableGrayMap (PIX *pixs, PIX *pixg, l_int32 target)
LEPT_DLL PIXpixGlobalNormRGB (PIX *pixd, PIX *pixs, l_int32 rval, l_int32 gval, l_int32 bval, l_int32 mapval)
LEPT_DLL PIXpixGlobalNormNoSatRGB (PIX *pixd, PIX *pixs, l_int32 rval, l_int32 gval, l_int32 bval, l_int32 factor, l_float32 rank)
LEPT_DLL l_int32 pixThresholdSpreadNorm (PIX *pixs, l_int32 filtertype, l_int32 edgethresh, l_int32 smoothx, l_int32 smoothy, l_float32 gamma, l_int32 minval, l_int32 maxval, l_int32 targetthresh, PIX **ppixth, PIX **ppixb, PIX **ppixd)
LEPT_DLL PIXpixBackgroundNormFlex (PIX *pixs, l_int32 sx, l_int32 sy, l_int32 smoothx, l_int32 smoothy, l_int32 delta)
LEPT_DLL PIXpixContrastNorm (PIX *pixd, PIX *pixs, l_int32 sx, l_int32 sy, l_int32 mindiff, l_int32 smoothx, l_int32 smoothy)
LEPT_DLL l_int32 pixMinMaxTiles (PIX *pixs, l_int32 sx, l_int32 sy, l_int32 mindiff, l_int32 smoothx, l_int32 smoothy, PIX **ppixmin, PIX **ppixmax)
LEPT_DLL l_int32 pixSetLowContrast (PIX *pixs1, PIX *pixs2, l_int32 mindiff)
LEPT_DLL PIXpixLinearTRCTiled (PIX *pixd, PIX *pixs, l_int32 sx, l_int32 sy, PIX *pixmin, PIX *pixmax)
LEPT_DLL PIXpixAffineSampledPta (PIX *pixs, PTA *ptad, PTA *ptas, l_int32 incolor)
LEPT_DLL PIXpixAffineSampled (PIX *pixs, l_float32 *vc, l_int32 incolor)
LEPT_DLL PIXpixAffinePta (PIX *pixs, PTA *ptad, PTA *ptas, l_int32 incolor)
LEPT_DLL PIXpixAffine (PIX *pixs, l_float32 *vc, l_int32 incolor)
LEPT_DLL PIXpixAffinePtaColor (PIX *pixs, PTA *ptad, PTA *ptas, l_uint32 colorval)
LEPT_DLL PIXpixAffineColor (PIX *pixs, l_float32 *vc, l_uint32 colorval)
LEPT_DLL PIXpixAffinePtaGray (PIX *pixs, PTA *ptad, PTA *ptas, l_uint8 grayval)
LEPT_DLL PIXpixAffineGray (PIX *pixs, l_float32 *vc, l_uint8 grayval)
LEPT_DLL l_int32 getAffineXformCoeffs (PTA *ptas, PTA *ptad, l_float32 **pvc)
LEPT_DLL l_int32 affineInvertXform (l_float32 *vc, l_float32 **pvci)
LEPT_DLL l_int32 affineXformSampledPt (l_float32 *vc, l_int32 x, l_int32 y, l_int32 *pxp, l_int32 *pyp)
LEPT_DLL l_int32 affineXformPt (l_float32 *vc, l_int32 x, l_int32 y, l_float32 *pxp, l_float32 *pyp)
LEPT_DLL l_int32 linearInterpolatePixelColor (l_uint32 *datas, l_int32 wpls, l_int32 w, l_int32 h, l_float32 x, l_float32 y, l_uint32 colorval, l_uint32 *pval)
LEPT_DLL l_int32 linearInterpolatePixelGray (l_uint32 *datas, l_int32 wpls, l_int32 w, l_int32 h, l_float32 x, l_float32 y, l_int32 grayval, l_int32 *pval)
LEPT_DLL l_int32 gaussjordan (l_float32 **a, l_float32 *b, l_int32 n)
LEPT_DLL PIXpixAffineSequential (PIX *pixs, PTA *ptad, PTA *ptas, l_int32 bw, l_int32 bh)
LEPT_DLL l_float32createMatrix2dTranslate (l_float32 transx, l_float32 transy)
LEPT_DLL l_float32createMatrix2dScale (l_float32 scalex, l_float32 scaley)
LEPT_DLL l_float32createMatrix2dRotate (l_float32 xc, l_float32 yc, l_float32 angle)
LEPT_DLL PTAptaTranslate (PTA *ptas, l_float32 transx, l_float32 transy)
LEPT_DLL PTAptaScale (PTA *ptas, l_float32 scalex, l_float32 scaley)
LEPT_DLL PTAptaRotate (PTA *ptas, l_float32 xc, l_float32 yc, l_float32 angle)
LEPT_DLL BOXAboxaTranslate (BOXA *boxas, l_float32 transx, l_float32 transy)
LEPT_DLL BOXAboxaScale (BOXA *boxas, l_float32 scalex, l_float32 scaley)
LEPT_DLL BOXAboxaRotate (BOXA *boxas, l_float32 xc, l_float32 yc, l_float32 angle)
LEPT_DLL PTAptaAffineTransform (PTA *ptas, l_float32 *mat)
LEPT_DLL BOXAboxaAffineTransform (BOXA *boxas, l_float32 *mat)
LEPT_DLL l_int32 l_productMatVec (l_float32 *mat, l_float32 *vecs, l_float32 *vecd, l_int32 size)
LEPT_DLL l_int32 l_productMat2 (l_float32 *mat1, l_float32 *mat2, l_float32 *matd, l_int32 size)
LEPT_DLL l_int32 l_productMat3 (l_float32 *mat1, l_float32 *mat2, l_float32 *mat3, l_float32 *matd, l_int32 size)
LEPT_DLL l_int32 l_productMat4 (l_float32 *mat1, l_float32 *mat2, l_float32 *mat3, l_float32 *mat4, l_float32 *matd, l_int32 size)
LEPT_DLL void addConstantGrayLow (l_uint32 *data, l_int32 w, l_int32 h, l_int32 d, l_int32 wpl, l_int32 val)
LEPT_DLL void multConstantGrayLow (l_uint32 *data, l_int32 w, l_int32 h, l_int32 d, l_int32 wpl, l_float32 val)
LEPT_DLL void addGrayLow (l_uint32 *datad, l_int32 w, l_int32 h, l_int32 d, l_int32 wpld, l_uint32 *datas, l_int32 wpls)
LEPT_DLL void subtractGrayLow (l_uint32 *datad, l_int32 w, l_int32 h, l_int32 d, l_int32 wpld, l_uint32 *datas, l_int32 wpls)
LEPT_DLL void thresholdToValueLow (l_uint32 *datad, l_int32 w, l_int32 h, l_int32 d, l_int32 wpld, l_int32 threshval, l_int32 setval)
LEPT_DLL void finalAccumulateLow (l_uint32 *datad, l_int32 w, l_int32 h, l_int32 d, l_int32 wpld, l_uint32 *datas, l_int32 wpls, l_uint32 offset)
LEPT_DLL void finalAccumulateThreshLow (l_uint32 *datad, l_int32 w, l_int32 h, l_int32 wpld, l_uint32 *datas, l_int32 wpls, l_uint32 offset, l_uint32 threshold)
LEPT_DLL void accumulateLow (l_uint32 *datad, l_int32 w, l_int32 h, l_int32 wpld, l_uint32 *datas, l_int32 d, l_int32 wpls, l_int32 op)
LEPT_DLL void multConstAccumulateLow (l_uint32 *data, l_int32 w, l_int32 h, l_int32 wpl, l_float32 factor, l_uint32 offset)
LEPT_DLL void absDifferenceLow (l_uint32 *datad, l_int32 w, l_int32 h, l_int32 wpld, l_uint32 *datas1, l_uint32 *datas2, l_int32 d, l_int32 wpls)
LEPT_DLL l_int32 l_getDataBit (void *line, l_int32 n)
LEPT_DLL void l_setDataBit (void *line, l_int32 n)
LEPT_DLL void l_clearDataBit (void *line, l_int32 n)
LEPT_DLL void l_setDataBitVal (void *line, l_int32 n, l_int32 val)
LEPT_DLL l_int32 l_getDataDibit (void *line, l_int32 n)
LEPT_DLL void l_setDataDibit (void *line, l_int32 n, l_int32 val)
LEPT_DLL void l_clearDataDibit (void *line, l_int32 n)
LEPT_DLL l_int32 l_getDataQbit (void *line, l_int32 n)
LEPT_DLL void l_setDataQbit (void *line, l_int32 n, l_int32 val)
LEPT_DLL void l_clearDataQbit (void *line, l_int32 n)
LEPT_DLL l_int32 l_getDataByte (void *line, l_int32 n)
LEPT_DLL void l_setDataByte (void *line, l_int32 n, l_int32 val)
LEPT_DLL l_int32 l_getDataTwoBytes (void *line, l_int32 n)
LEPT_DLL void l_setDataTwoBytes (void *line, l_int32 n, l_int32 val)
LEPT_DLL l_int32 l_getDataFourBytes (void *line, l_int32 n)
LEPT_DLL void l_setDataFourBytes (void *line, l_int32 n, l_int32 val)
LEPT_DLL char * barcodeDispatchDecoder (char *barstr, l_int32 format, l_int32 debugflag)
LEPT_DLL l_int32 barcodeFormatIsSupported (l_int32 format)
LEPT_DLL NUMApixFindBaselines (PIX *pixs, PTA **ppta, l_int32 debug)
LEPT_DLL PIXpixDeskewLocal (PIX *pixs, l_int32 nslices, l_int32 redsweep, l_int32 redsearch, l_float32 sweeprange, l_float32 sweepdelta, l_float32 minbsdelta)
LEPT_DLL l_int32 pixGetLocalSkewTransform (PIX *pixs, l_int32 nslices, l_int32 redsweep, l_int32 redsearch, l_float32 sweeprange, l_float32 sweepdelta, l_float32 minbsdelta, PTA **pptas, PTA **pptad)
LEPT_DLL NUMApixGetLocalSkewAngles (PIX *pixs, l_int32 nslices, l_int32 redsweep, l_int32 redsearch, l_float32 sweeprange, l_float32 sweepdelta, l_float32 minbsdelta, l_float32 *pa, l_float32 *pb)
LEPT_DLL BBUFFERbbufferCreate (l_uint8 *indata, l_int32 nalloc)
LEPT_DLL void bbufferDestroy (BBUFFER **pbb)
LEPT_DLL l_uint8bbufferDestroyAndSaveData (BBUFFER **pbb, l_int32 *pnbytes)
LEPT_DLL l_int32 bbufferRead (BBUFFER *bb, l_uint8 *src, l_int32 nbytes)
LEPT_DLL l_int32 bbufferReadStream (BBUFFER *bb, FILE *fp, l_int32 nbytes)
LEPT_DLL l_int32 bbufferExtendArray (BBUFFER *bb, l_int32 nbytes)
LEPT_DLL l_int32 bbufferWrite (BBUFFER *bb, l_uint8 *dest, l_int32 nbytes, l_int32 *pnout)
LEPT_DLL l_int32 bbufferWriteStream (BBUFFER *bb, FILE *fp, l_int32 nbytes, l_int32 *pnout)
LEPT_DLL l_int32 bbufferBytesToWrite (BBUFFER *bb, l_int32 *pnbytes)
LEPT_DLL PIXpixBilinearSampledPta (PIX *pixs, PTA *ptad, PTA *ptas, l_int32 incolor)
LEPT_DLL PIXpixBilinearSampled (PIX *pixs, l_float32 *vc, l_int32 incolor)
LEPT_DLL PIXpixBilinearPta (PIX *pixs, PTA *ptad, PTA *ptas, l_int32 incolor)
LEPT_DLL PIXpixBilinear (PIX *pixs, l_float32 *vc, l_int32 incolor)
LEPT_DLL PIXpixBilinearPtaColor (PIX *pixs, PTA *ptad, PTA *ptas, l_uint32 colorval)
LEPT_DLL PIXpixBilinearColor (PIX *pixs, l_float32 *vc, l_uint32 colorval)
LEPT_DLL PIXpixBilinearPtaGray (PIX *pixs, PTA *ptad, PTA *ptas, l_uint8 grayval)
LEPT_DLL PIXpixBilinearGray (PIX *pixs, l_float32 *vc, l_uint8 grayval)
LEPT_DLL l_int32 getBilinearXformCoeffs (PTA *ptas, PTA *ptad, l_float32 **pvc)
LEPT_DLL l_int32 bilinearXformSampledPt (l_float32 *vc, l_int32 x, l_int32 y, l_int32 *pxp, l_int32 *pyp)
LEPT_DLL l_int32 bilinearXformPt (l_float32 *vc, l_int32 x, l_int32 y, l_float32 *pxp, l_float32 *pyp)
LEPT_DLL l_int32 pixOtsuAdaptiveThreshold (PIX *pixs, l_int32 sx, l_int32 sy, l_int32 smoothx, l_int32 smoothy, l_float32 scorefract, PIX **ppixth, PIX **ppixd)
LEPT_DLL PIXpixOtsuThreshOnBackgroundNorm (PIX *pixs, PIX *pixim, l_int32 sx, l_int32 sy, l_int32 thresh, l_int32 mincount, l_int32 bgval, l_int32 smoothx, l_int32 smoothy, l_float32 scorefract, l_int32 *pthresh)
LEPT_DLL PIXpixMaskedThreshOnBackgroundNorm (PIX *pixs, PIX *pixim, l_int32 sx, l_int32 sy, l_int32 thresh, l_int32 mincount, l_int32 smoothx, l_int32 smoothy, l_float32 scorefract, l_int32 *pthresh)
LEPT_DLL l_int32 pixSauvolaBinarizeTiled (PIX *pixs, l_int32 whsize, l_float32 factor, l_int32 nx, l_int32 ny, PIX **ppixth, PIX **ppixd)
LEPT_DLL l_int32 pixSauvolaBinarize (PIX *pixs, l_int32 whsize, l_float32 factor, l_int32 addborder, PIX **ppixm, PIX **ppixsd, PIX **ppixth, PIX **ppixd)
LEPT_DLL PIXpixSauvolaGetThreshold (PIX *pixm, PIX *pixms, l_float32 factor, PIX **ppixsd)
LEPT_DLL PIXpixApplyLocalThreshold (PIX *pixs, PIX *pixth, l_int32 redfactor)
LEPT_DLL PIXpixExpandBinaryReplicate (PIX *pixs, l_int32 factor)
LEPT_DLL PIXpixExpandBinaryPower2 (PIX *pixs, l_int32 factor)
LEPT_DLL l_int32 expandBinaryPower2Low (l_uint32 *datad, l_int32 wd, l_int32 hd, l_int32 wpld, l_uint32 *datas, l_int32 ws, l_int32 hs, l_int32 wpls, l_int32 factor)
LEPT_DLL l_uint16makeExpandTab2x (void)
LEPT_DLL l_uint32makeExpandTab4x (void)
LEPT_DLL l_uint32makeExpandTab8x (void)
LEPT_DLL PIXpixReduceBinary2 (PIX *pixs, l_uint8 *intab)
LEPT_DLL PIXpixReduceRankBinaryCascade (PIX *pixs, l_int32 level1, l_int32 level2, l_int32 level3, l_int32 level4)
LEPT_DLL PIXpixReduceRankBinary2 (PIX *pixs, l_int32 level, l_uint8 *intab)
LEPT_DLL void reduceBinary2Low (l_uint32 *datad, l_int32 wpld, l_uint32 *datas, l_int32 hs, l_int32 wpls, l_uint8 *tab)
LEPT_DLL void reduceRankBinary2Low (l_uint32 *datad, l_int32 wpld, l_uint32 *datas, l_int32 hs, l_int32 wpls, l_uint8 *tab, l_int32 level)
LEPT_DLL l_uint8makeSubsampleTab2x (void)
LEPT_DLL PIXpixBlend (PIX *pixs1, PIX *pixs2, l_int32 x, l_int32 y, l_float32 fract)
LEPT_DLL PIXpixBlendMask (PIX *pixd, PIX *pixs1, PIX *pixs2, l_int32 x, l_int32 y, l_float32 fract, l_int32 type)
LEPT_DLL PIXpixBlendGray (PIX *pixd, PIX *pixs1, PIX *pixs2, l_int32 x, l_int32 y, l_float32 fract, l_int32 type, l_int32 transparent, l_uint32 transpix)
LEPT_DLL PIXpixBlendColor (PIX *pixd, PIX *pixs1, PIX *pixs2, l_int32 x, l_int32 y, l_float32 fract, l_int32 transparent, l_uint32 transpix)
LEPT_DLL PIXpixBlendColorByChannel (PIX *pixd, PIX *pixs1, PIX *pixs2, l_int32 x, l_int32 y, l_float32 rfract, l_float32 gfract, l_float32 bfract, l_int32 transparent, l_uint32 transpix)
LEPT_DLL PIXpixBlendGrayAdapt (PIX *pixd, PIX *pixs1, PIX *pixs2, l_int32 x, l_int32 y, l_float32 fract, l_int32 shift)
LEPT_DLL PIXpixFadeWithGray (PIX *pixs, PIX *pixb, l_float32 factor, l_int32 type)
LEPT_DLL PIXpixBlendHardLight (PIX *pixd, PIX *pixs1, PIX *pixs2, l_int32 x, l_int32 y, l_float32 fract)
LEPT_DLL l_int32 pixBlendCmap (PIX *pixs, PIX *pixb, l_int32 x, l_int32 y, l_int32 sindex)
LEPT_DLL l_int32 pixColorGray (PIX *pixs, BOX *box, l_int32 type, l_int32 thresh, l_int32 rval, l_int32 gval, l_int32 bval)
LEPT_DLL PIXpixSnapColor (PIX *pixd, PIX *pixs, l_uint32 srcval, l_uint32 dstval, l_int32 diff)
LEPT_DLL PIXpixSnapColorCmap (PIX *pixd, PIX *pixs, l_uint32 srcval, l_uint32 dstval, l_int32 diff)
LEPT_DLL BMFbmfCreate (const char *dir, l_int32 size)
LEPT_DLL void bmfDestroy (BMF **pbmf)
LEPT_DLL PIXbmfGetPix (BMF *bmf, char chr)
LEPT_DLL l_int32 bmfGetWidth (BMF *bmf, char chr, l_int32 *pw)
LEPT_DLL l_int32 bmfGetBaseline (BMF *bmf, char chr, l_int32 *pbaseline)
LEPT_DLL PIXApixaGetFont (const char *dir, l_int32 size, l_int32 *pbl0, l_int32 *pbl1, l_int32 *pbl2)
LEPT_DLL l_int32 pixaSaveFont (const char *indir, const char *outdir, l_int32 size)
LEPT_DLL PIXApixaGenerateFont (const char *dir, l_int32 size, l_int32 *pbl0, l_int32 *pbl1, l_int32 *pbl2)
LEPT_DLL PIXpixReadStreamBmp (FILE *fp)
LEPT_DLL l_int32 pixWriteStreamBmp (FILE *fp, PIX *pix)
LEPT_DLL PIXpixReadMemBmp (const l_uint8 *cdata, size_t size)
LEPT_DLL l_int32 pixWriteMemBmp (l_uint8 **pdata, size_t *psize, PIX *pix)
LEPT_DLL BOXboxCreate (l_int32 x, l_int32 y, l_int32 w, l_int32 h)
LEPT_DLL BOXboxCopy (BOX *box)
LEPT_DLL BOXboxClone (BOX *box)
LEPT_DLL void boxDestroy (BOX **pbox)
LEPT_DLL l_int32 boxGetGeometry (BOX *box, l_int32 *px, l_int32 *py, l_int32 *pw, l_int32 *ph)
LEPT_DLL l_int32 boxSetGeometry (BOX *box, l_int32 x, l_int32 y, l_int32 w, l_int32 h)
LEPT_DLL l_int32 boxGetRefcount (BOX *box)
LEPT_DLL l_int32 boxChangeRefcount (BOX *box, l_int32 delta)
LEPT_DLL BOXAboxaCreate (l_int32 n)
LEPT_DLL BOXAboxaCopy (BOXA *boxa, l_int32 copyflag)
LEPT_DLL void boxaDestroy (BOXA **pboxa)
LEPT_DLL l_int32 boxaAddBox (BOXA *boxa, BOX *box, l_int32 copyflag)
LEPT_DLL l_int32 boxaExtendArray (BOXA *boxa)
LEPT_DLL l_int32 boxaGetCount (BOXA *boxa)
LEPT_DLL BOXboxaGetBox (BOXA *boxa, l_int32 index, l_int32 accessflag)
LEPT_DLL l_int32 boxaGetBoxGeometry (BOXA *boxa, l_int32 index, l_int32 *px, l_int32 *py, l_int32 *pw, l_int32 *ph)
LEPT_DLL l_int32 boxaReplaceBox (BOXA *boxa, l_int32 index, BOX *box)
LEPT_DLL l_int32 boxaInsertBox (BOXA *boxa, l_int32 index, BOX *box)
LEPT_DLL l_int32 boxaRemoveBox (BOXA *boxa, l_int32 index)
LEPT_DLL BOXAAboxaaCreate (l_int32 n)
LEPT_DLL BOXAAboxaaCopy (BOXAA *baas, l_int32 copyflag)
LEPT_DLL void boxaaDestroy (BOXAA **pbaa)
LEPT_DLL l_int32 boxaaAddBoxa (BOXAA *baa, BOXA *ba, l_int32 copyflag)
LEPT_DLL l_int32 boxaaExtendArray (BOXAA *baa)
LEPT_DLL l_int32 boxaaGetCount (BOXAA *baa)
LEPT_DLL l_int32 boxaaGetBoxCount (BOXAA *baa)
LEPT_DLL BOXAboxaaGetBoxa (BOXAA *baa, l_int32 index, l_int32 accessflag)
LEPT_DLL l_int32 boxaaReplaceBoxa (BOXAA *baa, l_int32 index, BOXA *boxa)
LEPT_DLL l_int32 boxaaInsertBoxa (BOXAA *baa, l_int32 index, BOXA *boxa)
LEPT_DLL l_int32 boxaaRemoveBoxa (BOXAA *baa, l_int32 index)
LEPT_DLL l_int32 boxaaAddBox (BOXAA *baa, l_int32 index, BOX *box, l_int32 accessflag)
LEPT_DLL BOXAAboxaaRead (const char *filename)
LEPT_DLL BOXAAboxaaReadStream (FILE *fp)
LEPT_DLL l_int32 boxaaWrite (const char *filename, BOXAA *baa)
LEPT_DLL l_int32 boxaaWriteStream (FILE *fp, BOXAA *baa)
LEPT_DLL BOXAboxaRead (const char *filename)
LEPT_DLL BOXAboxaReadStream (FILE *fp)
LEPT_DLL l_int32 boxaWrite (const char *filename, BOXA *boxa)
LEPT_DLL l_int32 boxaWriteStream (FILE *fp, BOXA *boxa)
LEPT_DLL l_int32 boxPrintStreamInfo (FILE *fp, BOX *box)
LEPT_DLL BOXAAboxaaReadVersion2 (const char *filename)
LEPT_DLL BOXAAboxaaReadStreamVersion2 (FILE *fp)
LEPT_DLL l_int32 boxContains (BOX *box1, BOX *box2, l_int32 *presult)
LEPT_DLL l_int32 boxIntersects (BOX *box1, BOX *box2, l_int32 *presult)
LEPT_DLL BOXAboxaContainedInBox (BOXA *boxas, BOX *box)
LEPT_DLL BOXAboxaIntersectsBox (BOXA *boxas, BOX *box)
LEPT_DLL BOXAboxaClipToBox (BOXA *boxas, BOX *box)
LEPT_DLL BOXboxOverlapRegion (BOX *box1, BOX *box2)
LEPT_DLL BOXboxBoundingRegion (BOX *box1, BOX *box2)
LEPT_DLL l_int32 boxOverlapFraction (BOX *box1, BOX *box2, l_float32 *pfract)
LEPT_DLL l_int32 boxContainsPt (BOX *box, l_float32 x, l_float32 y, l_int32 *pcontains)
LEPT_DLL BOXboxaGetNearestToPt (BOXA *boxa, l_int32 x, l_int32 y)
LEPT_DLL l_int32 boxGetCentroid (BOX *box, l_int32 *px, l_int32 *py)
LEPT_DLL l_int32 boxIntersectByLine (BOX *box, l_int32 x, l_int32 y, l_float32 slope, l_int32 *px1, l_int32 *py1, l_int32 *px2, l_int32 *py2, l_int32 *pn)
LEPT_DLL BOXboxClipToRectangle (BOX *box, l_int32 wi, l_int32 hi)
LEPT_DLL BOXboxRelocateOneSide (BOX *boxd, BOX *boxs, l_int32 loc, l_int32 sideflag)
LEPT_DLL BOXboxAdjustSides (BOX *boxd, BOX *boxs, l_int32 delleft, l_int32 delright, l_int32 deltop, l_int32 delbot)
LEPT_DLL l_int32 boxEqual (BOX *box1, BOX *box2, l_int32 *psame)
LEPT_DLL l_int32 boxaEqual (BOXA *boxa1, BOXA *boxa2, l_int32 maxdist, NUMA **pnaindex, l_int32 *psame)
LEPT_DLL l_int32 boxaJoin (BOXA *boxad, BOXA *boxas, l_int32 istart, l_int32 iend)
LEPT_DLL l_int32 boxaGetExtent (BOXA *boxa, l_int32 *pw, l_int32 *ph, BOX **pbox)
LEPT_DLL l_int32 boxaGetCoverage (BOXA *boxa, l_int32 wc, l_int32 hc, l_int32 exactflag, l_float32 *pfract)
LEPT_DLL l_int32 boxaSizeRange (BOXA *boxa, l_int32 *pminw, l_int32 *pminh, l_int32 *pmaxw, l_int32 *pmaxh)
LEPT_DLL l_int32 boxaLocationRange (BOXA *boxa, l_int32 *pminx, l_int32 *pminy, l_int32 *pmaxx, l_int32 *pmaxy)
LEPT_DLL BOXAboxaSelectBySize (BOXA *boxas, l_int32 width, l_int32 height, l_int32 type, l_int32 relation, l_int32 *pchanged)
LEPT_DLL NUMAboxaMakeSizeIndicator (BOXA *boxa, l_int32 width, l_int32 height, l_int32 type, l_int32 relation)
LEPT_DLL BOXAboxaSelectWithIndicator (BOXA *boxas, NUMA *na, l_int32 *pchanged)
LEPT_DLL BOXAboxaPermutePseudorandom (BOXA *boxas)
LEPT_DLL BOXAboxaPermuteRandom (BOXA *boxad, BOXA *boxas)
LEPT_DLL l_int32 boxaSwapBoxes (BOXA *boxa, l_int32 i, l_int32 j)
LEPT_DLL PTAboxaConvertToPta (BOXA *boxa, l_int32 ncorners)
LEPT_DLL BOXAptaConvertToBoxa (PTA *pta, l_int32 ncorners)
LEPT_DLL BOXAboxaTransform (BOXA *boxas, l_int32 shiftx, l_int32 shifty, l_float32 scalex, l_float32 scaley)
LEPT_DLL BOXboxTransform (BOX *box, l_int32 shiftx, l_int32 shifty, l_float32 scalex, l_float32 scaley)
LEPT_DLL BOXAboxaTransformOrdered (BOXA *boxas, l_int32 shiftx, l_int32 shifty, l_float32 scalex, l_float32 scaley, l_int32 xcen, l_int32 ycen, l_float32 angle, l_int32 order)
LEPT_DLL BOXboxTransformOrdered (BOX *boxs, l_int32 shiftx, l_int32 shifty, l_float32 scalex, l_float32 scaley, l_int32 xcen, l_int32 ycen, l_float32 angle, l_int32 order)
LEPT_DLL BOXAboxaRotateOrth (BOXA *boxas, l_int32 w, l_int32 h, l_int32 rotation)
LEPT_DLL BOXboxRotateOrth (BOX *box, l_int32 w, l_int32 h, l_int32 rotation)
LEPT_DLL BOXAboxaSort (BOXA *boxas, l_int32 sorttype, l_int32 sortorder, NUMA **pnaindex)
LEPT_DLL BOXAboxaBinSort (BOXA *boxas, l_int32 sorttype, l_int32 sortorder, NUMA **pnaindex)
LEPT_DLL BOXAboxaSortByIndex (BOXA *boxas, NUMA *naindex)
LEPT_DLL BOXAAboxaSort2d (BOXA *boxas, NUMAA **pnaad, l_int32 delta1, l_int32 delta2, l_int32 minh1)
LEPT_DLL BOXAAboxaSort2dByIndex (BOXA *boxas, NUMAA *naa)
LEPT_DLL l_int32 boxaaGetExtent (BOXAA *boxaa, l_int32 *pw, l_int32 *ph, BOX **pbox)
LEPT_DLL BOXAboxaaFlattenToBoxa (BOXAA *baa, NUMA **pnaindex, l_int32 copyflag)
LEPT_DLL l_int32 boxaaAlignBox (BOXAA *baa, BOX *box, l_int32 delta, l_int32 *pindex)
LEPT_DLL PIXpixMaskConnComp (PIX *pixs, l_int32 connectivity, BOXA **pboxa)
LEPT_DLL PIXpixMaskBoxa (PIX *pixd, PIX *pixs, BOXA *boxa, l_int32 op)
LEPT_DLL PIXpixPaintBoxa (PIX *pixs, BOXA *boxa, l_uint32 val)
LEPT_DLL PIXpixPaintBoxaRandom (PIX *pixs, BOXA *boxa)
LEPT_DLL PIXpixBlendBoxaRandom (PIX *pixs, BOXA *boxa, l_float32 fract)
LEPT_DLL PIXpixDrawBoxa (PIX *pixs, BOXA *boxa, l_int32 width, l_uint32 val)
LEPT_DLL PIXpixDrawBoxaRandom (PIX *pixs, BOXA *boxa, l_int32 width)
LEPT_DLL PIXboxaaDisplay (BOXAA *boxaa, l_int32 linewba, l_int32 linewb, l_uint32 colorba, l_uint32 colorb, l_int32 w, l_int32 h)
LEPT_DLL BOXApixSplitIntoBoxa (PIX *pixs, l_int32 minsum, l_int32 skipdist, l_int32 delta, l_int32 maxbg, l_int32 maxcomps, l_int32 remainder)
LEPT_DLL BOXApixSplitComponentIntoBoxa (PIX *pix, BOX *box, l_int32 minsum, l_int32 skipdist, l_int32 delta, l_int32 maxbg, l_int32 maxcomps, l_int32 remainder)
LEPT_DLL CCBORDAccbaCreate (PIX *pixs, l_int32 n)
LEPT_DLL void ccbaDestroy (CCBORDA **pccba)
LEPT_DLL CCBORDccbCreate (PIX *pixs)
LEPT_DLL void ccbDestroy (CCBORD **pccb)
LEPT_DLL l_int32 ccbaAddCcb (CCBORDA *ccba, CCBORD *ccb)
LEPT_DLL l_int32 ccbaExtendArray (CCBORDA *ccba)
LEPT_DLL l_int32 ccbaGetCount (CCBORDA *ccba)
LEPT_DLL CCBORDccbaGetCcb (CCBORDA *ccba, l_int32 index)
LEPT_DLL CCBORDApixGetAllCCBorders (PIX *pixs)
LEPT_DLL CCBORDpixGetCCBorders (PIX *pixs, BOX *box)
LEPT_DLL PTAApixGetOuterBordersPtaa (PIX *pixs)
LEPT_DLL PTApixGetOuterBorderPta (PIX *pixs, BOX *box)
LEPT_DLL l_int32 pixGetOuterBorder (CCBORD *ccb, PIX *pixs, BOX *box)
LEPT_DLL l_int32 pixGetHoleBorder (CCBORD *ccb, PIX *pixs, BOX *box, l_int32 xs, l_int32 ys)
LEPT_DLL l_int32 findNextBorderPixel (l_int32 w, l_int32 h, l_uint32 *data, l_int32 wpl, l_int32 px, l_int32 py, l_int32 *pqpos, l_int32 *pnpx, l_int32 *pnpy)
LEPT_DLL void locateOutsideSeedPixel (l_int32 fpx, l_int32 fpy, l_int32 spx, l_int32 spy, l_int32 *pxs, l_int32 *pys)
LEPT_DLL l_int32 ccbaGenerateGlobalLocs (CCBORDA *ccba)
LEPT_DLL l_int32 ccbaGenerateStepChains (CCBORDA *ccba)
LEPT_DLL l_int32 ccbaStepChainsToPixCoords (CCBORDA *ccba, l_int32 coordtype)
LEPT_DLL l_int32 ccbaGenerateSPGlobalLocs (CCBORDA *ccba, l_int32 ptsflag)
LEPT_DLL l_int32 ccbaGenerateSinglePath (CCBORDA *ccba)
LEPT_DLL PTAgetCutPathForHole (PIX *pix, PTA *pta, BOX *boxinner, l_int32 *pdir, l_int32 *plen)
LEPT_DLL PIXccbaDisplayBorder (CCBORDA *ccba)
LEPT_DLL PIXccbaDisplaySPBorder (CCBORDA *ccba)
LEPT_DLL PIXccbaDisplayImage1 (CCBORDA *ccba)
LEPT_DLL PIXccbaDisplayImage2 (CCBORDA *ccba)
LEPT_DLL l_int32 ccbaWrite (const char *filename, CCBORDA *ccba)
LEPT_DLL l_int32 ccbaWriteStream (FILE *fp, CCBORDA *ccba)
LEPT_DLL CCBORDAccbaRead (const char *filename)
LEPT_DLL CCBORDAccbaReadStream (FILE *fp)
LEPT_DLL l_int32 ccbaWriteSVG (const char *filename, CCBORDA *ccba)
LEPT_DLL char * ccbaWriteSVGString (const char *filename, CCBORDA *ccba)
LEPT_DLL PIXpixThin (PIX *pixs, l_int32 type, l_int32 connectivity, l_int32 maxiters)
LEPT_DLL PIXpixThinGeneral (PIX *pixs, l_int32 type, SELA *sela, l_int32 maxiters)
LEPT_DLL PIXpixThinExamples (PIX *pixs, l_int32 type, l_int32 index, l_int32 maxiters, const char *selfile)
LEPT_DLL l_int32 jbCorrelation (const char *dirin, l_float32 thresh, l_float32 weight, l_int32 components, const char *rootname, l_int32 firstpage, l_int32 npages, l_int32 renderflag)
LEPT_DLL l_int32 jbRankHaus (const char *dirin, l_int32 size, l_float32 rank, l_int32 components, const char *rootname, l_int32 firstpage, l_int32 npages, l_int32 renderflag)
LEPT_DLL JBCLASSERjbWordsInTextlines (const char *dirin, l_int32 reduction, l_int32 maxwidth, l_int32 maxheight, l_float32 thresh, l_float32 weight, NUMA **pnatl, l_int32 firstpage, l_int32 npages)
LEPT_DLL l_int32 pixGetWordsInTextlines (PIX *pixs, l_int32 reduction, l_int32 minwidth, l_int32 minheight, l_int32 maxwidth, l_int32 maxheight, BOXA **pboxad, PIXA **ppixad, NUMA **pnai)
LEPT_DLL l_int32 pixGetWordBoxesInTextlines (PIX *pixs, l_int32 reduction, l_int32 minwidth, l_int32 minheight, l_int32 maxwidth, l_int32 maxheight, BOXA **pboxad, NUMA **pnai)
LEPT_DLL NUMAAboxaExtractSortedPattern (BOXA *boxa, NUMA *na)
LEPT_DLL l_int32 numaaCompareImagesByBoxes (NUMAA *naa1, NUMAA *naa2, l_int32 nperline, l_int32 nreq, l_int32 maxshiftx, l_int32 maxshifty, l_int32 delx, l_int32 dely, l_int32 *psame, l_int32 debugflag)
LEPT_DLL l_int32 pixColorContent (PIX *pixs, l_int32 rwhite, l_int32 gwhite, l_int32 bwhite, l_int32 mingray, PIX **ppixr, PIX **ppixg, PIX **ppixb)
LEPT_DLL PIXpixColorMagnitude (PIX *pixs, l_int32 rwhite, l_int32 gwhite, l_int32 bwhite, l_int32 type)
LEPT_DLL l_int32 pixColorFraction (PIX *pixs, l_int32 darkthresh, l_int32 lightthresh, l_int32 diffthresh, l_int32 factor, l_float32 *ppixfract, l_float32 *pcolorfract)
LEPT_DLL l_int32 pixNumSignificantGrayColors (PIX *pixs, l_int32 darkthresh, l_int32 lightthresh, l_float32 minfract, l_int32 factor, l_int32 *pncolors)
LEPT_DLL l_int32 pixColorsForQuantization (PIX *pixs, l_int32 thresh, l_int32 *pncolors, l_int32 *piscolor, l_int32 debug)
LEPT_DLL l_int32 pixNumColors (PIX *pixs, l_int32 factor, l_int32 *pncolors)
LEPT_DLL PIXCMAPpixcmapCreate (l_int32 depth)
LEPT_DLL PIXCMAPpixcmapCreateRandom (l_int32 depth, l_int32 hasblack, l_int32 haswhite)
LEPT_DLL PIXCMAPpixcmapCreateLinear (l_int32 d, l_int32 nlevels)
LEPT_DLL PIXCMAPpixcmapCopy (PIXCMAP *cmaps)
LEPT_DLL void pixcmapDestroy (PIXCMAP **pcmap)
LEPT_DLL l_int32 pixcmapAddColor (PIXCMAP *cmap, l_int32 rval, l_int32 gval, l_int32 bval)
LEPT_DLL l_int32 pixcmapAddNewColor (PIXCMAP *cmap, l_int32 rval, l_int32 gval, l_int32 bval, l_int32 *pindex)
LEPT_DLL l_int32 pixcmapAddBlackOrWhite (PIXCMAP *cmap, l_int32 color, l_int32 *pindex)
LEPT_DLL l_int32 pixcmapSetBlackAndWhite (PIXCMAP *cmap, l_int32 setblack, l_int32 setwhite)
LEPT_DLL l_int32 pixcmapGetCount (PIXCMAP *cmap)
LEPT_DLL l_int32 pixcmapGetFreeCount (PIXCMAP *cmap)
LEPT_DLL l_int32 pixcmapGetDepth (PIXCMAP *cmap)
LEPT_DLL l_int32 pixcmapGetMinDepth (PIXCMAP *cmap, l_int32 *pmindepth)
LEPT_DLL l_int32 pixcmapClear (PIXCMAP *cmap)
LEPT_DLL l_int32 pixcmapGetColor (PIXCMAP *cmap, l_int32 index, l_int32 *prval, l_int32 *pgval, l_int32 *pbval)
LEPT_DLL l_int32 pixcmapResetColor (PIXCMAP *cmap, l_int32 index, l_int32 rval, l_int32 gval, l_int32 bval)
LEPT_DLL l_int32 pixcmapGetIndex (PIXCMAP *cmap, l_int32 rval, l_int32 gval, l_int32 bval, l_int32 *pindex)
LEPT_DLL l_int32 pixcmapHasColor (PIXCMAP *cmap, l_int32 *pcolor)
LEPT_DLL l_int32 pixcmapCountGrayColors (PIXCMAP *cmap, l_int32 *pngray)
LEPT_DLL l_int32 pixcmapGetRankIntensity (PIXCMAP *cmap, l_float32 rankval, l_int32 *pindex)
LEPT_DLL l_int32 pixcmapGetNearestIndex (PIXCMAP *cmap, l_int32 rval, l_int32 gval, l_int32 bval, l_int32 *pindex)
LEPT_DLL l_int32 pixcmapGetNearestGrayIndex (PIXCMAP *cmap, l_int32 val, l_int32 *pindex)
LEPT_DLL l_int32 pixcmapGetExtremeValue (PIXCMAP *cmap, l_int32 type, l_int32 *prval, l_int32 *pgval, l_int32 *pbval)
LEPT_DLL PIXCMAPpixcmapGrayToColor (l_uint32 color)
LEPT_DLL PIXCMAPpixcmapColorToGray (PIXCMAP *cmaps, l_float32 rwt, l_float32 gwt, l_float32 bwt)
LEPT_DLL PIXCMAPpixcmapReadStream (FILE *fp)
LEPT_DLL l_int32 pixcmapWriteStream (FILE *fp, PIXCMAP *cmap)
LEPT_DLL l_int32 pixcmapToArrays (PIXCMAP *cmap, l_int32 **prmap, l_int32 **pgmap, l_int32 **pbmap)
LEPT_DLL l_int32 pixcmapToRGBTable (PIXCMAP *cmap, l_uint32 **ptab, l_int32 *pncolors)
LEPT_DLL l_int32 pixcmapGammaTRC (PIXCMAP *cmap, l_float32 gamma, l_int32 minval, l_int32 maxval)
LEPT_DLL l_int32 pixcmapContrastTRC (PIXCMAP *cmap, l_float32 factor)
LEPT_DLL l_int32 pixcmapShiftIntensity (PIXCMAP *cmap, l_float32 fraction)
LEPT_DLL l_int32 pixcmapConvertRGBToHSV (PIXCMAP *cmap)
LEPT_DLL l_int32 pixcmapConvertHSVToRGB (PIXCMAP *cmap)
LEPT_DLL PIXpixColorMorph (PIX *pixs, l_int32 type, l_int32 hsize, l_int32 vsize)
LEPT_DLL PIXpixOctreeColorQuant (PIX *pixs, l_int32 colors, l_int32 ditherflag)
LEPT_DLL PIXpixOctreeColorQuantGeneral (PIX *pixs, l_int32 colors, l_int32 ditherflag, l_float32 validthresh, l_float32 colorthresh)
LEPT_DLL l_int32 makeRGBToIndexTables (l_uint32 **prtab, l_uint32 **pgtab, l_uint32 **pbtab, l_int32 cqlevels)
LEPT_DLL void getOctcubeIndexFromRGB (l_int32 rval, l_int32 gval, l_int32 bval, l_uint32 *rtab, l_uint32 *gtab, l_uint32 *btab, l_uint32 *pindex)
LEPT_DLL PIXpixOctreeQuantByPopulation (PIX *pixs, l_int32 level, l_int32 ditherflag)
LEPT_DLL PIXpixOctreeQuantNumColors (PIX *pixs, l_int32 maxcolors, l_int32 subsample)
LEPT_DLL PIXpixOctcubeQuantMixedWithGray (PIX *pixs, l_int32 depth, l_int32 graylevels, l_int32 delta)
LEPT_DLL PIXpixFixedOctcubeQuant256 (PIX *pixs, l_int32 ditherflag)
LEPT_DLL PIXpixFewColorsOctcubeQuant1 (PIX *pixs, l_int32 level)
LEPT_DLL PIXpixFewColorsOctcubeQuant2 (PIX *pixs, l_int32 level, NUMA *na, l_int32 ncolors, l_int32 *pnerrors)
LEPT_DLL PIXpixFewColorsOctcubeQuantMixed (PIX *pixs, l_int32 level, l_int32 darkthresh, l_int32 lightthresh, l_int32 diffthresh, l_float32 minfract, l_int32 maxspan)
LEPT_DLL PIXpixFixedOctcubeQuantGenRGB (PIX *pixs, l_int32 level)
LEPT_DLL PIXpixQuantFromCmap (PIX *pixs, PIXCMAP *cmap, l_int32 mindepth, l_int32 level, l_int32 metric)
LEPT_DLL PIXpixOctcubeQuantFromCmap (PIX *pixs, PIXCMAP *cmap, l_int32 mindepth, l_int32 level, l_int32 metric)
LEPT_DLL PIXpixOctcubeQuantFromCmapLUT (PIX *pixs, PIXCMAP *cmap, l_int32 mindepth, l_int32 *cmaptab, l_uint32 *rtab, l_uint32 *gtab, l_uint32 *btab)
LEPT_DLL NUMApixOctcubeHistogram (PIX *pixs, l_int32 level, l_int32 *pncolors)
LEPT_DLL l_int32pixcmapToOctcubeLUT (PIXCMAP *cmap, l_int32 level, l_int32 metric)
LEPT_DLL l_int32 pixRemoveUnusedColors (PIX *pixs)
LEPT_DLL l_int32 pixNumberOccupiedOctcubes (PIX *pix, l_int32 level, l_int32 mincount, l_float32 minfract, l_int32 *pncolors)
LEPT_DLL PIXpixMedianCutQuant (PIX *pixs, l_int32 ditherflag)
LEPT_DLL PIXpixMedianCutQuantGeneral (PIX *pixs, l_int32 ditherflag, l_int32 outdepth, l_int32 maxcolors, l_int32 sigbits, l_int32 maxsub)
LEPT_DLL l_int32pixMedianCutHisto (PIX *pixs, l_int32 sigbits, l_int32 subsample)
LEPT_DLL PIXpixColorSegment (PIX *pixs, l_int32 maxdist, l_int32 maxcolors, l_int32 selsize, l_int32 finalcolors)
LEPT_DLL PIXpixColorSegmentCluster (PIX *pixs, l_int32 maxdist, l_int32 maxcolors)
LEPT_DLL l_int32 pixAssignToNearestColor (PIX *pixd, PIX *pixs, PIX *pixm, l_int32 level, l_int32 *countarray)
LEPT_DLL l_int32 pixColorSegmentClean (PIX *pixs, l_int32 selsize, l_int32 *countarray)
LEPT_DLL l_int32 pixColorSegmentRemoveColors (PIX *pixd, PIX *pixs, l_int32 finalcolors)
LEPT_DLL PIXpixMakeRangeMaskHS (PIX *pixs, l_int32 huecenter, l_int32 huehw, l_int32 satcenter, l_int32 sathw, l_int32 regionflag)
LEPT_DLL PIXpixMakeRangeMaskHV (PIX *pixs, l_int32 huecenter, l_int32 huehw, l_int32 valcenter, l_int32 valhw, l_int32 regionflag)
LEPT_DLL PIXpixMakeRangeMaskSV (PIX *pixs, l_int32 satcenter, l_int32 sathw, l_int32 valcenter, l_int32 valhw, l_int32 regionflag)
LEPT_DLL PIXpixMakeHistoHS (PIX *pixs, l_int32 factor, NUMA **pnahue, NUMA **pnasat)
LEPT_DLL PIXpixMakeHistoHV (PIX *pixs, l_int32 factor, NUMA **pnahue, NUMA **pnaval)
LEPT_DLL PIXpixMakeHistoSV (PIX *pixs, l_int32 factor, NUMA **pnasat, NUMA **pnaval)
LEPT_DLL l_int32 pixFindHistoPeaksHSV (PIX *pixs, l_int32 type, l_int32 width, l_int32 height, l_int32 npeaks, l_float32 erasefactor, PTA **ppta, NUMA **pnatot, PIXA **ppixa)
LEPT_DLL PIXdisplayHSVColorRange (l_int32 hval, l_int32 sval, l_int32 vval, l_int32 huehw, l_int32 sathw, l_int32 nsamp, l_int32 factor)
LEPT_DLL l_int32 pixEqual (PIX *pix1, PIX *pix2, l_int32 *psame)
LEPT_DLL l_int32 pixEqualWithCmap (PIX *pix1, PIX *pix2, l_int32 *psame)
LEPT_DLL l_int32 pixUsesCmapColor (PIX *pixs, l_int32 *pcolor)
LEPT_DLL l_int32 pixCorrelationBinary (PIX *pix1, PIX *pix2, l_float32 *pval)
LEPT_DLL l_int32 pixCompareBinary (PIX *pix1, PIX *pix2, l_int32 comptype, l_float32 *pfract, PIX **ppixdiff)
LEPT_DLL l_int32 pixCompareGrayOrRGB (PIX *pix1, PIX *pix2, l_int32 comptype, l_int32 plottype, l_int32 *psame, l_float32 *pdiff, l_float32 *prmsdiff, PIX **ppixdiff)
LEPT_DLL l_int32 pixCompareGray (PIX *pix1, PIX *pix2, l_int32 comptype, l_int32 plottype, l_int32 *psame, l_float32 *pdiff, l_float32 *prmsdiff, PIX **ppixdiff)
LEPT_DLL l_int32 pixCompareRGB (PIX *pix1, PIX *pix2, l_int32 comptype, l_int32 plottype, l_int32 *psame, l_float32 *pdiff, l_float32 *prmsdiff, PIX **ppixdiff)
LEPT_DLL l_int32 pixCompareTiled (PIX *pix1, PIX *pix2, l_int32 sx, l_int32 sy, l_int32 type, PIX **ppixdiff)
LEPT_DLL NUMApixCompareRankDifference (PIX *pix1, PIX *pix2)
LEPT_DLL BOXApixConnComp (PIX *pixs, PIXA **ppixa, l_int32 connectivity)
LEPT_DLL BOXApixConnCompPixa (PIX *pixs, PIXA **ppixa, l_int32 connectivity)
LEPT_DLL BOXApixConnCompBB (PIX *pixs, l_int32 connectivity)
LEPT_DLL l_int32 pixCountConnComp (PIX *pixs, l_int32 connectivity, l_int32 *pcount)
LEPT_DLL l_int32 nextOnPixelInRaster (PIX *pixs, l_int32 xstart, l_int32 ystart, l_int32 *px, l_int32 *py)
LEPT_DLL l_int32 nextOnPixelInRasterLow (l_uint32 *data, l_int32 w, l_int32 h, l_int32 wpl, l_int32 xstart, l_int32 ystart, l_int32 *px, l_int32 *py)
LEPT_DLL BOXpixSeedfillBB (PIX *pixs, L_STACK *lstack, l_int32 x, l_int32 y, l_int32 connectivity)
LEPT_DLL BOXpixSeedfill4BB (PIX *pixs, L_STACK *lstack, l_int32 x, l_int32 y)
LEPT_DLL BOXpixSeedfill8BB (PIX *pixs, L_STACK *lstack, l_int32 x, l_int32 y)
LEPT_DLL l_int32 pixSeedfill (PIX *pixs, L_STACK *lstack, l_int32 x, l_int32 y, l_int32 connectivity)
LEPT_DLL l_int32 pixSeedfill4 (PIX *pixs, L_STACK *lstack, l_int32 x, l_int32 y)
LEPT_DLL l_int32 pixSeedfill8 (PIX *pixs, L_STACK *lstack, l_int32 x, l_int32 y)
LEPT_DLL PIXpixBlockconv (PIX *pix, l_int32 wc, l_int32 hc)
LEPT_DLL PIXpixBlockconvGray (PIX *pixs, PIX *pixacc, l_int32 wc, l_int32 hc)
LEPT_DLL PIXpixBlockconvAccum (PIX *pixs)
LEPT_DLL PIXpixBlockconvGrayUnnormalized (PIX *pixs, l_int32 wc, l_int32 hc)
LEPT_DLL PIXpixBlockconvTiled (PIX *pix, l_int32 wc, l_int32 hc, l_int32 nx, l_int32 ny)
LEPT_DLL PIXpixBlockconvGrayTile (PIX *pixs, PIX *pixacc, l_int32 wc, l_int32 hc)
LEPT_DLL PIXpixWindowedMean (PIX *pixs, l_int32 wc, l_int32 hc, l_int32 normflag)
LEPT_DLL PIXpixWindowedMeanSquare (PIX *pixs, l_int32 size)
LEPT_DLL DPIXpixMeanSquareAccum (PIX *pixs)
LEPT_DLL PIXpixBlockrank (PIX *pixs, PIX *pixacc, l_int32 wc, l_int32 hc, l_float32 rank)
LEPT_DLL PIXpixBlocksum (PIX *pixs, PIX *pixacc, l_int32 wc, l_int32 hc)
LEPT_DLL PIXpixWoodfillTransform (PIX *pixs, l_int32 halfsize, PIX *pixacc)
LEPT_DLL PIXpixConvolve (PIX *pixs, L_KERNEL *kel, l_int32 outdepth, l_int32 normflag)
LEPT_DLL PIXpixConvolveSep (PIX *pixs, L_KERNEL *kelx, L_KERNEL *kely, l_int32 outdepth, l_int32 normflag)
LEPT_DLL FPIXfpixConvolve (FPIX *fpixs, L_KERNEL *kel, l_int32 normflag)
LEPT_DLL FPIXfpixConvolveSep (FPIX *fpixs, L_KERNEL *kelx, L_KERNEL *kely, l_int32 normflag)
LEPT_DLL void blockconvLow (l_uint32 *data, l_int32 w, l_int32 h, l_int32 wpl, l_uint32 *dataa, l_int32 wpla, l_int32 wc, l_int32 hc)
LEPT_DLL void blockconvAccumLow (l_uint32 *datad, l_int32 w, l_int32 h, l_int32 wpld, l_uint32 *datas, l_int32 d, l_int32 wpls)
LEPT_DLL void blocksumLow (l_uint32 *datad, l_int32 w, l_int32 h, l_int32 wpl, l_uint32 *dataa, l_int32 wpla, l_int32 wc, l_int32 hc)
LEPT_DLL l_float32 pixCorrelationScore (PIX *pix1, PIX *pix2, l_int32 area1, l_int32 area2, l_float32 delx, l_float32 dely, l_int32 maxdiffw, l_int32 maxdiffh, l_int32 *tab)
LEPT_DLL l_int32 pixCorrelationScoreThresholded (PIX *pix1, PIX *pix2, l_int32 area1, l_int32 area2, l_float32 delx, l_float32 dely, l_int32 maxdiffw, l_int32 maxdiffh, l_int32 *tab, l_int32 *downcount, l_float32 score_threshold)
LEPT_DLL l_float32 pixCorrelationScoreSimple (PIX *pix1, PIX *pix2, l_int32 area1, l_int32 area2, l_float32 delx, l_float32 dely, l_int32 maxdiffw, l_int32 maxdiffh, l_int32 *tab)
LEPT_DLL PIXpixMorphDwa_2 (PIX *pixd, PIX *pixs, l_int32 operation, char *selname)
LEPT_DLL PIXpixFMorphopGen_2 (PIX *pixd, PIX *pixs, l_int32 operation, char *selname)
LEPT_DLL l_int32 fmorphopgen_low_2 (l_uint32 *datad, l_int32 w, l_int32 h, l_int32 wpld, l_uint32 *datas, l_int32 wpls, l_int32 index)
LEPT_DLL PIXpixSobelEdgeFilter (PIX *pixs, l_int32 orientflag)
LEPT_DLL PIXpixTwoSidedEdgeFilter (PIX *pixs, l_int32 orientflag)
LEPT_DLL PIXpixGammaTRC (PIX *pixd, PIX *pixs, l_float32 gamma, l_int32 minval, l_int32 maxval)
LEPT_DLL PIXpixGammaTRCMasked (PIX *pixd, PIX *pixs, PIX *pixm, l_float32 gamma, l_int32 minval, l_int32 maxval)
LEPT_DLL NUMAnumaGammaTRC (l_float32 gamma, l_int32 minval, l_int32 maxval)
LEPT_DLL PIXpixContrastTRC (PIX *pixd, PIX *pixs, l_float32 factor)
LEPT_DLL PIXpixContrastTRCMasked (PIX *pixd, PIX *pixs, PIX *pixm, l_float32 factor)
LEPT_DLL NUMAnumaContrastTRC (l_float32 factor)
LEPT_DLL PIXpixEqualizeTRC (PIX *pixd, PIX *pixs, l_float32 fract, l_int32 factor)
LEPT_DLL NUMAnumaEqualizeTRC (PIX *pix, l_float32 fract, l_int32 factor)
LEPT_DLL l_int32 pixTRCMap (PIX *pixs, PIX *pixm, NUMA *na)
LEPT_DLL PIXpixUnsharpMasking (PIX *pixs, l_int32 halfwidth, l_float32 fract)
LEPT_DLL PIXpixUnsharpMaskingGray (PIX *pixs, l_int32 halfwidth, l_float32 fract)
LEPT_DLL PIXpixUnsharpMaskingFast (PIX *pixs, l_int32 halfwidth, l_float32 fract, l_int32 direction)
LEPT_DLL PIXpixUnsharpMaskingGrayFast (PIX *pixs, l_int32 halfwidth, l_float32 fract, l_int32 direction)
LEPT_DLL PIXpixUnsharpMaskingGray1D (PIX *pixs, l_int32 halfwidth, l_float32 fract, l_int32 direction)
LEPT_DLL PIXpixUnsharpMaskingGray2D (PIX *pixs, l_int32 halfwidth, l_float32 fract)
LEPT_DLL PIXpixModifyHue (PIX *pixd, PIX *pixs, l_float32 fract)
LEPT_DLL PIXpixModifySaturation (PIX *pixd, PIX *pixs, l_float32 fract)
LEPT_DLL l_int32 pixMeasureSaturation (PIX *pixs, l_int32 factor, l_float32 *psat)
LEPT_DLL PIXpixMultConstantColor (PIX *pixs, l_float32 rfact, l_float32 gfact, l_float32 bfact)
LEPT_DLL PIXpixMultMatrixColor (PIX *pixs, L_KERNEL *kel)
LEPT_DLL PIXpixHalfEdgeByBandpass (PIX *pixs, l_int32 sm1h, l_int32 sm1v, l_int32 sm2h, l_int32 sm2v)
LEPT_DLL l_int32 fhmtautogen (SELA *sela, l_int32 fileindex, const char *filename)
LEPT_DLL l_int32 fhmtautogen1 (SELA *sela, l_int32 fileindex, const char *filename)
LEPT_DLL l_int32 fhmtautogen2 (SELA *sela, l_int32 fileindex, const char *filename)
LEPT_DLL PIXpixHMTDwa_1 (PIX *pixd, PIX *pixs, char *selname)
LEPT_DLL PIXpixFHMTGen_1 (PIX *pixd, PIX *pixs, char *selname)
LEPT_DLL l_int32 fhmtgen_low_1 (l_uint32 *datad, l_int32 w, l_int32 h, l_int32 wpld, l_uint32 *datas, l_int32 wpls, l_int32 index)
LEPT_DLL l_int32 pixOrientDetect (PIX *pixs, l_float32 *pupconf, l_float32 *pleftconf, l_int32 mincount, l_int32 debug)
LEPT_DLL l_int32 makeOrientDecision (l_float32 upconf, l_float32 leftconf, l_float32 minupconf, l_float32 minratio, l_int32 *porient, l_int32 debug)
LEPT_DLL l_int32 pixUpDownDetect (PIX *pixs, l_float32 *pconf, l_int32 mincount, l_int32 debug)
LEPT_DLL l_int32 pixUpDownDetectGeneral (PIX *pixs, l_float32 *pconf, l_int32 mincount, l_int32 npixels, l_int32 debug)
LEPT_DLL l_int32 pixOrientDetectDwa (PIX *pixs, l_float32 *pupconf, l_float32 *pleftconf, l_int32 mincount, l_int32 debug)
LEPT_DLL l_int32 pixUpDownDetectDwa (PIX *pixs, l_float32 *pconf, l_int32 mincount, l_int32 debug)
LEPT_DLL l_int32 pixUpDownDetectGeneralDwa (PIX *pixs, l_float32 *pconf, l_int32 mincount, l_int32 npixels, l_int32 debug)
LEPT_DLL l_int32 pixMirrorDetect (PIX *pixs, l_float32 *pconf, l_int32 mincount, l_int32 debug)
LEPT_DLL l_int32 pixMirrorDetectDwa (PIX *pixs, l_float32 *pconf, l_int32 mincount, l_int32 debug)
LEPT_DLL PIXpixFlipFHMTGen (PIX *pixd, PIX *pixs, char *selname)
LEPT_DLL l_int32 fmorphautogen (SELA *sela, l_int32 fileindex, const char *filename)
LEPT_DLL l_int32 fmorphautogen1 (SELA *sela, l_int32 fileindex, const char *filename)
LEPT_DLL l_int32 fmorphautogen2 (SELA *sela, l_int32 fileindex, const char *filename)
LEPT_DLL PIXpixMorphDwa_1 (PIX *pixd, PIX *pixs, l_int32 operation, char *selname)
LEPT_DLL PIXpixFMorphopGen_1 (PIX *pixd, PIX *pixs, l_int32 operation, char *selname)
LEPT_DLL l_int32 fmorphopgen_low_1 (l_uint32 *datad, l_int32 w, l_int32 h, l_int32 wpld, l_uint32 *datas, l_int32 wpls, l_int32 index)
LEPT_DLL FPIXfpixCreate (l_int32 width, l_int32 height)
LEPT_DLL FPIXfpixCreateTemplate (FPIX *fpixs)
LEPT_DLL FPIXfpixClone (FPIX *fpix)
LEPT_DLL FPIXfpixCopy (FPIX *fpixd, FPIX *fpixs)
LEPT_DLL l_int32 fpixResizeImageData (FPIX *fpixd, FPIX *fpixs)
LEPT_DLL void fpixDestroy (FPIX **pfpix)
LEPT_DLL l_int32 fpixGetDimensions (FPIX *fpix, l_int32 *pw, l_int32 *ph)
LEPT_DLL l_int32 fpixSetDimensions (FPIX *fpix, l_int32 w, l_int32 h)
LEPT_DLL l_int32 fpixGetWpl (FPIX *fpix)
LEPT_DLL l_int32 fpixSetWpl (FPIX *fpix, l_int32 wpl)
LEPT_DLL l_int32 fpixGetRefcount (FPIX *fpix)
LEPT_DLL l_int32 fpixChangeRefcount (FPIX *fpix, l_int32 delta)
LEPT_DLL l_int32 fpixGetResolution (FPIX *fpix, l_int32 *pxres, l_int32 *pyres)
LEPT_DLL l_int32 fpixSetResolution (FPIX *fpix, l_int32 xres, l_int32 yres)
LEPT_DLL l_int32 fpixCopyResolution (FPIX *fpixd, FPIX *fpixs)
LEPT_DLL l_float32fpixGetData (FPIX *fpix)
LEPT_DLL l_int32 fpixSetData (FPIX *fpix, l_float32 *data)
LEPT_DLL DPIXdpixCreate (l_int32 width, l_int32 height)
LEPT_DLL DPIXdpixCreateTemplate (DPIX *dpixs)
LEPT_DLL DPIXdpixClone (DPIX *dpix)
LEPT_DLL DPIXdpixCopy (DPIX *dpixd, DPIX *dpixs)
LEPT_DLL l_int32 dpixResizeImageData (DPIX *dpixd, DPIX *dpixs)
LEPT_DLL void dpixDestroy (DPIX **pdpix)
LEPT_DLL l_int32 dpixGetDimensions (DPIX *dpix, l_int32 *pw, l_int32 *ph)
LEPT_DLL l_int32 dpixSetDimensions (DPIX *dpix, l_int32 w, l_int32 h)
LEPT_DLL l_int32 dpixGetWpl (DPIX *dpix)
LEPT_DLL l_int32 dpixSetWpl (DPIX *dpix, l_int32 wpl)
LEPT_DLL l_int32 dpixGetRefcount (DPIX *dpix)
LEPT_DLL l_int32 dpixChangeRefcount (DPIX *dpix, l_int32 delta)
LEPT_DLL l_int32 dpixGetResolution (DPIX *dpix, l_int32 *pxres, l_int32 *pyres)
LEPT_DLL l_int32 dpixSetResolution (DPIX *dpix, l_int32 xres, l_int32 yres)
LEPT_DLL l_int32 dpixCopyResolution (DPIX *dpixd, DPIX *dpixs)
LEPT_DLL l_float64dpixGetData (DPIX *dpix)
LEPT_DLL l_int32 dpixSetData (DPIX *dpix, l_float64 *data)
LEPT_DLL FPIXpixConvertToFPix (PIX *pixs, l_int32 ncomps)
LEPT_DLL PIXfpixConvertToPix (FPIX *fpixs, l_int32 outdepth, l_int32 negvals, l_int32 errorflag)
LEPT_DLL PIXfpixDisplayMaxDynamicRange (FPIX *fpixs)
LEPT_DLL FPIXfpixAddBorder (FPIX *fpixs, l_int32 left, l_int32 right, l_int32 top, l_int32 bot)
LEPT_DLL FPIXfpixRemoveBorder (FPIX *fpixs, l_int32 left, l_int32 right, l_int32 top, l_int32 bot)
LEPT_DLL FPIXfpixAddMirroredBorder (FPIX *fpixs, l_int32 left, l_int32 right, l_int32 top, l_int32 bot)
LEPT_DLL l_int32 fpixRasterop (FPIX *fpixd, l_int32 dx, l_int32 dy, l_int32 dw, l_int32 dh, FPIX *fpixs, l_int32 sx, l_int32 sy)
LEPT_DLL FPIXfpixLinearCombination (FPIX *fpixd, FPIX *fpixs1, FPIX *fpixs2, l_float32 a, l_float32 b)
LEPT_DLL l_int32 fpixAddMultConstant (FPIX *fpix, l_float32 addc, l_float32 multc)
LEPT_DLL PIXpixReadStreamGif (FILE *fp)
LEPT_DLL l_int32 pixWriteStreamGif (FILE *fp, PIX *pix)
LEPT_DLL PIXpixReadMemGif (const l_uint8 *cdata, size_t size)
LEPT_DLL GPLOTgplotCreate (const char *rootname, l_int32 outformat, const char *title, const char *xlabel, const char *ylabel)
LEPT_DLL void gplotDestroy (GPLOT **pgplot)
LEPT_DLL l_int32 gplotAddPlot (GPLOT *gplot, NUMA *nax, NUMA *nay, l_int32 plotstyle, const char *plottitle)
LEPT_DLL l_int32 gplotSetScaling (GPLOT *gplot, l_int32 scaling)
LEPT_DLL l_int32 gplotMakeOutput (GPLOT *gplot)
LEPT_DLL l_int32 gplotGenCommandFile (GPLOT *gplot)
LEPT_DLL l_int32 gplotGenDataFiles (GPLOT *gplot)
LEPT_DLL l_int32 gplotSimple1 (NUMA *na, l_int32 outformat, const char *outroot, const char *title)
LEPT_DLL l_int32 gplotSimple2 (NUMA *na1, NUMA *na2, l_int32 outformat, const char *outroot, const char *title)
LEPT_DLL l_int32 gplotSimpleN (NUMAA *naa, l_int32 outformat, const char *outroot, const char *title)
LEPT_DLL GPLOTgplotRead (const char *filename)
LEPT_DLL l_int32 gplotWrite (const char *filename, GPLOT *gplot)
LEPT_DLL PTAgeneratePtaLine (l_int32 x1, l_int32 y1, l_int32 x2, l_int32 y2)
LEPT_DLL PTAgeneratePtaWideLine (l_int32 x1, l_int32 y1, l_int32 x2, l_int32 y2, l_int32 width)
LEPT_DLL PTAgeneratePtaBox (BOX *box, l_int32 width)
LEPT_DLL PTAgeneratePtaHashBox (BOX *box, l_int32 spacing, l_int32 width, l_int32 orient, l_int32 outline)
LEPT_DLL PTAgeneratePtaBoxa (BOXA *boxa, l_int32 width, l_int32 removedups)
LEPT_DLL PTAAgeneratePtaaBoxa (BOXA *boxa)
LEPT_DLL PTAAgeneratePtaaHashBoxa (BOXA *boxa, l_int32 spacing, l_int32 width, l_int32 orient, l_int32 outline)
LEPT_DLL PTAgeneratePtaPolyline (PTA *ptas, l_int32 width, l_int32 closeflag, l_int32 removedups)
LEPT_DLL PTAgeneratePtaFilledCircle (l_int32 radius)
LEPT_DLL PTAgeneratePtaLineFromPt (l_int32 x, l_int32 y, l_float64 length, l_float64 radang)
LEPT_DLL l_int32 locatePtRadially (l_int32 xr, l_int32 yr, l_float64 dist, l_float64 radang, l_float64 *px, l_float64 *py)
LEPT_DLL l_int32 pixRenderPta (PIX *pix, PTA *pta, l_int32 op)
LEPT_DLL l_int32 pixRenderPtaArb (PIX *pix, PTA *pta, l_uint8 rval, l_uint8 gval, l_uint8 bval)
LEPT_DLL l_int32 pixRenderPtaBlend (PIX *pix, PTA *pta, l_uint8 rval, l_uint8 gval, l_uint8 bval, l_float32 fract)
LEPT_DLL l_int32 pixRenderLine (PIX *pix, l_int32 x1, l_int32 y1, l_int32 x2, l_int32 y2, l_int32 width, l_int32 op)
LEPT_DLL l_int32 pixRenderLineArb (PIX *pix, l_int32 x1, l_int32 y1, l_int32 x2, l_int32 y2, l_int32 width, l_uint8 rval, l_uint8 gval, l_uint8 bval)
LEPT_DLL l_int32 pixRenderLineBlend (PIX *pix, l_int32 x1, l_int32 y1, l_int32 x2, l_int32 y2, l_int32 width, l_uint8 rval, l_uint8 gval, l_uint8 bval, l_float32 fract)
LEPT_DLL l_int32 pixRenderBox (PIX *pix, BOX *box, l_int32 width, l_int32 op)
LEPT_DLL l_int32 pixRenderBoxArb (PIX *pix, BOX *box, l_int32 width, l_uint8 rval, l_uint8 gval, l_uint8 bval)
LEPT_DLL l_int32 pixRenderBoxBlend (PIX *pix, BOX *box, l_int32 width, l_uint8 rval, l_uint8 gval, l_uint8 bval, l_float32 fract)
LEPT_DLL l_int32 pixRenderHashBox (PIX *pix, BOX *box, l_int32 spacing, l_int32 width, l_int32 orient, l_int32 outline, l_int32 op)
LEPT_DLL l_int32 pixRenderHashBoxArb (PIX *pix, BOX *box, l_int32 spacing, l_int32 width, l_int32 orient, l_int32 outline, l_int32 rval, l_int32 gval, l_int32 bval)
LEPT_DLL l_int32 pixRenderHashBoxBlend (PIX *pix, BOX *box, l_int32 spacing, l_int32 width, l_int32 orient, l_int32 outline, l_int32 rval, l_int32 gval, l_int32 bval, l_float32 fract)
LEPT_DLL l_int32 pixRenderBoxa (PIX *pix, BOXA *boxa, l_int32 width, l_int32 op)
LEPT_DLL l_int32 pixRenderBoxaArb (PIX *pix, BOXA *boxa, l_int32 width, l_uint8 rval, l_uint8 gval, l_uint8 bval)
LEPT_DLL l_int32 pixRenderBoxaBlend (PIX *pix, BOXA *boxa, l_int32 width, l_uint8 rval, l_uint8 gval, l_uint8 bval, l_float32 fract, l_int32 removedups)
LEPT_DLL l_int32 pixRenderPolyline (PIX *pix, PTA *ptas, l_int32 width, l_int32 op, l_int32 closeflag)
LEPT_DLL l_int32 pixRenderPolylineArb (PIX *pix, PTA *ptas, l_int32 width, l_uint8 rval, l_uint8 gval, l_uint8 bval, l_int32 closeflag)
LEPT_DLL l_int32 pixRenderPolylineBlend (PIX *pix, PTA *ptas, l_int32 width, l_uint8 rval, l_uint8 gval, l_uint8 bval, l_float32 fract, l_int32 closeflag, l_int32 removedups)
LEPT_DLL PIXpixRenderRandomCmapPtaa (PIX *pix, PTAA *ptaa, l_int32 polyflag, l_int32 width, l_int32 closeflag)
LEPT_DLL PIXpixRenderContours (PIX *pixs, l_int32 startval, l_int32 incr, l_int32 outdepth)
LEPT_DLL PIXpixErodeGray (PIX *pixs, l_int32 hsize, l_int32 vsize)
LEPT_DLL PIXpixDilateGray (PIX *pixs, l_int32 hsize, l_int32 vsize)
LEPT_DLL PIXpixOpenGray (PIX *pixs, l_int32 hsize, l_int32 vsize)
LEPT_DLL PIXpixCloseGray (PIX *pixs, l_int32 hsize, l_int32 vsize)
LEPT_DLL void dilateGrayLow (l_uint32 *datad, l_int32 w, l_int32 h, l_int32 wpld, l_uint32 *datas, l_int32 wpls, l_int32 size, l_int32 direction, l_uint8 *buffer, l_uint8 *maxarray)
LEPT_DLL void erodeGrayLow (l_uint32 *datad, l_int32 w, l_int32 h, l_int32 wpld, l_uint32 *datas, l_int32 wpls, l_int32 size, l_int32 direction, l_uint8 *buffer, l_uint8 *minarray)
LEPT_DLL PIXpixDitherToBinary (PIX *pixs)
LEPT_DLL PIXpixDitherToBinarySpec (PIX *pixs, l_int32 lowerclip, l_int32 upperclip)
LEPT_DLL PIXpixThresholdToBinary (PIX *pixs, l_int32 thresh)
LEPT_DLL PIXpixVarThresholdToBinary (PIX *pixs, PIX *pixg)
LEPT_DLL PIXpixDitherToBinaryLUT (PIX *pixs, l_int32 lowerclip, l_int32 upperclip)
LEPT_DLL PIXpixGenerateMaskByValue (PIX *pixs, l_int32 val)
LEPT_DLL PIXpixGenerateMaskByBand (PIX *pixs, l_int32 lower, l_int32 upper, l_int32 inband)
LEPT_DLL PIXpixDitherTo2bpp (PIX *pixs, l_int32 cmapflag)
LEPT_DLL PIXpixDitherTo2bppSpec (PIX *pixs, l_int32 lowerclip, l_int32 upperclip, l_int32 cmapflag)
LEPT_DLL PIXpixThresholdTo2bpp (PIX *pixs, l_int32 nlevels, l_int32 cmapflag)
LEPT_DLL PIXpixThresholdTo4bpp (PIX *pixs, l_int32 nlevels, l_int32 cmapflag)
LEPT_DLL PIXpixThresholdOn8bpp (PIX *pixs, l_int32 nlevels, l_int32 cmapflag)
LEPT_DLL PIXpixThresholdGrayArb (PIX *pixs, const char *edgevals, l_int32 outdepth, l_int32 use_average, l_int32 setblack, l_int32 setwhite)
LEPT_DLL l_int32makeGrayQuantIndexTable (l_int32 nlevels)
LEPT_DLL l_int32makeGrayQuantTargetTable (l_int32 nlevels, l_int32 depth)
LEPT_DLL l_int32 makeGrayQuantTableArb (NUMA *na, l_int32 outdepth, l_int32 **ptab, PIXCMAP **pcmap)
LEPT_DLL l_int32 makeGrayQuantColormapArb (PIX *pixs, l_int32 *tab, l_int32 outdepth, PIXCMAP **pcmap)
LEPT_DLL PIXpixGenerateMaskByBand32 (PIX *pixs, l_uint32 refval, l_int32 delm, l_int32 delp)
LEPT_DLL PIXpixGenerateMaskByDiscr32 (PIX *pixs, l_uint32 refval1, l_uint32 refval2, l_int32 distflag)
LEPT_DLL PIXpixGrayQuantFromHisto (PIX *pixd, PIX *pixs, PIX *pixm, l_float32 minfract, l_int32 maxsize)
LEPT_DLL PIXpixGrayQuantFromCmap (PIX *pixs, PIXCMAP *cmap, l_int32 mindepth)
LEPT_DLL void ditherToBinaryLow (l_uint32 *datad, l_int32 w, l_int32 h, l_int32 wpld, l_uint32 *datas, l_int32 wpls, l_uint32 *bufs1, l_uint32 *bufs2, l_int32 lowerclip, l_int32 upperclip)
LEPT_DLL void ditherToBinaryLineLow (l_uint32 *lined, l_int32 w, l_uint32 *bufs1, l_uint32 *bufs2, l_int32 lowerclip, l_int32 upperclip, l_int32 lastlineflag)
LEPT_DLL void thresholdToBinaryLow (l_uint32 *datad, l_int32 w, l_int32 h, l_int32 wpld, l_uint32 *datas, l_int32 d, l_int32 wpls, l_int32 thresh)
LEPT_DLL void thresholdToBinaryLineLow (l_uint32 *lined, l_int32 w, l_uint32 *lines, l_int32 d, l_int32 thresh)
LEPT_DLL void ditherToBinaryLUTLow (l_uint32 *datad, l_int32 w, l_int32 h, l_int32 wpld, l_uint32 *datas, l_int32 wpls, l_uint32 *bufs1, l_uint32 *bufs2, l_int32 *tabval, l_int32 *tab38, l_int32 *tab14)
LEPT_DLL void ditherToBinaryLineLUTLow (l_uint32 *lined, l_int32 w, l_uint32 *bufs1, l_uint32 *bufs2, l_int32 *tabval, l_int32 *tab38, l_int32 *tab14, l_int32 lastlineflag)
LEPT_DLL l_int32 make8To1DitherTables (l_int32 **ptabval, l_int32 **ptab38, l_int32 **ptab14, l_int32 lowerclip, l_int32 upperclip)
LEPT_DLL void ditherTo2bppLow (l_uint32 *datad, l_int32 w, l_int32 h, l_int32 wpld, l_uint32 *datas, l_int32 wpls, l_uint32 *bufs1, l_uint32 *bufs2, l_int32 *tabval, l_int32 *tab38, l_int32 *tab14)
LEPT_DLL void ditherTo2bppLineLow (l_uint32 *lined, l_int32 w, l_uint32 *bufs1, l_uint32 *bufs2, l_int32 *tabval, l_int32 *tab38, l_int32 *tab14, l_int32 lastlineflag)
LEPT_DLL l_int32 make8To2DitherTables (l_int32 **ptabval, l_int32 **ptab38, l_int32 **ptab14, l_int32 cliptoblack, l_int32 cliptowhite)
LEPT_DLL void thresholdTo2bppLow (l_uint32 *datad, l_int32 h, l_int32 wpld, l_uint32 *datas, l_int32 wpls, l_int32 *tab)
LEPT_DLL void thresholdTo4bppLow (l_uint32 *datad, l_int32 h, l_int32 wpld, l_uint32 *datas, l_int32 wpls, l_int32 *tab)
LEPT_DLL L_HEAPlheapCreate (l_int32 nalloc, l_int32 direction)
LEPT_DLL void lheapDestroy (L_HEAP **plh, l_int32 freeflag)
LEPT_DLL l_int32 lheapAdd (L_HEAP *lh, void *item)
LEPT_DLL l_int32 lheapExtendArray (L_HEAP *lh)
LEPT_DLL void * lheapRemove (L_HEAP *lh)
LEPT_DLL l_int32 lheapGetCount (L_HEAP *lh)
LEPT_DLL l_int32 lheapSwapUp (L_HEAP *lh, l_int32 index)
LEPT_DLL l_int32 lheapSwapDown (L_HEAP *lh)
LEPT_DLL l_int32 lheapSort (L_HEAP *lh)
LEPT_DLL l_int32 lheapSortStrictOrder (L_HEAP *lh)
LEPT_DLL l_int32 lheapPrint (FILE *fp, L_HEAP *lh)
LEPT_DLL JBCLASSERjbRankHausInit (l_int32 components, l_int32 maxwidth, l_int32 maxheight, l_int32 size, l_float32 rank)
LEPT_DLL JBCLASSERjbCorrelationInit (l_int32 components, l_int32 maxwidth, l_int32 maxheight, l_float32 thresh, l_float32 weightfactor)
LEPT_DLL JBCLASSERjbCorrelationInitWithoutComponents (l_int32 components, l_int32 maxwidth, l_int32 maxheight, l_float32 thresh, l_float32 weightfactor)
LEPT_DLL l_int32 jbAddPages (JBCLASSER *classer, SARRAY *safiles)
LEPT_DLL l_int32 jbAddPage (JBCLASSER *classer, PIX *pixs)
LEPT_DLL l_int32 jbAddPageComponents (JBCLASSER *classer, PIX *pixs, BOXA *boxas, PIXA *pixas)
LEPT_DLL l_int32 jbClassifyRankHaus (JBCLASSER *classer, BOXA *boxa, PIXA *pixas)
LEPT_DLL l_int32 pixHaustest (PIX *pix1, PIX *pix2, PIX *pix3, PIX *pix4, l_float32 delx, l_float32 dely, l_int32 maxdiffw, l_int32 maxdiffh)
LEPT_DLL l_int32 pixRankHaustest (PIX *pix1, PIX *pix2, PIX *pix3, PIX *pix4, l_float32 delx, l_float32 dely, l_int32 maxdiffw, l_int32 maxdiffh, l_int32 area1, l_int32 area3, l_float32 rank, l_int32 *tab8)
LEPT_DLL l_int32 jbClassifyCorrelation (JBCLASSER *classer, BOXA *boxa, PIXA *pixas)
LEPT_DLL l_int32 jbGetComponents (PIX *pixs, l_int32 components, l_int32 maxwidth, l_int32 maxheight, BOXA **pboxad, PIXA **ppixad)
LEPT_DLL PIXpixWordMaskByDilation (PIX *pixs, l_int32 maxsize, l_int32 *psize)
LEPT_DLL PIXAjbAccumulateComposites (PIXAA *pixaa, NUMA **pna, PTA **pptat)
LEPT_DLL PIXAjbTemplatesFromComposites (PIXA *pixac, NUMA *na)
LEPT_DLL JBCLASSERjbClasserCreate (l_int32 method, l_int32 components)
LEPT_DLL void jbClasserDestroy (JBCLASSER **pclasser)
LEPT_DLL JBDATAjbDataSave (JBCLASSER *classer)
LEPT_DLL void jbDataDestroy (JBDATA **pdata)
LEPT_DLL l_int32 jbDataWrite (const char *rootout, JBDATA *jbdata)
LEPT_DLL JBDATAjbDataRead (const char *rootname)
LEPT_DLL PIXAjbDataRender (JBDATA *data, l_int32 debugflag)
LEPT_DLL l_int32 jbGetULCorners (JBCLASSER *classer, PIX *pixs, BOXA *boxa)
LEPT_DLL l_int32 jbGetLLCorners (JBCLASSER *classer)
LEPT_DLL PIXpixReadJpeg (const char *filename, l_int32 cmflag, l_int32 reduction, l_int32 *pnwarn)
LEPT_DLL PIXpixReadStreamJpeg (FILE *fp, l_int32 cmflag, l_int32 reduction, l_int32 *pnwarn, l_int32 hint)
LEPT_DLL l_int32 pixWriteJpeg (const char *filename, PIX *pix, l_int32 quality, l_int32 progressive)
LEPT_DLL l_int32 pixWriteStreamJpeg (FILE *fp, PIX *pix, l_int32 quality, l_int32 progressive)
LEPT_DLL l_int32 extractJpegDataFromFile (const char *filein, l_uint8 **pdata, l_int32 *pnbytes, l_int32 *pw, l_int32 *ph, l_int32 *pbps, l_int32 *pspp)
LEPT_DLL l_int32 extractJpegDataFromArray (const void *data, l_int32 nbytes, l_int32 *pw, l_int32 *ph, l_int32 *pbps, l_int32 *pspp)
LEPT_DLL PIXpixReadMemJpeg (const l_uint8 *cdata, size_t size, l_int32 cmflag, l_int32 reduction, l_int32 *pnwarn, l_int32 hint)
LEPT_DLL l_int32 pixWriteMemJpeg (l_uint8 **pdata, size_t *psize, PIX *pix, l_int32 quality, l_int32 progressive)
LEPT_DLL L_KERNELkernelCreate (l_int32 height, l_int32 width)
LEPT_DLL void kernelDestroy (L_KERNEL **pkel)
LEPT_DLL L_KERNELkernelCopy (L_KERNEL *kels)
LEPT_DLL l_int32 kernelGetElement (L_KERNEL *kel, l_int32 row, l_int32 col, l_float32 *pval)
LEPT_DLL l_int32 kernelSetElement (L_KERNEL *kel, l_int32 row, l_int32 col, l_float32 val)
LEPT_DLL l_int32 kernelGetParameters (L_KERNEL *kel, l_int32 *psy, l_int32 *psx, l_int32 *pcy, l_int32 *pcx)
LEPT_DLL l_int32 kernelSetOrigin (L_KERNEL *kel, l_int32 cy, l_int32 cx)
LEPT_DLL l_int32 kernelGetSum (L_KERNEL *kel, l_float32 *psum)
LEPT_DLL l_int32 kernelGetMinMax (L_KERNEL *kel, l_float32 *pmin, l_float32 *pmax)
LEPT_DLL L_KERNELkernelNormalize (L_KERNEL *kels, l_float32 normsum)
LEPT_DLL L_KERNELkernelInvert (L_KERNEL *kels)
LEPT_DLL l_float32 ** create2dFloatArray (l_int32 sy, l_int32 sx)
LEPT_DLL L_KERNELkernelRead (const char *fname)
LEPT_DLL L_KERNELkernelReadStream (FILE *fp)
LEPT_DLL l_int32 kernelWrite (const char *fname, L_KERNEL *kel)
LEPT_DLL l_int32 kernelWriteStream (FILE *fp, L_KERNEL *kel)
LEPT_DLL L_KERNELkernelCreateFromString (l_int32 h, l_int32 w, l_int32 cy, l_int32 cx, const char *kdata)
LEPT_DLL L_KERNELkernelCreateFromFile (const char *filename)
LEPT_DLL L_KERNELkernelCreateFromPix (PIX *pix, l_int32 cy, l_int32 cx)
LEPT_DLL PIXkernelDisplayInPix (L_KERNEL *kel, l_int32 size, l_int32 gthick)
LEPT_DLL NUMAparseStringForNumbers (const char *str, const char *seps)
LEPT_DLL L_KERNELmakeGaussianKernel (l_int32 halfheight, l_int32 halfwidth, l_float32 stdev, l_float32 max)
LEPT_DLL l_int32 makeGaussianKernelSep (l_int32 halfheight, l_int32 halfwidth, l_float32 stdev, l_float32 max, L_KERNEL **pkelx, L_KERNEL **pkely)
LEPT_DLL L_KERNELmakeDoGKernel (l_int32 halfheight, l_int32 halfwidth, l_float32 stdev, l_float32 ratio)
LEPT_DLL void listDestroy (DLLIST **phead)
LEPT_DLL l_int32 listAddToHead (DLLIST **phead, void *data)
LEPT_DLL l_int32 listAddToTail (DLLIST **phead, DLLIST **ptail, void *data)
LEPT_DLL l_int32 listInsertBefore (DLLIST **phead, DLLIST *elem, void *data)
LEPT_DLL l_int32 listInsertAfter (DLLIST **phead, DLLIST *elem, void *data)
LEPT_DLL void * listRemoveElement (DLLIST **phead, DLLIST *elem)
LEPT_DLL void * listRemoveFromHead (DLLIST **phead)
LEPT_DLL void * listRemoveFromTail (DLLIST **phead, DLLIST **ptail)
LEPT_DLL DLLISTlistFindElement (DLLIST *head, void *data)
LEPT_DLL DLLISTlistFindTail (DLLIST *head)
LEPT_DLL l_int32 listGetCount (DLLIST *head)
LEPT_DLL l_int32 listReverse (DLLIST **phead)
LEPT_DLL l_int32 listJoin (DLLIST **phead1, DLLIST **phead2)
LEPT_DLL PIXgenerateBinaryMaze (l_int32 w, l_int32 h, l_int32 xi, l_int32 yi, l_float32 wallps, l_float32 ranis)
LEPT_DLL PTApixSearchBinaryMaze (PIX *pixs, l_int32 xi, l_int32 yi, l_int32 xf, l_int32 yf, PIX **ppixd)
LEPT_DLL PTApixSearchGrayMaze (PIX *pixs, l_int32 xi, l_int32 yi, l_int32 xf, l_int32 yf, PIX **ppixd)
LEPT_DLL PIXpixDisplayPta (PIX *pixs, PTA *pta)
LEPT_DLL PIXpixDisplayPtaa (PIX *pixs, PTAA *ptaa)
LEPT_DLL PIXpixDilate (PIX *pixd, PIX *pixs, SEL *sel)
LEPT_DLL PIXpixErode (PIX *pixd, PIX *pixs, SEL *sel)
LEPT_DLL PIXpixHMT (PIX *pixd, PIX *pixs, SEL *sel)
LEPT_DLL PIXpixOpen (PIX *pixd, PIX *pixs, SEL *sel)
LEPT_DLL PIXpixClose (PIX *pixd, PIX *pixs, SEL *sel)
LEPT_DLL PIXpixCloseSafe (PIX *pixd, PIX *pixs, SEL *sel)
LEPT_DLL PIXpixOpenGeneralized (PIX *pixd, PIX *pixs, SEL *sel)
LEPT_DLL PIXpixCloseGeneralized (PIX *pixd, PIX *pixs, SEL *sel)
LEPT_DLL PIXpixDilateBrick (PIX *pixd, PIX *pixs, l_int32 hsize, l_int32 vsize)
LEPT_DLL PIXpixErodeBrick (PIX *pixd, PIX *pixs, l_int32 hsize, l_int32 vsize)
LEPT_DLL PIXpixOpenBrick (PIX *pixd, PIX *pixs, l_int32 hsize, l_int32 vsize)
LEPT_DLL PIXpixCloseBrick (PIX *pixd, PIX *pixs, l_int32 hsize, l_int32 vsize)
LEPT_DLL PIXpixCloseSafeBrick (PIX *pixd, PIX *pixs, l_int32 hsize, l_int32 vsize)
LEPT_DLL l_int32 selectComposableSels (l_int32 size, l_int32 direction, SEL **psel1, SEL **psel2)
LEPT_DLL l_int32 selectComposableSizes (l_int32 size, l_int32 *pfactor1, l_int32 *pfactor2)
LEPT_DLL PIXpixDilateCompBrick (PIX *pixd, PIX *pixs, l_int32 hsize, l_int32 vsize)
LEPT_DLL PIXpixErodeCompBrick (PIX *pixd, PIX *pixs, l_int32 hsize, l_int32 vsize)
LEPT_DLL PIXpixOpenCompBrick (PIX *pixd, PIX *pixs, l_int32 hsize, l_int32 vsize)
LEPT_DLL PIXpixCloseCompBrick (PIX *pixd, PIX *pixs, l_int32 hsize, l_int32 vsize)
LEPT_DLL PIXpixCloseSafeCompBrick (PIX *pixd, PIX *pixs, l_int32 hsize, l_int32 vsize)
LEPT_DLL void resetMorphBoundaryCondition (l_int32 bc)
LEPT_DLL l_uint32 getMorphBorderPixelColor (l_int32 type, l_int32 depth)
LEPT_DLL PIXpixMorphSequenceByComponent (PIX *pixs, const char *sequence, l_int32 connectivity, l_int32 minw, l_int32 minh, BOXA **pboxa)
LEPT_DLL PIXApixaMorphSequenceByComponent (PIXA *pixas, const char *sequence, l_int32 minw, l_int32 minh)
LEPT_DLL PIXpixMorphSequenceByRegion (PIX *pixs, PIX *pixm, const char *sequence, l_int32 connectivity, l_int32 minw, l_int32 minh, BOXA **pboxa)
LEPT_DLL PIXApixaMorphSequenceByRegion (PIX *pixs, PIXA *pixam, const char *sequence, l_int32 minw, l_int32 minh)
LEPT_DLL PIXpixUnionOfMorphOps (PIX *pixs, SELA *sela, l_int32 type)
LEPT_DLL PIXpixIntersectionOfMorphOps (PIX *pixs, SELA *sela, l_int32 type)
LEPT_DLL PIXpixSelectiveConnCompFill (PIX *pixs, l_int32 connectivity, l_int32 minw, l_int32 minh)
LEPT_DLL l_int32 pixRemoveMatchedPattern (PIX *pixs, PIX *pixp, PIX *pixe, l_int32 x0, l_int32 y0, l_int32 dsize)
LEPT_DLL PIXpixDisplayMatchedPattern (PIX *pixs, PIX *pixp, PIX *pixe, l_int32 x0, l_int32 y0, l_uint32 color, l_float32 scale, l_int32 nlevels)
LEPT_DLL PIXpixSeedfillMorph (PIX *pixs, PIX *pixm, l_int32 connectivity)
LEPT_DLL NUMApixRunHistogramMorph (PIX *pixs, l_int32 runtype, l_int32 direction, l_int32 maxsize)
LEPT_DLL PIXpixTophat (PIX *pixs, l_int32 hsize, l_int32 vsize, l_int32 type)
LEPT_DLL PIXpixHDome (PIX *pixs, l_int32 height, l_int32 connectivity)
LEPT_DLL PIXpixFastTophat (PIX *pixs, l_int32 xsize, l_int32 ysize, l_int32 type)
LEPT_DLL PIXpixMorphGradient (PIX *pixs, l_int32 hsize, l_int32 vsize, l_int32 smoothing)
LEPT_DLL PTApixaCentroids (PIXA *pixa)
LEPT_DLL PIXpixDilateBrickDwa (PIX *pixd, PIX *pixs, l_int32 hsize, l_int32 vsize)
LEPT_DLL PIXpixErodeBrickDwa (PIX *pixd, PIX *pixs, l_int32 hsize, l_int32 vsize)
LEPT_DLL PIXpixOpenBrickDwa (PIX *pixd, PIX *pixs, l_int32 hsize, l_int32 vsize)
LEPT_DLL PIXpixCloseBrickDwa (PIX *pixd, PIX *pixs, l_int32 hsize, l_int32 vsize)
LEPT_DLL PIXpixDilateCompBrickDwa (PIX *pixd, PIX *pixs, l_int32 hsize, l_int32 vsize)
LEPT_DLL PIXpixErodeCompBrickDwa (PIX *pixd, PIX *pixs, l_int32 hsize, l_int32 vsize)
LEPT_DLL PIXpixOpenCompBrickDwa (PIX *pixd, PIX *pixs, l_int32 hsize, l_int32 vsize)
LEPT_DLL PIXpixCloseCompBrickDwa (PIX *pixd, PIX *pixs, l_int32 hsize, l_int32 vsize)
LEPT_DLL PIXpixDilateCompBrickExtendDwa (PIX *pixd, PIX *pixs, l_int32 hsize, l_int32 vsize)
LEPT_DLL PIXpixErodeCompBrickExtendDwa (PIX *pixd, PIX *pixs, l_int32 hsize, l_int32 vsize)
LEPT_DLL PIXpixOpenCompBrickExtendDwa (PIX *pixd, PIX *pixs, l_int32 hsize, l_int32 vsize)
LEPT_DLL PIXpixCloseCompBrickExtendDwa (PIX *pixd, PIX *pixs, l_int32 hsize, l_int32 vsize)
LEPT_DLL l_int32 getExtendedCompositeParameters (l_int32 size, l_int32 *pn, l_int32 *pextra, l_int32 *pactualsize)
LEPT_DLL PIXpixMorphSequence (PIX *pixs, const char *sequence, l_int32 dispsep)
LEPT_DLL PIXpixMorphCompSequence (PIX *pixs, const char *sequence, l_int32 dispsep)
LEPT_DLL PIXpixMorphSequenceDwa (PIX *pixs, const char *sequence, l_int32 dispsep)
LEPT_DLL PIXpixMorphCompSequenceDwa (PIX *pixs, const char *sequence, l_int32 dispsep)
LEPT_DLL l_int32 morphSequenceVerify (SARRAY *sa)
LEPT_DLL PIXpixGrayMorphSequence (PIX *pixs, const char *sequence, l_int32 dispsep, l_int32 dispy)
LEPT_DLL PIXpixColorMorphSequence (PIX *pixs, const char *sequence, l_int32 dispsep, l_int32 dispy)
LEPT_DLL NUMAnumaCreate (l_int32 n)
LEPT_DLL NUMAnumaCreateFromIArray (l_int32 *array, l_int32 size)
LEPT_DLL void numaDestroy (NUMA **pna)
LEPT_DLL NUMAnumaCopy (NUMA *na)
LEPT_DLL NUMAnumaClone (NUMA *na)
LEPT_DLL l_int32 numaEmpty (NUMA *na)
LEPT_DLL l_int32 numaAddNumber (NUMA *na, l_float32 val)
LEPT_DLL l_int32 numaExtendArray (NUMA *na)
LEPT_DLL l_int32 numaInsertNumber (NUMA *na, l_int32 index, l_float32 val)
LEPT_DLL l_int32 numaRemoveNumber (NUMA *na, l_int32 index)
LEPT_DLL l_int32 numaReplaceNumber (NUMA *na, l_int32 index, l_float32 val)
LEPT_DLL l_int32 numaGetCount (NUMA *na)
LEPT_DLL l_int32 numaSetCount (NUMA *na, l_int32 newcount)
LEPT_DLL l_int32 numaGetFValue (NUMA *na, l_int32 index, l_float32 *pval)
LEPT_DLL l_int32 numaGetIValue (NUMA *na, l_int32 index, l_int32 *pival)
LEPT_DLL l_int32 numaSetValue (NUMA *na, l_int32 index, l_float32 val)
LEPT_DLL l_int32 numaShiftValue (NUMA *na, l_int32 index, l_float32 diff)
LEPT_DLL l_int32numaGetIArray (NUMA *na)
LEPT_DLL l_float32numaGetFArray (NUMA *na, l_int32 copyflag)
LEPT_DLL l_int32 numaGetRefcount (NUMA *na)
LEPT_DLL l_int32 numaChangeRefcount (NUMA *na, l_int32 delta)
LEPT_DLL l_int32 numaGetXParameters (NUMA *na, l_float32 *pstartx, l_float32 *pdelx)
LEPT_DLL l_int32 numaSetXParameters (NUMA *na, l_float32 startx, l_float32 delx)
LEPT_DLL l_int32 numaCopyXParameters (NUMA *nad, NUMA *nas)
LEPT_DLL NUMAnumaRead (const char *filename)
LEPT_DLL NUMAnumaReadStream (FILE *fp)
LEPT_DLL l_int32 numaWrite (const char *filename, NUMA *na)
LEPT_DLL l_int32 numaWriteStream (FILE *fp, NUMA *na)
LEPT_DLL NUMAAnumaaCreate (l_int32 n)
LEPT_DLL void numaaDestroy (NUMAA **pnaa)
LEPT_DLL l_int32 numaaAddNuma (NUMAA *naa, NUMA *na, l_int32 copyflag)
LEPT_DLL l_int32 numaaExtendArray (NUMAA *naa)
LEPT_DLL l_int32 numaaGetCount (NUMAA *naa)
LEPT_DLL l_int32 numaaGetNumberCount (NUMAA *naa)
LEPT_DLL NUMA ** numaaGetPtrArray (NUMAA *naa)
LEPT_DLL NUMAnumaaGetNuma (NUMAA *naa, l_int32 index, l_int32 accessflag)
LEPT_DLL l_int32 numaaReplaceNuma (NUMAA *naa, l_int32 index, NUMA *na)
LEPT_DLL l_int32 numaaAddNumber (NUMAA *naa, l_int32 index, l_float32 val)
LEPT_DLL NUMAAnumaaRead (const char *filename)
LEPT_DLL NUMAAnumaaReadStream (FILE *fp)
LEPT_DLL l_int32 numaaWrite (const char *filename, NUMAA *naa)
LEPT_DLL l_int32 numaaWriteStream (FILE *fp, NUMAA *naa)
LEPT_DLL NUMA2Dnuma2dCreate (l_int32 nrows, l_int32 ncols, l_int32 initsize)
LEPT_DLL void numa2dDestroy (NUMA2D **pna2d)
LEPT_DLL l_int32 numa2dAddNumber (NUMA2D *na2d, l_int32 row, l_int32 col, l_float32 val)
LEPT_DLL l_int32 numa2dGetCount (NUMA2D *na2d, l_int32 row, l_int32 col)
LEPT_DLL NUMAnuma2dGetNuma (NUMA2D *na2d, l_int32 row, l_int32 col)
LEPT_DLL l_int32 numa2dGetFValue (NUMA2D *na2d, l_int32 row, l_int32 col, l_int32 index, l_float32 *pval)
LEPT_DLL l_int32 numa2dGetIValue (NUMA2D *na2d, l_int32 row, l_int32 col, l_int32 index, l_int32 *pval)
LEPT_DLL NUMAHASHnumaHashCreate (l_int32 nbuckets, l_int32 initsize)
LEPT_DLL void numaHashDestroy (NUMAHASH **pnahash)
LEPT_DLL NUMAnumaHashGetNuma (NUMAHASH *nahash, l_uint32 key)
LEPT_DLL l_int32 numaHashAdd (NUMAHASH *nahash, l_uint32 key, l_float32 value)
LEPT_DLL NUMAnumaArithOp (NUMA *nad, NUMA *na1, NUMA *na2, l_int32 op)
LEPT_DLL NUMAnumaLogicalOp (NUMA *nad, NUMA *na1, NUMA *na2, l_int32 op)
LEPT_DLL NUMAnumaInvert (NUMA *nad, NUMA *nas)
LEPT_DLL l_int32 numaGetMin (NUMA *na, l_float32 *pminval, l_int32 *piminloc)
LEPT_DLL l_int32 numaGetMax (NUMA *na, l_float32 *pmaxval, l_int32 *pimaxloc)
LEPT_DLL l_int32 numaGetSum (NUMA *na, l_float32 *psum)
LEPT_DLL NUMAnumaGetPartialSums (NUMA *na)
LEPT_DLL l_int32 numaGetSumOnInterval (NUMA *na, l_int32 first, l_int32 last, l_float32 *psum)
LEPT_DLL l_int32 numaHasOnlyIntegers (NUMA *na, l_int32 maxsamples, l_int32 *pallints)
LEPT_DLL NUMAnumaSubsample (NUMA *nas, l_int32 subfactor)
LEPT_DLL NUMAnumaMakeSequence (l_float32 startval, l_float32 increment, l_int32 size)
LEPT_DLL NUMAnumaMakeConstant (l_float32 val, l_int32 size)
LEPT_DLL l_int32 numaGetNonzeroRange (NUMA *na, l_float32 eps, l_int32 *pfirst, l_int32 *plast)
LEPT_DLL l_int32 numaGetCountRelativeToZero (NUMA *na, l_int32 type, l_int32 *pcount)
LEPT_DLL NUMAnumaClipToInterval (NUMA *nas, l_int32 first, l_int32 last)
LEPT_DLL NUMAnumaMakeThresholdIndicator (NUMA *nas, l_float32 thresh, l_int32 type)
LEPT_DLL l_int32 numaInterpolateEqxVal (l_float32 startx, l_float32 deltax, NUMA *nay, l_int32 type, l_float32 xval, l_float32 *pyval)
LEPT_DLL l_int32 numaInterpolateArbxVal (NUMA *nax, NUMA *nay, l_int32 type, l_float32 xval, l_float32 *pyval)
LEPT_DLL l_int32 numaInterpolateEqxInterval (l_float32 startx, l_float32 deltax, NUMA *nasy, l_int32 type, l_float32 x0, l_float32 x1, l_int32 npts, NUMA **pnax, NUMA **pnay)
LEPT_DLL l_int32 numaInterpolateArbxInterval (NUMA *nax, NUMA *nay, l_int32 type, l_float32 x0, l_float32 x1, l_int32 npts, NUMA **pnadx, NUMA **pnady)
LEPT_DLL l_int32 numaFitMax (NUMA *na, l_float32 *pmaxval, NUMA *naloc, l_float32 *pmaxloc)
LEPT_DLL l_int32 numaDifferentiateInterval (NUMA *nax, NUMA *nay, l_float32 x0, l_float32 x1, l_int32 npts, NUMA **pnadx, NUMA **pnady)
LEPT_DLL l_int32 numaIntegrateInterval (NUMA *nax, NUMA *nay, l_float32 x0, l_float32 x1, l_int32 npts, l_float32 *psum)
LEPT_DLL NUMAnumaSort (NUMA *naout, NUMA *nain, l_int32 sortorder)
LEPT_DLL NUMAnumaGetSortIndex (NUMA *na, l_int32 sortorder)
LEPT_DLL NUMAnumaSortByIndex (NUMA *nas, NUMA *naindex)
LEPT_DLL l_int32 numaIsSorted (NUMA *nas, l_int32 sortorder, l_int32 *psorted)
LEPT_DLL l_int32 numaSortPair (NUMA *nax, NUMA *nay, l_int32 sortorder, NUMA **pnasx, NUMA **pnasy)
LEPT_DLL NUMAnumaPseudorandomSequence (l_int32 size, l_int32 seed)
LEPT_DLL l_int32 numaGetMedian (NUMA *na, l_float32 *pval)
LEPT_DLL l_int32 numaGetMode (NUMA *na, l_float32 *pval, l_int32 *pcount)
LEPT_DLL l_int32 numaJoin (NUMA *nad, NUMA *nas, l_int32 istart, l_int32 iend)
LEPT_DLL NUMAnumaaFlattenToNuma (NUMAA *naa)
LEPT_DLL NUMAnumaTransform (NUMA *nas, l_float32 shift, l_float32 scale)
LEPT_DLL NUMAnumaConvolve (NUMA *na, l_int32 halfwidth)
LEPT_DLL NUMAnumaConvertToInt (NUMA *nas)
LEPT_DLL NUMAnumaMakeHistogram (NUMA *na, l_int32 maxbins, l_int32 *pbinsize, l_int32 *pbinstart)
LEPT_DLL NUMAnumaMakeHistogramAuto (NUMA *na, l_int32 maxbins)
LEPT_DLL NUMAnumaMakeHistogramClipped (NUMA *na, l_float32 binsize, l_float32 maxsize)
LEPT_DLL NUMAnumaRebinHistogram (NUMA *nas, l_int32 newsize)
LEPT_DLL NUMAnumaNormalizeHistogram (NUMA *nas, l_float32 area)
LEPT_DLL l_int32 numaGetStatsUsingHistogram (NUMA *na, l_int32 maxbins, l_float32 *pmin, l_float32 *pmax, l_float32 *pmean, l_float32 *pvariance, l_float32 *pmedian, l_float32 rank, l_float32 *prval, NUMA **phisto)
LEPT_DLL l_int32 numaGetHistogramStats (NUMA *nahisto, l_float32 startx, l_float32 deltax, l_float32 *pxmean, l_float32 *pxmedian, l_float32 *pxmode, l_float32 *pxvariance)
LEPT_DLL l_int32 numaGetHistogramStatsOnInterval (NUMA *nahisto, l_float32 startx, l_float32 deltax, l_int32 ifirst, l_int32 ilast, l_float32 *pxmean, l_float32 *pxmedian, l_float32 *pxmode, l_float32 *pxvariance)
LEPT_DLL l_int32 numaMakeRankFromHistogram (l_float32 startx, l_float32 deltax, NUMA *nasy, l_int32 npts, NUMA **pnax, NUMA **pnay)
LEPT_DLL l_int32 numaHistogramGetRankFromVal (NUMA *na, l_float32 rval, l_float32 *prank)
LEPT_DLL l_int32 numaHistogramGetValFromRank (NUMA *na, l_float32 rank, l_float32 *prval)
LEPT_DLL l_int32 numaSplitDistribution (NUMA *na, l_float32 scorefract, l_int32 *psplitindex, l_float32 *pave1, l_float32 *pave2, l_float32 *pnum1, l_float32 *pnum2, NUMA **pnascore)
LEPT_DLL NUMAnumaFindPeaks (NUMA *nas, l_int32 nmax, l_float32 fract1, l_float32 fract2)
LEPT_DLL NUMAnumaFindExtrema (NUMA *nas, l_float32 delta)
LEPT_DLL l_int32 numaSelectCrossingThreshold (NUMA *nax, NUMA *nay, l_float32 estthresh, l_float32 *pbestthresh)
LEPT_DLL NUMAnumaCrossingsByThreshold (NUMA *nax, NUMA *nay, l_float32 thresh)
LEPT_DLL NUMAnumaCrossingsByPeaks (NUMA *nax, NUMA *nay, l_float32 delta)
LEPT_DLL l_int32 numaEvalBestHaarParameters (NUMA *nas, l_float32 relweight, l_int32 nwidth, l_int32 nshift, l_float32 minwidth, l_float32 maxwidth, l_float32 *pbestwidth, l_float32 *pbestshift, l_float32 *pbestscore)
LEPT_DLL l_int32 numaEvalHaarSum (NUMA *nas, l_float32 width, l_float32 shift, l_float32 relweight, l_float32 *pscore)
LEPT_DLL l_int32 pixGetRegionsBinary (PIX *pixs, PIX **ppixhm, PIX **ppixtm, PIX **ppixtb, l_int32 debug)
LEPT_DLL PIXpixGenHalftoneMask (PIX *pixs, PIX **ppixtext, l_int32 *phtfound, l_int32 debug)
LEPT_DLL PIXpixGenTextlineMask (PIX *pixs, PIX **ppixvws, l_int32 *ptlfound, l_int32 debug)
LEPT_DLL PIXpixGenTextblockMask (PIX *pixs, PIX *pixvws, l_int32 debug)
LEPT_DLL l_int32 pixSetSelectCmap (PIX *pixs, BOX *box, l_int32 sindex, l_int32 rval, l_int32 gval, l_int32 bval)
LEPT_DLL l_int32 pixColorGrayCmap (PIX *pixs, BOX *box, l_int32 type, l_int32 rval, l_int32 gval, l_int32 bval)
LEPT_DLL l_int32 addColorizedGrayToCmap (PIXCMAP *cmap, l_int32 type, l_int32 rval, l_int32 gval, l_int32 bval, NUMA **pna)
LEPT_DLL l_int32 pixSetSelectMaskedCmap (PIX *pixs, PIX *pixm, l_int32 x, l_int32 y, l_int32 sindex, l_int32 rval, l_int32 gval, l_int32 bval)
LEPT_DLL l_int32 pixSetMaskedCmap (PIX *pixs, PIX *pixm, l_int32 x, l_int32 y, l_int32 rval, l_int32 gval, l_int32 bval)
LEPT_DLL char * parseForProtos (const char *filein, const char *prestring)
LEPT_DLL BOXAboxaGetWhiteblocks (BOXA *boxas, BOX *box, l_int32 sortflag, l_int32 maxboxes, l_float32 maxoverlap, l_int32 maxperim, l_float32 fract, l_int32 maxpops)
LEPT_DLL BOXAboxaPruneSortedOnOverlap (BOXA *boxas, l_float32 maxoverlap)
LEPT_DLL void setPixMemoryManager (void *(allocator(size_t)), void(deallocator(void *)))
LEPT_DLL PIXpixCreate (l_int32 width, l_int32 height, l_int32 depth)
LEPT_DLL PIXpixCreateNoInit (l_int32 width, l_int32 height, l_int32 depth)
LEPT_DLL PIXpixCreateTemplate (PIX *pixs)
LEPT_DLL PIXpixCreateTemplateNoInit (PIX *pixs)
LEPT_DLL PIXpixCreateHeader (l_int32 width, l_int32 height, l_int32 depth)
LEPT_DLL PIXpixClone (PIX *pixs)
LEPT_DLL void pixDestroy (PIX **ppix)
LEPT_DLL PIXpixCopy (PIX *pixd, PIX *pixs)
LEPT_DLL l_int32 pixResizeImageData (PIX *pixd, PIX *pixs)
LEPT_DLL l_int32 pixCopyColormap (PIX *pixd, PIX *pixs)
LEPT_DLL l_int32 pixSizesEqual (PIX *pix1, PIX *pix2)
LEPT_DLL l_int32 pixTransferAllData (PIX *pixd, PIX **ppixs, l_int32 copytext, l_int32 copyformat)
LEPT_DLL l_int32 pixGetWidth (PIX *pix)
LEPT_DLL l_int32 pixSetWidth (PIX *pix, l_int32 width)
LEPT_DLL l_int32 pixGetHeight (PIX *pix)
LEPT_DLL l_int32 pixSetHeight (PIX *pix, l_int32 height)
LEPT_DLL l_int32 pixGetDepth (PIX *pix)
LEPT_DLL l_int32 pixSetDepth (PIX *pix, l_int32 depth)
LEPT_DLL l_int32 pixGetDimensions (PIX *pix, l_int32 *pw, l_int32 *ph, l_int32 *pd)
LEPT_DLL l_int32 pixSetDimensions (PIX *pix, l_int32 w, l_int32 h, l_int32 d)
LEPT_DLL l_int32 pixCopyDimensions (PIX *pixd, PIX *pixs)
LEPT_DLL l_int32 pixGetWpl (PIX *pix)
LEPT_DLL l_int32 pixSetWpl (PIX *pix, l_int32 wpl)
LEPT_DLL l_int32 pixGetRefcount (PIX *pix)
LEPT_DLL l_int32 pixChangeRefcount (PIX *pix, l_int32 delta)
LEPT_DLL l_uint32 pixGetXRes (PIX *pix)
LEPT_DLL l_int32 pixSetXRes (PIX *pix, l_uint32 res)
LEPT_DLL l_uint32 pixGetYRes (PIX *pix)
LEPT_DLL l_int32 pixSetYRes (PIX *pix, l_uint32 res)
LEPT_DLL l_int32 pixGetResolution (PIX *pix, l_uint32 *pxres, l_uint32 *pyres)
LEPT_DLL l_int32 pixSetResolution (PIX *pix, l_uint32 xres, l_uint32 yres)
LEPT_DLL l_int32 pixCopyResolution (PIX *pixd, PIX *pixs)
LEPT_DLL l_int32 pixScaleResolution (PIX *pix, l_float32 xscale, l_float32 yscale)
LEPT_DLL l_int32 pixGetInputFormat (PIX *pix)
LEPT_DLL l_int32 pixSetInputFormat (PIX *pix, l_int32 informat)
LEPT_DLL l_int32 pixCopyInputFormat (PIX *pixd, PIX *pixs)
LEPT_DLL char * pixGetText (PIX *pix)
LEPT_DLL l_int32 pixSetText (PIX *pix, const char *textstring)
LEPT_DLL l_int32 pixAddText (PIX *pix, const char *textstring)
LEPT_DLL l_int32 pixCopyText (PIX *pixd, PIX *pixs)
LEPT_DLL PIXCMAPpixGetColormap (PIX *pix)
LEPT_DLL l_int32 pixSetColormap (PIX *pix, PIXCMAP *colormap)
LEPT_DLL l_int32 pixDestroyColormap (PIX *pix)
LEPT_DLL l_uint32pixGetData (PIX *pix)
LEPT_DLL l_int32 pixSetData (PIX *pix, l_uint32 *data)
LEPT_DLL l_uint32pixExtractData (PIX *pixs)
LEPT_DLL l_int32 pixFreeData (PIX *pix)
LEPT_DLL void ** pixGetLinePtrs (PIX *pix, l_int32 *psize)
LEPT_DLL l_int32 pixPrintStreamInfo (FILE *fp, PIX *pix, const char *text)
LEPT_DLL l_int32 pixGetPixel (PIX *pix, l_int32 x, l_int32 y, l_uint32 *pval)
LEPT_DLL l_int32 pixSetPixel (PIX *pix, l_int32 x, l_int32 y, l_uint32 val)
LEPT_DLL l_int32 pixGetRGBPixel (PIX *pix, l_int32 x, l_int32 y, l_int32 *prval, l_int32 *pgval, l_int32 *pbval)
LEPT_DLL l_int32 pixSetRGBPixel (PIX *pix, l_int32 x, l_int32 y, l_int32 rval, l_int32 gval, l_int32 bval)
LEPT_DLL l_int32 pixGetRandomPixel (PIX *pix, l_uint32 *pval, l_int32 *px, l_int32 *py)
LEPT_DLL l_int32 pixClearPixel (PIX *pix, l_int32 x, l_int32 y)
LEPT_DLL l_int32 pixFlipPixel (PIX *pix, l_int32 x, l_int32 y)
LEPT_DLL void setPixelLow (l_uint32 *line, l_int32 x, l_int32 depth, l_uint32 val)
LEPT_DLL l_int32 pixClearAll (PIX *pix)
LEPT_DLL l_int32 pixSetAll (PIX *pix)
LEPT_DLL l_int32 pixSetAllArbitrary (PIX *pix, l_uint32 val)
LEPT_DLL l_int32 pixSetBlackOrWhite (PIX *pixs, l_int32 incolor)
LEPT_DLL l_int32 pixClearInRect (PIX *pix, BOX *box)
LEPT_DLL l_int32 pixSetInRect (PIX *pix, BOX *box)
LEPT_DLL l_int32 pixSetInRectArbitrary (PIX *pix, BOX *box, l_uint32 val)
LEPT_DLL l_int32 pixBlendInRect (PIX *pixs, BOX *box, l_uint32 val, l_float32 fract)
LEPT_DLL l_int32 pixSetPadBits (PIX *pix, l_int32 val)
LEPT_DLL l_int32 pixSetPadBitsBand (PIX *pix, l_int32 by, l_int32 bh, l_int32 val)
LEPT_DLL l_int32 pixSetOrClearBorder (PIX *pixs, l_int32 left, l_int32 right, l_int32 top, l_int32 bot, l_int32 op)
LEPT_DLL l_int32 pixSetBorderVal (PIX *pixs, l_int32 left, l_int32 right, l_int32 top, l_int32 bot, l_uint32 val)
LEPT_DLL l_int32 pixSetMirroredBorder (PIX *pixs, l_int32 left, l_int32 right, l_int32 top, l_int32 bot)
LEPT_DLL PIXpixCopyBorder (PIX *pixd, PIX *pixs, l_int32 left, l_int32 right, l_int32 top, l_int32 bot)
LEPT_DLL PIXpixAddBorder (PIX *pixs, l_int32 npix, l_uint32 val)
LEPT_DLL PIXpixAddBorderGeneral (PIX *pixs, l_int32 left, l_int32 right, l_int32 top, l_int32 bot, l_uint32 val)
LEPT_DLL PIXpixRemoveBorder (PIX *pixs, l_int32 npix)
LEPT_DLL PIXpixRemoveBorderGeneral (PIX *pixs, l_int32 left, l_int32 right, l_int32 top, l_int32 bot)
LEPT_DLL PIXpixAddMirroredBorder (PIX *pixs, l_int32 left, l_int32 right, l_int32 top, l_int32 bot)
LEPT_DLL PIXpixAddRepeatedBorder (PIX *pixs, l_int32 left, l_int32 right, l_int32 top, l_int32 bot)
LEPT_DLL PIXpixAddMixedBorder (PIX *pixs, l_int32 left, l_int32 right, l_int32 top, l_int32 bot)
LEPT_DLL PIXpixCreateRGBImage (PIX *pixr, PIX *pixg, PIX *pixb)
LEPT_DLL PIXpixGetRGBComponent (PIX *pixs, l_int32 color)
LEPT_DLL l_int32 pixSetRGBComponent (PIX *pixd, PIX *pixs, l_int32 color)
LEPT_DLL PIXpixGetRGBComponentCmap (PIX *pixs, l_int32 color)
LEPT_DLL l_int32 composeRGBPixel (l_int32 rval, l_int32 gval, l_int32 bval, l_uint32 *ppixel)
LEPT_DLL void extractRGBValues (l_uint32 pixel, l_int32 *prval, l_int32 *pgval, l_int32 *pbval)
LEPT_DLL l_int32 pixGetRGBLine (PIX *pixs, l_int32 row, l_uint8 *bufr, l_uint8 *bufg, l_uint8 *bufb)
LEPT_DLL PIXpixEndianByteSwapNew (PIX *pixs)
LEPT_DLL l_int32 pixEndianByteSwap (PIX *pixs)
LEPT_DLL l_int32 lineEndianByteSwap (l_uint32 *datad, l_uint32 *datas, l_int32 wpl)
LEPT_DLL PIXpixEndianTwoByteSwapNew (PIX *pixs)
LEPT_DLL l_int32 pixEndianTwoByteSwap (PIX *pixs)
LEPT_DLL l_int32 pixSetMasked (PIX *pixd, PIX *pixm, l_uint32 val)
LEPT_DLL l_int32 pixSetMaskedGeneral (PIX *pixd, PIX *pixm, l_uint32 val, l_int32 x, l_int32 y)
LEPT_DLL l_int32 pixCombineMasked (PIX *pixd, PIX *pixs, PIX *pixm)
LEPT_DLL l_int32 pixCombineMaskedGeneral (PIX *pixd, PIX *pixs, PIX *pixm, l_int32 x, l_int32 y)
LEPT_DLL l_int32 pixPaintThroughMask (PIX *pixd, PIX *pixm, l_int32 x, l_int32 y, l_uint32 val)
LEPT_DLL l_int32 pixPaintSelfThroughMask (PIX *pixd, PIX *pixm, l_int32 x, l_int32 y, l_int32 tilesize, l_int32 searchdir)
LEPT_DLL PIXpixInvert (PIX *pixd, PIX *pixs)
LEPT_DLL PIXpixOr (PIX *pixd, PIX *pixs1, PIX *pixs2)
LEPT_DLL PIXpixAnd (PIX *pixd, PIX *pixs1, PIX *pixs2)
LEPT_DLL PIXpixXor (PIX *pixd, PIX *pixs1, PIX *pixs2)
LEPT_DLL PIXpixSubtract (PIX *pixd, PIX *pixs1, PIX *pixs2)
LEPT_DLL l_int32 pixZero (PIX *pix, l_int32 *pempty)
LEPT_DLL l_int32 pixCountPixels (PIX *pix, l_int32 *pcount, l_int32 *tab8)
LEPT_DLL NUMApixaCountPixels (PIXA *pixa)
LEPT_DLL l_int32 pixCountPixelsInRow (PIX *pix, l_int32 row, l_int32 *pcount, l_int32 *tab8)
LEPT_DLL NUMApixCountPixelsByRow (PIX *pix, l_int32 *tab8)
LEPT_DLL l_int32 pixThresholdPixels (PIX *pix, l_int32 thresh, l_int32 *pabove, l_int32 *tab8)
LEPT_DLL l_int32makePixelSumTab8 (void)
LEPT_DLL l_int32makePixelCentroidTab8 (void)
LEPT_DLL l_int32 pixSumPixelValues (PIX *pix, BOX *box, l_float64 *psum)
LEPT_DLL PIXpixMirroredTiling (PIX *pixs, l_int32 w, l_int32 h)
LEPT_DLL NUMApixGetGrayHistogram (PIX *pixs, l_int32 factor)
LEPT_DLL NUMApixGetGrayHistogramMasked (PIX *pixs, PIX *pixm, l_int32 x, l_int32 y, l_int32 factor)
LEPT_DLL l_int32 pixGetColorHistogram (PIX *pixs, l_int32 factor, NUMA **pnar, NUMA **pnag, NUMA **pnab)
LEPT_DLL l_int32 pixGetColorHistogramMasked (PIX *pixs, PIX *pixm, l_int32 x, l_int32 y, l_int32 factor, NUMA **pnar, NUMA **pnag, NUMA **pnab)
LEPT_DLL l_int32 pixGetRankValueMaskedRGB (PIX *pixs, PIX *pixm, l_int32 x, l_int32 y, l_int32 factor, l_float32 rank, l_float32 *prval, l_float32 *pgval, l_float32 *pbval)
LEPT_DLL l_int32 pixGetRankValueMasked (PIX *pixs, PIX *pixm, l_int32 x, l_int32 y, l_int32 factor, l_float32 rank, l_float32 *pval, NUMA **pna)
LEPT_DLL l_int32 pixGetAverageMaskedRGB (PIX *pixs, PIX *pixm, l_int32 x, l_int32 y, l_int32 factor, l_int32 type, l_float32 *prval, l_float32 *pgval, l_float32 *pbval)
LEPT_DLL l_int32 pixGetAverageMasked (PIX *pixs, PIX *pixm, l_int32 x, l_int32 y, l_int32 factor, l_int32 type, l_float32 *pval)
LEPT_DLL l_int32 pixGetAverageTiledRGB (PIX *pixs, l_int32 sx, l_int32 sy, l_int32 type, PIX **ppixr, PIX **ppixg, PIX **ppixb)
LEPT_DLL PIXpixGetAverageTiled (PIX *pixs, l_int32 sx, l_int32 sy, l_int32 type)
LEPT_DLL l_int32 pixGetExtremeValue (PIX *pixs, l_int32 factor, l_int32 type, l_int32 *prval, l_int32 *pgval, l_int32 *pbval, l_int32 *pgrayval)
LEPT_DLL l_int32 pixGetMaxValueInRect (PIX *pixs, BOX *box, l_uint32 *pmaxval, l_int32 *pxmax, l_int32 *pymax)
LEPT_DLL PIXpixaGetAlignedStats (PIXA *pixa, l_int32 type, l_int32 nbins, l_int32 thresh)
LEPT_DLL l_int32 pixaExtractColumnFromEachPix (PIXA *pixa, l_int32 col, PIX *pixd)
LEPT_DLL l_int32 pixGetRowStats (PIX *pixs, l_int32 type, l_int32 nbins, l_int32 thresh, l_float32 *colvect)
LEPT_DLL l_int32 pixGetColumnStats (PIX *pixs, l_int32 type, l_int32 nbins, l_int32 thresh, l_float32 *rowvect)
LEPT_DLL l_int32 pixSetPixelColumn (PIX *pix, l_int32 col, l_float32 *colvect)
LEPT_DLL l_int32 pixThresholdForFgBg (PIX *pixs, l_int32 factor, l_int32 thresh, l_int32 *pfgval, l_int32 *pbgval)
LEPT_DLL l_int32 pixSplitDistributionFgBg (PIX *pixs, l_float32 scorefract, l_int32 factor, l_int32 *pthresh, l_int32 *pfgval, l_int32 *pbgval, l_int32 debugflag)
LEPT_DLL l_int32 pixaFindDimensions (PIXA *pixa, NUMA **pnaw, NUMA **pnah)
LEPT_DLL NUMApixaFindAreaPerimRatio (PIXA *pixa)
LEPT_DLL l_int32 pixFindAreaPerimRatio (PIX *pixs, l_int32 *tab, l_float32 *pfract)
LEPT_DLL NUMApixaFindPerimSizeRatio (PIXA *pixa)
LEPT_DLL l_int32 pixFindPerimSizeRatio (PIX *pixs, l_int32 *tab, l_float32 *pratio)
LEPT_DLL NUMApixaFindAreaFraction (PIXA *pixa)
LEPT_DLL l_int32 pixFindAreaFraction (PIX *pixs, l_int32 *tab, l_float32 *pfract)
LEPT_DLL NUMApixaFindWidthHeightRatio (PIXA *pixa)
LEPT_DLL NUMApixaFindWidthHeightProduct (PIXA *pixa)
LEPT_DLL PIXpixClipRectangle (PIX *pixs, BOX *box, BOX **pboxc)
LEPT_DLL PIXpixClipMasked (PIX *pixs, PIX *pixm, l_int32 x, l_int32 y, l_uint32 outval)
LEPT_DLL l_int32 pixClipToForeground (PIX *pixs, PIX **ppixd, BOX **pbox)
LEPT_DLL l_int32 pixClipBoxToForeground (PIX *pixs, BOX *boxs, PIX **ppixd, BOX **pboxd)
LEPT_DLL l_int32 pixScanForForeground (PIX *pixs, BOX *box, l_int32 scanflag, l_int32 *ploc)
LEPT_DLL l_int32 pixClipBoxToEdges (PIX *pixs, BOX *boxs, l_int32 lowthresh, l_int32 highthresh, l_int32 maxwidth, l_int32 factor, PIX **ppixd, BOX **pboxd)
LEPT_DLL l_int32 pixScanForEdge (PIX *pixs, BOX *box, l_int32 lowthresh, l_int32 highthresh, l_int32 maxwidth, l_int32 factor, l_int32 scanflag, l_int32 *ploc)
LEPT_DLL PIXApixaCreate (l_int32 n)
LEPT_DLL PIXApixaCreateFromPix (PIX *pixs, l_int32 n, l_int32 cellw, l_int32 cellh)
LEPT_DLL PIXApixaCreateFromBoxa (PIX *pixs, BOXA *boxa, l_int32 *pcropwarn)
LEPT_DLL PIXApixaSplitPix (PIX *pixs, l_int32 nx, l_int32 ny, l_int32 borderwidth, l_uint32 bordercolor)
LEPT_DLL void pixaDestroy (PIXA **ppixa)
LEPT_DLL PIXApixaCopy (PIXA *pixa, l_int32 copyflag)
LEPT_DLL l_int32 pixaAddPix (PIXA *pixa, PIX *pix, l_int32 copyflag)
LEPT_DLL l_int32 pixaExtendArray (PIXA *pixa)
LEPT_DLL l_int32 pixaAddBox (PIXA *pixa, BOX *box, l_int32 copyflag)
LEPT_DLL l_int32 pixaGetCount (PIXA *pixa)
LEPT_DLL l_int32 pixaChangeRefcount (PIXA *pixa, l_int32 delta)
LEPT_DLL PIXpixaGetPix (PIXA *pixa, l_int32 index, l_int32 accesstype)
LEPT_DLL l_int32 pixaGetPixDimensions (PIXA *pixa, l_int32 index, l_int32 *pw, l_int32 *ph, l_int32 *pd)
LEPT_DLL BOXApixaGetBoxa (PIXA *pixa, l_int32 accesstype)
LEPT_DLL l_int32 pixaGetBoxaCount (PIXA *pixa)
LEPT_DLL BOXpixaGetBox (PIXA *pixa, l_int32 index, l_int32 accesstype)
LEPT_DLL l_int32 pixaGetBoxGeometry (PIXA *pixa, l_int32 index, l_int32 *px, l_int32 *py, l_int32 *pw, l_int32 *ph)
LEPT_DLL PIX ** pixaGetPixArray (PIXA *pixa)
LEPT_DLL l_int32 pixaReplacePix (PIXA *pixa, l_int32 index, PIX *pix, BOX *box)
LEPT_DLL l_int32 pixaInsertPix (PIXA *pixa, l_int32 index, PIX *pixs, BOX *box)
LEPT_DLL l_int32 pixaRemovePix (PIXA *pixa, l_int32 index)
LEPT_DLL l_int32 pixaJoin (PIXA *pixad, PIXA *pixas, l_int32 istart, l_int32 iend)
LEPT_DLL PIXAApixaaCreate (l_int32 n)
LEPT_DLL PIXAApixaaCreateFromPixa (PIXA *pixa, l_int32 n, l_int32 type, l_int32 copyflag)
LEPT_DLL void pixaaDestroy (PIXAA **ppixaa)
LEPT_DLL l_int32 pixaaAddPixa (PIXAA *pixaa, PIXA *pixa, l_int32 copyflag)
LEPT_DLL l_int32 pixaaExtendArray (PIXAA *pixaa)
LEPT_DLL l_int32 pixaaAddBox (PIXAA *pixaa, BOX *box, l_int32 copyflag)
LEPT_DLL l_int32 pixaaGetCount (PIXAA *pixaa)
LEPT_DLL PIXApixaaGetPixa (PIXAA *pixaa, l_int32 index, l_int32 accesstype)
LEPT_DLL BOXApixaaGetBoxa (PIXAA *pixaa, l_int32 accesstype)
LEPT_DLL PIXApixaRead (const char *filename)
LEPT_DLL PIXApixaReadStream (FILE *fp)
LEPT_DLL l_int32 pixaWrite (const char *filename, PIXA *pixa)
LEPT_DLL l_int32 pixaWriteStream (FILE *fp, PIXA *pixa)
LEPT_DLL PIXAApixaaRead (const char *filename)
LEPT_DLL PIXAApixaaReadStream (FILE *fp)
LEPT_DLL l_int32 pixaaWrite (const char *filename, PIXAA *pixaa)
LEPT_DLL l_int32 pixaaWriteStream (FILE *fp, PIXAA *pixaa)
LEPT_DLL PIXACCpixaccCreate (l_int32 w, l_int32 h, l_int32 subflag)
LEPT_DLL void pixaccDestroy (PIXACC **ppixacc)
LEPT_DLL PIXpixaccFinal (PIXACC *pixacc, l_int32 outdepth)
LEPT_DLL PIXpixaccGetPix (PIXACC *pixacc)
LEPT_DLL l_int32 pixaccGetOffset (PIXACC *pixacc)
LEPT_DLL l_int32 pixaccAdd (PIXACC *pixacc, PIX *pix)
LEPT_DLL l_int32 pixaccSubtract (PIXACC *pixacc, PIX *pix)
LEPT_DLL l_int32 pixaccMultConst (PIXACC *pixacc, l_float32 factor)
LEPT_DLL PIXpixSelectBySize (PIX *pixs, l_int32 width, l_int32 height, l_int32 connectivity, l_int32 type, l_int32 relation, l_int32 *pchanged)
LEPT_DLL PIXApixaSelectBySize (PIXA *pixas, l_int32 width, l_int32 height, l_int32 type, l_int32 relation, l_int32 *pchanged)
LEPT_DLL PIXpixSelectByAreaPerimRatio (PIX *pixs, l_float32 thresh, l_int32 connectivity, l_int32 type, l_int32 *pchanged)
LEPT_DLL PIXApixaSelectByAreaPerimRatio (PIXA *pixas, l_float32 thresh, l_int32 type, l_int32 *pchanged)
LEPT_DLL PIXpixSelectByAreaFraction (PIX *pixs, l_float32 thresh, l_int32 connectivity, l_int32 type, l_int32 *pchanged)
LEPT_DLL PIXApixaSelectByAreaFraction (PIXA *pixas, l_float32 thresh, l_int32 type, l_int32 *pchanged)
LEPT_DLL PIXpixSelectByWidthHeightRatio (PIX *pixs, l_float32 thresh, l_int32 connectivity, l_int32 type, l_int32 *pchanged)
LEPT_DLL PIXApixaSelectByWidthHeightRatio (PIXA *pixas, l_float32 thresh, l_int32 type, l_int32 *pchanged)
LEPT_DLL PIXApixaSelectWithIndicator (PIXA *pixas, NUMA *na, l_int32 *pchanged)
LEPT_DLL l_int32 pixRemoveWithIndicator (PIX *pixs, PIXA *pixa, NUMA *na)
LEPT_DLL l_int32 pixAddWithIndicator (PIX *pixs, PIXA *pixa, NUMA *na)
LEPT_DLL PIXApixaSort (PIXA *pixas, l_int32 sorttype, l_int32 sortorder, NUMA **pnaindex, l_int32 copyflag)
LEPT_DLL PIXApixaBinSort (PIXA *pixas, l_int32 sorttype, l_int32 sortorder, NUMA **pnaindex, l_int32 copyflag)
LEPT_DLL PIXApixaSortByIndex (PIXA *pixas, NUMA *naindex, l_int32 copyflag)
LEPT_DLL PIXAApixaSort2dByIndex (PIXA *pixas, NUMAA *naa, l_int32 copyflag)
LEPT_DLL PIXApixaaFlattenToPixa (PIXAA *pixaa, NUMA **pnaindex, l_int32 copyflag)
LEPT_DLL l_int32 pixaSizeRange (PIXA *pixa, l_int32 *pminw, l_int32 *pminh, l_int32 *pmaxw, l_int32 *pmaxh)
LEPT_DLL PIXApixaClipToPix (PIXA *pixas, PIX *pixs)
LEPT_DLL l_int32 pixaAnyColormaps (PIXA *pixa, l_int32 *phascmap)
LEPT_DLL l_int32 pixaEqual (PIXA *pixa1, PIXA *pixa2, l_int32 maxdist, NUMA **pnaindex, l_int32 *psame)
LEPT_DLL PIXpixaDisplay (PIXA *pixa, l_int32 w, l_int32 h)
LEPT_DLL PIXpixaDisplayRandomCmap (PIXA *pixa, l_int32 w, l_int32 h)
LEPT_DLL PIXpixaDisplayOnLattice (PIXA *pixa, l_int32 xspace, l_int32 yspace)
LEPT_DLL PIXpixaDisplayUnsplit (PIXA *pixa, l_int32 nx, l_int32 ny, l_int32 borderwidth, l_uint32 bordercolor)
LEPT_DLL PIXpixaDisplayTiled (PIXA *pixa, l_int32 maxwidth, l_int32 background, l_int32 spacing)
LEPT_DLL PIXpixaDisplayTiledInRows (PIXA *pixa, l_int32 maxwidth, l_int32 background, l_int32 spacing)
LEPT_DLL PIXpixaDisplayTiledAndScaled (PIXA *pixa, l_int32 outdepth, l_int32 tilewidth, l_int32 ncols, l_int32 background, l_int32 spacing, l_int32 border)
LEPT_DLL PIXpixaaDisplay (PIXAA *pixaa, l_int32 w, l_int32 h)
LEPT_DLL PIXpixaaDisplayByPixa (PIXAA *pixaa, l_int32 xspace, l_int32 yspace, l_int32 maxw)
LEPT_DLL PIXApixaaDisplayTiledAndScaled (PIXAA *pixaa, l_int32 outdepth, l_int32 tilewidth, l_int32 ncols, l_int32 background, l_int32 spacing, l_int32 border)
LEPT_DLL l_int32 pmsCreate (size_t minsize, size_t smallest, NUMA *numalloc, const char *logfile)
LEPT_DLL void pmsDestroy ()
LEPT_DLL void * pmsCustomAlloc (size_t nbytes)
LEPT_DLL void pmsCustomDealloc (void *data)
LEPT_DLL void * pmsGetAlloc (size_t nbytes)
LEPT_DLL l_int32 pmsGetLevelForAlloc (size_t nbytes, l_int32 *plevel)
LEPT_DLL l_int32 pmsGetLevelForDealloc (void *data, l_int32 *plevel)
LEPT_DLL void pmsLogInfo ()
LEPT_DLL l_int32 pixAddConstantGray (PIX *pixs, l_int32 val)
LEPT_DLL l_int32 pixMultConstantGray (PIX *pixs, l_float32 val)
LEPT_DLL PIXpixAddGray (PIX *pixd, PIX *pixs1, PIX *pixs2)
LEPT_DLL PIXpixSubtractGray (PIX *pixd, PIX *pixs1, PIX *pixs2)
LEPT_DLL PIXpixThresholdToValue (PIX *pixd, PIX *pixs, l_int32 threshval, l_int32 setval)
LEPT_DLL PIXpixInitAccumulate (l_int32 w, l_int32 h, l_uint32 offset)
LEPT_DLL PIXpixFinalAccumulate (PIX *pixs, l_uint32 offset, l_int32 depth)
LEPT_DLL PIXpixFinalAccumulateThreshold (PIX *pixs, l_uint32 offset, l_uint32 threshold)
LEPT_DLL l_int32 pixAccumulate (PIX *pixd, PIX *pixs, l_int32 op)
LEPT_DLL l_int32 pixMultConstAccumulate (PIX *pixs, l_float32 factor, l_uint32 offset)
LEPT_DLL PIXpixAbsDifference (PIX *pixs1, PIX *pixs2)
LEPT_DLL PIXpixMinOrMax (PIX *pixd, PIX *pixs1, PIX *pixs2, l_int32 type)
LEPT_DLL PIXpixMaxDynamicRange (PIX *pixs, l_int32 type)
LEPT_DLL l_float32makeLogBase2Tab (void)
LEPT_DLL l_float32 getLogBase2 (l_int32 val, l_float32 *logtab)
LEPT_DLL PIXpixThreshold8 (PIX *pixs, l_int32 d, l_int32 nlevels, l_int32 cmapflag)
LEPT_DLL PIXpixRemoveColormap (PIX *pixs, l_int32 type)
LEPT_DLL l_int32 pixAddGrayColormap8 (PIX *pixs)
LEPT_DLL PIXpixAddMinimalGrayColormap8 (PIX *pixs)
LEPT_DLL PIXpixConvertRGBToLuminance (PIX *pixs)
LEPT_DLL PIXpixConvertRGBToGray (PIX *pixs, l_float32 rwt, l_float32 gwt, l_float32 bwt)
LEPT_DLL PIXpixConvertRGBToGrayFast (PIX *pixs)
LEPT_DLL PIXpixConvertRGBToGrayMinMax (PIX *pixs, l_int32 type)
LEPT_DLL PIXpixConvertGrayToColormap (PIX *pixs)
LEPT_DLL PIXpixConvertGrayToColormap8 (PIX *pixs, l_int32 mindepth)
LEPT_DLL PIXpixColorizeGray (PIX *pixs, l_uint32 color, l_int32 cmapflag)
LEPT_DLL PIXpixConvertRGBToColormap (PIX *pixs, l_int32 ditherflag)
LEPT_DLL l_int32 pixQuantizeIfFewColors (PIX *pixs, l_int32 maxcolors, l_int32 mingraycolors, l_int32 octlevel, PIX **ppixd)
LEPT_DLL PIXpixConvert16To8 (PIX *pixs, l_int32 whichbyte)
LEPT_DLL PIXpixConvertGrayToFalseColor (PIX *pixs, l_float32 gamma)
LEPT_DLL PIXpixUnpackBinary (PIX *pixs, l_int32 depth, l_int32 invert)
LEPT_DLL PIXpixConvert1To16 (PIX *pixd, PIX *pixs, l_uint16 val0, l_uint16 val1)
LEPT_DLL PIXpixConvert1To32 (PIX *pixd, PIX *pixs, l_uint32 val0, l_uint32 val1)
LEPT_DLL PIXpixConvert1To2Cmap (PIX *pixs)
LEPT_DLL PIXpixConvert1To2 (PIX *pixd, PIX *pixs, l_int32 val0, l_int32 val1)
LEPT_DLL PIXpixConvert1To4Cmap (PIX *pixs)
LEPT_DLL PIXpixConvert1To4 (PIX *pixd, PIX *pixs, l_int32 val0, l_int32 val1)
LEPT_DLL PIXpixConvert1To8 (PIX *pixd, PIX *pixs, l_uint8 val0, l_uint8 val1)
LEPT_DLL PIXpixConvert2To8 (PIX *pixs, l_uint8 val0, l_uint8 val1, l_uint8 val2, l_uint8 val3, l_int32 cmapflag)
LEPT_DLL PIXpixConvert4To8 (PIX *pixs, l_int32 cmapflag)
LEPT_DLL PIXpixConvert8To16 (PIX *pixs, l_int32 leftshift)
LEPT_DLL PIXpixConvertTo1 (PIX *pixs, l_int32 threshold)
LEPT_DLL PIXpixConvertTo1BySampling (PIX *pixs, l_int32 factor, l_int32 threshold)
LEPT_DLL PIXpixConvertTo8 (PIX *pixs, l_int32 cmapflag)
LEPT_DLL PIXpixConvertTo8BySampling (PIX *pixs, l_int32 factor, l_int32 cmapflag)
LEPT_DLL PIXpixConvertTo16 (PIX *pixs)
LEPT_DLL PIXpixConvertTo32 (PIX *pixs)
LEPT_DLL PIXpixConvertTo32BySampling (PIX *pixs, l_int32 factor)
LEPT_DLL PIXpixConvert8To32 (PIX *pixs)
LEPT_DLL PIXpixConvertTo8Or32 (PIX *pixs, l_int32 copyflag, l_int32 warnflag)
LEPT_DLL PIXpixConvertLossless (PIX *pixs, l_int32 d)
LEPT_DLL PIXpixConvertForPSWrap (PIX *pixs)
LEPT_DLL PIXpixConvertRGBToHSV (PIX *pixd, PIX *pixs)
LEPT_DLL PIXpixConvertHSVToRGB (PIX *pixd, PIX *pixs)
LEPT_DLL l_int32 convertRGBToHSV (l_int32 rval, l_int32 gval, l_int32 bval, l_int32 *phval, l_int32 *psval, l_int32 *pvval)
LEPT_DLL l_int32 convertHSVToRGB (l_int32 hval, l_int32 sval, l_int32 vval, l_int32 *prval, l_int32 *pgval, l_int32 *pbval)
LEPT_DLL PIXpixConvertRGBToHue (PIX *pixs)
LEPT_DLL PIXpixConvertRGBToSaturation (PIX *pixs)
LEPT_DLL PIXpixConvertRGBToValue (PIX *pixs)
LEPT_DLL PIXTILINGpixTilingCreate (PIX *pixs, l_int32 nx, l_int32 ny, l_int32 w, l_int32 h, l_int32 xoverlap, l_int32 yoverlap)
LEPT_DLL void pixTilingDestroy (PIXTILING **ppt)
LEPT_DLL l_int32 pixTilingGetCount (PIXTILING *pt, l_int32 *pnx, l_int32 *pny)
LEPT_DLL l_int32 pixTilingGetSize (PIXTILING *pt, l_int32 *pw, l_int32 *ph)
LEPT_DLL PIXpixTilingGetTile (PIXTILING *pt, l_int32 i, l_int32 j)
LEPT_DLL l_int32 pixTilingNoStripOnPaint (PIXTILING *pt)
LEPT_DLL l_int32 pixTilingPaintTile (PIX *pixd, l_int32 i, l_int32 j, PIX *pixs, PIXTILING *pt)
LEPT_DLL PIXpixReadStreamPng (FILE *fp)
LEPT_DLL l_int32 readHeaderPng (const char *filename, l_int32 *pwidth, l_int32 *pheight, l_int32 *pbpc, l_int32 *pcpp, l_int32 *piscmap)
LEPT_DLL l_int32 freadHeaderPng (FILE *fp, l_int32 *pwidth, l_int32 *pheight, l_int32 *pbpc, l_int32 *pcpp, l_int32 *piscmap)
LEPT_DLL l_int32 sreadHeaderPng (const l_uint8 *data, l_int32 *pwidth, l_int32 *pheight, l_int32 *pbpc, l_int32 *pcpp, l_int32 *piscmap)
LEPT_DLL l_int32 pixWritePng (const char *filename, PIX *pix, l_float32 gamma)
LEPT_DLL l_int32 pixWriteStreamPng (FILE *fp, PIX *pix, l_float32 gamma)
LEPT_DLL void l_pngSetStrip16To8 (l_int32 flag)
LEPT_DLL void l_pngSetStripAlpha (l_int32 flag)
LEPT_DLL void l_pngSetZlibCompression (l_int32 val)
LEPT_DLL PIXpixReadMemPng (const l_uint8 *cdata, size_t size)
LEPT_DLL l_int32 pixWriteMemPng (l_uint8 **pdata, size_t *psize, PIX *pix, l_float32 gamma)
LEPT_DLL PIXpixReadStreamPnm (FILE *fp)
LEPT_DLL l_int32 pixWriteStreamPnm (FILE *fp, PIX *pix)
LEPT_DLL l_int32 pixWriteStreamAsciiPnm (FILE *fp, PIX *pix)
LEPT_DLL PIXpixReadMemPnm (const l_uint8 *cdata, size_t size)
LEPT_DLL l_int32 pixWriteMemPnm (l_uint8 **pdata, size_t *psize, PIX *pix)
LEPT_DLL PIXpixProjectiveSampledPta (PIX *pixs, PTA *ptad, PTA *ptas, l_int32 incolor)
LEPT_DLL PIXpixProjectiveSampled (PIX *pixs, l_float32 *vc, l_int32 incolor)
LEPT_DLL PIXpixProjectivePta (PIX *pixs, PTA *ptad, PTA *ptas, l_int32 incolor)
LEPT_DLL PIXpixProjective (PIX *pixs, l_float32 *vc, l_int32 incolor)
LEPT_DLL PIXpixProjectivePtaColor (PIX *pixs, PTA *ptad, PTA *ptas, l_uint32 colorval)
LEPT_DLL PIXpixProjectiveColor (PIX *pixs, l_float32 *vc, l_uint32 colorval)
LEPT_DLL PIXpixProjectivePtaGray (PIX *pixs, PTA *ptad, PTA *ptas, l_uint8 grayval)
LEPT_DLL PIXpixProjectiveGray (PIX *pixs, l_float32 *vc, l_uint8 grayval)
LEPT_DLL l_int32 getProjectiveXformCoeffs (PTA *ptas, PTA *ptad, l_float32 **pvc)
LEPT_DLL l_int32 projectiveXformSampledPt (l_float32 *vc, l_int32 x, l_int32 y, l_int32 *pxp, l_int32 *pyp)
LEPT_DLL l_int32 projectiveXformPt (l_float32 *vc, l_int32 x, l_int32 y, l_float32 *pxp, l_float32 *pyp)
LEPT_DLL l_int32 convertFilesToPS (const char *dirin, const char *substr, l_int32 res, const char *fileout)
LEPT_DLL l_int32 sarrayConvertFilesToPS (SARRAY *sa, l_int32 res, const char *fileout)
LEPT_DLL l_int32 convertFilesFittedToPS (const char *dirin, const char *substr, l_float32 xpts, l_float32 ypts, const char *fileout)
LEPT_DLL l_int32 sarrayConvertFilesFittedToPS (SARRAY *sa, l_float32 xpts, l_float32 ypts, const char *fileout)
LEPT_DLL l_int32 convertSegmentedPagesToPS (const char *pagedir, const char *maskdir, l_float32 textscale, l_float32 imagescale, l_int32 threshold, l_int32 numpre, l_int32 numpost, const char *fileout)
LEPT_DLL l_int32 pixWriteSegmentedPageToPS (PIX *pixs, PIX *pixm, l_float32 textscale, l_float32 imagescale, l_int32 threshold, l_int32 pageno, const char *fileout)
LEPT_DLL l_int32 pixWriteMixedToPS (PIX *pixb, PIX *pixc, l_float32 scale, l_int32 pageno, const char *fileout)
LEPT_DLL NUMAsarrayFindMaskAndPagePairings (SARRAY *sapage, SARRAY *samask, l_int32 numpre, l_int32 numpost, l_int32 maxnum)
LEPT_DLL l_int32 convertToPSEmbed (const char *filein, const char *fileout, l_int32 level)
LEPT_DLL l_int32 pixWritePSEmbed (const char *filein, const char *fileout)
LEPT_DLL l_int32 pixWriteStreamPS (FILE *fp, PIX *pix, BOX *box, l_int32 res, l_float32 scale)
LEPT_DLL char * pixWriteStringPS (PIX *pixs, BOX *box, l_int32 res, l_float32 scale)
LEPT_DLL void getScaledParametersPS (BOX *box, l_int32 wpix, l_int32 hpix, l_int32 res, l_float32 scale, l_float32 *pxpt, l_float32 *pypt, l_float32 *pwpt, l_float32 *phpt)
LEPT_DLL void convertByteToHexAscii (l_uint8 byteval, char *pnib1, char *pnib2)
LEPT_DLL l_int32 convertJpegToPSEmbed (const char *filein, const char *fileout)
LEPT_DLL l_int32 convertJpegToPS (const char *filein, const char *fileout, const char *operation, l_int32 x, l_int32 y, l_int32 res, l_float32 scale, l_int32 pageno, l_int32 endpage)
LEPT_DLL l_int32 convertJpegToPSString (const char *filein, char **poutstr, l_int32 *pnbytes, l_int32 x, l_int32 y, l_int32 res, l_float32 scale, l_int32 pageno, l_int32 endpage)
LEPT_DLL l_int32 convertTiffG4ToPSEmbed (const char *filein, const char *fileout)
LEPT_DLL l_int32 convertTiffG4ToPS (const char *filein, const char *fileout, const char *operation, l_int32 x, l_int32 y, l_int32 res, l_float32 scale, l_int32 pageno, l_int32 mask, l_int32 endpage)
LEPT_DLL l_int32 convertTiffG4ToPSString (const char *filein, char **poutstr, l_int32 *pnbytes, l_int32 x, l_int32 y, l_int32 res, l_float32 scale, l_int32 pageno, l_int32 mask, l_int32 endpage)
LEPT_DLL l_int32 convertTiffMultipageToPS (const char *filein, const char *fileout, const char *tempfile, l_float32 fillfract)
LEPT_DLL l_int32 pixWriteMemPS (l_uint8 **pdata, size_t *psize, PIX *pix, BOX *box, l_int32 res, l_float32 scale)
LEPT_DLL l_int32 getResLetterPage (l_int32 w, l_int32 h, l_float32 fillfract)
LEPT_DLL l_int32 getResA4Page (l_int32 w, l_int32 h, l_float32 fillfract)
LEPT_DLL char * encodeAscii85 (l_uint8 *inarray, l_int32 insize, l_int32 *poutsize)
LEPT_DLL l_int32 convertChunkToAscii85 (l_uint8 *inarray, l_int32 insize, l_int32 *pindex, char *outbuf, l_int32 *pnbout)
LEPT_DLL l_uint8decodeAscii85 (char *ina, l_int32 insize, l_int32 *poutsize)
LEPT_DLL L_PTRAptraCreate (l_int32 n)
LEPT_DLL void ptraDestroy (L_PTRA **ppa, l_int32 freeflag, l_int32 warnflag)
LEPT_DLL l_int32 ptraAdd (L_PTRA *pa, void *item)
LEPT_DLL l_int32 ptraExtendArray (L_PTRA *pa)
LEPT_DLL l_int32 ptraInsert (L_PTRA *pa, l_int32 index, void *item, l_int32 shiftflag)
LEPT_DLL void * ptraGetHandle (L_PTRA *pa, l_int32 index)
LEPT_DLL void * ptraRemove (L_PTRA *pa, l_int32 index, l_int32 flag)
LEPT_DLL void * ptraRemoveLast (L_PTRA *pa)
LEPT_DLL void * ptraReplace (L_PTRA *pa, l_int32 index, void *item, l_int32 freeflag)
LEPT_DLL l_int32 ptraSwap (L_PTRA *pa, l_int32 index1, l_int32 index2)
LEPT_DLL l_int32 ptraCompactArray (L_PTRA *pa)
LEPT_DLL l_int32 ptraReverse (L_PTRA *pa)
LEPT_DLL l_int32 ptraJoin (L_PTRA *pa1, L_PTRA *pa2)
LEPT_DLL l_int32 ptraGetMaxIndex (L_PTRA *pa, l_int32 *pmaxindex)
LEPT_DLL l_int32 ptraGetActualCount (L_PTRA *pa, l_int32 *pcount)
LEPT_DLL void * ptraGetPtrToItem (L_PTRA *pa, l_int32 index)
LEPT_DLL L_PTRAAptraaCreate (l_int32 n)
LEPT_DLL void ptraaDestroy (L_PTRAA **ppaa, l_int32 freeflag, l_int32 warnflag)
LEPT_DLL l_int32 ptraaGetSize (L_PTRAA *paa, l_int32 *psize)
LEPT_DLL l_int32 ptraaInsertPtra (L_PTRAA *paa, l_int32 index, L_PTRA *pa)
LEPT_DLL L_PTRAptraaGetPtra (L_PTRAA *paa, l_int32 index, l_int32 accessflag)
LEPT_DLL L_PTRAptraaFlattenToPtra (L_PTRAA *paa)
LEPT_DLL NUMAnumaGetBinSortIndex (NUMA *nas, l_int32 sortorder)
LEPT_DLL PTAptaCreate (l_int32 n)
LEPT_DLL void ptaDestroy (PTA **ppta)
LEPT_DLL PTAptaCopy (PTA *pta)
LEPT_DLL PTAptaClone (PTA *pta)
LEPT_DLL l_int32 ptaEmpty (PTA *pta)
LEPT_DLL l_int32 ptaAddPt (PTA *pta, l_float32 x, l_float32 y)
LEPT_DLL l_int32 ptaExtendArrays (PTA *pta)
LEPT_DLL l_int32 ptaJoin (PTA *ptad, PTA *ptas, l_int32 istart, l_int32 iend)
LEPT_DLL PTAptaReverse (PTA *ptas, l_int32 type)
LEPT_DLL PTAptaCyclicPerm (PTA *ptas, l_int32 xs, l_int32 ys)
LEPT_DLL PTAptaSort (PTA *ptas, l_int32 sorttype, l_int32 sortorder, NUMA **pnaindex)
LEPT_DLL PTAptaRemoveDuplicates (PTA *ptas, l_uint32 factor)
LEPT_DLL l_int32 ptaGetRefcount (PTA *pta)
LEPT_DLL l_int32 ptaChangeRefcount (PTA *pta, l_int32 delta)
LEPT_DLL l_int32 ptaGetCount (PTA *pta)
LEPT_DLL l_int32 ptaGetPt (PTA *pta, l_int32 index, l_float32 *px, l_float32 *py)
LEPT_DLL l_int32 ptaGetIPt (PTA *pta, l_int32 index, l_int32 *px, l_int32 *py)
LEPT_DLL l_int32 ptaGetArrays (PTA *pta, NUMA **pnax, NUMA **pnay)
LEPT_DLL PTAAptaaCreate (l_int32 n)
LEPT_DLL void ptaaDestroy (PTAA **pptaa)
LEPT_DLL l_int32 ptaaAddPta (PTAA *ptaa, PTA *pta, l_int32 copyflag)
LEPT_DLL l_int32 ptaaExtendArray (PTAA *ptaa)
LEPT_DLL l_int32 ptaaGetCount (PTAA *ptaa)
LEPT_DLL PTAptaaGetPta (PTAA *ptaa, l_int32 index, l_int32 accessflag)
LEPT_DLL PTAAptaaRead (const char *filename)
LEPT_DLL PTAAptaaReadStream (FILE *fp)
LEPT_DLL l_int32 ptaaWrite (const char *filename, PTAA *ptaa, l_int32 type)
LEPT_DLL l_int32 ptaaWriteStream (FILE *fp, PTAA *ptaa, l_int32 type)
LEPT_DLL PTAptaRead (const char *filename)
LEPT_DLL PTAptaReadStream (FILE *fp)
LEPT_DLL l_int32 ptaWrite (const char *filename, PTA *pta, l_int32 type)
LEPT_DLL l_int32 ptaWriteStream (FILE *fp, PTA *pta, l_int32 type)
LEPT_DLL BOXptaGetExtent (PTA *pta)
LEPT_DLL PTAptaGetInsideBox (PTA *ptas, BOX *box)
LEPT_DLL PTApixFindCornerPixels (PIX *pixs)
LEPT_DLL l_int32 pixPlotAlongPta (PIX *pixs, PTA *pta, l_int32 outformat, const char *title)
LEPT_DLL l_int32 ptaContainsPt (PTA *pta, l_int32 x, l_int32 y)
LEPT_DLL l_int32 ptaTestIntersection (PTA *pta1, PTA *pta2)
LEPT_DLL PTAptaTransform (PTA *ptas, l_int32 shiftx, l_int32 shifty, l_float32 scalex, l_float32 scaley)
LEPT_DLL PTAptaSubsample (PTA *ptas, l_int32 subfactor)
LEPT_DLL l_int32 ptaGetLinearLSF (PTA *pta, l_float32 *pa, l_float32 *pb, NUMA **pnafit)
LEPT_DLL PTAptaGetPixelsFromPix (PIX *pixs, BOX *box)
LEPT_DLL PIXpixGenerateFromPta (PTA *pta, l_int32 w, l_int32 h)
LEPT_DLL PTAptaGetBoundaryPixels (PIX *pixs, l_int32 type)
LEPT_DLL PTAAptaaGetBoundaryPixels (PIX *pixs, l_int32 type, l_int32 connectivity, BOXA **pboxa, PIXA **ppixa)
LEPT_DLL L_QUEUElqueueCreate (l_int32 nalloc)
LEPT_DLL void lqueueDestroy (L_QUEUE **plq, l_int32 freeflag)
LEPT_DLL l_int32 lqueueAdd (L_QUEUE *lq, void *item)
LEPT_DLL l_int32 lqueueExtendArray (L_QUEUE *lq)
LEPT_DLL void * lqueueRemove (L_QUEUE *lq)
LEPT_DLL l_int32 lqueueGetCount (L_QUEUE *lq)
LEPT_DLL l_int32 lqueuePrint (FILE *fp, L_QUEUE *lq)
LEPT_DLL PIXpixRankFilter (PIX *pixs, l_int32 wf, l_int32 hf, l_float32 rank)
LEPT_DLL PIXpixRankFilterRGB (PIX *pixs, l_int32 wf, l_int32 hf, l_float32 rank)
LEPT_DLL PIXpixRankFilterGray (PIX *pixs, l_int32 wf, l_int32 hf, l_float32 rank)
LEPT_DLL PIXpixMedianFilter (PIX *pixs, l_int32 wf, l_int32 hf)
LEPT_DLL SARRAYpixProcessBarcodes (PIX *pixs, l_int32 format, l_int32 method, SARRAY **psaw, l_int32 debugflag)
LEPT_DLL PIXApixExtractBarcodes (PIX *pixs, l_int32 debugflag)
LEPT_DLL SARRAYpixReadBarcodes (PIXA *pixa, l_int32 format, l_int32 method, SARRAY **psaw, l_int32 debugflag)
LEPT_DLL NUMApixReadBarcodeWidths (PIX *pixs, l_int32 method, l_int32 debugflag)
LEPT_DLL BOXApixLocateBarcodes (PIX *pixs, l_int32 thresh, PIX **ppixb, PIX **ppixm)
LEPT_DLL PIXpixDeskewBarcode (PIX *pixs, PIX *pixb, BOX *box, l_int32 margin, l_int32 threshold, l_float32 *pangle, l_float32 *pconf)
LEPT_DLL NUMApixExtractBarcodeWidths1 (PIX *pixs, l_float32 thresh, l_float32 binfract, NUMA **pnaehist, NUMA **pnaohist, l_int32 debugflag)
LEPT_DLL NUMApixExtractBarcodeWidths2 (PIX *pixs, l_float32 thresh, l_float32 *pwidth, NUMA **pnac, l_int32 debugflag)
LEPT_DLL NUMApixExtractBarcodeCrossings (PIX *pixs, l_float32 thresh, l_int32 debugflag)
LEPT_DLL NUMAnumaQuantizeCrossingsByWidth (NUMA *nas, l_float32 binfract, NUMA **pnaehist, NUMA **pnaohist, l_int32 debugflag)
LEPT_DLL NUMAnumaQuantizeCrossingsByWindow (NUMA *nas, l_float32 ratio, l_float32 *pwidth, l_float32 *pfirstloc, NUMA **pnac, l_int32 debugflag)
LEPT_DLL PIXApixaReadFiles (const char *dirname, const char *substr)
LEPT_DLL PIXApixaReadFilesSA (SARRAY *sa)
LEPT_DLL PIXpixRead (const char *filename)
LEPT_DLL PIXpixReadWithHint (const char *filename, l_int32 hint)
LEPT_DLL PIXpixReadStream (FILE *fp, l_int32 hint)
LEPT_DLL l_int32 findFileFormat (FILE *fp)
LEPT_DLL l_int32 findFileFormatBuffer (const l_uint8 *buf)
LEPT_DLL l_int32 fileFormatIsTiff (FILE *fp)
LEPT_DLL PIXpixReadMem (const l_uint8 *data, size_t size)
LEPT_DLL l_int32 ioFormatTest (const char *filename)
LEPT_DLL l_int32 pixRasterop (PIX *pixd, l_int32 dx, l_int32 dy, l_int32 dw, l_int32 dh, l_int32 op, PIX *pixs, l_int32 sx, l_int32 sy)
LEPT_DLL l_int32 pixRasteropVip (PIX *pixd, l_int32 x, l_int32 w, l_int32 vshift, l_int32 incolor)
LEPT_DLL l_int32 pixRasteropHip (PIX *pixd, l_int32 y, l_int32 h, l_int32 hshift, l_int32 incolor)
LEPT_DLL PIXpixTranslate (PIX *pixd, PIX *pixs, l_int32 hshift, l_int32 vshift, l_int32 incolor)
LEPT_DLL l_int32 pixRasteropIP (PIX *pixd, l_int32 hshift, l_int32 vshift, l_int32 incolor)
LEPT_DLL l_int32 pixRasteropFullImage (PIX *pixd, PIX *pixs, l_int32 op)
LEPT_DLL void rasteropVipLow (l_uint32 *data, l_int32 pixw, l_int32 pixh, l_int32 depth, l_int32 wpl, l_int32 x, l_int32 w, l_int32 shift)
LEPT_DLL void rasteropHipLow (l_uint32 *data, l_int32 pixh, l_int32 depth, l_int32 wpl, l_int32 y, l_int32 h, l_int32 shift)
LEPT_DLL void shiftDataHorizontalLow (l_uint32 *datad, l_int32 wpld, l_uint32 *datas, l_int32 wpls, l_int32 shift)
LEPT_DLL void rasteropUniLow (l_uint32 *datad, l_int32 dpixw, l_int32 dpixh, l_int32 depth, l_int32 dwpl, l_int32 dx, l_int32 dy, l_int32 dw, l_int32 dh, l_int32 op)
LEPT_DLL void rasteropLow (l_uint32 *datad, l_int32 dpixw, l_int32 dpixh, l_int32 depth, l_int32 dwpl, l_int32 dx, l_int32 dy, l_int32 dw, l_int32 dh, l_int32 op, l_uint32 *datas, l_int32 spixw, l_int32 spixh, l_int32 swpl, l_int32 sx, l_int32 sy)
LEPT_DLL PIXpixRotate (PIX *pixs, l_float32 angle, l_int32 type, l_int32 incolor, l_int32 width, l_int32 height)
LEPT_DLL PIXpixEmbedForRotation (PIX *pixs, l_float32 angle, l_int32 incolor, l_int32 width, l_int32 height)
LEPT_DLL PIXpixRotateBySampling (PIX *pixs, l_int32 xcen, l_int32 ycen, l_float32 angle, l_int32 incolor)
LEPT_DLL PIXpixRotateAM (PIX *pixs, l_float32 angle, l_int32 incolor)
LEPT_DLL PIXpixRotateAMColor (PIX *pixs, l_float32 angle, l_uint32 colorval)
LEPT_DLL PIXpixRotateAMGray (PIX *pixs, l_float32 angle, l_uint8 grayval)
LEPT_DLL PIXpixRotateAMCorner (PIX *pixs, l_float32 angle, l_int32 incolor)
LEPT_DLL PIXpixRotateAMColorCorner (PIX *pixs, l_float32 angle, l_uint32 fillval)
LEPT_DLL PIXpixRotateAMGrayCorner (PIX *pixs, l_float32 angle, l_uint8 grayval)
LEPT_DLL PIXpixRotateAMColorFast (PIX *pixs, l_float32 angle, l_uint32 colorval)
LEPT_DLL void rotateAMColorLow (l_uint32 *datad, l_int32 w, l_int32 h, l_int32 wpld, l_uint32 *datas, l_int32 wpls, l_float32 angle, l_uint32 colorval)
LEPT_DLL void rotateAMGrayLow (l_uint32 *datad, l_int32 w, l_int32 h, l_int32 wpld, l_uint32 *datas, l_int32 wpls, l_float32 angle, l_uint8 grayval)
LEPT_DLL void rotateAMColorCornerLow (l_uint32 *datad, l_int32 w, l_int32 h, l_int32 wpld, l_uint32 *datas, l_int32 wpls, l_float32 angle, l_uint32 colorval)
LEPT_DLL void rotateAMGrayCornerLow (l_uint32 *datad, l_int32 w, l_int32 h, l_int32 wpld, l_uint32 *datas, l_int32 wpls, l_float32 angle, l_uint8 grayval)
LEPT_DLL void rotateAMColorFastLow (l_uint32 *datad, l_int32 w, l_int32 h, l_int32 wpld, l_uint32 *datas, l_int32 wpls, l_float32 angle, l_uint32 colorval)
LEPT_DLL PIXpixRotateOrth (PIX *pixs, l_int32 quads)
LEPT_DLL PIXpixRotate180 (PIX *pixd, PIX *pixs)
LEPT_DLL PIXpixRotate90 (PIX *pixs, l_int32 direction)
LEPT_DLL PIXpixFlipLR (PIX *pixd, PIX *pixs)
LEPT_DLL PIXpixFlipTB (PIX *pixd, PIX *pixs)
LEPT_DLL void rotate90Low (l_uint32 *datad, l_int32 wd, l_int32 hd, l_int32 d, l_int32 wpld, l_uint32 *datas, l_int32 wpls, l_int32 direction)
LEPT_DLL void flipLRLow (l_uint32 *data, l_int32 w, l_int32 h, l_int32 d, l_int32 wpl, l_uint8 *tab, l_uint32 *buffer)
LEPT_DLL void flipTBLow (l_uint32 *data, l_int32 h, l_int32 wpl, l_uint32 *buffer)
LEPT_DLL l_uint8makeReverseByteTab1 (void)
LEPT_DLL l_uint8makeReverseByteTab2 (void)
LEPT_DLL l_uint8makeReverseByteTab4 (void)
LEPT_DLL PIXpixRotateShear (PIX *pixs, l_int32 xcen, l_int32 ycen, l_float32 angle, l_int32 incolor)
LEPT_DLL PIXpixRotate2Shear (PIX *pixs, l_int32 xcen, l_int32 ycen, l_float32 angle, l_int32 incolor)
LEPT_DLL PIXpixRotate3Shear (PIX *pixs, l_int32 xcen, l_int32 ycen, l_float32 angle, l_int32 incolor)
LEPT_DLL l_int32 pixRotateShearIP (PIX *pixs, l_int32 xcen, l_int32 ycen, l_float32 angle, l_int32 incolor)
LEPT_DLL PIXpixRotateShearCenter (PIX *pixs, l_float32 angle, l_int32 incolor)
LEPT_DLL l_int32 pixRotateShearCenterIP (PIX *pixs, l_float32 angle, l_int32 incolor)
LEPT_DLL PIXpixRunlengthTransform (PIX *pixs, l_int32 color, l_int32 direction, l_int32 depth)
LEPT_DLL l_int32 pixFindHorizontalRuns (PIX *pix, l_int32 y, l_int32 *xstart, l_int32 *xend, l_int32 *pn)
LEPT_DLL l_int32 pixFindVerticalRuns (PIX *pix, l_int32 x, l_int32 *ystart, l_int32 *yend, l_int32 *pn)
LEPT_DLL l_int32 runlengthMembershipOnLine (l_int32 *buffer, l_int32 size, l_int32 depth, l_int32 *start, l_int32 *end, l_int32 n)
LEPT_DLL l_int32makeMSBitLocTab (l_int32 bitval)
LEPT_DLL SARRAYsarrayCreate (l_int32 n)
LEPT_DLL SARRAYsarrayCreateWordsFromString (const char *string)
LEPT_DLL SARRAYsarrayCreateLinesFromString (char *string, l_int32 blankflag)
LEPT_DLL void sarrayDestroy (SARRAY **psa)
LEPT_DLL SARRAYsarrayCopy (SARRAY *sa)
LEPT_DLL SARRAYsarrayClone (SARRAY *sa)
LEPT_DLL l_int32 sarrayAddString (SARRAY *sa, char *string, l_int32 copyflag)
LEPT_DLL l_int32 sarrayExtendArray (SARRAY *sa)
LEPT_DLL char * sarrayRemoveString (SARRAY *sa, l_int32 index)
LEPT_DLL l_int32 sarrayClear (SARRAY *sa)
LEPT_DLL l_int32 sarrayGetCount (SARRAY *sa)
LEPT_DLL char ** sarrayGetArray (SARRAY *sa, l_int32 *pnalloc, l_int32 *pn)
LEPT_DLL char * sarrayGetString (SARRAY *sa, l_int32 index, l_int32 copyflag)
LEPT_DLL l_int32 sarrayGetRefcount (SARRAY *sa)
LEPT_DLL l_int32 sarrayChangeRefcount (SARRAY *sa, l_int32 delta)
LEPT_DLL char * sarrayToString (SARRAY *sa, l_int32 addnlflag)
LEPT_DLL char * sarrayToStringRange (SARRAY *sa, l_int32 first, l_int32 nstrings, l_int32 addnlflag)
LEPT_DLL l_int32 sarrayConcatenate (SARRAY *sa1, SARRAY *sa2)
LEPT_DLL l_int32 sarrayAppendRange (SARRAY *sa1, SARRAY *sa2, l_int32 start, l_int32 end)
LEPT_DLL SARRAYsarrayConvertWordsToLines (SARRAY *sa, l_int32 linesize)
LEPT_DLL l_int32 sarraySplitString (SARRAY *sa, const char *str, const char *separators)
LEPT_DLL SARRAYsarraySelectBySubstring (SARRAY *sain, const char *substr)
LEPT_DLL l_int32 sarrayParseRange (SARRAY *sa, l_int32 start, l_int32 *pactualstart, l_int32 *pend, l_int32 *pnewstart, const char *substr, l_int32 loc)
LEPT_DLL SARRAYsarraySort (SARRAY *saout, SARRAY *sain, l_int32 sortorder)
LEPT_DLL l_int32 stringCompareLexical (const char *str1, const char *str2)
LEPT_DLL SARRAYsarrayRead (const char *filename)
LEPT_DLL SARRAYsarrayReadStream (FILE *fp)
LEPT_DLL l_int32 sarrayWrite (const char *filename, SARRAY *sa)
LEPT_DLL l_int32 sarrayWriteStream (FILE *fp, SARRAY *sa)
LEPT_DLL l_int32 sarrayAppend (const char *filename, SARRAY *sa)
LEPT_DLL SARRAYgetSortedPathnamesInDirectory (const char *dirname, const char *substr, l_int32 firstpage, l_int32 npages)
LEPT_DLL SARRAYgetFilenamesInDirectory (const char *dirname)
LEPT_DLL PIXpixScale (PIX *pixs, l_float32 scalex, l_float32 scaley)
LEPT_DLL PIXpixScaleGeneral (PIX *pixs, l_float32 scalex, l_float32 scaley, l_float32 sharpfract, l_int32 sharpwidth)
LEPT_DLL PIXpixScaleLI (PIX *pixs, l_float32 scalex, l_float32 scaley)
LEPT_DLL PIXpixScaleColorLI (PIX *pixs, l_float32 scalex, l_float32 scaley)
LEPT_DLL PIXpixScaleColor2xLI (PIX *pixs)
LEPT_DLL PIXpixScaleColor4xLI (PIX *pixs)
LEPT_DLL PIXpixScaleGrayLI (PIX *pixs, l_float32 scalex, l_float32 scaley)
LEPT_DLL PIXpixScaleGray2xLI (PIX *pixs)
LEPT_DLL PIXpixScaleGray4xLI (PIX *pixs)
LEPT_DLL PIXpixScaleBySampling (PIX *pixs, l_float32 scalex, l_float32 scaley)
LEPT_DLL PIXpixScaleRGBToGrayFast (PIX *pixs, l_int32 factor, l_int32 color)
LEPT_DLL PIXpixScaleRGBToBinaryFast (PIX *pixs, l_int32 factor, l_int32 thresh)
LEPT_DLL PIXpixScaleGrayToBinaryFast (PIX *pixs, l_int32 factor, l_int32 thresh)
LEPT_DLL PIXpixScaleSmooth (PIX *pix, l_float32 scalex, l_float32 scaley)
LEPT_DLL PIXpixScaleRGBToGray2 (PIX *pixs, l_float32 rwt, l_float32 gwt, l_float32 bwt)
LEPT_DLL PIXpixScaleAreaMap (PIX *pix, l_float32 scalex, l_float32 scaley)
LEPT_DLL PIXpixScaleAreaMap2 (PIX *pix)
LEPT_DLL PIXpixScaleBinary (PIX *pixs, l_float32 scalex, l_float32 scaley)
LEPT_DLL PIXpixScaleToGray (PIX *pixs, l_float32 scalefactor)
LEPT_DLL PIXpixScaleToGray2 (PIX *pixs)
LEPT_DLL PIXpixScaleToGray3 (PIX *pixs)
LEPT_DLL PIXpixScaleToGray4 (PIX *pixs)
LEPT_DLL PIXpixScaleToGray6 (PIX *pixs)
LEPT_DLL PIXpixScaleToGray8 (PIX *pixs)
LEPT_DLL PIXpixScaleToGray16 (PIX *pixs)
LEPT_DLL PIXpixScaleToGrayMipmap (PIX *pixs, l_float32 scalefactor)
LEPT_DLL PIXpixScaleMipmap (PIX *pixs1, PIX *pixs2, l_float32 scale)
LEPT_DLL PIXpixExpandReplicate (PIX *pixs, l_int32 factor)
LEPT_DLL PIXpixScaleGray2xLIThresh (PIX *pixs, l_int32 thresh)
LEPT_DLL PIXpixScaleGray2xLIDither (PIX *pixs)
LEPT_DLL PIXpixScaleGray4xLIThresh (PIX *pixs, l_int32 thresh)
LEPT_DLL PIXpixScaleGray4xLIDither (PIX *pixs)
LEPT_DLL PIXpixScaleGrayMinMax (PIX *pixs, l_int32 xfact, l_int32 yfact, l_int32 type)
LEPT_DLL PIXpixScaleGrayMinMax2 (PIX *pixs, l_int32 type)
LEPT_DLL PIXpixScaleGrayRankCascade (PIX *pixs, l_int32 level1, l_int32 level2, l_int32 level3, l_int32 level4)
LEPT_DLL PIXpixScaleGrayRank2 (PIX *pixs, l_int32 rank)
LEPT_DLL void scaleColorLILow (l_uint32 *datad, l_int32 wd, l_int32 hd, l_int32 wpld, l_uint32 *datas, l_int32 ws, l_int32 hs, l_int32 wpls)
LEPT_DLL void scaleGrayLILow (l_uint32 *datad, l_int32 wd, l_int32 hd, l_int32 wpld, l_uint32 *datas, l_int32 ws, l_int32 hs, l_int32 wpls)
LEPT_DLL void scaleColor2xLILow (l_uint32 *datad, l_int32 wpld, l_uint32 *datas, l_int32 ws, l_int32 hs, l_int32 wpls)
LEPT_DLL void scaleColor2xLILineLow (l_uint32 *lined, l_int32 wpld, l_uint32 *lines, l_int32 ws, l_int32 wpls, l_int32 lastlineflag)
LEPT_DLL void scaleGray2xLILow (l_uint32 *datad, l_int32 wpld, l_uint32 *datas, l_int32 ws, l_int32 hs, l_int32 wpls)
LEPT_DLL void scaleGray2xLILineLow (l_uint32 *lined, l_int32 wpld, l_uint32 *lines, l_int32 ws, l_int32 wpls, l_int32 lastlineflag)
LEPT_DLL void scaleGray4xLILow (l_uint32 *datad, l_int32 wpld, l_uint32 *datas, l_int32 ws, l_int32 hs, l_int32 wpls)
LEPT_DLL void scaleGray4xLILineLow (l_uint32 *lined, l_int32 wpld, l_uint32 *lines, l_int32 ws, l_int32 wpls, l_int32 lastlineflag)
LEPT_DLL l_int32 scaleBySamplingLow (l_uint32 *datad, l_int32 wd, l_int32 hd, l_int32 wpld, l_uint32 *datas, l_int32 ws, l_int32 hs, l_int32 d, l_int32 wpls)
LEPT_DLL l_int32 scaleSmoothLow (l_uint32 *datad, l_int32 wd, l_int32 hd, l_int32 wpld, l_uint32 *datas, l_int32 ws, l_int32 hs, l_int32 d, l_int32 wpls, l_int32 size)
LEPT_DLL void scaleRGBToGray2Low (l_uint32 *datad, l_int32 wd, l_int32 hd, l_int32 wpld, l_uint32 *datas, l_int32 wpls, l_float32 rwt, l_float32 gwt, l_float32 bwt)
LEPT_DLL void scaleColorAreaMapLow (l_uint32 *datad, l_int32 wd, l_int32 hd, l_int32 wpld, l_uint32 *datas, l_int32 ws, l_int32 hs, l_int32 wpls)
LEPT_DLL void scaleGrayAreaMapLow (l_uint32 *datad, l_int32 wd, l_int32 hd, l_int32 wpld, l_uint32 *datas, l_int32 ws, l_int32 hs, l_int32 wpls)
LEPT_DLL void scaleAreaMapLow2 (l_uint32 *datad, l_int32 wd, l_int32 hd, l_int32 wpld, l_uint32 *datas, l_int32 d, l_int32 wpls)
LEPT_DLL l_int32 scaleBinaryLow (l_uint32 *datad, l_int32 wd, l_int32 hd, l_int32 wpld, l_uint32 *datas, l_int32 ws, l_int32 hs, l_int32 wpls)
LEPT_DLL void scaleToGray2Low (l_uint32 *datad, l_int32 wd, l_int32 hd, l_int32 wpld, l_uint32 *datas, l_int32 wpls, l_uint32 *sumtab, l_uint8 *valtab)
LEPT_DLL l_uint32makeSumTabSG2 (void)
LEPT_DLL l_uint8makeValTabSG2 (void)
LEPT_DLL void scaleToGray3Low (l_uint32 *datad, l_int32 wd, l_int32 hd, l_int32 wpld, l_uint32 *datas, l_int32 wpls, l_uint32 *sumtab, l_uint8 *valtab)
LEPT_DLL l_uint32makeSumTabSG3 (void)
LEPT_DLL l_uint8makeValTabSG3 (void)
LEPT_DLL void scaleToGray4Low (l_uint32 *datad, l_int32 wd, l_int32 hd, l_int32 wpld, l_uint32 *datas, l_int32 wpls, l_uint32 *sumtab, l_uint8 *valtab)
LEPT_DLL l_uint32makeSumTabSG4 (void)
LEPT_DLL l_uint8makeValTabSG4 (void)
LEPT_DLL void scaleToGray6Low (l_uint32 *datad, l_int32 wd, l_int32 hd, l_int32 wpld, l_uint32 *datas, l_int32 wpls, l_int32 *tab8, l_uint8 *valtab)
LEPT_DLL l_uint8makeValTabSG6 (void)
LEPT_DLL void scaleToGray8Low (l_uint32 *datad, l_int32 wd, l_int32 hd, l_int32 wpld, l_uint32 *datas, l_int32 wpls, l_int32 *tab8, l_uint8 *valtab)
LEPT_DLL l_uint8makeValTabSG8 (void)
LEPT_DLL void scaleToGray16Low (l_uint32 *datad, l_int32 wd, l_int32 hd, l_int32 wpld, l_uint32 *datas, l_int32 wpls, l_int32 *tab8)
LEPT_DLL l_int32 scaleMipmapLow (l_uint32 *datad, l_int32 wd, l_int32 hd, l_int32 wpld, l_uint32 *datas1, l_int32 wpls1, l_uint32 *datas2, l_int32 wpls2, l_float32 red)
LEPT_DLL PIXpixSeedfillBinary (PIX *pixd, PIX *pixs, PIX *pixm, l_int32 connectivity)
LEPT_DLL PIXpixSeedfillBinaryRestricted (PIX *pixd, PIX *pixs, PIX *pixm, l_int32 connectivity, l_int32 xmax, l_int32 ymax)
LEPT_DLL PIXpixHolesByFilling (PIX *pixs, l_int32 connectivity)
LEPT_DLL PIXpixFillClosedBorders (PIX *pixs, l_int32 connectivity)
LEPT_DLL PIXpixExtractBorderConnComps (PIX *pixs, l_int32 connectivity)
LEPT_DLL PIXpixRemoveBorderConnComps (PIX *pixs, l_int32 connectivity)
LEPT_DLL PIXpixFillHolesToBoundingRect (PIX *pixs, l_int32 minsize, l_float32 maxhfract, l_float32 minfgfract)
LEPT_DLL l_int32 pixSeedfillGray (PIX *pixs, PIX *pixm, l_int32 connectivity)
LEPT_DLL l_int32 pixSeedfillGrayInv (PIX *pixs, PIX *pixm, l_int32 connectivity)
LEPT_DLL l_int32 pixSeedfillGraySimple (PIX *pixs, PIX *pixm, l_int32 connectivity)
LEPT_DLL l_int32 pixSeedfillGrayInvSimple (PIX *pixs, PIX *pixm, l_int32 connectivity)
LEPT_DLL PIXpixSeedfillGrayBasin (PIX *pixb, PIX *pixm, l_int32 delta, l_int32 connectivity)
LEPT_DLL PIXpixDistanceFunction (PIX *pixs, l_int32 connectivity, l_int32 outdepth, l_int32 boundcond)
LEPT_DLL PIXpixSeedspread (PIX *pixs, l_int32 connectivity)
LEPT_DLL l_int32 pixLocalExtrema (PIX *pixs, l_int32 maxmin, l_int32 minmax, PIX **ppixmin, PIX **ppixmax)
LEPT_DLL l_int32 pixSelectedLocalExtrema (PIX *pixs, l_int32 mindist, PIX **ppixmin, PIX **ppixmax)
LEPT_DLL PIXpixFindEqualValues (PIX *pixs1, PIX *pixs2)
LEPT_DLL PTApixSelectMinInConnComp (PIX *pixs, PIX *pixm, NUMA **pnav)
LEPT_DLL PIXpixRemoveSeededComponents (PIX *pixd, PIX *pixs, PIX *pixm, l_int32 connectivity, l_int32 bordersize)
LEPT_DLL void seedfillBinaryLow (l_uint32 *datas, l_int32 hs, l_int32 wpls, l_uint32 *datam, l_int32 hm, l_int32 wplm, l_int32 connectivity)
LEPT_DLL void seedfillGrayLow (l_uint32 *datas, l_int32 w, l_int32 h, l_int32 wpls, l_uint32 *datam, l_int32 wplm, l_int32 connectivity)
LEPT_DLL void seedfillGrayInvLow (l_uint32 *datas, l_int32 w, l_int32 h, l_int32 wpls, l_uint32 *datam, l_int32 wplm, l_int32 connectivity)
LEPT_DLL void seedfillGrayLowSimple (l_uint32 *datas, l_int32 w, l_int32 h, l_int32 wpls, l_uint32 *datam, l_int32 wplm, l_int32 connectivity)
LEPT_DLL void seedfillGrayInvLowSimple (l_uint32 *datas, l_int32 w, l_int32 h, l_int32 wpls, l_uint32 *datam, l_int32 wplm, l_int32 connectivity)
LEPT_DLL void distanceFunctionLow (l_uint32 *datad, l_int32 w, l_int32 h, l_int32 d, l_int32 wpld, l_int32 connectivity)
LEPT_DLL void seedspreadLow (l_uint32 *datad, l_int32 w, l_int32 h, l_int32 wpld, l_uint32 *datat, l_int32 wplt, l_int32 connectivity)
LEPT_DLL SELAselaCreate (l_int32 n)
LEPT_DLL void selaDestroy (SELA **psela)
LEPT_DLL SELselCreate (l_int32 height, l_int32 width, const char *name)
LEPT_DLL void selDestroy (SEL **psel)
LEPT_DLL SELselCopy (SEL *sel)
LEPT_DLL SELselCreateBrick (l_int32 h, l_int32 w, l_int32 cy, l_int32 cx, l_int32 type)
LEPT_DLL SELselCreateComb (l_int32 factor1, l_int32 factor2, l_int32 direction)
LEPT_DLL l_int32 ** create2dIntArray (l_int32 sy, l_int32 sx)
LEPT_DLL l_int32 selaAddSel (SELA *sela, SEL *sel, const char *selname, l_int32 copyflag)
LEPT_DLL l_int32 selaExtendArray (SELA *sela)
LEPT_DLL l_int32 selaGetCount (SELA *sela)
LEPT_DLL SELselaGetSel (SELA *sela, l_int32 i)
LEPT_DLL char * selGetName (SEL *sel)
LEPT_DLL l_int32 selSetName (SEL *sel, const char *name)
LEPT_DLL l_int32 selaFindSelByName (SELA *sela, const char *name, l_int32 *pindex, SEL **psel)
LEPT_DLL l_int32 selGetElement (SEL *sel, l_int32 row, l_int32 col, l_int32 *ptype)
LEPT_DLL l_int32 selSetElement (SEL *sel, l_int32 row, l_int32 col, l_int32 type)
LEPT_DLL l_int32 selGetParameters (SEL *sel, l_int32 *psy, l_int32 *psx, l_int32 *pcy, l_int32 *pcx)
LEPT_DLL l_int32 selSetOrigin (SEL *sel, l_int32 cy, l_int32 cx)
LEPT_DLL l_int32 selGetTypeAtOrigin (SEL *sel, l_int32 *ptype)
LEPT_DLL char * selaGetBrickName (SELA *sela, l_int32 hsize, l_int32 vsize)
LEPT_DLL char * selaGetCombName (SELA *sela, l_int32 size, l_int32 direction)
LEPT_DLL l_int32 getCompositeParameters (l_int32 size, l_int32 *psize1, l_int32 *psize2, char **pnameh1, char **pnameh2, char **pnamev1, char **pnamev2)
LEPT_DLL SARRAYselaGetSelnames (SELA *sela)
LEPT_DLL l_int32 selFindMaxTranslations (SEL *sel, l_int32 *pxp, l_int32 *pyp, l_int32 *pxn, l_int32 *pyn)
LEPT_DLL SELselRotateOrth (SEL *sel, l_int32 quads)
LEPT_DLL SELAselaRead (const char *fname)
LEPT_DLL SELAselaReadStream (FILE *fp)
LEPT_DLL SELselRead (const char *fname)
LEPT_DLL SELselReadStream (FILE *fp)
LEPT_DLL l_int32 selaWrite (const char *fname, SELA *sela)
LEPT_DLL l_int32 selaWriteStream (FILE *fp, SELA *sela)
LEPT_DLL l_int32 selWrite (const char *fname, SEL *sel)
LEPT_DLL l_int32 selWriteStream (FILE *fp, SEL *sel)
LEPT_DLL SELselCreateFromString (const char *text, l_int32 h, l_int32 w, const char *name)
LEPT_DLL char * selPrintToString (SEL *sel)
LEPT_DLL SELAselaCreateFromFile (const char *filename)
LEPT_DLL SELselCreateFromPta (PTA *pta, l_int32 cy, l_int32 cx, const char *name)
LEPT_DLL SELselCreateFromPix (PIX *pix, l_int32 cy, l_int32 cx, const char *name)
LEPT_DLL SELselReadFromColorImage (const char *pathname)
LEPT_DLL SELselCreateFromColorPix (PIX *pixs, char *selname)
LEPT_DLL PIXselDisplayInPix (SEL *sel, l_int32 size, l_int32 gthick)
LEPT_DLL PIXselaDisplayInPix (SELA *sela, l_int32 size, l_int32 gthick, l_int32 spacing, l_int32 ncols)
LEPT_DLL SELAselaAddBasic (SELA *sela)
LEPT_DLL SELAselaAddHitMiss (SELA *sela)
LEPT_DLL SELAselaAddDwaLinear (SELA *sela)
LEPT_DLL SELAselaAddDwaCombs (SELA *sela)
LEPT_DLL SELAselaAddCrossJunctions (SELA *sela, l_float32 hlsize, l_float32 mdist, l_int32 norient, l_int32 debugflag)
LEPT_DLL SELAselaAddTJunctions (SELA *sela, l_float32 hlsize, l_float32 mdist, l_int32 norient, l_int32 debugflag)
LEPT_DLL SELpixGenerateSelWithRuns (PIX *pixs, l_int32 nhlines, l_int32 nvlines, l_int32 distance, l_int32 minlength, l_int32 toppix, l_int32 botpix, l_int32 leftpix, l_int32 rightpix, PIX **ppixe)
LEPT_DLL SELpixGenerateSelRandom (PIX *pixs, l_float32 hitfract, l_float32 missfract, l_int32 distance, l_int32 toppix, l_int32 botpix, l_int32 leftpix, l_int32 rightpix, PIX **ppixe)
LEPT_DLL SELpixGenerateSelBoundary (PIX *pixs, l_int32 hitdist, l_int32 missdist, l_int32 hitskip, l_int32 missskip, l_int32 topflag, l_int32 botflag, l_int32 leftflag, l_int32 rightflag, PIX **ppixe)
LEPT_DLL NUMApixGetRunCentersOnLine (PIX *pixs, l_int32 x, l_int32 y, l_int32 minlength)
LEPT_DLL NUMApixGetRunsOnLine (PIX *pixs, l_int32 x1, l_int32 y1, l_int32 x2, l_int32 y2)
LEPT_DLL PTApixSubsampleBoundaryPixels (PIX *pixs, l_int32 skip)
LEPT_DLL l_int32 adjacentOnPixelInRaster (PIX *pixs, l_int32 x, l_int32 y, l_int32 *pxa, l_int32 *pya)
LEPT_DLL PIXpixDisplayHitMissSel (PIX *pixs, SEL *sel, l_int32 scalefactor, l_uint32 hitcolor, l_uint32 misscolor)
LEPT_DLL PIXpixHShear (PIX *pixd, PIX *pixs, l_int32 liney, l_float32 radang, l_int32 incolor)
LEPT_DLL PIXpixVShear (PIX *pixd, PIX *pixs, l_int32 linex, l_float32 radang, l_int32 incolor)
LEPT_DLL PIXpixHShearCorner (PIX *pixd, PIX *pixs, l_float32 radang, l_int32 incolor)
LEPT_DLL PIXpixVShearCorner (PIX *pixd, PIX *pixs, l_float32 radang, l_int32 incolor)
LEPT_DLL PIXpixHShearCenter (PIX *pixd, PIX *pixs, l_float32 radang, l_int32 incolor)
LEPT_DLL PIXpixVShearCenter (PIX *pixd, PIX *pixs, l_float32 radang, l_int32 incolor)
LEPT_DLL l_int32 pixHShearIP (PIX *pixs, l_int32 liney, l_float32 radang, l_int32 incolor)
LEPT_DLL l_int32 pixVShearIP (PIX *pixs, l_int32 linex, l_float32 radang, l_int32 incolor)
LEPT_DLL PIXpixDeskew (PIX *pixs, l_int32 redsearch)
LEPT_DLL PIXpixFindSkewAndDeskew (PIX *pixs, l_int32 redsearch, l_float32 *pangle, l_float32 *pconf)
LEPT_DLL l_int32 pixFindSkew (PIX *pixs, l_float32 *pangle, l_float32 *pconf)
LEPT_DLL l_int32 pixFindSkewSweep (PIX *pixs, l_float32 *pangle, l_int32 reduction, l_float32 sweeprange, l_float32 sweepdelta)
LEPT_DLL l_int32 pixFindSkewSweepAndSearch (PIX *pixs, l_float32 *pangle, l_float32 *pconf, l_int32 redsweep, l_int32 redsearch, l_float32 sweeprange, l_float32 sweepdelta, l_float32 minbsdelta)
LEPT_DLL l_int32 pixFindSkewSweepAndSearchScore (PIX *pixs, l_float32 *pangle, l_float32 *pconf, l_float32 *pendscore, l_int32 redsweep, l_int32 redsearch, l_float32 sweepcenter, l_float32 sweeprange, l_float32 sweepdelta, l_float32 minbsdelta)
LEPT_DLL l_int32 pixFindSkewSweepAndSearchScorePivot (PIX *pixs, l_float32 *pangle, l_float32 *pconf, l_float32 *pendscore, l_int32 redsweep, l_int32 redsearch, l_float32 sweepcenter, l_float32 sweeprange, l_float32 sweepdelta, l_float32 minbsdelta, l_int32 pivot)
LEPT_DLL l_int32 pixFindSkewOrthogonalRange (PIX *pixs, l_float32 *pangle, l_float32 *pconf, l_int32 redsweep, l_int32 redsearch, l_float32 sweeprange, l_float32 sweepdelta, l_float32 minbsdelta, l_float32 confprior)
LEPT_DLL l_int32 pixFindDifferentialSquareSum (PIX *pixs, l_float32 *psum)
LEPT_DLL l_int32 pixFindNormalizedSquareSum (PIX *pixs, l_float32 *phratio, l_float32 *pvratio, l_float32 *pfract)
LEPT_DLL L_STACKlstackCreate (l_int32 nalloc)
LEPT_DLL void lstackDestroy (L_STACK **plstack, l_int32 freeflag)
LEPT_DLL l_int32 lstackAdd (L_STACK *lstack, void *item)
LEPT_DLL void * lstackRemove (L_STACK *lstack)
LEPT_DLL l_int32 lstackExtendArray (L_STACK *lstack)
LEPT_DLL l_int32 lstackGetCount (L_STACK *lstack)
LEPT_DLL l_int32 lstackPrint (FILE *fp, L_STACK *lstack)
LEPT_DLL SARRAYbmfGetLineStrings (BMF *bmf, const char *textstr, l_int32 maxw, l_int32 firstindent, l_int32 *ph)
LEPT_DLL NUMAbmfGetWordWidths (BMF *bmf, const char *textstr, SARRAY *sa)
LEPT_DLL l_int32 bmfGetStringWidth (BMF *bmf, const char *textstr, l_int32 *pw)
LEPT_DLL l_int32 pixSetTextblock (PIX *pixs, BMF *bmf, const char *textstr, l_uint32 val, l_int32 x0, l_int32 y0, l_int32 wtext, l_int32 firstindent, l_int32 *poverflow)
LEPT_DLL l_int32 pixSetTextline (PIX *pixs, BMF *bmf, const char *textstr, l_uint32 val, l_int32 x0, l_int32 y0, l_int32 *pwidth, l_int32 *poverflow)
LEPT_DLL SARRAYsplitStringToParagraphs (char *textstr, l_int32 splitflag)
LEPT_DLL PIXpixReadTiff (const char *filename, l_int32 n)
LEPT_DLL PIXpixReadStreamTiff (FILE *fp, l_int32 n)
LEPT_DLL l_int32 pixWriteTiff (const char *filename, PIX *pix, l_int32 comptype, const char *modestring)
LEPT_DLL l_int32 pixWriteTiffCustom (const char *filename, PIX *pix, l_int32 comptype, const char *modestring, NUMA *natags, SARRAY *savals, SARRAY *satypes, NUMA *nasizes)
LEPT_DLL l_int32 pixWriteStreamTiff (FILE *fp, PIX *pix, l_int32 comptype)
LEPT_DLL l_int32 fprintTiffInfo (FILE *fpout, const char *tiffile)
LEPT_DLL l_int32 tiffGetCount (FILE *fp, l_int32 *pn)
LEPT_DLL l_int32 readHeaderTiff (const char *filename, l_int32 n, l_int32 *pwidth, l_int32 *pheight, l_int32 *pbps, l_int32 *pspp, l_int32 *pres, l_int32 *pcmap)
LEPT_DLL l_int32 freadHeaderTiff (FILE *fp, l_int32 n, l_int32 *pwidth, l_int32 *pheight, l_int32 *pbps, l_int32 *pspp, l_int32 *pres, l_int32 *pcmap)
LEPT_DLL l_int32 readHeaderMemTiff (const l_uint8 *cdata, size_t size, l_int32 n, l_int32 *pwidth, l_int32 *pheight, l_int32 *pbps, l_int32 *pspp, l_int32 *pres, l_int32 *pcmap)
LEPT_DLL l_int32 findTiffCompression (FILE *fp, l_int32 *pcomp)
LEPT_DLL l_int32 extractTiffG4DataFromFile (const char *filein, l_uint8 **pdata, l_int32 *pnbytes, l_int32 *pw, l_int32 *ph, l_int32 *pminisblack)
LEPT_DLL PIXpixReadMemTiff (const l_uint8 *cdata, size_t size, l_int32 n)
LEPT_DLL l_int32 pixWriteMemTiff (l_uint8 **pdata, size_t *psize, PIX *pix, l_int32 comptype)
LEPT_DLL l_int32 pixWriteMemTiffCustom (l_uint8 **pdata, size_t *psize, PIX *pix, l_int32 comptype, NUMA *natags, SARRAY *savals, SARRAY *satypes, NUMA *nasizes)
LEPT_DLL l_int32 returnErrorInt (const char *msg, const char *procname, l_int32 ival)
LEPT_DLL l_float32 returnErrorFloat (const char *msg, const char *procname, l_float32 fval)
LEPT_DLL void * returnErrorPtr (const char *msg, const char *procname, void *pval)
LEPT_DLL void returnErrorVoid (const char *msg, const char *procname)
LEPT_DLL void l_error (const char *msg, const char *procname)
LEPT_DLL void l_errorString (const char *msg, const char *procname, const char *str)
LEPT_DLL void l_errorInt (const char *msg, const char *procname, l_int32 ival)
LEPT_DLL void l_errorFloat (const char *msg, const char *procname, l_float32 fval)
LEPT_DLL void l_warning (const char *msg, const char *procname)
LEPT_DLL void l_warningString (const char *msg, const char *procname, const char *str)
LEPT_DLL void l_warningInt (const char *msg, const char *procname, l_int32 ival)
LEPT_DLL void l_warningFloat (const char *msg, const char *procname, l_float32 fval)
LEPT_DLL void l_info (const char *msg, const char *procname)
LEPT_DLL void l_infoString (const char *msg, const char *procname, const char *str)
LEPT_DLL void l_infoInt (const char *msg, const char *procname, l_int32 ival)
LEPT_DLL void l_infoInt2 (const char *msg, const char *procname, l_int32 ival1, l_int32 ival2)
LEPT_DLL void l_infoFloat (const char *msg, const char *procname, l_float32 fval)
LEPT_DLL void l_infoFloat2 (const char *msg, const char *procname, l_float32 fval1, l_float32 fval2)
LEPT_DLL char * stringNew (const char *src)
LEPT_DLL l_int32 stringReplace (char **pdest, const char *src)
LEPT_DLL char * stringJoin (const char *src1, const char *src2)
LEPT_DLL char * stringReverse (const char *src)
LEPT_DLL char * strtokSafe (char *cstr, const char *seps, char **psaveptr)
LEPT_DLL l_int32 stringSplitOnToken (char *cstr, const char *seps, char **phead, char **ptail)
LEPT_DLL char * stringRemoveChars (const char *src, const char *remchars)
LEPT_DLL l_int32 stringFindSubstr (const char *src, const char *sub, l_int32 *ploc)
LEPT_DLL char * stringReplaceSubstr (const char *src, const char *sub1, const char *sub2, l_int32 *pfound, l_int32 *ploc)
LEPT_DLL char * stringReplaceEachSubstr (const char *src, const char *sub1, const char *sub2, l_int32 *pcount)
LEPT_DLL l_int32 arrayFindSequence (const l_uint8 *data, l_int32 datalen, const l_uint8 *sequence, l_int32 seqlen, l_int32 *poffset, l_int32 *pfound)
LEPT_DLL void * reallocNew (void **pindata, l_int32 oldsize, l_int32 newsize)
LEPT_DLL l_uint8arrayRead (const char *fname, l_int32 *pnbytes)
LEPT_DLL l_uint8arrayReadStream (FILE *fp, l_int32 *pnbytes)
LEPT_DLL l_int32 nbytesInFile (const char *filename)
LEPT_DLL l_int32 fnbytesInFile (FILE *fp)
LEPT_DLL l_int32 arrayWrite (const char *filename, const char *operation, void *data, l_int32 nbytes)
LEPT_DLL l_uint16 convertOnLittleEnd16 (l_uint16 shortin)
LEPT_DLL l_uint16 convertOnBigEnd16 (l_uint16 shortin)
LEPT_DLL l_uint32 convertOnLittleEnd32 (l_uint32 wordin)
LEPT_DLL l_uint32 convertOnBigEnd32 (l_uint32 wordin)
LEPT_DLL FILE * fopenReadStream (const char *filename)
LEPT_DLL l_int32 splitPathAtDirectory (const char *pathname, char **pdir, char **ptail)
LEPT_DLL l_int32 splitPathAtExtension (const char *pathname, char **pbasename, char **pextension)
LEPT_DLL char * genPathname (const char *dir, const char *fname)
LEPT_DLL char * genTempFilename (const char *dir, const char *extension)
LEPT_DLL l_int32 extractNumberFromFilename (const char *fname, l_int32 numpre, l_int32 numpost)
LEPT_DLL void startTimer (void)
LEPT_DLL l_float32 stopTimer (void)
LEPT_DLL l_int32 pixHtmlViewer (const char *dirin, const char *dirout, const char *rootname, l_int32 thumbwidth, l_int32 viewwidth, l_int32 copyorig)
LEPT_DLL PIXpixSimpleCaptcha (PIX *pixs, l_int32 border, l_int32 nterms, l_uint32 seed, l_uint32 color, l_int32 cmapflag)
LEPT_DLL PIXpixRandomHarmonicWarp (PIX *pixs, l_float32 xmag, l_float32 ymag, l_float32 xfreq, l_float32 yfreq, l_int32 nx, l_int32 ny, l_uint32 seed, l_int32 grayval)
LEPT_DLL L_WSHEDwshedCreate (PIX *pixs, PIX *pixm, l_int32 mindepth, l_int32 debugflag)
LEPT_DLL void wshedDestroy (L_WSHED **pwshed)
LEPT_DLL l_int32 wshedApply (L_WSHED *wshed)
LEPT_DLL l_int32 wshedBasins (L_WSHED *wshed, PIXA **ppixa, NUMA **pnalevels)
LEPT_DLL PIXwshedRenderFill (L_WSHED *wshed)
LEPT_DLL PIXwshedRenderColors (L_WSHED *wshed)
LEPT_DLL l_int32 pixaWriteFiles (const char *rootname, PIXA *pixa, l_int32 format)
LEPT_DLL l_int32 pixWrite (const char *filename, PIX *pix, l_int32 format)
LEPT_DLL l_int32 pixWriteStream (FILE *fp, PIX *pix, l_int32 format)
LEPT_DLL l_int32 pixWriteImpliedFormat (const char *filename, PIX *pix, l_int32 quality, l_int32 progressive)
LEPT_DLL l_int32 pixChooseOutputFormat (PIX *pix)
LEPT_DLL l_int32 getImpliedFileFormat (const char *filename)
LEPT_DLL const char * getFormatExtension (l_int32 format)
LEPT_DLL l_int32 pixWriteMem (l_uint8 **pdata, size_t *psize, PIX *pix, l_int32 format)
LEPT_DLL l_int32 pixDisplay (PIX *pixs, l_int32 x, l_int32 y)
LEPT_DLL l_int32 pixDisplayWithTitle (PIX *pixs, l_int32 x, l_int32 y, const char *title, l_int32 dispflag)
LEPT_DLL l_int32 pixDisplayWrite (PIX *pixs, l_int32 reduction)
LEPT_DLL l_int32 pixDisplayWriteFormat (PIX *pixs, l_int32 reduction, l_int32 format)
LEPT_DLL l_int32 pixSaveTiled (PIX *pixs, PIXA *pixa, l_int32 reduction, l_int32 newrow, l_int32 space, l_int32 dp)
LEPT_DLL l_uint8zlibCompress (l_uint8 *datain, l_int32 nin, l_int32 *pnout)
LEPT_DLL l_uint8zlibUncompress (l_uint8 *datain, l_int32 nin, l_int32 *pnout)

Function Documentation

LEPT_DLL void absDifferenceLow ( l_uint32 datad,
l_int32  w,
l_int32  h,
l_int32  wpld,
l_uint32 datas1,
l_uint32 datas2,
l_int32  d,
l_int32  wpls 
)
LEPT_DLL void accumulateLow ( l_uint32 datad,
l_int32  w,
l_int32  h,
l_int32  wpld,
l_uint32 datas,
l_int32  d,
l_int32  wpls,
l_int32  op 
)
LEPT_DLL l_int32 addColorizedGrayToCmap ( PIXCMAP cmap,
l_int32  type,
l_int32  rval,
l_int32  gval,
l_int32  bval,
NUMA **  pna 
)
LEPT_DLL void addConstantGrayLow ( l_uint32 data,
l_int32  w,
l_int32  h,
l_int32  d,
l_int32  wpl,
l_int32  val 
)
LEPT_DLL void addGrayLow ( l_uint32 datad,
l_int32  w,
l_int32  h,
l_int32  d,
l_int32  wpld,
l_uint32 datas,
l_int32  wpls 
)
LEPT_DLL l_int32 adjacentOnPixelInRaster ( PIX pixs,
l_int32  x,
l_int32  y,
l_int32 pxa,
l_int32 pya 
)
LEPT_DLL l_int32 affineInvertXform ( l_float32 vc,
l_float32 **  pvci 
)
LEPT_DLL l_int32 affineXformPt ( l_float32 vc,
l_int32  x,
l_int32  y,
l_float32 pxp,
l_float32 pyp 
)
LEPT_DLL l_int32 affineXformSampledPt ( l_float32 vc,
l_int32  x,
l_int32  y,
l_int32 pxp,
l_int32 pyp 
)
LEPT_DLL l_int32 arrayFindSequence ( const l_uint8 data,
l_int32  datalen,
const l_uint8 sequence,
l_int32  seqlen,
l_int32 poffset,
l_int32 pfound 
)
LEPT_DLL l_uint8* arrayRead ( const char *  fname,
l_int32 pnbytes 
)
LEPT_DLL l_uint8* arrayReadStream ( FILE *  fp,
l_int32 pnbytes 
)
LEPT_DLL l_int32 arrayWrite ( const char *  filename,
const char *  operation,
void *  data,
l_int32  nbytes 
)
LEPT_DLL char* barcodeDispatchDecoder ( char *  barstr,
l_int32  format,
l_int32  debugflag 
)
LEPT_DLL l_int32 barcodeFormatIsSupported ( l_int32  format  ) 
LEPT_DLL l_int32 bbufferBytesToWrite ( BBUFFER bb,
l_int32 pnbytes 
)
LEPT_DLL BBUFFER* bbufferCreate ( l_uint8 indata,
l_int32  nalloc 
)
LEPT_DLL void bbufferDestroy ( BBUFFER **  pbb  ) 
LEPT_DLL l_uint8* bbufferDestroyAndSaveData ( BBUFFER **  pbb,
l_int32 pnbytes 
)
LEPT_DLL l_int32 bbufferExtendArray ( BBUFFER bb,
l_int32  nbytes 
)
LEPT_DLL l_int32 bbufferRead ( BBUFFER bb,
l_uint8 src,
l_int32  nbytes 
)
LEPT_DLL l_int32 bbufferReadStream ( BBUFFER bb,
FILE *  fp,
l_int32  nbytes 
)
LEPT_DLL l_int32 bbufferWrite ( BBUFFER bb,
l_uint8 dest,
l_int32  nbytes,
l_int32 pnout 
)
LEPT_DLL l_int32 bbufferWriteStream ( BBUFFER bb,
FILE *  fp,
l_int32  nbytes,
l_int32 pnout 
)
LEPT_DLL l_int32 bilinearXformPt ( l_float32 vc,
l_int32  x,
l_int32  y,
l_float32 pxp,
l_float32 pyp 
)
LEPT_DLL l_int32 bilinearXformSampledPt ( l_float32 vc,
l_int32  x,
l_int32  y,
l_int32 pxp,
l_int32 pyp 
)
LEPT_DLL void blockconvAccumLow ( l_uint32 datad,
l_int32  w,
l_int32  h,
l_int32  wpld,
l_uint32 datas,
l_int32  d,
l_int32  wpls 
)
LEPT_DLL void blockconvLow ( l_uint32 data,
l_int32  w,
l_int32  h,
l_int32  wpl,
l_uint32 dataa,
l_int32  wpla,
l_int32  wc,
l_int32  hc 
)
LEPT_DLL void blocksumLow ( l_uint32 datad,
l_int32  w,
l_int32  h,
l_int32  wpl,
l_uint32 dataa,
l_int32  wpla,
l_int32  wc,
l_int32  hc 
)
LEPT_DLL BMF* bmfCreate ( const char *  dir,
l_int32  size 
)
LEPT_DLL void bmfDestroy ( BMF **  pbmf  ) 
LEPT_DLL l_int32 bmfGetBaseline ( BMF bmf,
char  chr,
l_int32 pbaseline 
)
LEPT_DLL SARRAY* bmfGetLineStrings ( BMF bmf,
const char *  textstr,
l_int32  maxw,
l_int32  firstindent,
l_int32 ph 
)
LEPT_DLL PIX* bmfGetPix ( BMF bmf,
char  chr 
)
LEPT_DLL l_int32 bmfGetStringWidth ( BMF bmf,
const char *  textstr,
l_int32 pw 
)
LEPT_DLL l_int32 bmfGetWidth ( BMF bmf,
char  chr,
l_int32 pw 
)
LEPT_DLL NUMA* bmfGetWordWidths ( BMF bmf,
const char *  textstr,
SARRAY sa 
)
LEPT_DLL l_int32 boxaaAddBox ( BOXAA baa,
l_int32  index,
BOX box,
l_int32  accessflag 
)
LEPT_DLL l_int32 boxaaAddBoxa ( BOXAA baa,
BOXA ba,
l_int32  copyflag 
)
LEPT_DLL l_int32 boxaaAlignBox ( BOXAA baa,
BOX box,
l_int32  delta,
l_int32 pindex 
)
LEPT_DLL BOXAA* boxaaCopy ( BOXAA baas,
l_int32  copyflag 
)
LEPT_DLL BOXAA* boxaaCreate ( l_int32  n  ) 
LEPT_DLL l_int32 boxaAddBox ( BOXA boxa,
BOX box,
l_int32  copyflag 
)
LEPT_DLL void boxaaDestroy ( BOXAA **  pbaa  ) 
LEPT_DLL PIX* boxaaDisplay ( BOXAA boxaa,
l_int32  linewba,
l_int32  linewb,
l_uint32  colorba,
l_uint32  colorb,
l_int32  w,
l_int32  h 
)
LEPT_DLL l_int32 boxaaExtendArray ( BOXAA baa  ) 
LEPT_DLL BOXA* boxaAffineTransform ( BOXA boxas,
l_float32 mat 
)
LEPT_DLL BOXA* boxaaFlattenToBoxa ( BOXAA baa,
NUMA **  pnaindex,
l_int32  copyflag 
)
LEPT_DLL BOXA* boxaaGetBoxa ( BOXAA baa,
l_int32  index,
l_int32  accessflag 
)
LEPT_DLL l_int32 boxaaGetBoxCount ( BOXAA baa  ) 
LEPT_DLL l_int32 boxaaGetCount ( BOXAA baa  ) 
LEPT_DLL l_int32 boxaaGetExtent ( BOXAA boxaa,
l_int32 pw,
l_int32 ph,
BOX **  pbox 
)
LEPT_DLL l_int32 boxaaInsertBoxa ( BOXAA baa,
l_int32  index,
BOXA boxa 
)
LEPT_DLL BOXAA* boxaaRead ( const char *  filename  ) 
LEPT_DLL BOXAA* boxaaReadStream ( FILE *  fp  ) 
LEPT_DLL BOXAA* boxaaReadStreamVersion2 ( FILE *  fp  ) 
LEPT_DLL BOXAA* boxaaReadVersion2 ( const char *  filename  ) 
LEPT_DLL l_int32 boxaaRemoveBoxa ( BOXAA baa,
l_int32  index 
)
LEPT_DLL l_int32 boxaaReplaceBoxa ( BOXAA baa,
l_int32  index,
BOXA boxa 
)
LEPT_DLL l_int32 boxaaWrite ( const char *  filename,
BOXAA baa 
)
LEPT_DLL l_int32 boxaaWriteStream ( FILE *  fp,
BOXAA baa 
)
LEPT_DLL BOXA* boxaBinSort ( BOXA boxas,
l_int32  sorttype,
l_int32  sortorder,
NUMA **  pnaindex 
)
LEPT_DLL BOXA* boxaClipToBox ( BOXA boxas,
BOX box 
)
LEPT_DLL BOXA* boxaContainedInBox ( BOXA boxas,
BOX box 
)
LEPT_DLL PTA* boxaConvertToPta ( BOXA boxa,
l_int32  ncorners 
)
LEPT_DLL BOXA* boxaCopy ( BOXA boxa,
l_int32  copyflag 
)
LEPT_DLL BOXA* boxaCreate ( l_int32  n  ) 
LEPT_DLL void boxaDestroy ( BOXA **  pboxa  ) 
LEPT_DLL BOX* boxAdjustSides ( BOX boxd,
BOX boxs,
l_int32  delleft,
l_int32  delright,
l_int32  deltop,
l_int32  delbot 
)
LEPT_DLL l_int32 boxaEqual ( BOXA boxa1,
BOXA boxa2,
l_int32  maxdist,
NUMA **  pnaindex,
l_int32 psame 
)
LEPT_DLL l_int32 boxaExtendArray ( BOXA boxa  ) 
LEPT_DLL NUMAA* boxaExtractSortedPattern ( BOXA boxa,
NUMA na 
)
LEPT_DLL BOX* boxaGetBox ( BOXA boxa,
l_int32  index,
l_int32  accessflag 
)
LEPT_DLL l_int32 boxaGetBoxGeometry ( BOXA boxa,
l_int32  index,
l_int32 px,
l_int32 py,
l_int32 pw,
l_int32 ph 
)
LEPT_DLL l_int32 boxaGetCount ( BOXA boxa  ) 
LEPT_DLL l_int32 boxaGetCoverage ( BOXA boxa,
l_int32  wc,
l_int32  hc,
l_int32  exactflag,
l_float32 pfract 
)
LEPT_DLL l_int32 boxaGetExtent ( BOXA boxa,
l_int32 pw,
l_int32 ph,
BOX **  pbox 
)
LEPT_DLL BOX* boxaGetNearestToPt ( BOXA boxa,
l_int32  x,
l_int32  y 
)
LEPT_DLL BOXA* boxaGetWhiteblocks ( BOXA boxas,
BOX box,
l_int32  sortflag,
l_int32  maxboxes,
l_float32  maxoverlap,
l_int32  maxperim,
l_float32  fract,
l_int32  maxpops 
)
LEPT_DLL l_int32 boxaInsertBox ( BOXA boxa,
l_int32  index,
BOX box 
)
LEPT_DLL BOXA* boxaIntersectsBox ( BOXA boxas,
BOX box 
)
LEPT_DLL l_int32 boxaJoin ( BOXA boxad,
BOXA boxas,
l_int32  istart,
l_int32  iend 
)
LEPT_DLL l_int32 boxaLocationRange ( BOXA boxa,
l_int32 pminx,
l_int32 pminy,
l_int32 pmaxx,
l_int32 pmaxy 
)
LEPT_DLL NUMA* boxaMakeSizeIndicator ( BOXA boxa,
l_int32  width,
l_int32  height,
l_int32  type,
l_int32  relation 
)
LEPT_DLL BOXA* boxaPermutePseudorandom ( BOXA boxas  ) 
LEPT_DLL BOXA* boxaPermuteRandom ( BOXA boxad,
BOXA boxas 
)
LEPT_DLL BOXA* boxaPruneSortedOnOverlap ( BOXA boxas,
l_float32  maxoverlap 
)
LEPT_DLL BOXA* boxaRead ( const char *  filename  ) 
LEPT_DLL BOXA* boxaReadStream ( FILE *  fp  ) 
LEPT_DLL l_int32 boxaRemoveBox ( BOXA boxa,
l_int32  index 
)
LEPT_DLL l_int32 boxaReplaceBox ( BOXA boxa,
l_int32  index,
BOX box 
)
LEPT_DLL BOXA* boxaRotate ( BOXA boxas,
l_float32  xc,
l_float32  yc,
l_float32  angle 
)
LEPT_DLL BOXA* boxaRotateOrth ( BOXA boxas,
l_int32  w,
l_int32  h,
l_int32  rotation 
)
LEPT_DLL BOXA* boxaScale ( BOXA boxas,
l_float32  scalex,
l_float32  scaley 
)
LEPT_DLL BOXA* boxaSelectBySize ( BOXA boxas,
l_int32  width,
l_int32  height,
l_int32  type,
l_int32  relation,
l_int32 pchanged 
)
LEPT_DLL BOXA* boxaSelectWithIndicator ( BOXA boxas,
NUMA na,
l_int32 pchanged 
)
LEPT_DLL l_int32 boxaSizeRange ( BOXA boxa,
l_int32 pminw,
l_int32 pminh,
l_int32 pmaxw,
l_int32 pmaxh 
)
LEPT_DLL BOXA* boxaSort ( BOXA boxas,
l_int32  sorttype,
l_int32  sortorder,
NUMA **  pnaindex 
)
LEPT_DLL BOXAA* boxaSort2d ( BOXA boxas,
NUMAA **  pnaad,
l_int32  delta1,
l_int32  delta2,
l_int32  minh1 
)
LEPT_DLL BOXAA* boxaSort2dByIndex ( BOXA boxas,
NUMAA naa 
)
LEPT_DLL BOXA* boxaSortByIndex ( BOXA boxas,
NUMA naindex 
)
LEPT_DLL l_int32 boxaSwapBoxes ( BOXA boxa,
l_int32  i,
l_int32  j 
)
LEPT_DLL BOXA* boxaTransform ( BOXA boxas,
l_int32  shiftx,
l_int32  shifty,
l_float32  scalex,
l_float32  scaley 
)
LEPT_DLL BOXA* boxaTransformOrdered ( BOXA boxas,
l_int32  shiftx,
l_int32  shifty,
l_float32  scalex,
l_float32  scaley,
l_int32  xcen,
l_int32  ycen,
l_float32  angle,
l_int32  order 
)
LEPT_DLL BOXA* boxaTranslate ( BOXA boxas,
l_float32  transx,
l_float32  transy 
)
LEPT_DLL l_int32 boxaWrite ( const char *  filename,
BOXA boxa 
)
LEPT_DLL l_int32 boxaWriteStream ( FILE *  fp,
BOXA boxa 
)
LEPT_DLL BOX* boxBoundingRegion ( BOX box1,
BOX box2 
)
LEPT_DLL l_int32 boxChangeRefcount ( BOX box,
l_int32  delta 
)
LEPT_DLL BOX* boxClipToRectangle ( BOX box,
l_int32  wi,
l_int32  hi 
)
LEPT_DLL BOX* boxClone ( BOX box  ) 
LEPT_DLL l_int32 boxContains ( BOX box1,
BOX box2,
l_int32 presult 
)
LEPT_DLL l_int32 boxContainsPt ( BOX box,
l_float32  x,
l_float32  y,
l_int32 pcontains 
)
LEPT_DLL BOX* boxCopy ( BOX box  ) 
LEPT_DLL BOX* boxCreate ( l_int32  x,
l_int32  y,
l_int32  w,
l_int32  h 
)
LEPT_DLL void boxDestroy ( BOX **  pbox  ) 
LEPT_DLL l_int32 boxEqual ( BOX box1,
BOX box2,
l_int32 psame 
)
LEPT_DLL l_int32 boxGetCentroid ( BOX box,
l_int32 px,
l_int32 py 
)
LEPT_DLL l_int32 boxGetGeometry ( BOX box,
l_int32 px,
l_int32 py,
l_int32 pw,
l_int32 ph 
)
LEPT_DLL l_int32 boxGetRefcount ( BOX box  ) 
LEPT_DLL l_int32 boxIntersectByLine ( BOX box,
l_int32  x,
l_int32  y,
l_float32  slope,
l_int32 px1,
l_int32 py1,
l_int32 px2,
l_int32 py2,
l_int32 pn 
)
LEPT_DLL l_int32 boxIntersects ( BOX box1,
BOX box2,
l_int32 presult 
)
LEPT_DLL l_int32 boxOverlapFraction ( BOX box1,
BOX box2,
l_float32 pfract 
)
LEPT_DLL BOX* boxOverlapRegion ( BOX box1,
BOX box2 
)
LEPT_DLL l_int32 boxPrintStreamInfo ( FILE *  fp,
BOX box 
)
LEPT_DLL BOX* boxRelocateOneSide ( BOX boxd,
BOX boxs,
l_int32  loc,
l_int32  sideflag 
)
LEPT_DLL BOX* boxRotateOrth ( BOX box,
l_int32  w,
l_int32  h,
l_int32  rotation 
)
LEPT_DLL l_int32 boxSetGeometry ( BOX box,
l_int32  x,
l_int32  y,
l_int32  w,
l_int32  h 
)
LEPT_DLL BOX* boxTransform ( BOX box,
l_int32  shiftx,
l_int32  shifty,
l_float32  scalex,
l_float32  scaley 
)
LEPT_DLL BOX* boxTransformOrdered ( BOX boxs,
l_int32  shiftx,
l_int32  shifty,
l_float32  scalex,
l_float32  scaley,
l_int32  xcen,
l_int32  ycen,
l_float32  angle,
l_int32  order 
)
LEPT_DLL l_int32 ccbaAddCcb ( CCBORDA ccba,
CCBORD ccb 
)
LEPT_DLL CCBORDA* ccbaCreate ( PIX pixs,
l_int32  n 
)
LEPT_DLL void ccbaDestroy ( CCBORDA **  pccba  ) 
LEPT_DLL PIX* ccbaDisplayBorder ( CCBORDA ccba  ) 
LEPT_DLL PIX* ccbaDisplayImage1 ( CCBORDA ccba  ) 
LEPT_DLL PIX* ccbaDisplayImage2 ( CCBORDA ccba  ) 
LEPT_DLL PIX* ccbaDisplaySPBorder ( CCBORDA ccba  ) 
LEPT_DLL l_int32 ccbaExtendArray ( CCBORDA ccba  ) 
LEPT_DLL l_int32 ccbaGenerateGlobalLocs ( CCBORDA ccba  ) 
LEPT_DLL l_int32 ccbaGenerateSinglePath ( CCBORDA ccba  ) 
LEPT_DLL l_int32 ccbaGenerateSPGlobalLocs ( CCBORDA ccba,
l_int32  ptsflag 
)
LEPT_DLL l_int32 ccbaGenerateStepChains ( CCBORDA ccba  ) 
LEPT_DLL CCBORD* ccbaGetCcb ( CCBORDA ccba,
l_int32  index 
)
LEPT_DLL l_int32 ccbaGetCount ( CCBORDA ccba  ) 
LEPT_DLL CCBORDA* ccbaRead ( const char *  filename  ) 
LEPT_DLL CCBORDA* ccbaReadStream ( FILE *  fp  ) 
LEPT_DLL l_int32 ccbaStepChainsToPixCoords ( CCBORDA ccba,
l_int32  coordtype 
)
LEPT_DLL l_int32 ccbaWrite ( const char *  filename,
CCBORDA ccba 
)
LEPT_DLL l_int32 ccbaWriteStream ( FILE *  fp,
CCBORDA ccba 
)
LEPT_DLL l_int32 ccbaWriteSVG ( const char *  filename,
CCBORDA ccba 
)
LEPT_DLL char* ccbaWriteSVGString ( const char *  filename,
CCBORDA ccba 
)
LEPT_DLL CCBORD* ccbCreate ( PIX pixs  ) 
LEPT_DLL void ccbDestroy ( CCBORD **  pccb  ) 
LEPT_DLL l_int32 composeRGBPixel ( l_int32  rval,
l_int32  gval,
l_int32  bval,
l_uint32 ppixel 
)
LEPT_DLL void convertByteToHexAscii ( l_uint8  byteval,
char *  pnib1,
char *  pnib2 
)
LEPT_DLL l_int32 convertChunkToAscii85 ( l_uint8 inarray,
l_int32  insize,
l_int32 pindex,
char *  outbuf,
l_int32 pnbout 
)
LEPT_DLL l_int32 convertFilesFittedToPS ( const char *  dirin,
const char *  substr,
l_float32  xpts,
l_float32  ypts,
const char *  fileout 
)
LEPT_DLL l_int32 convertFilesToPS ( const char *  dirin,
const char *  substr,
l_int32  res,
const char *  fileout 
)
LEPT_DLL l_int32 convertHSVToRGB ( l_int32  hval,
l_int32  sval,
l_int32  vval,
l_int32 prval,
l_int32 pgval,
l_int32 pbval 
)
LEPT_DLL l_int32 convertJpegToPS ( const char *  filein,
const char *  fileout,
const char *  operation,
l_int32  x,
l_int32  y,
l_int32  res,
l_float32  scale,
l_int32  pageno,
l_int32  endpage 
)
LEPT_DLL l_int32 convertJpegToPSEmbed ( const char *  filein,
const char *  fileout 
)
LEPT_DLL l_int32 convertJpegToPSString ( const char *  filein,
char **  poutstr,
l_int32 pnbytes,
l_int32  x,
l_int32  y,
l_int32  res,
l_float32  scale,
l_int32  pageno,
l_int32  endpage 
)
LEPT_DLL l_uint16 convertOnBigEnd16 ( l_uint16  shortin  ) 
LEPT_DLL l_uint32 convertOnBigEnd32 ( l_uint32  wordin  ) 
LEPT_DLL l_uint16 convertOnLittleEnd16 ( l_uint16  shortin  ) 
LEPT_DLL l_uint32 convertOnLittleEnd32 ( l_uint32  wordin  ) 
LEPT_DLL l_int32 convertRGBToHSV ( l_int32  rval,
l_int32  gval,
l_int32  bval,
l_int32 phval,
l_int32 psval,
l_int32 pvval 
)
LEPT_DLL l_int32 convertSegmentedPagesToPS ( const char *  pagedir,
const char *  maskdir,
l_float32  textscale,
l_float32  imagescale,
l_int32  threshold,
l_int32  numpre,
l_int32  numpost,
const char *  fileout 
)
LEPT_DLL l_int32 convertTiffG4ToPS ( const char *  filein,
const char *  fileout,
const char *  operation,
l_int32  x,
l_int32  y,
l_int32  res,
l_float32  scale,
l_int32  pageno,
l_int32  mask,
l_int32  endpage 
)
LEPT_DLL l_int32 convertTiffG4ToPSEmbed ( const char *  filein,
const char *  fileout 
)
LEPT_DLL l_int32 convertTiffG4ToPSString ( const char *  filein,
char **  poutstr,
l_int32 pnbytes,
l_int32  x,
l_int32  y,
l_int32  res,
l_float32  scale,
l_int32  pageno,
l_int32  mask,
l_int32  endpage 
)
LEPT_DLL l_int32 convertTiffMultipageToPS ( const char *  filein,
const char *  fileout,
const char *  tempfile,
l_float32  fillfract 
)
LEPT_DLL l_int32 convertToPSEmbed ( const char *  filein,
const char *  fileout,
l_int32  level 
)
LEPT_DLL l_float32** create2dFloatArray ( l_int32  sy,
l_int32  sx 
)
LEPT_DLL l_int32** create2dIntArray ( l_int32  sy,
l_int32  sx 
)
LEPT_DLL l_float32* createMatrix2dRotate ( l_float32  xc,
l_float32  yc,
l_float32  angle 
)
LEPT_DLL l_float32* createMatrix2dScale ( l_float32  scalex,
l_float32  scaley 
)
LEPT_DLL l_float32* createMatrix2dTranslate ( l_float32  transx,
l_float32  transy 
)
LEPT_DLL l_uint8* decodeAscii85 ( char *  ina,
l_int32  insize,
l_int32 poutsize 
)
LEPT_DLL void dilateGrayLow ( l_uint32 datad,
l_int32  w,
l_int32  h,
l_int32  wpld,
l_uint32 datas,
l_int32  wpls,
l_int32  size,
l_int32  direction,
l_uint8 buffer,
l_uint8 maxarray 
)
LEPT_DLL PIX* displayHSVColorRange ( l_int32  hval,
l_int32  sval,
l_int32  vval,
l_int32  huehw,
l_int32  sathw,
l_int32  nsamp,
l_int32  factor 
)
LEPT_DLL void distanceFunctionLow ( l_uint32 datad,
l_int32  w,
l_int32  h,
l_int32  d,
l_int32  wpld,
l_int32  connectivity 
)
LEPT_DLL void ditherTo2bppLineLow ( l_uint32 lined,
l_int32  w,
l_uint32 bufs1,
l_uint32 bufs2,
l_int32 tabval,
l_int32 tab38,
l_int32 tab14,
l_int32  lastlineflag 
)
LEPT_DLL void ditherTo2bppLow ( l_uint32 datad,
l_int32  w,
l_int32  h,
l_int32  wpld,
l_uint32 datas,
l_int32  wpls,
l_uint32 bufs1,
l_uint32 bufs2,
l_int32 tabval,
l_int32 tab38,
l_int32 tab14 
)
LEPT_DLL void ditherToBinaryLineLow ( l_uint32 lined,
l_int32  w,
l_uint32 bufs1,
l_uint32 bufs2,
l_int32  lowerclip,
l_int32  upperclip,
l_int32  lastlineflag 
)
LEPT_DLL void ditherToBinaryLineLUTLow ( l_uint32 lined,
l_int32  w,
l_uint32 bufs1,
l_uint32 bufs2,
l_int32 tabval,
l_int32 tab38,
l_int32 tab14,
l_int32  lastlineflag 
)
LEPT_DLL void ditherToBinaryLow ( l_uint32 datad,
l_int32  w,
l_int32  h,
l_int32  wpld,
l_uint32 datas,
l_int32  wpls,
l_uint32 bufs1,
l_uint32 bufs2,
l_int32  lowerclip,
l_int32  upperclip 
)
LEPT_DLL void ditherToBinaryLUTLow ( l_uint32 datad,
l_int32  w,
l_int32  h,
l_int32  wpld,
l_uint32 datas,
l_int32  wpls,
l_uint32 bufs1,
l_uint32 bufs2,
l_int32 tabval,
l_int32 tab38,
l_int32 tab14 
)
LEPT_DLL l_int32 dpixChangeRefcount ( DPIX dpix,
l_int32  delta 
)
LEPT_DLL DPIX* dpixClone ( DPIX dpix  ) 
LEPT_DLL DPIX* dpixCopy ( DPIX dpixd,
DPIX dpixs 
)
LEPT_DLL l_int32 dpixCopyResolution ( DPIX dpixd,
DPIX dpixs 
)
LEPT_DLL DPIX* dpixCreate ( l_int32  width,
l_int32  height 
)
LEPT_DLL DPIX* dpixCreateTemplate ( DPIX dpixs  ) 
LEPT_DLL void dpixDestroy ( DPIX **  pdpix  ) 
LEPT_DLL l_float64* dpixGetData ( DPIX dpix  ) 
LEPT_DLL l_int32 dpixGetDimensions ( DPIX dpix,
l_int32 pw,
l_int32 ph 
)
LEPT_DLL l_int32 dpixGetRefcount ( DPIX dpix  ) 
LEPT_DLL l_int32 dpixGetResolution ( DPIX dpix,
l_int32 pxres,
l_int32 pyres 
)
LEPT_DLL l_int32 dpixGetWpl ( DPIX dpix  ) 
LEPT_DLL l_int32 dpixResizeImageData ( DPIX dpixd,
DPIX dpixs 
)
LEPT_DLL l_int32 dpixSetData ( DPIX dpix,
l_float64 data 
)
LEPT_DLL l_int32 dpixSetDimensions ( DPIX dpix,
l_int32  w,
l_int32  h 
)
LEPT_DLL l_int32 dpixSetResolution ( DPIX dpix,
l_int32  xres,
l_int32  yres 
)
LEPT_DLL l_int32 dpixSetWpl ( DPIX dpix,
l_int32  wpl 
)
LEPT_DLL char* encodeAscii85 ( l_uint8 inarray,
l_int32  insize,
l_int32 poutsize 
)
LEPT_DLL void erodeGrayLow ( l_uint32 datad,
l_int32  w,
l_int32  h,
l_int32  wpld,
l_uint32 datas,
l_int32  wpls,
l_int32  size,
l_int32  direction,
l_uint8 buffer,
l_uint8 minarray 
)
LEPT_DLL l_int32 expandBinaryPower2Low ( l_uint32 datad,
l_int32  wd,
l_int32  hd,
l_int32  wpld,
l_uint32 datas,
l_int32  ws,
l_int32  hs,
l_int32  wpls,
l_int32  factor 
)
LEPT_DLL l_int32 extractJpegDataFromArray ( const void *  data,
l_int32  nbytes,
l_int32 pw,
l_int32 ph,
l_int32 pbps,
l_int32 pspp 
)
LEPT_DLL l_int32 extractJpegDataFromFile ( const char *  filein,
l_uint8 **  pdata,
l_int32 pnbytes,
l_int32 pw,
l_int32 ph,
l_int32 pbps,
l_int32 pspp 
)
LEPT_DLL l_int32 extractNumberFromFilename ( const char *  fname,
l_int32  numpre,
l_int32  numpost 
)
LEPT_DLL void extractRGBValues ( l_uint32  pixel,
l_int32 prval,
l_int32 pgval,
l_int32 pbval 
)
LEPT_DLL l_int32 extractTiffG4DataFromFile ( const char *  filein,
l_uint8 **  pdata,
l_int32 pnbytes,
l_int32 pw,
l_int32 ph,
l_int32 pminisblack 
)
LEPT_DLL l_int32 fhmtautogen ( SELA sela,
l_int32  fileindex,
const char *  filename 
)
LEPT_DLL l_int32 fhmtautogen1 ( SELA sela,
l_int32  fileindex,
const char *  filename 
)
LEPT_DLL l_int32 fhmtautogen2 ( SELA sela,
l_int32  fileindex,
const char *  filename 
)
LEPT_DLL l_int32 fhmtgen_low_1 ( l_uint32 datad,
l_int32  w,
l_int32  h,
l_int32  wpld,
l_uint32 datas,
l_int32  wpls,
l_int32  index 
)
LEPT_DLL l_int32 fileFormatIsTiff ( FILE *  fp  ) 
LEPT_DLL void finalAccumulateLow ( l_uint32 datad,
l_int32  w,
l_int32  h,
l_int32  d,
l_int32  wpld,
l_uint32 datas,
l_int32  wpls,
l_uint32  offset 
)
LEPT_DLL void finalAccumulateThreshLow ( l_uint32 datad,
l_int32  w,
l_int32  h,
l_int32  wpld,
l_uint32 datas,
l_int32  wpls,
l_uint32  offset,
l_uint32  threshold 
)
LEPT_DLL l_int32 findFileFormat ( FILE *  fp  ) 
LEPT_DLL l_int32 findFileFormatBuffer ( const l_uint8 buf  ) 
LEPT_DLL l_int32 findNextBorderPixel ( l_int32  w,
l_int32  h,
l_uint32 data,
l_int32  wpl,
l_int32  px,
l_int32  py,
l_int32 pqpos,
l_int32 pnpx,
l_int32 pnpy 
)
LEPT_DLL l_int32 findTiffCompression ( FILE *  fp,
l_int32 pcomp 
)
LEPT_DLL void flipLRLow ( l_uint32 data,
l_int32  w,
l_int32  h,
l_int32  d,
l_int32  wpl,
l_uint8 tab,
l_uint32 buffer 
)
LEPT_DLL void flipTBLow ( l_uint32 data,
l_int32  h,
l_int32  wpl,
l_uint32 buffer 
)
LEPT_DLL l_int32 fmorphautogen ( SELA sela,
l_int32  fileindex,
const char *  filename 
)
LEPT_DLL l_int32 fmorphautogen1 ( SELA sela,
l_int32  fileindex,
const char *  filename 
)
LEPT_DLL l_int32 fmorphautogen2 ( SELA sela,
l_int32  fileindex,
const char *  filename 
)
LEPT_DLL l_int32 fmorphopgen_low_1 ( l_uint32 datad,
l_int32  w,
l_int32  h,
l_int32  wpld,
l_uint32 datas,
l_int32  wpls,
l_int32  index 
)
LEPT_DLL l_int32 fmorphopgen_low_2 ( l_uint32 datad,
l_int32  w,
l_int32  h,
l_int32  wpld,
l_uint32 datas,
l_int32  wpls,
l_int32  index 
)
LEPT_DLL l_int32 fnbytesInFile ( FILE *  fp  ) 
LEPT_DLL FILE* fopenReadStream ( const char *  filename  ) 
LEPT_DLL FPIX* fpixAddBorder ( FPIX fpixs,
l_int32  left,
l_int32  right,
l_int32  top,
l_int32  bot 
)
LEPT_DLL FPIX* fpixAddMirroredBorder ( FPIX fpixs,
l_int32  left,
l_int32  right,
l_int32  top,
l_int32  bot 
)
LEPT_DLL l_int32 fpixAddMultConstant ( FPIX fpix,
l_float32  addc,
l_float32  multc 
)
LEPT_DLL l_int32 fpixChangeRefcount ( FPIX fpix,
l_int32  delta 
)
LEPT_DLL FPIX* fpixClone ( FPIX fpix  ) 
LEPT_DLL PIX* fpixConvertToPix ( FPIX fpixs,
l_int32  outdepth,
l_int32  negvals,
l_int32  errorflag 
)
LEPT_DLL FPIX* fpixConvolve ( FPIX fpixs,
L_KERNEL kel,
l_int32  normflag 
)
LEPT_DLL FPIX* fpixConvolveSep ( FPIX fpixs,
L_KERNEL kelx,
L_KERNEL kely,
l_int32  normflag 
)
LEPT_DLL FPIX* fpixCopy ( FPIX fpixd,
FPIX fpixs 
)
LEPT_DLL l_int32 fpixCopyResolution ( FPIX fpixd,
FPIX fpixs 
)
LEPT_DLL FPIX* fpixCreate ( l_int32  width,
l_int32  height 
)
LEPT_DLL FPIX* fpixCreateTemplate ( FPIX fpixs  ) 
LEPT_DLL void fpixDestroy ( FPIX **  pfpix  ) 
LEPT_DLL PIX* fpixDisplayMaxDynamicRange ( FPIX fpixs  ) 
LEPT_DLL l_float32* fpixGetData ( FPIX fpix  ) 
LEPT_DLL l_int32 fpixGetDimensions ( FPIX fpix,
l_int32 pw,
l_int32 ph 
)
LEPT_DLL l_int32 fpixGetRefcount ( FPIX fpix  ) 
LEPT_DLL l_int32 fpixGetResolution ( FPIX fpix,
l_int32 pxres,
l_int32 pyres 
)
LEPT_DLL l_int32 fpixGetWpl ( FPIX fpix  ) 
LEPT_DLL FPIX* fpixLinearCombination ( FPIX fpixd,
FPIX fpixs1,
FPIX fpixs2,
l_float32  a,
l_float32  b 
)
LEPT_DLL l_int32 fpixRasterop ( FPIX fpixd,
l_int32  dx,
l_int32  dy,
l_int32  dw,
l_int32  dh,
FPIX fpixs,
l_int32  sx,
l_int32  sy 
)
LEPT_DLL FPIX* fpixRemoveBorder ( FPIX fpixs,
l_int32  left,
l_int32  right,
l_int32  top,
l_int32  bot 
)
LEPT_DLL l_int32 fpixResizeImageData ( FPIX fpixd,
FPIX fpixs 
)
LEPT_DLL l_int32 fpixSetData ( FPIX fpix,
l_float32 data 
)
LEPT_DLL l_int32 fpixSetDimensions ( FPIX fpix,
l_int32  w,
l_int32  h 
)
LEPT_DLL l_int32 fpixSetResolution ( FPIX fpix,
l_int32  xres,
l_int32  yres 
)
LEPT_DLL l_int32 fpixSetWpl ( FPIX fpix,
l_int32  wpl 
)
LEPT_DLL l_int32 fprintTiffInfo ( FILE *  fpout,
const char *  tiffile 
)
LEPT_DLL l_int32 freadHeaderPng ( FILE *  fp,
l_int32 pwidth,
l_int32 pheight,
l_int32 pbpc,
l_int32 pcpp,
l_int32 piscmap 
)
LEPT_DLL l_int32 freadHeaderTiff ( FILE *  fp,
l_int32  n,
l_int32 pwidth,
l_int32 pheight,
l_int32 pbps,
l_int32 pspp,
l_int32 pres,
l_int32 pcmap 
)
LEPT_DLL l_int32 gaussjordan ( l_float32 **  a,
l_float32 b,
l_int32  n 
)
LEPT_DLL PIX* generateBinaryMaze ( l_int32  w,
l_int32  h,
l_int32  xi,
l_int32  yi,
l_float32  wallps,
l_float32  ranis 
)
LEPT_DLL PTAA* generatePtaaBoxa ( BOXA boxa  ) 
LEPT_DLL PTAA* generatePtaaHashBoxa ( BOXA boxa,
l_int32  spacing,
l_int32  width,
l_int32  orient,
l_int32  outline 
)
LEPT_DLL PTA* generatePtaBox ( BOX box,
l_int32  width 
)
LEPT_DLL PTA* generatePtaBoxa ( BOXA boxa,
l_int32  width,
l_int32  removedups 
)
LEPT_DLL PTA* generatePtaFilledCircle ( l_int32  radius  ) 
LEPT_DLL PTA* generatePtaHashBox ( BOX box,
l_int32  spacing,
l_int32  width,
l_int32  orient,
l_int32  outline 
)
LEPT_DLL PTA* generatePtaLine ( l_int32  x1,
l_int32  y1,
l_int32  x2,
l_int32  y2 
)
LEPT_DLL PTA* generatePtaLineFromPt ( l_int32  x,
l_int32  y,
l_float64  length,
l_float64  radang 
)
LEPT_DLL PTA* generatePtaPolyline ( PTA ptas,
l_int32  width,
l_int32  closeflag,
l_int32  removedups 
)
LEPT_DLL PTA* generatePtaWideLine ( l_int32  x1,
l_int32  y1,
l_int32  x2,
l_int32  y2,
l_int32  width 
)
LEPT_DLL char* genPathname ( const char *  dir,
const char *  fname 
)
LEPT_DLL char* genTempFilename ( const char *  dir,
const char *  extension 
)
LEPT_DLL l_int32 getAffineXformCoeffs ( PTA ptas,
PTA ptad,
l_float32 **  pvc 
)
LEPT_DLL l_int32 getBilinearXformCoeffs ( PTA ptas,
PTA ptad,
l_float32 **  pvc 
)
LEPT_DLL l_int32 getCompositeParameters ( l_int32  size,
l_int32 psize1,
l_int32 psize2,
char **  pnameh1,
char **  pnameh2,
char **  pnamev1,
char **  pnamev2 
)
LEPT_DLL PTA* getCutPathForHole ( PIX pix,
PTA pta,
BOX boxinner,
l_int32 pdir,
l_int32 plen 
)
LEPT_DLL l_int32 getExtendedCompositeParameters ( l_int32  size,
l_int32 pn,
l_int32 pextra,
l_int32 pactualsize 
)
LEPT_DLL SARRAY* getFilenamesInDirectory ( const char *  dirname  ) 
LEPT_DLL const char* getFormatExtension ( l_int32  format  ) 
LEPT_DLL l_int32 getImpliedFileFormat ( const char *  filename  ) 
LEPT_DLL l_float32 getLogBase2 ( l_int32  val,
l_float32 logtab 
)
LEPT_DLL l_uint32 getMorphBorderPixelColor ( l_int32  type,
l_int32  depth 
)
LEPT_DLL void getOctcubeIndexFromRGB ( l_int32  rval,
l_int32  gval,
l_int32  bval,
l_uint32 rtab,
l_uint32 gtab,
l_uint32 btab,
l_uint32 pindex 
)
LEPT_DLL l_int32 getProjectiveXformCoeffs ( PTA ptas,
PTA ptad,
l_float32 **  pvc 
)
LEPT_DLL l_int32 getResA4Page ( l_int32  w,
l_int32  h,
l_float32  fillfract 
)
LEPT_DLL l_int32 getResLetterPage ( l_int32  w,
l_int32  h,
l_float32  fillfract 
)
LEPT_DLL void getScaledParametersPS ( BOX box,
l_int32  wpix,
l_int32  hpix,
l_int32  res,
l_float32  scale,
l_float32 pxpt,
l_float32 pypt,
l_float32 pwpt,
l_float32 phpt 
)
LEPT_DLL SARRAY* getSortedPathnamesInDirectory ( const char *  dirname,
const char *  substr,
l_int32  firstpage,
l_int32  npages 
)
LEPT_DLL l_int32 gplotAddPlot ( GPLOT gplot,
NUMA nax,
NUMA nay,
l_int32  plotstyle,
const char *  plottitle 
)
LEPT_DLL GPLOT* gplotCreate ( const char *  rootname,
l_int32  outformat,
const char *  title,
const char *  xlabel,
const char *  ylabel 
)
LEPT_DLL void gplotDestroy ( GPLOT **  pgplot  ) 
LEPT_DLL l_int32 gplotGenCommandFile ( GPLOT gplot  ) 
LEPT_DLL l_int32 gplotGenDataFiles ( GPLOT gplot  ) 
LEPT_DLL l_int32 gplotMakeOutput ( GPLOT gplot  ) 
LEPT_DLL GPLOT* gplotRead ( const char *  filename  ) 
LEPT_DLL l_int32 gplotSetScaling ( GPLOT gplot,
l_int32  scaling 
)
LEPT_DLL l_int32 gplotSimple1 ( NUMA na,
l_int32  outformat,
const char *  outroot,
const char *  title 
)
LEPT_DLL l_int32 gplotSimple2 ( NUMA na1,
NUMA na2,
l_int32  outformat,
const char *  outroot,
const char *  title 
)
LEPT_DLL l_int32 gplotSimpleN ( NUMAA naa,
l_int32  outformat,
const char *  outroot,
const char *  title 
)
LEPT_DLL l_int32 gplotWrite ( const char *  filename,
GPLOT gplot 
)
LEPT_DLL l_int32 ioFormatTest ( const char *  filename  ) 
LEPT_DLL PIXA* jbAccumulateComposites ( PIXAA pixaa,
NUMA **  pna,
PTA **  pptat 
)
LEPT_DLL l_int32 jbAddPage ( JBCLASSER classer,
PIX pixs 
)
LEPT_DLL l_int32 jbAddPageComponents ( JBCLASSER classer,
PIX pixs,
BOXA boxas,
PIXA pixas 
)
LEPT_DLL l_int32 jbAddPages ( JBCLASSER classer,
SARRAY safiles 
)
LEPT_DLL JBCLASSER* jbClasserCreate ( l_int32  method,
l_int32  components 
)
LEPT_DLL void jbClasserDestroy ( JBCLASSER **  pclasser  ) 
LEPT_DLL l_int32 jbClassifyCorrelation ( JBCLASSER classer,
BOXA boxa,
PIXA pixas 
)
LEPT_DLL l_int32 jbClassifyRankHaus ( JBCLASSER classer,
BOXA boxa,
PIXA pixas 
)
LEPT_DLL l_int32 jbCorrelation ( const char *  dirin,
l_float32  thresh,
l_float32  weight,
l_int32  components,
const char *  rootname,
l_int32  firstpage,
l_int32  npages,
l_int32  renderflag 
)
LEPT_DLL JBCLASSER* jbCorrelationInit ( l_int32  components,
l_int32  maxwidth,
l_int32  maxheight,
l_float32  thresh,
l_float32  weightfactor 
)
LEPT_DLL JBCLASSER* jbCorrelationInitWithoutComponents ( l_int32  components,
l_int32  maxwidth,
l_int32  maxheight,
l_float32  thresh,
l_float32  weightfactor 
)
LEPT_DLL void jbDataDestroy ( JBDATA **  pdata  ) 
LEPT_DLL JBDATA* jbDataRead ( const char *  rootname  ) 
LEPT_DLL PIXA* jbDataRender ( JBDATA data,
l_int32  debugflag 
)
LEPT_DLL JBDATA* jbDataSave ( JBCLASSER classer  ) 
LEPT_DLL l_int32 jbDataWrite ( const char *  rootout,
JBDATA jbdata 
)
LEPT_DLL l_int32 jbGetComponents ( PIX pixs,
l_int32  components,
l_int32  maxwidth,
l_int32  maxheight,
BOXA **  pboxad,
PIXA **  ppixad 
)
LEPT_DLL l_int32 jbGetLLCorners ( JBCLASSER classer  ) 
LEPT_DLL l_int32 jbGetULCorners ( JBCLASSER classer,
PIX pixs,
BOXA boxa 
)
LEPT_DLL l_int32 jbRankHaus ( const char *  dirin,
l_int32  size,
l_float32  rank,
l_int32  components,
const char *  rootname,
l_int32  firstpage,
l_int32  npages,
l_int32  renderflag 
)
LEPT_DLL JBCLASSER* jbRankHausInit ( l_int32  components,
l_int32  maxwidth,
l_int32  maxheight,
l_int32  size,
l_float32  rank 
)
LEPT_DLL PIXA* jbTemplatesFromComposites ( PIXA pixac,
NUMA na 
)
LEPT_DLL JBCLASSER* jbWordsInTextlines ( const char *  dirin,
l_int32  reduction,
l_int32  maxwidth,
l_int32  maxheight,
l_float32  thresh,
l_float32  weight,
NUMA **  pnatl,
l_int32  firstpage,
l_int32  npages 
)
LEPT_DLL L_KERNEL* kernelCopy ( L_KERNEL kels  ) 
LEPT_DLL L_KERNEL* kernelCreate ( l_int32  height,
l_int32  width 
)
LEPT_DLL L_KERNEL* kernelCreateFromFile ( const char *  filename  ) 
LEPT_DLL L_KERNEL* kernelCreateFromPix ( PIX pix,
l_int32  cy,
l_int32  cx 
)
LEPT_DLL L_KERNEL* kernelCreateFromString ( l_int32  h,
l_int32  w,
l_int32  cy,
l_int32  cx,
const char *  kdata 
)
LEPT_DLL void kernelDestroy ( L_KERNEL **  pkel  ) 
LEPT_DLL PIX* kernelDisplayInPix ( L_KERNEL kel,
l_int32  size,
l_int32  gthick 
)
LEPT_DLL l_int32 kernelGetElement ( L_KERNEL kel,
l_int32  row,
l_int32  col,
l_float32 pval 
)
LEPT_DLL l_int32 kernelGetMinMax ( L_KERNEL kel,
l_float32 pmin,
l_float32 pmax 
)
LEPT_DLL l_int32 kernelGetParameters ( L_KERNEL kel,
l_int32 psy,
l_int32 psx,
l_int32 pcy,
l_int32 pcx 
)
LEPT_DLL l_int32 kernelGetSum ( L_KERNEL kel,
l_float32 psum 
)
LEPT_DLL L_KERNEL* kernelInvert ( L_KERNEL kels  ) 
LEPT_DLL L_KERNEL* kernelNormalize ( L_KERNEL kels,
l_float32  normsum 
)
LEPT_DLL L_KERNEL* kernelRead ( const char *  fname  ) 
LEPT_DLL L_KERNEL* kernelReadStream ( FILE *  fp  ) 
LEPT_DLL l_int32 kernelSetElement ( L_KERNEL kel,
l_int32  row,
l_int32  col,
l_float32  val 
)
LEPT_DLL l_int32 kernelSetOrigin ( L_KERNEL kel,
l_int32  cy,
l_int32  cx 
)
LEPT_DLL l_int32 kernelWrite ( const char *  fname,
L_KERNEL kel 
)
LEPT_DLL l_int32 kernelWriteStream ( FILE *  fp,
L_KERNEL kel 
)
LEPT_DLL void l_clearDataBit ( void *  line,
l_int32  n 
)
LEPT_DLL void l_clearDataDibit ( void *  line,
l_int32  n 
)
LEPT_DLL void l_clearDataQbit ( void *  line,
l_int32  n 
)
LEPT_DLL void l_error ( const char *  msg,
const char *  procname 
)
LEPT_DLL void l_errorFloat ( const char *  msg,
const char *  procname,
l_float32  fval 
)
LEPT_DLL void l_errorInt ( const char *  msg,
const char *  procname,
l_int32  ival 
)
LEPT_DLL void l_errorString ( const char *  msg,
const char *  procname,
const char *  str 
)
LEPT_DLL l_int32 l_getDataBit ( void *  line,
l_int32  n 
)
LEPT_DLL l_int32 l_getDataByte ( void *  line,
l_int32  n 
)
LEPT_DLL l_int32 l_getDataDibit ( void *  line,
l_int32  n 
)
LEPT_DLL l_int32 l_getDataFourBytes ( void *  line,
l_int32  n 
)
LEPT_DLL l_int32 l_getDataQbit ( void *  line,
l_int32  n 
)
LEPT_DLL l_int32 l_getDataTwoBytes ( void *  line,
l_int32  n 
)
LEPT_DLL void l_info ( const char *  msg,
const char *  procname 
)
LEPT_DLL void l_infoFloat ( const char *  msg,
const char *  procname,
l_float32  fval 
)
LEPT_DLL void l_infoFloat2 ( const char *  msg,
const char *  procname,
l_float32  fval1,
l_float32  fval2 
)
LEPT_DLL void l_infoInt ( const char *  msg,
const char *  procname,
l_int32  ival 
)
LEPT_DLL void l_infoInt2 ( const char *  msg,
const char *  procname,
l_int32  ival1,
l_int32  ival2 
)
LEPT_DLL void l_infoString ( const char *  msg,
const char *  procname,
const char *  str 
)
LEPT_DLL void l_pngSetStrip16To8 ( l_int32  flag  ) 
LEPT_DLL void l_pngSetStripAlpha ( l_int32  flag  ) 
LEPT_DLL void l_pngSetZlibCompression ( l_int32  val  ) 
LEPT_DLL l_int32 l_productMat2 ( l_float32 mat1,
l_float32 mat2,
l_float32 matd,
l_int32  size 
)
LEPT_DLL l_int32 l_productMat3 ( l_float32 mat1,
l_float32 mat2,
l_float32 mat3,
l_float32 matd,
l_int32  size 
)
LEPT_DLL l_int32 l_productMat4 ( l_float32 mat1,
l_float32 mat2,
l_float32 mat3,
l_float32 mat4,
l_float32 matd,
l_int32  size 
)
LEPT_DLL l_int32 l_productMatVec ( l_float32 mat,
l_float32 vecs,
l_float32 vecd,
l_int32  size 
)
LEPT_DLL void l_setDataBit ( void *  line,
l_int32  n 
)
LEPT_DLL void l_setDataBitVal ( void *  line,
l_int32  n,
l_int32  val 
)
LEPT_DLL void l_setDataByte ( void *  line,
l_int32  n,
l_int32  val 
)
LEPT_DLL void l_setDataDibit ( void *  line,
l_int32  n,
l_int32  val 
)
LEPT_DLL void l_setDataFourBytes ( void *  line,
l_int32  n,
l_int32  val 
)
LEPT_DLL void l_setDataQbit ( void *  line,
l_int32  n,
l_int32  val 
)
LEPT_DLL void l_setDataTwoBytes ( void *  line,
l_int32  n,
l_int32  val 
)
LEPT_DLL void l_warning ( const char *  msg,
const char *  procname 
)
LEPT_DLL void l_warningFloat ( const char *  msg,
const char *  procname,
l_float32  fval 
)
LEPT_DLL void l_warningInt ( const char *  msg,
const char *  procname,
l_int32  ival 
)
LEPT_DLL void l_warningString ( const char *  msg,
const char *  procname,
const char *  str 
)
LEPT_DLL l_int32 lheapAdd ( L_HEAP lh,
void *  item 
)
LEPT_DLL L_HEAP* lheapCreate ( l_int32  nalloc,
l_int32  direction 
)
LEPT_DLL void lheapDestroy ( L_HEAP **  plh,
l_int32  freeflag 
)
LEPT_DLL l_int32 lheapExtendArray ( L_HEAP lh  ) 
LEPT_DLL l_int32 lheapGetCount ( L_HEAP lh  ) 
LEPT_DLL l_int32 lheapPrint ( FILE *  fp,
L_HEAP lh 
)
LEPT_DLL void* lheapRemove ( L_HEAP lh  ) 
LEPT_DLL l_int32 lheapSort ( L_HEAP lh  ) 
LEPT_DLL l_int32 lheapSortStrictOrder ( L_HEAP lh  ) 
LEPT_DLL l_int32 lheapSwapDown ( L_HEAP lh  ) 
LEPT_DLL l_int32 lheapSwapUp ( L_HEAP lh,
l_int32  index 
)
LEPT_DLL l_int32 linearInterpolatePixelColor ( l_uint32 datas,
l_int32  wpls,
l_int32  w,
l_int32  h,
l_float32  x,
l_float32  y,
l_uint32  colorval,
l_uint32 pval 
)
LEPT_DLL l_int32 linearInterpolatePixelGray ( l_uint32 datas,
l_int32  wpls,
l_int32  w,
l_int32  h,
l_float32  x,
l_float32  y,
l_int32  grayval,
l_int32 pval 
)
LEPT_DLL l_int32 lineEndianByteSwap ( l_uint32 datad,
l_uint32 datas,
l_int32  wpl 
)
LEPT_DLL l_int32 listAddToHead ( DLLIST **  phead,
void *  data 
)
LEPT_DLL l_int32 listAddToTail ( DLLIST **  phead,
DLLIST **  ptail,
void *  data 
)
LEPT_DLL void listDestroy ( DLLIST **  phead  ) 
LEPT_DLL DLLIST* listFindElement ( DLLIST head,
void *  data 
)
LEPT_DLL DLLIST* listFindTail ( DLLIST head  ) 
LEPT_DLL l_int32 listGetCount ( DLLIST head  ) 
LEPT_DLL l_int32 listInsertAfter ( DLLIST **  phead,
DLLIST elem,
void *  data 
)
LEPT_DLL l_int32 listInsertBefore ( DLLIST **  phead,
DLLIST elem,
void *  data 
)
LEPT_DLL l_int32 listJoin ( DLLIST **  phead1,
DLLIST **  phead2 
)
LEPT_DLL void* listRemoveElement ( DLLIST **  phead,
DLLIST elem 
)
LEPT_DLL void* listRemoveFromHead ( DLLIST **  phead  ) 
LEPT_DLL void* listRemoveFromTail ( DLLIST **  phead,
DLLIST **  ptail 
)
LEPT_DLL l_int32 listReverse ( DLLIST **  phead  ) 
LEPT_DLL void locateOutsideSeedPixel ( l_int32  fpx,
l_int32  fpy,
l_int32  spx,
l_int32  spy,
l_int32 pxs,
l_int32 pys 
)
LEPT_DLL l_int32 locatePtRadially ( l_int32  xr,
l_int32  yr,
l_float64  dist,
l_float64  radang,
l_float64 px,
l_float64 py 
)
LEPT_DLL l_int32 lqueueAdd ( L_QUEUE lq,
void *  item 
)
LEPT_DLL L_QUEUE* lqueueCreate ( l_int32  nalloc  ) 
LEPT_DLL void lqueueDestroy ( L_QUEUE **  plq,
l_int32  freeflag 
)
LEPT_DLL l_int32 lqueueExtendArray ( L_QUEUE lq  ) 
LEPT_DLL l_int32 lqueueGetCount ( L_QUEUE lq  ) 
LEPT_DLL l_int32 lqueuePrint ( FILE *  fp,
L_QUEUE lq 
)
LEPT_DLL void* lqueueRemove ( L_QUEUE lq  ) 
LEPT_DLL l_int32 lstackAdd ( L_STACK lstack,
void *  item 
)
LEPT_DLL L_STACK* lstackCreate ( l_int32  nalloc  ) 
LEPT_DLL void lstackDestroy ( L_STACK **  plstack,
l_int32  freeflag 
)
LEPT_DLL l_int32 lstackExtendArray ( L_STACK lstack  ) 
LEPT_DLL l_int32 lstackGetCount ( L_STACK lstack  ) 
LEPT_DLL l_int32 lstackPrint ( FILE *  fp,
L_STACK lstack 
)
LEPT_DLL void* lstackRemove ( L_STACK lstack  ) 
LEPT_DLL l_int32 make8To1DitherTables ( l_int32 **  ptabval,
l_int32 **  ptab38,
l_int32 **  ptab14,
l_int32  lowerclip,
l_int32  upperclip 
)
LEPT_DLL l_int32 make8To2DitherTables ( l_int32 **  ptabval,
l_int32 **  ptab38,
l_int32 **  ptab14,
l_int32  cliptoblack,
l_int32  cliptowhite 
)
LEPT_DLL L_KERNEL* makeDoGKernel ( l_int32  halfheight,
l_int32  halfwidth,
l_float32  stdev,
l_float32  ratio 
)
LEPT_DLL l_uint16* makeExpandTab2x ( void   ) 
LEPT_DLL l_uint32* makeExpandTab4x ( void   ) 
LEPT_DLL l_uint32* makeExpandTab8x ( void   ) 
LEPT_DLL L_KERNEL* makeGaussianKernel ( l_int32  halfheight,
l_int32  halfwidth,
l_float32  stdev,
l_float32  max 
)
LEPT_DLL l_int32 makeGaussianKernelSep ( l_int32  halfheight,
l_int32  halfwidth,
l_float32  stdev,
l_float32  max,
L_KERNEL **  pkelx,
L_KERNEL **  pkely 
)
LEPT_DLL l_int32 makeGrayQuantColormapArb ( PIX pixs,
l_int32 tab,
l_int32  outdepth,
PIXCMAP **  pcmap 
)
LEPT_DLL l_int32* makeGrayQuantIndexTable ( l_int32  nlevels  ) 
LEPT_DLL l_int32 makeGrayQuantTableArb ( NUMA na,
l_int32  outdepth,
l_int32 **  ptab,
PIXCMAP **  pcmap 
)
LEPT_DLL l_int32* makeGrayQuantTargetTable ( l_int32  nlevels,
l_int32  depth 
)
LEPT_DLL l_float32* makeLogBase2Tab ( void   ) 
LEPT_DLL l_int32* makeMSBitLocTab ( l_int32  bitval  ) 
LEPT_DLL l_int32 makeOrientDecision ( l_float32  upconf,
l_float32  leftconf,
l_float32  minupconf,
l_float32  minratio,
l_int32 porient,
l_int32  debug 
)
LEPT_DLL l_int32* makePixelCentroidTab8 ( void   ) 
LEPT_DLL l_int32* makePixelSumTab8 ( void   ) 
LEPT_DLL l_uint8* makeReverseByteTab1 ( void   ) 
LEPT_DLL l_uint8* makeReverseByteTab2 ( void   ) 
LEPT_DLL l_uint8* makeReverseByteTab4 ( void   ) 
LEPT_DLL l_int32 makeRGBToIndexTables ( l_uint32 **  prtab,
l_uint32 **  pgtab,
l_uint32 **  pbtab,
l_int32  cqlevels 
)
LEPT_DLL l_uint8* makeSubsampleTab2x ( void   ) 
LEPT_DLL l_uint32* makeSumTabSG2 ( void   ) 
LEPT_DLL l_uint32* makeSumTabSG3 ( void   ) 
LEPT_DLL l_uint32* makeSumTabSG4 ( void   ) 
LEPT_DLL l_uint8* makeValTabSG2 ( void   ) 
LEPT_DLL l_uint8* makeValTabSG3 ( void   ) 
LEPT_DLL l_uint8* makeValTabSG4 ( void   ) 
LEPT_DLL l_uint8* makeValTabSG6 ( void   ) 
LEPT_DLL l_uint8* makeValTabSG8 ( void   ) 
LEPT_DLL l_int32 morphSequenceVerify ( SARRAY sa  ) 
LEPT_DLL void multConstAccumulateLow ( l_uint32 data,
l_int32  w,
l_int32  h,
l_int32  wpl,
l_float32  factor,
l_uint32  offset 
)
LEPT_DLL void multConstantGrayLow ( l_uint32 data,
l_int32  w,
l_int32  h,
l_int32  d,
l_int32  wpl,
l_float32  val 
)
LEPT_DLL l_int32 nbytesInFile ( const char *  filename  ) 
LEPT_DLL l_int32 nextOnPixelInRaster ( PIX pixs,
l_int32  xstart,
l_int32  ystart,
l_int32 px,
l_int32 py 
)
LEPT_DLL l_int32 nextOnPixelInRasterLow ( l_uint32 data,
l_int32  w,
l_int32  h,
l_int32  wpl,
l_int32  xstart,
l_int32  ystart,
l_int32 px,
l_int32 py 
)
LEPT_DLL l_int32 numa2dAddNumber ( NUMA2D na2d,
l_int32  row,
l_int32  col,
l_float32  val 
)
LEPT_DLL NUMA2D* numa2dCreate ( l_int32  nrows,
l_int32  ncols,
l_int32  initsize 
)
LEPT_DLL void numa2dDestroy ( NUMA2D **  pna2d  ) 
LEPT_DLL l_int32 numa2dGetCount ( NUMA2D na2d,
l_int32  row,
l_int32  col 
)
LEPT_DLL l_int32 numa2dGetFValue ( NUMA2D na2d,
l_int32  row,
l_int32  col,
l_int32  index,
l_float32 pval 
)
LEPT_DLL l_int32 numa2dGetIValue ( NUMA2D na2d,
l_int32  row,
l_int32  col,
l_int32  index,
l_int32 pval 
)
LEPT_DLL NUMA* numa2dGetNuma ( NUMA2D na2d,
l_int32  row,
l_int32  col 
)
LEPT_DLL l_int32 numaaAddNuma ( NUMAA naa,
NUMA na,
l_int32  copyflag 
)
LEPT_DLL l_int32 numaaAddNumber ( NUMAA naa,
l_int32  index,
l_float32  val 
)
LEPT_DLL l_int32 numaaCompareImagesByBoxes ( NUMAA naa1,
NUMAA naa2,
l_int32  nperline,
l_int32  nreq,
l_int32  maxshiftx,
l_int32  maxshifty,
l_int32  delx,
l_int32  dely,
l_int32 psame,
l_int32  debugflag 
)
LEPT_DLL NUMAA* numaaCreate ( l_int32  n  ) 
LEPT_DLL l_int32 numaAddNumber ( NUMA na,
l_float32  val 
)
LEPT_DLL void numaaDestroy ( NUMAA **  pnaa  ) 
LEPT_DLL l_int32 numaaExtendArray ( NUMAA naa  ) 
LEPT_DLL NUMA* numaaFlattenToNuma ( NUMAA naa  ) 
LEPT_DLL l_int32 numaaGetCount ( NUMAA naa  ) 
LEPT_DLL NUMA* numaaGetNuma ( NUMAA naa,
l_int32  index,
l_int32  accessflag 
)
LEPT_DLL l_int32 numaaGetNumberCount ( NUMAA naa  ) 
LEPT_DLL NUMA** numaaGetPtrArray ( NUMAA naa  ) 
LEPT_DLL NUMAA* numaaRead ( const char *  filename  ) 
LEPT_DLL NUMAA* numaaReadStream ( FILE *  fp  ) 
LEPT_DLL l_int32 numaaReplaceNuma ( NUMAA naa,
l_int32  index,
NUMA na 
)
LEPT_DLL NUMA* numaArithOp ( NUMA nad,
NUMA na1,
NUMA na2,
l_int32  op 
)
LEPT_DLL l_int32 numaaWrite ( const char *  filename,
NUMAA naa 
)
LEPT_DLL l_int32 numaaWriteStream ( FILE *  fp,
NUMAA naa 
)
LEPT_DLL l_int32 numaChangeRefcount ( NUMA na,
l_int32  delta 
)
LEPT_DLL NUMA* numaClipToInterval ( NUMA nas,
l_int32  first,
l_int32  last 
)
LEPT_DLL NUMA* numaClone ( NUMA na  ) 
LEPT_DLL NUMA* numaContrastTRC ( l_float32  factor  ) 
LEPT_DLL NUMA* numaConvertToInt ( NUMA nas  ) 
LEPT_DLL NUMA* numaConvolve ( NUMA na,
l_int32  halfwidth 
)
LEPT_DLL NUMA* numaCopy ( NUMA na  ) 
LEPT_DLL l_int32 numaCopyXParameters ( NUMA nad,
NUMA nas 
)
LEPT_DLL NUMA* numaCreate ( l_int32  n  ) 
LEPT_DLL NUMA* numaCreateFromIArray ( l_int32 array,
l_int32  size 
)
LEPT_DLL NUMA* numaCrossingsByPeaks ( NUMA nax,
NUMA nay,
l_float32  delta 
)
LEPT_DLL NUMA* numaCrossingsByThreshold ( NUMA nax,
NUMA nay,
l_float32  thresh 
)
LEPT_DLL void numaDestroy ( NUMA **  pna  ) 
LEPT_DLL l_int32 numaDifferentiateInterval ( NUMA nax,
NUMA nay,
l_float32  x0,
l_float32  x1,
l_int32  npts,
NUMA **  pnadx,
NUMA **  pnady 
)
LEPT_DLL l_int32 numaEmpty ( NUMA na  ) 
LEPT_DLL NUMA* numaEqualizeTRC ( PIX pix,
l_float32  fract,
l_int32  factor 
)
LEPT_DLL l_int32 numaEvalBestHaarParameters ( NUMA nas,
l_float32  relweight,
l_int32  nwidth,
l_int32  nshift,
l_float32  minwidth,
l_float32  maxwidth,
l_float32 pbestwidth,
l_float32 pbestshift,
l_float32 pbestscore 
)
LEPT_DLL l_int32 numaEvalHaarSum ( NUMA nas,
l_float32  width,
l_float32  shift,
l_float32  relweight,
l_float32 pscore 
)
LEPT_DLL l_int32 numaExtendArray ( NUMA na  ) 
LEPT_DLL NUMA* numaFindExtrema ( NUMA nas,
l_float32  delta 
)
LEPT_DLL NUMA* numaFindPeaks ( NUMA nas,
l_int32  nmax,
l_float32  fract1,
l_float32  fract2 
)
LEPT_DLL l_int32 numaFitMax ( NUMA na,
l_float32 pmaxval,
NUMA naloc,
l_float32 pmaxloc 
)
LEPT_DLL NUMA* numaGammaTRC ( l_float32  gamma,
l_int32  minval,
l_int32  maxval 
)
LEPT_DLL NUMA* numaGetBinSortIndex ( NUMA nas,
l_int32  sortorder 
)
LEPT_DLL l_int32 numaGetCount ( NUMA na  ) 
LEPT_DLL l_int32 numaGetCountRelativeToZero ( NUMA na,
l_int32  type,
l_int32 pcount 
)
LEPT_DLL l_float32* numaGetFArray ( NUMA na,
l_int32  copyflag 
)
LEPT_DLL l_int32 numaGetFValue ( NUMA na,
l_int32  index,
l_float32 pval 
)
LEPT_DLL l_int32 numaGetHistogramStats ( NUMA nahisto,
l_float32  startx,
l_float32  deltax,
l_float32 pxmean,
l_float32 pxmedian,
l_float32 pxmode,
l_float32 pxvariance 
)
LEPT_DLL l_int32 numaGetHistogramStatsOnInterval ( NUMA nahisto,
l_float32  startx,
l_float32  deltax,
l_int32  ifirst,
l_int32  ilast,
l_float32 pxmean,
l_float32 pxmedian,
l_float32 pxmode,
l_float32 pxvariance 
)
LEPT_DLL l_int32* numaGetIArray ( NUMA na  ) 
LEPT_DLL l_int32 numaGetIValue ( NUMA na,
l_int32  index,
l_int32 pival 
)
LEPT_DLL l_int32 numaGetMax ( NUMA na,
l_float32 pmaxval,
l_int32 pimaxloc 
)
LEPT_DLL l_int32 numaGetMedian ( NUMA na,
l_float32 pval 
)
LEPT_DLL l_int32 numaGetMin ( NUMA na,
l_float32 pminval,
l_int32 piminloc 
)
LEPT_DLL l_int32 numaGetMode ( NUMA na,
l_float32 pval,
l_int32 pcount 
)
LEPT_DLL l_int32 numaGetNonzeroRange ( NUMA na,
l_float32  eps,
l_int32 pfirst,
l_int32 plast 
)
LEPT_DLL NUMA* numaGetPartialSums ( NUMA na  ) 
LEPT_DLL l_int32 numaGetRefcount ( NUMA na  ) 
LEPT_DLL NUMA* numaGetSortIndex ( NUMA na,
l_int32  sortorder 
)
LEPT_DLL l_int32 numaGetStatsUsingHistogram ( NUMA na,
l_int32  maxbins,
l_float32 pmin,
l_float32 pmax,
l_float32 pmean,
l_float32 pvariance,
l_float32 pmedian,
l_float32  rank,
l_float32 prval,
NUMA **  phisto 
)
LEPT_DLL l_int32 numaGetSum ( NUMA na,
l_float32 psum 
)
LEPT_DLL l_int32 numaGetSumOnInterval ( NUMA na,
l_int32  first,
l_int32  last,
l_float32 psum 
)
LEPT_DLL l_int32 numaGetXParameters ( NUMA na,
l_float32 pstartx,
l_float32 pdelx 
)
LEPT_DLL l_int32 numaHashAdd ( NUMAHASH nahash,
l_uint32  key,
l_float32  value 
)
LEPT_DLL NUMAHASH* numaHashCreate ( l_int32  nbuckets,
l_int32  initsize 
)
LEPT_DLL void numaHashDestroy ( NUMAHASH **  pnahash  ) 
LEPT_DLL NUMA* numaHashGetNuma ( NUMAHASH nahash,
l_uint32  key 
)
LEPT_DLL l_int32 numaHasOnlyIntegers ( NUMA na,
l_int32  maxsamples,
l_int32 pallints 
)
LEPT_DLL l_int32 numaHistogramGetRankFromVal ( NUMA na,
l_float32  rval,
l_float32 prank 
)
LEPT_DLL l_int32 numaHistogramGetValFromRank ( NUMA na,
l_float32  rank,
l_float32 prval 
)
LEPT_DLL l_int32 numaInsertNumber ( NUMA na,
l_int32  index,
l_float32  val 
)
LEPT_DLL l_int32 numaIntegrateInterval ( NUMA nax,
NUMA nay,
l_float32  x0,
l_float32  x1,
l_int32  npts,
l_float32 psum 
)
LEPT_DLL l_int32 numaInterpolateArbxInterval ( NUMA nax,
NUMA nay,
l_int32  type,
l_float32  x0,
l_float32  x1,
l_int32  npts,
NUMA **  pnadx,
NUMA **  pnady 
)
LEPT_DLL l_int32 numaInterpolateArbxVal ( NUMA nax,
NUMA nay,
l_int32  type,
l_float32  xval,
l_float32 pyval 
)
LEPT_DLL l_int32 numaInterpolateEqxInterval ( l_float32  startx,
l_float32  deltax,
NUMA nasy,
l_int32  type,
l_float32  x0,
l_float32  x1,
l_int32  npts,
NUMA **  pnax,
NUMA **  pnay 
)
LEPT_DLL l_int32 numaInterpolateEqxVal ( l_float32  startx,
l_float32  deltax,
NUMA nay,
l_int32  type,
l_float32  xval,
l_float32 pyval 
)
LEPT_DLL NUMA* numaInvert ( NUMA nad,
NUMA nas 
)
LEPT_DLL l_int32 numaIsSorted ( NUMA nas,
l_int32  sortorder,
l_int32 psorted 
)
LEPT_DLL l_int32 numaJoin ( NUMA nad,
NUMA nas,
l_int32  istart,
l_int32  iend 
)
LEPT_DLL NUMA* numaLogicalOp ( NUMA nad,
NUMA na1,
NUMA na2,
l_int32  op 
)
LEPT_DLL NUMA* numaMakeConstant ( l_float32  val,
l_int32  size 
)
LEPT_DLL NUMA* numaMakeHistogram ( NUMA na,
l_int32  maxbins,
l_int32 pbinsize,
l_int32 pbinstart 
)
LEPT_DLL NUMA* numaMakeHistogramAuto ( NUMA na,
l_int32  maxbins 
)
LEPT_DLL NUMA* numaMakeHistogramClipped ( NUMA na,
l_float32  binsize,
l_float32  maxsize 
)
LEPT_DLL l_int32 numaMakeRankFromHistogram ( l_float32  startx,
l_float32  deltax,
NUMA nasy,
l_int32  npts,
NUMA **  pnax,
NUMA **  pnay 
)
LEPT_DLL NUMA* numaMakeSequence ( l_float32  startval,
l_float32  increment,
l_int32  size 
)
LEPT_DLL NUMA* numaMakeThresholdIndicator ( NUMA nas,
l_float32  thresh,
l_int32  type 
)
LEPT_DLL NUMA* numaNormalizeHistogram ( NUMA nas,
l_float32  area 
)
LEPT_DLL NUMA* numaPseudorandomSequence ( l_int32  size,
l_int32  seed 
)
LEPT_DLL NUMA* numaQuantizeCrossingsByWidth ( NUMA nas,
l_float32  binfract,
NUMA **  pnaehist,
NUMA **  pnaohist,
l_int32  debugflag 
)
LEPT_DLL NUMA* numaQuantizeCrossingsByWindow ( NUMA nas,
l_float32  ratio,
l_float32 pwidth,
l_float32 pfirstloc,
NUMA **  pnac,
l_int32  debugflag 
)
LEPT_DLL NUMA* numaRead ( const char *  filename  ) 
LEPT_DLL NUMA* numaReadStream ( FILE *  fp  ) 
LEPT_DLL NUMA* numaRebinHistogram ( NUMA nas,
l_int32  newsize 
)
LEPT_DLL l_int32 numaRemoveNumber ( NUMA na,
l_int32  index 
)
LEPT_DLL l_int32 numaReplaceNumber ( NUMA na,
l_int32  index,
l_float32  val 
)
LEPT_DLL l_int32 numaSelectCrossingThreshold ( NUMA nax,
NUMA nay,
l_float32  estthresh,
l_float32 pbestthresh 
)
LEPT_DLL l_int32 numaSetCount ( NUMA na,
l_int32  newcount 
)
LEPT_DLL l_int32 numaSetValue ( NUMA na,
l_int32  index,
l_float32  val 
)
LEPT_DLL l_int32 numaSetXParameters ( NUMA na,
l_float32  startx,
l_float32  delx 
)
LEPT_DLL l_int32 numaShiftValue ( NUMA na,
l_int32  index,
l_float32  diff 
)
LEPT_DLL NUMA* numaSort ( NUMA naout,
NUMA nain,
l_int32  sortorder 
)
LEPT_DLL NUMA* numaSortByIndex ( NUMA nas,
NUMA naindex 
)
LEPT_DLL l_int32 numaSortPair ( NUMA nax,
NUMA nay,
l_int32  sortorder,
NUMA **  pnasx,
NUMA **  pnasy 
)
LEPT_DLL l_int32 numaSplitDistribution ( NUMA na,
l_float32  scorefract,
l_int32 psplitindex,
l_float32 pave1,
l_float32 pave2,
l_float32 pnum1,
l_float32 pnum2,
NUMA **  pnascore 
)
LEPT_DLL NUMA* numaSubsample ( NUMA nas,
l_int32  subfactor 
)
LEPT_DLL NUMA* numaTransform ( NUMA nas,
l_float32  shift,
l_float32  scale 
)
LEPT_DLL l_int32 numaWrite ( const char *  filename,
NUMA na 
)
LEPT_DLL l_int32 numaWriteStream ( FILE *  fp,
NUMA na 
)
LEPT_DLL char* parseForProtos ( const char *  filein,
const char *  prestring 
)
LEPT_DLL NUMA* parseStringForNumbers ( const char *  str,
const char *  seps 
)
LEPT_DLL l_int32 pixaaAddBox ( PIXAA pixaa,
BOX box,
l_int32  copyflag 
)
LEPT_DLL l_int32 pixaaAddPixa ( PIXAA pixaa,
PIXA pixa,
l_int32  copyflag 
)
LEPT_DLL PIXAA* pixaaCreate ( l_int32  n  ) 
LEPT_DLL PIXAA* pixaaCreateFromPixa ( PIXA pixa,
l_int32  n,
l_int32  type,
l_int32  copyflag 
)
LEPT_DLL l_int32 pixaAddBox ( PIXA pixa,
BOX box,
l_int32  copyflag 
)
LEPT_DLL l_int32 pixaAddPix ( PIXA pixa,
PIX pix,
l_int32  copyflag 
)
LEPT_DLL void pixaaDestroy ( PIXAA **  ppixaa  ) 
LEPT_DLL PIX* pixaaDisplay ( PIXAA pixaa,
l_int32  w,
l_int32  h 
)
LEPT_DLL PIX* pixaaDisplayByPixa ( PIXAA pixaa,
l_int32  xspace,
l_int32  yspace,
l_int32  maxw 
)
LEPT_DLL PIXA* pixaaDisplayTiledAndScaled ( PIXAA pixaa,
l_int32  outdepth,
l_int32  tilewidth,
l_int32  ncols,
l_int32  background,
l_int32  spacing,
l_int32  border 
)
LEPT_DLL l_int32 pixaaExtendArray ( PIXAA pixaa  ) 
LEPT_DLL PIXA* pixaaFlattenToPixa ( PIXAA pixaa,
NUMA **  pnaindex,
l_int32  copyflag 
)
LEPT_DLL BOXA* pixaaGetBoxa ( PIXAA pixaa,
l_int32  accesstype 
)
LEPT_DLL l_int32 pixaaGetCount ( PIXAA pixaa  ) 
LEPT_DLL PIXA* pixaaGetPixa ( PIXAA pixaa,
l_int32  index,
l_int32  accesstype 
)
LEPT_DLL l_int32 pixaAnyColormaps ( PIXA pixa,
l_int32 phascmap 
)
LEPT_DLL PIXAA* pixaaRead ( const char *  filename  ) 
LEPT_DLL PIXAA* pixaaReadStream ( FILE *  fp  ) 
LEPT_DLL l_int32 pixaaWrite ( const char *  filename,
PIXAA pixaa 
)
LEPT_DLL l_int32 pixaaWriteStream ( FILE *  fp,
PIXAA pixaa 
)
LEPT_DLL PIXA* pixaBinSort ( PIXA pixas,
l_int32  sorttype,
l_int32  sortorder,
NUMA **  pnaindex,
l_int32  copyflag 
)
LEPT_DLL PIX* pixAbsDifference ( PIX pixs1,
PIX pixs2 
)
LEPT_DLL l_int32 pixaccAdd ( PIXACC pixacc,
PIX pix 
)
LEPT_DLL PIXACC* pixaccCreate ( l_int32  w,
l_int32  h,
l_int32  subflag 
)
LEPT_DLL void pixaccDestroy ( PIXACC **  ppixacc  ) 
LEPT_DLL PIX* pixaccFinal ( PIXACC pixacc,
l_int32  outdepth 
)
LEPT_DLL l_int32 pixaccGetOffset ( PIXACC pixacc  ) 
LEPT_DLL PIX* pixaccGetPix ( PIXACC pixacc  ) 
LEPT_DLL l_int32 pixaccMultConst ( PIXACC pixacc,
l_float32  factor 
)
LEPT_DLL l_int32 pixaccSubtract ( PIXACC pixacc,
PIX pix 
)
LEPT_DLL l_int32 pixAccumulate ( PIX pixd,
PIX pixs,
l_int32  op 
)
LEPT_DLL PTA* pixaCentroids ( PIXA pixa  ) 
LEPT_DLL l_int32 pixaChangeRefcount ( PIXA pixa,
l_int32  delta 
)
LEPT_DLL PIXA* pixaClipToPix ( PIXA pixas,
PIX pixs 
)
LEPT_DLL PIXA* pixaCopy ( PIXA pixa,
l_int32  copyflag 
)
LEPT_DLL NUMA* pixaCountPixels ( PIXA pixa  ) 
LEPT_DLL PIXA* pixaCreate ( l_int32  n  ) 
LEPT_DLL PIXA* pixaCreateFromBoxa ( PIX pixs,
BOXA boxa,
l_int32 pcropwarn 
)
LEPT_DLL PIXA* pixaCreateFromPix ( PIX pixs,
l_int32  n,
l_int32  cellw,
l_int32  cellh 
)
LEPT_DLL PIX* pixAddBorder ( PIX pixs,
l_int32  npix,
l_uint32  val 
)
LEPT_DLL PIX* pixAddBorderGeneral ( PIX pixs,
l_int32  left,
l_int32  right,
l_int32  top,
l_int32  bot,
l_uint32  val 
)
LEPT_DLL l_int32 pixAddConstantGray ( PIX pixs,
l_int32  val 
)
LEPT_DLL PIX* pixAddGray ( PIX pixd,
PIX pixs1,
PIX pixs2 
)
LEPT_DLL l_int32 pixAddGrayColormap8 ( PIX pixs  ) 
LEPT_DLL PIX* pixAddMinimalGrayColormap8 ( PIX pixs  ) 
LEPT_DLL PIX* pixAddMirroredBorder ( PIX pixs,
l_int32  left,
l_int32  right,
l_int32  top,
l_int32  bot 
)
LEPT_DLL PIX* pixAddMixedBorder ( PIX pixs,
l_int32  left,
l_int32  right,
l_int32  top,
l_int32  bot 
)
LEPT_DLL PIX* pixAddRepeatedBorder ( PIX pixs,
l_int32  left,
l_int32  right,
l_int32  top,
l_int32  bot 
)
LEPT_DLL l_int32 pixAddText ( PIX pix,
const char *  textstring 
)
LEPT_DLL l_int32 pixAddWithIndicator ( PIX pixs,
PIXA pixa,
NUMA na 
)
LEPT_DLL void pixaDestroy ( PIXA **  ppixa  ) 
LEPT_DLL PIX* pixaDisplay ( PIXA pixa,
l_int32  w,
l_int32  h 
)
LEPT_DLL PIX* pixaDisplayOnLattice ( PIXA pixa,
l_int32  xspace,
l_int32  yspace 
)
LEPT_DLL PIX* pixaDisplayRandomCmap ( PIXA pixa,
l_int32  w,
l_int32  h 
)
LEPT_DLL PIX* pixaDisplayTiled ( PIXA pixa,
l_int32  maxwidth,
l_int32  background,
l_int32  spacing 
)
LEPT_DLL PIX* pixaDisplayTiledAndScaled ( PIXA pixa,
l_int32  outdepth,
l_int32  tilewidth,
l_int32  ncols,
l_int32  background,
l_int32  spacing,
l_int32  border 
)
LEPT_DLL PIX* pixaDisplayTiledInRows ( PIXA pixa,
l_int32  maxwidth,
l_int32  background,
l_int32  spacing 
)
LEPT_DLL PIX* pixaDisplayUnsplit ( PIXA pixa,
l_int32  nx,
l_int32  ny,
l_int32  borderwidth,
l_uint32  bordercolor 
)
LEPT_DLL l_int32 pixaEqual ( PIXA pixa1,
PIXA pixa2,
l_int32  maxdist,
NUMA **  pnaindex,
l_int32 psame 
)
LEPT_DLL l_int32 pixaExtendArray ( PIXA pixa  ) 
LEPT_DLL l_int32 pixaExtractColumnFromEachPix ( PIXA pixa,
l_int32  col,
PIX pixd 
)
LEPT_DLL PIX* pixAffine ( PIX pixs,
l_float32 vc,
l_int32  incolor 
)
LEPT_DLL PIX* pixAffineColor ( PIX pixs,
l_float32 vc,
l_uint32  colorval 
)
LEPT_DLL PIX* pixAffineGray ( PIX pixs,
l_float32 vc,
l_uint8  grayval 
)
LEPT_DLL PIX* pixAffinePta ( PIX pixs,
PTA ptad,
PTA ptas,
l_int32  incolor 
)
LEPT_DLL PIX* pixAffinePtaColor ( PIX pixs,
PTA ptad,
PTA ptas,
l_uint32  colorval 
)
LEPT_DLL PIX* pixAffinePtaGray ( PIX pixs,
PTA ptad,
PTA ptas,
l_uint8  grayval 
)
LEPT_DLL PIX* pixAffineSampled ( PIX pixs,
l_float32 vc,
l_int32  incolor 
)
LEPT_DLL PIX* pixAffineSampledPta ( PIX pixs,
PTA ptad,
PTA ptas,
l_int32  incolor 
)
LEPT_DLL PIX* pixAffineSequential ( PIX pixs,
PTA ptad,
PTA ptas,
l_int32  bw,
l_int32  bh 
)
LEPT_DLL NUMA* pixaFindAreaFraction ( PIXA pixa  ) 
LEPT_DLL NUMA* pixaFindAreaPerimRatio ( PIXA pixa  ) 
LEPT_DLL l_int32 pixaFindDimensions ( PIXA pixa,
NUMA **  pnaw,
NUMA **  pnah 
)
LEPT_DLL NUMA* pixaFindPerimSizeRatio ( PIXA pixa  ) 
LEPT_DLL NUMA* pixaFindWidthHeightProduct ( PIXA pixa  ) 
LEPT_DLL NUMA* pixaFindWidthHeightRatio ( PIXA pixa  ) 
LEPT_DLL PIXA* pixaGenerateFont ( const char *  dir,
l_int32  size,
l_int32 pbl0,
l_int32 pbl1,
l_int32 pbl2 
)
LEPT_DLL PIX* pixaGetAlignedStats ( PIXA pixa,
l_int32  type,
l_int32  nbins,
l_int32  thresh 
)
LEPT_DLL BOX* pixaGetBox ( PIXA pixa,
l_int32  index,
l_int32  accesstype 
)
LEPT_DLL BOXA* pixaGetBoxa ( PIXA pixa,
l_int32  accesstype 
)
LEPT_DLL l_int32 pixaGetBoxaCount ( PIXA pixa  ) 
LEPT_DLL l_int32 pixaGetBoxGeometry ( PIXA pixa,
l_int32  index,
l_int32 px,
l_int32 py,
l_int32 pw,
l_int32 ph 
)
LEPT_DLL l_int32 pixaGetCount ( PIXA pixa  ) 
LEPT_DLL PIXA* pixaGetFont ( const char *  dir,
l_int32  size,
l_int32 pbl0,
l_int32 pbl1,
l_int32 pbl2 
)
LEPT_DLL PIX* pixaGetPix ( PIXA pixa,
l_int32  index,
l_int32  accesstype 
)
LEPT_DLL PIX** pixaGetPixArray ( PIXA pixa  ) 
LEPT_DLL l_int32 pixaGetPixDimensions ( PIXA pixa,
l_int32  index,
l_int32 pw,
l_int32 ph,
l_int32 pd 
)
LEPT_DLL l_int32 pixaInsertPix ( PIXA pixa,
l_int32  index,
PIX pixs,
BOX box 
)
LEPT_DLL l_int32 pixaJoin ( PIXA pixad,
PIXA pixas,
l_int32  istart,
l_int32  iend 
)
LEPT_DLL PIXA* pixaMorphSequenceByComponent ( PIXA pixas,
const char *  sequence,
l_int32  minw,
l_int32  minh 
)
LEPT_DLL PIXA* pixaMorphSequenceByRegion ( PIX pixs,
PIXA pixam,
const char *  sequence,
l_int32  minw,
l_int32  minh 
)
LEPT_DLL PIX* pixAnd ( PIX pixd,
PIX pixs1,
PIX pixs2 
)
LEPT_DLL PIX* pixApplyInvBackgroundGrayMap ( PIX pixs,
PIX pixm,
l_int32  sx,
l_int32  sy 
)
LEPT_DLL PIX* pixApplyInvBackgroundRGBMap ( PIX pixs,
PIX pixmr,
PIX pixmg,
PIX pixmb,
l_int32  sx,
l_int32  sy 
)
LEPT_DLL PIX* pixApplyLocalThreshold ( PIX pixs,
PIX pixth,
l_int32  redfactor 
)
LEPT_DLL PIX* pixApplyVariableGrayMap ( PIX pixs,
PIX pixg,
l_int32  target 
)
LEPT_DLL PIXA* pixaRead ( const char *  filename  ) 
LEPT_DLL PIXA* pixaReadFiles ( const char *  dirname,
const char *  substr 
)
LEPT_DLL PIXA* pixaReadFilesSA ( SARRAY sa  ) 
LEPT_DLL PIXA* pixaReadStream ( FILE *  fp  ) 
LEPT_DLL l_int32 pixaRemovePix ( PIXA pixa,
l_int32  index 
)
LEPT_DLL l_int32 pixaReplacePix ( PIXA pixa,
l_int32  index,
PIX pix,
BOX box 
)
LEPT_DLL l_int32 pixaSaveFont ( const char *  indir,
const char *  outdir,
l_int32  size 
)
LEPT_DLL PIXA* pixaSelectByAreaFraction ( PIXA pixas,
l_float32  thresh,
l_int32  type,
l_int32 pchanged 
)
LEPT_DLL PIXA* pixaSelectByAreaPerimRatio ( PIXA pixas,
l_float32  thresh,
l_int32  type,
l_int32 pchanged 
)
LEPT_DLL PIXA* pixaSelectBySize ( PIXA pixas,
l_int32  width,
l_int32  height,
l_int32  type,
l_int32  relation,
l_int32 pchanged 
)
LEPT_DLL PIXA* pixaSelectByWidthHeightRatio ( PIXA pixas,
l_float32  thresh,
l_int32  type,
l_int32 pchanged 
)
LEPT_DLL PIXA* pixaSelectWithIndicator ( PIXA pixas,
NUMA na,
l_int32 pchanged 
)
LEPT_DLL l_int32 pixaSizeRange ( PIXA pixa,
l_int32 pminw,
l_int32 pminh,
l_int32 pmaxw,
l_int32 pmaxh 
)
LEPT_DLL PIXA* pixaSort ( PIXA pixas,
l_int32  sorttype,
l_int32  sortorder,
NUMA **  pnaindex,
l_int32  copyflag 
)
LEPT_DLL PIXAA* pixaSort2dByIndex ( PIXA pixas,
NUMAA naa,
l_int32  copyflag 
)
LEPT_DLL PIXA* pixaSortByIndex ( PIXA pixas,
NUMA naindex,
l_int32  copyflag 
)
LEPT_DLL PIXA* pixaSplitPix ( PIX pixs,
l_int32  nx,
l_int32  ny,
l_int32  borderwidth,
l_uint32  bordercolor 
)
LEPT_DLL l_int32 pixAssignToNearestColor ( PIX pixd,
PIX pixs,
PIX pixm,
l_int32  level,
l_int32 countarray 
)
LEPT_DLL l_int32 pixaWrite ( const char *  filename,
PIXA pixa 
)
LEPT_DLL l_int32 pixaWriteFiles ( const char *  rootname,
PIXA pixa,
l_int32  format 
)
LEPT_DLL l_int32 pixaWriteStream ( FILE *  fp,
PIXA pixa 
)
LEPT_DLL PIX* pixBackgroundNorm ( PIX pixs,
PIX pixim,
PIX pixg,
l_int32  sx,
l_int32  sy,
l_int32  thresh,
l_int32  mincount,
l_int32  bgval,
l_int32  smoothx,
l_int32  smoothy 
)
LEPT_DLL PIX* pixBackgroundNormFlex ( PIX pixs,
l_int32  sx,
l_int32  sy,
l_int32  smoothx,
l_int32  smoothy,
l_int32  delta 
)
LEPT_DLL l_int32 pixBackgroundNormGrayArray ( PIX pixs,
PIX pixim,
l_int32  sx,
l_int32  sy,
l_int32  thresh,
l_int32  mincount,
l_int32  bgval,
l_int32  smoothx,
l_int32  smoothy,
PIX **  ppixd 
)
LEPT_DLL l_int32 pixBackgroundNormGrayArrayMorph ( PIX pixs,
PIX pixim,
l_int32  reduction,
l_int32  size,
l_int32  bgval,
PIX **  ppixd 
)
LEPT_DLL PIX* pixBackgroundNormMorph ( PIX pixs,
PIX pixim,
l_int32  reduction,
l_int32  size,
l_int32  bgval 
)
LEPT_DLL l_int32 pixBackgroundNormRGBArrays ( PIX pixs,
PIX pixim,
PIX pixg,
l_int32  sx,
l_int32  sy,
l_int32  thresh,
l_int32  mincount,
l_int32  bgval,
l_int32  smoothx,
l_int32  smoothy,
PIX **  ppixr,
PIX **  ppixg,
PIX **  ppixb 
)
LEPT_DLL l_int32 pixBackgroundNormRGBArraysMorph ( PIX pixs,
PIX pixim,
l_int32  reduction,
l_int32  size,
l_int32  bgval,
PIX **  ppixr,
PIX **  ppixg,
PIX **  ppixb 
)
LEPT_DLL PIX* pixBackgroundNormSimple ( PIX pixs,
PIX pixim,
PIX pixg 
)
LEPT_DLL PIX* pixBilinear ( PIX pixs,
l_float32 vc,
l_int32  incolor 
)
LEPT_DLL PIX* pixBilinearColor ( PIX pixs,
l_float32 vc,
l_uint32  colorval 
)
LEPT_DLL PIX* pixBilinearGray ( PIX pixs,
l_float32 vc,
l_uint8  grayval 
)
LEPT_DLL PIX* pixBilinearPta ( PIX pixs,
PTA ptad,
PTA ptas,
l_int32  incolor 
)
LEPT_DLL PIX* pixBilinearPtaColor ( PIX pixs,
PTA ptad,
PTA ptas,
l_uint32  colorval 
)
LEPT_DLL PIX* pixBilinearPtaGray ( PIX pixs,
PTA ptad,
PTA ptas,
l_uint8  grayval 
)
LEPT_DLL PIX* pixBilinearSampled ( PIX pixs,
l_float32 vc,
l_int32  incolor 
)
LEPT_DLL PIX* pixBilinearSampledPta ( PIX pixs,
PTA ptad,
PTA ptas,
l_int32  incolor 
)
LEPT_DLL PIX* pixBlend ( PIX pixs1,
PIX pixs2,
l_int32  x,
l_int32  y,
l_float32  fract 
)
LEPT_DLL PIX* pixBlendBoxaRandom ( PIX pixs,
BOXA boxa,
l_float32  fract 
)
LEPT_DLL l_int32 pixBlendCmap ( PIX pixs,
PIX pixb,
l_int32  x,
l_int32  y,
l_int32  sindex 
)
LEPT_DLL PIX* pixBlendColor ( PIX pixd,
PIX pixs1,
PIX pixs2,
l_int32  x,
l_int32  y,
l_float32  fract,
l_int32  transparent,
l_uint32  transpix 
)
LEPT_DLL PIX* pixBlendColorByChannel ( PIX pixd,
PIX pixs1,
PIX pixs2,
l_int32  x,
l_int32  y,
l_float32  rfract,
l_float32  gfract,
l_float32  bfract,
l_int32  transparent,
l_uint32  transpix 
)
LEPT_DLL PIX* pixBlendGray ( PIX pixd,
PIX pixs1,
PIX pixs2,
l_int32  x,
l_int32  y,
l_float32  fract,
l_int32  type,
l_int32  transparent,
l_uint32  transpix 
)
LEPT_DLL PIX* pixBlendGrayAdapt ( PIX pixd,
PIX pixs1,
PIX pixs2,
l_int32  x,
l_int32  y,
l_float32  fract,
l_int32  shift 
)
LEPT_DLL PIX* pixBlendHardLight ( PIX pixd,
PIX pixs1,
PIX pixs2,
l_int32  x,
l_int32  y,
l_float32  fract 
)
LEPT_DLL l_int32 pixBlendInRect ( PIX pixs,
BOX box,
l_uint32  val,
l_float32  fract 
)
LEPT_DLL PIX* pixBlendMask ( PIX pixd,
PIX pixs1,
PIX pixs2,
l_int32  x,
l_int32  y,
l_float32  fract,
l_int32  type 
)
LEPT_DLL PIX* pixBlockconv ( PIX pix,
l_int32  wc,
l_int32  hc 
)
LEPT_DLL PIX* pixBlockconvAccum ( PIX pixs  ) 
LEPT_DLL PIX* pixBlockconvGray ( PIX pixs,
PIX pixacc,
l_int32  wc,
l_int32  hc 
)
LEPT_DLL PIX* pixBlockconvGrayTile ( PIX pixs,
PIX pixacc,
l_int32  wc,
l_int32  hc 
)
LEPT_DLL PIX* pixBlockconvGrayUnnormalized ( PIX pixs,
l_int32  wc,
l_int32  hc 
)
LEPT_DLL PIX* pixBlockconvTiled ( PIX pix,
l_int32  wc,
l_int32  hc,
l_int32  nx,
l_int32  ny 
)
LEPT_DLL PIX* pixBlockrank ( PIX pixs,
PIX pixacc,
l_int32  wc,
l_int32  hc,
l_float32  rank 
)
LEPT_DLL PIX* pixBlocksum ( PIX pixs,
PIX pixacc,
l_int32  wc,
l_int32  hc 
)
LEPT_DLL l_int32 pixChangeRefcount ( PIX pix,
l_int32  delta 
)
LEPT_DLL l_int32 pixChooseOutputFormat ( PIX pix  ) 
LEPT_DLL l_int32 pixClearAll ( PIX pix  ) 
LEPT_DLL l_int32 pixClearInRect ( PIX pix,
BOX box 
)
LEPT_DLL l_int32 pixClearPixel ( PIX pix,
l_int32  x,
l_int32  y 
)
LEPT_DLL l_int32 pixClipBoxToEdges ( PIX pixs,
BOX boxs,
l_int32  lowthresh,
l_int32  highthresh,
l_int32  maxwidth,
l_int32  factor,
PIX **  ppixd,
BOX **  pboxd 
)
LEPT_DLL l_int32 pixClipBoxToForeground ( PIX pixs,
BOX boxs,
PIX **  ppixd,
BOX **  pboxd 
)
LEPT_DLL PIX* pixClipMasked ( PIX pixs,
PIX pixm,
l_int32  x,
l_int32  y,
l_uint32  outval 
)
LEPT_DLL PIX* pixClipRectangle ( PIX pixs,
BOX box,
BOX **  pboxc 
)
LEPT_DLL l_int32 pixClipToForeground ( PIX pixs,
PIX **  ppixd,
BOX **  pbox 
)
LEPT_DLL PIX* pixClone ( PIX pixs  ) 
LEPT_DLL PIX* pixClose ( PIX pixd,
PIX pixs,
SEL sel 
)
LEPT_DLL PIX* pixCloseBrick ( PIX pixd,
PIX pixs,
l_int32  hsize,
l_int32  vsize 
)
LEPT_DLL PIX* pixCloseBrickDwa ( PIX pixd,
PIX pixs,
l_int32  hsize,
l_int32  vsize 
)
LEPT_DLL PIX* pixCloseCompBrick ( PIX pixd,
PIX pixs,
l_int32  hsize,
l_int32  vsize 
)
LEPT_DLL PIX* pixCloseCompBrickDwa ( PIX pixd,
PIX pixs,
l_int32  hsize,
l_int32  vsize 
)
LEPT_DLL PIX* pixCloseCompBrickExtendDwa ( PIX pixd,
PIX pixs,
l_int32  hsize,
l_int32  vsize 
)
LEPT_DLL PIX* pixCloseGeneralized ( PIX pixd,
PIX pixs,
SEL sel 
)
LEPT_DLL PIX* pixCloseGray ( PIX pixs,
l_int32  hsize,
l_int32  vsize 
)
LEPT_DLL PIX* pixCloseSafe ( PIX pixd,
PIX pixs,
SEL sel 
)
LEPT_DLL PIX* pixCloseSafeBrick ( PIX pixd,
PIX pixs,
l_int32  hsize,
l_int32  vsize 
)
LEPT_DLL PIX* pixCloseSafeCompBrick ( PIX pixd,
PIX pixs,
l_int32  hsize,
l_int32  vsize 
)
LEPT_DLL l_int32 pixcmapAddBlackOrWhite ( PIXCMAP cmap,
l_int32  color,
l_int32 pindex 
)
LEPT_DLL l_int32 pixcmapAddColor ( PIXCMAP cmap,
l_int32  rval,
l_int32  gval,
l_int32  bval 
)
LEPT_DLL l_int32 pixcmapAddNewColor ( PIXCMAP cmap,
l_int32  rval,
l_int32  gval,
l_int32  bval,
l_int32 pindex 
)
LEPT_DLL l_int32 pixcmapClear ( PIXCMAP cmap  ) 
LEPT_DLL PIXCMAP* pixcmapColorToGray ( PIXCMAP cmaps,
l_float32  rwt,
l_float32  gwt,
l_float32  bwt 
)
LEPT_DLL l_int32 pixcmapContrastTRC ( PIXCMAP cmap,
l_float32  factor 
)
LEPT_DLL l_int32 pixcmapConvertHSVToRGB ( PIXCMAP cmap  ) 
LEPT_DLL l_int32 pixcmapConvertRGBToHSV ( PIXCMAP cmap  ) 
LEPT_DLL PIXCMAP* pixcmapCopy ( PIXCMAP cmaps  ) 
LEPT_DLL l_int32 pixcmapCountGrayColors ( PIXCMAP cmap,
l_int32 pngray 
)
LEPT_DLL PIXCMAP* pixcmapCreate ( l_int32  depth  ) 
LEPT_DLL PIXCMAP* pixcmapCreateLinear ( l_int32  d,
l_int32  nlevels 
)
LEPT_DLL PIXCMAP* pixcmapCreateRandom ( l_int32  depth,
l_int32  hasblack,
l_int32  haswhite 
)
LEPT_DLL void pixcmapDestroy ( PIXCMAP **  pcmap  ) 
LEPT_DLL l_int32 pixcmapGammaTRC ( PIXCMAP cmap,
l_float32  gamma,
l_int32  minval,
l_int32  maxval 
)
LEPT_DLL l_int32 pixcmapGetColor ( PIXCMAP cmap,
l_int32  index,
l_int32 prval,
l_int32 pgval,
l_int32 pbval 
)
LEPT_DLL l_int32 pixcmapGetCount ( PIXCMAP cmap  ) 
LEPT_DLL l_int32 pixcmapGetDepth ( PIXCMAP cmap  ) 
LEPT_DLL l_int32 pixcmapGetExtremeValue ( PIXCMAP cmap,
l_int32  type,
l_int32 prval,
l_int32 pgval,
l_int32 pbval 
)
LEPT_DLL l_int32 pixcmapGetFreeCount ( PIXCMAP cmap  ) 
LEPT_DLL l_int32 pixcmapGetIndex ( PIXCMAP cmap,
l_int32  rval,
l_int32  gval,
l_int32  bval,
l_int32 pindex 
)
LEPT_DLL l_int32 pixcmapGetMinDepth ( PIXCMAP cmap,
l_int32 pmindepth 
)
LEPT_DLL l_int32 pixcmapGetNearestGrayIndex ( PIXCMAP cmap,
l_int32  val,
l_int32 pindex 
)
LEPT_DLL l_int32 pixcmapGetNearestIndex ( PIXCMAP cmap,
l_int32  rval,
l_int32  gval,
l_int32  bval,
l_int32 pindex 
)
LEPT_DLL l_int32 pixcmapGetRankIntensity ( PIXCMAP cmap,
l_float32  rankval,
l_int32 pindex 
)
LEPT_DLL PIXCMAP* pixcmapGrayToColor ( l_uint32  color  ) 
LEPT_DLL l_int32 pixcmapHasColor ( PIXCMAP cmap,
l_int32 pcolor 
)
LEPT_DLL PIXCMAP* pixcmapReadStream ( FILE *  fp  ) 
LEPT_DLL l_int32 pixcmapResetColor ( PIXCMAP cmap,
l_int32  index,
l_int32  rval,
l_int32  gval,
l_int32  bval 
)
LEPT_DLL l_int32 pixcmapSetBlackAndWhite ( PIXCMAP cmap,
l_int32  setblack,
l_int32  setwhite 
)
LEPT_DLL l_int32 pixcmapShiftIntensity ( PIXCMAP cmap,
l_float32  fraction 
)
LEPT_DLL l_int32 pixcmapToArrays ( PIXCMAP cmap,
l_int32 **  prmap,
l_int32 **  pgmap,
l_int32 **  pbmap 
)
LEPT_DLL l_int32* pixcmapToOctcubeLUT ( PIXCMAP cmap,
l_int32  level,
l_int32  metric 
)
LEPT_DLL l_int32 pixcmapToRGBTable ( PIXCMAP cmap,
l_uint32 **  ptab,
l_int32 pncolors 
)
LEPT_DLL l_int32 pixcmapWriteStream ( FILE *  fp,
PIXCMAP cmap 
)
LEPT_DLL l_int32 pixColorContent ( PIX pixs,
l_int32  rwhite,
l_int32  gwhite,
l_int32  bwhite,
l_int32  mingray,
PIX **  ppixr,
PIX **  ppixg,
PIX **  ppixb 
)
LEPT_DLL l_int32 pixColorFraction ( PIX pixs,
l_int32  darkthresh,
l_int32  lightthresh,
l_int32  diffthresh,
l_int32  factor,
l_float32 ppixfract,
l_float32 pcolorfract 
)
LEPT_DLL l_int32 pixColorGray ( PIX pixs,
BOX box,
l_int32  type,
l_int32  thresh,
l_int32  rval,
l_int32  gval,
l_int32  bval 
)
LEPT_DLL l_int32 pixColorGrayCmap ( PIX pixs,
BOX box,
l_int32  type,
l_int32  rval,
l_int32  gval,
l_int32  bval 
)
LEPT_DLL PIX* pixColorizeGray ( PIX pixs,
l_uint32  color,
l_int32  cmapflag 
)
LEPT_DLL PIX* pixColorMagnitude ( PIX pixs,
l_int32  rwhite,
l_int32  gwhite,
l_int32  bwhite,
l_int32  type 
)
LEPT_DLL PIX* pixColorMorph ( PIX pixs,
l_int32  type,
l_int32  hsize,
l_int32  vsize 
)
LEPT_DLL PIX* pixColorMorphSequence ( PIX pixs,
const char *  sequence,
l_int32  dispsep,
l_int32  dispy 
)
LEPT_DLL PIX* pixColorSegment ( PIX pixs,
l_int32  maxdist,
l_int32  maxcolors,
l_int32  selsize,
l_int32  finalcolors 
)
LEPT_DLL l_int32 pixColorSegmentClean ( PIX pixs,
l_int32  selsize,
l_int32 countarray 
)
LEPT_DLL PIX* pixColorSegmentCluster ( PIX pixs,
l_int32  maxdist,
l_int32  maxcolors 
)
LEPT_DLL l_int32 pixColorSegmentRemoveColors ( PIX pixd,
PIX pixs,
l_int32  finalcolors 
)
LEPT_DLL l_int32 pixColorsForQuantization ( PIX pixs,
l_int32  thresh,
l_int32 pncolors,
l_int32 piscolor,
l_int32  debug 
)
LEPT_DLL l_int32 pixCombineMasked ( PIX pixd,
PIX pixs,
PIX pixm 
)
LEPT_DLL l_int32 pixCombineMaskedGeneral ( PIX pixd,
PIX pixs,
PIX pixm,
l_int32  x,
l_int32  y 
)
LEPT_DLL l_int32 pixCompareBinary ( PIX pix1,
PIX pix2,
l_int32  comptype,
l_float32 pfract,
PIX **  ppixdiff 
)
LEPT_DLL l_int32 pixCompareGray ( PIX pix1,
PIX pix2,
l_int32  comptype,
l_int32  plottype,
l_int32 psame,
l_float32 pdiff,
l_float32 prmsdiff,
PIX **  ppixdiff 
)
LEPT_DLL l_int32 pixCompareGrayOrRGB ( PIX pix1,
PIX pix2,
l_int32  comptype,
l_int32  plottype,
l_int32 psame,
l_float32 pdiff,
l_float32 prmsdiff,
PIX **  ppixdiff 
)
LEPT_DLL NUMA* pixCompareRankDifference ( PIX pix1,
PIX pix2 
)
LEPT_DLL l_int32 pixCompareRGB ( PIX pix1,
PIX pix2,
l_int32  comptype,
l_int32  plottype,
l_int32 psame,
l_float32 pdiff,
l_float32 prmsdiff,
PIX **  ppixdiff 
)
LEPT_DLL l_int32 pixCompareTiled ( PIX pix1,
PIX pix2,
l_int32  sx,
l_int32  sy,
l_int32  type,
PIX **  ppixdiff 
)
LEPT_DLL BOXA* pixConnComp ( PIX pixs,
PIXA **  ppixa,
l_int32  connectivity 
)
LEPT_DLL BOXA* pixConnCompBB ( PIX pixs,
l_int32  connectivity 
)
LEPT_DLL BOXA* pixConnCompPixa ( PIX pixs,
PIXA **  ppixa,
l_int32  connectivity 
)
LEPT_DLL PIX* pixContrastNorm ( PIX pixd,
PIX pixs,
l_int32  sx,
l_int32  sy,
l_int32  mindiff,
l_int32  smoothx,
l_int32  smoothy 
)
LEPT_DLL PIX* pixContrastTRC ( PIX pixd,
PIX pixs,
l_float32  factor 
)
LEPT_DLL PIX* pixContrastTRCMasked ( PIX pixd,
PIX pixs,
PIX pixm,
l_float32  factor 
)
LEPT_DLL PIX* pixConvert16To8 ( PIX pixs,
l_int32  whichbyte 
)
LEPT_DLL PIX* pixConvert1To16 ( PIX pixd,
PIX pixs,
l_uint16  val0,
l_uint16  val1 
)
LEPT_DLL PIX* pixConvert1To2 ( PIX pixd,
PIX pixs,
l_int32  val0,
l_int32  val1 
)
LEPT_DLL PIX* pixConvert1To2Cmap ( PIX pixs  ) 
LEPT_DLL PIX* pixConvert1To32 ( PIX pixd,
PIX pixs,
l_uint32  val0,
l_uint32  val1 
)
LEPT_DLL PIX* pixConvert1To4 ( PIX pixd,
PIX pixs,
l_int32  val0,
l_int32  val1 
)
LEPT_DLL PIX* pixConvert1To4Cmap ( PIX pixs  ) 
LEPT_DLL PIX* pixConvert1To8 ( PIX pixd,
PIX pixs,
l_uint8  val0,
l_uint8  val1 
)
LEPT_DLL PIX* pixConvert2To8 ( PIX pixs,
l_uint8  val0,
l_uint8  val1,
l_uint8  val2,
l_uint8  val3,
l_int32  cmapflag 
)
LEPT_DLL PIX* pixConvert4To8 ( PIX pixs,
l_int32  cmapflag 
)
LEPT_DLL PIX* pixConvert8To16 ( PIX pixs,
l_int32  leftshift 
)
LEPT_DLL PIX* pixConvert8To32 ( PIX pixs  ) 
LEPT_DLL PIX* pixConvertForPSWrap ( PIX pixs  ) 
LEPT_DLL PIX* pixConvertGrayToColormap ( PIX pixs  ) 
LEPT_DLL PIX* pixConvertGrayToColormap8 ( PIX pixs,
l_int32  mindepth 
)
LEPT_DLL PIX* pixConvertGrayToFalseColor ( PIX pixs,
l_float32  gamma 
)
LEPT_DLL PIX* pixConvertHSVToRGB ( PIX pixd,
PIX pixs 
)
LEPT_DLL PIX* pixConvertLossless ( PIX pixs,
l_int32  d 
)
LEPT_DLL PIX* pixConvertRGBToColormap ( PIX pixs,
l_int32  ditherflag 
)
LEPT_DLL PIX* pixConvertRGBToGray ( PIX pixs,
l_float32  rwt,
l_float32  gwt,
l_float32  bwt 
)
LEPT_DLL PIX* pixConvertRGBToGrayFast ( PIX pixs  ) 
LEPT_DLL PIX* pixConvertRGBToGrayMinMax ( PIX pixs,
l_int32  type 
)
LEPT_DLL PIX* pixConvertRGBToHSV ( PIX pixd,
PIX pixs 
)
LEPT_DLL PIX* pixConvertRGBToHue ( PIX pixs  ) 
LEPT_DLL PIX* pixConvertRGBToLuminance ( PIX pixs  ) 
LEPT_DLL PIX* pixConvertRGBToSaturation ( PIX pixs  ) 
LEPT_DLL PIX* pixConvertRGBToValue ( PIX pixs  ) 
LEPT_DLL PIX* pixConvertTo1 ( PIX pixs,
l_int32  threshold 
)
LEPT_DLL PIX* pixConvertTo16 ( PIX pixs  ) 
LEPT_DLL PIX* pixConvertTo1BySampling ( PIX pixs,
l_int32  factor,
l_int32  threshold 
)
LEPT_DLL PIX* pixConvertTo32 ( PIX pixs  ) 
LEPT_DLL PIX* pixConvertTo32BySampling ( PIX pixs,
l_int32  factor 
)
LEPT_DLL PIX* pixConvertTo8 ( PIX pixs,
l_int32  cmapflag 
)
LEPT_DLL PIX* pixConvertTo8BySampling ( PIX pixs,
l_int32  factor,
l_int32  cmapflag 
)
LEPT_DLL PIX* pixConvertTo8Or32 ( PIX pixs,
l_int32  copyflag,
l_int32  warnflag 
)
LEPT_DLL FPIX* pixConvertToFPix ( PIX pixs,
l_int32  ncomps 
)
LEPT_DLL PIX* pixConvolve ( PIX pixs,
L_KERNEL kel,
l_int32  outdepth,
l_int32  normflag 
)
LEPT_DLL PIX* pixConvolveSep ( PIX pixs,
L_KERNEL kelx,
L_KERNEL kely,
l_int32  outdepth,
l_int32  normflag 
)
LEPT_DLL PIX* pixCopy ( PIX pixd,
PIX pixs 
)
LEPT_DLL PIX* pixCopyBorder ( PIX pixd,
PIX pixs,
l_int32  left,
l_int32  right,
l_int32  top,
l_int32  bot 
)
LEPT_DLL l_int32 pixCopyColormap ( PIX pixd,
PIX pixs 
)
LEPT_DLL l_int32 pixCopyDimensions ( PIX pixd,
PIX pixs 
)
LEPT_DLL l_int32 pixCopyInputFormat ( PIX pixd,
PIX pixs 
)
LEPT_DLL l_int32 pixCopyResolution ( PIX pixd,
PIX pixs 
)
LEPT_DLL l_int32 pixCopyText ( PIX pixd,
PIX pixs 
)
LEPT_DLL l_int32 pixCorrelationBinary ( PIX pix1,
PIX pix2,
l_float32 pval 
)
LEPT_DLL l_float32 pixCorrelationScore ( PIX pix1,
PIX pix2,
l_int32  area1,
l_int32  area2,
l_float32  delx,
l_float32  dely,
l_int32  maxdiffw,
l_int32  maxdiffh,
l_int32 tab 
)
LEPT_DLL l_float32 pixCorrelationScoreSimple ( PIX pix1,
PIX pix2,
l_int32  area1,
l_int32  area2,
l_float32  delx,
l_float32  dely,
l_int32  maxdiffw,
l_int32  maxdiffh,
l_int32 tab 
)
LEPT_DLL l_int32 pixCorrelationScoreThresholded ( PIX pix1,
PIX pix2,
l_int32  area1,
l_int32  area2,
l_float32  delx,
l_float32  dely,
l_int32  maxdiffw,
l_int32  maxdiffh,
l_int32 tab,
l_int32 downcount,
l_float32  score_threshold 
)
LEPT_DLL l_int32 pixCountConnComp ( PIX pixs,
l_int32  connectivity,
l_int32 pcount 
)
LEPT_DLL l_int32 pixCountPixels ( PIX pix,
l_int32 pcount,
l_int32 tab8 
)
LEPT_DLL NUMA* pixCountPixelsByRow ( PIX pix,
l_int32 tab8 
)
LEPT_DLL l_int32 pixCountPixelsInRow ( PIX pix,
l_int32  row,
l_int32 pcount,
l_int32 tab8 
)
LEPT_DLL PIX* pixCreate ( l_int32  width,
l_int32  height,
l_int32  depth 
)
LEPT_DLL PIX* pixCreateHeader ( l_int32  width,
l_int32  height,
l_int32  depth 
)
LEPT_DLL PIX* pixCreateNoInit ( l_int32  width,
l_int32  height,
l_int32  depth 
)
LEPT_DLL PIX* pixCreateRGBImage ( PIX pixr,
PIX pixg,
PIX pixb 
)
LEPT_DLL PIX* pixCreateTemplate ( PIX pixs  ) 
LEPT_DLL PIX* pixCreateTemplateNoInit ( PIX pixs  ) 
LEPT_DLL PIX* pixDeskew ( PIX pixs,
l_int32  redsearch 
)
LEPT_DLL PIX* pixDeskewBarcode ( PIX pixs,
PIX pixb,
BOX box,
l_int32  margin,
l_int32  threshold,
l_float32 pangle,
l_float32 pconf 
)
LEPT_DLL PIX* pixDeskewLocal ( PIX pixs,
l_int32  nslices,
l_int32  redsweep,
l_int32  redsearch,
l_float32  sweeprange,
l_float32  sweepdelta,
l_float32  minbsdelta 
)
LEPT_DLL void pixDestroy ( PIX **  ppix  ) 
LEPT_DLL l_int32 pixDestroyColormap ( PIX pix  ) 
LEPT_DLL PIX* pixDilate ( PIX pixd,
PIX pixs,
SEL sel 
)
LEPT_DLL PIX* pixDilateBrick ( PIX pixd,
PIX pixs,
l_int32  hsize,
l_int32  vsize 
)
LEPT_DLL PIX* pixDilateBrickDwa ( PIX pixd,
PIX pixs,
l_int32  hsize,
l_int32  vsize 
)
LEPT_DLL PIX* pixDilateCompBrick ( PIX pixd,
PIX pixs,
l_int32  hsize,
l_int32  vsize 
)
LEPT_DLL PIX* pixDilateCompBrickDwa ( PIX pixd,
PIX pixs,
l_int32  hsize,
l_int32  vsize 
)
LEPT_DLL PIX* pixDilateCompBrickExtendDwa ( PIX pixd,
PIX pixs,
l_int32  hsize,
l_int32  vsize 
)
LEPT_DLL PIX* pixDilateGray ( PIX pixs,
l_int32  hsize,
l_int32  vsize 
)
LEPT_DLL l_int32 pixDisplay ( PIX pixs,
l_int32  x,
l_int32  y 
)
LEPT_DLL PIX* pixDisplayHitMissSel ( PIX pixs,
SEL sel,
l_int32  scalefactor,
l_uint32  hitcolor,
l_uint32  misscolor 
)
LEPT_DLL PIX* pixDisplayMatchedPattern ( PIX pixs,
PIX pixp,
PIX pixe,
l_int32  x0,
l_int32  y0,
l_uint32  color,
l_float32  scale,
l_int32  nlevels 
)
LEPT_DLL PIX* pixDisplayPta ( PIX pixs,
PTA pta 
)
LEPT_DLL PIX* pixDisplayPtaa ( PIX pixs,
PTAA ptaa 
)
LEPT_DLL l_int32 pixDisplayWithTitle ( PIX pixs,
l_int32  x,
l_int32  y,
const char *  title,
l_int32  dispflag 
)
LEPT_DLL l_int32 pixDisplayWrite ( PIX pixs,
l_int32  reduction 
)
LEPT_DLL l_int32 pixDisplayWriteFormat ( PIX pixs,
l_int32  reduction,
l_int32  format 
)
LEPT_DLL PIX* pixDistanceFunction ( PIX pixs,
l_int32  connectivity,
l_int32  outdepth,
l_int32  boundcond 
)
LEPT_DLL PIX* pixDitherTo2bpp ( PIX pixs,
l_int32  cmapflag 
)
LEPT_DLL PIX* pixDitherTo2bppSpec ( PIX pixs,
l_int32  lowerclip,
l_int32  upperclip,
l_int32  cmapflag 
)
LEPT_DLL PIX* pixDitherToBinary ( PIX pixs  ) 
LEPT_DLL PIX* pixDitherToBinaryLUT ( PIX pixs,
l_int32  lowerclip,
l_int32  upperclip 
)
LEPT_DLL PIX* pixDitherToBinarySpec ( PIX pixs,
l_int32  lowerclip,
l_int32  upperclip 
)
LEPT_DLL PIX* pixDrawBoxa ( PIX pixs,
BOXA boxa,
l_int32  width,
l_uint32  val 
)
LEPT_DLL PIX* pixDrawBoxaRandom ( PIX pixs,
BOXA boxa,
l_int32  width 
)
LEPT_DLL PIX* pixEmbedForRotation ( PIX pixs,
l_float32  angle,
l_int32  incolor,
l_int32  width,
l_int32  height 
)
LEPT_DLL l_int32 pixEndianByteSwap ( PIX pixs  ) 
LEPT_DLL PIX* pixEndianByteSwapNew ( PIX pixs  ) 
LEPT_DLL l_int32 pixEndianTwoByteSwap ( PIX pixs  ) 
LEPT_DLL PIX* pixEndianTwoByteSwapNew ( PIX pixs  ) 
LEPT_DLL l_int32 pixEqual ( PIX pix1,
PIX pix2,
l_int32 psame 
)
LEPT_DLL PIX* pixEqualizeTRC ( PIX pixd,
PIX pixs,
l_float32  fract,
l_int32  factor 
)
LEPT_DLL l_int32 pixEqualWithCmap ( PIX pix1,
PIX pix2,
l_int32 psame 
)
LEPT_DLL PIX* pixErode ( PIX pixd,
PIX pixs,
SEL sel 
)
LEPT_DLL PIX* pixErodeBrick ( PIX pixd,
PIX pixs,
l_int32  hsize,
l_int32  vsize 
)
LEPT_DLL PIX* pixErodeBrickDwa ( PIX pixd,
PIX pixs,
l_int32  hsize,
l_int32  vsize 
)
LEPT_DLL PIX* pixErodeCompBrick ( PIX pixd,
PIX pixs,
l_int32  hsize,
l_int32  vsize 
)
LEPT_DLL PIX* pixErodeCompBrickDwa ( PIX pixd,
PIX pixs,
l_int32  hsize,
l_int32  vsize 
)
LEPT_DLL PIX* pixErodeCompBrickExtendDwa ( PIX pixd,
PIX pixs,
l_int32  hsize,
l_int32  vsize 
)
LEPT_DLL PIX* pixErodeGray ( PIX pixs,
l_int32  hsize,
l_int32  vsize 
)
LEPT_DLL PIX* pixExpandBinaryPower2 ( PIX pixs,
l_int32  factor 
)
LEPT_DLL PIX* pixExpandBinaryReplicate ( PIX pixs,
l_int32  factor 
)
LEPT_DLL PIX* pixExpandReplicate ( PIX pixs,
l_int32  factor 
)
LEPT_DLL PIX* pixExtendByReplication ( PIX pixs,
l_int32  addw,
l_int32  addh 
)
LEPT_DLL NUMA* pixExtractBarcodeCrossings ( PIX pixs,
l_float32  thresh,
l_int32  debugflag 
)
LEPT_DLL PIXA* pixExtractBarcodes ( PIX pixs,
l_int32  debugflag 
)
LEPT_DLL NUMA* pixExtractBarcodeWidths1 ( PIX pixs,
l_float32  thresh,
l_float32  binfract,
NUMA **  pnaehist,
NUMA **  pnaohist,
l_int32  debugflag 
)
LEPT_DLL NUMA* pixExtractBarcodeWidths2 ( PIX pixs,
l_float32  thresh,
l_float32 pwidth,
NUMA **  pnac,
l_int32  debugflag 
)
LEPT_DLL PIX* pixExtractBorderConnComps ( PIX pixs,
l_int32  connectivity 
)
LEPT_DLL l_uint32* pixExtractData ( PIX pixs  ) 
LEPT_DLL PIX* pixFadeWithGray ( PIX pixs,
PIX pixb,
l_float32  factor,
l_int32  type 
)
LEPT_DLL PIX* pixFastTophat ( PIX pixs,
l_int32  xsize,
l_int32  ysize,
l_int32  type 
)
LEPT_DLL PIX* pixFewColorsOctcubeQuant1 ( PIX pixs,
l_int32  level 
)
LEPT_DLL PIX* pixFewColorsOctcubeQuant2 ( PIX pixs,
l_int32  level,
NUMA na,
l_int32  ncolors,
l_int32 pnerrors 
)
LEPT_DLL PIX* pixFewColorsOctcubeQuantMixed ( PIX pixs,
l_int32  level,
l_int32  darkthresh,
l_int32  lightthresh,
l_int32  diffthresh,
l_float32  minfract,
l_int32  maxspan 
)
LEPT_DLL PIX* pixFHMTGen_1 ( PIX pixd,
PIX pixs,
char *  selname 
)
LEPT_DLL PIX* pixFillClosedBorders ( PIX pixs,
l_int32  connectivity 
)
LEPT_DLL PIX* pixFillHolesToBoundingRect ( PIX pixs,
l_int32  minsize,
l_float32  maxhfract,
l_float32  minfgfract 
)
LEPT_DLL l_int32 pixFillMapHoles ( PIX pix,
l_int32  nx,
l_int32  ny,
l_int32  filltype 
)
LEPT_DLL PIX* pixFinalAccumulate ( PIX pixs,
l_uint32  offset,
l_int32  depth 
)
LEPT_DLL PIX* pixFinalAccumulateThreshold ( PIX pixs,
l_uint32  offset,
l_uint32  threshold 
)
LEPT_DLL l_int32 pixFindAreaFraction ( PIX pixs,
l_int32 tab,
l_float32 pfract 
)
LEPT_DLL l_int32 pixFindAreaPerimRatio ( PIX pixs,
l_int32 tab,
l_float32 pfract 
)
LEPT_DLL NUMA* pixFindBaselines ( PIX pixs,
PTA **  ppta,
l_int32  debug 
)
LEPT_DLL PTA* pixFindCornerPixels ( PIX pixs  ) 
LEPT_DLL l_int32 pixFindDifferentialSquareSum ( PIX pixs,
l_float32 psum 
)
LEPT_DLL PIX* pixFindEqualValues ( PIX pixs1,
PIX pixs2 
)
LEPT_DLL l_int32 pixFindHistoPeaksHSV ( PIX pixs,
l_int32  type,
l_int32  width,
l_int32  height,
l_int32  npeaks,
l_float32  erasefactor,
PTA **  ppta,
NUMA **  pnatot,
PIXA **  ppixa 
)
LEPT_DLL l_int32 pixFindHorizontalRuns ( PIX pix,
l_int32  y,
l_int32 xstart,
l_int32 xend,
l_int32 pn 
)
LEPT_DLL l_int32 pixFindNormalizedSquareSum ( PIX pixs,
l_float32 phratio,
l_float32 pvratio,
l_float32 pfract 
)
LEPT_DLL l_int32 pixFindPerimSizeRatio ( PIX pixs,
l_int32 tab,
l_float32 pratio 
)
LEPT_DLL l_int32 pixFindSkew ( PIX pixs,
l_float32 pangle,
l_float32 pconf 
)
LEPT_DLL PIX* pixFindSkewAndDeskew ( PIX pixs,
l_int32  redsearch,
l_float32 pangle,
l_float32 pconf 
)
LEPT_DLL l_int32 pixFindSkewOrthogonalRange ( PIX pixs,
l_float32 pangle,
l_float32 pconf,
l_int32  redsweep,
l_int32  redsearch,
l_float32  sweeprange,
l_float32  sweepdelta,
l_float32  minbsdelta,
l_float32  confprior 
)
LEPT_DLL l_int32 pixFindSkewSweep ( PIX pixs,
l_float32 pangle,
l_int32  reduction,
l_float32  sweeprange,
l_float32  sweepdelta 
)
LEPT_DLL l_int32 pixFindSkewSweepAndSearch ( PIX pixs,
l_float32 pangle,
l_float32 pconf,
l_int32  redsweep,
l_int32  redsearch,
l_float32  sweeprange,
l_float32  sweepdelta,
l_float32  minbsdelta 
)
LEPT_DLL l_int32 pixFindSkewSweepAndSearchScore ( PIX pixs,
l_float32 pangle,
l_float32 pconf,
l_float32 pendscore,
l_int32  redsweep,
l_int32  redsearch,
l_float32  sweepcenter,
l_float32  sweeprange,
l_float32  sweepdelta,
l_float32  minbsdelta 
)
LEPT_DLL l_int32 pixFindSkewSweepAndSearchScorePivot ( PIX pixs,
l_float32 pangle,
l_float32 pconf,
l_float32 pendscore,
l_int32  redsweep,
l_int32  redsearch,
l_float32  sweepcenter,
l_float32  sweeprange,
l_float32  sweepdelta,
l_float32  minbsdelta,
l_int32  pivot 
)
LEPT_DLL l_int32 pixFindVerticalRuns ( PIX pix,
l_int32  x,
l_int32 ystart,
l_int32 yend,
l_int32 pn 
)
LEPT_DLL PIX* pixFixedOctcubeQuant256 ( PIX pixs,
l_int32  ditherflag 
)
LEPT_DLL PIX* pixFixedOctcubeQuantGenRGB ( PIX pixs,
l_int32  level 
)
LEPT_DLL PIX* pixFlipFHMTGen ( PIX pixd,
PIX pixs,
char *  selname 
)
LEPT_DLL PIX* pixFlipLR ( PIX pixd,
PIX pixs 
)
LEPT_DLL l_int32 pixFlipPixel ( PIX pix,
l_int32  x,
l_int32  y 
)
LEPT_DLL PIX* pixFlipTB ( PIX pixd,
PIX pixs 
)
LEPT_DLL PIX* pixFMorphopGen_1 ( PIX pixd,
PIX pixs,
l_int32  operation,
char *  selname 
)
LEPT_DLL PIX* pixFMorphopGen_2 ( PIX pixd,
PIX pixs,
l_int32  operation,
char *  selname 
)
LEPT_DLL l_int32 pixFreeData ( PIX pix  ) 
LEPT_DLL PIX* pixGammaTRC ( PIX pixd,
PIX pixs,
l_float32  gamma,
l_int32  minval,
l_int32  maxval 
)
LEPT_DLL PIX* pixGammaTRCMasked ( PIX pixd,
PIX pixs,
PIX pixm,
l_float32  gamma,
l_int32  minval,
l_int32  maxval 
)
LEPT_DLL PIX* pixGenerateFromPta ( PTA pta,
l_int32  w,
l_int32  h 
)
LEPT_DLL PIX* pixGenerateMaskByBand ( PIX pixs,
l_int32  lower,
l_int32  upper,
l_int32  inband 
)
LEPT_DLL PIX* pixGenerateMaskByBand32 ( PIX pixs,
l_uint32  refval,
l_int32  delm,
l_int32  delp 
)
LEPT_DLL PIX* pixGenerateMaskByDiscr32 ( PIX pixs,
l_uint32  refval1,
l_uint32  refval2,
l_int32  distflag 
)
LEPT_DLL PIX* pixGenerateMaskByValue ( PIX pixs,
l_int32  val 
)
LEPT_DLL SEL* pixGenerateSelBoundary ( PIX pixs,
l_int32  hitdist,
l_int32  missdist,
l_int32  hitskip,
l_int32  missskip,
l_int32  topflag,
l_int32  botflag,
l_int32  leftflag,
l_int32  rightflag,
PIX **  ppixe 
)
LEPT_DLL SEL* pixGenerateSelRandom ( PIX pixs,
l_float32  hitfract,
l_float32  missfract,
l_int32  distance,
l_int32  toppix,
l_int32  botpix,
l_int32  leftpix,
l_int32  rightpix,
PIX **  ppixe 
)
LEPT_DLL SEL* pixGenerateSelWithRuns ( PIX pixs,
l_int32  nhlines,
l_int32  nvlines,
l_int32  distance,
l_int32  minlength,
l_int32  toppix,
l_int32  botpix,
l_int32  leftpix,
l_int32  rightpix,
PIX **  ppixe 
)
LEPT_DLL PIX* pixGenHalftoneMask ( PIX pixs,
PIX **  ppixtext,
l_int32 phtfound,
l_int32  debug 
)
LEPT_DLL PIX* pixGenTextblockMask ( PIX pixs,
PIX pixvws,
l_int32  debug 
)
LEPT_DLL PIX* pixGenTextlineMask ( PIX pixs,
PIX **  ppixvws,
l_int32 ptlfound,
l_int32  debug 
)
LEPT_DLL CCBORDA* pixGetAllCCBorders ( PIX pixs  ) 
LEPT_DLL l_int32 pixGetAverageMasked ( PIX pixs,
PIX pixm,
l_int32  x,
l_int32  y,
l_int32  factor,
l_int32  type,
l_float32 pval 
)
LEPT_DLL l_int32 pixGetAverageMaskedRGB ( PIX pixs,
PIX pixm,
l_int32  x,
l_int32  y,
l_int32  factor,
l_int32  type,
l_float32 prval,
l_float32 pgval,
l_float32 pbval 
)
LEPT_DLL PIX* pixGetAverageTiled ( PIX pixs,
l_int32  sx,
l_int32  sy,
l_int32  type 
)
LEPT_DLL l_int32 pixGetAverageTiledRGB ( PIX pixs,
l_int32  sx,
l_int32  sy,
l_int32  type,
PIX **  ppixr,
PIX **  ppixg,
PIX **  ppixb 
)
LEPT_DLL l_int32 pixGetBackgroundGrayMap ( PIX pixs,
PIX pixim,
l_int32  sx,
l_int32  sy,
l_int32  thresh,
l_int32  mincount,
PIX **  ppixd 
)
LEPT_DLL l_int32 pixGetBackgroundGrayMapMorph ( PIX pixs,
PIX pixim,
l_int32  reduction,
l_int32  size,
PIX **  ppixm 
)
LEPT_DLL l_int32 pixGetBackgroundRGBMap ( PIX pixs,
PIX pixim,
PIX pixg,
l_int32  sx,
l_int32  sy,
l_int32  thresh,
l_int32  mincount,
PIX **  ppixmr,
PIX **  ppixmg,
PIX **  ppixmb 
)
LEPT_DLL l_int32 pixGetBackgroundRGBMapMorph ( PIX pixs,
PIX pixim,
l_int32  reduction,
l_int32  size,
PIX **  ppixmr,
PIX **  ppixmg,
PIX **  ppixmb 
)
LEPT_DLL CCBORD* pixGetCCBorders ( PIX pixs,
BOX box 
)
LEPT_DLL l_int32 pixGetColorHistogram ( PIX pixs,
l_int32  factor,
NUMA **  pnar,
NUMA **  pnag,
NUMA **  pnab 
)
LEPT_DLL l_int32 pixGetColorHistogramMasked ( PIX pixs,
PIX pixm,
l_int32  x,
l_int32  y,
l_int32  factor,
NUMA **  pnar,
NUMA **  pnag,
NUMA **  pnab 
)
LEPT_DLL PIXCMAP* pixGetColormap ( PIX pix  ) 
LEPT_DLL l_int32 pixGetColumnStats ( PIX pixs,
l_int32  type,
l_int32  nbins,
l_int32  thresh,
l_float32 rowvect 
)
LEPT_DLL l_uint32* pixGetData ( PIX pix  ) 
LEPT_DLL l_int32 pixGetDepth ( PIX pix  ) 
LEPT_DLL l_int32 pixGetDimensions ( PIX pix,
l_int32 pw,
l_int32 ph,
l_int32 pd 
)
LEPT_DLL l_int32 pixGetExtremeValue ( PIX pixs,
l_int32  factor,
l_int32  type,
l_int32 prval,
l_int32 pgval,
l_int32 pbval,
l_int32 pgrayval 
)
LEPT_DLL NUMA* pixGetGrayHistogram ( PIX pixs,
l_int32  factor 
)
LEPT_DLL NUMA* pixGetGrayHistogramMasked ( PIX pixs,
PIX pixm,
l_int32  x,
l_int32  y,
l_int32  factor 
)
LEPT_DLL l_int32 pixGetHeight ( PIX pix  ) 
LEPT_DLL l_int32 pixGetHoleBorder ( CCBORD ccb,
PIX pixs,
BOX box,
l_int32  xs,
l_int32  ys 
)
LEPT_DLL l_int32 pixGetInputFormat ( PIX pix  ) 
LEPT_DLL PIX* pixGetInvBackgroundMap ( PIX pixs,
l_int32  bgval,
l_int32  smoothx,
l_int32  smoothy 
)
LEPT_DLL void** pixGetLinePtrs ( PIX pix,
l_int32 psize 
)
LEPT_DLL NUMA* pixGetLocalSkewAngles ( PIX pixs,
l_int32  nslices,
l_int32  redsweep,
l_int32  redsearch,
l_float32  sweeprange,
l_float32  sweepdelta,
l_float32  minbsdelta,
l_float32 pa,
l_float32 pb 
)
LEPT_DLL l_int32 pixGetLocalSkewTransform ( PIX pixs,
l_int32  nslices,
l_int32  redsweep,
l_int32  redsearch,
l_float32  sweeprange,
l_float32  sweepdelta,
l_float32  minbsdelta,
PTA **  pptas,
PTA **  pptad 
)
LEPT_DLL l_int32 pixGetMaxValueInRect ( PIX pixs,
BOX box,
l_uint32 pmaxval,
l_int32 pxmax,
l_int32 pymax 
)
LEPT_DLL l_int32 pixGetOuterBorder ( CCBORD ccb,
PIX pixs,
BOX box 
)
LEPT_DLL PTA* pixGetOuterBorderPta ( PIX pixs,
BOX box 
)
LEPT_DLL PTAA* pixGetOuterBordersPtaa ( PIX pixs  ) 
LEPT_DLL l_int32 pixGetPixel ( PIX pix,
l_int32  x,
l_int32  y,
l_uint32 pval 
)
LEPT_DLL l_int32 pixGetRandomPixel ( PIX pix,
l_uint32 pval,
l_int32 px,
l_int32 py 
)
LEPT_DLL l_int32 pixGetRankValueMasked ( PIX pixs,
PIX pixm,
l_int32  x,
l_int32  y,
l_int32  factor,
l_float32  rank,
l_float32 pval,
NUMA **  pna 
)
LEPT_DLL l_int32 pixGetRankValueMaskedRGB ( PIX pixs,
PIX pixm,
l_int32  x,
l_int32  y,
l_int32  factor,
l_float32  rank,
l_float32 prval,
l_float32 pgval,
l_float32 pbval 
)
LEPT_DLL l_int32 pixGetRefcount ( PIX pix  ) 
LEPT_DLL l_int32 pixGetRegionsBinary ( PIX pixs,
PIX **  ppixhm,
PIX **  ppixtm,
PIX **  ppixtb,
l_int32  debug 
)
LEPT_DLL l_int32 pixGetResolution ( PIX pix,
l_uint32 pxres,
l_uint32 pyres 
)
LEPT_DLL PIX* pixGetRGBComponent ( PIX pixs,
l_int32  color 
)
LEPT_DLL PIX* pixGetRGBComponentCmap ( PIX pixs,
l_int32  color 
)
LEPT_DLL l_int32 pixGetRGBLine ( PIX pixs,
l_int32  row,
l_uint8 bufr,
l_uint8 bufg,
l_uint8 bufb 
)
LEPT_DLL l_int32 pixGetRGBPixel ( PIX pix,
l_int32  x,
l_int32  y,
l_int32 prval,
l_int32 pgval,
l_int32 pbval 
)
LEPT_DLL l_int32 pixGetRowStats ( PIX pixs,
l_int32  type,
l_int32  nbins,
l_int32  thresh,
l_float32 colvect 
)
LEPT_DLL NUMA* pixGetRunCentersOnLine ( PIX pixs,
l_int32  x,
l_int32  y,
l_int32  minlength 
)
LEPT_DLL NUMA* pixGetRunsOnLine ( PIX pixs,
l_int32  x1,
l_int32  y1,
l_int32  x2,
l_int32  y2 
)
LEPT_DLL char* pixGetText ( PIX pix  ) 
LEPT_DLL l_int32 pixGetWidth ( PIX pix  ) 
LEPT_DLL l_int32 pixGetWordBoxesInTextlines ( PIX pixs,
l_int32  reduction,
l_int32  minwidth,
l_int32  minheight,
l_int32  maxwidth,
l_int32  maxheight,
BOXA **  pboxad,
NUMA **  pnai 
)
LEPT_DLL l_int32 pixGetWordsInTextlines ( PIX pixs,
l_int32  reduction,
l_int32  minwidth,
l_int32  minheight,
l_int32  maxwidth,
l_int32  maxheight,
BOXA **  pboxad,
PIXA **  ppixad,
NUMA **  pnai 
)
LEPT_DLL l_int32 pixGetWpl ( PIX pix  ) 
LEPT_DLL l_uint32 pixGetXRes ( PIX pix  ) 
LEPT_DLL l_uint32 pixGetYRes ( PIX pix  ) 
LEPT_DLL PIX* pixGlobalNormNoSatRGB ( PIX pixd,
PIX pixs,
l_int32  rval,
l_int32  gval,
l_int32  bval,
l_int32  factor,
l_float32  rank 
)
LEPT_DLL PIX* pixGlobalNormRGB ( PIX pixd,
PIX pixs,
l_int32  rval,
l_int32  gval,
l_int32  bval,
l_int32  mapval 
)
LEPT_DLL PIX* pixGrayMorphSequence ( PIX pixs,
const char *  sequence,
l_int32  dispsep,
l_int32  dispy 
)
LEPT_DLL PIX* pixGrayQuantFromCmap ( PIX pixs,
PIXCMAP cmap,
l_int32  mindepth 
)
LEPT_DLL PIX* pixGrayQuantFromHisto ( PIX pixd,
PIX pixs,
PIX pixm,
l_float32  minfract,
l_int32  maxsize 
)
LEPT_DLL PIX* pixHalfEdgeByBandpass ( PIX pixs,
l_int32  sm1h,
l_int32  sm1v,
l_int32  sm2h,
l_int32  sm2v 
)
LEPT_DLL l_int32 pixHaustest ( PIX pix1,
PIX pix2,
PIX pix3,
PIX pix4,
l_float32  delx,
l_float32  dely,
l_int32  maxdiffw,
l_int32  maxdiffh 
)
LEPT_DLL PIX* pixHDome ( PIX pixs,
l_int32  height,
l_int32  connectivity 
)
LEPT_DLL PIX* pixHMT ( PIX pixd,
PIX pixs,
SEL sel 
)
LEPT_DLL PIX* pixHMTDwa_1 ( PIX pixd,
PIX pixs,
char *  selname 
)
LEPT_DLL PIX* pixHolesByFilling ( PIX pixs,
l_int32  connectivity 
)
LEPT_DLL PIX* pixHShear ( PIX pixd,
PIX pixs,
l_int32  liney,
l_float32  radang,
l_int32  incolor 
)
LEPT_DLL PIX* pixHShearCenter ( PIX pixd,
PIX pixs,
l_float32  radang,
l_int32  incolor 
)
LEPT_DLL PIX* pixHShearCorner ( PIX pixd,
PIX pixs,
l_float32  radang,
l_int32  incolor 
)
LEPT_DLL l_int32 pixHShearIP ( PIX pixs,
l_int32  liney,
l_float32  radang,
l_int32  incolor 
)
LEPT_DLL l_int32 pixHtmlViewer ( const char *  dirin,
const char *  dirout,
const char *  rootname,
l_int32  thumbwidth,
l_int32  viewwidth,
l_int32  copyorig 
)
LEPT_DLL PIX* pixInitAccumulate ( l_int32  w,
l_int32  h,
l_uint32  offset 
)
LEPT_DLL PIX* pixIntersectionOfMorphOps ( PIX pixs,
SELA sela,
l_int32  type 
)
LEPT_DLL PIX* pixInvert ( PIX pixd,
PIX pixs 
)
LEPT_DLL PIX* pixLinearTRCTiled ( PIX pixd,
PIX pixs,
l_int32  sx,
l_int32  sy,
PIX pixmin,
PIX pixmax 
)
LEPT_DLL l_int32 pixLocalExtrema ( PIX pixs,
l_int32  maxmin,
l_int32  minmax,
PIX **  ppixmin,
PIX **  ppixmax 
)
LEPT_DLL BOXA* pixLocateBarcodes ( PIX pixs,
l_int32  thresh,
PIX **  ppixb,
PIX **  ppixm 
)
LEPT_DLL PIX* pixMakeHistoHS ( PIX pixs,
l_int32  factor,
NUMA **  pnahue,
NUMA **  pnasat 
)
LEPT_DLL PIX* pixMakeHistoHV ( PIX pixs,
l_int32  factor,
NUMA **  pnahue,
NUMA **  pnaval 
)
LEPT_DLL PIX* pixMakeHistoSV ( PIX pixs,
l_int32  factor,
NUMA **  pnasat,
NUMA **  pnaval 
)
LEPT_DLL PIX* pixMakeRangeMaskHS ( PIX pixs,
l_int32  huecenter,
l_int32  huehw,
l_int32  satcenter,
l_int32  sathw,
l_int32  regionflag 
)
LEPT_DLL PIX* pixMakeRangeMaskHV ( PIX pixs,
l_int32  huecenter,
l_int32  huehw,
l_int32  valcenter,
l_int32  valhw,
l_int32  regionflag 
)
LEPT_DLL PIX* pixMakeRangeMaskSV ( PIX pixs,
l_int32  satcenter,
l_int32  sathw,
l_int32  valcenter,
l_int32  valhw,
l_int32  regionflag 
)
LEPT_DLL PIX* pixMaskBoxa ( PIX pixd,
PIX pixs,
BOXA boxa,
l_int32  op 
)
LEPT_DLL PIX* pixMaskConnComp ( PIX pixs,
l_int32  connectivity,
BOXA **  pboxa 
)
LEPT_DLL PIX* pixMaskedThreshOnBackgroundNorm ( PIX pixs,
PIX pixim,
l_int32  sx,
l_int32  sy,
l_int32  thresh,
l_int32  mincount,
l_int32  smoothx,
l_int32  smoothy,
l_float32  scorefract,
l_int32 pthresh 
)
LEPT_DLL PIX* pixMaxDynamicRange ( PIX pixs,
l_int32  type 
)
LEPT_DLL DPIX* pixMeanSquareAccum ( PIX pixs  ) 
LEPT_DLL l_int32 pixMeasureSaturation ( PIX pixs,
l_int32  factor,
l_float32 psat 
)
LEPT_DLL l_int32* pixMedianCutHisto ( PIX pixs,
l_int32  sigbits,
l_int32  subsample 
)
LEPT_DLL PIX* pixMedianCutQuant ( PIX pixs,
l_int32  ditherflag 
)
LEPT_DLL PIX* pixMedianCutQuantGeneral ( PIX pixs,
l_int32  ditherflag,
l_int32  outdepth,
l_int32  maxcolors,
l_int32  sigbits,
l_int32  maxsub 
)
LEPT_DLL PIX* pixMedianFilter ( PIX pixs,
l_int32  wf,
l_int32  hf 
)
LEPT_DLL l_int32 pixMinMaxTiles ( PIX pixs,
l_int32  sx,
l_int32  sy,
l_int32  mindiff,
l_int32  smoothx,
l_int32  smoothy,
PIX **  ppixmin,
PIX **  ppixmax 
)
LEPT_DLL PIX* pixMinOrMax ( PIX pixd,
PIX pixs1,
PIX pixs2,
l_int32  type 
)
LEPT_DLL l_int32 pixMirrorDetect ( PIX pixs,
l_float32 pconf,
l_int32  mincount,
l_int32  debug 
)
LEPT_DLL l_int32 pixMirrorDetectDwa ( PIX pixs,
l_float32 pconf,
l_int32  mincount,
l_int32  debug 
)
LEPT_DLL PIX* pixMirroredTiling ( PIX pixs,
l_int32  w,
l_int32  h 
)
LEPT_DLL PIX* pixModifyHue ( PIX pixd,
PIX pixs,
l_float32  fract 
)
LEPT_DLL PIX* pixModifySaturation ( PIX pixd,
PIX pixs,
l_float32  fract 
)
LEPT_DLL PIX* pixMorphCompSequence ( PIX pixs,
const char *  sequence,
l_int32  dispsep 
)
LEPT_DLL PIX* pixMorphCompSequenceDwa ( PIX pixs,
const char *  sequence,
l_int32  dispsep 
)
LEPT_DLL PIX* pixMorphDwa_1 ( PIX pixd,
PIX pixs,
l_int32  operation,
char *  selname 
)
LEPT_DLL PIX* pixMorphDwa_2 ( PIX pixd,
PIX pixs,
l_int32  operation,
char *  selname 
)
LEPT_DLL PIX* pixMorphGradient ( PIX pixs,
l_int32  hsize,
l_int32  vsize,
l_int32  smoothing 
)
LEPT_DLL PIX* pixMorphSequence ( PIX pixs,
const char *  sequence,
l_int32  dispsep 
)
LEPT_DLL PIX* pixMorphSequenceByComponent ( PIX pixs,
const char *  sequence,
l_int32  connectivity,
l_int32  minw,
l_int32  minh,
BOXA **  pboxa 
)
LEPT_DLL PIX* pixMorphSequenceByRegion ( PIX pixs,
PIX pixm,
const char *  sequence,
l_int32  connectivity,
l_int32  minw,
l_int32  minh,
BOXA **  pboxa 
)
LEPT_DLL PIX* pixMorphSequenceDwa ( PIX pixs,
const char *  sequence,
l_int32  dispsep 
)
LEPT_DLL l_int32 pixMultConstAccumulate ( PIX pixs,
l_float32  factor,
l_uint32  offset 
)
LEPT_DLL PIX* pixMultConstantColor ( PIX pixs,
l_float32  rfact,
l_float32  gfact,
l_float32  bfact 
)
LEPT_DLL l_int32 pixMultConstantGray ( PIX pixs,
l_float32  val 
)
LEPT_DLL PIX* pixMultMatrixColor ( PIX pixs,
L_KERNEL kel 
)
LEPT_DLL l_int32 pixNumberOccupiedOctcubes ( PIX pix,
l_int32  level,
l_int32  mincount,
l_float32  minfract,
l_int32 pncolors 
)
LEPT_DLL l_int32 pixNumColors ( PIX pixs,
l_int32  factor,
l_int32 pncolors 
)
LEPT_DLL l_int32 pixNumSignificantGrayColors ( PIX pixs,
l_int32  darkthresh,
l_int32  lightthresh,
l_float32  minfract,
l_int32  factor,
l_int32 pncolors 
)
LEPT_DLL NUMA* pixOctcubeHistogram ( PIX pixs,
l_int32  level,
l_int32 pncolors 
)
LEPT_DLL PIX* pixOctcubeQuantFromCmap ( PIX pixs,
PIXCMAP cmap,
l_int32  mindepth,
l_int32  level,
l_int32  metric 
)
LEPT_DLL PIX* pixOctcubeQuantFromCmapLUT ( PIX pixs,
PIXCMAP cmap,
l_int32  mindepth,
l_int32 cmaptab,
l_uint32 rtab,
l_uint32 gtab,
l_uint32 btab 
)
LEPT_DLL PIX* pixOctcubeQuantMixedWithGray ( PIX pixs,
l_int32  depth,
l_int32  graylevels,
l_int32  delta 
)
LEPT_DLL PIX* pixOctreeColorQuant ( PIX pixs,
l_int32  colors,
l_int32  ditherflag 
)
LEPT_DLL PIX* pixOctreeColorQuantGeneral ( PIX pixs,
l_int32  colors,
l_int32  ditherflag,
l_float32  validthresh,
l_float32  colorthresh 
)
LEPT_DLL PIX* pixOctreeQuantByPopulation ( PIX pixs,
l_int32  level,
l_int32  ditherflag 
)
LEPT_DLL PIX* pixOctreeQuantNumColors ( PIX pixs,
l_int32  maxcolors,
l_int32  subsample 
)
LEPT_DLL PIX* pixOpen ( PIX pixd,
PIX pixs,
SEL sel 
)
LEPT_DLL PIX* pixOpenBrick ( PIX pixd,
PIX pixs,
l_int32  hsize,
l_int32  vsize 
)
LEPT_DLL PIX* pixOpenBrickDwa ( PIX pixd,
PIX pixs,
l_int32  hsize,
l_int32  vsize 
)
LEPT_DLL PIX* pixOpenCompBrick ( PIX pixd,
PIX pixs,
l_int32  hsize,
l_int32  vsize 
)
LEPT_DLL PIX* pixOpenCompBrickDwa ( PIX pixd,
PIX pixs,
l_int32  hsize,
l_int32  vsize 
)
LEPT_DLL PIX* pixOpenCompBrickExtendDwa ( PIX pixd,
PIX pixs,
l_int32  hsize,
l_int32  vsize 
)
LEPT_DLL PIX* pixOpenGeneralized ( PIX pixd,
PIX pixs,
SEL sel 
)
LEPT_DLL PIX* pixOpenGray ( PIX pixs,
l_int32  hsize,
l_int32  vsize 
)
LEPT_DLL PIX* pixOr ( PIX pixd,
PIX pixs1,
PIX pixs2 
)
LEPT_DLL l_int32 pixOrientDetect ( PIX pixs,
l_float32 pupconf,
l_float32 pleftconf,
l_int32  mincount,
l_int32  debug 
)
LEPT_DLL l_int32 pixOrientDetectDwa ( PIX pixs,
l_float32 pupconf,
l_float32 pleftconf,
l_int32  mincount,
l_int32  debug 
)
LEPT_DLL l_int32 pixOtsuAdaptiveThreshold ( PIX pixs,
l_int32  sx,
l_int32  sy,
l_int32  smoothx,
l_int32  smoothy,
l_float32  scorefract,
PIX **  ppixth,
PIX **  ppixd 
)
LEPT_DLL PIX* pixOtsuThreshOnBackgroundNorm ( PIX pixs,
PIX pixim,
l_int32  sx,
l_int32  sy,
l_int32  thresh,
l_int32  mincount,
l_int32  bgval,
l_int32  smoothx,
l_int32  smoothy,
l_float32  scorefract,
l_int32 pthresh 
)
LEPT_DLL PIX* pixPaintBoxa ( PIX pixs,
BOXA boxa,
l_uint32  val 
)
LEPT_DLL PIX* pixPaintBoxaRandom ( PIX pixs,
BOXA boxa 
)
LEPT_DLL l_int32 pixPaintSelfThroughMask ( PIX pixd,
PIX pixm,
l_int32  x,
l_int32  y,
l_int32  tilesize,
l_int32  searchdir 
)
LEPT_DLL l_int32 pixPaintThroughMask ( PIX pixd,
PIX pixm,
l_int32  x,
l_int32  y,
l_uint32  val 
)
LEPT_DLL l_int32 pixPlotAlongPta ( PIX pixs,
PTA pta,
l_int32  outformat,
const char *  title 
)
LEPT_DLL l_int32 pixPrintStreamInfo ( FILE *  fp,
PIX pix,
const char *  text 
)
LEPT_DLL SARRAY* pixProcessBarcodes ( PIX pixs,
l_int32  format,
l_int32  method,
SARRAY **  psaw,
l_int32  debugflag 
)
LEPT_DLL PIX* pixProjective ( PIX pixs,
l_float32 vc,
l_int32  incolor 
)
LEPT_DLL PIX* pixProjectiveColor ( PIX pixs,
l_float32 vc,
l_uint32  colorval 
)
LEPT_DLL PIX* pixProjectiveGray ( PIX pixs,
l_float32 vc,
l_uint8  grayval 
)
LEPT_DLL PIX* pixProjectivePta ( PIX pixs,
PTA ptad,
PTA ptas,
l_int32  incolor 
)
LEPT_DLL PIX* pixProjectivePtaColor ( PIX pixs,
PTA ptad,
PTA ptas,
l_uint32  colorval 
)
LEPT_DLL PIX* pixProjectivePtaGray ( PIX pixs,
PTA ptad,
PTA ptas,
l_uint8  grayval 
)
LEPT_DLL PIX* pixProjectiveSampled ( PIX pixs,
l_float32 vc,
l_int32  incolor 
)
LEPT_DLL PIX* pixProjectiveSampledPta ( PIX pixs,
PTA ptad,
PTA ptas,
l_int32  incolor 
)
LEPT_DLL PIX* pixQuantFromCmap ( PIX pixs,
PIXCMAP cmap,
l_int32  mindepth,
l_int32  level,
l_int32  metric 
)
LEPT_DLL l_int32 pixQuantizeIfFewColors ( PIX pixs,
l_int32  maxcolors,
l_int32  mingraycolors,
l_int32  octlevel,
PIX **  ppixd 
)
LEPT_DLL PIX* pixRandomHarmonicWarp ( PIX pixs,
l_float32  xmag,
l_float32  ymag,
l_float32  xfreq,
l_float32  yfreq,
l_int32  nx,
l_int32  ny,
l_uint32  seed,
l_int32  grayval 
)
LEPT_DLL PIX* pixRankFilter ( PIX pixs,
l_int32  wf,
l_int32  hf,
l_float32  rank 
)
LEPT_DLL PIX* pixRankFilterGray ( PIX pixs,
l_int32  wf,
l_int32  hf,
l_float32  rank 
)
LEPT_DLL PIX* pixRankFilterRGB ( PIX pixs,
l_int32  wf,
l_int32  hf,
l_float32  rank 
)
LEPT_DLL l_int32 pixRankHaustest ( PIX pix1,
PIX pix2,
PIX pix3,
PIX pix4,
l_float32  delx,
l_float32  dely,
l_int32  maxdiffw,
l_int32  maxdiffh,
l_int32  area1,
l_int32  area3,
l_float32  rank,
l_int32 tab8 
)
LEPT_DLL l_int32 pixRasterop ( PIX pixd,
l_int32  dx,
l_int32  dy,
l_int32  dw,
l_int32  dh,
l_int32  op,
PIX pixs,
l_int32  sx,
l_int32  sy 
)
LEPT_DLL l_int32 pixRasteropFullImage ( PIX pixd,
PIX pixs,
l_int32  op 
)
LEPT_DLL l_int32 pixRasteropHip ( PIX pixd,
l_int32  y,
l_int32  h,
l_int32  hshift,
l_int32  incolor 
)
LEPT_DLL l_int32 pixRasteropIP ( PIX pixd,
l_int32  hshift,
l_int32  vshift,
l_int32  incolor 
)
LEPT_DLL l_int32 pixRasteropVip ( PIX pixd,
l_int32  x,
l_int32  w,
l_int32  vshift,
l_int32  incolor 
)
LEPT_DLL PIX* pixRead ( const char *  filename  ) 
LEPT_DLL SARRAY* pixReadBarcodes ( PIXA pixa,
l_int32  format,
l_int32  method,
SARRAY **  psaw,
l_int32  debugflag 
)
LEPT_DLL NUMA* pixReadBarcodeWidths ( PIX pixs,
l_int32  method,
l_int32  debugflag 
)
LEPT_DLL PIX* pixReadJpeg ( const char *  filename,
l_int32  cmflag,
l_int32  reduction,
l_int32 pnwarn 
)
LEPT_DLL PIX* pixReadMem ( const l_uint8 data,
size_t  size 
)
LEPT_DLL PIX* pixReadMemBmp ( const l_uint8 cdata,
size_t  size 
)
LEPT_DLL PIX* pixReadMemGif ( const l_uint8 cdata,
size_t  size 
)
LEPT_DLL PIX* pixReadMemJpeg ( const l_uint8 cdata,
size_t  size,
l_int32  cmflag,
l_int32  reduction,
l_int32 pnwarn,
l_int32  hint 
)
LEPT_DLL PIX* pixReadMemPng ( const l_uint8 cdata,
size_t  size 
)
LEPT_DLL PIX* pixReadMemPnm ( const l_uint8 cdata,
size_t  size 
)
LEPT_DLL PIX* pixReadMemTiff ( const l_uint8 cdata,
size_t  size,
l_int32  n 
)
LEPT_DLL PIX* pixReadStream ( FILE *  fp,
l_int32  hint 
)
LEPT_DLL PIX* pixReadStreamBmp ( FILE *  fp  ) 
LEPT_DLL PIX* pixReadStreamGif ( FILE *  fp  ) 
LEPT_DLL PIX* pixReadStreamJpeg ( FILE *  fp,
l_int32  cmflag,
l_int32  reduction,
l_int32 pnwarn,
l_int32  hint 
)
LEPT_DLL PIX* pixReadStreamPng ( FILE *  fp  ) 
LEPT_DLL PIX* pixReadStreamPnm ( FILE *  fp  ) 
LEPT_DLL PIX* pixReadStreamTiff ( FILE *  fp,
l_int32  n 
)
LEPT_DLL PIX* pixReadTiff ( const char *  filename,
l_int32  n 
)
LEPT_DLL PIX* pixReadWithHint ( const char *  filename,
l_int32  hint 
)
LEPT_DLL PIX* pixReduceBinary2 ( PIX pixs,
l_uint8 intab 
)
LEPT_DLL PIX* pixReduceRankBinary2 ( PIX pixs,
l_int32  level,
l_uint8 intab 
)
LEPT_DLL PIX* pixReduceRankBinaryCascade ( PIX pixs,
l_int32  level1,
l_int32  level2,
l_int32  level3,
l_int32  level4 
)
LEPT_DLL PIX* pixRemoveBorder ( PIX pixs,
l_int32  npix 
)
LEPT_DLL PIX* pixRemoveBorderConnComps ( PIX pixs,
l_int32  connectivity 
)
LEPT_DLL PIX* pixRemoveBorderGeneral ( PIX pixs,
l_int32  left,
l_int32  right,
l_int32  top,
l_int32  bot 
)
LEPT_DLL PIX* pixRemoveColormap ( PIX pixs,
l_int32  type 
)
LEPT_DLL l_int32 pixRemoveMatchedPattern ( PIX pixs,
PIX pixp,
PIX pixe,
l_int32  x0,
l_int32  y0,
l_int32  dsize 
)
LEPT_DLL PIX* pixRemoveSeededComponents ( PIX pixd,
PIX pixs,
PIX pixm,
l_int32  connectivity,
l_int32  bordersize 
)
LEPT_DLL l_int32 pixRemoveUnusedColors ( PIX pixs  ) 
LEPT_DLL l_int32 pixRemoveWithIndicator ( PIX pixs,
PIXA pixa,
NUMA na 
)
LEPT_DLL l_int32 pixRenderBox ( PIX pix,
BOX box,
l_int32  width,
l_int32  op 
)
LEPT_DLL l_int32 pixRenderBoxa ( PIX pix,
BOXA boxa,
l_int32  width,
l_int32  op 
)
LEPT_DLL l_int32 pixRenderBoxaArb ( PIX pix,
BOXA boxa,
l_int32  width,
l_uint8  rval,
l_uint8  gval,
l_uint8  bval 
)
LEPT_DLL l_int32 pixRenderBoxaBlend ( PIX pix,
BOXA boxa,
l_int32  width,
l_uint8  rval,
l_uint8  gval,
l_uint8  bval,
l_float32  fract,
l_int32  removedups 
)
LEPT_DLL l_int32 pixRenderBoxArb ( PIX pix,
BOX box,
l_int32  width,
l_uint8  rval,
l_uint8  gval,
l_uint8  bval 
)
LEPT_DLL l_int32 pixRenderBoxBlend ( PIX pix,
BOX box,
l_int32  width,
l_uint8  rval,
l_uint8  gval,
l_uint8  bval,
l_float32  fract 
)
LEPT_DLL PIX* pixRenderContours ( PIX pixs,
l_int32  startval,
l_int32  incr,
l_int32  outdepth 
)
LEPT_DLL l_int32 pixRenderHashBox ( PIX pix,
BOX box,
l_int32  spacing,
l_int32  width,
l_int32  orient,
l_int32  outline,
l_int32  op 
)
LEPT_DLL l_int32 pixRenderHashBoxArb ( PIX pix,
BOX box,
l_int32  spacing,
l_int32  width,
l_int32  orient,
l_int32  outline,
l_int32  rval,
l_int32  gval,
l_int32  bval 
)
LEPT_DLL l_int32 pixRenderHashBoxBlend ( PIX pix,
BOX box,
l_int32  spacing,
l_int32  width,
l_int32  orient,
l_int32  outline,
l_int32  rval,
l_int32  gval,
l_int32  bval,
l_float32  fract 
)
LEPT_DLL l_int32 pixRenderLine ( PIX pix,
l_int32  x1,
l_int32  y1,
l_int32  x2,
l_int32  y2,
l_int32  width,
l_int32  op 
)
LEPT_DLL l_int32 pixRenderLineArb ( PIX pix,
l_int32  x1,
l_int32  y1,
l_int32  x2,
l_int32  y2,
l_int32  width,
l_uint8  rval,
l_uint8  gval,
l_uint8  bval 
)
LEPT_DLL l_int32 pixRenderLineBlend ( PIX pix,
l_int32  x1,
l_int32  y1,
l_int32  x2,
l_int32  y2,
l_int32  width,
l_uint8  rval,
l_uint8  gval,
l_uint8  bval,
l_float32  fract 
)
LEPT_DLL l_int32 pixRenderPolyline ( PIX pix,
PTA ptas,
l_int32  width,
l_int32  op,
l_int32  closeflag 
)
LEPT_DLL l_int32 pixRenderPolylineArb ( PIX pix,
PTA ptas,
l_int32  width,
l_uint8  rval,
l_uint8  gval,
l_uint8  bval,
l_int32  closeflag 
)
LEPT_DLL l_int32 pixRenderPolylineBlend ( PIX pix,
PTA ptas,
l_int32  width,
l_uint8  rval,
l_uint8  gval,
l_uint8  bval,
l_float32  fract,
l_int32  closeflag,
l_int32  removedups 
)
LEPT_DLL l_int32 pixRenderPta ( PIX pix,
PTA pta,
l_int32  op 
)
LEPT_DLL l_int32 pixRenderPtaArb ( PIX pix,
PTA pta,
l_uint8  rval,
l_uint8  gval,
l_uint8  bval 
)
LEPT_DLL l_int32 pixRenderPtaBlend ( PIX pix,
PTA pta,
l_uint8  rval,
l_uint8  gval,
l_uint8  bval,
l_float32  fract 
)
LEPT_DLL PIX* pixRenderRandomCmapPtaa ( PIX pix,
PTAA ptaa,
l_int32  polyflag,
l_int32  width,
l_int32  closeflag 
)
LEPT_DLL l_int32 pixResizeImageData ( PIX pixd,
PIX pixs 
)
LEPT_DLL PIX* pixRotate ( PIX pixs,
l_float32  angle,
l_int32  type,
l_int32  incolor,
l_int32  width,
l_int32  height 
)
LEPT_DLL PIX* pixRotate180 ( PIX pixd,
PIX pixs 
)
LEPT_DLL PIX* pixRotate2Shear ( PIX pixs,
l_int32  xcen,
l_int32  ycen,
l_float32  angle,
l_int32  incolor 
)
LEPT_DLL PIX* pixRotate3Shear ( PIX pixs,
l_int32  xcen,
l_int32  ycen,
l_float32  angle,
l_int32  incolor 
)
LEPT_DLL PIX* pixRotate90 ( PIX pixs,
l_int32  direction 
)
LEPT_DLL PIX* pixRotateAM ( PIX pixs,
l_float32  angle,
l_int32  incolor 
)
LEPT_DLL PIX* pixRotateAMColor ( PIX pixs,
l_float32  angle,
l_uint32  colorval 
)
LEPT_DLL PIX* pixRotateAMColorCorner ( PIX pixs,
l_float32  angle,
l_uint32  fillval 
)
LEPT_DLL PIX* pixRotateAMColorFast ( PIX pixs,
l_float32  angle,
l_uint32  colorval 
)
LEPT_DLL PIX* pixRotateAMCorner ( PIX pixs,
l_float32  angle,
l_int32  incolor 
)
LEPT_DLL PIX* pixRotateAMGray ( PIX pixs,
l_float32  angle,
l_uint8  grayval 
)
LEPT_DLL PIX* pixRotateAMGrayCorner ( PIX pixs,
l_float32  angle,
l_uint8  grayval 
)
LEPT_DLL PIX* pixRotateBySampling ( PIX pixs,
l_int32  xcen,
l_int32  ycen,
l_float32  angle,
l_int32  incolor 
)
LEPT_DLL PIX* pixRotateOrth ( PIX pixs,
l_int32  quads 
)
LEPT_DLL PIX* pixRotateShear ( PIX pixs,
l_int32  xcen,
l_int32  ycen,
l_float32  angle,
l_int32  incolor 
)
LEPT_DLL PIX* pixRotateShearCenter ( PIX pixs,
l_float32  angle,
l_int32  incolor 
)
LEPT_DLL l_int32 pixRotateShearCenterIP ( PIX pixs,
l_float32  angle,
l_int32  incolor 
)
LEPT_DLL l_int32 pixRotateShearIP ( PIX pixs,
l_int32  xcen,
l_int32  ycen,
l_float32  angle,
l_int32  incolor 
)
LEPT_DLL NUMA* pixRunHistogramMorph ( PIX pixs,
l_int32  runtype,
l_int32  direction,
l_int32  maxsize 
)
LEPT_DLL PIX* pixRunlengthTransform ( PIX pixs,
l_int32  color,
l_int32  direction,
l_int32  depth 
)
LEPT_DLL l_int32 pixSauvolaBinarize ( PIX pixs,
l_int32  whsize,
l_float32  factor,
l_int32  addborder,
PIX **  ppixm,
PIX **  ppixsd,
PIX **  ppixth,
PIX **  ppixd 
)
LEPT_DLL l_int32 pixSauvolaBinarizeTiled ( PIX pixs,
l_int32  whsize,
l_float32  factor,
l_int32  nx,
l_int32  ny,
PIX **  ppixth,
PIX **  ppixd 
)
LEPT_DLL PIX* pixSauvolaGetThreshold ( PIX pixm,
PIX pixms,
l_float32  factor,
PIX **  ppixsd 
)
LEPT_DLL l_int32 pixSaveTiled ( PIX pixs,
PIXA pixa,
l_int32  reduction,
l_int32  newrow,
l_int32  space,
l_int32  dp 
)
LEPT_DLL PIX* pixScale ( PIX pixs,
l_float32  scalex,
l_float32  scaley 
)
LEPT_DLL PIX* pixScaleAreaMap ( PIX pix,
l_float32  scalex,
l_float32  scaley 
)
LEPT_DLL PIX* pixScaleAreaMap2 ( PIX pix  ) 
LEPT_DLL PIX* pixScaleBinary ( PIX pixs,
l_float32  scalex,
l_float32  scaley 
)
LEPT_DLL PIX* pixScaleBySampling ( PIX pixs,
l_float32  scalex,
l_float32  scaley 
)
LEPT_DLL PIX* pixScaleColor2xLI ( PIX pixs  ) 
LEPT_DLL PIX* pixScaleColor4xLI ( PIX pixs  ) 
LEPT_DLL PIX* pixScaleColorLI ( PIX pixs,
l_float32  scalex,
l_float32  scaley 
)
LEPT_DLL PIX* pixScaleGeneral ( PIX pixs,
l_float32  scalex,
l_float32  scaley,
l_float32  sharpfract,
l_int32  sharpwidth 
)
LEPT_DLL PIX* pixScaleGray2xLI ( PIX pixs  ) 
LEPT_DLL PIX* pixScaleGray2xLIDither ( PIX pixs  ) 
LEPT_DLL PIX* pixScaleGray2xLIThresh ( PIX pixs,
l_int32  thresh 
)
LEPT_DLL PIX* pixScaleGray4xLI ( PIX pixs  ) 
LEPT_DLL PIX* pixScaleGray4xLIDither ( PIX pixs  ) 
LEPT_DLL PIX* pixScaleGray4xLIThresh ( PIX pixs,
l_int32  thresh 
)
LEPT_DLL PIX* pixScaleGrayLI ( PIX pixs,
l_float32  scalex,
l_float32  scaley 
)
LEPT_DLL PIX* pixScaleGrayMinMax ( PIX pixs,
l_int32  xfact,
l_int32  yfact,
l_int32  type 
)
LEPT_DLL PIX* pixScaleGrayMinMax2 ( PIX pixs,
l_int32  type 
)
LEPT_DLL PIX* pixScaleGrayRank2 ( PIX pixs,
l_int32  rank 
)
LEPT_DLL PIX* pixScaleGrayRankCascade ( PIX pixs,
l_int32  level1,
l_int32  level2,
l_int32  level3,
l_int32  level4 
)
LEPT_DLL PIX* pixScaleGrayToBinaryFast ( PIX pixs,
l_int32  factor,
l_int32  thresh 
)
LEPT_DLL PIX* pixScaleLI ( PIX pixs,
l_float32  scalex,
l_float32  scaley 
)
LEPT_DLL PIX* pixScaleMipmap ( PIX pixs1,
PIX pixs2,
l_float32  scale 
)
LEPT_DLL l_int32 pixScaleResolution ( PIX pix,
l_float32  xscale,
l_float32  yscale 
)
LEPT_DLL PIX* pixScaleRGBToBinaryFast ( PIX pixs,
l_int32  factor,
l_int32  thresh 
)
LEPT_DLL PIX* pixScaleRGBToGray2 ( PIX pixs,
l_float32  rwt,
l_float32  gwt,
l_float32  bwt 
)
LEPT_DLL PIX* pixScaleRGBToGrayFast ( PIX pixs,
l_int32  factor,
l_int32  color 
)
LEPT_DLL PIX* pixScaleSmooth ( PIX pix,
l_float32  scalex,
l_float32  scaley 
)
LEPT_DLL PIX* pixScaleToGray ( PIX pixs,
l_float32  scalefactor 
)
LEPT_DLL PIX* pixScaleToGray16 ( PIX pixs  ) 
LEPT_DLL PIX* pixScaleToGray2 ( PIX pixs  ) 
LEPT_DLL PIX* pixScaleToGray3 ( PIX pixs  ) 
LEPT_DLL PIX* pixScaleToGray4 ( PIX pixs  ) 
LEPT_DLL PIX* pixScaleToGray6 ( PIX pixs  ) 
LEPT_DLL PIX* pixScaleToGray8 ( PIX pixs  ) 
LEPT_DLL PIX* pixScaleToGrayMipmap ( PIX pixs,
l_float32  scalefactor 
)
LEPT_DLL l_int32 pixScanForEdge ( PIX pixs,
BOX box,
l_int32  lowthresh,
l_int32  highthresh,
l_int32  maxwidth,
l_int32  factor,
l_int32  scanflag,
l_int32 ploc 
)
LEPT_DLL l_int32 pixScanForForeground ( PIX pixs,
BOX box,
l_int32  scanflag,
l_int32 ploc 
)
LEPT_DLL PTA* pixSearchBinaryMaze ( PIX pixs,
l_int32  xi,
l_int32  yi,
l_int32  xf,
l_int32  yf,
PIX **  ppixd 
)
LEPT_DLL PTA* pixSearchGrayMaze ( PIX pixs,
l_int32  xi,
l_int32  yi,
l_int32  xf,
l_int32  yf,
PIX **  ppixd 
)
LEPT_DLL l_int32 pixSeedfill ( PIX pixs,
L_STACK lstack,
l_int32  x,
l_int32  y,
l_int32  connectivity 
)
LEPT_DLL l_int32 pixSeedfill4 ( PIX pixs,
L_STACK lstack,
l_int32  x,
l_int32  y 
)
LEPT_DLL BOX* pixSeedfill4BB ( PIX pixs,
L_STACK lstack,
l_int32  x,
l_int32  y 
)
LEPT_DLL l_int32 pixSeedfill8 ( PIX pixs,
L_STACK lstack,
l_int32  x,
l_int32  y 
)
LEPT_DLL BOX* pixSeedfill8BB ( PIX pixs,
L_STACK lstack,
l_int32  x,
l_int32  y 
)
LEPT_DLL BOX* pixSeedfillBB ( PIX pixs,
L_STACK lstack,
l_int32  x,
l_int32  y,
l_int32  connectivity 
)
LEPT_DLL PIX* pixSeedfillBinary ( PIX pixd,
PIX pixs,
PIX pixm,
l_int32  connectivity 
)
LEPT_DLL PIX* pixSeedfillBinaryRestricted ( PIX pixd,
PIX pixs,
PIX pixm,
l_int32  connectivity,
l_int32  xmax,
l_int32  ymax 
)
LEPT_DLL l_int32 pixSeedfillGray ( PIX pixs,
PIX pixm,
l_int32  connectivity 
)
LEPT_DLL PIX* pixSeedfillGrayBasin ( PIX pixb,
PIX pixm,
l_int32  delta,
l_int32  connectivity 
)
LEPT_DLL l_int32 pixSeedfillGrayInv ( PIX pixs,
PIX pixm,
l_int32  connectivity 
)
LEPT_DLL l_int32 pixSeedfillGrayInvSimple ( PIX pixs,
PIX pixm,
l_int32  connectivity 
)
LEPT_DLL l_int32 pixSeedfillGraySimple ( PIX pixs,
PIX pixm,
l_int32  connectivity 
)
LEPT_DLL PIX* pixSeedfillMorph ( PIX pixs,
PIX pixm,
l_int32  connectivity 
)
LEPT_DLL PIX* pixSeedspread ( PIX pixs,
l_int32  connectivity 
)
LEPT_DLL PIX* pixSelectByAreaFraction ( PIX pixs,
l_float32  thresh,
l_int32  connectivity,
l_int32  type,
l_int32 pchanged 
)
LEPT_DLL PIX* pixSelectByAreaPerimRatio ( PIX pixs,
l_float32  thresh,
l_int32  connectivity,
l_int32  type,
l_int32 pchanged 
)
LEPT_DLL PIX* pixSelectBySize ( PIX pixs,
l_int32  width,
l_int32  height,
l_int32  connectivity,
l_int32  type,
l_int32  relation,
l_int32 pchanged 
)
LEPT_DLL PIX* pixSelectByWidthHeightRatio ( PIX pixs,
l_float32  thresh,
l_int32  connectivity,
l_int32  type,
l_int32 pchanged 
)
LEPT_DLL l_int32 pixSelectedLocalExtrema ( PIX pixs,
l_int32  mindist,
PIX **  ppixmin,
PIX **  ppixmax 
)
LEPT_DLL PIX* pixSelectiveConnCompFill ( PIX pixs,
l_int32  connectivity,
l_int32  minw,
l_int32  minh 
)
LEPT_DLL PTA* pixSelectMinInConnComp ( PIX pixs,
PIX pixm,
NUMA **  pnav 
)
LEPT_DLL l_int32 pixSetAll ( PIX pix  ) 
LEPT_DLL l_int32 pixSetAllArbitrary ( PIX pix,
l_uint32  val 
)
LEPT_DLL l_int32 pixSetBlackOrWhite ( PIX pixs,
l_int32  incolor 
)
LEPT_DLL l_int32 pixSetBorderVal ( PIX pixs,
l_int32  left,
l_int32  right,
l_int32  top,
l_int32  bot,
l_uint32  val 
)
LEPT_DLL l_int32 pixSetColormap ( PIX pix,
PIXCMAP colormap 
)
LEPT_DLL l_int32 pixSetData ( PIX pix,
l_uint32 data 
)
LEPT_DLL l_int32 pixSetDepth ( PIX pix,
l_int32  depth 
)
LEPT_DLL l_int32 pixSetDimensions ( PIX pix,
l_int32  w,
l_int32  h,
l_int32  d 
)
LEPT_DLL l_int32 pixSetHeight ( PIX pix,
l_int32  height 
)
LEPT_DLL l_int32 pixSetInputFormat ( PIX pix,
l_int32  informat 
)
LEPT_DLL l_int32 pixSetInRect ( PIX pix,
BOX box 
)
LEPT_DLL l_int32 pixSetInRectArbitrary ( PIX pix,
BOX box,
l_uint32  val 
)
LEPT_DLL l_int32 pixSetLowContrast ( PIX pixs1,
PIX pixs2,
l_int32  mindiff 
)
LEPT_DLL l_int32 pixSetMasked ( PIX pixd,
PIX pixm,
l_uint32  val 
)
LEPT_DLL l_int32 pixSetMaskedCmap ( PIX pixs,
PIX pixm,
l_int32  x,
l_int32  y,
l_int32  rval,
l_int32  gval,
l_int32  bval 
)
LEPT_DLL l_int32 pixSetMaskedGeneral ( PIX pixd,
PIX pixm,
l_uint32  val,
l_int32  x,
l_int32  y 
)
LEPT_DLL l_int32 pixSetMirroredBorder ( PIX pixs,
l_int32  left,
l_int32  right,
l_int32  top,
l_int32  bot 
)
LEPT_DLL l_int32 pixSetOrClearBorder ( PIX pixs,
l_int32  left,
l_int32  right,
l_int32  top,
l_int32  bot,
l_int32  op 
)
LEPT_DLL l_int32 pixSetPadBits ( PIX pix,
l_int32  val 
)
LEPT_DLL l_int32 pixSetPadBitsBand ( PIX pix,
l_int32  by,
l_int32  bh,
l_int32  val 
)
LEPT_DLL l_int32 pixSetPixel ( PIX pix,
l_int32  x,
l_int32  y,
l_uint32  val 
)
LEPT_DLL l_int32 pixSetPixelColumn ( PIX pix,
l_int32  col,
l_float32 colvect 
)
LEPT_DLL l_int32 pixSetResolution ( PIX pix,
l_uint32  xres,
l_uint32  yres 
)
LEPT_DLL l_int32 pixSetRGBComponent ( PIX pixd,
PIX pixs,
l_int32  color 
)
LEPT_DLL l_int32 pixSetRGBPixel ( PIX pix,
l_int32  x,
l_int32  y,
l_int32  rval,
l_int32  gval,
l_int32  bval 
)
LEPT_DLL l_int32 pixSetSelectCmap ( PIX pixs,
BOX box,
l_int32  sindex,
l_int32  rval,
l_int32  gval,
l_int32  bval 
)
LEPT_DLL l_int32 pixSetSelectMaskedCmap ( PIX pixs,
PIX pixm,
l_int32  x,
l_int32  y,
l_int32  sindex,
l_int32  rval,
l_int32  gval,
l_int32  bval 
)
LEPT_DLL l_int32 pixSetText ( PIX pix,
const char *  textstring 
)
LEPT_DLL l_int32 pixSetTextblock ( PIX pixs,
BMF bmf,
const char *  textstr,
l_uint32  val,
l_int32  x0,
l_int32  y0,
l_int32  wtext,
l_int32  firstindent,
l_int32 poverflow 
)
LEPT_DLL l_int32 pixSetTextline ( PIX pixs,
BMF bmf,
const char *  textstr,
l_uint32  val,
l_int32  x0,
l_int32  y0,
l_int32 pwidth,
l_int32 poverflow 
)
LEPT_DLL l_int32 pixSetWidth ( PIX pix,
l_int32  width 
)
LEPT_DLL l_int32 pixSetWpl ( PIX pix,
l_int32  wpl 
)
LEPT_DLL l_int32 pixSetXRes ( PIX pix,
l_uint32  res 
)
LEPT_DLL l_int32 pixSetYRes ( PIX pix,
l_uint32  res 
)
LEPT_DLL PIX* pixSimpleCaptcha ( PIX pixs,
l_int32  border,
l_int32  nterms,
l_uint32  seed,
l_uint32  color,
l_int32  cmapflag 
)
LEPT_DLL l_int32 pixSizesEqual ( PIX pix1,
PIX pix2 
)
LEPT_DLL l_int32 pixSmoothConnectedRegions ( PIX pixs,
PIX pixm,
l_int32  factor 
)
LEPT_DLL PIX* pixSnapColor ( PIX pixd,
PIX pixs,
l_uint32  srcval,
l_uint32  dstval,
l_int32  diff 
)
LEPT_DLL PIX* pixSnapColorCmap ( PIX pixd,
PIX pixs,
l_uint32  srcval,
l_uint32  dstval,
l_int32  diff 
)
LEPT_DLL PIX* pixSobelEdgeFilter ( PIX pixs,
l_int32  orientflag 
)
LEPT_DLL BOXA* pixSplitComponentIntoBoxa ( PIX pix,
BOX box,
l_int32  minsum,
l_int32  skipdist,
l_int32  delta,
l_int32  maxbg,
l_int32  maxcomps,
l_int32  remainder 
)
LEPT_DLL l_int32 pixSplitDistributionFgBg ( PIX pixs,
l_float32  scorefract,
l_int32  factor,
l_int32 pthresh,
l_int32 pfgval,
l_int32 pbgval,
l_int32  debugflag 
)
LEPT_DLL BOXA* pixSplitIntoBoxa ( PIX pixs,
l_int32  minsum,
l_int32  skipdist,
l_int32  delta,
l_int32  maxbg,
l_int32  maxcomps,
l_int32  remainder 
)
LEPT_DLL PTA* pixSubsampleBoundaryPixels ( PIX pixs,
l_int32  skip 
)
LEPT_DLL PIX* pixSubtract ( PIX pixd,
PIX pixs1,
PIX pixs2 
)
LEPT_DLL PIX* pixSubtractGray ( PIX pixd,
PIX pixs1,
PIX pixs2 
)
LEPT_DLL l_int32 pixSumPixelValues ( PIX pix,
BOX box,
l_float64 psum 
)
LEPT_DLL PIX* pixThin ( PIX pixs,
l_int32  type,
l_int32  connectivity,
l_int32  maxiters 
)
LEPT_DLL PIX* pixThinExamples ( PIX pixs,
l_int32  type,
l_int32  index,
l_int32  maxiters,
const char *  selfile 
)
LEPT_DLL PIX* pixThinGeneral ( PIX pixs,
l_int32  type,
SELA sela,
l_int32  maxiters 
)
LEPT_DLL PIX* pixThreshold8 ( PIX pixs,
l_int32  d,
l_int32  nlevels,
l_int32  cmapflag 
)
LEPT_DLL l_int32 pixThresholdForFgBg ( PIX pixs,
l_int32  factor,
l_int32  thresh,
l_int32 pfgval,
l_int32 pbgval 
)
LEPT_DLL PIX* pixThresholdGrayArb ( PIX pixs,
const char *  edgevals,
l_int32  outdepth,
l_int32  use_average,
l_int32  setblack,
l_int32  setwhite 
)
LEPT_DLL PIX* pixThresholdOn8bpp ( PIX pixs,
l_int32  nlevels,
l_int32  cmapflag 
)
LEPT_DLL l_int32 pixThresholdPixels ( PIX pix,
l_int32  thresh,
l_int32 pabove,
l_int32 tab8 
)
LEPT_DLL l_int32 pixThresholdSpreadNorm ( PIX pixs,
l_int32  filtertype,
l_int32  edgethresh,
l_int32  smoothx,
l_int32  smoothy,
l_float32  gamma,
l_int32  minval,
l_int32  maxval,
l_int32  targetthresh,
PIX **  ppixth,
PIX **  ppixb,
PIX **  ppixd 
)
LEPT_DLL PIX* pixThresholdTo2bpp ( PIX pixs,
l_int32  nlevels,
l_int32  cmapflag 
)
LEPT_DLL PIX* pixThresholdTo4bpp ( PIX pixs,
l_int32  nlevels,
l_int32  cmapflag 
)
LEPT_DLL PIX* pixThresholdToBinary ( PIX pixs,
l_int32  thresh 
)
LEPT_DLL PIX* pixThresholdToValue ( PIX pixd,
PIX pixs,
l_int32  threshval,
l_int32  setval 
)
LEPT_DLL PIXTILING* pixTilingCreate ( PIX pixs,
l_int32  nx,
l_int32  ny,
l_int32  w,
l_int32  h,
l_int32  xoverlap,
l_int32  yoverlap 
)
LEPT_DLL void pixTilingDestroy ( PIXTILING **  ppt  ) 
LEPT_DLL l_int32 pixTilingGetCount ( PIXTILING pt,
l_int32 pnx,
l_int32 pny 
)
LEPT_DLL l_int32 pixTilingGetSize ( PIXTILING pt,
l_int32 pw,
l_int32 ph 
)
LEPT_DLL PIX* pixTilingGetTile ( PIXTILING pt,
l_int32  i,
l_int32  j 
)
LEPT_DLL l_int32 pixTilingNoStripOnPaint ( PIXTILING pt  ) 
LEPT_DLL l_int32 pixTilingPaintTile ( PIX pixd,
l_int32  i,
l_int32  j,
PIX pixs,
PIXTILING pt 
)
LEPT_DLL PIX* pixTophat ( PIX pixs,
l_int32  hsize,
l_int32  vsize,
l_int32  type 
)
LEPT_DLL l_int32 pixTransferAllData ( PIX pixd,
PIX **  ppixs,
l_int32  copytext,
l_int32  copyformat 
)
LEPT_DLL PIX* pixTranslate ( PIX pixd,
PIX pixs,
l_int32  hshift,
l_int32  vshift,
l_int32  incolor 
)
LEPT_DLL l_int32 pixTRCMap ( PIX pixs,
PIX pixm,
NUMA na 
)
LEPT_DLL PIX* pixTwoSidedEdgeFilter ( PIX pixs,
l_int32  orientflag 
)
LEPT_DLL PIX* pixUnionOfMorphOps ( PIX pixs,
SELA sela,
l_int32  type 
)
LEPT_DLL PIX* pixUnpackBinary ( PIX pixs,
l_int32  depth,
l_int32  invert 
)
LEPT_DLL PIX* pixUnsharpMasking ( PIX pixs,
l_int32  halfwidth,
l_float32  fract 
)
LEPT_DLL PIX* pixUnsharpMaskingFast ( PIX pixs,
l_int32  halfwidth,
l_float32  fract,
l_int32  direction 
)
LEPT_DLL PIX* pixUnsharpMaskingGray ( PIX pixs,
l_int32  halfwidth,
l_float32  fract 
)
LEPT_DLL PIX* pixUnsharpMaskingGray1D ( PIX pixs,
l_int32  halfwidth,
l_float32  fract,
l_int32  direction 
)
LEPT_DLL PIX* pixUnsharpMaskingGray2D ( PIX pixs,
l_int32  halfwidth,
l_float32  fract 
)
LEPT_DLL PIX* pixUnsharpMaskingGrayFast ( PIX pixs,
l_int32  halfwidth,
l_float32  fract,
l_int32  direction 
)
LEPT_DLL l_int32 pixUpDownDetect ( PIX pixs,
l_float32 pconf,
l_int32  mincount,
l_int32  debug 
)
LEPT_DLL l_int32 pixUpDownDetectDwa ( PIX pixs,
l_float32 pconf,
l_int32  mincount,
l_int32  debug 
)
LEPT_DLL l_int32 pixUpDownDetectGeneral ( PIX pixs,
l_float32 pconf,
l_int32  mincount,
l_int32  npixels,
l_int32  debug 
)
LEPT_DLL l_int32 pixUpDownDetectGeneralDwa ( PIX pixs,
l_float32 pconf,
l_int32  mincount,
l_int32  npixels,
l_int32  debug 
)
LEPT_DLL l_int32 pixUsesCmapColor ( PIX pixs,
l_int32 pcolor 
)
LEPT_DLL PIX* pixVarThresholdToBinary ( PIX pixs,
PIX pixg 
)
LEPT_DLL PIX* pixVShear ( PIX pixd,
PIX pixs,
l_int32  linex,
l_float32  radang,
l_int32  incolor 
)
LEPT_DLL PIX* pixVShearCenter ( PIX pixd,
PIX pixs,
l_float32  radang,
l_int32  incolor 
)
LEPT_DLL PIX* pixVShearCorner ( PIX pixd,
PIX pixs,
l_float32  radang,
l_int32  incolor 
)
LEPT_DLL l_int32 pixVShearIP ( PIX pixs,
l_int32  linex,
l_float32  radang,
l_int32  incolor 
)
LEPT_DLL PIX* pixWindowedMean ( PIX pixs,
l_int32  wc,
l_int32  hc,
l_int32  normflag 
)
LEPT_DLL PIX* pixWindowedMeanSquare ( PIX pixs,
l_int32  size 
)
LEPT_DLL PIX* pixWoodfillTransform ( PIX pixs,
l_int32  halfsize,
PIX pixacc 
)
LEPT_DLL PIX* pixWordMaskByDilation ( PIX pixs,
l_int32  maxsize,
l_int32 psize 
)
LEPT_DLL l_int32 pixWrite ( const char *  filename,
PIX pix,
l_int32  format 
)
LEPT_DLL l_int32 pixWriteImpliedFormat ( const char *  filename,
PIX pix,
l_int32  quality,
l_int32  progressive 
)
LEPT_DLL l_int32 pixWriteJpeg ( const char *  filename,
PIX pix,
l_int32  quality,
l_int32  progressive 
)
LEPT_DLL l_int32 pixWriteMem ( l_uint8 **  pdata,
size_t *  psize,
PIX pix,
l_int32  format 
)
LEPT_DLL l_int32 pixWriteMemBmp ( l_uint8 **  pdata,
size_t *  psize,
PIX pix 
)
LEPT_DLL l_int32 pixWriteMemJpeg ( l_uint8 **  pdata,
size_t *  psize,
PIX pix,
l_int32  quality,
l_int32  progressive 
)
LEPT_DLL l_int32 pixWriteMemPng ( l_uint8 **  pdata,
size_t *  psize,
PIX pix,
l_float32  gamma 
)
LEPT_DLL l_int32 pixWriteMemPnm ( l_uint8 **  pdata,
size_t *  psize,
PIX pix 
)
LEPT_DLL l_int32 pixWriteMemPS ( l_uint8 **  pdata,
size_t *  psize,
PIX pix,
BOX box,
l_int32  res,
l_float32  scale 
)
LEPT_DLL l_int32 pixWriteMemTiff ( l_uint8 **  pdata,
size_t *  psize,
PIX pix,
l_int32  comptype 
)
LEPT_DLL l_int32 pixWriteMemTiffCustom ( l_uint8 **  pdata,
size_t *  psize,
PIX pix,
l_int32  comptype,
NUMA natags,
SARRAY savals,
SARRAY satypes,
NUMA nasizes 
)
LEPT_DLL l_int32 pixWriteMixedToPS ( PIX pixb,
PIX pixc,
l_float32  scale,
l_int32  pageno,
const char *  fileout 
)
LEPT_DLL l_int32 pixWritePng ( const char *  filename,
PIX pix,
l_float32  gamma 
)
LEPT_DLL l_int32 pixWritePSEmbed ( const char *  filein,
const char *  fileout 
)
LEPT_DLL l_int32 pixWriteSegmentedPageToPS ( PIX pixs,
PIX pixm,
l_float32  textscale,
l_float32  imagescale,
l_int32  threshold,
l_int32  pageno,
const char *  fileout 
)
LEPT_DLL l_int32 pixWriteStream ( FILE *  fp,
PIX pix,
l_int32  format 
)
LEPT_DLL l_int32 pixWriteStreamAsciiPnm ( FILE *  fp,
PIX pix 
)
LEPT_DLL l_int32 pixWriteStreamBmp ( FILE *  fp,
PIX pix 
)
LEPT_DLL l_int32 pixWriteStreamGif ( FILE *  fp,
PIX pix 
)
LEPT_DLL l_int32 pixWriteStreamJpeg ( FILE *  fp,
PIX pix,
l_int32  quality,
l_int32  progressive 
)
LEPT_DLL l_int32 pixWriteStreamPng ( FILE *  fp,
PIX pix,
l_float32  gamma 
)
LEPT_DLL l_int32 pixWriteStreamPnm ( FILE *  fp,
PIX pix 
)
LEPT_DLL l_int32 pixWriteStreamPS ( FILE *  fp,
PIX pix,
BOX box,
l_int32  res,
l_float32  scale 
)
LEPT_DLL l_int32 pixWriteStreamTiff ( FILE *  fp,
PIX pix,
l_int32  comptype 
)
LEPT_DLL char* pixWriteStringPS ( PIX pixs,
BOX box,
l_int32  res,
l_float32  scale 
)
LEPT_DLL l_int32 pixWriteTiff ( const char *  filename,
PIX pix,
l_int32  comptype,
const char *  modestring 
)
LEPT_DLL l_int32 pixWriteTiffCustom ( const char *  filename,
PIX pix,
l_int32  comptype,
const char *  modestring,
NUMA natags,
SARRAY savals,
SARRAY satypes,
NUMA nasizes 
)
LEPT_DLL PIX* pixXor ( PIX pixd,
PIX pixs1,
PIX pixs2 
)
LEPT_DLL l_int32 pixZero ( PIX pix,
l_int32 pempty 
)
LEPT_DLL l_int32 pmsCreate ( size_t  minsize,
size_t  smallest,
NUMA numalloc,
const char *  logfile 
)
LEPT_DLL void* pmsCustomAlloc ( size_t  nbytes  ) 
LEPT_DLL void pmsCustomDealloc ( void *  data  ) 
LEPT_DLL void pmsDestroy (  ) 
LEPT_DLL void* pmsGetAlloc ( size_t  nbytes  ) 
LEPT_DLL l_int32 pmsGetLevelForAlloc ( size_t  nbytes,
l_int32 plevel 
)
LEPT_DLL l_int32 pmsGetLevelForDealloc ( void *  data,
l_int32 plevel 
)
LEPT_DLL void pmsLogInfo (  ) 
LEPT_DLL l_int32 projectiveXformPt ( l_float32 vc,
l_int32  x,
l_int32  y,
l_float32 pxp,
l_float32 pyp 
)
LEPT_DLL l_int32 projectiveXformSampledPt ( l_float32 vc,
l_int32  x,
l_int32  y,
l_int32 pxp,
l_int32 pyp 
)
LEPT_DLL l_int32 ptaaAddPta ( PTAA ptaa,
PTA pta,
l_int32  copyflag 
)
LEPT_DLL PTAA* ptaaCreate ( l_int32  n  ) 
LEPT_DLL l_int32 ptaAddPt ( PTA pta,
l_float32  x,
l_float32  y 
)
LEPT_DLL void ptaaDestroy ( PTAA **  pptaa  ) 
LEPT_DLL l_int32 ptaaExtendArray ( PTAA ptaa  ) 
LEPT_DLL PTA* ptaAffineTransform ( PTA ptas,
l_float32 mat 
)
LEPT_DLL PTAA* ptaaGetBoundaryPixels ( PIX pixs,
l_int32  type,
l_int32  connectivity,
BOXA **  pboxa,
PIXA **  ppixa 
)
LEPT_DLL l_int32 ptaaGetCount ( PTAA ptaa  ) 
LEPT_DLL PTA* ptaaGetPta ( PTAA ptaa,
l_int32  index,
l_int32  accessflag 
)
LEPT_DLL PTAA* ptaaRead ( const char *  filename  ) 
LEPT_DLL PTAA* ptaaReadStream ( FILE *  fp  ) 
LEPT_DLL l_int32 ptaaWrite ( const char *  filename,
PTAA ptaa,
l_int32  type 
)
LEPT_DLL l_int32 ptaaWriteStream ( FILE *  fp,
PTAA ptaa,
l_int32  type 
)
LEPT_DLL l_int32 ptaChangeRefcount ( PTA pta,
l_int32  delta 
)
LEPT_DLL PTA* ptaClone ( PTA pta  ) 
LEPT_DLL l_int32 ptaContainsPt ( PTA pta,
l_int32  x,
l_int32  y 
)
LEPT_DLL BOXA* ptaConvertToBoxa ( PTA pta,
l_int32  ncorners 
)
LEPT_DLL PTA* ptaCopy ( PTA pta  ) 
LEPT_DLL PTA* ptaCreate ( l_int32  n  ) 
LEPT_DLL PTA* ptaCyclicPerm ( PTA ptas,
l_int32  xs,
l_int32  ys 
)
LEPT_DLL void ptaDestroy ( PTA **  ppta  ) 
LEPT_DLL l_int32 ptaEmpty ( PTA pta  ) 
LEPT_DLL l_int32 ptaExtendArrays ( PTA pta  ) 
LEPT_DLL l_int32 ptaGetArrays ( PTA pta,
NUMA **  pnax,
NUMA **  pnay 
)
LEPT_DLL PTA* ptaGetBoundaryPixels ( PIX pixs,
l_int32  type 
)
LEPT_DLL l_int32 ptaGetCount ( PTA pta  ) 
LEPT_DLL BOX* ptaGetExtent ( PTA pta  ) 
LEPT_DLL PTA* ptaGetInsideBox ( PTA ptas,
BOX box 
)
LEPT_DLL l_int32 ptaGetIPt ( PTA pta,
l_int32  index,
l_int32 px,
l_int32 py 
)
LEPT_DLL l_int32 ptaGetLinearLSF ( PTA pta,
l_float32 pa,
l_float32 pb,
NUMA **  pnafit 
)
LEPT_DLL PTA* ptaGetPixelsFromPix ( PIX pixs,
BOX box 
)
LEPT_DLL l_int32 ptaGetPt ( PTA pta,
l_int32  index,
l_float32 px,
l_float32 py 
)
LEPT_DLL l_int32 ptaGetRefcount ( PTA pta  ) 
LEPT_DLL l_int32 ptaJoin ( PTA ptad,
PTA ptas,
l_int32  istart,
l_int32  iend 
)
LEPT_DLL PTA* ptaRead ( const char *  filename  ) 
LEPT_DLL PTA* ptaReadStream ( FILE *  fp  ) 
LEPT_DLL PTA* ptaRemoveDuplicates ( PTA ptas,
l_uint32  factor 
)
LEPT_DLL PTA* ptaReverse ( PTA ptas,
l_int32  type 
)
LEPT_DLL PTA* ptaRotate ( PTA ptas,
l_float32  xc,
l_float32  yc,
l_float32  angle 
)
LEPT_DLL PTA* ptaScale ( PTA ptas,
l_float32  scalex,
l_float32  scaley 
)
LEPT_DLL PTA* ptaSort ( PTA ptas,
l_int32  sorttype,
l_int32  sortorder,
NUMA **  pnaindex 
)
LEPT_DLL PTA* ptaSubsample ( PTA ptas,
l_int32  subfactor 
)
LEPT_DLL l_int32 ptaTestIntersection ( PTA pta1,
PTA pta2 
)
LEPT_DLL PTA* ptaTransform ( PTA ptas,
l_int32  shiftx,
l_int32  shifty,
l_float32  scalex,
l_float32  scaley 
)
LEPT_DLL PTA* ptaTranslate ( PTA ptas,
l_float32  transx,
l_float32  transy 
)
LEPT_DLL l_int32 ptaWrite ( const char *  filename,
PTA pta,
l_int32  type 
)
LEPT_DLL l_int32 ptaWriteStream ( FILE *  fp,
PTA pta,
l_int32  type 
)
LEPT_DLL L_PTRAA* ptraaCreate ( l_int32  n  ) 
LEPT_DLL l_int32 ptraAdd ( L_PTRA pa,
void *  item 
)
LEPT_DLL void ptraaDestroy ( L_PTRAA **  ppaa,
l_int32  freeflag,
l_int32  warnflag 
)
LEPT_DLL L_PTRA* ptraaFlattenToPtra ( L_PTRAA paa  ) 
LEPT_DLL L_PTRA* ptraaGetPtra ( L_PTRAA paa,
l_int32  index,
l_int32  accessflag 
)
LEPT_DLL l_int32 ptraaGetSize ( L_PTRAA paa,
l_int32 psize 
)
LEPT_DLL l_int32 ptraaInsertPtra ( L_PTRAA paa,
l_int32  index,
L_PTRA pa 
)
LEPT_DLL l_int32 ptraCompactArray ( L_PTRA pa  ) 
LEPT_DLL L_PTRA* ptraCreate ( l_int32  n  ) 
LEPT_DLL void ptraDestroy ( L_PTRA **  ppa,
l_int32  freeflag,
l_int32  warnflag 
)
LEPT_DLL l_int32 ptraExtendArray ( L_PTRA pa  ) 
LEPT_DLL l_int32 ptraGetActualCount ( L_PTRA pa,
l_int32 pcount 
)
LEPT_DLL void* ptraGetHandle ( L_PTRA pa,
l_int32  index 
)
LEPT_DLL l_int32 ptraGetMaxIndex ( L_PTRA pa,
l_int32 pmaxindex 
)
LEPT_DLL void* ptraGetPtrToItem ( L_PTRA pa,
l_int32  index 
)
LEPT_DLL l_int32 ptraInsert ( L_PTRA pa,
l_int32  index,
void *  item,
l_int32  shiftflag 
)
LEPT_DLL l_int32 ptraJoin ( L_PTRA pa1,
L_PTRA pa2 
)
LEPT_DLL void* ptraRemove ( L_PTRA pa,
l_int32  index,
l_int32  flag 
)
LEPT_DLL void* ptraRemoveLast ( L_PTRA pa  ) 
LEPT_DLL void* ptraReplace ( L_PTRA pa,
l_int32  index,
void *  item,
l_int32  freeflag 
)
LEPT_DLL l_int32 ptraReverse ( L_PTRA pa  ) 
LEPT_DLL l_int32 ptraSwap ( L_PTRA pa,
l_int32  index1,
l_int32  index2 
)
LEPT_DLL void rasteropHipLow ( l_uint32 data,
l_int32  pixh,
l_int32  depth,
l_int32  wpl,
l_int32  y,
l_int32  h,
l_int32  shift 
)
LEPT_DLL void rasteropLow ( l_uint32 datad,
l_int32  dpixw,
l_int32  dpixh,
l_int32  depth,
l_int32  dwpl,
l_int32  dx,
l_int32  dy,
l_int32  dw,
l_int32  dh,
l_int32  op,
l_uint32 datas,
l_int32  spixw,
l_int32  spixh,
l_int32  swpl,
l_int32  sx,
l_int32  sy 
)
LEPT_DLL void rasteropUniLow ( l_uint32 datad,
l_int32  dpixw,
l_int32  dpixh,
l_int32  depth,
l_int32  dwpl,
l_int32  dx,
l_int32  dy,
l_int32  dw,
l_int32  dh,
l_int32  op 
)
LEPT_DLL void rasteropVipLow ( l_uint32 data,
l_int32  pixw,
l_int32  pixh,
l_int32  depth,
l_int32  wpl,
l_int32  x,
l_int32  w,
l_int32  shift 
)
LEPT_DLL l_int32 readHeaderMemTiff ( const l_uint8 cdata,
size_t  size,
l_int32  n,
l_int32 pwidth,
l_int32 pheight,
l_int32 pbps,
l_int32 pspp,
l_int32 pres,
l_int32 pcmap 
)
LEPT_DLL l_int32 readHeaderPng ( const char *  filename,
l_int32 pwidth,
l_int32 pheight,
l_int32 pbpc,
l_int32 pcpp,
l_int32 piscmap 
)
LEPT_DLL l_int32 readHeaderTiff ( const char *  filename,
l_int32  n,
l_int32 pwidth,
l_int32 pheight,
l_int32 pbps,
l_int32 pspp,
l_int32 pres,
l_int32 pcmap 
)
LEPT_DLL void* reallocNew ( void **  pindata,
l_int32  oldsize,
l_int32  newsize 
)
LEPT_DLL void reduceBinary2Low ( l_uint32 datad,
l_int32  wpld,
l_uint32 datas,
l_int32  hs,
l_int32  wpls,
l_uint8 tab 
)
LEPT_DLL void reduceRankBinary2Low ( l_uint32 datad,
l_int32  wpld,
l_uint32 datas,
l_int32  hs,
l_int32  wpls,
l_uint8 tab,
l_int32  level 
)
LEPT_DLL void resetMorphBoundaryCondition ( l_int32  bc  ) 
LEPT_DLL l_float32 returnErrorFloat ( const char *  msg,
const char *  procname,
l_float32  fval 
)
LEPT_DLL l_int32 returnErrorInt ( const char *  msg,
const char *  procname,
l_int32  ival 
)
LEPT_DLL void* returnErrorPtr ( const char *  msg,
const char *  procname,
void *  pval 
)
LEPT_DLL void returnErrorVoid ( const char *  msg,
const char *  procname 
)
LEPT_DLL void rotate90Low ( l_uint32 datad,
l_int32  wd,
l_int32  hd,
l_int32  d,
l_int32  wpld,
l_uint32 datas,
l_int32  wpls,
l_int32  direction 
)
LEPT_DLL void rotateAMColorCornerLow ( l_uint32 datad,
l_int32  w,
l_int32  h,
l_int32  wpld,
l_uint32 datas,
l_int32  wpls,
l_float32  angle,
l_uint32  colorval 
)
LEPT_DLL void rotateAMColorFastLow ( l_uint32 datad,
l_int32  w,
l_int32  h,
l_int32  wpld,
l_uint32 datas,
l_int32  wpls,
l_float32  angle,
l_uint32  colorval 
)
LEPT_DLL void rotateAMColorLow ( l_uint32 datad,
l_int32  w,
l_int32  h,
l_int32  wpld,
l_uint32 datas,
l_int32  wpls,
l_float32  angle,
l_uint32  colorval 
)
LEPT_DLL void rotateAMGrayCornerLow ( l_uint32 datad,
l_int32  w,
l_int32  h,
l_int32  wpld,
l_uint32 datas,
l_int32  wpls,
l_float32  angle,
l_uint8  grayval 
)
LEPT_DLL void rotateAMGrayLow ( l_uint32 datad,
l_int32  w,
l_int32  h,
l_int32  wpld,
l_uint32 datas,
l_int32  wpls,
l_float32  angle,
l_uint8  grayval 
)
LEPT_DLL l_int32 runlengthMembershipOnLine ( l_int32 buffer,
l_int32  size,
l_int32  depth,
l_int32 start,
l_int32 end,
l_int32  n 
)
LEPT_DLL l_int32 sarrayAddString ( SARRAY sa,
char *  string,
l_int32  copyflag 
)
LEPT_DLL l_int32 sarrayAppend ( const char *  filename,
SARRAY sa 
)
LEPT_DLL l_int32 sarrayAppendRange ( SARRAY sa1,
SARRAY sa2,
l_int32  start,
l_int32  end 
)
LEPT_DLL l_int32 sarrayChangeRefcount ( SARRAY sa,
l_int32  delta 
)
LEPT_DLL l_int32 sarrayClear ( SARRAY sa  ) 
LEPT_DLL SARRAY* sarrayClone ( SARRAY sa  ) 
LEPT_DLL l_int32 sarrayConcatenate ( SARRAY sa1,
SARRAY sa2 
)
LEPT_DLL l_int32 sarrayConvertFilesFittedToPS ( SARRAY sa,
l_float32  xpts,
l_float32  ypts,
const char *  fileout 
)
LEPT_DLL l_int32 sarrayConvertFilesToPS ( SARRAY sa,
l_int32  res,
const char *  fileout 
)
LEPT_DLL SARRAY* sarrayConvertWordsToLines ( SARRAY sa,
l_int32  linesize 
)
LEPT_DLL SARRAY* sarrayCopy ( SARRAY sa  ) 
LEPT_DLL SARRAY* sarrayCreate ( l_int32  n  ) 
LEPT_DLL SARRAY* sarrayCreateLinesFromString ( char *  string,
l_int32  blankflag 
)
LEPT_DLL SARRAY* sarrayCreateWordsFromString ( const char *  string  ) 
LEPT_DLL void sarrayDestroy ( SARRAY **  psa  ) 
LEPT_DLL l_int32 sarrayExtendArray ( SARRAY sa  ) 
LEPT_DLL NUMA* sarrayFindMaskAndPagePairings ( SARRAY sapage,
SARRAY samask,
l_int32  numpre,
l_int32  numpost,
l_int32  maxnum 
)
LEPT_DLL char** sarrayGetArray ( SARRAY sa,
l_int32 pnalloc,
l_int32 pn 
)
LEPT_DLL l_int32 sarrayGetCount ( SARRAY sa  ) 
LEPT_DLL l_int32 sarrayGetRefcount ( SARRAY sa  ) 
LEPT_DLL char* sarrayGetString ( SARRAY sa,
l_int32  index,
l_int32  copyflag 
)
LEPT_DLL l_int32 sarrayParseRange ( SARRAY sa,
l_int32  start,
l_int32 pactualstart,
l_int32 pend,
l_int32 pnewstart,
const char *  substr,
l_int32  loc 
)
LEPT_DLL SARRAY* sarrayRead ( const char *  filename  ) 
LEPT_DLL SARRAY* sarrayReadStream ( FILE *  fp  ) 
LEPT_DLL char* sarrayRemoveString ( SARRAY sa,
l_int32  index 
)
LEPT_DLL SARRAY* sarraySelectBySubstring ( SARRAY sain,
const char *  substr 
)
LEPT_DLL SARRAY* sarraySort ( SARRAY saout,
SARRAY sain,
l_int32  sortorder 
)
LEPT_DLL l_int32 sarraySplitString ( SARRAY sa,
const char *  str,
const char *  separators 
)
LEPT_DLL char* sarrayToString ( SARRAY sa,
l_int32  addnlflag 
)
LEPT_DLL char* sarrayToStringRange ( SARRAY sa,
l_int32  first,
l_int32  nstrings,
l_int32  addnlflag 
)
LEPT_DLL l_int32 sarrayWrite ( const char *  filename,
SARRAY sa 
)
LEPT_DLL l_int32 sarrayWriteStream ( FILE *  fp,
SARRAY sa 
)
LEPT_DLL void scaleAreaMapLow2 ( l_uint32 datad,
l_int32  wd,
l_int32  hd,
l_int32  wpld,
l_uint32 datas,
l_int32  d,
l_int32  wpls 
)
LEPT_DLL l_int32 scaleBinaryLow ( l_uint32 datad,
l_int32  wd,
l_int32  hd,
l_int32  wpld,
l_uint32 datas,
l_int32  ws,
l_int32  hs,
l_int32  wpls 
)
LEPT_DLL l_int32 scaleBySamplingLow ( l_uint32 datad,
l_int32  wd,
l_int32  hd,
l_int32  wpld,
l_uint32 datas,
l_int32  ws,
l_int32  hs,
l_int32  d,
l_int32  wpls 
)
LEPT_DLL void scaleColor2xLILineLow ( l_uint32 lined,
l_int32  wpld,
l_uint32 lines,
l_int32  ws,
l_int32  wpls,
l_int32  lastlineflag 
)
LEPT_DLL void scaleColor2xLILow ( l_uint32 datad,
l_int32  wpld,
l_uint32 datas,
l_int32  ws,
l_int32  hs,
l_int32  wpls 
)
LEPT_DLL void scaleColorAreaMapLow ( l_uint32 datad,
l_int32  wd,
l_int32  hd,
l_int32  wpld,
l_uint32 datas,
l_int32  ws,
l_int32  hs,
l_int32  wpls 
)
LEPT_DLL void scaleColorLILow ( l_uint32 datad,
l_int32  wd,
l_int32  hd,
l_int32  wpld,
l_uint32 datas,
l_int32  ws,
l_int32  hs,
l_int32  wpls 
)
LEPT_DLL void scaleGray2xLILineLow ( l_uint32 lined,
l_int32  wpld,
l_uint32 lines,
l_int32  ws,
l_int32  wpls,
l_int32  lastlineflag 
)
LEPT_DLL void scaleGray2xLILow ( l_uint32 datad,
l_int32  wpld,
l_uint32 datas,
l_int32  ws,
l_int32  hs,
l_int32  wpls 
)
LEPT_DLL void scaleGray4xLILineLow ( l_uint32 lined,
l_int32  wpld,
l_uint32 lines,
l_int32  ws,
l_int32  wpls,
l_int32  lastlineflag 
)
LEPT_DLL void scaleGray4xLILow ( l_uint32 datad,
l_int32  wpld,
l_uint32 datas,
l_int32  ws,
l_int32  hs,
l_int32  wpls 
)
LEPT_DLL void scaleGrayAreaMapLow ( l_uint32 datad,
l_int32  wd,
l_int32  hd,
l_int32  wpld,
l_uint32 datas,
l_int32  ws,
l_int32  hs,
l_int32  wpls 
)
LEPT_DLL void scaleGrayLILow ( l_uint32 datad,
l_int32  wd,
l_int32  hd,
l_int32  wpld,
l_uint32 datas,
l_int32  ws,
l_int32  hs,
l_int32  wpls 
)
LEPT_DLL l_int32 scaleMipmapLow ( l_uint32 datad,
l_int32  wd,
l_int32  hd,
l_int32  wpld,
l_uint32 datas1,
l_int32  wpls1,
l_uint32 datas2,
l_int32  wpls2,
l_float32  red 
)
LEPT_DLL void scaleRGBToGray2Low ( l_uint32 datad,
l_int32  wd,
l_int32  hd,
l_int32  wpld,
l_uint32 datas,
l_int32  wpls,
l_float32  rwt,
l_float32  gwt,
l_float32  bwt 
)
LEPT_DLL l_int32 scaleSmoothLow ( l_uint32 datad,
l_int32  wd,
l_int32  hd,
l_int32  wpld,
l_uint32 datas,
l_int32  ws,
l_int32  hs,
l_int32  d,
l_int32  wpls,
l_int32  size 
)
LEPT_DLL void scaleToGray16Low ( l_uint32 datad,
l_int32  wd,
l_int32  hd,
l_int32  wpld,
l_uint32 datas,
l_int32  wpls,
l_int32 tab8 
)
LEPT_DLL void scaleToGray2Low ( l_uint32 datad,
l_int32  wd,
l_int32  hd,
l_int32  wpld,
l_uint32 datas,
l_int32  wpls,
l_uint32 sumtab,
l_uint8 valtab 
)
LEPT_DLL void scaleToGray3Low ( l_uint32 datad,
l_int32  wd,
l_int32  hd,
l_int32  wpld,
l_uint32 datas,
l_int32  wpls,
l_uint32 sumtab,
l_uint8 valtab 
)
LEPT_DLL void scaleToGray4Low ( l_uint32 datad,
l_int32  wd,
l_int32  hd,
l_int32  wpld,
l_uint32 datas,
l_int32  wpls,
l_uint32 sumtab,
l_uint8 valtab 
)
LEPT_DLL void scaleToGray6Low ( l_uint32 datad,
l_int32  wd,
l_int32  hd,
l_int32  wpld,
l_uint32 datas,
l_int32  wpls,
l_int32 tab8,
l_uint8 valtab 
)
LEPT_DLL void scaleToGray8Low ( l_uint32 datad,
l_int32  wd,
l_int32  hd,
l_int32  wpld,
l_uint32 datas,
l_int32  wpls,
l_int32 tab8,
l_uint8 valtab 
)
LEPT_DLL void seedfillBinaryLow ( l_uint32 datas,
l_int32  hs,
l_int32  wpls,
l_uint32 datam,
l_int32  hm,
l_int32  wplm,
l_int32  connectivity 
)
LEPT_DLL void seedfillGrayInvLow ( l_uint32 datas,
l_int32  w,
l_int32  h,
l_int32  wpls,
l_uint32 datam,
l_int32  wplm,
l_int32  connectivity 
)
LEPT_DLL void seedfillGrayInvLowSimple ( l_uint32 datas,
l_int32  w,
l_int32  h,
l_int32  wpls,
l_uint32 datam,
l_int32  wplm,
l_int32  connectivity 
)
LEPT_DLL void seedfillGrayLow ( l_uint32 datas,
l_int32  w,
l_int32  h,
l_int32  wpls,
l_uint32 datam,
l_int32  wplm,
l_int32  connectivity 
)
LEPT_DLL void seedfillGrayLowSimple ( l_uint32 datas,
l_int32  w,
l_int32  h,
l_int32  wpls,
l_uint32 datam,
l_int32  wplm,
l_int32  connectivity 
)
LEPT_DLL void seedspreadLow ( l_uint32 datad,
l_int32  w,
l_int32  h,
l_int32  wpld,
l_uint32 datat,
l_int32  wplt,
l_int32  connectivity 
)
LEPT_DLL SELA* selaAddBasic ( SELA sela  ) 
LEPT_DLL SELA* selaAddCrossJunctions ( SELA sela,
l_float32  hlsize,
l_float32  mdist,
l_int32  norient,
l_int32  debugflag 
)
LEPT_DLL SELA* selaAddDwaCombs ( SELA sela  ) 
LEPT_DLL SELA* selaAddDwaLinear ( SELA sela  ) 
LEPT_DLL SELA* selaAddHitMiss ( SELA sela  ) 
LEPT_DLL l_int32 selaAddSel ( SELA sela,
SEL sel,
const char *  selname,
l_int32  copyflag 
)
LEPT_DLL SELA* selaAddTJunctions ( SELA sela,
l_float32  hlsize,
l_float32  mdist,
l_int32  norient,
l_int32  debugflag 
)
LEPT_DLL SELA* selaCreate ( l_int32  n  ) 
LEPT_DLL SELA* selaCreateFromFile ( const char *  filename  ) 
LEPT_DLL void selaDestroy ( SELA **  psela  ) 
LEPT_DLL PIX* selaDisplayInPix ( SELA sela,
l_int32  size,
l_int32  gthick,
l_int32  spacing,
l_int32  ncols 
)
LEPT_DLL l_int32 selaExtendArray ( SELA sela  ) 
LEPT_DLL l_int32 selaFindSelByName ( SELA sela,
const char *  name,
l_int32 pindex,
SEL **  psel 
)
LEPT_DLL char* selaGetBrickName ( SELA sela,
l_int32  hsize,
l_int32  vsize 
)
LEPT_DLL char* selaGetCombName ( SELA sela,
l_int32  size,
l_int32  direction 
)
LEPT_DLL l_int32 selaGetCount ( SELA sela  ) 
LEPT_DLL SEL* selaGetSel ( SELA sela,
l_int32  i 
)
LEPT_DLL SARRAY* selaGetSelnames ( SELA sela  ) 
LEPT_DLL SELA* selaRead ( const char *  fname  ) 
LEPT_DLL SELA* selaReadStream ( FILE *  fp  ) 
LEPT_DLL l_int32 selaWrite ( const char *  fname,
SELA sela 
)
LEPT_DLL l_int32 selaWriteStream ( FILE *  fp,
SELA sela 
)
LEPT_DLL SEL* selCopy ( SEL sel  ) 
LEPT_DLL SEL* selCreate ( l_int32  height,
l_int32  width,
const char *  name 
)
LEPT_DLL SEL* selCreateBrick ( l_int32  h,
l_int32  w,
l_int32  cy,
l_int32  cx,
l_int32  type 
)
LEPT_DLL SEL* selCreateComb ( l_int32  factor1,
l_int32  factor2,
l_int32  direction 
)
LEPT_DLL SEL* selCreateFromColorPix ( PIX pixs,
char *  selname 
)
LEPT_DLL SEL* selCreateFromPix ( PIX pix,
l_int32  cy,
l_int32  cx,
const char *  name 
)
LEPT_DLL SEL* selCreateFromPta ( PTA pta,
l_int32  cy,
l_int32  cx,
const char *  name 
)
LEPT_DLL SEL* selCreateFromString ( const char *  text,
l_int32  h,
l_int32  w,
const char *  name 
)
LEPT_DLL void selDestroy ( SEL **  psel  ) 
LEPT_DLL PIX* selDisplayInPix ( SEL sel,
l_int32  size,
l_int32  gthick 
)
LEPT_DLL l_int32 selectComposableSels ( l_int32  size,
l_int32  direction,
SEL **  psel1,
SEL **  psel2 
)
LEPT_DLL l_int32 selectComposableSizes ( l_int32  size,
l_int32 pfactor1,
l_int32 pfactor2 
)
LEPT_DLL l_int32 selFindMaxTranslations ( SEL sel,
l_int32 pxp,
l_int32 pyp,
l_int32 pxn,
l_int32 pyn 
)
LEPT_DLL l_int32 selGetElement ( SEL sel,
l_int32  row,
l_int32  col,
l_int32 ptype 
)
LEPT_DLL char* selGetName ( SEL sel  ) 
LEPT_DLL l_int32 selGetParameters ( SEL sel,
l_int32 psy,
l_int32 psx,
l_int32 pcy,
l_int32 pcx 
)
LEPT_DLL l_int32 selGetTypeAtOrigin ( SEL sel,
l_int32 ptype 
)
LEPT_DLL char* selPrintToString ( SEL sel  ) 
LEPT_DLL SEL* selRead ( const char *  fname  ) 
LEPT_DLL SEL* selReadFromColorImage ( const char *  pathname  ) 
LEPT_DLL SEL* selReadStream ( FILE *  fp  ) 
LEPT_DLL SEL* selRotateOrth ( SEL sel,
l_int32  quads 
)
LEPT_DLL l_int32 selSetElement ( SEL sel,
l_int32  row,
l_int32  col,
l_int32  type 
)
LEPT_DLL l_int32 selSetName ( SEL sel,
const char *  name 
)
LEPT_DLL l_int32 selSetOrigin ( SEL sel,
l_int32  cy,
l_int32  cx 
)
LEPT_DLL l_int32 selWrite ( const char *  fname,
SEL sel 
)
LEPT_DLL l_int32 selWriteStream ( FILE *  fp,
SEL sel 
)
LEPT_DLL void setPixelLow ( l_uint32 line,
l_int32  x,
l_int32  depth,
l_uint32  val 
)
LEPT_DLL void setPixMemoryManager ( void *  allocator(size_t),
void(deallocator(void *))   
)
LEPT_DLL void shiftDataHorizontalLow ( l_uint32 datad,
l_int32  wpld,
l_uint32 datas,
l_int32  wpls,
l_int32  shift 
)
LEPT_DLL l_int32 splitPathAtDirectory ( const char *  pathname,
char **  pdir,
char **  ptail 
)
LEPT_DLL l_int32 splitPathAtExtension ( const char *  pathname,
char **  pbasename,
char **  pextension 
)
LEPT_DLL SARRAY* splitStringToParagraphs ( char *  textstr,
l_int32  splitflag 
)
LEPT_DLL l_int32 sreadHeaderPng ( const l_uint8 data,
l_int32 pwidth,
l_int32 pheight,
l_int32 pbpc,
l_int32 pcpp,
l_int32 piscmap 
)
LEPT_DLL void startTimer ( void   ) 
LEPT_DLL l_float32 stopTimer ( void   ) 
LEPT_DLL l_int32 stringCompareLexical ( const char *  str1,
const char *  str2 
)
LEPT_DLL l_int32 stringFindSubstr ( const char *  src,
const char *  sub,
l_int32 ploc 
)
LEPT_DLL char* stringJoin ( const char *  src1,
const char *  src2 
)
LEPT_DLL char* stringNew ( const char *  src  ) 
LEPT_DLL char* stringRemoveChars ( const char *  src,
const char *  remchars 
)
LEPT_DLL l_int32 stringReplace ( char **  pdest,
const char *  src 
)
LEPT_DLL char* stringReplaceEachSubstr ( const char *  src,
const char *  sub1,
const char *  sub2,
l_int32 pcount 
)
LEPT_DLL char* stringReplaceSubstr ( const char *  src,
const char *  sub1,
const char *  sub2,
l_int32 pfound,
l_int32 ploc 
)
LEPT_DLL char* stringReverse ( const char *  src  ) 
LEPT_DLL l_int32 stringSplitOnToken ( char *  cstr,
const char *  seps,
char **  phead,
char **  ptail 
)
LEPT_DLL char* strtokSafe ( char *  cstr,
const char *  seps,
char **  psaveptr 
)
LEPT_DLL void subtractGrayLow ( l_uint32 datad,
l_int32  w,
l_int32  h,
l_int32  d,
l_int32  wpld,
l_uint32 datas,
l_int32  wpls 
)
LEPT_DLL void thresholdTo2bppLow ( l_uint32 datad,
l_int32  h,
l_int32  wpld,
l_uint32 datas,
l_int32  wpls,
l_int32 tab 
)
LEPT_DLL void thresholdTo4bppLow ( l_uint32 datad,
l_int32  h,
l_int32  wpld,
l_uint32 datas,
l_int32  wpls,
l_int32 tab 
)
LEPT_DLL void thresholdToBinaryLineLow ( l_uint32 lined,
l_int32  w,
l_uint32 lines,
l_int32  d,
l_int32  thresh 
)
LEPT_DLL void thresholdToBinaryLow ( l_uint32 datad,
l_int32  w,
l_int32  h,
l_int32  wpld,
l_uint32 datas,
l_int32  d,
l_int32  wpls,
l_int32  thresh 
)
LEPT_DLL void thresholdToValueLow ( l_uint32 datad,
l_int32  w,
l_int32  h,
l_int32  d,
l_int32  wpld,
l_int32  threshval,
l_int32  setval 
)
LEPT_DLL l_int32 tiffGetCount ( FILE *  fp,
l_int32 pn 
)
LEPT_DLL l_int32 wshedApply ( L_WSHED wshed  ) 
LEPT_DLL l_int32 wshedBasins ( L_WSHED wshed,
PIXA **  ppixa,
NUMA **  pnalevels 
)
LEPT_DLL L_WSHED* wshedCreate ( PIX pixs,
PIX pixm,
l_int32  mindepth,
l_int32  debugflag 
)
LEPT_DLL void wshedDestroy ( L_WSHED **  pwshed  ) 
LEPT_DLL PIX* wshedRenderColors ( L_WSHED wshed  ) 
LEPT_DLL PIX* wshedRenderFill ( L_WSHED wshed  ) 
LEPT_DLL l_uint8* zlibCompress ( l_uint8 datain,
l_int32  nin,
l_int32 pnout 
)
LEPT_DLL l_uint8* zlibUncompress ( l_uint8 datain,
l_int32  nin,
l_int32 pnout 
)
Generated on Sun Jul 18 16:40:46 2010 for Tesseract by  doxygen 1.6.3