Changing image rendering?
7 ビュー (過去 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?
回答 (1 件)
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: