Image Restoration mage restoration is the process of improving the quality of a degraded digital image by applying various techniques to remove or reduce the degradation.pptx
Digital images are prone to various types of degradation such as noise, blur, and compression artifacts due to factors like poor lighting, low-quality camera sensors, and image transmission over the internet.
Digital image restoration is the process of improving the quality of a degraded digital image by applying various techniques to remove or reduce the degradation. However, restoring images to their original quality is a complex process that comes with several challenges.
Image restoration can be used to remove objects, logos, text, or damaged areas in pictures.
How to Create and Manage Wizard in Odoo 17Celine George
ย
More Related Content
Similar to Image Restoration mage restoration is the process of improving the quality of a degraded digital image by applying various techniques to remove or reduce the degradation.pptx
A Novel Framework For Preprocessing Of Breast Ultra Sound Images By Combining...IRJET Journal
ย
Similar to Image Restoration mage restoration is the process of improving the quality of a degraded digital image by applying various techniques to remove or reduce the degradation.pptx (20)
Image Restoration mage restoration is the process of improving the quality of a degraded digital image by applying various techniques to remove or reduce the degradation.pptx
2. โ Digital images are prone to various types of degradation such as noise, blur, and
compression artifacts due to factors like poor lighting, low-quality camera sensors,
and image transmission over the internet.
โ Digital image restoration is the process of improving the quality of a degraded digital
image by applying various techniques to remove or reduce the degradation.
However, restoring images to their original quality is a complex process that comes
with several challenges.
โ Image restoration can be used to remove objects, logos, text, or damaged areas in
pictures.
3. โ Image restoration - 2 phases
โ Image reconstruction
โ Fixing damaged images
โ Text removing
โ Logo removing
โ Object removing
โ Inpainting
โ Reconstructing lost parts of images
โ Looking at the non-damaged regions
5. 1. Filtering
โ Images can be restored using filters.
โ Filters are used to remove unwanted noise and blur.
โ Filtering is used to improve the quality of images that have been degraded due to
factors like poor lighting, camera shakes or low quality equipment.
โ The type of filters used for operation of noisy images and estimating the clean and
original image are called restoration filters.
โ Restoration processes use blurring and inverse blurring.
6. โ Types of restoration filters.
โ Median Filter
โ Inverse Filter
โ Pseudo Inverse Filter
โ Wiener Filter
โ Gaussian Filter
7. Types of Filters
โ Inverse Filter
โ Inverse Filtering is the process of receiving the input of a system from its output.
โ It is the simplest approach to restore the original image once the degradation
function is known.
โ Pseudo Inverse Filter
โ Pseudo inverse filter is the modified version of the inverse filter and stabilized
inverse filter.
โ Pseudo inverse filtering gives more better result than inverse filtering but both
inverse and pseudo inverse are sensitive to noise.
8. โ Wiener Filter (Minimum Mean Square Error Filter)
โ Wiener filter executes and optimal trade off between filtering and noise smoothing.
โ It removes the additional noise and inputs in the blurring simultaneously.
โ Wiener filter is real and even.
โ It minimizes the overall mean square error.
โ Median Filter
โ Median filter replaces each pixel with the median value of its neighboring pixels to
remove unwanted noise.
9. โ Gaussian Filter
โ Gaussian filters, on the other hand, smooth the image and reduce noise by convolving
the image with a Gaussian kernel.
10. โ Drawbacks of Restoration Filters
โ Not effective when images are restored for the human eye.
โ Cannot handle the common cause of non-stationary signals and noise.
โ Cannot handle spatially variant blurring point spread function.
11. 2. Image Deblurring
โ Image deblurring is the process of removing blur from an image that is caused by
factors such as camera shake, motion, defocus, or atmospheric turbulence.
โ Blur can degrade the details and clarity of an image, making it difficult to recognize
or analyze.
โ Image deblurring aims to recover the original image from the blurred one, using
mathematical models and algorithms.
12. Image Deblurring Techniques
โ Blind deconvolution attempts to estimate both the original image and the blur kernel
without any prior information, which can be a challenging and ill-posed problem.
โ Non-blind deconvolution assumes that the blur kernel is known or can be estimated from
some additional information.
โ Multi-image deblurring uses multiple images of the same scene that are blurred
differently to estimate the blur kernel and original image more accurately.
โ Inverse filtering, Wiener filtering, Richardson-Lucy algorithm, iterative methods, deep
learning models, joint optimization, and fusion methods are all techniques used in image
deblurring.
13. 3. Deconvolution
โ Deconvolution is another powerful technique used in image processing to remove blur from
an image.
โ It is often used in situations where an image has been degraded by a known point spread
function.
โ Essentially, deconvolution works by reversing the convolution process that caused the blur in
the first place. This can be thought of as a kind of โunblurringโ of the image.
โ By removing the blur, important details and features of the image that were previously
obscured can be revealed.
โ Deconvolution has a wide range of applications in fields such as astronomy, microscopy, and
medical imaging, and is an important tool for researchers and professionals working in these
areas.
14. 4. Denoising
โ Denoising is a common technique used to reduce random noise, such as Gaussian
noise, salt-and-pepper noise, or speckle noise, which can be introduced by various
factors.
โ Filters like median filter, bilateral filter, or non-local means filter, or deep learning
models like autoencoders or generative adversarial networks may be employed for
this purpose.
15. 5. Inpainting
โ Inpainting is another technique used to fill in missing or damaged parts of an image, such
as scratches, dust, or occlusions.
โ This can be done through interpolation, diffusion, or patch-based methods, or deep
learning models like convolutional neural networks or generative adversarial networks.
โ Inpainting is the process of reconstructing lost or deteriorated parts of images and
videos.
โ Some of the pixels have been replaced by 1s using a binary mask, on purpose, to simulate
a damaged image. Replacing pixels with 1s turns them totally black.
โ The mask is a black and white image with patches that have the position of the image bits
16. 6. Super-resolution
โ Super-resolution is used to increase the resolution or quality of an image such as
low-resolution, pixelated, or blurred images.
โ This can be done through interpolation, reconstruction, or learning-based methods,
or deep learning models like convolutional neural networks or generative
adversarial networks.
17. 7. Machine Learning
โ Machine learning is a subfield of artificial intelligence that allows machines to learn from
data and improve their performance over time.
โ In the case of image restoration, machine learning algorithms are trained on a dataset of
degraded images and their corresponding restored images, enabling them to learn
patterns and relationships that can be used to restore new images.
โ This technique has been shown to produce impressive results, and has been adopted by
many researchers and practitioners in the field of image processing.
โ By leveraging the power of machine learning, image restoration can now be
accomplished with greater accuracy and efficiency than ever before.
19. 1. Lack of Information
โ Sometimes, the degradation in the image is so severe that it is impossible to restore
the image to its original quality.
โ This can happen when there is a lack of information in the original image.
โ For example, if an image is heavily compressed, some information may be lost,
making it impossible to restore the image to its original quality.
20. 2. Computational Complexity
โ Restoring high resolution images requires a lot of processing power.
โ Researchers are constantly exploring new techniques and methods to enhance the
accuracy and quality of restored images, while also reducing the computational
demands of the process.
โ Despite these advancements, there is still much to learn and improve upon in the
field of image restoration, as it remains a critical area of research in numerous
industries, including healthcare, entertainment, and security.
21. 3. Overfitting
โ When it comes to image restoration, overfitting can be a particularly significant
problem.
โ In this scenario, the algorithm is trained on a set of images, and it learns to restore
them to their original state.
โ However, if the algorithm becomes too specialized during training, it may not be
able to generalize well to new images that it has not seen before.
โ This can lead to poor results, which is something that needs to be carefully
considered when using machine learning for image restoration.
22.
23. Python Tools for Image Restoration
โ OpenCV, Scikit-image, and TensorFlow are some of the most widely used libraries
for image deblurring and restoration in Python.
โ Steps: Import the libraries, load and preprocess the images, apply the desired
methods, save or display the results.
24. โ Import the required libraries
import cv2
import numpy as np
โ Load the blurred image
blurred_image = cv2.imread('blur2.jpeg')
25. โ Define the blur kernel size (it's often necessary to experiment with this value)
kernel_size = (15, 15, 3)
โ Initialize the blur kernel with a Gaussian kernel
blur_kernel = cv2.getGaussianKernel(kernel_size[0], 1)
blur_kernel = np.outer(blur_kernel, blur_kernel)
26. โ Perform Wiener deconvolution
restored_image = cv2.filter2D(blurred_image, -1,
blur_kernel)