The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

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,237
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 " <> 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:
> 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 at NCTM 1994-2018. All Rights Reserved.