MATLAB: Problem with 16 bit grayscale pic adjust , please help

dicom tiff adjust

working with dicom file to export tiff in normal function ex.hiseq workfine but in clahe or shapen function output are darkness
All function are Support uint16, or int16 why?
[origImg, map] = dicomread(uigetfile); montage(origImg);
his = histeq(origImg);
clahe = adapthisteq(origImg);
sharpImg = fspecial('unsharp',0.04); resultSharp = imfilter(origImg,sharpImg);
imwrite(clahe, 'cla.tif','Resolution',72);

Best Answer

What does this report in the command window:
min(resultSharp(:))
max(resultSharp(:))
min(origImg(:))
max(origImg(:))
Related Question