0% found this document useful (0 votes)
8 views49 pages

Computer Vision Applications Overview

The document outlines various applications of computer vision, including document image analysis, biometrics, object recognition, object tracking, medical image analysis, content-based image retrieval, video data processing, multimedia, and virtual/augmented reality. Each section describes the techniques and technologies used in these areas, emphasizing the role of machine learning and computer vision in enhancing data processing and analysis. The document serves as a comprehensive overview of the current state and advancements in computer vision applications.

Uploaded by

18parthajmeri
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views49 pages

Computer Vision Applications Overview

The document outlines various applications of computer vision, including document image analysis, biometrics, object recognition, object tracking, medical image analysis, content-based image retrieval, video data processing, multimedia, and virtual/augmented reality. Each section describes the techniques and technologies used in these areas, emphasizing the role of machine learning and computer vision in enhancing data processing and analysis. The document serves as a comprehensive overview of the current state and advancements in computer vision applications.

Uploaded by

18parthajmeri
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd

Unit 2: Computer

Vision Applications
Contents

◉ Document Image Analysis


◉ Biometrics
◉ Object Recognition
◉ Object Tracking
◉ Medical Image Analysis
◉ Content-based Image Retrieval
◉ Video Data Processing
◉ Virtual Reality and Augmented Reality
◉ Image Formation
◉ Image Representations (Continuous And Discrete)
◉ Image Preprocessing Techniques
Document Image Processing System

◉ Documents containing a combination of texts, images, tables,


codes, etc., in complex layouts are digitally saved in image format.
Analyzing and extracting useful information out of these image
documents is performed with the help of machine learning. This
supervised task is termed as Document Image Analysis (DIA).
Architecture of Document Image Processing (DIP) System
◉ A DIP system should be capable of handling documents with varied
layouts, containing text, graphics, line drawings, and half-tones.
Several special-purpose modules are required to process different
types of document components. It is essential to have a global data
representation to facilitate communication between processes. This
also allows independent subsystem development without being
concerned with communication protocol.
◉ As in the figure, the image scanner optically captures text images
to be recognized. Text images are processed with DIP software and
hardware.
◉ The process involves three operations: document analysis
(extracting individual character images), recognizing these images
(based on shape), and contextual processing (either to correct
misclassifications made by the recognition algorithm or to limit
recognition choices).
Document Image Analysis

◉ Document image analysis refers to algorithms and techniques that are applied to images of
documents to obtain a computer-readable description from pixel data. A well-known document image
analysis product is the Optical Character Recognition (OCR) software that recognizes characters in a
scanned document. OCR makes it possible for the user to edit or search the document’s contents.
◉ Text is extracted from the document image in a process known as document image analysis. Reliable
character segmentation and recognition depend on both original document quality and registered
image quality.
◉ Processes that attempt to compensate for poor quality originals or poor quality scanning include
image enhancement, underline removal, and noise removal.
◉ Image enhancement methods emphasize character v/s non character discrimination. Underline
removal erases printed guidelines and other lines which may touch characters and interfere with
character recognition. Noise removal erases portions of the image that are not part of the characters.
◉ Prior to character recognition it is necessary to isolate individual characters from the text image.
◉ In low-quality or nonuniform text images these sophisticated algorithms not correctly extract
characters and thus, recognition errors may occur. Recognition of unconstrained handwritten text can
be very difficult because characters cannot be reliably isolated especially when the text is cursive
handwriting.
Biometrics

◉ Biometrics deals with the recognition of persons based on physiological characteristics, such as face,
fingerprint, vascular pattern or iris, and behavioural traits, such as gait or speech.
◉ It combines Computer Vision with knowledge of human physiology and behaviour.
◉ Computer vision technology is used to detect fingerprints and biometrics to validate a user's identity.
Biometrics is the measurement or analysis of physiological characteristics of a person that make a
person unique such as Face, Finger Print, iris Patterns, etc. It makes use of computer vision along with
knowledge of human physiology and behaviour.
The widely used methods of biometric authentication below:
◉ Fingerprints. Applied to compare two examples of friction ridge skin impression from human fingers,
palm or toes.
◉ Iris recognition. Utilized to identify the part of the eye with the help of image processing and
concepts of neural networks.
◉ Face recognition. Used face to distinguish one person from the other, automatically identifies or
verifies a person.
◉ Voice. Applied to recognize speech with the help of natural language processing technology.
◉ DNA. Utilized to measure and analyze the individual’s Deoxyribonucleic acid to distinguish people
with some degree of probability.
Biometrics (Cont.)
Biometrics (Cont.)

Why biometrics technology so beneficial?


◉ Companies across a wide range of business verticals are selecting a computer vision based biometric
technology to secure their secret and confidential data, prevent security holes and identity theft,
enhance the overall user experience.
Biometrics (Cont.)
Object Recognition

◉ Object recognition is a computer vision technique for identifying objects in images or videos. Object
recognition is a key output of deep learning and machine learning algorithms. When humans look at a
photograph or watch a video, we can readily spot people, objects, scenes, and visual details. The goal
is to teach a computer to do what comes naturally to humans: to gain a level of understanding of what
an image contains.
Object Recognition (Cont.)

◉ It is an applied artificial intelligence approach that repurposes a computer as an object detector so it


can scan an image or video from the real world. It understands the object’s features and interprets its
purpose just like humans do.
◉ It aims at helping a computer see an existing image and break it down into a series of pixels to
recognize a specific pattern or shape.
◉ A successful object recognition algorithm depends on the quality of data required to train it. More data
means that the model will more quickly classify objects based on known characteristics.
◉ The probability of accurately identifying an object depends on an image's attributes. In artificial
intelligence, the system calculates a confidence score to predict the label or class of object. However,
algorithmic computation in object recognition is a bit complex and requires complete understanding to
achieve results.
◉ It is a key technology behind driverless cars, enabling them to recognize a stop sign or to distinguish a
pedestrian from a lamppost. It is also useful in a variety of applications such as disease identification
in bioimaging, industrial inspection, and robotic vision
Object Tracking

◉ Object tracking is a computer vision technique used to follow a particular object or multiple items.
Generally, object tracking has applications in videos and real-world interactions, where objects are
firstly detected and then tracked to get observation.
◉ It is used in applications such as Autonomous vehicles, where apart from object classification and
detection such as pedestrians, other vehicles, etc., tracking of real-time motion is also required to
avoid accidents and follow the traffic rules.
◉ The basics of object tracking rely on object detection, but the object, in this case, is viewed from
different angles, and may look completely different in some scenarios.
Object Tracking (Cont.)

◉ Here is a breakdown of how object tracking allows us to select, track, and retain individual classes of
objects in space and over time:
Steps involved in Object Tracking:
◉ Input: The first step is to give input such as video or a
real-time feed from a camera and preprocess each
frame using OpenCV. Pre-preocessing is essential so
the model has consistent data with which to work.
◉ Object Detection: Next, you choose an object
detection algorithm that classifies and detects the
object by creating a bounding box around it.
◉ Labeling: Next, the object tracking algorithm assigns
a unique identification label for each object that has
been identified. For example, this could be all of the
cars in a video feed of a racing track.
◉ Tracking: The last step is keeping track of the
detected object moving through different frames while
storing its relevant path information.
Object Tracking (Cont.)
Medical Image Analysis

◉ Technology today is extremely advanced and now physicians can call upon a variety of imaging
techniques to help examine the inside of the body and therefore make an accurate diagnosis such as
scans and images of the body.
◉ Medical imaging is the process of producing visible images of inner structures of the body for scientific
and medicinal study and treatment as well as a visible view of the function of interior tissues. This
process pursues the disorder identification and management. It creates data bank of regular structure
and function of the organs to make it easy to recognize the anomalies.
◉ Medical image analysis is the science of solving/analyzing medical problems based on different
imaging modalities and digital image analysis techniques.
Types of medical imagery:
◉ Radiologic technology
◉ Ultrasound technology
◉ CT Scans
◉ MRI Scans
Medical Image Analysis

◉ Computer Vision and Machine Learning are being vigorously employed in medical image analysis for
better detecting lesions on bodies and images. The main purpose of CV for medical image analysis is
to unload medical personnel from routine work with large data (bacteria counting), recognize large
amounts of diverse data (multiple lesions), and recognize single small deviations from the norm.
Benefits of Medical Image Analysis: The benefits of medical image analysis are indeed hard to count
and depend on applications and modalities. But they can be generalized. Due to intelligent medical image
analysis doctors and researchers can:
◉ save time and attention with routine and big data volumes,
◉ define precise segments for medical treatment,
◉ detect the slightest abnormalities and lesions in early stages.
Steps of Intelligent medical image analysis can be generalized into 3 milestones similar for all Machine
Learning solutions:
◉ Detection
◉ Recognition
◉ Alert
Medical Image Analysis

◉ The quality of images is important to detect the requested objects and developer companies can
process the original images if needed.
◉ To identify the abnormalities, the solution makes segments of all the objects that are present on the
medical image. Then, the solution detects and classifies the objects using the library.
◉ Overlapping or registration of images that are taken in different modalities (from different diagnostic
equipment) or images taken in different periods in dynamics is a very important step in image analysis
AI medical field for doctor’s decision making. The detected and recognized formations can be further
quantified in size, form, and structure.
◉ With these steps, intelligent medical image analysis solutions are aimed to analyze complex and
numerous images fast.
◉ To run through these steps, software for medical image analysis has to be well trained and operate
with huge libraries.
Content Based Image Retrieval

◉ Content-Based Image Retrieval (CBIR) is a way of retrieving images from a database. In CBIR, a user
specifies a query image and gets the images in the database similar to the query image. To find the
most similar images, CBIR compares the content of the input image to the database images.
◉ The most famous CBIR system is the search per image feature of Google search
Content Based Image Retrieval

◉ "Content-based" means that the search analyzes the contents of the image rather than
the metadata such as keywords, tags, or descriptions associated with the image. The term "content"
in this context might refer to colors, shapes, textures, or any other information that can be derived
from the image itself.
◉ More specifically, CBIR compares visual features such as shapes, colors, texture and spatial
information and measures the similarity between the query image with the images in the database
with respect to those features.
Difference Between Text-Based Image Retrieval and Content-Based Image Retrieval
◉ In the Text-Based Image Retrieval (TBIR) approach, experts manually annotate images with
geolocation, keywords, tags, labels, or short descriptions. Users can use keywords, annotations, or
descriptions to retrieve similar images that exist in the database:
Content Based Image Retrieval

◉ Basically when users specify text or description as a search term, TBIR will retrieve the images that
were assigned similar textual tags.
◉ The approach is simple and intuitive but has some disadvantages. Firstly, since it takes a considerable
amount of time to annotate images manually, it’s labor-intensive. Further, the tags may be unreliable
due to the dependency on people’s perceptions and interpretations that can vary widely across groups
of individuals. To address those problems, CBIR compares the visual contents of images directly. In
that way, there is no need for human labor as well as their subjective and error-prone perception.
Video Data Processing

◉ Video processing consists in signal processing employing statistical analysis and video filters to extract
information or perform video manipulation.
◉ Basic video processing techniques include trimming, image resizing, brightness and contrast
adjustment, fade in and fade out, amongst others.
◉ More complex video processing techniques, also known as Computer Vision Techniques, are based on
image recognition and statistical analysis to perform tasks such as face recognition, detection of
certain image patterns, and computer-human interaction.
◉ Video files can be converted, compressed or decompressed using particular software devices.
◉ Usually, compression involves a reduction of the bitrate (the number of bits processed per time unit),
which makes it possible to store the video digitally and stream it over the network.
◉ Uncompressed audio or video usually are called RAW streams, and although different formats and
codecs for raw data exist, they appear to be too heavy (in bitrate terms) to be stored or streamed over
the network in these formats.
Multimedia

◉ Multimedia is a type of medium that allows information to be easily transferred from one location to
another.
◉ Multimedia is the presentation of text, pictures, audio, and video with links and tools that allow the
user to navigate, engage, create, and communicate using a computer.
◉ Multimedia refers to the computer-assisted integration of text, drawings, still and moving
images(videos) graphics, audio, animation, and any other media in which any type of information can
be expressed, stored, communicated, and processed digitally.
◉ To begin, a computer must be present to coordinate what you see and hear, as well as to interact with.
Second, there must be interconnections between the various pieces of information. Third, you’ll need
navigational tools to get around the web of interconnected data.
◉ Multimedia is being employed in a variety of disciplines, including education, training, and business.
◉ Computer vision technology plays a key role in diverse multimedia applications, including surveillance,
environmental monitoring, smart space, and so on. These has led to a massive research effort devoted
to research challenges in the development of computer vision algorithms for managing, processing,
analyzing, and interpreting the multimedia data collected. The aim of this special issue is to
consolidate the recent research achievements that address the broad challenges in computer vision
technologies with a specific focus in multimedia applications.
Virtual Reality and Augmented Reality

◉ VR immerses a person into a virtual world stimulating their real presence through senses. This
stimulation can be achieved through a source of content and hardware like headsets, treadmills,
gloves and so on. Computer vision aids virtual reality with robust vision capabilities like SLAM
(simultaneous localization and mapping), SfM (structure from motion), user body tracking and gaze
tracking. The more deeply users can immerse themselves in a VR environment -- and block out their
physical surroundings -- the more they are able to suspend their belief and accept it as real, even if it
is fantastical in nature.
Virtual Reality and Augmented Reality

◉ Using cameras and sensors, these functions help VR systems analyze the user’s environment and
detect the headset’s location. So, computer vision and virtual reality work together to make products
more sophisticated and user-responsive.
◉ Augmented reality also is sometimes referred to as a type of virtual reality, although many would
argue that it is a separate but related field. With augmented reality, virtual simulations are overlaid
onto real-world environments in order to enhance or augment those environments. For example, a
furniture retailer might provide an app that enables users to point their phones at a room and visualize
what a new chair or table might look like in that setting.
◉ Computer vision (CV) for augmented reality enables computers to obtain, process, analyze and
understand digital videos and images. By looking at an object and its appearance, location, and the
settings, it identifies what the object is. More simply, this is how Instagram recognizes your friends by
photo tags, how you can log in into your bank account with your eyes, and how you can get yourself a
flower crown on Snapchat.
Virtual Reality and Augmented Reality

◉ A predefined AR content (be it a deer face or hearts around the head), you should get an accurate
face scan. In this case, computer vision enables AR image processing, optical tracking, and scene
reconstruction, which is vital for any immersive app. Next, a computer vision-based AR system scans
your photo with sensors to add the real-time visual effects to your face. It all brings up the mix of the
physical world and AR data.
Image Formation

The function f(x,y) may be characterized by two components:


◉ The amount of source illumination incident on the scene being viewed, and
◉ The amount of illumination reflected by the objects in the scene
◉ These are called the illumination and reflectance components and are denoted by i(x,y) and r(x,y)
respectively.
◉ The two functions combine as a product to form (x,y):
Image Formation (cont.)
Digital Image Representation

◉ An image can be defined as a 2D signal that varies over the spatial coordinates x and y and can be
written mathematically as f(x,y)
Digital Image Representation (Cont.)

◉ In general, the image can be written as a mathematical function f(x,y) as follows:


◉ The value of the function f(x,y) at every point indexed by a row and a column is called grey value or
intensity of the image.

◉ Image Representation by 2D finite matrix shown in above figure is called Sampling.


◉ Each matrix element represented by one of the finite set of discrete values is called Quantization.
◉ To display the images it is first converted to analog signal which is scanned onto a display.
Digital Image Representation (Cont.)

Sampler Quantization Digital Computer

Digital Computer D to A converter Display to user


Digital Image Representation (Cont.)

◉ Resolution is an important characteristic of an imaging system.


◉ It is the ability of the imaging system to produce the smallest discernable details, i.e., the smallest
sized object clearly, and differentiate it from neighbouring small objects that are present in the image.
◉ The number of rows in digital image is called Vertical resolution and the number of column is known as
horizontal resolution.
Image resolution depends on two factors:
◉ Optical Resolution of lens
◉ Spatial Resolution
Spatial Resolution also depends on two parameters:
◉ Number of pixels of the image
◉ Number of bits necessary for adequate intensity resolution, referred to as the bit depth
◉ The number of bits necessary to encode the pixel value is called bit depth. Bit depth is a power of two;
it can be written as powers of 2.
◉ So the total number of bits necessary to represent the image is = Number of rows x Number of
columns * Bit depth
Q. What is the storage requirement for a 1024x1024 binary image?
Image Pre-processing Techniques

◉ As a Machine Learning Engineer, data pre-processing or data cleansing is a crucial step


and most of the ML engineers spend a good amount of time in data pre-processing
before building the model. Some examples for data pre-processing includes outlier
detection, missing value treatments and remove the unwanted or noisy data.
◉ Similarily, Image pre-processing is the term for operations on images at the lowest
level of abstraction. These operations do not increase image information content but
they decrease it if entropy is an information measure. The aim of pre-processing is an
improvement of the image data that suppresses undesired distortions or enhances
some image features relevant for further processing and analysis task. Those features
might vary for different applications.
◉ For example, if we are working on a project which can automate Vehicle Identification,
then our main focus lies on the vehicle, its colour, the registration plate, etc., We do not
focus on the road or the sky or something which isn't necessary for this particular
application.
Image Pre-processing Techniques (Cont.)

There are 4 different types of Image Pre-Processing techniques and they are listed below.
1. Pixel brightness transformations/ Brightness corrections
2. Geometric Transformations
3. Image Filtering and Segmentation
4. Fourier transform and Image restoration
Image Pre-processing Techniques (Cont.)

1. Pixel Brightness Transformations (PBT)


◉ Brightness transformations modify pixel brightness and the transformation depends on the properties
of a pixel itself. In PBT, output pixel’s value depends only on the corresponding input pixel value.
Examples of such operators include brightness and contrast adjustments as well as colour correction
and transformations.
◉ Contrast enhancement is an important area in image processing for both human and computer vision.
It is widely used for medical image processing and as a pre-processing step in speech recognition,
texture synthesis, and many other image/video processing applications
Image Pre-processing Techniques (Cont.)

1. Pixel Brightness Transformations (PBT)


◉ There are two types of Brightness transformations and they are below.
1. Brightness corrections
2. Gray scale transformation
◉ The most common Pixel brightness transforms operations are
1. Gamma correction or Power Law Transform
2. Sigmoid stretching
3. Histogram equalization
◉ Two commonly used point processes are multiplication and addition with a constant.
◉ g(x)=αf(x)+β
◉ The parameters α>0 and β are called the gain and bias parameters and sometimes these parameters
are said to control contrast and brightness respectively.
◉ [Link](image, alpha=alpha, beta=beta)
◉ for different values of alpha and beta, the image brightness and contrast varies.
Image Pre-processing Techniques (Cont.)

1. Pixel Brightness Transformations (PBT)


Gamma Correction
◉ Gamma correction is a non-linear adjustment to individual pixel values. While in image normalization
we carried out linear operations on individual pixels, such as scalar multiplication and
addition/subtraction, gamma correction carries out a non-linear operation on the source image pixels,
and can cause saturation of the image being altered.
Sigmoid stretching
◉ Sigmoid function is a continuous nonlinear activation function. The name, sigmoid, is obtained from
the fact that the function is “S” shaped. Statisticians call this function the logistic function.
◉ g (x,y) is Enhanced pixel value
◉ c is Contrast factor
◉ th is Threshold value
◉ fs(x,y) is original image
◉ By adjusting the contrast factor ‘c’ and threshold value it is possible to tailor the amount of lightening
and darkening to control the overall contrast enhancement
Image Pre-processing Techniques (Cont.)

1. Pixel Brightness Transformations (PBT)


Histogram equalization
◉ Histogram equalization is a well-known contrast enhancement technique due to its performance on
almost all types of image. Histogram equalization provides a sophisticated method for modifying the
dynamic range and contrast of an image by altering that image such that its intensity histogram has
the desired shape. Unlike contrast stretching, histogram modelling operators may employ non-linear
and non-monotonic transfer functions to map between pixel intensity values in the input and output
images.
◉ The normalized histogram.
◉ P(n) = number of pixels with intensity n/ total number of pixels
Image Pre-processing Techniques (Cont.)

2. Geometric Transformations
◉ The earlier methods in this article deal with the colour and brightness/contrast. With geometric
transformation, positions of pixels in an image are modified but the colours are unchanged.
◉ Geometric transforms permit the elimination of geometric distortion that occurs when an image is
captured. The normal Geometric transformation operations are rotation, scaling and distortion (or
undistortion!) of images.
◉ There are two basic steps in geometric transformations:
1. Spatial transformation of the physical rearrangement of pixels in the image
2. Grey level interpolation, which assigns grey levels to the transformed image

◉ change the perspective of a given image or video for getting better insights about the required
information. Here the points needs to be provided on the image from which want to gather information
by changing the perspective.
Image Pre-processing Techniques (Cont.)

2. Geometric Transformations
Interpolation Methods :
◉ After the transformation methods, the new point co-ordinates (x’,y’) were obtained. Lets suppose
these new points do not in general fit the discrete raster of the output image. So Each pixel value in
the output image raster can be obtained by interpolation methods.

◉ The brightness interpolation problem is usually expressed in a dual way. The brightness value of the
pixel (x’,y’) in the output image where x’ and y’ lie on the discrete raster and it is

◉ Different types of Interpolation methods are

1. Nearest neighbor interpolation is the simplest technique that re samples the pixel values present in
the input vector or a matrix
2. Linear interpolation explores four points neighboring the point (x,y), and assumes that the
brightness function is linear in this neighborhood.
3. Bicubic interpolation improves the model of the brightness function by approximating it locally by a
bicubic polynomial surface. sixteen neighboring points are used for interpolation.
Image Pre-processing Techniques (Cont.)

3. Image Filtering
The goal of using filters is to modify or enhance image properties and/or to extract valuable information
from the pictures such as edges, corners, and blobs. A filter is defined by a kernel, which is a small array
applied to each pixel and its neighbors within an image
Some of the basic filtering techniques are
◉ Low Pass Filtering (Smoothing) : A low pass filter is the basis for most smoothing methods. An image is
smoothed by decreasing the disparity between pixel values by averaging nearby pixels
◉ High pass filters (Edge Detection, Sharpening) : High-pass filter can be used to make an image appear
sharper. These filters emphasize fine details in the image – the opposite of the low-pass filter. High-
pass filtering works in the same way as low-pass filtering; it just uses a different convolution kernel.
◉ Directional Filtering : Directional filter is an edge detector that can be used to compute the first
derivatives of an image. The first derivatives (or slopes) are most evident when a large change occurs
between adjacent pixel [Link] filters can be designed for any direction within a given
space
◉ Laplacian Filtering : Laplacian filter is an edge detector used to compute the second derivatives of an
image, measuring the rate at which the first derivatives change. This determines if a change in
adjacent pixel values is from an edge or continuous progression. Laplacian filter kernels usually
contain negative values in a cross pattern, centered within the array. The corners are either zero or
Image Pre-processing Techniques (Cont.)

3. Image Segmentation
◉ Image segmentation is a commonly used technique in digital image processing and analysis to
partition an image into multiple parts or regions, often based on the characteristics of the pixels in the
image. Image segmentation could involve separating foreground from background, or clustering
regions of pixels based on similarities in colour or shape.
◉ Image Segmentation mainly used in
◉ Face detection
◉ Medical imaging
◉ Machine vision
◉ Autonomous Driving
Image Pre-processing Techniques (Cont.)

4. Fourier Transform
◉ The Fourier Transform is an important image processing tool which is used to decompose an image
into its sine and cosine components. The output of the transformation represents the image in the
Fourier or frequency domain, while the input image is the spatial domain equivalent. In the Fourier
domain image, each point represents a particular frequency contained in the spatial domain image.
◉ The Fourier Transform is used in a wide range of applications, such as image analysis, image filtering,
image reconstruction and image compression
◉ In order to process an image in frequency domain , we need to first convert it using into frequency
domain and we have to take inverse of the output to convert it back into spatial domain. That’s why
both Fourier series and Fourier transform has two formulas. One for conversion and one converting it
back to the spatial domain
2D Fourier Transform
The Fourier transform can be denoted by this formula

The inverse can be calculated by this formula.


Image Pre-processing Techniques (Cont.)

4. Fourier Transform
Discrete fourier transform.
◉ Since we are dealing with images, and infact digital images , so for digital images we will be working
on discrete fourier transform

Consider the above Fourier term of a sinusoid. It include three things.


◉ Spatial Frequency
◉ Magnitude
◉ Phase
The spatial frequency directly relates with the brightness of the image. The magnitude of the sinusoid
directly relates with the contrast. Contrast is the difference between maximum and minimum pixel
intensity. Phase contains the color information.
Image Pre-processing Techniques (Cont.)

4. Fourier Transform
Discrete fourier transform
◉ The formula for 2 dimensional discrete Fourier transform is given below.

◉ The discrete Fourier transform is actually the sampled Fourier transform, so it contains some samples
that denotes an image. In the above formula f(x,y) denotes the image , and F(u,v) denotes the
discrete Fourier transform. The formula for 2 dimensional inverse discrete Fourier transform is given
below.

◉ The inverse discrete Fourier transform converts the Fourier transform back to the image
Image Pre-processing Techniques (Cont.)

4. Image Restoration
◉ A process which tries to recover or restore an image which has been degraded by some knowledge of
a degradation method is known as image restoration.
◉ One should know the degradation model to restore it back in image restoration whereas in case of
noise filtering/image enhacement it is not required.
◉ Below is the image of Degradation model

Degradation
+ Filter
Function H
f(x,y) g(x,y) f’(x,y)
Original Image Degraded image Approximation
of Original
Additive image
Noise
Image Pre-processing Techniques (Cont.)

4. Image Restoration

Degradation
+ Filter
Function H
g(x,y)
f(x,y) f’(x,y)
Degraded image
Original Image Approximation
of Original
Additive image
Noise

g(x,y) is in spatial domain and G(u,v) is in frequency domain


Image Pre-processing Techniques (Cont.)

4. Image Restoration
◉ When we are referring to image restoration problems we basically mean that we have a degraded
image and we want to recover the clean non-degraded image. There could be many reasons for an
image to get degraded, Mainly, degradation of images may occur during image transmission,
formation, and storage. There are a lot of tasks in image restoration, Let’s talk about three main tasks:
Denoising and general reconstruction
◉ Image denoising refers to an attempt to restore images contaminated by additive noise or sources
such as compression.
Image Pre-processing Techniques (Cont.)

4. Image Restoration
◉ Super — resolution
◉ The goal of super-resolution is to take a low-resolution image and up-sample it to create a high-
resolution version.
Image Pre-processing Techniques (Cont.)

4. Image Restoration
Image in-painting
◉ Image in-painting is the process of reconstructing lost or deteriorated parts of images and videos. This
technique is often used to remove unwanted objects from an image or to restore damaged portions of
old photos. The figures below show example image-in-painting results.
Thank You

You might also like