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: imported image is whiter than original
Replies: 2   Last Post: Oct 21, 2013 2:28 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Steven Lord

Posts: 2,023
Registered: 9/26/13
Re: imported image is whiter than original
Posted: Oct 21, 2013 2:14 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Alex " <blue.harvest.83@gmail.com> wrote in message
> When I save an image in a script it works, but when I import it, it
> imports really white (see link at bottom.) This is the basic code I am
> using
> imwrite(mat2gray(CurrentFrame),'CF.jpg'); %CurrentFrame is what I am
> taking the picture of
> fOr = imread('CF.jpg');
> colormap(gray);
> image(fOr);
> and here is how it looks to me:
> http://oi40.tinypic.com/2nkdwx.jpg
> Anyone know why this is happening?

You're using a different colormap when you display it the second time than
you used to display it the first time?

Steve Lord
To contact Technical Support use the Contact Us link on

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

[Privacy Policy] [Terms of Use]

© The Math Forum 1994-2015. All Rights Reserved.