SlideShare a Scribd company logo
Machine vision system for the automatic segmentation of plants
under different lighting conditions
Mehran Mesbahzade
June 2019
1
Sajad Sabzi , Yousef Abbaspour-Gilandeh , Hossein Javadikia
http://dx.doi.org/10.1016/j.biosystemseng.2017.06.021
 A machine vision system is suggested for segmenting different plants.
 126 features were extracted of 6 colour spaces of RGB, CMY, HIS, HSV, YIQ, YCbCr.
 Hybrid artificial neural network-differential had better performance than other algorithms.
 The efficiency of meta-heuristic classifier systems is better than statistical classifiers.
 Most of classes were segmented in the third channel of improved YCbCr colour space.
Highlights
2
With increasing population and the occurrence of successive droughts in many parts of the world, many governments are
urging the implementation of precision agriculture. The term of precision agriculture can have different definitions based on
different goals. But generally, the set of actions that causes maximum exploitation of agricultural land and/or the optimal use
of inputs is called precision agriculture. Using modern methods and technologies such as image processing, video
processing, artificial intelligence and machine vision is essential for implementing precision agriculture.
1.Introduction
3
The different stages used to design the machine vision system in this research are shown in the flowchart in Fig. 1.
2. Materials and methods
4
Fig. 1-Segmentation flowcharts of different plants under various
lighting conditions.
 RGB colour space
 CMY colour space
 HSV colour space
 HSI colour space
 YIQ colour space
 YCbCr colour space
 Improved YCbCr colour space
2.2. Colour spaces
5
2.2. Colour spaces
Figure 2 shows 9 images at each of the light intensities
related to the photographic conditions.
Fig. 2-Sample images of different light conditions and
different growth stages,
(a): light intensity 1820 lux, (b): light intensity 1096 lux,
(c): light intensity 156 lux, (d): light intensity 327 lux,
(e): light intensity 1542 lux, (f): light intensity 1998 lux,
(j): light intensity 750 lux, (h): light intensity 450 lux,
(i): light intensity 1650 lux.
6
 Features related to mean and standard deviation
 Green indexes
Table 3 shows the extracting features related to this section. As it can be observed, the average and the standard deviation
of the 1st, 2nd and 3rd channels, and the average of the three channels, using RGB, CMY, HSI, HSV, YIQ and YCbCr colour
spaces, makes a total of 7 6 ¼ 42 features for each object.
2.3. Extracting colour features
7
 Genetic algorithm
Genetic algorithm is an important optimization method that is inspired by nature. Indeed, this algorithm has been
established based on natural evolutionary principles.
 Differential evolution algorithm
Differential evolution algorithm is also based on a population and has random behavioral tendencies like many
optimization algorithms and was proposed by Storn and Price (1996).
 Particle swarm algorithm
Particle swarm algorithm is a meta-heuristic algorithm that mimics the mass movement of birds for optimizing different
problems. This algorithm was first proposed by Kennedy and Eberhart (1995).
2.4. Selection of effective features
8
Following selection of effective features, classification is required. There are different methods for classification that are
generally divided into the two categories of metaheuristics and statistical methods.
Meta-heuristics method work based on spatial search and therefore they have generally better results than statistical
methods.
2.5. Classification
9
3.1. Selection of effective features
3.2. Classification
3. Results and discussion
10
Figure 3(a)
shows the performance of classifier system in classifying the selective features
by the mentioned methods.
Figure 3(b)
shows an accuracy box plot graph related to the different methods.
Figure 3(c)
shows the coefficient of determining hybrid artificial neural network-harmony
search classifier system in classifying 9 different states of photography using
the inputs determined by the three mentioned methods.
Fig. 3. Performance comparison three methods used to extract features.
(a): mean square error related to each iteration,
(b): box plot graph related to classification accuracy for each method,
(c): box plot graph related to coefficient of determination for each method.
11
Figure 4
shows a box plot graph of the classifier system error related to 20
repetitions based on three criteria of Mean Square Error, Root Mean
Square Error and Mean Absolute Error.
Fig. 4 -Classifier errors for set of selective features by ANN-DE, ANNGA
and ANN-PSO
(a): mean square error,
(b): Root mean square error,
(c): Mean absolute error.
12
3. Results and discussion
Table 6
shows the results related to the best classifier by the method of hybrid artificial neural network-harmony search algorithm.
Table 7
shows the results of classification training using the hybrid artificial neural network-harmony search classifier
13
3. Results and discussion
Table 8
shows the results related to the classifier test. Among 7,170 samples, it wrongly
classified only 45 samples.
Table 9
shows the results of classification based on KNN classification for the number of
different neighbors.
The results of this classification can be observed in Table 10.
14
3. Results and discussion
Table 11
shows the results related to these three performance criteria for the two classifiers. As it can be seen, sensitivity, specificity and
accuracy of the classifier system of hybrid artificial neural network harmony search have the values of 100 for the classes of 3 and
4. Value of 100% sensitivity means that classifier system has not classified any sample related to the intended class wrongly in
another class.
15
Figure 5
shows ROC graph related to training and test data using hybrid artificial neural network-
harmony search method.
(a): training,
(b): testing datausing hybrid ANN-HS classifier.
16
17
Figure 6
shows ROC graph related to test data using K-nearest neighbor
method. In this figure, the graph related to seventh class has lowest
level area and this means that classification system puts highest
number of wrongly classified samples into this class.
Fig. 6 - ROC graph related to testing data using KNN classifier.
3.4. Selection of colour space and appropriate thresholds
3.3.2. Investigating the performance of classifier systems
Table 12
shows the result of those two researches compared to this research. It can be seen that the segmentation precision of
Hernandez-Hernandez et al. (2016) was 97% and of Tang et al. (2016) was 92.5%.
Table 13
shows the channels for determining threshold and threshold value for different photography states.
18
Figures 7 and 8
show sample image of each state, images in the selected
channels in Table 13 and the histogram related to these
channels. It can be seen that the histograms have two peaks,
one peak related to the background and the other to the
objects.
Fig. 7-Original image, referred channels in Table 13,
and histogram related to each channel.
(a)-(f) are related to photography states 1e6 respectively.
19
20
Fig. 8 -Original image, referred channels in Table 13,
and histogram related to each channel.
(a)-(c) are related to photography states 7 to 9 respectively.
4. Conclusions
Figures 9 and 10
show sample image, segmented image and
binary image related to all 9 different states.
21
4. Conclusions
22
Fig. 10-Original image, segmented image and binary image.
(a)-(d) are related to photography states 6-9 respectively.
The End
23

More Related Content

Similar to Machine vision system for the automatic segmentation of plants under different lighting conditions

An Automatic Clustering Technique for Optimal Clusters
An Automatic Clustering Technique for Optimal ClustersAn Automatic Clustering Technique for Optimal Clusters
An Automatic Clustering Technique for Optimal Clusters
IJCSEA Journal
 
Combining Neural Networks for Skin Detection
Combining Neural Networks for Skin DetectionCombining Neural Networks for Skin Detection
Combining Neural Networks for Skin Detection
sipij
 
Color Constancy For Improving Skin Detection
Color Constancy For Improving Skin DetectionColor Constancy For Improving Skin Detection
Color Constancy For Improving Skin Detection
CSCJournals
 
M-FISH KARYOTYPING - A NEW APPROACH BASED ON WATERSHED TRANSFORM
M-FISH KARYOTYPING - A NEW APPROACH BASED ON WATERSHED TRANSFORMM-FISH KARYOTYPING - A NEW APPROACH BASED ON WATERSHED TRANSFORM
M-FISH KARYOTYPING - A NEW APPROACH BASED ON WATERSHED TRANSFORM
IJCSEIT Journal
 
Computer aided classification of Bascal cell carcinoma using adaptive Neuro-f...
Computer aided classification of Bascal cell carcinoma using adaptive Neuro-f...Computer aided classification of Bascal cell carcinoma using adaptive Neuro-f...
Computer aided classification of Bascal cell carcinoma using adaptive Neuro-f...
Editor IJMTER
 
G143741
G143741G143741
G143741
irjes
 
Fuzzy clustering1
Fuzzy clustering1Fuzzy clustering1
Fuzzy clustering1
abc
 
Evaluation of image segmentation and filtering with ann in the papaya leaf
Evaluation of image segmentation and filtering with ann in the papaya leafEvaluation of image segmentation and filtering with ann in the papaya leaf
Evaluation of image segmentation and filtering with ann in the papaya leaf
ijcsit
 
International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI)International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI)
inventionjournals
 
Bo Dong-ISBI2015-CameraReady
Bo Dong-ISBI2015-CameraReadyBo Dong-ISBI2015-CameraReady
Bo Dong-ISBI2015-CameraReadyBo Dong
 
Face recognition using gaussian mixture model & artificial neural network
Face recognition using gaussian mixture model & artificial neural networkFace recognition using gaussian mixture model & artificial neural network
Face recognition using gaussian mixture model & artificial neural network
eSAT Journals
 
Wavelet-Based Color Histogram on Content-Based Image Retrieval
Wavelet-Based Color Histogram on Content-Based Image RetrievalWavelet-Based Color Histogram on Content-Based Image Retrieval
Wavelet-Based Color Histogram on Content-Based Image Retrieval
TELKOMNIKA JOURNAL
 
Comparision of Clustering Algorithms usingNeural Network Classifier for Satel...
Comparision of Clustering Algorithms usingNeural Network Classifier for Satel...Comparision of Clustering Algorithms usingNeural Network Classifier for Satel...
Comparision of Clustering Algorithms usingNeural Network Classifier for Satel...
IJERA Editor
 
MR Image Compression Based on Selection of Mother Wavelet and Lifting Based W...
MR Image Compression Based on Selection of Mother Wavelet and Lifting Based W...MR Image Compression Based on Selection of Mother Wavelet and Lifting Based W...
MR Image Compression Based on Selection of Mother Wavelet and Lifting Based W...
ijma
 
Enhanced Spectral Reflectance Reconstruction Using Pseudo-Inverse Estimation ...
Enhanced Spectral Reflectance Reconstruction Using Pseudo-Inverse Estimation ...Enhanced Spectral Reflectance Reconstruction Using Pseudo-Inverse Estimation ...
Enhanced Spectral Reflectance Reconstruction Using Pseudo-Inverse Estimation ...
CSCJournals
 
Iaetsd an efficient way of detecting a numbers in car
Iaetsd an efficient way of detecting a numbers in carIaetsd an efficient way of detecting a numbers in car
Iaetsd an efficient way of detecting a numbers in car
Iaetsd Iaetsd
 
T180203125133
T180203125133T180203125133
T180203125133
IOSR Journals
 
An Adaptive Masker for the Differential Evolution Algorithm
An Adaptive Masker for the Differential Evolution AlgorithmAn Adaptive Masker for the Differential Evolution Algorithm
An Adaptive Masker for the Differential Evolution Algorithm
IOSR Journals
 
SEGMENTATION OF LUNG GLANDULAR CELLS USING MULTIPLE COLOR SPACES
SEGMENTATION OF LUNG GLANDULAR CELLS USING MULTIPLE COLOR SPACESSEGMENTATION OF LUNG GLANDULAR CELLS USING MULTIPLE COLOR SPACES
SEGMENTATION OF LUNG GLANDULAR CELLS USING MULTIPLE COLOR SPACES
IJCSEA Journal
 
ON THE PREDICTION ACCURACIES OF THREE MOST KNOWN REGULARIZERS : RIDGE REGRESS...
ON THE PREDICTION ACCURACIES OF THREE MOST KNOWN REGULARIZERS : RIDGE REGRESS...ON THE PREDICTION ACCURACIES OF THREE MOST KNOWN REGULARIZERS : RIDGE REGRESS...
ON THE PREDICTION ACCURACIES OF THREE MOST KNOWN REGULARIZERS : RIDGE REGRESS...
ijaia
 

Similar to Machine vision system for the automatic segmentation of plants under different lighting conditions (20)

An Automatic Clustering Technique for Optimal Clusters
An Automatic Clustering Technique for Optimal ClustersAn Automatic Clustering Technique for Optimal Clusters
An Automatic Clustering Technique for Optimal Clusters
 
Combining Neural Networks for Skin Detection
Combining Neural Networks for Skin DetectionCombining Neural Networks for Skin Detection
Combining Neural Networks for Skin Detection
 
Color Constancy For Improving Skin Detection
Color Constancy For Improving Skin DetectionColor Constancy For Improving Skin Detection
Color Constancy For Improving Skin Detection
 
M-FISH KARYOTYPING - A NEW APPROACH BASED ON WATERSHED TRANSFORM
M-FISH KARYOTYPING - A NEW APPROACH BASED ON WATERSHED TRANSFORMM-FISH KARYOTYPING - A NEW APPROACH BASED ON WATERSHED TRANSFORM
M-FISH KARYOTYPING - A NEW APPROACH BASED ON WATERSHED TRANSFORM
 
Computer aided classification of Bascal cell carcinoma using adaptive Neuro-f...
Computer aided classification of Bascal cell carcinoma using adaptive Neuro-f...Computer aided classification of Bascal cell carcinoma using adaptive Neuro-f...
Computer aided classification of Bascal cell carcinoma using adaptive Neuro-f...
 
G143741
G143741G143741
G143741
 
Fuzzy clustering1
Fuzzy clustering1Fuzzy clustering1
Fuzzy clustering1
 
Evaluation of image segmentation and filtering with ann in the papaya leaf
Evaluation of image segmentation and filtering with ann in the papaya leafEvaluation of image segmentation and filtering with ann in the papaya leaf
Evaluation of image segmentation and filtering with ann in the papaya leaf
 
International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI)International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI)
 
Bo Dong-ISBI2015-CameraReady
Bo Dong-ISBI2015-CameraReadyBo Dong-ISBI2015-CameraReady
Bo Dong-ISBI2015-CameraReady
 
Face recognition using gaussian mixture model & artificial neural network
Face recognition using gaussian mixture model & artificial neural networkFace recognition using gaussian mixture model & artificial neural network
Face recognition using gaussian mixture model & artificial neural network
 
Wavelet-Based Color Histogram on Content-Based Image Retrieval
Wavelet-Based Color Histogram on Content-Based Image RetrievalWavelet-Based Color Histogram on Content-Based Image Retrieval
Wavelet-Based Color Histogram on Content-Based Image Retrieval
 
Comparision of Clustering Algorithms usingNeural Network Classifier for Satel...
Comparision of Clustering Algorithms usingNeural Network Classifier for Satel...Comparision of Clustering Algorithms usingNeural Network Classifier for Satel...
Comparision of Clustering Algorithms usingNeural Network Classifier for Satel...
 
MR Image Compression Based on Selection of Mother Wavelet and Lifting Based W...
MR Image Compression Based on Selection of Mother Wavelet and Lifting Based W...MR Image Compression Based on Selection of Mother Wavelet and Lifting Based W...
MR Image Compression Based on Selection of Mother Wavelet and Lifting Based W...
 
Enhanced Spectral Reflectance Reconstruction Using Pseudo-Inverse Estimation ...
Enhanced Spectral Reflectance Reconstruction Using Pseudo-Inverse Estimation ...Enhanced Spectral Reflectance Reconstruction Using Pseudo-Inverse Estimation ...
Enhanced Spectral Reflectance Reconstruction Using Pseudo-Inverse Estimation ...
 
Iaetsd an efficient way of detecting a numbers in car
Iaetsd an efficient way of detecting a numbers in carIaetsd an efficient way of detecting a numbers in car
Iaetsd an efficient way of detecting a numbers in car
 
T180203125133
T180203125133T180203125133
T180203125133
 
An Adaptive Masker for the Differential Evolution Algorithm
An Adaptive Masker for the Differential Evolution AlgorithmAn Adaptive Masker for the Differential Evolution Algorithm
An Adaptive Masker for the Differential Evolution Algorithm
 
SEGMENTATION OF LUNG GLANDULAR CELLS USING MULTIPLE COLOR SPACES
SEGMENTATION OF LUNG GLANDULAR CELLS USING MULTIPLE COLOR SPACESSEGMENTATION OF LUNG GLANDULAR CELLS USING MULTIPLE COLOR SPACES
SEGMENTATION OF LUNG GLANDULAR CELLS USING MULTIPLE COLOR SPACES
 
ON THE PREDICTION ACCURACIES OF THREE MOST KNOWN REGULARIZERS : RIDGE REGRESS...
ON THE PREDICTION ACCURACIES OF THREE MOST KNOWN REGULARIZERS : RIDGE REGRESS...ON THE PREDICTION ACCURACIES OF THREE MOST KNOWN REGULARIZERS : RIDGE REGRESS...
ON THE PREDICTION ACCURACIES OF THREE MOST KNOWN REGULARIZERS : RIDGE REGRESS...
 

Recently uploaded

GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
RinaMondal9
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
nkrafacyberclub
 
GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...
ThomasParaiso2
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 

Recently uploaded (20)

GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
 
GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 

Machine vision system for the automatic segmentation of plants under different lighting conditions

  • 1. Machine vision system for the automatic segmentation of plants under different lighting conditions Mehran Mesbahzade June 2019 1 Sajad Sabzi , Yousef Abbaspour-Gilandeh , Hossein Javadikia http://dx.doi.org/10.1016/j.biosystemseng.2017.06.021
  • 2.  A machine vision system is suggested for segmenting different plants.  126 features were extracted of 6 colour spaces of RGB, CMY, HIS, HSV, YIQ, YCbCr.  Hybrid artificial neural network-differential had better performance than other algorithms.  The efficiency of meta-heuristic classifier systems is better than statistical classifiers.  Most of classes were segmented in the third channel of improved YCbCr colour space. Highlights 2
  • 3. With increasing population and the occurrence of successive droughts in many parts of the world, many governments are urging the implementation of precision agriculture. The term of precision agriculture can have different definitions based on different goals. But generally, the set of actions that causes maximum exploitation of agricultural land and/or the optimal use of inputs is called precision agriculture. Using modern methods and technologies such as image processing, video processing, artificial intelligence and machine vision is essential for implementing precision agriculture. 1.Introduction 3
  • 4. The different stages used to design the machine vision system in this research are shown in the flowchart in Fig. 1. 2. Materials and methods 4 Fig. 1-Segmentation flowcharts of different plants under various lighting conditions.
  • 5.  RGB colour space  CMY colour space  HSV colour space  HSI colour space  YIQ colour space  YCbCr colour space  Improved YCbCr colour space 2.2. Colour spaces 5
  • 6. 2.2. Colour spaces Figure 2 shows 9 images at each of the light intensities related to the photographic conditions. Fig. 2-Sample images of different light conditions and different growth stages, (a): light intensity 1820 lux, (b): light intensity 1096 lux, (c): light intensity 156 lux, (d): light intensity 327 lux, (e): light intensity 1542 lux, (f): light intensity 1998 lux, (j): light intensity 750 lux, (h): light intensity 450 lux, (i): light intensity 1650 lux. 6
  • 7.  Features related to mean and standard deviation  Green indexes Table 3 shows the extracting features related to this section. As it can be observed, the average and the standard deviation of the 1st, 2nd and 3rd channels, and the average of the three channels, using RGB, CMY, HSI, HSV, YIQ and YCbCr colour spaces, makes a total of 7 6 ¼ 42 features for each object. 2.3. Extracting colour features 7
  • 8.  Genetic algorithm Genetic algorithm is an important optimization method that is inspired by nature. Indeed, this algorithm has been established based on natural evolutionary principles.  Differential evolution algorithm Differential evolution algorithm is also based on a population and has random behavioral tendencies like many optimization algorithms and was proposed by Storn and Price (1996).  Particle swarm algorithm Particle swarm algorithm is a meta-heuristic algorithm that mimics the mass movement of birds for optimizing different problems. This algorithm was first proposed by Kennedy and Eberhart (1995). 2.4. Selection of effective features 8
  • 9. Following selection of effective features, classification is required. There are different methods for classification that are generally divided into the two categories of metaheuristics and statistical methods. Meta-heuristics method work based on spatial search and therefore they have generally better results than statistical methods. 2.5. Classification 9
  • 10. 3.1. Selection of effective features 3.2. Classification 3. Results and discussion 10
  • 11. Figure 3(a) shows the performance of classifier system in classifying the selective features by the mentioned methods. Figure 3(b) shows an accuracy box plot graph related to the different methods. Figure 3(c) shows the coefficient of determining hybrid artificial neural network-harmony search classifier system in classifying 9 different states of photography using the inputs determined by the three mentioned methods. Fig. 3. Performance comparison three methods used to extract features. (a): mean square error related to each iteration, (b): box plot graph related to classification accuracy for each method, (c): box plot graph related to coefficient of determination for each method. 11
  • 12. Figure 4 shows a box plot graph of the classifier system error related to 20 repetitions based on three criteria of Mean Square Error, Root Mean Square Error and Mean Absolute Error. Fig. 4 -Classifier errors for set of selective features by ANN-DE, ANNGA and ANN-PSO (a): mean square error, (b): Root mean square error, (c): Mean absolute error. 12
  • 13. 3. Results and discussion Table 6 shows the results related to the best classifier by the method of hybrid artificial neural network-harmony search algorithm. Table 7 shows the results of classification training using the hybrid artificial neural network-harmony search classifier 13
  • 14. 3. Results and discussion Table 8 shows the results related to the classifier test. Among 7,170 samples, it wrongly classified only 45 samples. Table 9 shows the results of classification based on KNN classification for the number of different neighbors. The results of this classification can be observed in Table 10. 14
  • 15. 3. Results and discussion Table 11 shows the results related to these three performance criteria for the two classifiers. As it can be seen, sensitivity, specificity and accuracy of the classifier system of hybrid artificial neural network harmony search have the values of 100 for the classes of 3 and 4. Value of 100% sensitivity means that classifier system has not classified any sample related to the intended class wrongly in another class. 15
  • 16. Figure 5 shows ROC graph related to training and test data using hybrid artificial neural network- harmony search method. (a): training, (b): testing datausing hybrid ANN-HS classifier. 16
  • 17. 17 Figure 6 shows ROC graph related to test data using K-nearest neighbor method. In this figure, the graph related to seventh class has lowest level area and this means that classification system puts highest number of wrongly classified samples into this class. Fig. 6 - ROC graph related to testing data using KNN classifier.
  • 18. 3.4. Selection of colour space and appropriate thresholds 3.3.2. Investigating the performance of classifier systems Table 12 shows the result of those two researches compared to this research. It can be seen that the segmentation precision of Hernandez-Hernandez et al. (2016) was 97% and of Tang et al. (2016) was 92.5%. Table 13 shows the channels for determining threshold and threshold value for different photography states. 18
  • 19. Figures 7 and 8 show sample image of each state, images in the selected channels in Table 13 and the histogram related to these channels. It can be seen that the histograms have two peaks, one peak related to the background and the other to the objects. Fig. 7-Original image, referred channels in Table 13, and histogram related to each channel. (a)-(f) are related to photography states 1e6 respectively. 19
  • 20. 20 Fig. 8 -Original image, referred channels in Table 13, and histogram related to each channel. (a)-(c) are related to photography states 7 to 9 respectively.
  • 21. 4. Conclusions Figures 9 and 10 show sample image, segmented image and binary image related to all 9 different states. 21
  • 22. 4. Conclusions 22 Fig. 10-Original image, segmented image and binary image. (a)-(d) are related to photography states 6-9 respectively.

Editor's Notes

  1. یک سیستم بینایی ماشین برای قطعه بندی گیاهان مختلف پیشنهاد شده است. 126 ویژگی از 6 فضای رنگی RGB، CMY، HIS، HSV، YIQ، YCbCr استخراج شده است. شبکه عصبی مصنوعی هیبرید عملکرد بهتری از الگوریتم های دیگر داشته. کارایی سیستم های طبقه بندی متا هیوریستیک بهتر از طبقه بندی های آماری است. اکثر کلاسها در کانال سوم فضای رنگی YCbCr بهبود یافتند.
  2. بخش اول : معرفی با افزایش جمعیت و وقوع خشکسالی های متوالی در بسیاری از نقاط جهان، بسیاری از دولت ها از اجرای دقیق کشاورزی حمایت می کنند. اصطلاح کشاورزی دقيق می تواند بر اساس اهداف متفاوت، تعاریف متفاوت داشته باشد. اما به طور کلی، مجموعه اقداماتی که موجب حداکثر بهره برداری از زمین های کشاورزی و / یا استفاده بهینه از منابع می شود، کشاورزی دقیق نامیده می شود. با استفاده از روش های مدرن و فن آوری هایی مانند پردازش تصویر، پردازش تصویر، هوش مصنوعی و چشم انداز ماشین برای اجرای دقیق کشاورزی ضروری است.
  3. 2. مواد و روش ها مراحل مختلف مورد استفاده برای طراحی سیستم بینایی ماشین در این تحقیق در شکل 1 نشان داده شده است. شکل 1 - Segmentation fl owcharts از گیاهان مختلف در شرایط مختلف نور.
  4. 2.2 فضاهای رنگی
  5. شکل 2 نشان می دهد 9 تصویر در هر یک از شدت نور مربوط به شرایط عکاسی است. شکل 2 تصاویر نمونه هایی از شرایط مختلف نور و مراحل مختلف رشد، (a): شدت نور 1820 لوکس، (ب): شدت نور 1096 لوکس، (ج): شدت نور 156 لوکس، (d): شدت نور 327 lux، (e): شدت نور 1542 lux، (f): شدت نور 1998 lux، (j): شدت نور 750 lux، (h): شدت نور 450 لیکس، (i): شدت نور 1650 لوس.
  6. شکل 3 (a) عملکرد سیستم طبقه بندی را در طبقه بندی ویژگی های انتخابی توسط روش های ذکر شده نشان می دهد. شکل 3 (ب) یک نمودار رسم نمودار جعبه مربوط به روش های مختلف را نشان می دهد. شکل 3 (ج) نشان می دهد که ضریب تعیین درجه بندی سیستم های جستجوی هارمونیک شبکه عصبی هیبریدی در طبقه بندی 9 حالت مختلف عکاسی با استفاده از ورودی های تعیین شده توسط سه روش ذکر شده نشان می دهد. شکل 3. مقایسه عملکرد سه روش برای استخراج ویژگی ها. (a): میانگین خطای مربع مربوط به هر تکرار، (b): نمودار قطعه جعبه مربوط به دقت طبقه بندی برای هر روش، (c): نمودار قطعه جعبه مربوط به ضریب تعیین برای هر روش.