Borrar filtros
Borrar filtros

rmse evaluation of two images

3 visualizaciones (últimos 30 días)
sbei arafet
sbei arafet el 6 de Mayo de 2016
Comentada: Image Analyst el 6 de Mayo de 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

Respuestas (1)

Image Analyst
Image Analyst el 6 de Mayo de 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 comentarios
sbei arafet
sbei arafet el 6 de Mayo de 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 el 6 de Mayo de 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');

Iniciar sesión para comentar.

Categorías

Más información sobre MRI en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by