Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我imadjust用来增强图像对比度或拉伸,例如:
imadjust
image = imread(path) result = imadjust(image, [0.01 0.6], []);
但它会将所有图像像素变为白色。我如何解决它?
我遇到了同样的问题,但是当我使用 imagesc matlab 函数时,它可以工作,例如:
subplot(2,1,1); imagesc(result) colormap(gray); axis off title('Result')
用于灰度图像。我希望这有帮助