Effacer les filtres
Effacer les filtres

I was trying to reconstruct an image using block matching algorithm. When i tried to do so, i have got an reconstructed matrix with non zero elements. But when i tried to plot it using imshow, it appears to be a blank (ful black) image.Kindly help me

2 vues (au cours des 30 derniers jours)
fruca(r:r+N-1,c:c+N-1) = A1(r+N+y2:r+y2+N2-1,c+N+x2:c+x2+N2-1)+ temp(r:r+N-1,c:c+N-1);
here, fruca is the reconstructed image. A1, the orginal image and temp,the prediction error added to it. (r:r+N-1,c:c+N-1) is the block size in the image.
  1 commentaire
Guilherme Coco Beltramini
Guilherme Coco Beltramini le 15 Juil 2014
You could improve the way you ask the question. The text in the subject of the question should be on its body. And it's impossible to reproduce the problem, because you didn't give enough information about the images.

Connectez-vous pour commenter.

Réponse acceptée

Guilherme Coco Beltramini
Guilherme Coco Beltramini le 15 Juil 2014
Try this:
imshow(fruca, [])

Plus de réponses (0)

Catégories

En savoir plus sur Computer Vision with Simulink dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by