11.image Processing in Agriculture
11.image Processing in Agriculture
AGRICULTURE
Dr.K.Vasanth
Associate Professor
Department of Electronics and Communication
Chaitanya Bharathi Institute of Technology
Hyderabad – 75, Telangana
What Do we Learn in This Course
• Imaging is the
representation or
reproduction of an
object's form;
especially a visual
representation (
Formation of images)
TYPES OF IMAGES
IMAGE FORMATS
In 8-bit representation
rows column Pixel intensity values
s change between 0
f(645:650,1323:1328 (Black) and 255 (White)
)=
83 82 82 82 82 82
82 82 82 81 81 81
82 82 81 81 80 80
82 82 81 80 80 79
80 79 78 77 77 77
80 79 78 78 77 77 f(2724,2336) = 88
IMAGE PROCESSING
Medicine
Agriculture
Industry
Indexed Images
Grayscale Images
Image - Information
Low frequency
component
High frequency
Component
(Information)
Drawbacks of Image Acquisition
Enhancement Restoration
• Inverse filtering
Spatial Domain • Wiener filtering
Spectral Domain
Filtering
Point Processing Spatial filtering
Image Enhancement
Consider an Example
Basic idea: find a map f(x)
such that the histogram
of the modified (equalized)
image is flat (uniform).
Key motivation:
cumulative probability
function (cdf) of a random
variable approximates a
uniform distribution
IMAGE PROCESSING USING MATLAB 22
Image Segmentation
• Disease Identification
• Monitoring the Yield of the Crop from remote
Environment
• Pest control
• Livestock detection
• Grading of fruits and vegetables
• Plant Identification etc.,
References
MATLAB
ABOUT MATLAB
• Imshow(a) • Double
– Displays the image • changes the data type but does not
change the numeric values
• Imshow(a/255)
– Darkens the image ( all the matrix
values between 0 and 0.5) • Im2double
• changes both the numeric data type and
• Imshow(a/128) the values
– Lighten the image ( all the matrix • If image itself is double then im2double
values between 0 and 2) does not have any effect
Image Enhancement –Histogram
equalization
• hist(image_variable) • bar(xaxis, yaxis)
– To find the histogram of an image – To plot output Using bargraph
- The Image variable should be in
single column
Cumsum(image_variable)
Find the cumulative sum of the
image variables
./ Division operator for array
Image Segmentation