×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Imaging Porcessing Toolbox

Imaging Porcessing Toolbox

Imaging Porcessing Toolbox

(OP)
Hi,

After I create a matrix and try to display it with imshow, only the points with gray level 0 and 256 are displayed correctly. Other points are all displayed as white or balck.But when I use pixval to check the gray level for a particular point, the gray level value is correct. I don't know why. Pl. help. (The problem is trivial but I'm a newcomer)

Thanks a lot

Qiuqiu

RE: Imaging Porcessing Toolbox

Hi,
Did you enter a colormap as a second argument?
Use: imshow(X,[]) % X is your matrix
to let the function choose it for you, or: imshow(X,gray(256))

Joe Sababa

BSTeX - Equation viewer for Matlab
http://www.geocities.com/bstex2001/

Joe
BSTeX- Equation viewer for Matlab
http://www.geocities.com/bstex2001

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources