Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Displaying the image

1 回表示 (過去 30 日間)
kash
kash 2012 年 5 月 22 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I have a code
A-is a matrix
n = numel(A);
A1_20 = repmat(A,[1,1,20]);
t = ones(size(A));
for j1 = 1:size(A1_20,3)
p = t;
p(randi(n,3000,1)) = 0;
A1_20(:,:,j1) = A1_20(:,:,j1).*p;
w{j}{s1}{s2} =A1_20(:,:,j1);
y1 = idualtree2D(w, J, Fsf, sf);
Er= mean2((single(x) - single(y1)).^2);
final_col2{xx}=min(Er)
figure,imshow(uint8(y1))
Er1= mean2((single(x) - single(y1)).^2)/20
end
I have a matrix ,where i have multipied that matriix waith those 20 genertaed matrix,now i have 20 matrix and have found error,now i want to display the image which has minimum error,please help
  2 件のコメント
kash
kash 2012 年 5 月 22 日
A is an image its matrix size is 256x256
A1_20(:,:,j1).*p will give 20 matrices(images)
for all these 20 images i have found error
so for 20 images i will get 20 error values,in that i want to find the minimum error and display that image
Jan
Jan 2012 年 5 月 22 日
See the duplicate question in: http://www.mathworks.com/matlabcentral/answers/39060-error-in-storing-values
I've deleted my comments and my answer due to a growing level of negative emotions.

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by