CN109087312B - Automatic planning method and system for unmanned aerial vehicle air route - Google Patents

Automatic planning method and system for unmanned aerial vehicle air route Download PDF

Info

Publication number
CN109087312B
CN109087312B CN201810828938.0A CN201810828938A CN109087312B CN 109087312 B CN109087312 B CN 109087312B CN 201810828938 A CN201810828938 A CN 201810828938A CN 109087312 B CN109087312 B CN 109087312B
Authority
CN
China
Prior art keywords
image
line
unmanned aerial
aerial vehicle
male parent
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
CN201810828938.0A
Other languages
Chinese (zh)
Other versions
CN109087312A (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.)
Hunan Plant Protection Uav Technology Co ltd
Original Assignee
Shenzhen Hi Tech New Agriculture Technologies Co ltd
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 Shenzhen Hi Tech New Agriculture Technologies Co ltd filed Critical Shenzhen Hi Tech New Agriculture Technologies Co ltd
Priority to CN201810828938.0A priority Critical patent/CN109087312B/en
Publication of CN109087312A publication Critical patent/CN109087312A/en
Application granted granted Critical
Publication of CN109087312B publication Critical patent/CN109087312B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/12Edge-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/13Edge detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/168Segmentation; Edge detection involving transform domain methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/187Segmentation; Edge detection involving region growing; involving region merging; involving connected component labelling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/68Analysis of geometric attributes of symmetry
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10032Satellite or aerial image; Remote sensing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20048Transform domain processing
    • G06T2207/20061Hough transform

Abstract

The invention discloses an automatic planning method and system for an unmanned aerial vehicle air route, wherein the method comprises the following steps: dividing an auxiliary pollination operation area on a satellite map; an unmanned aerial vehicle aerial auxiliary pollination operation area is used, and an orthographic image is made; extracting a field image which is determined to need auxiliary pollination from the orthoimage; determining respective images of a male parent line and a female parent line in the field image through image segmentation; performing linear fitting on the image boundaries of the male parent row and the female parent row to obtain the segmentation straight lines of the male parent row and the female parent row; determining the center line of the parent line according to the fitted segmentation straight line and extracting a navigation point according to the intersection point between the center lines or with the boundary; converting the extracted waypoint pixel coordinates into coordinates under a geodetic coordinate system; and planning the unmanned aerial vehicle operation route based on the waypoint coordinates in the geodetic coordinate system. The scheme of the invention uses a method of remote sensing mapping and image analysis to realize automatic planning of an auxiliary pollination operation route of hybrid rice of the unmanned aerial vehicle.

Description

Automatic planning method and system for unmanned aerial vehicle air route
Technical Field
The invention relates to the technical field of auxiliary pollination of unmanned aerial vehicles, in particular to an automatic planning method and system for an unmanned aerial vehicle air route.
Background
The rice pollen has a short florescence, a full florescence of 7-10 days, a flowering time of 1.5-2 hours in one day generally, and a short pollen life of only 4-5min, so that the pollination operation must be completed in a limited time. The existing pollination mode adopts artificial supplementary pollination, the pollen of the male parent is propagated to the ear layer of the female parent by artificially vibrating the bloomed rice ear of the male parent by using ropes or bamboo poles, the pollen propagation distance of the male parent in the artificial supplementary pollination mode is small, the width of the alternate planting of the male parent and the female parent is limited, the male parent is generally planted in a single row or a double row, and the mechanized planting and harvesting are difficult to carry out; and the labor force of artificial supplementary pollination is strong, the working efficiency is low, and the labor cost is increased year by year. The expansion of the male-female row ratio is the basis for ensuring the seed setting rate of the female parent, further improving the seed production yield and realizing the whole-course mechanization of seed production.
At present, an unmanned helicopter is applied to carry out supplementary pollination, the wind power generated by a rotor wing when the unmanned helicopter flies along the male parent is large, the pollen of the male parent can be spread farther, the pollination effect is better, the width of the male parent and the female parent which are planted alternately can be expanded, and the mechanized cultivation and harvesting of the male parent and the female parent can be realized. Although the unmanned aerial vehicle realizes autonomous flight, the air route is not accurate by using a common satellite map, and the map data is not updated timely, so that the position of the male parent cannot be found from the image, so that the actual land parcel is still observed by naked eyes during the current operation, and the air route of the pollination operation of the unmanned aerial vehicle is manually adjusted. By wasting time and energy, influence the effect and the efficiency of unmanned aerial vehicle pollination operation.
Disclosure of Invention
The embodiment of the invention provides an automatic planning method and system for an unmanned aerial vehicle air route.
The technical scheme is as follows:
on one hand, the method for automatically planning the air route of the unmanned aerial vehicle is used for the auxiliary pollination operation of the unmanned aerial vehicle, plants in a field needing auxiliary pollination are planted in rows, and male parent rows and female parent rows of the plants are mutually spaced, and the method comprises the following steps: dividing an auxiliary pollination operation area on a satellite map; acquiring an unmanned aerial vehicle aerial image of an auxiliary pollination operation area; making an orthographic image from an aerial image of an unmanned aerial vehicle, and extracting and determining a field image needing auxiliary pollination from the orthographic image; determining respective images of a male parent line and a female parent line in the field image through image segmentation; performing linear fitting on the image boundaries of the male parent row and the female parent row to obtain the segmentation straight lines of the male parent row and the female parent row; determining the center line of the parent line according to the obtained segmentation straight line, and extracting a waypoint; converting the pixel coordinates of the extracted waypoints into coordinates of a geodetic coordinate system; and planning the unmanned aerial vehicle operation route based on the waypoint coordinates in the geodetic coordinate system.
Optionally, use unmanned aerial vehicle operation region of taking photo by plane, the preparation orthophoto image of taking photo by plane includes: the optical camera and the satellite positioning equipment carried by the unmanned aerial vehicle are utilized to acquire the aerial image of the unmanned aerial vehicle in the auxiliary pollination operation area, and the aerial image of the unmanned aerial vehicle is made into a orthographic image by utilizing the photogrammetric technology.
Optionally, before extracting the field image needing supplementary pollination from the ortho image, the method further includes: and enhancing the color image of the orthoimage by adopting a histogram equalization method, thereby improving the contrast.
Optionally, extracting the field image needing supplementary pollination from the ortho image comprises: selecting at least one regional image sample representing the color and texture characteristics of the male parent and the female parent of a plant from the orthographic images, wherein each regional image sample simultaneously comprises images of the male parent and the female parent; and extracting a field image needing auxiliary pollination from the aerial orthographic image of the unmanned aerial vehicle by adopting a region growing algorithm based on the color and texture characteristics of male parent lines and female parent lines of rice in the region image sample.
Optionally, extracting a field image needing supplementary pollination from the aerial orthographic image of the unmanned aerial vehicle by using a region growing algorithm comprises: adopting a region growing algorithm, selecting one of the obtained region image samples as a seed pixel, taking the texture and the color of the region image sample as a similarity criterion, starting growing from the position of the region image sample until a communicated region meeting the texture and the color characteristics of the sample is marked, performing morphological dilation treatment, removing holes in the region, then calculating the ratio of the area of the grown region to the total area of the image, identifying the growing region meeting a certain condition as a field needing auxiliary pollination, and extracting a field image.
Optionally, determining respective images of the male parent row and the female parent row in the field image by image segmentation includes: converting the extracted field image from an RGB color space to an HSV color space; acquiring a histogram of the field image, wherein two peak values of the histogram represent a male parent row and a female parent row respectively; and generating a corresponding binary image based on the histogram, wherein according to the constraint condition, the binary image with a large area is a female parent, and the binary image with a small area is a male parent.
Optionally, performing linear fitting on the image boundaries of the male parent row and the female parent row to obtain the segmentation straight lines of the male parent row and the female parent row includes: extracting the edges of the image areas of the male parent line and the female parent line by setting an area threshold constraint condition, fitting straight lines of the edges by using a Hough transformation method to obtain the slope of each straight line, and calculating the probability distribution of the slopes to find out the straight lines in a threshold range to serve as segmentation straight lines of the male parent line and the female parent line.
Optionally, determining a centerline of the parent line according to the obtained segmentation straight line, and extracting the waypoint includes: according to the condition constraint of the line width of the male parent, the area between two adjacent straight lines with smaller distance between the segmentation straight lines of the male parent line and the segmentation straight line of the female parent line is determined as the male parent, so that the central line of the male parent line is obtained, and a waypoint is extracted from the central line, wherein the waypoint refers to the intersection point of the central line and the field boundary or the intersection point of the central line and the central line.
Optionally, planning the unmanned aerial vehicle operation route based on the waypoint coordinates in the geodetic coordinate system includes: and selecting a nearest waypoint according to the position of the unmanned aerial vehicle and the central line constraint of the male parent, starting to sequentially traverse other waypoints by defaulting on the principle of priority on the left side, starting to traverse the right waypoint closest to the last waypoint on the left side after traversing the left waypoint if the waypoint on the right side exists, continuing traversing until the reciprocating route planning is completed, and finally uploading the completed planned route of the unmanned aerial vehicle to guide the unmanned aerial vehicle to operate.
On the other hand, provide an unmanned aerial vehicle airline automatic planning system for unmanned aerial vehicle supplementary pollination operation, the plant branch row in the field piece that needs supplementary pollination is planted, and the male parent row and female parent row of plant separate each other, the system includes: the marking module is used for dividing an auxiliary pollination operation area on the satellite map; the acquisition module is used for acquiring an unmanned aerial vehicle aerial image of the auxiliary pollination operation area; the image processing module is used for making an orthographic image from the aerial image of the unmanned aerial vehicle, extracting and determining a field image needing auxiliary pollination, determining images of a male parent line and a female parent line in the field image through image segmentation, and performing linear fitting on image boundaries of the male parent line and the female parent line to obtain segmentation straight lines of the male parent line and the female parent line; the data processing module is used for determining the center line of the parent line, extracting the pixel coordinate of the center line and converting the extracted pixel coordinate of the navigation point into the coordinate under a geodetic coordinate system; and the route planning module is used for planning the unmanned aerial vehicle operation route based on the coordinates of the waypoint in the geodetic coordinate system.
According to the technical scheme, the embodiment of the invention has the following advantages:
by using the method of remote sensing mapping and image analysis, the automatic planning of the auxiliary pollination operation air route of the hybrid rice of the unmanned aerial vehicle can be realized.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the embodiments and the drawings used in the description of the prior art, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a schematic representation of a field requiring supplementary pollination;
FIG. 2 is a schematic flow chart of a method for automatically planning routes of an unmanned aerial vehicle according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an automatic planning system for routes of an unmanned aerial vehicle according to an embodiment of the present invention;
fig. 4 is a schematic flow chart of an automatic unmanned aerial vehicle route planning method in an application scenario of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," and the like in the description and in the claims, and in the above-described drawings, are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
The following are detailed descriptions of the respective embodiments.
The invention provides an automatic planning method for an unmanned aerial vehicle air route, which is used for the auxiliary pollination operation of an unmanned aerial vehicle. Referring to fig. 1, a plant, such as a rice plant, in a field 10 in need of supplementary pollination is planted in rows with male parent rows 11 and female parent rows 12 of the plant spaced apart.
Referring to fig. 2, in an embodiment of the present invention, an automatic unmanned aerial vehicle route planning method is provided for implementing automatic planning of a working route of a pollination-assisted unmanned aerial vehicle, and the method may include:
21. and dividing an auxiliary pollination operation area on the satellite map.
22. And (3) using the unmanned aerial vehicle aerial photography operation area, acquiring an unmanned aerial vehicle aerial photography image of the auxiliary pollination operation area, and making an orthographic image.
In some embodiments, the step may specifically include acquiring an unmanned aerial vehicle aerial image of the supplementary pollination work area using an optical camera and satellite positioning equipment carried by the unmanned aerial vehicle, and making the unmanned aerial image into an ortho image using photogrammetry techniques.
Optionally, after obtaining the aerial photography orthographic image and before performing the next step, the method further comprises the step of performing color image enhancement on the aerial photography orthographic image of the unmanned aerial vehicle by using a histogram equalization method, so that the contrast is improved.
23. And extracting a field image which is determined to need to be subjected to auxiliary pollination from the aerial orthographic image of the unmanned aerial vehicle.
In some embodiments, the step may specifically include framing at least one area image sample representing color and texture characteristics of the male parent and the female parent of the plant from the aerial orthophoto image of the unmanned aerial vehicle, wherein each area image sample includes images of the male parent and the female parent at the same time; and extracting a field image needing auxiliary pollination from the aerial orthographic image of the unmanned aerial vehicle by adopting a region growing algorithm based on the color and texture characteristics of male parent lines and female parent lines of rice in the region image sample.
Optionally, extracting a field image needing supplementary pollination from the aerial orthographic image of the unmanned aerial vehicle by using a region growing algorithm may include: adopting a region growing algorithm, selecting one of the obtained region image samples as a seed pixel, taking the texture and the color of the region image sample as a similarity criterion, starting growing from the position of the region image sample until a communicated region meeting the texture and the color characteristics of the sample is marked, performing morphological dilation treatment, removing holes in the region, then calculating the ratio of the area of the grown region to the total area of the image, identifying the growing region meeting a certain condition as a field needing auxiliary pollination, and extracting a field image.
24. And determining respective images of a male parent row and a female parent row in the field image through image segmentation.
In some embodiments, this step may specifically include converting the extracted field image from an RGB color space to an HSV color space; acquiring a histogram of the field image, wherein two peak values of the histogram represent a male parent row and a female parent row respectively; and generating a corresponding binary image based on the histogram, wherein according to the constraint condition, the binary image with a large area is a female parent, and the binary image with a small area is a male parent.
25. And performing linear fitting on the image boundaries of the male parent row and the female parent row to obtain the segmentation straight lines of the male parent row and the female parent row.
In some embodiments, the step may specifically include extracting edges of the image regions of the male parent line and the female parent line by setting an area threshold, fitting straight lines of the edges by using a Hough (Hough) transformation method to obtain slopes of the straight lines, and calculating probability distribution of the slopes to find out straight lines within a threshold range as segmentation straight lines of the male parent line and the female parent line.
26. And determining the central line of the parent line according to the obtained segmentation straight line, and extracting the waypoint.
Optionally, determining a centerline of the parent line according to the obtained segmentation straight line, and extracting the waypoint includes: and according to the condition constraint of the line width of the male parent, recognizing the area between two adjacent straight lines with smaller distance of the segmentation straight lines of the male parent line and the female parent line as the male parent, thereby obtaining the central line of the male parent line. The waypoints refer to the intersection points of the center lines and the field boundaries or the intersection points of the center lines and the center lines.
27. And converting the extracted navigation point pixel coordinates into coordinates in a geodetic coordinate system.
28. And planning the unmanned aerial vehicle operation route based on the waypoint coordinates in the geodetic coordinate system.
In some embodiments, the step may specifically include selecting a nearest waypoint according to the unmanned aerial vehicle position and the male parent centerline constraint, starting to sequentially traverse other waypoints by default in a left-side-first principle, starting with a right waypoint closest to the left-side last waypoint after traversing the left-side waypoint if waypoints exist on the right side, continuing the traversal until the reciprocating route planning is completed, and finally uploading the completed unmanned aerial vehicle planned route to the unmanned aerial vehicle to guide the unmanned aerial vehicle to operate.
Referring to fig. 3, an embodiment of the present invention further provides an unmanned aerial vehicle route automatic planning system for unmanned aerial vehicle supplementary pollination operation, wherein a plant in a field needing supplementary pollination is planted in rows, and a male parent row and a female parent row of the plant are spaced from each other, the system comprising:
the marking module 31 is used for dividing an auxiliary pollination operation area on the satellite map;
the acquisition module 32 is used for acquiring an unmanned aerial vehicle aerial image of the auxiliary pollination operation area;
the image processing module 33 is configured to make an orthographic image from the aerial image of the unmanned aerial vehicle, extract and determine a field image that needs to be pollinated in an auxiliary manner, determine respective images of a male parent line and a female parent line in the field image by image segmentation, and perform linear fitting on image boundaries of the male parent line and the female parent line to obtain segmentation straight lines of the male parent line and the female parent line;
the data processing module 34 is used for determining the center line of the parent line, extracting the waypoint, and converting the pixel coordinate of the extracted waypoint into the coordinate under the geodetic coordinate system;
and the route planning module 35 is used for planning the unmanned aerial vehicle operation route based on the waypoint in the geodetic coordinate system.
For a more detailed description of the system, reference is made to the description of the method embodiments above.
In order to facilitate understanding of the present invention, the method of the present invention is further described in detail below with reference to a specific application scenario:
as shown in figure 1, the growth distribution of male parent and female parent plants in typical hybrid rice seed production can be realized by manually controlling a rotor unmanned aerial vehicle to move along the male parent in the air in a row so as to realize high-quality auxiliary pollination. For the application scenario, the method for automatically planning the unmanned aerial vehicle route of the invention, as shown in fig. 4, may include the following processes:
s1, an approximate range of an auxiliary pollination operation area is drawn on a high-resolution satellite image map in advance, and the on-site positioning accuracy of a range line is better than 50 meters.
S2, acquiring an aerial image of information to be positioned, namely an aerial image of the approximate range of the auxiliary pollination operation area, by using a small optical camera and Beidou satellite positioning equipment carried by the auxiliary pollination unmanned aerial vehicle; and (3) utilizing a photogrammetry technology to manufacture an orthographic image of the working area with the plane precision better than 10 cm.
And a histogram equalization method is adopted to enhance the color image and improve the contrast so as to adapt to the condition that the color difference between the male parent and the female parent of the rice is small.
And S3, selecting the area image samples representing the color and texture characteristics of the male parent and the female parent of the rice in a frame mode. And considering the image frame as a field to be planned, wherein the center of the field is close to the center of the image. Therefore, in order to ensure that the sample is representative as much as possible, 1,4 or 9 square image samples are collected in the form of 1 square grid, 2 × 2 square grid or 3 × 3 square grid according to the orthographic image scale and rough line width data of the rice father and mother parents by taking the image center as a sampling center, and the collection follows the following principle:
(1) each sample contains images of male parent and female parent, and interference of non-crop objects in the field is avoided as much as possible
(2) The total pixel width of the sample is less than or equal to half of the width of the narrow side of the image;
length d of edge of single sample image for the above principleepAnd (3) carrying out dynamic adjustment:
Figure BDA0001743109860000071
in the above formula (1), wpWidth of narrow side of image, wmp,wfpThe approximate line widths of the male parent and the female parent respectively, and the variable units are pixel points.
And S4, segmenting and extracting the field to be planned. And adopting a region growing algorithm, firstly taking a sample from the obtained samples as a seed pixel, taking the texture and the color of the sample as similarity criteria, and growing from the position of the sample in an 8-communication mode until a communication region meeting the texture and the color characteristics of the sample is marked. And performing morphological expansion treatment to remove small holes in the region. Then, the ratio rho of the area of the grown region to the total area of the image is calculatednAnd determining the growing area meeting the following conditions as the area of the field to be detected:
(1)ρn+ the area ratio of the cavity in the middle is more than or equal to 80 percent;
(2) the growth area comprises a ratio of image edge pixels to image edge total pixels < 5%;
and S5, if the extraction of the field to be planned in the step S4 is not accurate due to the fact that the boundary of the field is not obvious, the adjacent field has the same or similar crops and the like, adopting a manual frame selection method to assist the extraction of the field image.
S6, segmenting the male parent and the female parent. The image information of the rice crop basically remains in the extracted image area image of the field, the male parent and the female parent often have differences in color, the differences are converted into gray-scale images which may not be obvious, and the male parent and the female parent of the rice are easily removed from the color by naked eyes in reality.Therefore, firstly, the image is converted from RGB color space to HSV space which is more intuitively corresponding to human perception, namely the chroma h belongs to [0,360 ]]The saturation s ∈ [0,1 ]]The brightness v ∈ [0,1 ]]Is expressed in terms of the form. Assume a pixel value (r, g, b) of the image RGB color space, where r, g, b ∈ [0,255 ]]Define { Cmax,CminThe method is as follows:
Cmax=max(r,g,b) (2)
Cmin=min(r,g,b) (3)
thus having v ═ Cmax/255,s=(Cmax-Cmin)/CmaxThen, h is calculated:
Figure BDA0001743109860000081
then, the h, s and v 3 components are quantized at unequal intervals according to the perception of human color, and the chrominance component h is divided into 8 areas: h: [0,20] → 0, [21,40] → 1, [41,75] → 2, [75,155] → 3, [156,190] → 4, [191,270] → 5, [271,295] → 6, [296,360] → 7; the saturation s and the brightness v are divided into 3 regions, respectively: s, v: [0,0.2) → 0, [0.2,0.7) → 1, [0.7,1.0] → 2. The 3 component synthesized pixel's dominant hue l is then 9h +3s + v. And then obtaining global color distribution by using a dominant hue histogram method, wherein the histogram can present a double-peak form at the moment, h corresponding to two peak values respectively represents the dominant hues of the male parent and the female parent, selecting the hue value with the highest peak value and 3-5 neighborhood values left and right of the hue value as a threshold range of image binarization for carrying out image binarization, filtering the binarized image, and according to the constraint condition of the planting proportion of the rice male parent and the rice female parent, taking the binary image with a large area as the female parent and taking the binary image with a small area as the male parent.
S7, performing straight line fitting on the parent and female parent boundaries based on Hough transformation. Setting the edge of an area threshold extraction area, discarding the edge of an undersized noise area, wherein the rest is the boundary of the male parent and the female parent of the rice, fitting the straight line of the edge by using Hough transformation to obtain the slope of each straight line, calculating the probability distribution of the slope to find out a proper slope threshold, and deleting the straight line with overlarge deviation, so that the straight line for segmenting the male parent and the female parent of the rice is obtained.
And S8, determining the line center line of the male parent from the boundary straight line, and extracting a navigation point. The line width of the male parent is smaller than that of the female parent, and two adjacent straight lines with smaller distance in the obtained straight lines can be regarded as the male parent, so that the central line of the two straight lines is obtained and is the central line of the parent line, and the intersection point of the central line and the previously divided field boundary or other central lines is used as the navigation point of unmanned aerial vehicle operation.
And S9, converting into the geodetic coordinates WGS 84. And (5) converting the pixel coordinates of the extracted waypoints into coordinates in a geodetic coordinate system WGS84 by using a two-dimensional plane coordinate conversion formula (5).
Figure BDA0001743109860000082
Wherein: (dx, dy) is the position translation, scale is the magnification factor, and α is the rotation angle.
S10, planning a reciprocating operation air route. And in the process of extracting the waypoints, selecting a nearest waypoint according to the position of the unmanned aerial vehicle and the central line constraint of the male parent to start traversing other waypoints in a left-side-first principle by default, and if the waypoint exists on the right side, starting with the right waypoint closest to the last waypoint on the left side after traversing the left-side waypoint, and continuing traversing until the reciprocating route planning is finished. And finally, uploading the air route to the unmanned aerial vehicle, and guiding the unmanned aerial vehicle to automatically operate.
The embodiment of the invention discloses an unmanned aerial vehicle air route automatic planning method and system, and the unmanned aerial vehicle hybrid rice supplementary pollination operation air route automatic planning can be realized by using a method of remote sensing mapping and image analysis.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to the related descriptions of other embodiments.
The above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; those of ordinary skill in the art will understand that: the technical solutions described in the above embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (8)

1. An automatic planning method for unmanned aerial vehicle air route is used for unmanned aerial vehicle supplementary pollination operation, plants in a field needing supplementary pollination are planted in rows, and male parent rows and female parent rows of the plants are mutually spaced, and the method is characterized by comprising the following steps:
dividing an auxiliary pollination operation area on a satellite map;
using an unmanned aerial vehicle aerial photography operation area to make an orthographic image;
extracting a field image which is determined to need auxiliary pollination from the orthoimage;
determining respective images of a male parent line and a female parent line in the field image through image segmentation;
performing linear fitting on the image boundaries of the male parent row and the female parent row to obtain the segmentation straight lines of the male parent row and the female parent row;
determining the center line of the parent line according to the obtained segmentation straight line, and extracting a waypoint;
converting the pixel coordinates of the extracted waypoints into coordinates of a geodetic coordinate system;
planning an unmanned aerial vehicle operation route based on the waypoint coordinates in the geodetic coordinate system;
determining the center line of the parent line according to the obtained segmentation straight line, and extracting the waypoints comprises the following steps: according to the condition constraint of the line width of the male parent, the area between two adjacent straight lines with smaller distance between the segmentation straight lines of the male parent line and the segmentation straight line of the female parent line is determined as the male parent, so that the central line of the male parent line is obtained, and a waypoint is extracted from the central line, wherein the waypoint refers to the intersection point of the central line and the field boundary or the intersection point of the central line and the central line;
the unmanned aerial vehicle operation air route planning method based on the waypoint coordinates in the geodetic coordinate system comprises the following steps: and selecting a nearest waypoint according to the position of the unmanned aerial vehicle and the central line constraint of the male parent, starting to sequentially traverse other waypoints by defaulting on the principle of priority on the left side, starting to traverse the right waypoint closest to the last waypoint on the left side after traversing the left waypoint if the waypoint on the right side exists, continuing traversing until the reciprocating route planning is completed, and finally uploading the completed planned route of the unmanned aerial vehicle to guide the unmanned aerial vehicle to operate.
2. The method of claim 1, wherein using the drone aerial work area, making an aerial orthographic image comprises:
the optical camera and the satellite positioning equipment carried by the unmanned aerial vehicle are utilized to acquire the aerial image of the unmanned aerial vehicle in the auxiliary pollination operation area, and the aerial image of the unmanned aerial vehicle is made into a orthographic image by utilizing the photogrammetric technology.
3. The method of claim 1, wherein extracting the field image from the ortho image that requires supplementary pollination further comprises:
and enhancing the color image of the orthoimage by adopting a histogram equalization method, thereby improving the contrast.
4. The method of claim 1, wherein extracting the field image from the ortho image that requires supplementary pollination comprises:
selecting at least one regional image sample representing the color and texture characteristics of the male parent and the female parent of a plant from the orthographic images, wherein each regional image sample simultaneously comprises images of the male parent and the female parent;
and extracting a field image needing auxiliary pollination from the orthoscopic image by adopting a region growing algorithm based on the color and texture characteristics of male parent lines and female parent lines of rice in the region image sample.
5. The method of claim 4, wherein extracting the field image from the ortho image using a region growing algorithm that requires supplementary pollination comprises:
selecting one of the obtained regional image samples as a seed pixel by adopting a region growing algorithm, taking the texture and the color of the regional image sample as a similarity criterion, starting growing from the position of the regional image sample until a communicated region meeting the texture and the color characteristics of the sample is marked, performing morphological dilation treatment, removing holes in the region, then calculating the ratio of the area of the grown region to the total area of the image, identifying the grown region meeting a certain condition as a field needing auxiliary pollination, and extracting a field graph.
6. The method of claim 1, wherein determining images of each of a parent row and a parent row in the field image by image segmentation comprises:
converting the extracted field image from an RGB color space to an HSV color space; acquiring a histogram of the field image, wherein two peak values of the histogram represent a male parent row and a female parent row respectively; and generating a corresponding binary image based on the histogram, wherein according to the constraint condition, the binary image with a large area is a female parent, and the binary image with a small area is a male parent.
7. The method of claim 1, wherein fitting straight lines to the image boundaries of the male parent row and the female parent row to obtain the segmentation straight lines of the male parent row and the female parent row comprises:
extracting the edges of the image areas of the male parent line and the female parent line by setting an area threshold constraint condition, fitting straight lines of the edges by using a Hough transformation method to obtain the slope of each straight line, and calculating the probability distribution of the slopes to find out the straight lines in a threshold range to serve as segmentation straight lines of the male parent line and the female parent line.
8. The utility model provides an unmanned aerial vehicle airline automatic planning system for unmanned aerial vehicle supplementary pollination operation, the plant branch row in the field that needs supplementary pollination is planted, and the male parent row and the female parent row of plant separate each other, its characterized in that, the system includes:
the marking module is used for dividing an auxiliary pollination operation area on the satellite map;
the acquisition module is used for acquiring an unmanned aerial vehicle aerial image of the auxiliary pollination operation area;
the image processing module is used for making an orthographic image from the aerial image of the unmanned aerial vehicle, extracting and determining a field image needing auxiliary pollination, determining images of a male parent line and a female parent line in the field image through image segmentation, and performing linear fitting on image boundaries of the male parent line and the female parent line to obtain segmentation straight lines of the male parent line and the female parent line;
the data processing module is used for determining the center line of the parent line, extracting the waypoints and converting the pixel coordinates of the extracted waypoints into coordinates in a geodetic coordinate system;
the route planning module is used for planning the operation route of the unmanned aerial vehicle based on the waypoint in the geodetic coordinate system;
wherein, determining the center line of the parent line and extracting the waypoints comprises: according to the condition constraint of the line width of the male parent, the area between two adjacent straight lines with smaller distance between the segmentation straight lines of the male parent line and the segmentation straight line of the female parent line is determined as the male parent, so that the central line of the male parent line is obtained, and a waypoint is extracted from the central line, wherein the waypoint refers to the intersection point of the central line and the field boundary or the intersection point of the central line and the central line;
the unmanned aerial vehicle operation air route planning method based on the waypoint coordinates in the geodetic coordinate system comprises the following steps: and selecting a nearest waypoint according to the position of the unmanned aerial vehicle and the central line constraint of the male parent, starting to sequentially traverse other waypoints by defaulting on the principle of priority on the left side, starting to traverse the right waypoint closest to the last waypoint on the left side after traversing the left waypoint if the waypoint on the right side exists, continuing traversing until the reciprocating route planning is completed, and finally uploading the completed planned route of the unmanned aerial vehicle to guide the unmanned aerial vehicle to operate.
CN201810828938.0A 2018-07-25 2018-07-25 Automatic planning method and system for unmanned aerial vehicle air route Active CN109087312B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810828938.0A CN109087312B (en) 2018-07-25 2018-07-25 Automatic planning method and system for unmanned aerial vehicle air route

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810828938.0A CN109087312B (en) 2018-07-25 2018-07-25 Automatic planning method and system for unmanned aerial vehicle air route

Publications (2)

Publication Number Publication Date
CN109087312A CN109087312A (en) 2018-12-25
CN109087312B true CN109087312B (en) 2022-04-26

Family

ID=64838651

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810828938.0A Active CN109087312B (en) 2018-07-25 2018-07-25 Automatic planning method and system for unmanned aerial vehicle air route

Country Status (1)

Country Link
CN (1) CN109087312B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109792951B (en) * 2019-02-21 2020-07-31 华南农业大学 Unmanned aerial vehicle air route correction system for pollination of hybrid rice and correction method thereof
CN110073967B (en) * 2019-04-29 2020-09-01 黑龙江八一农垦大学 Pollen collecting and spore collecting device based on unmanned aerial vehicle and computer and application thereof
CN110419443A (en) * 2019-09-04 2019-11-08 湖南隆平种业有限公司 A kind of unmanned plane auxiliary seed production and pollination operational method and system
CN112219177A (en) * 2019-10-31 2021-01-12 深圳市大疆创新科技有限公司 Operation planning method, system and equipment for spraying unmanned aerial vehicle
CN112612291A (en) * 2020-11-12 2021-04-06 北京大学(天津滨海)新一代信息技术研究院 Air route planning method and device for unmanned aerial vehicle for oil field surveying and mapping
CN112487906A (en) * 2020-11-23 2021-03-12 苏州极目机器人科技有限公司 Target male parent treatment method and target female parent detection method
CN113239864A (en) * 2021-05-31 2021-08-10 南通大学 Route planning method of unmanned aerial vehicle suitable for agricultural investigation
CN114431140A (en) * 2022-03-09 2022-05-06 张家口市农业科学院(河北省高寒作物研究所) Hybrid millet unmanned aerial vehicle supplementary pollination technology
CN115331131B (en) * 2022-10-17 2023-02-17 四川腾盾科技有限公司 Unmanned aerial vehicle mission planning auxiliary decision-making method
CN115435776B (en) * 2022-11-03 2023-03-14 成都沃飞天驭科技有限公司 Method and device for displaying three-dimensional airway route, aircraft and storage medium
CN117158311A (en) * 2023-09-27 2023-12-05 四川农业大学 Large unmanned aerial vehicle hybrid rice pollination system capable of automatically identifying male parent and S-shaped route to fly

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106483978A (en) * 2016-12-09 2017-03-08 佛山科学技术学院 A kind of unmanned machine operation voice guide devices and methods therefor
CN106768793A (en) * 2016-12-06 2017-05-31 华南农业大学 The wind room of flight environment of vehicle outside a kind of simulation unmanned plane room with detection function
CN107084725A (en) * 2017-05-17 2017-08-22 成都翼比特自动化设备有限公司 A kind of three-dimensional flight course planning method of multi-rotor unmanned aerial vehicle electric inspection process
CN107422734A (en) * 2017-07-28 2017-12-01 江西理工大学 The robot path planning method of pollination algorithm is reversely spent based on chaos
US9959771B1 (en) * 2015-12-18 2018-05-01 Amazon Technologies, Inc. Unmanned aerial vehicle routing using real-time weather data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9959771B1 (en) * 2015-12-18 2018-05-01 Amazon Technologies, Inc. Unmanned aerial vehicle routing using real-time weather data
CN106768793A (en) * 2016-12-06 2017-05-31 华南农业大学 The wind room of flight environment of vehicle outside a kind of simulation unmanned plane room with detection function
CN106483978A (en) * 2016-12-09 2017-03-08 佛山科学技术学院 A kind of unmanned machine operation voice guide devices and methods therefor
CN107084725A (en) * 2017-05-17 2017-08-22 成都翼比特自动化设备有限公司 A kind of three-dimensional flight course planning method of multi-rotor unmanned aerial vehicle electric inspection process
CN107422734A (en) * 2017-07-28 2017-12-01 江西理工大学 The robot path planning method of pollination algorithm is reversely spent based on chaos

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于小型无人机风场的水稻花粉分布规律;李继宇 等;《中国农业文摘·农业工程》;20180315(第2期);13-19,36 *

Also Published As

Publication number Publication date
CN109087312A (en) 2018-12-25

Similar Documents

Publication Publication Date Title
CN109087312B (en) Automatic planning method and system for unmanned aerial vehicle air route
CN111340826B (en) Aerial image single tree crown segmentation algorithm based on super pixels and topological features
WO2017099570A1 (en) System and method for precision agriculture by means of multispectral and hyperspectral aerial image analysis using unmanned aerial vehicles
CN109002048B (en) Multi-rotor unmanned aerial vehicle large-scale centralized photovoltaic power station image data acquisition method
dos Santos et al. Biophysical parameters of coffee crop estimated by UAV RGB images
CN111767865A (en) Method for inverting mangrove forest biomass by using aerial image and laser data
CN112418188A (en) Crop growth whole-course digital assessment method based on unmanned aerial vehicle vision
CN111047566B (en) Method for carrying out aquatic vegetation annual change statistics by unmanned aerial vehicle and multispectral satellite image
CN108901366B (en) Heaven and earth integrated orange picking method
CN116309670B (en) Bush coverage measuring method based on unmanned aerial vehicle
CN109448127A (en) A kind of farmland high-precision navigation map generation method based on unmanned aerial vehicle remote sensing
CN103544505A (en) Ship recognition system and ship recognition method for aerial image pickup of unmanned plane
CN109813286A (en) A kind of lodging disaster remote sensing damage identification method based on unmanned plane
Guldogan et al. Automated tree detection and density calculation using unmanned aerial vehicles
CN109612445B (en) High-precision terrain establishing method under WebGIS platform based on unmanned aerial vehicle
CN105606123A (en) Method for automatic correction of digital ground elevation model for low-altitude aerial photogrammetry
CN115453555A (en) Unmanned aerial vehicle rapid monitoring method and system for grassland productivity
Tubau Comas et al. Automatic apple tree blossom estimation from UAV RGB imagery
CN110569805B (en) Artificial forest stand wood extraction and standing quality evaluation method based on unmanned aerial vehicle image point cloud
CN101794391B (en) Greenhouse environment leading line extraction method
CN116645321B (en) Vegetation leaf inclination angle calculation statistical method and device, electronic equipment and storage medium
CN117392535A (en) Fruit tree flower bud target detection and white point rate estimation method oriented to complex environment
CN115019190B (en) Method for extracting complex ground type information of terrain breaking area based on aerial remote sensing platform
Boiarskii et al. Application of UAV-derived digital elevation model in agricultural field to determine waterlogged soil areas in Amur region, Russia
CN115760885A (en) High-canopy-density wetland forest parameter extraction method based on consumption-level unmanned aerial vehicle image

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221212

Address after: Room 606, Comprehensive Building, Huanghua Comprehensive Bonded Zone, Qishan Community, Huanghua Town, Changsha County, Hunan 410100

Patentee after: Wang Kuiguang

Address before: 518000 North 801-805 unit, 8th floor, A building, 2, Guangdong, Shenzhen, Nanshan District.

Patentee before: SHENZHEN HI-TECH NEW AGRICULTURE TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230113

Address after: 1008-09, Building 4, Guanming Business Center, No. 798, Zhongyi 1st Road, Dongjing Street, Yuhua District, Changsha City, 410000, Hunan Province

Patentee after: Hunan Plant Protection UAV Technology Co.,Ltd.

Address before: Room 606, Comprehensive Building, Huanghua Comprehensive Bonded Zone, Qishan Community, Huanghua Town, Changsha County, Hunan 410100

Patentee before: Wang Kuiguang