CN109712099A - Method is equalized based on the sonar image of SLIC and adaptive-filtering - Google Patents

Method is equalized based on the sonar image of SLIC and adaptive-filtering Download PDF

Info

Publication number
CN109712099A
CN109712099A CN201811474850.XA CN201811474850A CN109712099A CN 109712099 A CN109712099 A CN 109712099A CN 201811474850 A CN201811474850 A CN 201811474850A CN 109712099 A CN109712099 A CN 109712099A
Authority
CN
China
Prior art keywords
image
image block
sonar
value
slic
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
Application number
CN201811474850.XA
Other languages
Chinese (zh)
Other versions
CN109712099B (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.)
Shandong University
Original Assignee
Shandong 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 Shandong University filed Critical Shandong University
Priority to CN201811474850.XA priority Critical patent/CN109712099B/en
Publication of CN109712099A publication Critical patent/CN109712099A/en
Application granted granted Critical
Publication of CN109712099B publication Critical patent/CN109712099B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Measurement Of Velocity Or Position Using Acoustic Or Ultrasonic Waves (AREA)
  • Image Processing (AREA)

Abstract

The invention belongs to sonar images to enhance technical field, disclose and equalize method based on the sonar image of SLIC and adaptive-filtering, 1. filter out the speckle noise in sonar image;2. sonar image is divided into irregular image block using simple linear iterative clustering methods;Uniquely change 3. pair each image block carries out pixel value respectively, sorted pixels value, obtains pixel median;4. updating image block gray value, all image blocks are traversed according to step 3;5. sonar image is divided into for more than times the image block of different number, repeats step 3 and step 4 respectively;6. the equalization image of pair step 5 repeatedly obtained is averaged, final grayscale equalization image is obtained.The technical program has fully considered the grey similarity of neighbouring super pixels image block and the gray scale balance of each super-pixel image block, and grayscale equalization effect is good, has positive effect to sonar image classification accuracy rate is improved.

Description

Method is equalized based on the sonar image of SLIC and adaptive-filtering
Technical field
The present invention relates to sonar images to enhance technical field, more particularly to the sonar image based on SLIC and adaptive-filtering Equalization method.
Background technique
Sonar image classification be sub-sea floor targets identification important means, can be used for seafloor topography detection, submarine survey, The fields such as submarine pipeline tracking and state-detection.Currently, the unbalanced problem of gray scale in sonar image has seriously affected sonar figure As the effect of classification, so, solution sonar image gray scale is unbalanced to have a direct impact raising sonar image classification accuracy rate.
It is influenced by sea bottom complex environment, acoustic noise and towed body motion state, it is abnormal often to there is gray scale in sonar image Become.Existing sonar image grayscale equalization method is based primarily upon towed body motion state, these states are passed by the posture in towed body Sensor and height sensor provide.The method of sonar image rectification is paper Data of the Capus et al. in 2008 at present Correction for visualisation and classification of sidescan SONAR imagery intermediary The method to continue.It is influenced by ocean wave motion and sea bottom complex terrain, the towed body motion state that sensor provides is constantly in variation State, meanwhile, the sensitivity and accuracy of sensor itself have error, by these sensor data correction sonar images, Correction course can be made to have biggish calculation amount and calculate error.In the segmentation and classification of sonar image, unbalanced gray scale is to influence One main problem of sonar image segmentation accuracy.At present about in the research that sonar image is divided and classifies, gray scale is uneven Weighing apparatus problem is not considered separately, and people focus primarily on emphasis in the method for classification or segmentation, although can also obtain in this way compared with Good classification or segmentation effect, but algorithm design is more complex, process is also extremely time-consuming.
Simple linear iteration clusters (SLIC): Simple Linear Iterative Clustering.
Summary of the invention
It is an object of the invention in view of the above technical problems, obtain the sonar image of not tonal distortion, one kind is provided Method is equalized based on the sonar image of SLIC and adaptive-filtering, realizes the grayscale equalization of a variety of sonar images, is seabed Target acquisition and classification provide the sonar image of correction, super-pixel cluster are carried out to sonar image, based on adaptive-filtering to poly- The sonar image block that class divides is filtered, and by the way that above steps may be repeated multiple times, realizes the grayscale equalization of sonar image.Specifically Steps are as follows:
Step 1, the speckle noise in sonar image is filtered out;
Step 2, sonar image is divided into irregular image block using simple linear iterative clustering methods;
Step 3, it carries out pixel value respectively to each image block uniquely to change, sorted pixels value, obtains pixel median;
To image block P0And its all adjacent image block { P1,P2,K,Pk, uniquely change their pixel value, obtains pixel Race { A0,A1,A2,...,Ak, Ai(i=0,1 ..., k) indicate image block PiWhat the pixel value of (i=0,1 ..., k) was uniquely changed As a result, removal PiIn repetition pixel value;To AiPixel value in (i=0,1 ..., k) is arranged according to sequence from small to large Sequence;Take AiIntermediate value ai(i=0,1 ..., k).
Step 4, image block gray value is updated, traverses all image blocks according to step 3;
If method particularly includes: ai(i=1,2 ..., k) is equal to 0 or 255, then image block PiPicture in (i=1,2 ..., k) Plain value all resets to 0 or 255;If ai(i=1,2 ..., k) be not equal to 0, also be not equal to 255, and | ai-a0| (i=1,2 ..., K) it is less than given threshold, then uses Pi'=a0± rand (X) updates image block Pi(i=1,2 ..., gray value k), rand (X) it indicates to generate a number at random in [1, X] range, updated image block is Pi'。
Step 5, sonar image is repeatedly divided into the image block of different number, repeats step 3 and step 4 respectively;
Step 6, the equalization image of the step 5 repeatedly obtained is averaged, obtains final grayscale equalization image.
Further: X=5.
Further: image block number is 3000.
Further: the image block number in step 5 is 2500 and/or 2000 and/or 1500 and/or 1000.
The technical program is based on simple linear iterative clustering methods and sonar image is divided into irregular super-pixel image Block is filtered each super-pixel image block using adaptive filter method, has fully considered neighbouring super pixels image block Grey similarity and each super-pixel image block gray scale balance, pass through local equalization realize image entirety equilibrium Change, after realizing grayscale equalization, can be obtained by preferably using simple image partition method (such as k means clustering algorithm) Segmentation result;This method does not use the attitude data of sonar towed body mounted, avoids inherent data present in calculating process Error.The sonar image obtained using this method, can solve the unbalanced problem of gray scale in sonar image, grayscale equalization effect It is good, there is positive effect to sonar image classification accuracy rate is improved.
Detailed description of the invention
Fig. 1: sonar image;
Fig. 2: simple linear iteration clusters the cluster result to Fig. 1;
Fig. 3: Fig. 1 grayscale equalization result;
Segmentation result of Fig. 4: the k means clustering algorithm to Fig. 1;
Segmentation result of Fig. 5: the k means clustering algorithm to Fig. 3.
Wherein, the white grid lines in Fig. 2 is the boundary of each cluster block.
Specific embodiment
1-5 with reference to the accompanying drawings specifically describes embodiments of the present invention.
Step 1, median filtering is carried out to sonar image, the size of filter multiplies 3 for 3, and the purpose of this step is to filter out sound Speckle noise in image.Median filtering is the common method in image filtering.
Step 2, it (is proposed within Achanta 2012) using simple linear iterative clustering methods, sonar image is divided into not The image block of rule.The size of sonar image is 419 × 317, K in Fig. 1l=3000, KlIndicate the number for the image block that SLIC is divided Amount.Fig. 2 is SLIC cluster result, and the white grid lines in figure is the boundary of each cluster block.
Step 3- step 5, to each image block that SLIC is obtained, using adaptive-filtering, this step is pass of the invention Key step.Detailed process are as follows:
A. pixel value is carried out respectively to each image block and its adjacent image block uniquely to change.To image block P0And its institute There is adjacent image block { P1,P2,K,Pk, uniquely change their pixel value, obtains pixel race { A0,A1,A2,...,Ak, Ai(i=0, 1 ..., k) indicate image block PiThe result that the pixel value of (i=0,1 ..., k) is uniquely changed.If PiPixel value be 4,7,0,0, 0,1,2,3,3,4, }, the result A that pixel value is uniquely changediFor { 4,7,0,1,2,3 }.
B. to AiPixel value in (i=0,1 ..., k) is ranked up according to sequence from small to large.If AiFor 4,7,0, 1,2,3 }, the result of sequence is { 0,1,2,3,4,7 }.
C. after sorting, the intermediate value a of pixel value is foundi(i=0,1 ..., k).AiIntermediate value aiIt is 2.5.
The processing of a-c step can reduce the unbalanced influence to intermediate value of gray value.If image block is that grey value profile is equal Weighing apparatus, then the maximum value and minimum value and intermediate value difference of its gray value are little.And if image block grey value profile is unbalanced, The possible gap of maxima and minima is larger.When gray value number less than normal is more, intermediate value is biased to lesser gray value;Work as gray scale Be worth number bigger than normal it is more when, intermediate value can be biased to biggish gray value.Uniqueization processing in a step can reduce this deviation.
If d. ai(i=1,2 ..., k) is equal to 0 or 255, then image block PiPixel value in (i=1,2 ..., k) is all heavy It is set to 0 or 255.
If ai(i=1,2 ..., k) be not equal to 0, also be not equal to 255, and | ai-a0| (i=1,2 ..., k) it is less than setting Threshold value illustrates image block PiWith image block P0Gray value it is similar, according to formula (1) update image block Pi(i=1,2 ..., k) Gray value, rand (5) expression generate a number at random in [1,5] range.Updated image block is Pi'.After update, figure As block Pi' gray value and P0Approximation realizes P0Neighborhood gray value equalization.
Pi'=a0±rand(5) (1)
E. all image blocks are traversed according to step a-d.
Step 6, using smaller KlValue (such as Kl=2500, Kl=2000, Kl=1500, Kl=1000) step, is repeated 3- step 5, to different KlThe equalization image that value obtains is averaged, and obtains final grayscale equalization image.The gray scale of Fig. 1 is equal Weighing apparatusization result is as shown in Figure 3.
By grayscale equalization, the contrast of target (the white high bright part of Fig. 3) is become apparent from sonar image, in Fig. 1 The unbalanced problem of gray scale effectively solved;After grayscale equalization, sonar image can be achieved with using simple dividing method Effectively segmentation.It is (white that sonar image (Fig. 1 and Fig. 3) using simple k means clustering algorithm is divided into target area by Fig. 4 and Fig. 5 Color), background area (grey) and shadow region (black).As can be seen from the results, by grayscale equalization, segmentation effect is more preferable.
Embodiment only illustrates technical solution of the present invention, rather than carries out any restrictions to it;Although with reference to the foregoing embodiments Invention is explained in detail, for those of ordinary skill in the art, still can be to previous embodiment institute The technical solution of record is modified or equivalent replacement of some of the technical features;And these modifications or substitutions, and The essence of corresponding technical solution is not set to be detached from the spirit and scope of claimed technical solution of the invention.

Claims (7)

1. equalizing method based on the sonar image of SLIC and adaptive-filtering, which comprises the following steps:
Step 1, the speckle noise in sonar image is filtered out;
Step 2, sonar image is divided into irregular image block using simple linear iterative clustering methods;
Step 3, it carries out pixel value respectively to each image block uniquely to change, sorted pixels value, obtains pixel median;
Step 4, image block gray value is updated, traverses all image blocks according to step 3;
Step 5, sonar image is repeatedly divided into the image block of different number, repeats step 3 and step 4 respectively;
Step 6, the equalization image of the step 5 repeatedly obtained is averaged, obtains final grayscale equalization image.
2. according to claim 1 equalize method based on the sonar image of SLIC and adaptive-filtering, which is characterized in that Step 3 method particularly includes: to image block P0And its all adjacent image block { P1,P2,K,Pk, uniquely change their pixel Value, obtains pixel race { A0,A1,A2,...,Ak, Ai(i=0,1 ..., k) indicate image block PiThe pixel of (i=0,1 ..., k) It is that value is uniquely changed as a result, removal PiIn repetition pixel value;To AiPixel value in (i=0,1 ..., k) is according to from small to large Sequence is ranked up;Take AiIntermediate value ai(i=0,1 ..., k).
3. according to claim 2 equalize method based on the sonar image of SLIC and adaptive-filtering, which is characterized in that Step 4 method particularly includes: if ai(i=1,2 ..., k) is equal to 0 or 255, then image block PiPicture in (i=1,2 ..., k) Plain value all resets to 0 or 255;If ai(i=1,2 ..., k) be not equal to 0, also be not equal to 255, and | ai-a0| (i=1,2 ..., K) it is less than given threshold, then uses Pi'=a0± rand (X) updates image block Pi(i=1,2 ..., gray value k), rand (X) it indicates to generate a number at random in [1, X] range, updated image block is Pi'。
4. according to claim 1 to 3 equalize method based on the sonar image of SLIC and adaptive-filtering, special Sign is, step 5 method particularly includes: sonar image is divided into lesser amount of image block.
5. according to claim 3 equalize method based on the sonar image of SLIC and adaptive-filtering, it is characterised in that: X=5.
6. according to claim 1,2,3 or 5 it is any it is described method is equalized based on the sonar image of SLIC and adaptive-filtering, It is characterized by: image block number is 3000.
7. according to claim 6 equalize method based on the sonar image of SLIC and adaptive-filtering, it is characterised in that: Image block number in step 5 is 2500 and/or 2000 and/or 1500 and/or 1000.
CN201811474850.XA 2018-12-04 2018-12-04 Sonar image equalization method based on SLIC and adaptive filtering Active CN109712099B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811474850.XA CN109712099B (en) 2018-12-04 2018-12-04 Sonar image equalization method based on SLIC and adaptive filtering

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811474850.XA CN109712099B (en) 2018-12-04 2018-12-04 Sonar image equalization method based on SLIC and adaptive filtering

Publications (2)

Publication Number Publication Date
CN109712099A true CN109712099A (en) 2019-05-03
CN109712099B CN109712099B (en) 2022-12-27

Family

ID=66254028

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811474850.XA Active CN109712099B (en) 2018-12-04 2018-12-04 Sonar image equalization method based on SLIC and adaptive filtering

Country Status (1)

Country Link
CN (1) CN109712099B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110335219A (en) * 2019-07-17 2019-10-15 中国电子科技集团公司第十三研究所 A kind of bearing calibration, means for correcting and the terminal of pixel distortion

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1347621A (en) * 1999-12-14 2002-05-01 皇家菲利浦电子有限公司 Reducing 'blocking picture' effects
US20140147042A1 (en) * 2012-11-27 2014-05-29 Chenyang Ge Device for uniformly enhancing images
US20170046816A1 (en) * 2015-08-14 2017-02-16 Sharp Laboratories Of America, Inc. Super resolution image enhancement technique
US20180270479A1 (en) * 2017-03-16 2018-09-20 Mediatek Inc. Non-local adaptive loop filter processing
CN110706177A (en) * 2019-09-30 2020-01-17 北京大学 Method and system for equalizing gray level of side-scan sonar image
CN110852959A (en) * 2019-10-14 2020-02-28 江苏帝一集团有限公司 Sonar image filtering method based on novel median filtering algorithm

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1347621A (en) * 1999-12-14 2002-05-01 皇家菲利浦电子有限公司 Reducing 'blocking picture' effects
US20140147042A1 (en) * 2012-11-27 2014-05-29 Chenyang Ge Device for uniformly enhancing images
US20170046816A1 (en) * 2015-08-14 2017-02-16 Sharp Laboratories Of America, Inc. Super resolution image enhancement technique
US20180270479A1 (en) * 2017-03-16 2018-09-20 Mediatek Inc. Non-local adaptive loop filter processing
CN110706177A (en) * 2019-09-30 2020-01-17 北京大学 Method and system for equalizing gray level of side-scan sonar image
CN110852959A (en) * 2019-10-14 2020-02-28 江苏帝一集团有限公司 Sonar image filtering method based on novel median filtering algorithm

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110335219A (en) * 2019-07-17 2019-10-15 中国电子科技集团公司第十三研究所 A kind of bearing calibration, means for correcting and the terminal of pixel distortion
CN110335219B (en) * 2019-07-17 2021-09-28 中国电子科技集团公司第十三研究所 Correction method and correction device for pixel distortion and terminal

Also Published As

Publication number Publication date
CN109712099B (en) 2022-12-27

Similar Documents

Publication Publication Date Title
CN110503680B (en) Unsupervised convolutional neural network-based monocular scene depth estimation method
CN106355561B (en) Based on the prior-constrained full variation image de-noising method of noise
CN112861616B (en) Passive field self-adaptive target detection method
CN103020918A (en) Shape-adaptive neighborhood mean value based non-local mean value denoising method
CN106372598A (en) Image stabilizing method based on image characteristic detection for eliminating video rotation and jittering
CN109377450A (en) A kind of edge-protected denoising method
CN107506795A (en) A kind of local gray level histogram feature towards images match describes sub- method for building up and image matching method
CN110830043B (en) Image compressed sensing reconstruction method based on mixed weighted total variation and non-local low rank
CN104200434B (en) Non-local mean image denoising method based on noise variance estimation
CN110751680A (en) Image processing method with fast alignment algorithm
CN109903254A (en) Based on the improved bilateral filtering method of Poisson's kernel
CN115880572A (en) Forward-looking sonar target identification method based on asynchronous learning factor
CN102592290A (en) Method for detecting moving target region aiming at underwater microscopic video
CN116385281A (en) Remote sensing image denoising method based on real noise model and generated countermeasure network
CN109712099A (en) Method is equalized based on the sonar image of SLIC and adaptive-filtering
CN109461164A (en) A kind of infrared small target detection method based on direction nuclear reconstitution
CN104952071A (en) Maximum between-cluster variance image segmentation algorithm based on GLSC (gray-level spatial correlation)
CN117974655A (en) Asphalt road quality detection method based on computer vision
CN118229954A (en) Method for generating imperceptible countermeasure patches end to end
CN117078728A (en) Image registration method
CN111340741A (en) Particle swarm optimization gray level image enhancement method based on quaternion and L1 norm
Zhou et al. Single image dehazing based on weighted variational regularized model
CN113792746B (en) Yolo V3-based ground penetrating radar image target detection method
CN109785331B (en) Sonar image segmentation method based on self-adaptive pixel value constraint and MRF
CN100371944C (en) Greyscale image partition method based on light distribution character of reflection or penetrance

Legal Events

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