How to perform Deinterlacing for an color image? I tried using vision but its giving error as I don't ve vision computer system tool box. What's the solution

2 views (last 30 days)
Hi,
I am working on FFT algorithm and after reconstructing the image it has articrafts. So to resolve it I tried deinterlacing function. But as I don't ve vision computer system tool box it is giving error. What's the solution? Please help
[Information from duplicate question]
Hi,
I am using my own algorithm to find FFT and IFFT and got the result for both gray and color images. But the color images after reconstructing using my ifft algorithm giving an color image which has articrafts. I vave not interlaced while processing the i/p. But I understand that by deinterlacing we can remove articrafts in the image. So I tried to use that function. I used standard test images as i/ps. I am new to matlab and knowing much about interlacing/deinterlacing. Plz help

Answers (2)

Walter Roberson
Walter Roberson on 27 Dec 2012
What form is the image in? If you are using imread() then the resulting image has aready been delaced (if it was interlaced in the first place.) About the only way you might get an interlaced image is if you are reading data from an instrument, or (sometimes) if you are reading from a camera.
You can normally tell if you are handling an interlaced grayscale image: you get two visible copies of the image, each half the height of the frame. However, if it is a color image you are dealing with, interlacing might occur in a number of ways that might be more difficult to tell apart (but still usually you would be able to tell that something was wrong.)
Are you using your own discrete FFT code? And are you using the MATLAB ifft() ? If so then watch out for the fft shift; try experimenting with ifftshift()

Image Analyst
Image Analyst on 27 Dec 2012
Are you sure it's not just that you aren't using fftshift when you're supposed to? Does the image look like it's chopped up into quadrants? With the center in the corners and the corners in the center?

Community Treasure Hunt

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

Start Hunting!