Azzera filtri
Azzera filtri

rmse evaluation of two images

3 visualizzazioni (ultimi 30 giorni)
sbei arafet
sbei arafet il 6 Mag 2016
Commentato: Image Analyst il 6 Mag 2016
Hi,
i have to correct the non uniformity of an mri image , i have used File Exxhange i have calculate rmse value it gives 404.9380
the intensity maxvalue was 2830 it becomes 255 , is it a bad value and i have to find another solution ?
Thanks

Risposte (1)

Image Analyst
Image Analyst il 6 Mag 2016
You might have to dig into the program and find out what it's doing. It probably assumed a uint8 image and a max of 255. You have to find those places and make it more general so that it can handle uint16 or double images, and use intmax('uint16') or realmax('double') (depending on the class of the image being used) instead of 255.
  2 Commenti
sbei arafet
sbei arafet il 6 Mag 2016
Hi,
i changed it into uint16 the max value becomes 4384 and rmse 335.1468
ims{colNum+1}=uint16(ones(sz(1),sz(2))*255); tts{colNum+1}='Intial Bias';
have i to multiply by another value instead of 255
Image Analyst
Image Analyst il 6 Mag 2016
I don't know what those lines are doing. If you want ims to be all 65535 and of class uint16, then do this:
ims{colNum+1} = intmax('uint16') * ones(sz(1), sz(2), 'uint16');

Accedi per commentare.

Categorie

Scopri di più su MRI in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by