CRIMP
Artifact [52ca3f0b58]
Not logged in

Artifact 52ca3f0b58db1970f234759b91f15d1e61aa3b1b:


threshold_grey16_float
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_grey16_float_grey16.c"

/* vim: set sts=4 sw=4 tw=80 et ft=c: */
/*
 * Local Variables:
 * mode: c
 * c-basic-offset: 4
 * fill-column: 78
 * End:
 */