home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: alt.graphics.pixutils
- Path: sparky!uunet!snorkelwacker.mit.edu!tamsun.tamu.edu!spatel
- From: spatel@cs.tamu.edu (Samir K Patel)
- Subject: Colorize B/W graymap image
- Message-ID: <1992Nov16.205528.20691@tamsun.tamu.edu>
- Sender: news@tamsun.tamu.edu (Read News)
- Organization: Computer Science Department, Texas A&M University
- Date: Mon, 16 Nov 1992 20:55:28 GMT
- Lines: 26
-
-
- I want to colorize grayscale image to color image. Its a typical satellite
- image with 8 bit ( max 256 gray levels).
-
- I think I need some colormap to color the image.
-
- I want to use PBMPLUS's pgmtoppm utility.
-
- pgmtoppm -map mapfile [pgmfile]
- -------------------------------
-
- where the -map flag lets you specify an entire colormap to
- be used. The mapfile is just a ppm file; it can be any
- shape, all that matters is the colors in it and their order.
- In this case, black gets mapped into the first color in the
- map file, and white gets mapped to the last.
-
- But I haven't seen any of this kind of colormap file. So I
- want ppm colormap file to colorize my image.
-
- Can anyone who have done similar kind of colorizing the grayscale
- image help me.
-
- Thanks
-
- Samir ( spatel@photon.cs.tamu.edu )
-