Issues with greyscale png images in matlab
Show older comments
I have a number of greyscale png images of faces (from a free dataset) that I am using as part of a Psychtoolbox experiment. In photo apps such as preview they all look okay, but when I open them in MATLAB several of them are pixelated and the colours are off so they are unusable (see attached photos). Any suggestions as to why this might be?
Thanks!


2 Comments
Rik
on 18 Oct 2021
Can you attach the image as a file and post the code you used?
Caroline Harbison
on 18 Oct 2021
Accepted Answer
More Answers (0)
Categories
Find more on Image display and manipulation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!