CN100545857C - Standing tree based on single image blocks the branch recognition methods - Google Patents

Standing tree based on single image blocks the branch recognition methods Download PDF

Info

Publication number
CN100545857C
CN100545857C CNB2008100557560A CN200810055756A CN100545857C CN 100545857 C CN100545857 C CN 100545857C CN B2008100557560 A CNB2008100557560 A CN B2008100557560A CN 200810055756 A CN200810055756 A CN 200810055756A CN 100545857 C CN100545857 C CN 100545857C
Authority
CN
China
Prior art keywords
branch
image
standing tree
skeleton
similarity
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
Application number
CNB2008100557560A
Other languages
Chinese (zh)
Other versions
CN101216894A (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.)
Beijing Forestry University
Original Assignee
Beijing Forestry University
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 Beijing Forestry University filed Critical Beijing Forestry University
Priority to CNB2008100557560A priority Critical patent/CN100545857C/en
Publication of CN101216894A publication Critical patent/CN101216894A/en
Application granted granted Critical
Publication of CN100545857C publication Critical patent/CN100545857C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/10Terrestrial scenes

Abstract

The invention provides a kind of standing tree and block the branch recognition methods based on single image, described method relates to the forest survey field, described method comprises: after the standing tree image of taking is carried out the image pre-service, carry out the background information that image segmentation is removed described standing tree image; Trunk part is removed, obtained a plurality of branch chart pictures; Image thinning is obtained a plurality of branch skeletons; Described each branch skeleton is carried out fitting a straight line, draw the straight-line equation of described each branch skeleton; Calculate the similarity of corresponding two branches of any two branch skeletons according to the intercept of any two branch skeleton straight-line equations and slope meter, during greater than setting value, judge described two branches for blocking branch in described similarity.Whether the method for the invention has the branch of judgement for blocking branch, reduces the advantage of the maloperation of training robot.

Description

Standing tree based on single image blocks the branch recognition methods
Technical field
The present invention relates to forest inventory investigation, relate in particular to a kind of standing tree and block the branch recognition methods based on single image.
Background technology
Forest is a renewable resources important on the earth, be human survival in necessary condition, forest is a most important life support system on the earth for multiple biology provides the environment of perching.And trees are elements of forest, in order to allow trees better grow, trees need be pruned in the reality.
Training operation at present is generally by manually finishing, but its operating efficiency is low, and labour intensity is big, and human cost is very high, and certain potential safety hazard is arranged.In order to address the above problem, prior art provides a kind of Remote Control Automatic standing tree training machine, and this training machine can be watched trees attentively but need manually face upward at the scene head by the manually-operated remote control operation of pruning, when needs are pruned, by the operation of pruning of remote control training machine.In order to address the above problem, Beijing Forestry University provides a kind of intelligent robot that prunes, and this training robot discerns the standing tree branch automatically by the robotic vision system, finishes the training operation.
In realizing process of the present invention, the inventor finds prior art, and there are the following problems:
Training of the prior art robot discerns the standing tree branch automatically by vision system, and training robotic vision system is when photographic images, also the branch of other trees around the trees to be pruned also can be taken together in image, generally the branches of other trees is called and block branch; And existing training robot can't to tell those by photographic images be to block branch, especially can't tell those by single image is to block branch, has caused the maloperation of training robot more.
Summary of the invention
In view of above-mentioned existing in prior technology problem, the specific embodiment of the present invention provides a kind of standing tree based on single image to block the branch recognition methods, and said method can be told and block branch, thereby reduces the maloperation of training robot.
The present invention is achieved by the following technical solutions:
The specific embodiment of the invention provides a kind of standing tree based on single image to block the branch recognition methods, and described method comprises:
After the standing tree image of taking carried out the image pre-service, carry out the background information that image segmentation is removed described standing tree image;
To remove the trunk part of the described standing tree image of background information and remove, obtain a plurality of branch chart pictures;
A plurality of described branch image thinnings are obtained a plurality of branch skeletons;
During glyph zygonema sexual intercourse on judging each branch skeleton, described each branch skeleton is carried out fitting a straight line, draw the straight-line equation of described each branch skeleton;
Calculate the similarity of corresponding two branches of any two branch skeletons according to the intercept of any two branch skeleton straight-line equations and slope meter, during greater than setting value, judge described two branches for blocking branch in described similarity;
The similarity that the intercept of any two the branch skeleton straight-line equations of described basis and slope meter are calculated corresponding two branches of any two branch skeletons comprises:
According to
K = | A 1 + A 2 2 ( A 1 - A 2 ) | × | B 1 + B 2 2 ( B 1 - B 2 ) |
Calculate the similarity of branch, wherein K is a similarity, and A1, B1 are the intercept and the slope of a branch skeleton straight-line equation, and A2, B2 are the intercept and the slope of another branch skeleton straight-line equation.
The technical scheme that is provided by the specific embodiment of the invention described above as can be seen, the described technical scheme of specific embodiments of the invention is by calculating the similarity degree of branch, and judge branch whether for blocking branch, thereby reduce the maloperation of training robot according to the value of the branch similarity degree that calculates.
Description of drawings
Fig. 1 is the process flow diagram of the described method of the specific embodiment of the invention.
Fig. 2 is the process flow diagram of the specific embodiment of the invention 1 described method.
Fig. 3 is the single image of shooting in the specific embodiment of the invention 1.
Fig. 4 is the standing tree image that removes background information in the specific embodiment of the invention 1.
Fig. 5 is a plurality of branch chart pictures in the specific embodiment of the invention 1.
Fig. 6 is the branch skeleton image in the specific embodiment of the invention 1.
Embodiment
The specific embodiment of the invention provides a kind of standing tree based on single image to block the branch recognition methods, and described method may further comprise the steps as shown in Figure 1:
Step 11, the standing tree image of taking carried out the image pre-service after, carry out the background information that image segmentation is removed described standing tree image;
The pretreated method of image in this step can adopt the method for filtering to reduce noise, and with the influence of reducing noise to the later image Treatment Analysis, the method for this filtering can adopt medium filtering; The image segmentation of carrying out in this step is removed the background information of described standing tree image and can be realized by the following method, adopts the iteration threshold dividing method to extract standing tree and branch, removes background information.
Step 12, the trunk part that will remove the described standing tree image of background information are removed, and obtain a plurality of branch chart pictures;
Realize this step method can for, the standing tree image that removes background information is adopted the fundamental operation-corrosion of mathematical morphology and the extraction that expansion realizes branch.The concrete operations of its realization can for, at first, to the standing tree image that removes background information carry out N time the corrosion, branch is eliminated.And then this image is carried out N+1 time expand, thereby obtain the trunk image; Standing tree figure image subtraction trunk image with removing background information has just obtained only having a plurality of branch chart pictures.
Step 13, a plurality of described branch image thinnings are obtained a plurality of branch skeletons;
Realize this step method can for, by formula (1) branch chart is looked like to carry out refinement, obtain the skeleton of branch.
A ⊗ { B } = ( · · · ( ( A ⊗ B 1 ) ⊗ B 2 ) · · · ) ⊗ B n - - - ( 1 )
When step 14, the glyph zygonema sexual intercourse on judging each branch skeleton, described each branch skeleton is carried out fitting a straight line, draw the straight-line equation of described each branch skeleton;
The glyph zygonema sexual intercourse of judging on each branch skeleton in this step can realize by following method, calculate the linear system of each section branch skeleton two-dimensional coordinate according to formula (2), the linear coefficient that is calculating | r|>0.9 o'clock, judge the glyph zygonema sexual intercourse on this section branch skeleton.
γ = nΣxy - ΣxΣy ( nΣ x 2 - ( Σx ) 2 ) · ( nΣ y 2 - ( Σy ) 2 ) - - - ( 2 )
In this step described each branch skeleton is carried out fitting a straight line, draw described each branch skeleton straight-line equation implementation method can for, according to formula (3) to described | the branch skeleton of r|>0.9 carries out fitting a straight line, draws the straight-line equation Y=A of each branch skeleton i+ B iX.
Σ i = 1 n y i = nA + B Σ i = 1 n x i Σ i = 1 n x i y i = A Σ i = 1 n x i + B Σ i = 1 n x i 2 - - - ( 3 )
Step 15, calculate the similarity of corresponding two branches of any two branch skeletons according to the intercept of any two branch skeleton straight-line equations and slope meter;
Realize this step method can for, calculate similarity according to formula (4).
k ij = | A i + A j 2 ( A i - A j ) | × | B i + B j 2 ( B i - B j ) | - - - ( 4 )
K wherein IjThe similarity of representing i branch and j branch, A i, B iBe the intercept and the slope of i branch skeleton straight-line equation, Aj, Bj are the intercept and the slope of j branch skeleton straight-line equation.
Step 16, whether judge described similarity, greater than setting value the time, judge described two branches for blocking branch greater than setting value; When being less than or equal to setting value, judging described two branches is not to block branch.
Setting value user in this step can rule of thumb set different seeds, and the preferred settings value is 100 here, and this setting value is by the known branch that blocks being calculated, draw when being when blocking branch, and the value of similarity is generally all greater than 100; The specific embodiment of the invention is not limited to the concrete numerical value of setting.
The device of realizing above-mentioned steps can be training robot or automatic standing tree training machine, and the specific embodiment of the invention is not limited to the concrete device of realizing this step.
For better describing the described method of embodiment of the present invention, existing 2~7 pairs of the specific embodiment of the present invention in conjunction with the accompanying drawings describe:
Embodiment 1: the embodiment of the invention 1 provides a kind of standing tree based on single image to block the branch recognition methods, the technical background of present embodiment 1 is: suppose that Fig. 3 is the single image of shooting, method in the present embodiment 1 is all handled Fig. 3, setting value can be 100, and this method comprises the steps:
Step 21, the single image Fig. 3 that shoots is carried out adopting the iteration threshold dividing method to extract standing tree and branch after medium filtering reduces noise, remove background information; The standing tree image that removes background information as shown in Figure 4;
Step 22, adopt mathematical morphology fundamental operation-corrosion and expansion to remove trunk part, obtain a plurality of branch chart pictures the standing tree image graph 4 of removing background information; The a plurality of branch chart pictures that draw as shown in Figure 5;
Step 23, a plurality of branch chart image pattern 5 refinements are obtained a plurality of branch skeletons; The a plurality of branch skeletons that obtain as shown in Figure 6;
The linear coefficient of step 24, a plurality of branch skeletons of calculating; Carry out following step at linear coefficient;
Realize this step method can for, calculate the linear coefficient of a plurality of branch skeleton L1, L2, L3, L4 according to formula (2), the absolute value of L1, the L2 that calculates according to formula (2), the linear coefficient of L3, L4 is all greater than 0.9.
Step 25, the branch skeleton in a plurality of branch skeleton diagrams 6 is carried out the straight-line equation that fitting a straight line draws the branch skeleton;
Realize this step concrete grammar can for, the branch skeleton L1 among Fig. 6, L2, L3, L4 are carried out fitting a straight line according to formula (3), it is as follows to draw straight-line equation:
L1:Y=-0.664X+293.664
L2:Y=-0.252X+277.274
L3:Y=-0.807X+136.411
L4:Y=-0.736X+126.107
Step 26, calculate the similarity of corresponding two branches of any two branch skeletons according to the intercept of any two branch skeleton straight-line equations and slope meter;
Realize this step concrete grammar can for:
Draw according to the straight-line equation in the step 25:
A1=293.664,B1=-0.664
A2=277.274,B2=-0.252
A3=136.411,B3=-0.807
A4=126.107,B4=-0.736
Calculate similarity according to formula (4), its result calculated is as follows:
The similarity of L1 and L2 is: K12=19.36
The similarity of L1 and L3 is: K13=7.03
The similarity of L1 and L4 is: K14=12.18
The similarity of L2 and L3 is: K23=1.40
The similarity of L2 and L4 is: K24=1.36
The similarity of L3 and L4 is: K34=138.42
The similarity that the similarity that step 27, basis calculate is judged L3 and L4 belongs to and blocks branch greater than 100.
The described method of the specific embodiment of the invention by calculating the similarity degree of branch, and is judged branch whether for blocking branch according to the value of the branch similarity degree that calculates, thereby is reduced the maloperation of training robot.
The described technical scheme of the specific embodiment of the invention can be judged branch whether for blocking branch, and reduces the maloperation of training robot.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.

Claims (2)

1, a kind of standing tree based on single image blocks the method for branch identification, it is characterized in that described method comprises:
After the standing tree image of taking carried out the image pre-service, carry out the background information that image segmentation is removed described standing tree image;
To remove the trunk part of the described standing tree image of background information and remove, obtain a plurality of branch chart pictures;
A plurality of described branch image thinnings are obtained a plurality of branch skeletons;
During glyph zygonema sexual intercourse on judging each branch skeleton, described each branch skeleton is carried out fitting a straight line, draw the straight-line equation of described each branch skeleton;
Calculate the similarity of corresponding two branches of any two branch skeletons according to the intercept of any two branch skeleton straight-line equations and slope meter, during greater than setting value, judge described two branches for blocking branch in described similarity;
The similarity that the intercept of any two the branch skeleton straight-line equations of described basis and slope meter are calculated corresponding two branches of any two branch skeletons comprises:
According to
K = | A 1 + A 2 2 ( A 1 - A 2 ) | × | B 1 + B 2 2 ( B 1 - B 2 ) |
Calculate the similarity of branch, wherein K is a similarity, and A1, B1 are the intercept and the slope of a branch skeleton straight-line equation, and A2, B2 are the intercept and the slope of another branch skeleton straight-line equation.
2, method according to claim 1 is characterized in that, the described trunk part that will remove the described standing tree image of background information is removed, and obtains a plurality of branch charts and looks like to comprise:
The described standing tree image that will remove background information adopts mathematical morphology fundamental operation-corrosion and expansion to remove trunk part, obtains a plurality of branch chart pictures.
CNB2008100557560A 2008-01-08 2008-01-08 Standing tree based on single image blocks the branch recognition methods Expired - Fee Related CN100545857C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2008100557560A CN100545857C (en) 2008-01-08 2008-01-08 Standing tree based on single image blocks the branch recognition methods

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2008100557560A CN100545857C (en) 2008-01-08 2008-01-08 Standing tree based on single image blocks the branch recognition methods

Publications (2)

Publication Number Publication Date
CN101216894A CN101216894A (en) 2008-07-09
CN100545857C true CN100545857C (en) 2009-09-30

Family

ID=39623325

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2008100557560A Expired - Fee Related CN100545857C (en) 2008-01-08 2008-01-08 Standing tree based on single image blocks the branch recognition methods

Country Status (1)

Country Link
CN (1) CN100545857C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101625723B (en) * 2009-07-02 2012-03-28 浙江省电力公司 Rapid image-recognizing method of power line profile
CN102622755B (en) * 2012-02-28 2015-01-07 中国农业大学 Plant limb identification method
CN105066877B (en) * 2015-07-16 2017-11-14 北京工业大学 Tree measurement method based on intelligent terminal camera lens

Non-Patent Citations (10)

* Cited by examiner, † Cited by third party
Title
Tree Skeleton Extraction from a Single Range Image. Zhanglin Cheng Xiaopeng Zhang Thierry Fourcaud.IEEE. 2007
Tree Skeleton Extraction from a Single Range Image. Zhanglin Cheng Xiaopeng Zhang Thierry Fourcaud.IEEE. 2007 *
基于数学形态学的树木图像分割方法. 阚江明,李文彬.北京林业大学学报,第28卷第增刊2期. 2006
基于数学形态学的树木图像分割方法. 阚江明,李文彬.北京林业大学学报,第28卷第增刊2期. 2006 *
基于整枝抚育目的的立木枝干自动识别方法. 孙仁山,李文彬,田勇臣,华丽.北京林业大学学报,第27卷第4期. 2005
基于整枝抚育目的的立木枝干自动识别方法. 孙仁山,李文彬,田勇臣,华丽.北京林业大学学报,第27卷第4期. 2005 *
立木枝干机器视觉识别技术研究. 孙仁山,全文,中国优秀硕士学位论文全文数据库. 2006
立木枝干机器视觉识别技术研究. 孙仁山,全文,中国优秀硕士学位论文全文数据库. 2006 *
立木树杈点自动识别方法. 李文彬,阚江明,孙仁山.北京林业大学学报,第29卷第4期. 2007
立木树杈点自动识别方法. 李文彬,阚江明,孙仁山.北京林业大学学报,第29卷第4期. 2007 *

Also Published As

Publication number Publication date
CN101216894A (en) 2008-07-09

Similar Documents

Publication Publication Date Title
CN113658200B (en) Edge perception image semantic segmentation method based on self-adaptive feature fusion
CN105023013B (en) The object detection method converted based on Local standard deviation and Radon
CN111626243B (en) Mask face shielding identity recognition method and device and storage medium
CN111046821A (en) Video behavior identification method and system and electronic equipment
CN100545857C (en) Standing tree based on single image blocks the branch recognition methods
CN108875819A (en) A kind of object and component associated detecting method based on shot and long term memory network
CN102542543A (en) Block similarity-based interactive image segmenting method
CN111639808A (en) Multi-wind-farm output scene generation method and system considering time-space correlation
CN104616014A (en) Method for extracting field curve guidance directrix based on morphological operation
CN114005029A (en) Improved yolov5 network-based fingered citron pest and disease identification method and system
CN106127193A (en) A kind of facial image recognition method
CN115050014A (en) Small sample tomato disease identification system and method based on image text learning
CN103971369A (en) Optic disc positioning method for retina image
CN111126185B (en) Deep learning vehicle target recognition method for road gate scene
CN113569672A (en) Lightweight target detection and fault identification method, device and system
CN110472092B (en) Geographical positioning method and system of street view picture
CN103207989B (en) A kind of vein recognition methods of the slight insect pest blade based on principal component analysis
CN116912700A (en) River and lake regulation violation problem change detection method based on feature enhancement and refinement
CN112734675B (en) Image rain removing method based on pyramid model and non-local enhanced dense block
CN117392466B (en) Early-stage early warning method and system for edible fungus diseases based on image recognition
CN103577807B (en) Identity identifying method and device based on hand vein recognition
CN116645298B (en) Defogging method and device for video monitoring image of overhead transmission line
CN103400397B (en) A kind of smooth target dividing method based on space-time, Apparatus and system
CN104424636A (en) Image segmentation method, image retrieval method and electronic device
CN117237213A (en) Multi-temporal remote sensing image thick cloud removing method based on deep learning

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090930

Termination date: 20120108