Movatterモバイル変換


[0]ホーム

URL:


CN110458882A - A kind of fruit phenotype test method based on computer vision - Google Patents

A kind of fruit phenotype test method based on computer vision
Download PDF

Info

Publication number
CN110458882A
CN110458882ACN201910761060.8ACN201910761060ACN110458882ACN 110458882 ACN110458882 ACN 110458882ACN 201910761060 ACN201910761060 ACN 201910761060ACN 110458882 ACN110458882 ACN 110458882A
Authority
CN
China
Prior art keywords
fruit
color
computer vision
method based
test method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910761060.8A
Other languages
Chinese (zh)
Inventor
陈�峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by IndividualfiledCriticalIndividual
Priority to CN201910761060.8ApriorityCriticalpatent/CN110458882A/en
Publication of CN110458882ApublicationCriticalpatent/CN110458882A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The present invention relates to a kind of fruit phenotype test method based on computer vision, includes the following steps: that fruit is fixed on survey production accessory plate using fixator and take pictures;Carry out binary conversion treatment, edge detection and outer profile confirmation;The minimum external matrix comprising characteristic image is obtained by PYTHON OPENCV algorithm, obtains the length and diameter of fruit using MINAREARECT algorithm;It is compared by dividing fruit colour generation region and standard color card, finds consistent colour atla, the color value that each region colour atla obtains is reverted into the divided each region of fruit, restore the tested true color of fruit.A kind of fruit phenotype test method based on computer vision, solves deficiency existing for labor measurement and Instrument measuring in previous fruit phenotype test, it can accomplish measurement rapidly and efficiently, the accuracy rate for measuring fruit length, diameter and color is high, provides accurate data information to survey to produce to analyze.

Description

A kind of fruit phenotype test method based on computer vision
Technical field
The present invention relates to a kind of fruit phenotype test methods based on computer vision, belong to image recognition technology neckDomain.
Background technique
As people's quality of the life constantly improves, to fruit (such as corncob, wheatear, apple, banana)Quality and output demand are higher and higher, and it is an important link, fruit phenotype that fruit, which surveys production, during plant productionLength, diameter, the color of middle fruit are to survey index important in production.At this stage, fruit, which is surveyed, produces in the process by artificial completeAt fruit phenotype test, great work intensity, working efficiency are low, measurement error rate is high;Fruit table is carried out by instrumentType measurement, accuracy is more manually obviously improved, but minute is long, in addition because by light, irradiating angle etc. it is extraneous becauseElement influences, and the fruit color of measurement also has certain error.Currently, this status can be changed by lacking a method.
Summary of the invention
The present invention to solve the above-mentioned problems, provides a kind of fruit phenotype test side based on computer visionMethod includes the following steps:
Step 1, fruit is taken pictures: fruit being fixed on survey production accessory plate and is taken pictures, fruit is obtainedImage;It includes measured zone and standard color card region that wherein the survey, which produces accessory plate, and the fruit is fixed on the surveyMeasure region;
Step 2, binary conversion treatment: 0 or 255 is set by the gray value of the pixel of the fruit image of step 1, is madeIt obtains entire fruit image and black and white effect is presented;
Step 3, the fruit image after step 2 binary conversion treatment edge detection: is subjected to edge detection;
Step 4, outer profile confirms: after the edge detection of step 3, the outer profile of fruit in two-dimensional surface is extracted,The vertical and horizontal line of measurement plate, scale and fruit plane outer profile are only showed in final image;
Step 5, length and diameter measures: the fruit characteristic image that step 4 generates is calculated by PYTHON OPENCVMethod obtains the minimum external matrix comprising characteristic image, and MINAREARECT algorithm is used to obtain fruit length and diameter;
Step 6, color region divides: the fruit characteristic image that step 1 generates is divided into multiple color regions, thisA little color regions are used for the comparison of next step, and color region division is finer, and measurement result is more accurate;
Step 7, colour measurement: each field color that step 3 is divided is compared with standard color card, finds consistent colour atla,The color value that each region colour atla obtains is reverted into the divided each region of fruit, each colour atla can mark exclusion anyThe actual color value of colour atla after interference, because under the influence of the extraneous factors such as intensity of illumination, lighting angle direction, shooting distance,The color value of reaction and difference is actually had existed, and obtain colour atla label color value, can obtain that be tested fruit phenotype trueReal color.
Further, it is magnetic panel that the survey, which produces accessory plate material,.
Further, the measured zone is by the vertical intertexture component units lattice matrix of several horizontal lines and vertical line, and eachCell has scale.
Further, the minimum scale value of the horizontal line and vertical line is 2.5 pixels.
It further, further include fixator, the fixator magnetic produces auxiliary plate top surface in the survey.
3. beneficial effect
In conclusion the beneficial effects of the invention are that:
(1) the present invention provides a kind of fruit phenotype test method based on computer vision, the method is by surveyIt produces accessory plate to be measured fruit phenotype, image procossing is carried out by series of computation machine vision technique, is passed throughPYTHON OPENCV algorithm obtains the minimum external matrix comprising characteristic image can using function MINAREARECT algorithmAccurately obtain the length and diameter of fruit;
(2) present invention is compared by dividing fruit colour generation region and standard color card, excludes external interference factor, reductionThe actual color of fruit phenotype.A kind of fruit phenotype test method based on computer vision, solves previous plantDeficiency present in the measurement of object fruit phenotype can accomplish that measurement rapidly and efficiently, measurement accuracy rate are high, provide to survey to produce to analyzeAccurate data information.
Detailed description of the invention
Fig. 1 is that survey of the invention produces accessory plate schematic diagram;
Fig. 2 is measurement flow chart of the invention;
Fig. 3 is the fruit length of fruit phenotype of the present invention, diameter algorithm schematic diagram.
Figure label: 1-, which is surveyed, produces accessory plate;2- measurement plate;3- standard color card;4- fixator.
Specific embodiment
The present invention will be further described combined with specific embodiments below, but the present invention should not be limited by the examples.
Embodiment: for using corncob as tested fruit
It refers to shown in attached drawing 1 to attached drawing 3, a kind of fruit phenotype test method based on computer vision, includingFollowing steps:
Step 1, corncob to be measured is put in the measured zone 2 surveyed and produce accessory plate 1, is being measured if you need to stablize corncobThe fixator 4 is mounted in measured zone 2 by 2 position of region, corncob is then inserted into 4 top of fixator, soIt takes pictures afterwards to corncob, obtains corncob image;
Step 2, binary conversion treatment: setting 0 or 255 for the gray value of the pixel of the corncob image of step 1, so thatBlack and white effect is presented in entire corncob image;
Step 3, the corncob image after step 2 binary conversion treatment edge detection: is subjected to edge detection;
Step 4, outer profile confirms: after the edge detection of step 3, extracting the outer profile of corncob in two-dimensional surface, InThe vertical and horizontal line of measurement plate, scale and corncob plane outer profile are only showed in final image;
Step 5, the corncob characteristic image that step 4 generates corncob length and measuring diameter: is passed through into PYTHONOPENCV algorithm obtain include characteristic image minimum external matrix, using MINAREARECT algorithm obtain corncob length withDiameter;
Step 6, color region divides: the corncob characteristic image that step 1 generates is divided into multiple color regions;
Step 7, corncob colour measurement: each field color that step 3 is divided is compared with standard color card, is found consistentThe color value that each region colour atla obtains is reverted to the divided each region of corncob, shows the true face of corncob by colour atlaColor.
Although the present invention has been disclosed in the preferred embodiment as above, it is not intended to limit the invention, any to be familiar with thisThe people of technology can do various changes and modification, therefore protection of the invention without departing from the spirit and scope of the present inventionRange should subject to the definition of the claims.

Claims (5)

CN201910761060.8A2019-08-172019-08-17A kind of fruit phenotype test method based on computer visionPendingCN110458882A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201910761060.8ACN110458882A (en)2019-08-172019-08-17A kind of fruit phenotype test method based on computer vision

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201910761060.8ACN110458882A (en)2019-08-172019-08-17A kind of fruit phenotype test method based on computer vision

Publications (1)

Publication NumberPublication Date
CN110458882Atrue CN110458882A (en)2019-11-15

Family

ID=68487308

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201910761060.8APendingCN110458882A (en)2019-08-172019-08-17A kind of fruit phenotype test method based on computer vision

Country Status (1)

CountryLink
CN (1)CN110458882A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112839216A (en)*2021-01-132021-05-25合肥埃科光电科技有限公司Image color correction method and device
CN114022574A (en)*2021-09-292022-02-08上海伯耶信息科技有限公司 An image color quality determination method for industrial visual inspection
CN115115609A (en)*2022-07-182022-09-27中国农业科学院蔬菜花卉研究所 Image analysis method and system for frontal phenotypic traits of plant leaves
CN115131667A (en)*2022-07-202022-09-30中国农业科学院蔬菜花卉研究所 A method and system for detecting plant traits based on image analysis
CN115147659A (en)*2022-07-202022-10-04中国农业科学院蔬菜花卉研究所 A kind of image analysis method and system for DUS test characters of plant fruit outer surface

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105091849A (en)*2014-05-052015-11-25南京理工大学Optical axis nonlinear binocular range finding method
CN106895772A (en)*2015-12-202017-06-27杨宗保Expansion link magnetic bracing wire container deformation measurement sheathing tool
CN108024107A (en)*2017-12-062018-05-11广东欧珀移动通信有限公司Image processing method, device, electronic equipment and computer-readable recording medium
US20180240228A1 (en)*2017-02-232018-08-23Jonathan A. JacksonSelective Plant Detection and Treatment Using Green Luminance Photometric Machine Vision Scan with Real Time Chromaticity Operations and Image Parameter Floors for Low Processing Load
CN109146978A (en)*2018-07-252019-01-04南京富锐光电科技有限公司A kind of high speed camera image deformation calibrating installation and method
CN109242791A (en)*2018-08-222019-01-18东北农业大学A kind of batch restorative procedure for damaged plant leaf blade

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105091849A (en)*2014-05-052015-11-25南京理工大学Optical axis nonlinear binocular range finding method
CN106895772A (en)*2015-12-202017-06-27杨宗保Expansion link magnetic bracing wire container deformation measurement sheathing tool
US20180240228A1 (en)*2017-02-232018-08-23Jonathan A. JacksonSelective Plant Detection and Treatment Using Green Luminance Photometric Machine Vision Scan with Real Time Chromaticity Operations and Image Parameter Floors for Low Processing Load
CN108024107A (en)*2017-12-062018-05-11广东欧珀移动通信有限公司Image processing method, device, electronic equipment and computer-readable recording medium
CN109146978A (en)*2018-07-252019-01-04南京富锐光电科技有限公司A kind of high speed camera image deformation calibrating installation and method
CN109242791A (en)*2018-08-222019-01-18东北农业大学A kind of batch restorative procedure for damaged plant leaf blade

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
于向阳: "机器视觉在仪表监控识别系统中的应用", 《中国优秀硕士学位论文全文数据库 (信息科技辑)》*
崔世钢等: "基于Lab颜色空间和遗传算法的苦苣菜叶片病斑分割", 《天津职业技术师范大学学报》*
肖志涛等: "深度约束的零件尺寸测量系统标定方法", 《红外与激光工程》*

Cited By (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112839216A (en)*2021-01-132021-05-25合肥埃科光电科技有限公司Image color correction method and device
CN112839216B (en)*2021-01-132022-07-19合肥埃科光电科技股份有限公司Image color correction method and device
CN114022574A (en)*2021-09-292022-02-08上海伯耶信息科技有限公司 An image color quality determination method for industrial visual inspection
CN115115609A (en)*2022-07-182022-09-27中国农业科学院蔬菜花卉研究所 Image analysis method and system for frontal phenotypic traits of plant leaves
CN115131667A (en)*2022-07-202022-09-30中国农业科学院蔬菜花卉研究所 A method and system for detecting plant traits based on image analysis
CN115147659A (en)*2022-07-202022-10-04中国农业科学院蔬菜花卉研究所 A kind of image analysis method and system for DUS test characters of plant fruit outer surface

Similar Documents

PublicationPublication DateTitle
CN110458882A (en)A kind of fruit phenotype test method based on computer vision
CN102184405B (en) Image Acquisition and Analysis Method
WO2023168972A1 (en)Linear array camera-based copper surface defect detection method and apparatus
CN103499303B (en)A kind of wool fineness method for automatic measurement
CN102176228B (en) A Machine Vision Method for Recognizing Information on Multiple Analog Instrument Dials
CN104122271A (en)Automated optical inspection (AOI)-based bullet apparent defect detection method
CN118470016B (en)Visual inspection system for appearance defects of workpiece based on image processing
CN109284718B (en) Simultaneous identification method of multi-instrument with variable angle of view for inspection robot
CN104537651B (en)Proportion detecting method and system for cracks in road surface image
CN105241638A (en)Vision-based quick LED module brightness uniformity detection method
KR20100015628A (en)Lumber inspection method, device and program
CN110766683B (en)Pearl finish grade detection method and system
CN116309191B (en)Intelligent gas inspection display method based on image enhancement
CN105404869A (en)Computer vision based fruit shape grading method
CN118671001B (en) Zipper visual quality inspection method and system for directional defect detection
CN106937109B (en)The method that low cost judges resolution ratio of camera head level
CN106501272B (en)Machine vision soldering tin positioning detection system
CN108802052A (en)A kind of detecting system and its detection method about slide fastener defect
CN110781913B (en)Zipper cloth belt defect detection method
CN119027423B (en) A defect detection method and system for organic electroluminescent device
CN110096980A (en)Character machining identifying system
CN109241948A (en)A kind of NC cutting tool visual identity method and device
CN112862711B (en) An image gray value correction method and device
Zhao et al.MSC-AD: A multiscene unsupervised anomaly detection dataset for small defect detection of casting surface
CN119780119A (en) Electronic component appearance defect detection method and system based on multispectral imaging

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
WD01Invention patent application deemed withdrawn after publication
WD01Invention patent application deemed withdrawn after publication

Application publication date:20191115


[8]ページ先頭

©2009-2025 Movatter.jp