SlideShare a Scribd company logo
1 of 23
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 ClustersIJCSEA Journal
 
Combining Neural Networks for Skin Detection
Combining Neural Networks for Skin DetectionCombining Neural Networks for Skin Detection
Combining Neural Networks for Skin Detectionsipij
 
Color Constancy For Improving Skin Detection
Color Constancy For Improving Skin DetectionColor Constancy For Improving Skin Detection
Color Constancy For Improving Skin DetectionCSCJournals
 
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 TRANSFORMIJCSEIT 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
G143741irjes
 
Fuzzy clustering1
Fuzzy clustering1Fuzzy clustering1
Fuzzy clustering1abc
 
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 leafijcsit
 
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 networkeSAT 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 RetrievalTELKOMNIKA 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 carIaetsd Iaetsd
 
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 AlgorithmIOSR 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 SPACESIJCSEA 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

My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsPrecisely
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 

Recently uploaded (20)

My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power Systems
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 

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): نمودار قطعه جعبه مربوط به ضریب تعیین برای هر روش.