Hello everybody,
I have 100 3D medical images that have different intensity ranges. most of them have a maximum intensity of 255( and their type is single) but that of some of them is about 2000-3000( uint16). How can I convert the intensity of all images into [0,255]?
I tried this: 255*( (Img – min(Img(:)))./max(img(:))) but it didn't give the expected result. please help me with this problem.
Thank you.
Best Answer