Changing image rendering?
조회 수: 14(최근 30일)
attempting to visualize a raster of lines and running into issues. When the lines are plotted as lines, the image appears correctly, as follows:
When attempting to visualize the same lines (ignoring the large vertical and horizontal lines), I get the following
zooming in, all the same lines are present, just zoomed out they have varying degrees of visibility. Is there a way to modify MATLAB handling of this image to produce an image closer to what appears above?
Oliver Woodford 2020년 9월 17일
편집: Oliver Woodford 2020년 9월 17일
Basically you are rendering a binary image, and you're getting gray levels instead of just black and white?
What are you using to render the image? imshow() can rescale the image if it is too large. imagesc() doesn't do this.
>> A = rand(50, 4000) < 0.99;
when zoomed in gives: