Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pixelmap(3G) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



pixelmap(3G)                                                      pixelmap(3G)



NAME
     pixelmap -  define pixel transfer LUTs

C SPECIFICATION
     void pixelmap(int map, int size, unsigned short *values)

PARAMETERS
     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.

DESCRIPTION
     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.

SEE ALSO
     pixelmap,pixeltransfer,convolve

NOTES
     pixelmap only works on RealityEngine systems running 5.0.1 or greater.
     It requires that the pixelzoom factors are both 1.0.

























                                                                        Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026