add some binary morphological operations

This commit is contained in:
2023-04-13 18:03:05 +03:00
parent 03eecf2595
commit f3570498e1
18 changed files with 1743 additions and 235 deletions

View File

@@ -31,7 +31,9 @@ int main(int argc, char **argv){
return 2;
}
int w = I->width, h = I->height;
double t0 = dtime();
uint8_t *eq = ilequalize8(I, 3, 0.1);
green("Equalize: %g ms\n", (dtime() - t0)*1e3);
ilImage_free(&I);
if(!eq) return 3;
ilImg3 *I3 = MALLOC(ilImg3, 1);