home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / alt / graphics / pixutils / 2614 < prev    next >
Encoding:
Text File  |  1992-11-17  |  1.2 KB  |  37 lines

  1. Newsgroups: alt.graphics.pixutils
  2. Path: sparky!uunet!snorkelwacker.mit.edu!tamsun.tamu.edu!spatel
  3. From: spatel@cs.tamu.edu (Samir K Patel)
  4. Subject: Colorize B/W graymap image
  5. Message-ID: <1992Nov16.205528.20691@tamsun.tamu.edu>
  6. Sender: news@tamsun.tamu.edu (Read News)
  7. Organization: Computer Science Department, Texas A&M University
  8. Date: Mon, 16 Nov 1992 20:55:28 GMT
  9. Lines: 26
  10.  
  11.  
  12.  I want to colorize grayscale image to color image. Its a typical satellite
  13.  image with 8 bit ( max 256 gray levels).
  14.  
  15.  I think I need some colormap to color the image.     
  16.  
  17.  I want to use PBMPLUS's pgmtoppm utility. 
  18.  
  19.      pgmtoppm -map mapfile [pgmfile]
  20.      -------------------------------
  21.  
  22.      where the -map flag lets you specify an entire  colormap  to
  23.      be  used.   The  mapfile  is  just a ppm file; it can be any
  24.      shape, all that matters is the colors in it and their order.
  25.      In  this case, black gets mapped into the first color in the
  26.      map file, and white gets mapped to the last.
  27.  
  28.      But I haven't seen any of this kind of colormap file. So I
  29.      want ppm colormap file to colorize my image.
  30.  
  31.      Can anyone who have done similar kind of colorizing the grayscale 
  32.      image help me.
  33.  
  34.      Thanks
  35.  
  36.      Samir ( spatel@photon.cs.tamu.edu )
  37.