CRIMP
Artifact [ad44f4aea0]
Not logged in

Artifact ad44f4aea0027cafe6271312b3fa6c496423c577:


map_2grey16_grey32
Tcl_Obj* inImageObj
Tcl_Obj* mapObj

/*
 * Converter that applies a piecewise linear map from an input grey32 image
 * to an output grey16 image.
 *
 * Copyright (c) 2011 by Kevin B. Kenny.
 *
 * See the file "license.terms" for information on usage and redistribution of
 * this file, and for a DISCLAIMER OF ALL WARRANTIES.
 */

#define INTYPENAME grey32
#define INTYPE unsigned int
#define OUTTYPENAME grey16
#define OUTTYPE unsigned short

#include "map_scalar.c"

#undef OUTTYPE
#undef OUTTYPENAME
#undef INTYPENAME
#undef INTYPE

/* vim: set sts=4 sw=4 tw=80 et ft=c: */
/*
 * Local Variables:
 * mode: c
 * c-basic-offset: 4
 * fill-column: 78
 * End:
 */