High-resolution images and single pixels visualization
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
From my understanding, do you want to display a single pixel for every element? Can you give an example? Consider the input to be -
y = randi(100,5,6)
Anton Bahu
on 17 Jun 2022
Edited: Anton Bahu
on 17 Jun 2022
Image Analyst
on 17 Jun 2022
Did you even see my answer below?
Answers (2)
Anton Bahu
on 30 Jun 2022
2 votes
Image Analyst
on 17 Jun 2022
0 votes
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
Anton Bahu
on 20 Jun 2022
Image Analyst
on 20 Jun 2022
Call tech support and tell me what they say.
Categories
Find more on Blocked Images 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!