[go: up one dir, main page]

CN103234905B - A method and a device for acquiring non-redundant image information of ball-shaped fruits - Google Patents

A method and a device for acquiring non-redundant image information of ball-shaped fruits Download PDF

Info

Publication number
CN103234905B
CN103234905B CN201310125257.5A CN201310125257A CN103234905B CN 103234905 B CN103234905 B CN 103234905B CN 201310125257 A CN201310125257 A CN 201310125257A CN 103234905 B CN103234905 B CN 103234905B
Authority
CN
China
Prior art keywords
fruit
pin
optocoupler
cross laser
image
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.)
Active
Application number
CN201310125257.5A
Other languages
Chinese (zh)
Other versions
CN103234905A (en
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.)
Zhejiang Defeiluo Intelligent Machinery Manufacturing Co ltd
Original Assignee
Zhejiang University ZJU
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 Zhejiang University ZJU filed Critical Zhejiang University ZJU
Priority to CN201310125257.5A priority Critical patent/CN103234905B/en
Publication of CN103234905A publication Critical patent/CN103234905A/en
Application granted granted Critical
Publication of CN103234905B publication Critical patent/CN103234905B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Abstract

本发明公开了一种用于球状水果无冗余图像信息获取的方法和装置。包括伺服电机、4个周向相机、1个顶视相机、触发控制器、计算机、4个十字激光标线器、槽形光电传感器、托盘和传送带。触发控制器分别与伺服电机,槽形光电传感器,4个周向相机和顶视相机相连接。计算机分别与4个周向相机和1个顶视相机相连接。水果装载在托盘上,托盘安装在传动带上。本发明利用十字激光标线定位多幅水果图像之间的界线,提高了水果图像拼接的速度和图像拼接准确度。

The invention discloses a method and a device for acquiring spherical fruit without redundant image information. Includes servo motors, 4 circumferential cameras, 1 top-view camera, trigger controller, computer, 4 cross laser markers, slot photoelectric sensors, trays and conveyor belts. The trigger controller is respectively connected with the servo motor, the slot-shaped photoelectric sensor, 4 circumferential cameras and the top-view camera. The computer is connected with 4 peripheral cameras and 1 top-view camera respectively. The fruit is loaded on trays, which are mounted on conveyor belts. The invention utilizes cross laser markings to locate boundaries between multiple fruit images, thereby improving the splicing speed and image splicing accuracy of the fruit images.

Description

用于球状水果无冗余图像信息获取的方法和装置Method and device for acquiring non-redundant image information of spherical fruit

技术领域 technical field

本发明涉及图像信息获取的方法和装置,尤其是涉及一种用于球状水果无冗余图像信息获取的方法和装置。 The invention relates to a method and a device for acquiring image information, in particular to a method and a device for acquiring spherical fruit without redundant image information.

背景技术 Background technique

随着自动化程度的不断提高和精细农业的不断发展,对水果分级精度的要求势必越来越高。提取水果表面无冗余信息的图像,然后基于该图像对水果的品质,如颜色,缺陷等进行进一步判断,对于提高水果的分级精度有着非常重要的意义。在现有的生产线的研究中,通过相机采集水果的图像的方式主要有: With the continuous improvement of the degree of automation and the continuous development of precision agriculture, the requirements for the accuracy of fruit grading are bound to become higher and higher. Extracting an image without redundant information on the surface of the fruit, and then further judging the quality of the fruit based on the image, such as color, defects, etc., is of great significance for improving the classification accuracy of the fruit. In the research of the existing production line, the ways of collecting images of fruits through the camera mainly include:

单个相机采集图像。在图像采集的过程中,水果在生产线上随着生产线运行的同时自身发生旋转,相机视野包括多个工位。因此对于同一个水果可以采集多幅图像。Yang Tao等人的美国专利“Methold and apparatus for sorting objects by color(通过颜色对物品进行分级的方法和装置)申请号:5339963”采用一个摄像头对输送链上的物品进行检测和分级。浙江大学的应义斌等人在专利水果品质实时检测和分级机器人系统(申请号: 02136377.3),利用移位寄存器控制的水果实时分级控制系统(申请号:02266031.3)水果分选机专利(申请号:201120140461.0),基于机器视觉的水果分级机器(申请号:02295073.7)等中描述了采用单个摄像头获取水果表面图像的分级系统。 A single camera acquires images. In the process of image acquisition, the fruit rotates itself while the production line is running on the production line, and the camera field of view includes multiple stations. Therefore, multiple images can be collected for the same fruit. The US patent "Methold and apparatus for sorting objects by color (method and device for grading objects by color) application number: 5339963" by Yang Tao et al. uses a camera to detect and classify objects on the conveyor chain. Ying Yibin and others from Zhejiang University patented the fruit quality real-time detection and grading robot system (application number: 02136377.3), the fruit real-time grading control system controlled by shift registers (application number: 02266031.3) the fruit sorting machine patent (application number : 201120140461.0), Fruit Grading Machine Based on Machine Vision (Application No.: 02295073.7), etc. describe a grading system that uses a single camera to acquire fruit surface images.

多个相机同时采集图像。在多个相机系统中,一种方法是将水果放置在果杯中,触发多个相机同时采集水果的图像(李庆中,汪懋华. 基于机器视觉的苹果自动分级系统硬件开发. 农业机械学报,2000,31(2):56-59);一种是水果生产线上随着生产线运行的时候自身发生旋转,触发相机采集多幅水果图像,如赵杰文等设计的基于三个摄像系统在线水果品质检测分级的装置与方法(申请号:200410065216.2)。 Multiple cameras acquire images simultaneously. In a multi-camera system, one method is to place the fruit in the fruit cup, triggering multiple cameras to simultaneously collect images of the fruit (Li Qingzhong, Wang Maohua. Hardware Development of Apple Automatic Grading System Based on Machine Vision. Journal of Agricultural Machinery, 2000, 31(2):56-59); one is that the fruit production line rotates itself as the production line runs, triggering the camera to collect multiple fruit images, such as the online fruit quality detection and grading system based on three camera systems designed by Zhao Jiewen, etc. Device and method (application number: 200410065216.2).

不管是采用哪种图像获取方式获取水果的图像进行水果品质的进一步检测,均存在水果表面图像信息被重复采集的问题。而基于存在重复信息的图像对水果品质进行判断,势必会影响分级的准确性。目前并没有保证能够获取类球形水果多表面无冗余信息图像的方法。 No matter which image acquisition method is used to obtain images of fruits for further detection of fruit quality, there is a problem that image information on fruit surfaces is repeatedly collected. Judging fruit quality based on images with repeated information will inevitably affect the accuracy of grading. At present, there is no method that can guarantee the acquisition of multi-surface images of spherical fruits without redundant information.

发明内容 Contents of the invention

针对球状水果表面图像采集过程中出现图像冗余的问题,本发明的目的在于提供一种用于球状水果无冗余图像信息获取的方法和装置,结合多相机,十字激光发射和触发控制电路,保证获取球状水果多表面无冗余信息图像。 Aiming at the problem of image redundancy in the surface image acquisition process of spherical fruits, the purpose of the present invention is to provide a method and device for obtaining non-redundant image information of spherical fruits, combined with multiple cameras, cross laser emission and trigger control circuits, It is guaranteed to obtain images without redundant information on the multi-surface of spherical fruit.

本发明解决其技术问题所采用的技术方案是: The technical solution adopted by the present invention to solve its technical problems is:

一、     用于球状水果多表面无冗余信息图像获取的方法: 1. The method for obtaining multi-surface non-redundant information images of spherical fruits:

用1个顶视相机和4个周向相机对视场内的水果分别采集1幅带十字激光标线的水果顶视图像和4幅带十字激光标线的水果周向图像、1幅不带十字激光标线的水果顶视图像和4幅不带十字激光标线的水果周向图像;将1幅带十字激光标线的水果顶视图像和4幅带十字激光标线的水果周向图像与1幅不带十字激光标线的水果顶视图像和4幅不带十字激光标线的水果周向图像分别对应相减,得到1幅顶视激光线条图像和4幅周向激光线条图像;将顶视激光线条图像的圆形区域与不带十字激光标线的水果顶视图像相乘,得到顶视图像感兴趣区域;分别将4幅周向激光线条图像与对应的不带十字激光标线的水果周向图像相乘,得到4幅周向图像感兴趣区域;将顶视图像感兴趣区域和周向图像感兴趣区域拼合,得到水果表面无冗余信息图像。 A top-view camera and 4 peripheral cameras were used to collect 1 fruit top-view image with cross laser markings, 4 fruit circumferential images with cross laser markings, and 1 without The fruit top view image with cross laser marking and 4 fruit circumferential images without cross laser marking; 1 fruit top view image with cross laser marking and 4 fruit circumferential images with cross laser marking Correspondingly subtracted from 1 fruit top-view image without cross laser markings and 4 fruit circumferential images without cross laser markings respectively, to obtain 1 top-view laser line image and 4 circumferential laser line images; Multiply the circular area of the top-view laser line image by the fruit top-view image without cross laser markings to obtain the region of interest in the top-view image; Multiply the peripheral image of the fruit with the line to obtain the region of interest of four peripheral images; combine the region of interest of the top-view image and the region of interest of the peripheral image to obtain an image without redundant information on the fruit surface.

二、     用于球状水果多表面无冗余信息图像获取的装置: 2. A device for acquiring multi-surface images of spherical fruits without redundant information:

本发明包括伺服电机,4个周向相机,顶视相机,触发控制器,计算机,4个十字激光标线器,槽形光电传感器,托盘和传送带。 The invention includes servo motors, 4 circumferential cameras, a top-view camera, a trigger controller, a computer, 4 cross laser markers, a groove-shaped photoelectric sensor, a tray and a conveyor belt.

4个周向相机呈环形均匀布置在同一个平面,4个十字激光标线器均匀布置在4个周向相机之间,由伺服电机驱动的传动带布置在周向相机和十字激光标线器下方,传动带与一个周向相机的空间夹角22.5度;伺服电机驱动传动带转动,水果装载在托盘上,托盘安装在传动带上,在水果上方安装顶视相机;槽形光电传感器跨在传动带两侧,并位于托盘前进方向前方; The 4 circumferential cameras are evenly arranged in the same plane in a ring shape, the 4 cross laser markers are evenly arranged between the 4 circumferential cameras, and the transmission belt driven by the servo motor is arranged under the circumferential camera and the cross laser marker , the space angle between the transmission belt and a circumferential camera is 22.5 degrees; the servo motor drives the transmission belt to rotate, the fruit is loaded on the tray, the tray is installed on the transmission belt, and the top-view camera is installed above the fruit; the groove-shaped photoelectric sensor straddles the two sides of the transmission belt, And located in front of the forward direction of the pallet;

触发控制器分别与伺服电机,槽形光电传感器,4个周向相机和顶视相机相连接,计算机分别与4个周向相机和顶视相机相连接。 The trigger controller is respectively connected with the servo motor, the groove-shaped photoelectric sensor, the 4 peripheral cameras and the top-view camera, and the computer is connected with the 4 peripheral cameras and the top-view camera respectively.

所述的触发控制器:包括微处理器U1,光耦U2,光耦U3,电机驱动器U4,光耦U5,继电器U6,三极管Q1,二极管D1,电位计Rp,电阻R1,电阻R2,电阻R3,电阻R4,电阻R5和电阻R6; The trigger controller: includes microprocessor U1, optocoupler U2, optocoupler U3, motor driver U4, optocoupler U5, relay U6, transistor Q1, diode D1, potentiometer Rp, resistor R1, resistor R2, resistor R3 , resistor R4, resistor R5 and resistor R6;

槽形光电传感器的棕色引线和蓝色引线分别接+24V电源与GND1,槽形光电传感器黑色引线通过电阻R2接光耦U2第1引脚,光耦U2第二引脚接GND1,电阻R1分别连接在+5V电源与微处理器U1的6引脚上,光耦U2第5引脚接微处理器U1第6引脚,光耦U2第4引脚接GND0,微处理器U1第19引脚接相机触发信号输入端,电阻R4分别接+5V电源和光耦U5第1引脚,光耦U5第2引脚接微处理器U1第17引脚,光耦U5第5引脚接+24V电源,电阻R5接在光耦U5第4引脚和三极管Q1基极之间,继电器U6线圈接在+24V电源与三极管Q1集电极之间,三极管发射极接GND1,二极管D1反接在继电器U6的线圈两端,继电器U6的常开触点接在+3V电源和4个十字激光标线器之间,4个十字激光标线器的电源负极接GND1,光耦U3第1引脚接微处理器U1第18引脚,光耦U3第2引脚通过电阻R7接GND0,光耦U3第3引脚接+24V电源,光耦U3第4引脚分别接电机驱动器U4的CN1接口的第2引脚和电阻R6,电机驱动器U4的CN1接口的第13引脚接GND1和电阻R6,电阻R3接在+24V电源与电机驱动器U4的CN1接口的第22引脚之间,电位计Rp接电机驱动器U4的CN1接口的第22引脚与GND1;电机驱动器U4的TB3接口接伺服电机。 The brown lead wire and the blue lead wire of the slot-shaped photoelectric sensor are respectively connected to +24V power supply and GND1, the black lead wire of the slot-shaped photoelectric sensor is connected to the first pin of optocoupler U2 through resistor R2, the second pin of optocoupler U2 is connected to GND1, and the resistor R1 is respectively Connect to +5V power supply and pin 6 of microprocessor U1, pin 5 of optocoupler U2 connects pin 6 of microprocessor U1, pin 4 of optocoupler U2 connects to GND0, pin 19 of microprocessor U1 The pin is connected to the trigger signal input terminal of the camera, the resistor R4 is respectively connected to the +5V power supply and the first pin of the optocoupler U5, the second pin of the optocoupler U5 is connected to the 17th pin of the microprocessor U1, and the fifth pin of the optocoupler U5 is connected to +24V Power supply, resistor R5 is connected between the 4th pin of optocoupler U5 and the base of transistor Q1, the coil of relay U6 is connected between the +24V power supply and the collector of transistor Q1, the emitter of the transistor is connected to GND1, and the diode D1 is reversely connected to relay U6 At both ends of the coil, the normally open contact of the relay U6 is connected between the +3V power supply and the 4 cross laser markers, the negative poles of the power supplies of the 4 cross laser markers are connected to GND1, and the first pin of the optocoupler U3 is connected to the micro The 18th pin of the processor U1, the 2nd pin of the optocoupler U3 are connected to GND0 through the resistor R7, the 3rd pin of the optocoupler U3 is connected to the +24V power supply, and the 4th pin of the optocoupler U3 is respectively connected to the CN1 interface of the motor driver U4 2 pins and resistor R6, the 13th pin of the CN1 interface of the motor driver U4 is connected to GND1 and the resistor R6, the resistor R3 is connected between the +24V power supply and the 22nd pin of the CN1 interface of the motor driver U4, and the potentiometer Rp is connected to The 22nd pin of the CN1 interface of the motor driver U4 is connected to GND1; the TB3 interface of the motor driver U4 is connected to the servo motor.

本发明具有的有益的效果是: The beneficial effects that the present invention has are:

本发明利用十字激光标线定位多幅水果图像之间的界线,提高了水果图像拼接的速度和图像拼接准确度。 The invention utilizes the cross laser marking to locate the boundaries between multiple fruit images, thereby improving the splicing speed and image splicing accuracy of the fruit images.

附图说明 Description of drawings

图1是本发明的结构示意图。 Fig. 1 is a structural schematic diagram of the present invention.

图2是不包括顶视相机的俯视图。 Figure 2 is a top view excluding the top view camera.

图3是触发控制电路原理图。 Figure 3 is a schematic diagram of the trigger control circuit.

图4是触发控制时序示意图。 Fig. 4 is a schematic diagram of trigger control timing.

图5是顶视相机采集到的图像示意图。 Fig. 5 is a schematic diagram of images collected by a top-view camera.

图6是其中一个周向相机采集到的图像示意图。 Fig. 6 is a schematic diagram of images collected by one of the peripheral cameras.

图7是五个相机的采集到的图像中的感兴趣区域(阴影部分)。 Figure 7 is the region of interest (shaded area) in the images acquired by the five cameras.

图8是获取的类球形水果多表面无冗余信息图像。 Fig. 8 is the obtained multi-surface non-redundant information image of a quasi-spherical fruit.

图中:1、伺服电机,2,4个周向相机,3、顶视相机,4、触发控制器,5、计算机,6、4个十字激光标线器,7、水果,8、槽形光电传感器,9、托盘,10、传送带。 In the figure: 1. Servo motor, 2. 4 circumferential cameras, 3. Top-view camera, 4. Trigger controller, 5. Computer, 6. 4 cross laser markers, 7. Fruit, 8. Groove shape Photoelectric sensor, 9, pallet, 10, conveyor belt.

具体实施方式 Detailed ways

下面结合附图和实施例,对本发明作进一步的说明。 The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

如图1所示,本发明包括伺服电机1,4个周向相机2,顶视相机3,触发控制器4,计算机5,4个十字激光标线器6,槽形光电传感器8,托盘9和传送带10。 As shown in Figure 1, the present invention includes servo motor 1, 4 circumferential cameras 2, top-view camera 3, trigger controller 4, computer 5, 4 cross laser markers 6, groove photoelectric sensor 8, tray 9 and conveyor belt 10 .

如图1、图2所示,4个周向相机2呈环形均匀布置在同一个平面,4个十字激光标线器6均匀布置在4个周向相机2之间,由伺服电机1驱动的传动带10布置在周向相机2和十字激光标线器6下方,传动带10与一个周向相机2的空间夹角22.5度;伺服电机1驱动传动带10转动,水果7装载在托盘9上,托盘9安装在传动带10上,在水果7上方安装顶视相机3;槽形光电传感器8跨在传动带10两侧,并位于托盘9前进方向前方。 As shown in Figure 1 and Figure 2, the four circumferential cameras 2 are evenly arranged on the same plane in a ring shape, and the four cross laser markers 6 are evenly arranged between the four circumferential cameras 2, driven by the servo motor 1 The transmission belt 10 is arranged under the circumferential camera 2 and the cross laser marker 6, and the space angle between the transmission belt 10 and a circumferential camera 2 is 22.5 degrees; the servo motor 1 drives the transmission belt 10 to rotate, and the fruit 7 is loaded on the tray 9, and the tray 9 Installed on the transmission belt 10, the top-view camera 3 is installed above the fruit 7; the groove-shaped photoelectric sensor 8 straddles the transmission belt 10 both sides, and is positioned at the front of the pallet 9 advancing direction.

触发控制器4分别与伺服电机1,槽形光电传感器8,4个周向相机2和顶视相机3相连接,计算机5分别与4个周向相机2和顶视相机3相连接。 The trigger controller 4 is connected with the servo motor 1, the groove-shaped photoelectric sensor 8, the four peripheral cameras 2 and the top-view camera 3, and the computer 5 is connected with the four peripheral cameras 2 and the top-view camera 3 respectively.

如图3所示,所述的触发控制器4:包括微处理器U1,光耦U2,光耦U3,电机驱动器U4,光耦U5,继电器U6,三极管Q1,二极管D1,电位计Rp,电阻R1,电阻R2,电阻R3,电阻R4,电阻R5和电阻R6; As shown in Figure 3, the trigger controller 4 includes a microprocessor U1, an optocoupler U2, an optocoupler U3, a motor driver U4, an optocoupler U5, a relay U6, a transistor Q1, a diode D1, a potentiometer Rp, a resistor R1, resistor R2, resistor R3, resistor R4, resistor R5 and resistor R6;

槽形光电传感器8的棕色引线和蓝色引线分别接+24V电源与GND1,槽形光电传感器8黑色引线通过电阻R2接光耦U2第1引脚,光耦U2第二引脚接GND1,电阻R1分别连接在+5V电源与微处理器U1的6引脚上,光耦U2第5引脚接微处理器U1第6引脚,光耦U2第4引脚接GND0,微处理器U1第19引脚接相机触发信号输入端,电阻R4分别接+5V电源和光耦U5第1引脚,光耦U5第2引脚接微处理器U1第17引脚,光耦U5第5引脚接+24V电源,电阻R5接在光耦U5第4引脚和三极管Q1基极之间,继电器U6线圈接在+24V电源与三极管Q1集电极之间,三极管发射极接GND1,二极管D1反接在继电器U6的线圈两端,继电器U6的常开触点接在+3V电源和4个十字激光标线器(6)之间,4个十字激光标线器6的电源负极接GND1,光耦U3第1引脚接微处理器U1第18引脚,光耦U3第2引脚通过电阻R7接GND0,光耦U3第3引脚接+24V电源,光耦U3第4引脚分别接电机驱动器U4的CN1接口的第2引脚和电阻R6,电机驱动器U4的CN1接口的第13引脚接GND1和电阻R6,电阻R3接在+24V电源与电机驱动器U4的CN1接口的第22引脚之间,电位计Rp接电机驱动器U4的CN1接口的第22引脚与GND1;电机驱动器U4的TB3接口接伺服电机1。 The brown lead wire and the blue lead wire of slot-shaped photoelectric sensor 8 are respectively connected to +24V power supply and GND1, the black lead wire of slot-shaped photoelectric sensor 8 is connected to the first pin of optocoupler U2 through resistor R2, the second pin of optocoupler U2 is connected to GND1, and the resistor R1 is respectively connected to the +5V power supply and the 6th pin of the microprocessor U1, the 5th pin of the optocoupler U2 is connected to the 6th pin of the microprocessor U1, the 4th pin of the optocoupler U2 is connected to GND0, and the 4th pin of the optocoupler U2 is connected to GND0. Pin 19 is connected to the camera trigger signal input terminal, resistor R4 is respectively connected to +5V power supply and the first pin of optocoupler U5, the second pin of optocoupler U5 is connected to the 17th pin of microprocessor U1, and the fifth pin of optocoupler U5 is connected to +24V power supply, resistor R5 is connected between the 4th pin of optocoupler U5 and the base of transistor Q1, the coil of relay U6 is connected between the +24V power supply and the collector of transistor Q1, the emitter of the transistor is connected to GND1, and the diode D1 is reversely connected to The two ends of the coil of the relay U6, the normally open contact of the relay U6 are connected between the +3V power supply and the four cross laser markers (6), the negative poles of the power supply of the four cross laser markers 6 are connected to GND1, and the optocoupler U3 The first pin is connected to the 18th pin of the microprocessor U1, the second pin of the optocoupler U3 is connected to GND0 through the resistor R7, the third pin of the optocoupler U3 is connected to the +24V power supply, and the fourth pin of the optocoupler U3 is respectively connected to the motor driver The second pin of the CN1 interface of U4 and resistor R6, the 13th pin of the CN1 interface of the motor driver U4 is connected to GND1 and the resistor R6, and the resistor R3 is connected between the +24V power supply and the 22nd pin of the CN1 interface of the motor driver U4 Between, the potentiometer Rp is connected to the 22nd pin of the CN1 interface of the motor driver U4 and GND1; the TB3 interface of the motor driver U4 is connected to the servo motor 1.

如图1所示,工作时,水果7装载在托盘9上。采用二次曝光方法获取水果7的图像。在伺服电机1的带动下,传动带10带动托盘9从左向右运动。 As shown in Figure 1, during work, fruit 7 is loaded on the tray 9. The image of fruit 7 was acquired by double exposure method. Driven by the servo motor 1, the transmission belt 10 drives the tray 9 to move from left to right.

(1)如图4所示,当水果7到达槽形光电传感器 8,槽形光电传感器8产生高电平,使光耦U2的第5脚变为低电平,触发微处理器U1中断。 (1) As shown in Figure 4, when the fruit 7 reaches the groove-shaped photoelectric sensor 8, the groove-shaped photoelectric sensor 8 generates a high level, which makes the fifth pin of the optocoupler U2 change to a low level, triggering an interrupt of the microprocessor U1.

(2)如图4所示,微处理器U1中断服务处理程序先关中断,使微处理器U1第18引脚变为低电平,伺服电机1停止运动;延时T0后,微处理器U1第17引脚变为低电平,触发十字激光标线器6发射激光;延时T1后,微处理器U1第19引脚输出高电平,触发顶视相机3和周向相机2采集水果7的1幅带十字激光标线的水果顶视图像和4幅带十字激光标线的水果周向图像。 (2) As shown in Figure 4, the microprocessor U1 interrupt service processing program first turns off the interrupt, so that the 18th pin of the microprocessor U1 becomes low level, and the servo motor 1 stops moving; after a delay of T0, the microprocessor The 17th pin of U1 becomes low level, which triggers the cross laser marker 6 to emit laser; after a delay of T1, the 19th pin of microprocessor U1 outputs high level, which triggers the acquisition of the top-view camera 3 and the circumferential camera 2 Fruit 7's 1 fruit top view image with cross laser marking and 4 fruit circumferential images with cross laser marking.

(3)触发顶视相机3和周向相机2将照片传至计算机5。 (3) Trigger the top-view camera 3 and the peripheral camera 2 to send the photos to the computer 5 .

(4)微处理器U1延时T2后,微处理器U1第17引脚输出高电平,关闭十字激光标线器6;同时,微处理器U1第19引脚输出低电平;再次延时T3后,微处理器U1第19引脚输出高电平,触发顶视相机3和周向相机2采集水果7的1幅不带十字激光标线的水果顶视图像和4幅不带十字激光标线的水果周向图像。 (4) After the microprocessor U1 delays T2, the 17th pin of the microprocessor U1 outputs a high level, and the cross laser marker 6 is turned off; at the same time, the 19th pin of the microprocessor U1 outputs a low level; delay again After time T3, the 19th pin of the microprocessor U1 outputs a high level, triggering the top-view camera 3 and the circumferential camera 2 to collect 1 fruit top-view image without cross laser marking and 4 fruit top-view images without cross Circumferential image of fruit with laser marking.

(5)触发顶视相机3和周向相机2将照片传至计算机5。 (5) Trigger the top-view camera 3 and the peripheral camera 2 to send the photos to the computer 5 .

(6)再次延时T3后,微处理器U1第19引脚变为低电平,同时,微处理器U1第18引脚输出高电平,使伺服电机1开始运动; (6) After another delay of T3, the 19th pin of the microprocessor U1 becomes low level, and at the same time, the 18th pin of the microprocessor U1 outputs a high level, so that the servo motor 1 starts to move;

如图5所示,为顶向相机3采集到的水果7带十字激光标线的水果顶视图像(图5中图(a)所示)和不带十字激光标线的水果顶视图像(图5中图(b)所示)。内圆圈的边界为4个十字激光标线器发射的激光所形成的线条(图(a)中虚线圆所示),外圆圈为水果7的边界(图(a)中实线圆所示)。相交垂线(图(a)虚线所示)分别为4个十字激光标线器发射的激光形成。将带十字激光标线的水果顶视图像(图5中图(a)所示)和不带十字激光标线的水果顶视图像(图5中图(b)所示)相减,提取到顶视激光线条图像。将提取的顶视激光线条的圆形区域与不带十字激光标线的水果顶视图像(图5中图(b)所示)相乘,获取顶视图像感兴趣区域(图7中图(a)的阴影区域)。 As shown in Figure 5, the top-view images of fruit 7 with cross laser markings (shown in Figure 5 (a)) and fruit top-view images without cross laser markings ( Figure 5 (b) shown). The boundary of the inner circle is the line formed by the lasers emitted by the 4 cross laser markers (shown by the dotted circle in Figure (a)), and the outer circle is the boundary of Fruit 7 (shown by the solid line circle in Figure (a)) . The intersecting vertical lines (shown by dotted lines in Figure (a)) are formed by the lasers emitted by the four cross laser markers. Subtract the fruit top view image with cross laser marking (shown in Figure 5 (a)) and the fruit top view image without cross laser marking (shown in Figure 5 (b)), and extract the top View the laser line image. Multiply the extracted circular area of the top-view laser line by the top-view image of the fruit without cross laser markings (shown in (b) in Figure 5) to obtain the region of interest in the top-view image (Figure 7 ( the shaded area of a).

如图6所示,为其中1个周向相机2采集到的水果7的带十字激光标线的水果周向图像(图6中图(a)所示)和不带十字激光标线的水果周向图像(图6中图(b)所示)。图6中图(b)的虚线为激光所形成的线条。将带十字激光标线的水果周向图像(图6中图(a)所示)和不带十字激光标线的水果周向图像(图6中图(b)所示)相减,得到周向激光线条图像。将周向激光线条图像的下方区域与不带十字激光标线的水果周向图像(图6中图(b)所示)相乘,得到周向图像感兴趣区域(图7中图(b)的阴影区域)。 As shown in Figure 6, it is the circumferential image of the fruit 7 with cross laser markings (shown in Figure 6 (a)) and the fruit without cross laser markings collected by one of the circumferential cameras 2 Circumferential image (shown in panel (b) in Figure 6). The dashed line in (b) in Figure 6 is the line formed by the laser. Subtract the circumferential image of the fruit with cross laser markings (shown in Figure 6 (a)) and the fruit circumferential image without cross laser markings (shown in Figure 6 (b)) to get the circumferential to the laser line image. Multiply the lower area of the peripheral laser line image by the peripheral image of the fruit without the cross laser marking (shown in (b) in Figure 6) to obtain the region of interest in the peripheral image (Figure 7 (b) shaded area).

如图8所示,将顶视图像感兴趣区域和4个周向图像感兴趣区域进行图像拼合,得到球状水果表面无冗余信息图像。 As shown in Figure 8, the ROI of the top-view image and the 4 ROIs of the circumferential image are stitched together to obtain an image without redundant information on the surface of the spherical fruit.

本发明采用的槽形光电传感器8为FGL 220-R-PSM3;微处理器U1为AT89C2051;光耦U2与光耦U5为4N25;光耦U3为友邦UDK-0 5Vdc;电机驱动器U4为富士RYHD751- FS-VV2;继电器U6为SRD-5VDC-SL-C;三极管Q1为8050;二极管D1为1N4148。 The groove photoelectric sensor 8 that the present invention adopts is FGL 220-R-PSM3; Microprocessor U1 is AT89C2051; Optocoupler U2 and optocoupler U5 are 4N25; Optocoupler U3 is AIA UDK-0 5Vdc; Motor driver U4 is Fuji RYHD751 - FS-VV2; relay U6 is SRD-5VDC-SL-C; transistor Q1 is 8050; diode D1 is 1N4148.

Claims (3)

1. for a method for the irredundant image information acquisition of spherical fruit, it is characterized in that: with 1 top view camera and 4 circumferential cameras, fruit top view picture not with cross laser graticule of the fruit circumference image of the fruit top view picture of 1 web cross laser graticule and 4 web cross laser graticules, 1 width and the fruit circumference image of 4 width not with cross laser graticule are gathered respectively to the fruit in visual field; By fruit top view picture not with cross laser graticule of the fruit of the fruit top view picture of 1 web cross laser graticule and 4 web cross laser graticules circumference image and 1 width and the fruit circumference of 4 width not with cross laser graticule, image is corresponding respectively subtracts each other, and obtains 1 width top view laser line image and the circumferential laser line image of 4 width; The border circular areas of top view laser line image is multiplied with the fruit top view picture not with cross laser graticule, obtains top view interesting image regions; Respectively 4 width circumference laser line image are multiplied with the corresponding fruit not with cross laser graticule circumference image, obtain 4 width circumference interesting image regions; By top view interesting image regions and circumferential interesting image regions split, obtain the irredundant frame of fruit surface.
2. a kind of device for the irredundant image information acquisition of spherical fruit of method as claimed in claim 1, comprise 4 circumferential cameras (2), top view camera (3), trigger controller (4), computing machine (5), flute profile photoelectric sensor (8) and travelling belt (10), is characterized in that: also comprise servomotor (1), 4 cross laser line marking devices (6) and pallet (9);
4 circumferential cameras (2) are evenly arranged in same plane ringwise, 4 cross laser line marking devices (6) are evenly arranged between 4 circumferential cameras (2), the driving-belt (10) driven by servomotor (1) is arranged in circumferential camera (2) and cross laser line marking device (6) below, the space angle 22.5 degree of driving-belt (10) and a circumferential camera (2); Servomotor (1) drives driving-belt (10) to rotate, fruit (7) is loaded on pallet (9), pallet (9) is arranged on driving-belt (10), installs top view camera (3) in fruit (7) top; Flute profile photoelectric sensor (8) across driving-belt (10) both sides, and is positioned at pallet (9) working direction front;
Trigger controller (4) respectively with servomotor (1), flute profile photoelectric sensor (8), 4 circumferential cameras (2) are connected with top view camera (3), and computing machine (5) is connected with top view camera (3) with 4 circumferential cameras (2) respectively.
3. a kind of device for the irredundant image information acquisition of spherical fruit according to claim 2, is characterized in that, described trigger controller (4): comprise microprocessor U1, optocoupler U2, optocoupler U3, motor driver U4, optocoupler U5, relay U6, triode Q1, diode D1, pot Rp, resistance R1, resistance R2, resistance R3, resistance R4, resistance R5 and resistance R6;
Brown lead-in wire and the blue lead-in wire of flute profile photoelectric sensor (8) meet+24V power supply and GND1 respectively, flute profile photoelectric sensor (8) black lead connects optocoupler U2 the 1st pin by resistance R2, optocoupler U2 the 2nd pin meets GND1, resistance R1 is connected on 6 pins of+5V power supply and microprocessor U1, optocoupler U2 the 5th pin connects microprocessor U1 the 6th pin, optocoupler U2 the 4th pin meets GND0, microprocessor U1 the 19th pin connects camera trigger pip input end, resistance R4 connects+5V power supply and optocoupler U5 the 1st pin respectively, optocoupler U5 the 2nd pin connects microprocessor U1 the 17th pin, optocoupler U5 the 5th pin connects+24V power supply, resistance R5 is connected between optocoupler U5 the 4th pin and triode Q1 base stage, relay U6 coil is connected between+24V power supply and triode Q1 collector, transistor emitter meets GND1, diode D1 reversal connection is at the coil two ends of relay U6, the normally opened contact of relay U6 is connected between+3V power supply and 4 cross laser line marking devices (6), the power cathode of 4 cross laser line marking devices (6) meets GND1, optocoupler U3 the 1st pin connects microprocessor U1 the 18th pin, optocoupler U3 the 2nd pin meets GND0 by resistance R7, optocoupler U3 the 3rd pin connects+24V power supply, optocoupler U3 the 4th pin meets the 2nd pin and the resistance R6 of the CN1 interface of motor driver U4 respectively, 13rd pin of the CN1 interface of motor driver U4 meets GND1 and resistance R6, resistance R3 is connected between the 22nd pin of the CN1 interface of+24V power supply and motor driver U4, pot Rp meets the 22nd pin and GND1 of the CN1 interface of motor driver U4, the TB3 interface of motor driver U4 connects servomotor (1).
CN201310125257.5A 2013-04-10 2013-04-10 A method and a device for acquiring non-redundant image information of ball-shaped fruits Active CN103234905B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310125257.5A CN103234905B (en) 2013-04-10 2013-04-10 A method and a device for acquiring non-redundant image information of ball-shaped fruits

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310125257.5A CN103234905B (en) 2013-04-10 2013-04-10 A method and a device for acquiring non-redundant image information of ball-shaped fruits

Publications (2)

Publication Number Publication Date
CN103234905A CN103234905A (en) 2013-08-07
CN103234905B true CN103234905B (en) 2014-12-17

Family

ID=48882956

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310125257.5A Active CN103234905B (en) 2013-04-10 2013-04-10 A method and a device for acquiring non-redundant image information of ball-shaped fruits

Country Status (1)

Country Link
CN (1) CN103234905B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113567453B (en) * 2021-07-30 2023-12-01 绿萌科技股份有限公司 Detection systems, methods, computer equipment and computer-readable storage media
CN114563418A (en) * 2022-02-18 2022-05-31 中国农业大学 Falling body acquisition device of quasi-spherical fruit and vegetable image and quality detection and correction method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE2705936A1 (en) * 1977-02-10 1978-08-17 Barry Wehmiller Co Transparent bottle inspection system - employs electronic circuit to differentiate between shadows and foreign bodies
CN1844900A (en) * 2006-04-10 2006-10-11 浙江大学 Fruit surface defect detection method and device based on laser image
CN101666629A (en) * 2008-09-04 2010-03-10 三星重工业株式会社 System and method for measuring curved surface

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE60326971D1 (en) * 2002-10-11 2009-05-14 Canon Kk Sensor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE2705936A1 (en) * 1977-02-10 1978-08-17 Barry Wehmiller Co Transparent bottle inspection system - employs electronic circuit to differentiate between shadows and foreign bodies
CN1844900A (en) * 2006-04-10 2006-10-11 浙江大学 Fruit surface defect detection method and device based on laser image
CN101666629A (en) * 2008-09-04 2010-03-10 三星重工业株式会社 System and method for measuring curved surface

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Acquisition of complete surface information of apples under on-line condition;Bei Zhu et al.;《ASABE》;20120801;全文 *
Naoshi Kondo.Automation on fruit and vegetable grading system and food traceability.《Trends in Food Science &amp *
Pro/E在球面展开中的应用;李凤武等;《CAD/CAM/CAPP应用》;20061230(第2期);全文 *
Technology》.2010,第21卷(第3期),全文. *

Also Published As

Publication number Publication date
CN103234905A (en) 2013-08-07

Similar Documents

Publication Publication Date Title
CN106428777B (en) An automatic part discharging device based on image system
CN206095968U (en) LCD screen bubble defect detecting device based on machine vision
CN106524945B (en) A kind of plane included angle On-line Measuring Method based on mechanical arm and structure light vision
CN105547153B (en) Plug-in component stitch visual positioning method and device based on binocular vision
CN104161354B (en) Save footwear automatic production line and the footwear automated production method of usage space
CN205732019U (en) A kind of three quick testing machine of universal miscellaneous goods
CN105690393A (en) Four-axle parallel robot sorting system based on machine vision and sorting method thereof
CN203952628U (en) A kind of automatic production line of footwear
CN103234905B (en) A method and a device for acquiring non-redundant image information of ball-shaped fruits
CN105700037A (en) Apparatus and method for detecting less installed screw on engine cylinder cover
CN206321577U (en) A kind of fabric defect detection means
CN104197850A (en) Component pin detection method and device based on machine vision
CN106583273A (en) Full-automatic CCD detection and exclusion equipment
KR20230009360A (en) Systems and methods for 3D scanning of moving objects that are longer than the field of view
CN101482517B (en) An online image acquisition method and device based on asynchronous reset
CN104019761A (en) Three-dimensional configuration obtaining device and method of corn plant
CN205538709U (en) Visual inspection device of many pins component stitch
CN106645189A (en) Automatic commutator appearance defect online visual detection system
CN203732459U (en) Computer detection device for detecting printed-circuit boards
CN209550027U (en) Intelligent sorting system for disposable diapers based on computer vision
CN204191741U (en) A kind of footwear automatic production line saving usage space
CN106501274A (en) Brushless direct current motor control circuit production line
CN207798690U (en) Bearing open defect automatic visual detecting system
CN207446762U (en) A kind of more material picking up system of efficient binocular vision
CN104902739A (en) Insertion machine visual system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20160720

Address after: 321300 Zhejiang city of Jinhua province Yongkang City West West Industrial Zone Lantian Road No. 16

Patentee after: SIMTO GROUP Co.,Ltd.

Address before: 310027 Hangzhou, Zhejiang Province, Xihu District, Zhejiang Road, No. 38, No.

Patentee before: Zhejiang University

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200717

Address after: 321300 No. 199 Huacheng East Road, Xicheng Street, Yongkang City, Jinhua City, Zhejiang Province

Patentee after: ZHEJIANG DEFEILUO INTELLIGENT MACHINERY MANUFACTURING Co.,Ltd.

Address before: 321300, Lantian Road, Xicheng Industrial Zone, Xicheng County, Jinhua, Zhejiang, Yongkang 16

Patentee before: SIMTO GROUP Co.,Ltd.

PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Method and device for obtaining non redundant image information of spherical fruit

Effective date of registration: 20220413

Granted publication date: 20141217

Pledgee: Yongkang branch of the Industrial Commercial Bank of China Ltd.

Pledgor: ZHEJIANG DEFEILUO INTELLIGENT MACHINERY MANUFACTURING Co.,Ltd.

Registration number: Y2022330000503

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Granted publication date: 20141217

Pledgee: Yongkang branch of the Industrial Commercial Bank of China Ltd.

Pledgor: ZHEJIANG DEFEILUO INTELLIGENT MACHINERY MANUFACTURING Co.,Ltd.

Registration number: Y2022330000503