comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Any suggestions for a B&W colour scheme for publication images?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Any suggestions for a B&W colour scheme for publication images? [message #55941 is a reply to message #55940] Tue, 25 September 2007 07:57 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
R.G. Stockwell writes:

> I do the same thing. Usually I can just use the default B&W scheme
> (loadct,0) and natively create the image that way. Perhaps reducing
> the number of contour or shade levels will help the contrast. Or perhaps
> adding a contour overlay on top of the image may help.
>
> One trick that sometimes works (but usually doesn't) is to
> use your normal color scheme (EOS) but not set the /color keyword to
> the ps device command. That seems to directly translate your color scheme
> into B&W. The problem, is that distinct colors can get mapped to similar
> shades of grey.

Good suggestions. If this doesn't work, I'd also try converting
your RGB color vectors to HSV vectors with COLOR_CONVERT, then
stretching your saturation vector as far as it will go, before
converting back and loading into your color table. That's been
known to work before, too, although sometimes the saturation
is already stretched to the max anyway. (It was in the couple
of color tables I just tried.)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Mosaic_doit
Next Topic: int of pixel and surrounding pixels

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Nov 29 00:16:28 PST 2025

Total time taken to generate the page: 0.72388 seconds