Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Displaying the image

3 vues (au cours des 30 derniers jours)
kash
kash le 22 Mai 2012
Clôturé : MATLAB Answer Bot le 20 Août 2021
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 commentaires
kash
kash le 22 Mai 2012
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 le 22 Mai 2012
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.

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by