DIRECTORY ImagerPixelMap, ImagerSample, Terminal; ColorTrixMod: CEDAR DEFINITIONS ~ { Table: TYPE ~ REF TableRep; TableRep: TYPE ~ ARRAY [0..256) OF NAT; Indirect: PROC [pm: ImagerPixelMap.PixelMap, table: Table]; Up: PROC [pm: ImagerPixelMap.PixelMap, shift: INT]; Left: PROC [pm: ImagerPixelMap.PixelMap, shift: INT]; Negate: PROC [pm: ImagerPixelMap.PixelMap]; ReflectH: PUBLIC PROC [pm: ImagerPixelMap.PixelMap]; ReflectV: PUBLIC PROC [pm: ImagerPixelMap.PixelMap]; MirrorH: PUBLIC PROC [pm: ImagerPixelMap.PixelMap, topToBottom: BOOL _ TRUE]; MirrorV: PUBLIC PROC [pm: ImagerPixelMap.PixelMap, leftToRight: BOOL _ TRUE]; Lum: PROC [pm: ImagerPixelMap.PixelMap]; RampH: PROC [pm: ImagerPixelMap.PixelMap]; RampV: PROC [pm: ImagerPixelMap.PixelMap]; PVal: PROC [pm: ImagerPixelMap.PixelMap, new: NAT, old: LIST OF NAT]; }. ColorTrixMod.mesa Copyright c 1985 by Xerox Corporation. All rights reserved. Bloomenthal, December 30, 1985 7:19:43 pm PST Color Display Modifying Procedures: Indirect all pixel values through the table. Move the image up by shift amount; image will wrap-around. Move the image left by shift amount; image will wrap-around. Negate the image in the color display. Reflect the pixel map about the horizontal mid-line. Reflect the pixel map about the vertical mid-line. Mirror the pixel map about the horizontal mid-line. Mirror the pixel map about the vertical mid-line. Converts pseudo-color to luminance; converts the colordisplay accordingly. Put a horizontal ramp in the color display. Put a vertical ramp in the color display. Set any old valued pixels to the new value. ΚΪ˜šœ™Jšœ Οmœ1™