now my question is that which 'a' i should take?
2 ビュー (過去 30 日間)
古いコメントを表示
I is 20*20 image of class uint8;
a=im2double(I) and a=double(I) gives different result.
now generate noisy image using noisy=a+n;
where,n=0+10*randn(size(I))
now my question is that which 'a' i should take?(either a=im2double(I) ora=double(I))
0 件のコメント
回答 (1 件)
Image Analyst
2013 年 3 月 16 日
im2double() scales images to the 0-1 range whereas double() leaves their values alone. It just depends on what range you want the image to be in before you add noise to it.
2 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!