CN106296603A - A kind of small target detecting method of underwater sonar image - Google Patents
A kind of small target detecting method of underwater sonar image Download PDFInfo
- Publication number
- CN106296603A CN106296603A CN201610629838.6A CN201610629838A CN106296603A CN 106296603 A CN106296603 A CN 106296603A CN 201610629838 A CN201610629838 A CN 201610629838A CN 106296603 A CN106296603 A CN 106296603A
- Authority
- CN
- China
- Prior art keywords
- pobw
- region
- represent
- connected region
- image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 12
- 238000002372 labelling Methods 0.000 claims description 13
- 239000011159 matrix material Substances 0.000 claims description 11
- 238000006243 chemical reaction Methods 0.000 claims description 10
- 230000000877 morphologic effect Effects 0.000 claims description 4
- 230000010339 dilation Effects 0.000 claims description 3
- 230000003628 erosive effect Effects 0.000 claims description 3
- 239000003550 marker Substances 0.000 claims 1
- 238000001514 detection method Methods 0.000 abstract description 11
- 238000012549 training Methods 0.000 abstract description 6
- 238000005516 engineering process Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 238000013459 approach Methods 0.000 description 2
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 2
- 241001269238 Data Species 0.000 description 1
- 241000270295 Serpentes Species 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000006740 morphological transformation Effects 0.000 description 1
- 230000007935 neutral effect Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000000513 principal component analysis Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/70—Denoising; Smoothing
-
- 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/20—Special algorithmic details
- G06T2207/20036—Morphological image processing
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Image Analysis (AREA)
Abstract
The invention belongs to object detection field, be specifically related to the small target detecting method of a kind of underwater sonar image.The present invention includes: initialize: making binary-state threshold th=0.8, shade direction is θ degree, makes I0=I;Make SE1Represent To Template, SE1It is the square templates of a size of 3 × 3 pixels, makes SE0Represent background template, SE0It it is the marginal area of the square templates of a size of 25 × 25 pixels.Target detection template proposed by the invention is simple;Detection speed is fast;Noise resisting ability is strong;Without training data.
Description
Technical field
The invention belongs to object detection field, be specifically related to the small target detecting method of a kind of underwater sonar image.
Background technology
Underwater sonar system, except the competent extreme operating environments of needs, should also have efficient Target detection and identification energy
Power, it is possible to accurately differentiate and sink to the bottom Small object and water Small Target.But, owing to sonar system is at the echo of certain reception, it is
Respectively reflecting the vector of sound wave, the echo amplitude of system record is wobble variation, produces speckle accordingly when forming sound spectrogram
Noise, the impact explanation to sound spectrogram.Although along with imaging sonar technology reaches its maturity, side-scan sonar can provide high resolution graphics
Picture, but compared with optical imagery, side-scanning sonar image still has that image quality is poor, between target and background, contrast is low etc.
Problem.Especially for small target deteection problem under water, due to interchannel noise and the impact of shot noise so that existing target
Detection technique is extremely difficult to satisfied result.
Image processing techniques and mode identification technology is utilized to detect Small object from underwater sonar data from 90 years last century
Achieved with rapid progress since generation.These methods can be generally divided into two classes: has measure of supervision and unsupervised approaches.Wherein have
Measure of supervision needs a large amount of training datas, and algorithm performance height relies on the character of training data.This kind of method mainly includes that K-is near
Adjacent neutral net, optimal identification filtered classification device, Bayes classifier, principal component analysis etc..On the other hand, unsupervised approaches without
Need special training data, it is adaptable to the input data of comparatively wide scope, data-optimized not for special training.This type of method
Including Markov random field, the statistics technology such as snake model, Morphological scale-space.Additionally, in order to improve algorithm performance further, also
Having scholar various different detection/recognition technology to be blended, the main integration technology used includes: by the inspection of various algorithms
The logic that uses survey/recognition result merges (such as boolean and or computing), log-likelihood ratio testing algorithm, linear weighted function fusion etc..
The present invention utilizes the morphological transformation occupation rate with stronger anti-noise ability to hit-miss conversion
(Percentage Occupancy Hit-or-Miss Transform, POHMT), it is achieved sound is swept in one side fast and accurately
Receive image small target deteection algorithm.
Summary of the invention
It is an object of the invention to provide one and hit-miss conversion (Percentage based on occupation rate
Occupancy Hit-or-Miss Transform, POHMT) the small target detecting method of underwater sonar image.
The object of the present invention is achieved like this:
(1) initialize: making binary-state threshold th=0.8, shade direction is θ degree, makes I0=I, wherein I is H × W pixel
Input sonar image matrix;
(2) SE is made1Represent To Template, SE1It is the square templates of a size of 3 × 3 pixels, makes SE0Represent background mould
Plate, SE0It it is the marginal area of the square templates of a size of 25 × 25 pixels;
(3) image I is calculated0Luminance mean value, use m0Represent, make t=m0... 255, for each t, calculate bianry image
Bt:
Wherein, h=1 ... H, w=1 ... W;
(4) foreground template matching rate poFore and background template matching rate poBack is calculated respectively
PoFore (t)=conv (Bt,SE1)/9
PoBack (t)=conv (1-Bt,SE0)/96
Wherein, t=m0... 255, conv (.) represents convolution algorithm, for fixing t value, poFore (t) and poBack
T () is H × W matrix;
(5) image I is calculated0Occupation rate hit-miss conversion poHMT
Wherein, min{.} is minimum value function, min{poFore (t), poBack (t) } represent for a fixing t
Value, takes less among both front poFore (t) and poBack (t) one;Max{.} is max function;PoHMT is H × W
Matrix;
(6) poHMT of step (5) is done binary conversion treatment
Wherein, h=1 ... H, w=1 ... (h w) represents that two-dimensional matrix poHMT is at (h, w) value at place, poBW for W, poHMT
For two values matrix, (h w) represents that poBW is in (h, w) value at place to poBW;
(7) morphological dilations, erosion operation is utilized to remove the tiny noise spot in poBW;
(8) poBW is made1Represent the poBW after denoising, utilize 8-join domain labeling method labelling poBW1In connected region
Territory, records the position of the boundary rectangle of each connected region, length and width respectively;
(9) I is made0=255-I, performs step (3)~step (7), and uses poBW0Represent the poBW after denoising, utilize 8-
Join domain labeling method labelling labelling poBW0In connected region, record respectively the boundary rectangle frame of each connection position,
Length and width;
(10) with poBW1In connected region R1Boundary rectangle be foundation, determine region of search,;This is searched for
Area maps is to poBW0Respective regions, and represent poBW with RS0In this region of search;
(11) at poBW0RS region in scan for, if it is possible to find connected region R0, then by poBW1In
Connected region R1It is labeled as target, deletes region R simultaneously0;Otherwise, if at poBW0RS in there is not connected region, then will
Connected region R in poBW11It is labeled as non-targeted.
(12) repeat step (10)~step (11), check poBW1In next connected region, until traversal poBW1's
All connected regions.
The beneficial effects of the present invention is: 1) the target detection template that proposed is simple;2) detection speed is fast;3) antinoise
Ability is strong;4) without training data.
Accompanying drawing explanation
Fig. 1 is the target in side-scanning sonar image and shade schematic diagram thereof;
Fig. 2 is To Template schematic diagram;
Fig. 3 is background template schematic diagram;
Fig. 4 is region of search schematic diagram.
Detailed description of the invention
Below in conjunction with the accompanying drawings the present invention is described further.
The present invention proposes one and the technical scheme is that 1) initialize: detection threshold value is set, determines target and background template
Size, shade direction is set;2) former sonar image is carried out POHMT computing, and operation result is done binary conversion treatment, obtain mesh
Mark bianry image;3) former sonar image does inverse process;4) sonar image after inverse is done POHMT computing, and will fortune
Calculate result and do binary conversion treatment, obtain shade bianry image;5) target bianry image, shade bianry image and shade side are utilized
To, mark Small object.
If I is input sonar image matrix, a size of H × W pixel, I (h, w) represent (h, w) brightness of position image,
Wherein h=1,2 ..., H, w=1,2 ..., W;And comprising multiple high luminance targets region in image I, each target is respectively provided with
Corresponding low-light level shadow region, as shown in Figure 1.
Object detection method proposed by the invention to implement step as follows:
Step 1, initializes: making binary-state threshold th=0.8, shade direction is θ degree, makes I0=I.
Step 2, makes SE1Represent To Template, here SE1It is the square templates of a size of 3 × 3 pixels, as shown in Figure 2;
Make SE0Represent background template, here SE0It is the marginal area of the square templates of a size of 25 × 25 pixels, as it is shown on figure 3, figure
In 3, the size of gray area is 23 × 23 pixels, and its pixel value is 0, and the pixel value of edge white portion is 1.
Step 3, calculates image I0Luminance mean value, use m0Represent;Make t=m0... 255, for each t, according to formula
(1) bianry image B is calculatedt:
Wherein, h=1 ... H, w=1 ... W.
Step 4, utilizes formula (2) to calculate foreground template matching rate poFore, utilizes formula (3) to calculate background template coupling
Rate poBack:
PoFore (t)=conv (Bt,SE1)/9 (2)
PoBack (t)=conv (1-Bt,SE0)/96 (3)
Wherein, t=m0... 255, conv (.) represents convolution algorithm, for fixing t value, poFore (t) and poBack
T () is H × W matrix.
Step 5, utilize formula (4) calculate image occupation rate hit-miss conversion poHMT:
Wherein, min{.} is minimum value function, min{poFore (t), poBack (t) } represent for a fixing t
Value, takes less among both poFore (t) and poBack (t) one;Max{.} is max function;PoHMT is H × W square
Battle array.
Step 6, utilizes formula (5) that the poHMT of step 5 is done binary conversion treatment
Wherein, h=1 ... H, w=1 ... (h w) represents that two-dimensional matrix poHMT is at (h, w) value at place, poBW for W, poHMT
For two values matrix, poBW (h, w) represent poBW (h, w) value at place,
Step 7, utilizes morphological dilations, erosion operation to remove the tiny noise spot in poBW.
Step 8, makes poBW1Represent the poBW after denoising, utilize 8-join domain labeling method labelling poBW1In company
Logical region, records the position of the boundary rectangle of each connected region, length and width respectively.
Step 9, makes I0=255-I, performs step 3~step 7, and uses poBW0Represent the poBW after denoising, utilize 8-
Join domain labeling method labelling labelling poBW0In connected region, record the position of the boundary rectangle frame of each connected region respectively
Put, length and width.
Step 10, with poBW1In connected region R1Boundary rectangle be foundation, determine region of search, such as Fig. 4 institute
Show, wherein w=5, l=5 × w0, w0For connected region R1Boundary rectangle width.This region of search is mapped to poBW0Phase
Answer region, and represent poBW with RS0In this region of search.
Step 11, at poBW0RS region in scan for, if it is possible to find a connected region (to assume to use R0Represent
This connected region), then by poBW1In connected region R1It is labeled as target, deletes region R simultaneously0;Otherwise, if
poBW0RS in there is not connected region, then by connected region R in poBW11It is labeled as non-targeted.
Step 12, repeats step 10~step 11, checks poBW1In next connected region, until traversal poBW1's
All connected regions.
Claims (1)
1. the small target detecting method of a underwater sonar image, it is characterised in that comprise the steps:
(1) initialize: making binary-state threshold th=0.8, shade direction is θ degree, makes I0=I, wherein I is the input of H × W pixel
Sonar image matrix;
(2) SE is made1Represent To Template, SE1It it is the square templates of a size of 3 × 3 pixels;Make SE0Represent background template, SE0
It it is the marginal area of the square templates of a size of 25 × 25 pixels;
(3) image I is calculated0Luminance mean value, use m0Represent;Make t=m0... 255, for each t, calculate bianry image Bt:
Wherein, h=1 ... H, w=1 ... W;
(4) foreground template matching rate poFore and background template matching rate poBack is calculated respectively:
PoFore (t)=conv (Bt,SE1)/9
PoBack (t)=conv (1-Bt,SE0)/96
Wherein, t=m0... 255, conv (.) represents convolution algorithm;
(5) image I is calculated0Occupation rate hit-miss conversion poHMT:
Wherein, min{.} is minimum value function, and max{.} is max function;
(6) poHMT of step (5) is done binary conversion treatment:
Wherein, h=1 ... H, w=1 ... W, poHMT (h, w) represent two-dimensional matrix poHMT (h, w) value at place, poBW (h, w)
Represent that poBW is in (h, w) value at place;
(7) morphological dilations, erosion operation is utilized to remove the tiny noise spot in poBW;
(8) poBW is made1Represent the poBW after denoising, utilize 8-join domain labeling method labelling poBW1In connected region,
Record the position of the boundary rectangle of each connected region, length and width respectively;
(9) I is made0=255-I, performs step (3)~step (7), and uses poBW0Represent the poBW after denoising, utilize 8-to connect
Zone marker method labelling poBW0In connected region, record the position of the boundary rectangle of each connected region, length and width respectively;
(10) with poBW1In connected region R1Boundary rectangle be foundation, determine region of search,;By this region of search
It is mapped to poBW0Respective regions, and represent poBW with RS0In this region of search;
(11) at poBW0RS region in scan for, if it is possible to find connected region R0, then by poBW1In connection
Region R1It is labeled as target, deletes region R simultaneously0;Otherwise, if at poBW0RS in there is not connected region, then by poBW1
In connected region R1It is labeled as non-targeted.
(12) repeat step (10)~step (11), check poBW1In next connected region, until traversal poBW1All
Connected region.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610629838.6A CN106296603B (en) | 2016-08-03 | 2016-08-03 | A kind of small target detecting method of underwater sonar image |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610629838.6A CN106296603B (en) | 2016-08-03 | 2016-08-03 | A kind of small target detecting method of underwater sonar image |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106296603A true CN106296603A (en) | 2017-01-04 |
CN106296603B CN106296603B (en) | 2019-03-05 |
Family
ID=57664796
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610629838.6A Active CN106296603B (en) | 2016-08-03 | 2016-08-03 | A kind of small target detecting method of underwater sonar image |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106296603B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107301419A (en) * | 2017-05-26 | 2017-10-27 | 哈尔滨工程大学 | A kind of method for detecting infrared puniness target based on percentage hit or miss transform |
CN110782480A (en) * | 2019-10-15 | 2020-02-11 | 哈尔滨工程大学 | Infrared pedestrian tracking method based on online template prediction |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101551851A (en) * | 2008-03-31 | 2009-10-07 | 中国科学院沈阳自动化研究所 | Infrared image target identification method |
CN104021553A (en) * | 2014-05-30 | 2014-09-03 | 哈尔滨工程大学 | Sonar image object detection method based on pixel point layering |
CN104881670A (en) * | 2015-05-20 | 2015-09-02 | 电子科技大学 | Rapid target extraction method used for SAR azimuth estimation |
CN105046258A (en) * | 2015-09-08 | 2015-11-11 | 中国电子科技集团公司第三研究所 | Target detection method and target detection device for small target detection sonar images |
CN105741284A (en) * | 2016-01-28 | 2016-07-06 | 中国船舶重工集团公司第七一〇研究所 | Multi-beam forward-looking sonar target detection method |
-
2016
- 2016-08-03 CN CN201610629838.6A patent/CN106296603B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101551851A (en) * | 2008-03-31 | 2009-10-07 | 中国科学院沈阳自动化研究所 | Infrared image target identification method |
CN104021553A (en) * | 2014-05-30 | 2014-09-03 | 哈尔滨工程大学 | Sonar image object detection method based on pixel point layering |
CN104881670A (en) * | 2015-05-20 | 2015-09-02 | 电子科技大学 | Rapid target extraction method used for SAR azimuth estimation |
CN105046258A (en) * | 2015-09-08 | 2015-11-11 | 中国电子科技集团公司第三研究所 | Target detection method and target detection device for small target detection sonar images |
CN105741284A (en) * | 2016-01-28 | 2016-07-06 | 中国船舶重工集团公司第七一〇研究所 | Multi-beam forward-looking sonar target detection method |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107301419A (en) * | 2017-05-26 | 2017-10-27 | 哈尔滨工程大学 | A kind of method for detecting infrared puniness target based on percentage hit or miss transform |
CN110782480A (en) * | 2019-10-15 | 2020-02-11 | 哈尔滨工程大学 | Infrared pedestrian tracking method based on online template prediction |
CN110782480B (en) * | 2019-10-15 | 2023-08-04 | 哈尔滨工程大学 | Infrared pedestrian tracking method based on online template prediction |
Also Published As
Publication number | Publication date |
---|---|
CN106296603B (en) | 2019-03-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Konishi et al. | Statistical edge detection: Learning and evaluating edge cues | |
CN103942803B (en) | SAR (Synthetic Aperture Radar) image based automatic water area detection method | |
CN110060248B (en) | Sonar image underwater pipeline detection method based on deep learning | |
CN102819740B (en) | A kind of Single Infrared Image Frame Dim targets detection and localization method | |
CN105261017A (en) | Method for extracting regions of interest of pedestrian by using image segmentation method on the basis of road restriction | |
CN103020975A (en) | Wharf and ship segmentation method combining multi-source remote sensing image characteristics | |
CN102306377A (en) | Method and device for reducing noise in ultrasound image | |
CN105182350A (en) | Multi-beam sonar target detection method by applying feature tracking | |
CN109738903A (en) | A kind of side scan sonar real-time two-dimensional imaging method and system | |
CN105809175A (en) | Encephaledema segmentation method and system based on support vector machine algorithm | |
CN101482969B (en) | SAR image speckle filtering method based on identical particle computation | |
CN105574529A (en) | Target detection method of side scan sonar | |
CN112164079B (en) | Sonar image segmentation method | |
Xue et al. | Rethinking automatic ship wake detection: state-of-the-art CNN-based wake detection via optical images | |
CN108875741A (en) | It is a kind of based on multiple dimensioned fuzzy acoustic picture texture characteristic extracting method | |
CN106296603B (en) | A kind of small target detecting method of underwater sonar image | |
CN105741284A (en) | Multi-beam forward-looking sonar target detection method | |
CN108388899B (en) | Underwater sound image feature extraction method based on fusion of texture features and shape features | |
CN105913425A (en) | Self-adaptive oval blocking and wavelet transformation-based multi-pig contour extraction method | |
Shih et al. | An adaptive bottom tracking algorithm for side-scan sonar seabed mapping | |
CN102592267B (en) | Medical ultrasonic image filtering method based on sparse representation | |
Rixon Fuchs et al. | Deep learning based technique for enhanced sonar imaging | |
CN108460773B (en) | Sonar image segmentation method based on offset field level set | |
Wang et al. | A fast hierarchical mrf sonar image segmentation algorithm | |
Wang et al. | A novel segmentation algorithm for side-scan sonar imagery with multi-object |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |