Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Imwrite with colormap
Replies: 4   Last Post: Oct 19, 2012 12:29 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Nicolás

Posts: 11
Registered: 10/18/12
Imwrite with colormap
Posted: Oct 19, 2012 5:25 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Good morning.

I am trying to use imwrite to save a image with a colormap( for example, 'jet'), and with a value of 25 levels, such as this:

imwrite(handles.image,handles.colorMap,filename,pathname);

However, the image is not saved with the value of levels established previously. Thus the image is saved with a value of 256 leves, instead of 25.

Anyone knows do it?

Thanks in advance.



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.