MATLAB: 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

Computer Vision Toolboxdigital image processingimage acquisitionimage analysisreconstruction

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.

Best Answer

Try this:
imshow(fruca, [])
Related Question