필터 지우기
필터 지우기

rmse evaluation of two images

조회 수: 2 (최근 30일)
sbei arafet
sbei arafet 2016년 5월 6일
댓글: Image Analyst 2016년 5월 6일
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

답변 (1개)

Image Analyst
Image Analyst 2016년 5월 6일
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
sbei arafet
sbei arafet 2016년 5월 6일
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 2016년 5월 6일
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');

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 MRI에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by