High-resolution images and single pixels visualization
8 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(2 个)
Image Analyst
2022-6-17
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 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!