<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ArticleSet PUBLIC "-//NLM//DTD PubMed 2.7//EN" "https://dtd.nlm.nih.gov/ncbi/pubmed/in/PubMed.dtd">
<ArticleSet>
<Article>
<Journal>
				<PublisherName>University of Tehran Press</PublisherName>
				<JournalTitle>Iranian Journal of Biosystem Engineering</JournalTitle>
				<Issn>2008-4803</Issn>
				<Volume>57</Volume>
				<Issue>1</Issue>
				<PubDate PubStatus="epublish">
					<Year>2026</Year>
					<Month>04</Month>
					<Day>21</Day>
				</PubDate>
			</Journal>
<ArticleTitle>Identification and Localization of Chickpea Impurities Using SVM and KNN Classifiers</ArticleTitle>
<VernacularTitle>Identification and Localization of Chickpea Impurities Using SVM and KNN Classifiers</VernacularTitle>
			<FirstPage>1</FirstPage>
			<LastPage>15</LastPage>
			<ELocationID EIdType="pii">106676</ELocationID>
			
<ELocationID EIdType="doi">10.22059/ijbse.2025.403138.665619</ELocationID>
			
			<Language>FA</Language>
<AuthorList>
<Author>
					<FirstName>Hossein</FirstName>
					<LastName>Bagherpour</LastName>
<Affiliation>Department of Biosystems Engineering, Faculty of Agriculture, Bu-Ali Sina University, Hamedan, Iran</Affiliation>
<Identifier Source="ORCID">0000-0002-6877-6281</Identifier>

</Author>
<Author>
					<FirstName>Siavash</FirstName>
					<LastName>Shamohammadi</LastName>
<Affiliation>Department of Biosystems Engineering, Faculty of Agriculture, Bu-Ali Sina University, Hamedan, Iran</Affiliation>
<Identifier Source="ORCID">0009-0000-2916-4285</Identifier>

</Author>
</AuthorList>
				<PublicationType>Journal Article</PublicationType>
			<History>
				<PubDate PubStatus="received">
					<Year>2025</Year>
					<Month>09</Month>
					<Day>27</Day>
				</PubDate>
			</History>
		<Abstract>During chickpea harvesting, various types of impurities are present in the product, which must be identified and removed before market distribution or use as seed. Although pneumatic and mechanical methods can eliminate a substantial portion of these impurities, conventional techniques are insufficient for separating objects such as small stones of similar size to chickpeas or unripe and discolored grains. The objective of this study was to identify the type and determine the location of different chickpea impurities using two intelligent classifiers: Support Vector Machine (SVM) and k-Nearest Neighbors (KNN). For this purpose, 400 RGB images were acquired, encompassing six classes: healthy, green, black, colored, stones, and split chickpeas. After object segmentation and classification into six groups, the total number of samples reached 3,840. Features extracted included mean, median, variance, skewness, histogram, entropy, and texture descriptors derived from the gray-level co-occurrence matrix (GLCM), such as contrast, correlation, energy, and homogeneity. In the SVM model, the RBF kernel exhibited superior performance compared to other kernels. For KNN, the optimal results were obtained with k = 13, the City Block distance metric, and a weighting scheme of 1/(c + D²) with c = 1. Object localization was performed in MATLAB by determining the coordinates of each object&#039;s center. Based on the results, the highest classification accuracy for the SVM and KNN models at a resolution of 250×250 pixels were 98.09% and 90.88%, respectively.</Abstract>
			<OtherAbstract Language="FA">During chickpea harvesting, various types of impurities are present in the product, which must be identified and removed before market distribution or use as seed. Although pneumatic and mechanical methods can eliminate a substantial portion of these impurities, conventional techniques are insufficient for separating objects such as small stones of similar size to chickpeas or unripe and discolored grains. The objective of this study was to identify the type and determine the location of different chickpea impurities using two intelligent classifiers: Support Vector Machine (SVM) and k-Nearest Neighbors (KNN). For this purpose, 400 RGB images were acquired, encompassing six classes: healthy, green, black, colored, stones, and split chickpeas. After object segmentation and classification into six groups, the total number of samples reached 3,840. Features extracted included mean, median, variance, skewness, histogram, entropy, and texture descriptors derived from the gray-level co-occurrence matrix (GLCM), such as contrast, correlation, energy, and homogeneity. In the SVM model, the RBF kernel exhibited superior performance compared to other kernels. For KNN, the optimal results were obtained with k = 13, the City Block distance metric, and a weighting scheme of 1/(c + D²) with c = 1. Object localization was performed in MATLAB by determining the coordinates of each object&#039;s center. Based on the results, the highest classification accuracy for the SVM and KNN models at a resolution of 250×250 pixels were 98.09% and 90.88%, respectively.</OtherAbstract>
		<ObjectList>
			<Object Type="keyword">
			<Param Name="value">Classification</Param>
			</Object>
			<Object Type="keyword">
			<Param Name="value">image processing</Param>
			</Object>
			<Object Type="keyword">
			<Param Name="value">Beans</Param>
			</Object>
			<Object Type="keyword">
			<Param Name="value">Pea impurities</Param>
			</Object>
		</ObjectList>
<ArchiveCopySource DocType="pdf">https://ijbse.ut.ac.ir/article_106676_d91fd87c915abca0e4b05ee10d7b2077.pdf</ArchiveCopySource>
</Article>
</ArticleSet>
