pixelmap(3G) pixelmap(3G)
pixelmap - define pixel transfer LUTs
void pixelmap(int map, int size, unsigned short *values)
map specifies a symbolic map name. Must be one of the following:
MAP_I_TO_I,
MAP_I_TO_R, MAP_I_TO_G, MAP_I_TO_B, MAP_I_TO_A,
MAP_R_TO_R, MAP_G_TO_G, MAP_B_TO_B, MAP_A_TO_A
size expects the size of the map, valid sizes are 256 or 4096.
values
the LUT itself.
The operation of lrectwrite and rectcopy can be mapped through lookup
tables. The function pixeltransfer() enables this functionality. The
function pixelmap() defines the lookup tables. The source pixels in the
range [0.,1.] map into the range [0.,size). Each entry in the table is
16 bits, where full intensity is 0xffff and no intensity is 0x0.
pixelmap,pixeltransfer,convolve
pixelmap only works on RealityEngine systems running 5.0.1 or greater.
It requires that the pixelzoom factors are both 1.0.
PPPPaaaaggggeeee 1111 [ Back ]
|