How to adjust the intensity of series of images?
조회 수: 2 (최근 30일)
이전 댓글 표시
Dear Mathworks,
I have a series of greyscale images, which some of them are darker than the others. How can I adjust their intensity (all together!!)?
Cheers, Violet
댓글 수: 0
채택된 답변
venkat vasu
2012년 8월 2일
>>help imadjust imadjust Adjust image intensity values or colormap. J = imadjust(I) maps the values in intensity image I to new values in J such that 1% of data is saturated at low and high intensities of I. This increases the contrast of the output image J.
I = imread('pout.tif'); J = imadjust(I); figure, imshow(I), figure, imshow(J)
K = imadjust(I,[0.3 0.7],[]);
figure, imshow(K)
RGB1 = imread('football.jpg');
RGB2 = imadjust(RGB1,[.2 .3 0; .6 .7 1],[]);
figure, imshow(RGB1), figure, imshow(RGB2)
댓글 수: 2
Image Analyst
2012년 8월 3일
편집: Image Analyst
2012년 8월 3일
But they were taken with a fixed device. Or maybe a broken device. Maybe you should have your CT machine serviced. Also, the intensity will vary from slice to slice due to the anatomy so you can't look at the mean. Maybe you have some chance if you can find something that's known to be constant from one slice to the next, like a rib bone or something.
By the way, don't accept "Answers" that aren't solutions to your question lest it discourage other people from answering. Plus it's good if one explains everything in the original post so people don't give solutions to things that aren't your situation and then the questioner has spend more time correcting them and explaining further.
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!