CRIMP
Artifact [3249cad3a6]
Not logged in

Artifact 3249cad3a6830a9b7f71b125624bc4b112f65304:


threshold_grey8_grey8
Tcl_Obj* imageAObj
Tcl_Obj* imageBObj

/*
 * Thresholding of all pixels in the first image by the spatially varying
 * threshold specified through the second image.
 */

#define BINOP(p,t) ((p) >= (t) ? BLACK : WHITE)
#include "binop_grey8_grey8_grey8.c"

/* vim: set sts=4 sw=4 tw=80 et ft=c: */
/*
 * Local Variables:
 * mode: c
 * c-basic-offset: 4
 * fill-column: 78
 * End:
 */