长沙航空职业技术学院学报JOURNALOFCHANGSHAAERONAUTICALVOCATIONALANDTECHNICALCOLLEGE第23卷第1期2023年3月Vol.23No.1Mar.2023-33-DOI:10.13829/j.cnki.issn.1671-9654.2023.01.009基于HIS模型的图像灰度化处理方法研究凌双明(长沙航空职业技术学院,湖南长沙410124)摘要:机器人检测工件时对拍摄的照片需要进行预处理,以便于将处理后的数字图像和数据进行比对后,判断后面的动作。一般的分拣机器人视觉系统用工业相机采集图像,可以使用Matlab软件对图像进行预处理和仿真。在对相机拍摄的图像做二值化预处理之前先进行灰度化处理。采用HIS模型,利用Matlab软件对图像进行灰度化预处理,保证了视觉系统可以获得理想的工件灰度图,提高图像的预处理速度的同时也可以保证图形预处理二值化的正确率不降低,可为机器人视觉系统进行后续的分拣作业提供有效参考,保证作业的精准度。关键词:二值化;灰度化;图像预处理中图分类号:TP3文献标识码:A文章编号:1671-9654(2023)01-0033-03ResearchonImageGrayscaleProcessingMethodBasedonHSIModeLINGShuang-ming(ChangshaAeronauticalVocationalandTechnicalCollege,ChangshaHunan410014)Abstract:Whentherobotdetectstheworkobject,thephotostakenbytherobotneedtobepreprocessedsothatthedigitalimagesanddataafterprocessingcanbecomparedtojudgetheactionsoftherobot.Thegeneralsortingrobotvisionsystemusesindustrialcameratocollectimages,whichcanbepreprocessedandsimulatedbyMatlabsoftware.Theimagetakenbythecameraisprocessedbygrayscalebeforebinarizationpretreatment.HISmodelandMatlabsoftwareareusedtopre-processtheimageingrayscale,whichensuresthatthevisionsystemcanobtaintheidealgreyscaleimageoftheworkobject,andimprovetheimagepreprocessingspeed,andalsocanensurethatthegraphicspre-processingbinarizationaccuracyisnotreduced.Thismethodcanprovideeffectivereferencefortherobotvisionsystemtocarryoutthesubsequentsortingoperationandensuretheaccuracyoftheoperation.Keywords:binarization;grayscale;imagepreprocessing收稿日期:2022-12-27基金项目:本文为湖南省教育厅科学研究项目“基于图形处理的工业机器人视觉检测应用研究”(编号:20C0013)阶段性研究成果。作者简介:凌双明(1983—),女,湖南长沙人,副教授,工程硕士,研究方向为PLC技术、工业...