Inverse Filtering
Building the Cantata Workspace
- Get the float type blurred image $DIP/data/lenina-blur-float.viff
and display it using the operators
User defined and
Display Image.
- Take the forward FFT of the image, use
FFT operator, and display its spectrum using the
Display Image operator.
- Take the forward FFT of the blurring kernel. First zero extend it to
the size of the blurred image. Use the
Pad
operator and then apply the
FFT.
- Find the reciprocal of the kernel DFT using the operators
Divide Into.
Display the DFT of the inverse filter.
- Multiply the DFT of the blurred image by the inverse filter using the
operator
Multiply,
and display the result using the
Display Image operator.
- Finally, take the inverse DFT of the last result, determine its
Magnitudes,
and display it.
Exercises
- Display the spectrum of the blurring gaussian kernel.
DIP Feedback Form