High-resolution images and single pixels visualization
5 views (last 30 days)
Show older comments
Hello,
i'm experiencing some difficulties in visualizing an image matrix, where i'm trying to control single pixels. It seems that for high resolution screens/images, such as 3840x2160 or 2560x1440 it is not possible to turn on a single pixel on the target display.
I perform the following steps:
- a matrix of zeros is created (for example a 3840x2160 matrix);
- some cells are set to 1 or another value (let's consider a greyscale image);
- a figure with the axes dimension set to 3840x2160 is created on a 4k screen
- the image is visualized
It seems that either a 2 or 4 pixels can be turned on, but not a single one. I arleady tried to use smaller resolutions and changing the dimension of the figure and axes. It's seems there is no such a problem for 1920x1080 images on HD displays.
Thank you.
3 Comments
Answers (2)
Image Analyst
on 17 Jun 2022
Even though you should have enough resolution to display pixel for pixel that image with that large display, I wonder if you can't sometimes see a single pixel because of some sort of scaling that goes on. Can you try to experiment with the truesize function?
2 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!