Home
last modified time | relevance | path

Searched refs:sela (Results 1 – 9 of 9) sorted by relevance

/external/tesseract/liblept/
Dccthin.c172 SELA *sela; in pixThin() local
186 sela = selaCreate(4); in pixThin()
189 selaAddSel(sela, sel, NULL, 0); in pixThin()
191 selaAddSel(sela, sel, NULL, 0); in pixThin()
193 selaAddSel(sela, sel, NULL, 0); in pixThin()
196 selaAddSel(sela, sel, NULL, 0); in pixThin()
198 selaAddSel(sela, sel, NULL, 0); in pixThin()
200 selaAddSel(sela, sel, NULL, 0); in pixThin()
202 selaAddSel(sela, sel, NULL, 0); in pixThin()
205 pixd = pixThinGeneral(pixs, type, sela, maxiters); in pixThin()
[all …]
Dsel2.c65 selaAddBasic(SELA *sela) in selaAddBasic() argument
73 if (!sela) { in selaAddBasic()
74 if ((sela = selaCreate(0)) == NULL) in selaAddBasic()
85 selaAddSel(sela, sel, name, 0); in selaAddBasic()
91 selaAddSel(sela, sel, name, 0); in selaAddBasic()
100 selaAddSel(sela, sel, name, 0); in selaAddBasic()
111 selaAddSel(sela, sel, "sel_2dp", 0); in selaAddBasic()
118 selaAddSel(sela, sel, "sel_2dm", 0); in selaAddBasic()
129 selaAddSel(sela, sel, "sel_5dp", 0); in selaAddBasic()
140 selaAddSel(sela, sel, "sel_5dm", 0); in selaAddBasic()
[all …]
Dsel1.c231 SELA *sela; in selaCreate() local
240 if ((sela = (SELA *)CALLOC(1, sizeof(SELA))) == NULL) in selaCreate()
243 sela->nalloc = n; in selaCreate()
244 sela->n = 0; in selaCreate()
247 if ((sela->sel = (SEL **)CALLOC(n, sizeof(SEL *))) == NULL) in selaCreate()
250 return sela; in selaCreate()
263 SELA *sela; in selaDestroy() local
267 if ((sela = *psela) == NULL) in selaDestroy()
270 for (i = 0; i < sela->n; i++) in selaDestroy()
271 selDestroy(&sela->sel[i]); in selaDestroy()
[all …]
Dmorphdwa.c169 SELA *sela; in pixDilateBrickDwa() local
184 sela = selaAddBasic(NULL); in pixDilateBrickDwa()
188 selnameh = selaGetBrickName(sela, hsize, 1); in pixDilateBrickDwa()
192 selnamev = selaGetBrickName(sela, 1, vsize); in pixDilateBrickDwa()
195 selaDestroy(&sela); in pixDilateBrickDwa()
271 SELA *sela; in pixErodeBrickDwa() local
286 sela = selaAddBasic(NULL); in pixErodeBrickDwa()
290 selnameh = selaGetBrickName(sela, hsize, 1); in pixErodeBrickDwa()
294 selnamev = selaGetBrickName(sela, 1, vsize); in pixErodeBrickDwa()
297 selaDestroy(&sela); in pixErodeBrickDwa()
[all …]
Dfmorphauto.c230 fmorphautogen(SELA *sela, in fmorphautogen() argument
238 if (!sela) in fmorphautogen()
240 ret1 = fmorphautogen1(sela, fileindex, filename); in fmorphautogen()
241 ret2 = fmorphautogen2(sela, fileindex, filename); in fmorphautogen()
268 fmorphautogen1(SELA *sela, in fmorphautogen1() argument
284 if (!sela) in fmorphautogen1()
288 if ((nsels = selaGetCount(sela)) == 0) in fmorphautogen1()
292 sa1 = selaGetSelnames(sela); in fmorphautogen1()
476 fmorphautogen2(SELA *sela, in fmorphautogen2() argument
492 if (!sela) in fmorphautogen2()
[all …]
Dfhmtauto.c194 fhmtautogen(SELA *sela, in fhmtautogen() argument
202 if (!sela) in fhmtautogen()
204 ret1 = fhmtautogen1(sela, fileindex, filename); in fhmtautogen()
205 ret2 = fhmtautogen2(sela, fileindex, filename); in fhmtautogen()
234 fhmtautogen1(SELA *sela, in fhmtautogen1() argument
250 if (!sela) in fhmtautogen1()
254 if ((nsels = selaGetCount(sela)) == 0) in fhmtautogen1()
258 sa1 = selaGetSelnames(sela); in fhmtautogen1()
415 fhmtautogen2(SELA *sela, in fhmtautogen2() argument
432 if (!sela) in fhmtautogen2()
[all …]
Dmorphapp.c387 SELA *sela, in pixUnionOfMorphOps() argument
398 if (!sela) in pixUnionOfMorphOps()
400 n = selaGetCount(sela); in pixUnionOfMorphOps()
410 sel = selaGetSel(sela, i); in pixUnionOfMorphOps()
440 SELA *sela, in pixIntersectionOfMorphOps() argument
451 if (!sela) in pixIntersectionOfMorphOps()
453 n = selaGetCount(sela); in pixIntersectionOfMorphOps()
464 sel = selaGetSel(sela, i); in pixIntersectionOfMorphOps()
Dleptprotos.h289 LEPT_DLL extern PIX * pixThinGeneral ( PIX *pixs, l_int32 type, SELA *sela, l_int32 maxiters );
444 LEPT_DLL extern l_int32 fhmtautogen ( SELA *sela, l_int32 fileindex, const char *filename );
445 LEPT_DLL extern l_int32 fhmtautogen1 ( SELA *sela, l_int32 fileindex, const char *filename );
446 LEPT_DLL extern l_int32 fhmtautogen2 ( SELA *sela, l_int32 fileindex, const char *filename );
460 LEPT_DLL extern l_int32 fmorphautogen ( SELA *sela, l_int32 fileindex, const char *filename );
461 LEPT_DLL extern l_int32 fmorphautogen1 ( SELA *sela, l_int32 fileindex, const char *filename );
462 LEPT_DLL extern l_int32 fmorphautogen2 ( SELA *sela, l_int32 fileindex, const char *filename );
704 LEPT_DLL extern PIX * pixUnionOfMorphOps ( PIX *pixs, SELA *sela, l_int32 type );
705 LEPT_DLL extern PIX * pixIntersectionOfMorphOps ( PIX *pixs, SELA *sela, l_int32 type );
1488 LEPT_DLL extern l_int32 selaAddSel ( SELA *sela, SEL *sel, const char *selname, l_int32 copyflag );
[all …]
/external/tesseract/include/
Dleptprotos.h291 LEPT_DLL extern PIX * pixThinGeneral ( PIX *pixs, l_int32 type, SELA *sela, l_int32 maxiters );
426 LEPT_DLL extern l_int32 fhmtautogen ( SELA *sela, l_int32 fileindex, const char *filename );
427 LEPT_DLL extern l_int32 fhmtautogen1 ( SELA *sela, l_int32 fileindex, const char *filename );
428 LEPT_DLL extern l_int32 fhmtautogen2 ( SELA *sela, l_int32 fileindex, const char *filename );
442 LEPT_DLL extern l_int32 fmorphautogen ( SELA *sela, l_int32 fileindex, const char *filename );
443 LEPT_DLL extern l_int32 fmorphautogen1 ( SELA *sela, l_int32 fileindex, const char *filename );
444 LEPT_DLL extern l_int32 fmorphautogen2 ( SELA *sela, l_int32 fileindex, const char *filename );
685 LEPT_DLL extern PIX * pixUnionOfMorphOps ( PIX *pixs, SELA *sela, l_int32 type );
686 LEPT_DLL extern PIX * pixIntersectionOfMorphOps ( PIX *pixs, SELA *sela, l_int32 type );
1433 LEPT_DLL extern l_int32 selaAddSel ( SELA *sela, SEL *sel, const char *selname, l_int32 copyflag );
[all …]