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 (최근 30일)
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
Guilherme Coco Beltramini
Guilherme Coco Beltramini 2014년 7월 15일
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.

댓글을 달려면 로그인하십시오.

채택된 답변

Guilherme Coco Beltramini
Guilherme Coco Beltramini 2014년 7월 15일
Try this:
imshow(fruca, [])

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Computer Vision with Simulink에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by