

        \\\\\\\\\\\\\\\\\\\\ ///////////////////////

        example programs using the pseudocolor object

        //////////////////// \\\\\\\\\\\\\\\\\\\\\\

1.pseudo_display/

  This example simply displays a pseudocolor object working off the 
  image information found in the "image:ball" image file.  A pseudocolor
  object displays a palette of the colors found in the image; below the
  palette are three scrollbars to control the Red, Green, and Blue elements
  of a particular color.  Select a "pseudocolor range" by clicking the
  first mouse button on two pixels in the palette; then, use the Red, Green,
  and Blue scrollbars to change the color displayed by the pixels in that range.

2.pseudo_reflect/

  This program displays a pseudocolor object working off the information
  found in the "image:mandril" file, and an image object also displaying the
  mandril image.  An event handler is installed on the image object so that
  when you hold the mouse button down and move the pointer across the image,
  the Red, Green, and Blue scrollbars of the pseudocolor object will move
  to reflect the color of the pixels under the mouse pointer.

3.pseudo_color/

  
  This example displays a pseudocolor object and an image object, both working
  off the information in the "image:ball" file.  
  
  An event handler is installed which allows you to select various pixels 
  from the image by pressing the button on the desired pixels;  after the 
  desired pixels have been selected, the pseudocolor scrollbars can be used 
  to change the color of the selected pixels as desired.
 
  Alternatively, the pseudocolor palette can be used (as in example
  1.pseudo_display) to choose a range of pixels which can then be colored
  with the red, green, and blue scrollbars.
 

4.pseudo_update/

  This example displays a pseudocolor object and an image object, both working
  off the information in the 3rd Albq image.   A colorcell object, also
  working from the same information, is created in upper left hand corner of 
  the image.  A colorcell object is associated with a pixel value of 10 in 
  the image;  it is a box filled with the same color as the pixel and labelled 
  with the pixel value inside.  The pseudocolor object has a value of 10 added 
  to its list, so the red, green, and blue colorbars will simulataneously 
   update the colorcell and the image.

  An event handler is installed on the image so that when you button press
  on pixels in the image,  the pseudocolor object is used to change each 
  selected pixel to the same color as the pixel value 10.  The pseudocolor
  scrollbars can be used to change the color of pixel value 10; all the
  other selected pixel values will also take on the new color.

5.pseudo_select/

  This example creates a display containing an image, and underneath it,
  a colorcell object and a pseudocolor object.  All three objects are
  initialized to use the moon image.
 
  Then, an event handler is added on the image for button press events,
  so that the user may click on the image to select a pixel, and then
  change the color of that pixel using the pseudocolor scrollbars;  the
  colorcell object will reflect the pixel value and it's current color.
 
  Thus, you use the example to set the colors of pixels in the image one by one,
  first by selecting the desired pixel from the image, and then setting its
  color with the pseudo scrollbars.

6.psuedo_readwrite/

   This example is identical to example 4, except that it uses the kitten
   image and a Read/Write color allocation policy.

7.psuedo_readonly/

   This example is identical to example 6, except that it uses 
   a ReadOnly color allocation policy.


