How do I load and show a PNG image in MATLAB?

Posted by user198729 on Stack Overflow See other posts from Stack Overflow or by user198729
Published on 2010-04-06T16:31:26Z Indexed on 2010/04/09 3:43 UTC
Read the original article Hit count: 253

Filed under:
|
>> I = imread('D:\Works\matlab\SecCode.php.png','png');
>> imshow(I);

The above code always shows an all-black image. What's wrong with it?

The image I'm using is this one:

alt text

© Stack Overflow or respective owner

Related posts about matlab

Related posts about image-manipulation