CN106296603B - 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 PDF

Info

Publication number
CN106296603B
CN106296603B CN201610629838.6A CN201610629838A CN106296603B CN 106296603 B CN106296603 B CN 106296603B CN 201610629838 A CN201610629838 A CN 201610629838A CN 106296603 B CN106296603 B CN 106296603B
Authority
CN
China
Prior art keywords
pobw
region
connected region
indicate
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.)
Active
Application number
CN201610629838.6A
Other languages
Chinese (zh)
Other versions
CN106296603A (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.)
Harbin Engineering University
Original Assignee
Harbin Engineering 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 Harbin Engineering University filed Critical Harbin Engineering University
Priority to CN201610629838.6A priority Critical patent/CN106296603B/en
Publication of CN106296603A publication Critical patent/CN106296603A/en
Application granted granted Critical
Publication of CN106296603B publication Critical patent/CN106296603B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/70Denoising; Smoothing
    • 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/20036Morphological 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 fields, and in particular to a kind of small target detecting method of underwater sonar image.The present invention includes: initialization: enabling binarization threshold th=0.8, shade direction is θ degree, enables I0=I;Enable SE1Indicate target template, SE1It is to enable SE having a size of the square templates of 3 × 3 pixels0Indicate background template, SE0It is the fringe region of the square templates having a size of 25 × 25 pixels.Target detection template proposed by the invention is simple;It is fast to detect speed;Noise resisting ability is strong;Without training data.

Description

A kind of small target detecting method of underwater sonar image
Technical field
The invention belongs to object detection fields, and in particular to a kind of small target detecting method of underwater sonar image.
Background technique
Underwater sonar system should also have efficient Target detection and identification energy in addition to needing competent extreme operating environments Power can be differentiated accurately and sink to the bottom Small object and water Small Target.However, being due to sonar system received echo at a certain moment The vector sum of underwater each reflected acoustic wave, the echo amplitude of system record are in wobble variation, generate spot accordingly when forming sound spectrogram Noise influences the explanation to sound spectrogram.Although side-scan sonar can provide high resolution graphics as imaging sonar technology reaches its maturity Picture, but compared with optical imagery, side-scanning sonar image still have between poor image quality, target and background contrast low etc. Problem.Especially for underwater small target deteection problem, due to the influence of interchannel noise and shot noise, so that existing target Detection technique is extremely difficult to satisfied result.
Small object is detected from underwater sonar data using image processing techniques and mode identification technology from last century 90 years Rapid progress has been achieved since generation.These methods can be generally divided into two classes: have 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 property of training data.Such methods mainly include K- close Adjacent neural network, best identification filtered classification device, Bayes classifier, principal component analysis etc..On the other hand, unsupervised approaches without Special training data is needed, it is data-optimized not for special training suitable for the input data of suitable wide scope.Such method Including technologies such as Markov random field, statistics snake model, Morphological scale-spaces.In addition, in order to further increase algorithm performance, There is scholar to blend a variety of different detection/recognition technologies, the integration technology mainly used includes: by the inspection of various algorithms Survey/recognition result is merged using logic fusion (such as boolean with or operation), log-likelihood ratio testing algorithm, linear weighted function.
The present invention utilizes the morphological transformation with stronger anti-noise ability --- and occupation rate hits-miss transformation (Percentage Occupancy Hit-or-Miss Transform, POHMT) realizes that sound is swept in a kind of fast and accurately side Receive image small target deteection algorithm.
Summary of the invention
The purpose of the present invention is to provide one kind to hit-miss transformation (Percentage based on occupation rate Occupancy Hit-or-Miss Transform, POHMT) underwater sonar image small target detecting method.
The object of the present invention is achieved like this:
(1) it initializes: enabling binarization threshold th=0.8, shade direction is θ degree, enables I0=I, wherein I is H × W pixel Input sonar image matrix;
(2) SE is enabled1Indicate target template, SE1It is to enable SE having a size of the square templates of 3 × 3 pixels0Indicate background mould Plate, SE0It is the fringe region of the square templates having a size of 25 × 25 pixels;
(3) image I is calculated0Luminance mean value, use m0It indicates, enables 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 are calculated separately
PoFore (t)=conv (Bt,SE1)/9
PoBack (t)=conv (1-Bt,SE0)/96
Wherein, t=m0... 255, conv () indicate convolution algorithm, for fixed t value, poFore (t) and poBack It (t) is H × W matrix;
(5) image I is calculated0Occupation rate hit-miss transformation poHMT
Wherein, min { } is minimum value function, and min { poFore (t), poBack (t) } indicates the t fixed for one Value takes among preceding poFore (t) and poBack (t) the two lesser one;Max { } is max function;PoHMT is H × W Matrix;
(6) poHMT of step (5) is done into binary conversion treatment
Wherein, h=1 ... H, w=1 ... W, poHMT (h, w) indicate value of the two-dimensional matrix poHMT at (h, w), poBW For two values matrix, poBW (h, w) indicates value of the poBW at (h, w);
(7) the tiny noise spot in morphological dilations, erosion operation removal poBW is utilized;
(8) poBW is enabled1It indicates the poBW after denoising, marks poBW using 8- join domain labeling method1In connected region Domain records position, the length and width of the boundary rectangle of each connected region respectively;
(9) I is enabled0=255-I is executed step (3)~step (7), and is used poBW0It indicates the poBW after denoising, utilizes 8- Join domain labeling method label label poBW0In connected region, record respectively the boundary rectangle frame of each connection position, Length and width;
(10) with poBW1In a connected region R1Boundary rectangle be foundation, determine region of search;This is searched for Area maps are to poBW0Corresponding region, and indicate poBW with RS0In this region of search;
(11) in poBW0The region RS in scan for, if it is possible to find a connected region R0, then by poBW1In Connected region R1Labeled as target, while deleting region R0;Otherwise, if in poBW0RS in be not present connected region, then will Connected region R in poBW11Labeled as non-targeted.
(12) step (10)~step (11) are repeated, checks poBW1In next connected region, until traversal poBW1's All connected regions.
The beneficial effects of the present invention are: 1) the target detection template proposed is simple;2) detection speed is fast;3) antinoise Ability is strong;4) it is not necessarily to training data.
Detailed description of the invention
Fig. 1 is target and its shade schematic diagram in side-scanning sonar image;
Fig. 2 is target template schematic diagram;
Fig. 3 is background template schematic diagram;
Fig. 4 is region of search schematic diagram.
Specific embodiment
The present invention is described further with reference to the accompanying drawing.
The present invention propose one the technical solution adopted is that: 1) initialize: setting detection threshold value, determine target and background template Size, setting shade direction;2) POHMT operation is carried out to former sonar image, and operation result is done into binary conversion treatment, obtain mesh Mark bianry image;3) inverse processing is done to former sonar image;4) POHMT operation is done to the sonar image after inverse, and will fortune It calculates result and does binary conversion treatment, obtain shade bianry image;5) target bianry image, shade bianry image and shade side are utilized To marking Small object.
If I is input sonar image matrix, having a size of H × W pixel, I (h, w) indicates the brightness of image at the position (h, w), Wherein h=1,2 ..., H, w=1,2 ..., W;It and include multiple high luminance targets regions in image I, each target all has Corresponding low-light level shadow region, as shown in Figure 1.
The specific implementation steps are as follows for object detection method proposed by the invention:
Step 1, it initializes: enabling binarization threshold th=0.8, shade direction is θ degree, enables I0=I.
Step 2, SE is enabled1Indicate target template, here SE1It is the square templates having a size of 3 × 3 pixels, as shown in Figure 2; Enable SE0Indicate background template, here SE0It is the fringe region of the square templates having a size of 25 × 25 pixels, as shown in figure 3, figure In 3, the size of gray area is 23 × 23 pixels, and pixel value 0, the pixel value of edge white area is 1.
Step 3, image I is calculated0Luminance mean value, use m0It indicates;Enable t=m0... 255, for each t, according to formula (1) bianry image B is calculatedt:
Wherein, h=1 ... H, w=1 ... W.
Step 4, foreground template matching rate poFore is calculated using formula (2), calculates background template using formula (3) and matches Rate poBack:
PoFore (t)=conv (Bt,SE1)/9 (2)
PoBack (t)=conv (1-Bt,SE0)/96 (3)
Wherein, t=m0... 255, conv () indicate convolution algorithm, for fixed t value, poFore (t) and poBack It (t) is H × W matrix.
Step 5 ,-miss transformation poHMT is hit using the occupation rate that formula (4) calculate image:
Wherein, min { } is minimum value function, and min { poFore (t), poBack (t) } indicates the t fixed for one Value takes among poFore (t) and poBack (t) the two lesser one;Max { } is max function;PoHMT is H × W square Battle array.
Step 6, the poHMT of step 5 is done into binary conversion treatment using formula (5)
Wherein, h=1 ... H, w=1 ... W, poHMT (h, w) indicate value of the two-dimensional matrix poHMT at (h, w), poBW For two values matrix, poBW (h, w) indicates value of the poBW at (h, w),
Step 7, the tiny noise spot in morphological dilations, erosion operation removal poBW is utilized.
Step 8, poBW is enabled1It indicates the poBW after denoising, marks poBW using 8- join domain labeling method1In company Logical region, records position, the length and width of the boundary rectangle of each connected region respectively.
Step 9, I is enabled0=255-I executes step 3~step 7, and uses poBW0It indicates the poBW after denoising, utilizes 8- Join domain labeling method label label poBW0In connected region, record the position of the boundary rectangle frame of each connected region respectively It sets, length and width.
Step 10, with poBW1In a connected region R1Boundary rectangle be foundation, region of search is determined, 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 Region is answered, and indicates poBW with RS0In this region of search.
Step 11, in poBW0The region RS in scan for, if it is possible to find a connected region (assuming that using R0It indicates This connected region), then by poBW1In connected region R1Labeled as target, while deleting region R0;Otherwise, if poBW0RS in be not present connected region, then by the connected region R in poBW11Labeled as non-targeted.
Step 12, step 10~step 11 is repeated, checks poBW1In next connected region, until traversal poBW1's All connected regions.

Claims (1)

1. a kind of small target detecting method of underwater sonar image, which comprises the steps of:
(1) it initializes: enabling binarization threshold th=0.8, shade direction is θ degree, enables I0=I, wherein I is the input of H × W pixel Sonar image matrix;
(2) SE is enabled1Indicate target template, SE1It is the square templates having a size of 3 × 3 pixels;Enable SE0Indicate background template, SE0 It is the fringe region of the square templates having a size of 25 × 25 pixels;
(3) image I is calculated0Luminance mean value, use m0It indicates;Enable 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 are calculated separately:
PoFore (t)=conv (Bt,SE1)/9
PoBack (t)=conv (1-Bt,SE0)/96
Wherein, t=m0... 255, conv () indicate convolution algorithm;
(5) image I is calculated0Occupation rate hit-miss transformation poHMT:
Wherein, min { } is minimum value function, and max { } is max function;
(6) poHMT of step (5) is done into binary conversion treatment:
Wherein, h=1 ... H, w=1 ... W, poHMT (h, w) indicate value of the two-dimensional matrix poHMT at (h, w), poBW (h, w) Indicate value of the poBW at (h, w);
(7) the tiny noise spot in morphological dilations, erosion operation removal poBW is utilized;
(8) poBW is enabled1It indicates the poBW after denoising, marks poBW using 8- join domain labeling method1In connected region, Position, the length and width of the boundary rectangle of each connected region are recorded respectively;
(9) I is enabled0=255-I is executed step (3)~step (7), and is used poBW0It indicates the poBW after denoising, is connected using 8- Zone marker method marks poBW0In connected region, record position, the length and width of the boundary rectangle of each connected region respectively;
(10) with poBW1In a connected region R1Boundary rectangle be foundation, determine region of search;By this region of search It is mapped to poBW0Corresponding region, and indicate poBW with RS0In this region of search;
(11) in poBW0The region RS in scan for, if it is possible to find a connected region R0, then by poBW1In connection Region R1Labeled as target, while deleting region R0;Otherwise, if in poBW0RS in be not present connected region, then by poBW1 In connected region R1Labeled as non-targeted;
(12) step (10)~step (11) are repeated, checks poBW1In next connected region, until traversal poBW1It is all Connected region.
CN201610629838.6A 2016-08-03 2016-08-03 A kind of small target detecting method of underwater sonar image Active CN106296603B (en)

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 CN106296603A (en) 2017-01-04
CN106296603B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
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
CN110782480B (en) * 2019-10-15 2023-08-04 哈尔滨工程大学 Infrared pedestrian tracking method based on online template prediction

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101551851A (en) * 2008-03-31 2009-10-07 中国科学院沈阳自动化研究所 Infrared image target recognition 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

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101551851A (en) * 2008-03-31 2009-10-07 中国科学院沈阳自动化研究所 Infrared image target recognition 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

Also Published As

Publication number Publication date
CN106296603A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
CN113592845A (en) Defect detection method and device for battery coating and storage medium
CN108444447B (en) Real-time autonomous detection method for fishing net in underwater obstacle avoidance system
CN105182350B (en) A kind of multibeam sonar object detection method of application signature tracking
CN111681197A (en) Remote sensing image unsupervised change detection method based on Siamese network structure
CN105069807A (en) Punched workpiece defect detection method based on image processing
CN103020975A (en) Wharf and ship segmentation method combining multi-source remote sensing image characteristics
KR101891410B1 (en) Apparatus for classifying target of inverse synthetic aperture radar image using trace transform and method thereof
CN109636758A (en) A kind of floating on water object detecting method based on space-time dynamic operator
CN105427342A (en) Method and system for detecting and tracking underwater small-target sonar image target
CN101482969A (en) SAR image speckle filtering method based on identical particle computation
CN105913425B (en) A kind of more pig contour extraction methods based on adaptive oval piecemeal and wavelet transformation
CN108388899B (en) Underwater sound image feature extraction method based on fusion of texture features and shape features
CN106296603B (en) A kind of small target detecting method of underwater sonar image
Xue et al. Rethinking automatic ship wake detection: state-of-the-art CNN-based wake detection via optical images
CN105741284A (en) Multi-beam forward-looking sonar target detection method
Liu et al. A multi-scale feature pyramid SAR ship detection network with robust background interference
Zou et al. Fish tracking based on feature fusion and scale adaptation in a real-world underwater environment
CN112164079A (en) Sonar image segmentation method
CN108460773B (en) Sonar image segmentation method based on offset field level set
CN111178111A (en) Two-dimensional code detection method, electronic device, storage medium and system
CN102592267A (en) Medical ultrasonic image filtering method based on sparse representation
Wang et al. A fast hierarchical mrf sonar image segmentation algorithm
Luo et al. 2-D maximum entropy spermatozoa image segmentation based on Canny operator
Jebelli et al. Efficient robot vision system for underwater object tracking
Bartoli et al. Unsupervised scene adaptation for faster multi-scale pedestrian detection

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