Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Displaying the image

조회 수: 2 (최근 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