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: matrix to image
Replies: 5   Last Post: Sep 23, 2011 4:08 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Abbas Cheddad

Posts: 92
Registered: 8/20/07
Re: matrix to image
Posted: Sep 23, 2011 4:08 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

As I understand from your 1st message, there are two problems you'r facing:

1) When I call 'pic2()' why it prints the matrix?

Probably, like Steven says, you missed the semicolon

2) Why I dont get image where the pixels are black or white?

As I said convert to logical before writing the image to a file.

gpicview has nothing to do with Matlab and if you run into any bugs in displaying images you need to contact the guys who are behind that open source image viewer.


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.