CN101794391B - Greenhouse environment leading line extraction method - Google Patents
Greenhouse environment leading line extraction method Download PDFInfo
- Publication number
- CN101794391B CN101794391B CN2010101289631A CN201010128963A CN101794391B CN 101794391 B CN101794391 B CN 101794391B CN 2010101289631 A CN2010101289631 A CN 2010101289631A CN 201010128963 A CN201010128963 A CN 201010128963A CN 101794391 B CN101794391 B CN 101794391B
- Authority
- CN
- China
- Prior art keywords
- image
- greenhouse
- leading line
- extraction method
- line extraction
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Image Analysis (AREA)
- Image Processing (AREA)
Abstract
The invention provides a greenhouse environment leading line extraction method which is characterized by comprising the following steps: S1, collecting greenhouse road surface information as original colored image to be transmitted into a computer; S2, grayscaling the original colored image, and obtaining gray level image; S3, carrying out image segmentation on the gray level image, removing plant interference in a greenhouse, and realizing road surface extraction; S4, after image segmentation, taking the obtained binary image as a mask to be covered on the original colored image, and obtaining image after overlapping the mask; and S5, processing the image after overlapping the mask by uniformization according to R, G and B components, and extracting a leading line. The method carries out uniformization on a RGB colored space which is processed by simple mathematical translation, and the RGB colored space can be directly acquired from a camera without complicated transition so as to have good arithmetic real-time property. Furthermore, the method is suitable for extracting the leading line in the greenhouse under different illumination conditions, and is stable and reliable in effect.
Description
Technical field
The invention belongs to field of agricultural robots, relate under a kind of adaptation different illumination conditions walking robot leading line rapid extraction technology in the greenhouse.
Background technology
Airmanship is one of core technology of autonomous mobile robot, and the mobile robot has only pose, the walking path information of knowing self exactly, could carry out autokinetic movement safely and effectively.Because the complexity of agricultural robot working environment changes and unpredictability, increased the navigation difficulty of agricultural robot greatly.Vision guided navigation technology as one of comparatively ripe at present agricultural robot airmanship, be meant and utilize vision system to identify under the agricultural environment mark information as walking path, relative position according to agricultural robot and walking path calculates controlled quentity controlled variable, by a series of processes that turn to topworks to regulate its position and then follow the tracks of expected path.Accurately quick identification is extracted the gordian technique that mark information is the agricultural robot navigation.
Mark information comprises natural landmark and artificial two kinds of forms of road sign, and the research of agricultural robot navigation at present by the identification to physical feature in the working environment, realizes navigation mainly based on natural landmark.But natural landmark features such as plant row or ridge are complicated and changeable under the greenhouse, based on the navigation information poor reliability of vision extraction.Therefore study artificial landmark navigation mode in the greenhouse, significant for the development and the practical application of agricultural robot.
Summary of the invention
(1) technical matters that will solve
In the acquisition process of vision guided navigation image, often be subjected to the interference of various factors, the particularly ambient light interference of (comprising intensity and color) under the greenhouse, the leading line extraction algorithm of cutting apart especially of navigation picture is formulated and brought very big difficulty.The present invention is directed to artificial navigation road sign in the greenhouse, adopt colour TV camera to gather navigation route information, propose the leading line extraction algorithm that a kind of substep is removed disturbing factor, satisfy the requirement of real-time and robustness.
(2) technical scheme
In order to solve the problems of the technologies described above, the present invention has designed a kind of greenhouse environment leading line extraction method, it is characterized in that, said method comprising the steps of:
S1: hand paste colourful navigation line on the greenhouse road, gather the greenhouse information of road surface, be sent to computing machine as original color image;
S2: described original color image is carried out gray processing handle, obtain gray level image;
S3: described gray level image is carried out image segmentation, remove the greenhouse implants and disturb, realize the road surface extraction;
S4: the bianry image that obtains after the image segmentation is covered on the described original color image as masking-out, obtain the image after masking-out superposes;
S5: the image after the described masking-out stack is carried out normalized according to R, G, B component, extract leading line.
Wherein, the gray processing formula that is adopted among the described step S2 is:
grayimage=0.30×R+0.59×G+0.11×B
Wherein R, G, B are respectively original color image rgb color passage gray-scale value.
Wherein, the image partition method that is adopted among the described step S3 is the constant automatic threshold method of square.
Wherein, the formula of normalization RGB color space is among the described step S5:
Wherein r, g, b are respectively the component value in the color space after the normalization.
(3) beneficial effect
In technique scheme, conversion can obtain through simple mathematical by the RGB color space in normalization RGB color space, and the RGB color space can directly obtain from video camera, does not need complicated conversion, and the algorithm real-time is good.And the present invention can adapt to leading line extraction under the different illumination conditions in the greenhouse, effect stability, reliable.
Description of drawings
The green cucumber plant original image that Fig. 1-a is in the embodiment of the invention to be adopted;
Image after the green cucumber plant original image gray processing that Fig. 1-b is in the embodiment of the invention to be adopted is handled;
Fig. 1-c is the image of green cucumber plant gray level image after threshold value is separated processing in the embodiment of the invention;
Fig. 1-d is that the image after the green cucumber plant Threshold Segmentation covers the image that obtains on the original image in the embodiment of the invention as masking-out;
Fig. 1-e is a leading line extraction effect synoptic diagram in the embodiment of the invention;
Fig. 2 is the process flow diagram that extracts leading line in the embodiment of the invention.
Embodiment
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is described in further detail.Following examples are used to illustrate the present invention, but are not used for limiting the scope of the invention.
The feature of natural landmark such as plant row or ridge is complicated and changeable under the greenhouse, causes the inefficacy of landmark navigation system easily.In order to improve the reliability of navigational system, the present invention is hand paste redness leading line on the greenhouse road, and the navigation vision system is discerned this leading line, and then calculates controlled variable, realizes stable navigation tracing task.
The present invention has disposed the monocular vision acquisition system for realizing the vision guided navigation task, is used to gather the greenhouse information of road surface, extracts leading line.The EVI-D100P colored CCD monopod video camera that this vision collecting system adopts Sony company to produce, the camera acquisition simulating signal collects in the computing machine by the Osprey-200 video frequency collection card.
The present invention has used a kind of substep to remove the leading line extraction algorithm of disturbing factor.
1) image gray processing is handled
(Fig. 1-a) carries out gray processing to be handled, and obtains gray level image (Fig. 1-b) to original color image.The gray processing formula is:
grayimage=0.30×R+0.59×G+0.11×B
Wherein R, G, B are respectively original color image rgb color passage gray-scale value.
2) automatic threshold method image segmentation
The present invention adopts the constant automatic threshold method of square to 1) obtain gray level image and tentatively cut apart, remove plant and disturb, realize that the road surface extracts, effect is shown in Fig. 1-c.
3) bianry image after the Threshold Segmentation is covered on the original color image as masking-out, shown in Fig. 1-d.Partly be capped (pixel brightness value is 255) corresponding to the bianry image white portion in the coloured image, all the other black part divide the maintenance original pixel value constant.After this step operation, both removed plant to extracting the interference of red leading line, kept the leading line information of redness in the original image again, be convenient to the carrying out of postorder operation.
4) red leading line is extracted
To R, G, B component by formula (1) carry out normalized, obtain r, g, b studies as characteristic parameter.
For the cucumber green plant, g chromatic component value is greater than r component and b component; Cement pavement and red leading line r chromatic component value are respectively greater than g chromatic component and b chromatic component.Yet the difference (r-g) of red leading line r chromatic component value and g chromatic component will be much larger than the difference (r-g) of cement pavement r chromatic component and g chromatic component.The threshold value of setting r-g can be cut apart red leading line and cement pavement well greater than 0.15.Utilize the process flow diagram of r, g under the normalization RGB color space, the red leading line of b component extraction, as shown in Figure 2.Cut apart by flow process shown in Figure 2, the pixel on the red leading line is shown as white, other pixel is set to the black background look, and resulting effect is shown in Fig. 1-e.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the technology of the present invention principle; can also make some improvement and replacement, these improvement and replacement also should be considered as protection scope of the present invention.
Claims (4)
1. a greenhouse environment leading line extraction method is characterized in that, said method comprising the steps of:
S1: hand paste colourful navigation line on the greenhouse road, gather the greenhouse information of road surface, be sent to computing machine as original color image;
S2: described original color image is carried out gray processing handle, obtain gray level image;
S3: described gray level image is carried out image segmentation, remove the greenhouse implants and disturb, realize the road surface extraction;
S4: the bianry image that obtains after the image segmentation is covered on the described original color image as masking-out, obtain the image after masking-out superposes;
S5: the image after the described masking-out stack is carried out normalized according to R, G, B component, extract leading line.
2. greenhouse environment leading line extraction method as claimed in claim 1 is characterized in that, the gray processing formula that is adopted among the described step S2 is:
grayimage=0.30×R+0.59×G+0.11×B
Wherein R, G, B are respectively original color image rgb color passage gray-scale value.
3. greenhouse environment leading line extraction method as claimed in claim 1 is characterized in that, the image partition method that is adopted among the described step S3 is the constant automatic threshold method of square.
4. greenhouse environment leading line extraction method as claimed in claim 1 is characterized in that, the formula of normalization RGB color space is among the described step S5:
Wherein r, g, b are respectively the component value in the color space after the normalization.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010101289631A CN101794391B (en) | 2010-03-18 | 2010-03-18 | Greenhouse environment leading line extraction method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010101289631A CN101794391B (en) | 2010-03-18 | 2010-03-18 | Greenhouse environment leading line extraction method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101794391A CN101794391A (en) | 2010-08-04 |
CN101794391B true CN101794391B (en) | 2011-12-28 |
Family
ID=42587072
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010101289631A Expired - Fee Related CN101794391B (en) | 2010-03-18 | 2010-03-18 | Greenhouse environment leading line extraction method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101794391B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102227972A (en) * | 2011-04-28 | 2011-11-02 | 北京农业智能装备技术研究中心 | Intelligent harvesting equipment and method for table top cultured fruits |
CN102194233B (en) * | 2011-06-28 | 2012-08-15 | 中国农业大学 | Method for extracting leading line in orchard |
CN102999757B (en) * | 2012-11-12 | 2015-08-12 | 中国农业大学 | Leading line extraction method |
CN105043722A (en) * | 2015-07-28 | 2015-11-11 | 哈尔滨工程大学 | Reflector reflectivity measuring method |
CN107622502B (en) * | 2017-07-28 | 2020-10-20 | 南京航空航天大学 | Path extraction and identification method of visual guidance system under complex illumination condition |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005284471A (en) * | 2004-03-29 | 2005-10-13 | Omron Corp | Image processing apparatus and method |
CN1873656A (en) * | 2005-06-03 | 2006-12-06 | 中国科学院自动化研究所 | Detection method of natural target in robot vision navigation |
-
2010
- 2010-03-18 CN CN2010101289631A patent/CN101794391B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005284471A (en) * | 2004-03-29 | 2005-10-13 | Omron Corp | Image processing apparatus and method |
CN1873656A (en) * | 2005-06-03 | 2006-12-06 | 中国科学院自动化研究所 | Detection method of natural target in robot vision navigation |
Non-Patent Citations (2)
Title |
---|
周俊 等.基于知识的视觉导航农业机器人行走路径识别.《农业工程学报》.2003,第19卷(第6期), * |
李进 等.自动导引车视觉导航的路径识别和跟踪控制.《农业机械学报》.2008,第39卷(第2期), * |
Also Published As
Publication number | Publication date |
---|---|
CN101794391A (en) | 2010-08-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Xiong et al. | Visual detection of green mangoes by an unmanned aerial vehicle in orchards based on a deep learning method | |
CN103177445B (en) | Based on the outdoor tomato recognition methods of fragmentation threshold Iamge Segmentation and spot identification | |
CN101794391B (en) | Greenhouse environment leading line extraction method | |
CN109087312B (en) | Automatic planning method and system for unmanned aerial vehicle air route | |
CN102663354B (en) | Face calibration method and system thereof | |
CN108710840A (en) | A kind of farmland spray machine device people vision guided navigation path identification method | |
CN105987684A (en) | Monocular vision-based agricultural vehicle navigation line detection system and method | |
CN109300118B (en) | High-voltage power line unmanned aerial vehicle inspection method based on RGB image | |
CN108428239A (en) | Intelligent grass-removing Boundary Recognition method based on image texture characteristic extraction | |
CN113255434B (en) | Apple identification method integrating fruit characteristics and deep convolutional neural network | |
CN110472598A (en) | SVM machine pick cotton flower based on provincial characteristics contains miscellaneous image partition method and system | |
CN105352480A (en) | Electric transmission line foreign matter kind detection method | |
CN114359722A (en) | Method, device and equipment for identifying distribution range of special landform | |
CN105787470A (en) | Method for detecting power transmission line tower in image based on polymerization multichannel characteristic | |
CN110288623A (en) | The data compression method of unmanned plane marine cage culture inspection image | |
CN105300358A (en) | Foreign object type detection platform on power transmission line | |
CN114581816A (en) | Real-time detection and counting method for solanaceous vegetables and fruits in plant factory | |
CN105427279B (en) | A kind of grassland Drought Information Monitoring System and method based on computer vision and Internet of Things | |
CN111985435A (en) | Unmanned aerial vehicle water area monitoring and cruising method based on machine vision | |
CN102640622B (en) | Cotton picker navigation information image detection method and system | |
CN104408407A (en) | Night identification method of apple harvesting robot | |
CN104715462B (en) | Desert region road detection platform on unmanned aerial vehicle | |
CN109949310A (en) | A kind of watermelon quirk image partition method based on Lab color space | |
CN102004537B (en) | System power-on and power-off control device and method | |
CN106971391A (en) | A kind of multi-template positioning wicking detection method based on colour recognition |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20111228 Termination date: 20150318 |
|
EXPY | Termination of patent right or utility model |