フィルターのクリア

How to set the display range for this medical DICOM images

1 回表示 (過去 30 日間)
Gopichandh Danala
Gopichandh Danala 2017 年 2 月 7 日
回答済み: Saurabh Gupta 2017 年 2 月 15 日
Here is the code that I used to display the DICOM image, When I give the full display range it shows blurred image like left, and when I increase the lower display range the image looks more clear
[img, map] = dicomread('D:\Work 2017\Mercy\trial\trial4\Export0000\MG0001.dcm');
info = dicominfo('D:\Work 2017\Mercy\trial\trial4\Export0000\MG0001.dcm' );
mini = min(img(:));
maxi = max(img(:));
figure,
subplot(131), imshow(img, [mini maxi]); title('Full display range')
subplot(132), imshow(img, [maxi*0.7 maxi]); title('70% and above display range')
subplot(133), imshow(img, [maxi*0.8 maxi]); title('80% and above display range')
I want to always see an image something similar to right side image without giving the display range that I used in the above code
Thanks,
Gopi

回答 (1 件)

Saurabh Gupta
Saurabh Gupta 2017 年 2 月 15 日
You could use imcontrast to perform this adjustment.

カテゴリ

Help Center および File ExchangeGeometric Transformation and Image Registration についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by