CN106709927A - Method for extracting target from acoustic image under complex background - Google Patents
Method for extracting target from acoustic image under complex background Download PDFInfo
- Publication number
- CN106709927A CN106709927A CN201611226658.XA CN201611226658A CN106709927A CN 106709927 A CN106709927 A CN 106709927A CN 201611226658 A CN201611226658 A CN 201611226658A CN 106709927 A CN106709927 A CN 106709927A
- Authority
- CN
- China
- Prior art keywords
- target
- image
- follows
- pixel
- acoustic picture
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10004—Still image; Photographic image
Landscapes
- Image Processing (AREA)
- Measurement Of Velocity Or Position Using Acoustic Or Ultrasonic Waves (AREA)
Abstract
The invention discloses a method for extracting a target from an acoustic image under complex background. The method includes the following steps that: (1) a Sobel operator is utilized to perform edge detection on the acoustic image, so that a gradient image can be obtained; (2) the threshold value of the gradient image is selected through the 3sigma criterion, and image binarization processing is performed; (3) primary expansion processing is performed on an obtained binarized image; (4) a depth-first search algorithm is utilized to perform target search on the image which has been subjected to the expansion processing; and (5) center coordinate calculation is performed on a searched target, the final position of the target in the image is determined. A target in an acoustic image is difficult to be extracted due to causes such as the movement of background or the low signal-to-noise ratio of the target, while, with the method of the invention adopted, the above target extraction problem can be solved.
Description
Technical field
The invention belongs to the Objective extraction side in acoustic picture under image processing field, more particularly to a kind of complex background
Method.
Background technology
Than larger, feature based Point matching carries out the calculation of Objective extraction to the noise carried due to acoustic picture in optical imagery
Method is not suitable for acoustic picture, therefore the conventional Objective extraction gimmick for acoustic picture mainly has two major classes, and the first is
Classical background removal gimmick, that is, select suitable image threshold, is judged as effective target to the pixel more than threshold value, less than threshold
The pixel of value is judged as background;Second is to utilize image difference method, will before and after two width acoustic pictures do calculus of differences, it is poor
Point result is exactly effective target.The acoustic picture that above-mentioned two classes method is fixed for background or signal noise ratio (snr) of image is higher has very
Strong applicability, but when acoustic picture background is that background changes in real time when movement, or signal noise ratio (snr) of image is low, for example, scheme
When having a large amount of interference as in, conventional object extraction algorithm cannot solve the above problems very well.
The content of the invention
The purpose of the present invention is directed to above-mentioned deficiency, there is provided the Objective extraction side under a kind of complex background in acoustic picture
Method.
In order to achieve the above object, the technical solution adopted in the present invention is as follows:Under a kind of complex background in acoustic picture
Target extraction method, specifically include following steps:
Step one, the rim detection of acoustic picture f (x, y) is carried out using Sobel operators, obtains gradient image G (x, y),
Computing formula is as follows:
Wherein, Gx、GyRespectively acoustic picture is calculated as follows in x-axis, the gradient magnitude of y-axis:
Gx=f (x+1, y-1)+2f (x+1, y)+f (x+1, y+1) }-{ f (x-1, y-1)+2f (x-1, y)+f (x-1, y+
1)}
Gy={ f (x-1, y+1)+2f (x, y+1)+f (x+1, y+1) }-{ f (x-1, y-1)+2f (x, y-1)+f (x+1, y-
1)}
Wherein, x represents the abscissa of pixel in acoustic picture, and y represents the ordinate of pixel in acoustic picture;
Step 2, the threshold value T of gradient image G (x, y) is chosen using 3 σ criterions, carries out binary conversion treatment, obtains binaryzation
Image B (x, y), is calculated as follows:
Step 3, an expansion process is carried out to binary image B (x, y), obtains image b (x, y), specific formula for calculation
For:
B (x, y)=b (x-1, y)=b (x+1, y)=b (x, y-1)=b (x, y+1)=1, if B (x, y)=1
Step 4, target search is carried out using Depth Priority Algorithm to image b (x, y) after expansion process, to figure
The search order of picture according to the position (x, y) for from top to bottom, from left to right, recording target effective pixel points in the picture, and
The effective coverage S={ (x, y) | (x, y) ∈ S } of its composition;
Step 5, target's center coordinate (x is carried out according to the target effective region S for searchingc,yc) calculate, establish target and exist
Final position in image, is calculated as follows:
Wherein mu,v(u, v ∈ { 0,1 }) is calculated as follows:
(x, y) therein is the pixel coordinate position in the S of target effective region, and corresponding pixel value is f (x, y).
Further, the acoustic picture is the underwater picture gathered by double frequency identification sonar.
Further, the pixel number that the target effective region S in the acoustic picture is included is less than 100, is more than
10。
Further, the detailed process of selected threshold T is as follows in the step 2:
It is μ that pixel value G (x, y) of each pixel in gradient image obeys average, and variance is σ2Gaussian Profile,
That is G (x, y)~N (μ, σ2), according to 3 σ criterions, the probability that G (x, y) falls outside interval [- 3 σ, 3 σ] is less than 0.3%, therefore threshold
Value T=μ+β × 3 σ, wherein β are threshold value adjustment factor, μ and σ2Be calculated as follows:
Wherein N is the total number of all pixels point in gradient image.
Beneficial effects of the present invention are as follows:The present invention is proposed for the deficiency of Objective extraction gimmick in conventional acoustic image
A kind of extraction algorithm based on rim detection, by asking for the gradient magnitude of acoustic picture, suitable threshold is chosen using 3 σ criterions
Value carries out image binaryzation, for the expansion process in preventing Target Splitting from carrying out a morphology, finally using depth-first
Searching algorithm carries out Objective extraction, and the centre coordinate position of target is established using weighted average.The method that the present invention is provided can
Effectively to solve the problems, such as Objective extraction in the acoustic picture under complex background, such as background is mobile or the low environment of signal to noise ratio
Under.
Brief description of the drawings
Fig. 1 is the flow chart of the inventive method;
Fig. 2 is Depth Priority Algorithm flow chart in the present invention;
Specific embodiment
The present invention is described in further details with reference to specific embodiment and accompanying drawing, but the present invention is not only limited to
It is secondary.
Pass through to walk the acoustic picture that boat investigation method obtains the shoal of fish under water using double frequency identification sonar, then using the present invention
Method Objective extraction is carried out to fish body therein.Fig. 1 is the algorithm flow chart of acoustic picture Objective extraction under complex background, main
Implementation process is wanted to be described below:
Step one, the rim detection of acoustic picture f (x, y) is carried out using Sobel operators, obtains gradient image G (x, y),
Computing formula is as follows:
Wherein, Gx、GyRespectively acoustic picture is calculated as follows in x-axis, the gradient magnitude of y-axis:
Gx=f (x+1, y-1)+2f (x+1, y)+f (x+1, y+1) }-{ f (x-1, y-1)+2f (x-1, y)+f (x-1, y+
1)}
Gy={ f (x-1, y+1)+2f (x, y+1)+f (x+1, y+1) }-{ f (x-1, y-1)+2f (x, y-1)+f (x+1, y-
1)}
Wherein, x represents the abscissa of pixel in acoustic picture, and y represents the ordinate of pixel in acoustic picture;
Step 2, the threshold value T of gradient image G (x, y) is chosen using 3 σ criterions, carries out binary conversion treatment, obtains binaryzation
Image B (x, y), is calculated as follows:
Calculating process for threshold value T is as follows:
It is μ that pixel value G (x, y) of each pixel in gradient image obeys average, and variance is σ2Gaussian Profile,
That is G (x, y)~N (μ, σ2), according to 3 σ criterions, the probability that G (x, y) falls outside interval [- 3 σ, 3 σ] is less than 0.3%, therefore threshold
Value T=μ+β × 3 σ, wherein β are threshold value adjustment factor, and β values are 1.1, μ and σ in this example2Be calculated as follows:
Wherein N is the total number of all pixels point in gradient image.
Step 3, " ten types " expansion process is carried out once to binary image B (x, y), obtains image b (x, y), specific meter
Calculating formula is:
B (x, y)=b (x-1, y)=b (x+1, y)=b (x, y-1)=b (x, y+1)=1, if B (x, y)=1
Step 4, carries out target and searches to image b (x, y) after expansion process according to order from top to bottom, from left to right
Rope, when detecting position (x0,y0) corresponding to value be 1 when, the position extended target is searched using Depth Priority Algorithm
Rope, as shown in Fig. 2 being described in detail below:
(1) by coordinate (x0,y0) pop down;
(2) judge whether current stack is empty, if empty represent that this depth-first search terminates, perform (8th) step;
(3) stack top element (x, y) is taken out;
(4) judge (whether x-1, be effectively y) that element value is 1, and is not accessed, then should for the top position of the element
Coordinate pop down;
(5) whether the right positions (x, y+1) for judging the element are effectively that element value is 1, and be not accessed, then should
Coordinate pop down;
(6) judge (whether x+1, be effectively y) that element value is 1, and is not accessed, then should for the lower position of the element
Coordinate pop down;
(7) whether the leftward position (x, y-1) for judging the element is effectively that element value is 1, and be not accessed, then should
Coordinate pop down;
(8) top-of-stack pointer subtracts one;
(9) effective coverage of this search is recorded, i.e., the coordinate position of all once stackings, statistics effective coverage is wrapped
The pixel number for containing, if vegetarian refreshments number judges that this target is effective less than 100 and more than 10, and the effective district
Domain is designated as S={ (x, y) | (x, y) ∈ S }
Step 5, target's center coordinate (x is carried out according to the target effective region S for searchingc,yc) calculate, establish target and exist
Final position in image, is calculated as follows:
Wherein mu,v(u, v ∈ { 0,1 }) is calculated as follows:
(x, y) therein is the pixel coordinate position in the S of target effective region, and corresponding pixel value is in step one
f(x,y)。
Based on above-mentioned flow, it is possible to obtain specific position of the effective target i.e. fish body of acoustic picture in acoustic picture
Put, for follow-up data processing provides facility.
Claims (4)
1. the target extraction method under a kind of complex background in acoustic picture, it is characterised in that comprise the following steps:
Step one, the rim detection of acoustic picture f (x, y) is carried out using Sobel operators, obtains gradient image G (x, y), is calculated
Formula is as follows:
Wherein, Gx、GyRespectively acoustic picture is calculated as follows in x-axis, the gradient magnitude of y-axis:
Gx=f (x+1, y-1)+2f (x+1, y)+f (x+1, y+1) }-f (x-1, y-1)+2f (x-1, y)+f (x-1, y+1) }
Gy={ f (x-1, y+1)+2f (x, y+1)+f (x+1, y+1) }-{ f (x-1, y-1)+2f (x, y-1)+f (x+1, y-1) }
Wherein, x represents the abscissa of pixel in acoustic picture, and y represents the ordinate of pixel in acoustic picture.
Step 2, the threshold value T of gradient image G (x, y) is chosen using 3 σ criterions, carries out binary conversion treatment, obtains binary image B
(x, y), is calculated as follows:
Step 3, an expansion process is carried out to binary image B (x, y), obtains image b (x, y), and specific formula for calculation is:
B (x, y)=b (x-1, y)=b (x+1, y)=b (x, y-1)=b (x, y+1)=1, ifB (x, y)=1.
Step 4, carries out target search, to image using Depth Priority Algorithm to image b (x, y) after expansion process
Search order is according to the position (x, y) for from top to bottom, from left to right, recording target effective pixel points in the picture, and its group
Into effective coverage S={ (x, y) | (x, y) ∈ S }.
Step 5, target's center coordinate (x is carried out according to the target effective region S for searchingc,yc) calculate, target is established in image
In final position, be calculated as follows:
Wherein mu,v(u, v ∈ { 0,1 }) is calculated as follows:
(x, y) therein is the pixel coordinate position in the S of target effective region, and corresponding pixel value is f (x, y).
2. the target extraction method under a kind of complex background according to claim 1 in acoustic picture, it is characterised in that institute
It is the underwater picture gathered by double frequency identification sonar to state acoustic picture.
3. the target extraction method under a kind of complex background according to claim 1 in acoustic picture, it is characterised in that institute
Pixel number that the target effective region S in acoustic picture included is stated less than 100, more than 10.
4. the target extraction method under a kind of complex background according to claim 1 in acoustic picture, it is characterised in that institute
The detailed process for stating selected threshold T in step 2 is as follows:
It is μ that pixel value G (x, y) of each pixel in gradient image obeys average, and variance is σ2Gaussian Profile, i.e. G
(x, y)~N (μ, σ2), according to 3 σ criterions, the probability that G (x, y) falls outside interval [- 3 σ, 3 σ] is less than 0.3%, therefore threshold value T
=μ+β × 3 σ, wherein β are threshold value adjustment factor, μ and σ2Be calculated as follows:
Wherein N is the total number of all pixels point in gradient image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611226658.XA CN106709927A (en) | 2016-12-27 | 2016-12-27 | Method for extracting target from acoustic image under complex background |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611226658.XA CN106709927A (en) | 2016-12-27 | 2016-12-27 | Method for extracting target from acoustic image under complex background |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106709927A true CN106709927A (en) | 2017-05-24 |
Family
ID=58902819
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611226658.XA Pending CN106709927A (en) | 2016-12-27 | 2016-12-27 | Method for extracting target from acoustic image under complex background |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106709927A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107578043A (en) * | 2017-09-08 | 2018-01-12 | 桂林加宏汽车修理有限公司 | A kind of translator of English method and system |
CN107688856A (en) * | 2017-07-24 | 2018-02-13 | 清华大学 | Indoor Robot scene active identification method based on deeply study |
CN108230265A (en) * | 2017-12-11 | 2018-06-29 | 南京理工大学 | A kind of acoustic picture processing method for being used to show abnormal water body |
CN110008833A (en) * | 2019-02-27 | 2019-07-12 | 中国科学院半导体研究所 | Target ship detection method based on remote sensing image |
CN110456357A (en) * | 2019-08-27 | 2019-11-15 | 吉林大学 | A kind of navigation locating method, device, equipment and medium |
CN111028197A (en) * | 2019-11-01 | 2020-04-17 | 深圳先进技术研究院 | Method and terminal for detecting metal corrosion |
CN111307037A (en) * | 2020-04-14 | 2020-06-19 | 深圳市异方科技有限公司 | Handheld volume measuring device based on 3D camera |
CN111507943A (en) * | 2020-03-27 | 2020-08-07 | 江苏恒力化纤股份有限公司 | Method for detecting polyester filament yarn broken filaments |
CN113484867A (en) * | 2021-06-25 | 2021-10-08 | 山东航天电子技术研究所 | Imaging sonar-based fish school density detection method in closed space |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101718870A (en) * | 2009-11-13 | 2010-06-02 | 西安电子科技大学 | High-speed weak target flight path detection method of image field |
CN101719279A (en) * | 2009-12-23 | 2010-06-02 | 西北工业大学 | Method for estimating movement of background of starry sky image |
CN101739829A (en) * | 2009-12-03 | 2010-06-16 | 北京中星微电子有限公司 | Video-based vehicle overspeed monitoring method and system |
CN102676633A (en) * | 2012-03-08 | 2012-09-19 | 天津大学 | Method for automatically counting bacterial colonies |
CN102693423A (en) * | 2012-05-15 | 2012-09-26 | 公安部第三研究所 | Method for precise positioning of license plate in strong light conditions |
-
2016
- 2016-12-27 CN CN201611226658.XA patent/CN106709927A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101718870A (en) * | 2009-11-13 | 2010-06-02 | 西安电子科技大学 | High-speed weak target flight path detection method of image field |
CN101739829A (en) * | 2009-12-03 | 2010-06-16 | 北京中星微电子有限公司 | Video-based vehicle overspeed monitoring method and system |
CN101719279A (en) * | 2009-12-23 | 2010-06-02 | 西北工业大学 | Method for estimating movement of background of starry sky image |
CN102676633A (en) * | 2012-03-08 | 2012-09-19 | 天津大学 | Method for automatically counting bacterial colonies |
CN102693423A (en) * | 2012-05-15 | 2012-09-26 | 公安部第三研究所 | Method for precise positioning of license plate in strong light conditions |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107688856B (en) * | 2017-07-24 | 2020-11-06 | 清华大学 | Indoor robot scene active identification method based on deep reinforcement learning |
CN107688856A (en) * | 2017-07-24 | 2018-02-13 | 清华大学 | Indoor Robot scene active identification method based on deeply study |
CN107578043A (en) * | 2017-09-08 | 2018-01-12 | 桂林加宏汽车修理有限公司 | A kind of translator of English method and system |
CN108230265A (en) * | 2017-12-11 | 2018-06-29 | 南京理工大学 | A kind of acoustic picture processing method for being used to show abnormal water body |
CN110008833B (en) * | 2019-02-27 | 2021-03-26 | 中国科学院半导体研究所 | Target ship detection method based on optical remote sensing image |
CN110008833A (en) * | 2019-02-27 | 2019-07-12 | 中国科学院半导体研究所 | Target ship detection method based on remote sensing image |
CN110456357A (en) * | 2019-08-27 | 2019-11-15 | 吉林大学 | A kind of navigation locating method, device, equipment and medium |
CN111028197A (en) * | 2019-11-01 | 2020-04-17 | 深圳先进技术研究院 | Method and terminal for detecting metal corrosion |
CN111507943A (en) * | 2020-03-27 | 2020-08-07 | 江苏恒力化纤股份有限公司 | Method for detecting polyester filament yarn broken filaments |
CN111507943B (en) * | 2020-03-27 | 2022-08-19 | 江苏恒力化纤股份有限公司 | Method for detecting broken filaments of polyester filaments |
CN111307037A (en) * | 2020-04-14 | 2020-06-19 | 深圳市异方科技有限公司 | Handheld volume measuring device based on 3D camera |
CN113484867A (en) * | 2021-06-25 | 2021-10-08 | 山东航天电子技术研究所 | Imaging sonar-based fish school density detection method in closed space |
CN113484867B (en) * | 2021-06-25 | 2023-10-20 | 山东航天电子技术研究所 | Method for detecting density of fish shoal in closed space based on imaging sonar |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106709927A (en) | Method for extracting target from acoustic image under complex background | |
CN103400156B (en) | Based on the High Resolution SAR image Ship Detection of CFAR and rarefaction representation | |
Barbat et al. | An adaptive machine learning approach to improve automatic iceberg detection from SAR images | |
US20160224833A1 (en) | Method and apparatus for target acquisition | |
CN111079739B (en) | Multi-scale attention feature detection method | |
CN105427342B (en) | A kind of underwater Small object sonar image target detection tracking method and system | |
CN104408482A (en) | Detecting method for high-resolution SAR (Synthetic Aperture Radar) image object | |
CN107403433A (en) | A kind of complicated cloud infrared small target in background detection method | |
US20120057791A1 (en) | Information processing apparatus and control method thereof | |
CN110020658B (en) | Salient object detection method based on multitask deep learning | |
CN106874912A (en) | A kind of image object detection method based on improvement LBP operators | |
CN110991547A (en) | Image significance detection method based on multi-feature optimal fusion | |
US20170053400A1 (en) | Method and apparatus for processing block to be processed of urine sediment image | |
Conde et al. | Exploring vision transformers for fine-grained classification | |
Zhu et al. | Underwater object recognition using transformable template matching based on prior knowledge | |
CN114429577B (en) | Flag detection method, system and equipment based on high confidence labeling strategy | |
CN115457415A (en) | Target detection method and device based on YOLO-X model, electronic equipment and storage medium | |
Mdakane et al. | Feature selection and classification of oil spill from vessels using Sentinel-1 wide–swath synthetic aperture radar data | |
CN109165592B (en) | Real-time rotatable face detection method based on PICO algorithm | |
Li et al. | Attention‐guided multiscale neural network for defect detection in sewer pipelines | |
CN112926667B (en) | Method and device for detecting saliency target of depth fusion edge and high-level feature | |
CN111428624B (en) | Optical remote sensing image on-orbit ship target detection method | |
CN108681691A (en) | A kind of marine ships and light boats rapid detection method based on unmanned water surface ship | |
Zha et al. | SAR ship detection based on salience region extraction and multi-branch attention | |
CN107832723B (en) | Smoke identification method and system based on LBP Gaussian pyramid |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170524 |
|
RJ01 | Rejection of invention patent application after publication |