Saving color images with tvmark markings
Guest wrote on Jun 12, 2006
Dear Sir,
I am using the IRAF/tvmark task to mark a few objects with different
colors. When giving this task an output file the image is saved but, the
color markings are converted to grayscale.
Is there a way to save the image with the actual markings color ?
Thanks,
Avi
Post generated using Mail2Forum (http://www.mail2forum.com)
I am using the IRAF/tvmark task to mark a few objects with different
colors. When giving this task an output file the image is saved but, the
color markings are converted to grayscale.
Is there a way to save the image with the actual markings color ?
Thanks,
Avi
Post generated using Mail2Forum (http://www.mail2forum.com)
Mike Fitzpatrick wrote on Jun 12, 2006
The saved image has the image pixels stored in the range 0-200, the overlay colors are saved as 201 and higher depending on the color. Formats like FITS don't have a color model but you can convert this saved image to e.g. GIF or Postcript that preserves the grayscale pixels with the proper overlay color using the EXPORT task, e.g.
See the EXPORT help page for details.
-Mike
cl> export tvmark.fits graphic gif outbands="setcmap(i1,'overlay')"
See the EXPORT help page for details.
-Mike
Last post on Jun 12, 2006