Image Processing
Image Processing
Image Processing
Hyperspectral Imaging
• Image= 2D array
• Composed of finite
number of elements/
pixels
Digital Image
• An image composed of
pixels
• Pixel= picture element
• The digital image contains
a fixed number of rows
and columns of pixels
• Usually, raster
• Pixels are the smallest
individual element in an
image, holding values that
represent the brightness
of a given color at any
specific point
• Arranged in 2D grid
Digital Image
Digital Image
• Pixels approximate the actual
image
• Resolution= # of pixels in an
image
• More Pixels= more resolution=
more closely the image
resembles the original
• Width x Height or Single number
• 1280 x 1024
• Megapixel= MP= Million pixels
• 5 MP= pixels along the width
multiplied by the pixels along the
height of the image taken by the
camera equals 5 million pixels
• 1280 x 1024 monitors= 1.31 MP
Digital Image
Pixel
Different Color Models
RGB color mode is best for digital work, while CMYK is used for print products
Different Color Models
Color Digital Image
Video: Frame by Frame
Different Color Models
RGB color mode is best for digital work, while CMYK is used for
print products
Digital Image Processing
• Manipulation of digital images
through a digital computer
using computer algorithms
• It is a subfield of signals and
systems but focus particularly
on images
• The input of that system is a
digital image and the system
process that image using
efficient algorithms, and gives
an image as an output
• Most common example:
Adobe Photoshop
Digital Image Processing
1. ACQUISITION– It could
be as simple as being
given an image which is
in digital form. The main
steps involves:
a) Scaling
b)Color conversion
(RGB to CMYK or Gray or
vice-versa)
Digital Image Processing: Principles
2. Image Pre-processing: image normalization
Image normalization
Digital Image Processing: Principles
2. Image Pre-processing:
Contrast Enhancement
Digital Image Processing: Principles
2. Image Pre-processing:
Image Enhancement
Digital Image Processing: Principles
2. Image Pre-processing: noise reduction
• Image noise is a common problem you may encounter when preparing images for analysis. The type of noise
you will encounter will depend on the type and quality of your photographic equipment.
Image Compression
Reduces the file size of images without significant loss of relevant information. This is particularly useful in transmitting
drone-captured images from the field to a central database, optimizing data transfer and facilitating timely decision-
making.
Digital Image Processing: Principles
3. Image Segmentation
• Process of dividing an image into meaningful and coherent regions.
• Involves identifying boundaries and distinguishing objects or structures within the image.
• Accurate segmentation is crucial for isolating specific regions of interest and facilitating targeted
analysis in subsequent stages.
• Enables the system to focus on individual components, enhancing the efficiency of feature
extraction.
• Example: Identifying and distinguishing crop rows from weeds or identifying individual plants
within a field are examples of segmentation in agriculture.
Digital Image Processing: Principles
4. Feature Extraction
• Identification and extraction of relevant information or distinctive characteristics from the
segmented regions.
• These features serve as the basis for subsequent analysis and decision-making.
• Depending on the application, features can include color, texture, shape, or other specific attributes
that are pertinent to the objectives of the image processing task.
• Extracting relevant features from segmented regions plays a vital role.
Digital Image Processing: Principles
4. Feature Extraction:
Image normalization
Digital Image Processing: Principles
5. Post-Processing
• Following feature extraction, post-processing techniques are applied to refine and interpret the results.
• Includes tasks such as filtering, smoothing, or further enhancement of specific features.
• Post-processing aims to improve the overall quality of the output and ensure that the information
extracted aligns with the intended objectives of the image processing application.
• In disease detection, post-processing may involve filtering to enhance features indicative of plant
diseases, enabling timely intervention and minimizing crop losses
Gaussian Smoothing
Digital Image Processing: Principles
5. Post-Processing
Transfer Learning
DL for Image Processing
VGC16 ResNet50
Xception
Image Processing for Smart Agriculture
Application of Image Processing in Soil
Application of Image Processing in Soil
Robotic Pickers
Machine Vision for Autonomous Vehicles
Machine Vision for Autonomous Vehicles
RS Image Analysis for Characterization
RS Image Analysis for Characterization
RS Image Analysis for Characterization
Quantification: Determines
abundance of materials
Characterization: Determines
variability of identified material (e.g.
wet/dry sand, soil particle size
effects)
Identification: Determines unique
identity of the foregoing generic
categories (i.e. material
identification)
Classification: Separates materials
into spectrally similar groups Sensor-based drone for pollutant detection
Detection: Determines presence of Source : MDPI
materials, objects, activities or events
of interest
P4 Multispectral - DJI
Drone based hyperspectral imaging
• Spectral Dispersion
➢ In hyperspectral imaging
systems, incoming light from the
scene is dispersed into its
constituent spectral components
using a dispersive element such
as a prism or diffraction grating.
Each spectral component
corresponds to a specific
wavelength range within the
electromagnetic spectrum.
Fig. Spectral dispersion through prism
UAV based hyperspectral imaging
• Spatial and Spectral Sampling
➢ Hyperspectral imaging systems typically consist of an array detector, such as a charge-
coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) sensor,
which captures spatial information across the scene.
➢ Additionally, a spectral dispersion mechanism, such as a slit or tunable filter, selects specific
wavelength ranges for each spatial position, resulting in spatially resolved spectral data.
UAV based hyperspectral imaging
• Data Cube Formation
➢ The captured spatial-spectral data
is arranged into a three-
dimensional data cube, where two
dimensions represent spatial
coordinates (rows and columns of
the image) and the third
dimension represents spectral
information (wavelength bands).
Each pixel in the data cube
contains a spectral signature
corresponding to the intensity of
light at different wavelengths for a
specific spatial location. Hyperspectral data cube
Hyperspectral vs Multispectral imaging
Hyperspectral imaging Multispectral imaging
Spectral resolution • High spectral resolution. • Lower spectral resolution
• Can have 100-1000s of spectral bands • Have smaller number of discrete spectral
with narrow bandwidths (often <10 bands, typically ranging from a few to
nm). several dozen bands.
Data acquisition • Acquire data across a continuous • Acquire data at predefined spectral bands
spectral range with narrow bandwidths selected to capture specific features or
for each pixel in an image. properties of interest.
Data analysis • Involves spectral unmixing, • Common techniques include spectral
classification, and feature extraction indices, band ratioing, and supervised or
methods to identify and characterize unsupervised classification methods to
materials or features within derive information from multispectral
hyperspectral images. images.
Cost and complexity • Typically more expensive and complex • Generally more affordable and easier to
due to higher spectral resolution and implement.
advanced data processing • Offer a good balance between spectral
requirements. resolution and cost-effectiveness.
Hyperspectral imaging
• Spatial and spectral resolution
➢ Enables precise mapping and analysis of features at a sub-pixel level, enhancing the
accuracy and reliability of information obtained compared to traditional techniques
with lower spatial and spectral resolution.
Spectral resolution
Spatial resolution
UAV based hyperspectral imaging
MSRS with UAV for Soil
Soil analysis using drones – soil erosion monitoring
Source: MDPI
Soil analysis using drones – soil organic matter mapping