CN105372663A - Resampling method facing images of sidescan sonar - Google Patents
Resampling method facing images of sidescan sonar Download PDFInfo
- Publication number
- CN105372663A CN105372663A CN201510860195.1A CN201510860195A CN105372663A CN 105372663 A CN105372663 A CN 105372663A CN 201510860195 A CN201510860195 A CN 201510860195A CN 105372663 A CN105372663 A CN 105372663A
- Authority
- CN
- China
- Prior art keywords
- resampling
- pixel
- max
- scanning sonar
- file
- 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
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S15/00—Systems using the reflection or reradiation of acoustic waves, e.g. sonar systems
- G01S15/88—Sonar systems specially adapted for specific applications
- G01S15/89—Sonar systems specially adapted for specific applications for mapping or imaging
- G01S15/8902—Side-looking sonar
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S7/00—Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
- G01S7/52—Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S15/00
Landscapes
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- General Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Measurement Of Velocity Or Position Using Acoustic Or Ultrasonic Waves (AREA)
Abstract
The present invention relates to a resampling method facing images of a sidescan sonar. The resampling method is configured to refer to geospatial coordinates and establish the calculation relation of pixels in resampling images and data of the sidescan sonar through analysis of the space geometry relation between scanning lines of the sidescan sonar and the resampling points to realize the geocoding of data of the sidescan sonar through indirect resampling and eliminate various gaps, of the data of the sidescan sonar, generated in the geocoding process, so that a way is provided for the acquisition of clear and continuous undersea images; and moreover, in a concrete realization mechanism, the resampling method is able to support reading in batches, local processing and vector calculation so as to facilitate simplifying the indirect resampling of the data of the sidescan sonar to a linear operation, therefore the treatment efficiency of the geocoding of the data of the sidescan sonar is improved.
Description
Technical field
The present invention relates to a kind of side-scanning sonar image Geocoding, be specifically related to a kind of method for resampling towards side-scanning sonar image.
Background technology
Side-scan sonar is the equipment using echo depth sounding principle detection sea-bed topography and immersed body, it utilizes transducer to water-bed Firing Sonar, received formation sonar video by towfish after reflection and find immersed body, the display processing unit that the signal received is passed on deck by towing cable carries out subsequent treatment, it can provide the acoustic imaging of seabed form intuitively, because it has the advantages such as high precision, high resolving power and cost are lower, be widely used in the fields such as marine charting, submarine geology exploration, oceanographic engineering.Original side-scanning sonar image is by the tactic sequence image of sweep trace, does not possess the geographic orientation of globality, therefore needs to carry out geocoding to it so that further analysis and application.Resampling is the important step in the geocoding process of side-scan sonar data, and it utilizes the geometric relationship between side-scan sonar sweep trace and towfish flight path, realizes primary side sweep sonar data to geocoding target image pixel-map by a series of computing.Because side-scan sonar is when carrying out data acquisition, towfish is because being subject to the impacts such as ocean current, tide and hull turning, it is abstract that its ship trajectory is difficult to use accurate function, and then cause resampling to become an extremely complicated nonlinear computation process, directly cannot utilize the method for resampling in satellite remote sensing field.At present, the geocoding that offside sweeps sonar data adopts the mode of direct resampling usually, namely from side-scan sonar data, utilize the geometric relationship between towfish flight path and sonar sweep trace, sweep trace is directly projected in geocoding target image, and then generation sweeps image with the side of geospatial reference.After carrying out resampling based on this mode; usually can there is gap in geocoding target image, namely adjacent scanning lines is after projection is resolved, and can produce white space therebetween; affect the display effect of the actual image in seabed, this causes due to ship's speed inequality or hull going direction changing.About the elimination in gap, usually have two kinds of solutions, one is weaken gap by the resolution of reduction resampling image, but this method cannot process the larger situation in gap, easily causes the loss of encoded images readability simultaneously; Another kind eliminates gap by filtering process, but this method needs to carry out repeatedly filtering operation according to image effect to view picture image, and calculated amount is comparatively large, and needs manual intervention, and processing procedure efficiency is lower.
Summary of the invention
Technical matters to be solved by this invention provides a kind of method for resampling towards side-scanning sonar image for above-mentioned prior art deficiency, this method for resampling can generate the side-scan sonar geocoding image with high spatial resolution, and has higher treatment effeciency.
The present invention solves the problems of the technologies described above adopted technical scheme: a kind of method for resampling towards side-scanning sonar image, is characterized in that: comprise the steps:
Step one: the File header information of resolving side-scanning sonar image file, obtains at least following two property parameters in side-scanning sonar image file: oblique distance range R and passage image width ppc;
Step 2: the scan-line data in order reading side-scanning sonar image file and the towfish elevation information of correspondence, receiving time information and sequence number of scanning lines, utilize oblique distance calibration model to carry out oblique distance correction process to the scan-line data obtained, and result is stored to oblique distance correction file;
Step 3: order reads the track line file corresponding with side-scanning sonar image file, extract the track points coordinate sequence of towfish, time of reception sequence and Case Number sequence, utilize side-scan sonar towfish flight path processing method, simulate the ship trajectory of towfish reality, and calculate the towfish geographic coordinate residing when receiving every bar scan-line data;
Step 4: on the basis of step 2 and step 3, utilize side-scanning sonar image geo-coding techniques, resolve the geographic coordinate of each sweep trace end points, the each sweep trace end points geographic coordinate calculated is stored to sweep trace extreme coordinates temporary file, calculate the minimum enclosed rectangle of this side-scanning sonar image file institute covering space simultaneously, record space four to the scope that this side-scanning sonar image file covers;
Step 5: the resampling resolution of space four to the scope covered according to the side-scanning sonar image file calculated in step 4 and needs creates the resampling image of side-scanning sonar image file, and each pixel value in resampling image is initialized as zero;
Step 6: sequentially read scan-line data corresponding in the oblique distance correction file created by step 2, get adjacent two scan-line datas, in the sweep trace extreme coordinates temporary file simultaneously created in step 4, order reads the sweep trace extreme coordinates corresponding with these two sweep traces, build the minimum enclosed rectangle comprising these two sweep traces, then this minimum enclosed rectangle pixel coordinate corresponding in resampling image is calculated according to this rectangle upper left angle point and the geographic coordinate of bottom right angle point and the resampling resolution of needs, obtain the image block of current pending re-sampling operations by this,
Step 7: conjugate points is carried out to each pixel obtaining image block in step 6 and resolves, and according to the pixel value of bilinear interpolation determination conjugate points;
Step 8: return step 6, until recording processing all in sweep trace extreme coordinates temporary file is complete.
As improvement, in described step 2, the detailed process utilizing the scan-line data of oblique distance calibration model to acquisition to carry out oblique distance correction process is:
First, after oblique distance being corrected, on side-scanning sonar image, the pixel value of all pixels is initialized as zero;
Then, find out oblique distance and correct the conjugate points of some pixels on side-scanning sonar image file on rear side-scanning sonar image, note P
p(x
p, y
p) be certain pixel after oblique distance corrects on side-scanning sonar image, the sweep trace of its correspondence is L, and when receiving this sweep trace, the resolution of corresponding towfish height to be towfishAlt, sidescanRes be original side-scanning sonar image file, utilizes formula 1 to calculate P
pconjugate points Ps (xs, ys) on side-scanning sonar image file;
formula 1
Finally, the pixel P after the pixel value assignment of conjugate points Ps (xs, ys) in side-scanning sonar image file being corrected to oblique distance on side-scanning sonar image
p(x
p, y
p).
Improve, in described step 4, the end points geographic coordinate of note sweep trace L1 ~ Ln is respectively P again
s1(x
s1, y
s1), P
e1(x
e1, y
e1), P
s2(x
s2, y
s2), P
e2(x
e2, y
e2) ... P
sn(x
sn, y
sn), P
en(x
en, y
en), if x
min=min{x
s1, x
e1, x
s2, x
e2x
sn, x
en, x
max=max{x
s1, x
e1, x
s2, x
e2x
sn, x
en, y
min=min{y
s1, y
e1, y
s2, y
e2y
sn, y
en, y
max=max{y
s1, y
e1, y
s2, y
e2y
sn, y
en, then four angular coordinates of the minimum enclosed rectangle of side-scanning sonar image file institute covering space are respectively P
tl(x
min, y
max), P
tr(x
max, y
max), P
bl(x
min, y
min), P
br(x
max, y
min), in described step 5, if resResolution is the resolution of the resampling image needed, with P
tl, P
tr, P
bl, P
brbe four to border, create the resampling image of side-scanning sonar image file, and the pixel value of each pixel in resampling image is set to zero.
Improve again, in described step 6, if to get adjacent sweep trace be L1, L2, remember that the line number in its place oblique distance correction file is respectively Row1, Row2, the sweep trace end points geographic coordinate of its correspondence is P
s1(x
s1, y
s1), P
e1(x
e1, y
e1), P
s2(x
s2, y
s2) and P
e2(x
e2, y
e2), if slx
min=min{x
s1, x
e1, x
s2, x
e2, slx
max=max{x
s1, x
e1, x
s2, x
e2, sly
min=min{y
s1, y
e1, y
s2, y
e2, sly
max=max{y
s1, y
e1, y
s2, y
e2, then the geographic coordinate comprising minimum enclosed rectangle four angle points of L1, L2 sweep trace is respectively slP
tl(slx
min, sly
max), slP
tr(slx
max, sly
max), slP
bl(slx
min, sly
min), slP
br(slx
max, sly
min), the pixel coordinate P of height H eight, width W idth that this boundary rectangle is corresponding in resampling image and upper left angle point thereof
rs(x
start, y
start) calculate acquisition by formula 2;
Improve again, in described step 7, with P
s1(x
s1, y
s1), P
e1(x
e1, y
e1), P
s2(x
s2, y
s2) and P
e2(x
e2, y
e2) be angle point, build convex quadrangle P
s1p
e1p
e2p
s2, the concrete steps that conjugate points resolves are carried out one by one to the pixel in image block as follows: when any pixel in image block, remember that its pixel coordinate in image block is P
d(
xd,
yd), first utilize formula 3 by P
dpoint pixel coordinate transfers corresponding geographic coordinate P to
dg(x
dg, y
dg), utilize phasor difference area method to judge the spatial relation of this pixel and convex quadrangle, as P
dg(x
dg, y
dg) not in convex quadrangle or on four edges line, then continue next pixel of process, otherwise this pixel P is obtained in calculating
dgwith the bee-line of scan lines L1, L2, if P
dgbe D1 with the bee-line of L1, calculating the intersection point obtaining D1 place straight line and L1 is P
cg1(x
cg1, y
cg1), if P
dgbe D2 with the bee-line of L2, calculating the intersection point obtaining D2 place straight line and L2 is P
cg2(x
cg2, y
cg2), utilize formula 4 to calculate pixel P
dfour neighborhood pixel coordinate P of conjugate points in oblique distance correction file
nc1(x
nc1, Row1), P
nc2(x
nc2, Row1), P
nc3(x
nc3, Row2) and P
nc4(x
nc4, Row2), finally utilize bilinear interpolation method to determine pixel P
dpixel value.(note: the weight in bilinearity difference process on y direction is determined by D1, D2);
Compared with prior art, the invention has the advantages that: take geospatial coordinates as reference, by analyzing the space geometry relation between side-scan sonar sweep trace and resample points, that sets up pixel in resampling image and side-scan sonar data resolves relation, the geocoding of side-scan sonar data can be realized by indirect resampling, and effectively can eliminate all kinds of gaps that side-scan sonar data produce in geocoding process, supply approach for obtaining clear continuous print seabed image; Simultaneously the method is in concrete realization mechanism, can support to read, Local treatment and Vector operation in batches, contributes to the indirect resampling of side-scan sonar data to be reduced to linear operation, and then improves the treatment effeciency of side-scan sonar data geographic coding.
Accompanying drawing explanation
Fig. 1 is the process flow diagram towards the rate method for resampling of side-scanning sonar image in the embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing embodiment, the present invention is described in further detail.
Towards a method for resampling for side-scanning sonar image, it is characterized in that: comprise the steps:
Step one: the File header information of resolving side-scanning sonar image file, obtains at least following two property parameters in side-scanning sonar image file: oblique distance range R and passage image width ppc;
Step 2: the scan-line data in order reading side-scanning sonar image file and the towfish elevation information of correspondence, receiving time information and sequence number of scanning lines, utilize oblique distance calibration model to carry out oblique distance correction process to the scan-line data obtained, and result is stored to oblique distance correction file;
In this step, the detailed process utilizing the scan-line data of oblique distance calibration model to acquisition to carry out oblique distance correction process is:
First, after oblique distance being corrected, on side-scanning sonar image, the pixel value of all pixels is initialized as zero;
Then, find out oblique distance and correct the conjugate points of some pixels on side-scanning sonar image file on rear side-scanning sonar image, note P
p(x
p, y
p) be certain pixel after oblique distance corrects on side-scanning sonar image, the sweep trace of its correspondence is L, and when receiving this sweep trace, the resolution of corresponding towfish height to be towfishAlt, sidescanRes be original side-scanning sonar image file, utilizes formula 1 to calculate P
pconjugate points Ps (xs, ys) on side-scanning sonar image file,
formula 1
Finally, the pixel P after the pixel value assignment of conjugate points Ps (xs, ys) in side-scanning sonar image file being corrected to oblique distance on side-scanning sonar image
p(x
p, y
p)
Step 3: order reads the track line file corresponding with side-scanning sonar image file, extract the track points coordinate sequence of towfish, time of reception sequence and Case Number sequence, utilize side-scan sonar towfish flight path processing method, simulate the ship trajectory of towfish reality, and calculate the towfish geographic coordinate residing when receiving every bar scan-line data;
Step 4: on the basis of step 2 and step 3, utilize side-scanning sonar image geo-coding techniques, resolve the geographic coordinate of each sweep trace end points, the each sweep trace end points geographic coordinate calculated is stored to sweep trace extreme coordinates temporary file, calculate the minimum enclosed rectangle of this side-scanning sonar image file institute covering space simultaneously, record space four to the scope that this side-scanning sonar image file covers;
The end points geographic coordinate of note sweep trace L1 ~ Ln is respectively P
s1(x
s1, y
s1), P
e1(x
e1, y
e1), P
s2(x
s2, y
s2), P
e2(x
e2, y
e2) ... P
sn(x
sn, y
sn), P
en(x
en, y
en), if x
min=min{x
s1, x
e1, x
s2, x
e2x
sn, x
en, x
max=max{x
s1, x
e1, x
s2, x
e2x
sn, x
en, y
min=min{y
s1, y
e1, y
s2, y
e2y
sn, y
en, y
max=max{y
s1, y
e1, y
s2, y
e2y
sn, y
en, then four angular coordinates of the minimum enclosed rectangle of side-scanning sonar image file institute covering space are respectively P
tl(x
min, y
max), P
tr(x
max, y
max), P
bl(x
min, y
min), P
br(x
max, y
min);
Step 5: the resampling resolution of space four to the scope covered according to the side-scanning sonar image file calculated in step 4 and needs creates the resampling image of side-scanning sonar image file, and each pixel value in resampling image is initialized as zero;
Step 6: sequentially read scan-line data corresponding in the oblique distance correction file created by step 2, get adjacent two scan-line datas, in the sweep trace extreme coordinates temporary file simultaneously created in step 4, order reads the sweep trace extreme coordinates corresponding with these two sweep traces, build the minimum enclosed rectangle comprising these two sweep traces, then this minimum enclosed rectangle pixel coordinate corresponding in resampling image is calculated according to this rectangle upper left angle point and the geographic coordinate of bottom right angle point and the resampling resolution of needs, obtain the image block of current pending re-sampling operations by this, concrete account form is:
If to get adjacent sweep trace be L1, L2, remember that the line number in its place oblique distance correction file is respectively Row1, Row2, the sweep trace end points geographic coordinate of its correspondence is P
s1(x
s1, y
s1), P
e1(x
e1, y
e1), P
s2(x
s2, y
s2) and P
e2(x
e2, y
e2), if slx
min=min{x
s1, x
e1, x
s2, x
e2, slx
max=max{x
s1, x
e1, x
s2, x
e2, sly
min=min{y
s1, y
e1, y
s2, y
e2, sly
max=max{y
s1, y
e1, y
s2, y
e2, then the geographic coordinate comprising minimum enclosed rectangle four angle points of L1, L2 sweep trace is respectively slP
tl(slx
min, sly
max), slP
tr(slx
max, sly
max), slP
bl(slx
min, sly
min), slP
br(slx
max, sly
min), the pixel coordinate P of height H eight, width W idth that this boundary rectangle is corresponding in resampling image and upper left angle point thereof
rs(x
start, y
start) calculate acquisition by formula 2;
Comprise height H eight, the width W idth of minimum enclosed rectangle corresponding in resampling image and the pixel coordinate P of upper left angle point thereof of L1, L2 sweep trace
rs(x
start, y
start) know after, this minimum enclosed rectangle comprising L1, L2 sweep trace is the image block of current pending re-sampling operations;
Step 7: conjugate points is carried out to each pixel obtaining image block in step 6 and resolves, and according to the pixel value of bilinear interpolation determination conjugate points, concrete account form is:
With P
s1(x
s1, y
s1), P
e1(x
e1, y
e1), P
s2(x
s2, y
s2) and P
e2(x
e2, y
e2) be angle point, build convex quadrangle P
s1p
e1p
e2p
s2, the concrete steps that conjugate points resolves are carried out one by one to the pixel in image block as follows: when any pixel in image block, remember that its pixel coordinate in image block is P
d(
xd,
yd), first utilize formula 3 by P
dpoint pixel coordinate transfers corresponding geographic coordinate P to
dg(x
dg, y
dg), utilize phasor difference area method to judge the spatial relation of this pixel and convex quadrangle, as P
dg(x
dg, y
dg) not in convex quadrangle or on four edges line, then continue next pixel of process, otherwise this pixel P is obtained in calculating
dgwith the bee-line of scan lines L1, L2, if P
dgbe D1 with the bee-line of L1, calculating the intersection point obtaining D1 place straight line and L1 is P
cg1(x
cg1, y
cg1), if P
dgbe D2 with the bee-line of L2, calculating the intersection point obtaining D2 place straight line and L2 is P
cg2(x
cg2, y
cg2), utilize formula 4 to calculate pixel P
dfour neighborhood pixel coordinate P of conjugate points in oblique distance correction file
nc1(x
nc1, Row1), P
nc2(x
nc2, Row1), P
nc3(x
nc3, Row2) and P
nc4(x
nc4, Row2), finally according to the pixel value of four neighborhood pixel coordinate place pixels of conjugate points, utilize bilinear interpolation method to determine pixel P
dpixel value, the weight in bilinearity difference process on y direction is determined by D1, D2.
Step 8: return step 6, until recording processing all in sweep trace extreme coordinates temporary file is complete.
Below with the side-scan sonar data instance in Hangzhou Wan marine site, above-described embodiment is remarked additionally, the acquisition time of side-scan sonar data is in April, 2008, storage format is XTFRev.18, file is called 200804P1.xtf, towards the method for resampling of side-scanning sonar image in the present embodiment, comprise the steps:
Step one: the File header information of resolving side-scanning sonar image file, reads the basic parameter information of side-scan sonar data, and the oblique distance range R obtaining side-scan sonar is 100m, passage image width ppc is 1024 pixels;
Step 2: order reads the scan-line data in side-scanning sonar image file, scan-line data also claims Ping data, resolve the height t owfishHeight in towfish distance seabed when the scanning sequence number corresponding to every bar sweep trace, time of reception and every bar sweep trace are received, then oblique distance calibration model and formula 1 is utilized to carry out oblique distance correction process to the scan-line data obtained, and correction result is write in temporary file Cor200804P1.dat, this temporary file Cor200804P1.dat is oblique distance correction file;
Step 3: read the track line file CS200804P1.txt corresponding with side-scan sonar data, parse the track points coordinate sequence of towfish, time of reception sequence and Case Number sequence, utilization is disclosed as the side-scan sonar towfish flight path processing method described in the Chinese patent " a kind of side-scan sonar towfish flight path processing method based on track line file " of CN101592731A (patent No. is ZL200910100493.5), smoothing and the interpolation to the flight path of towfish, simulate the ship trajectory of towfish reality, and calculate the towfish geographic coordinate residing when receiving every bar scanning-line signal,
Step 4: on the basis of step 2 and step 3, side-scanning sonar image geo-coding techniques in interim " research of sound sodium image geo-coding techniques is swept in side " of being delivered by Deng Xueqing, Gong Danchao, Luo Rui of utilization is published in " marine charting " the 22nd volume the 4th, resolve the geographic coordinate of each sweep trace end points, calculate the minimum enclosed rectangle of this side-scan sonar data institute covering space; In the present embodiment, the spatial dimension four most P that covers of side-scan sonar data
tl(510463.90,3117182.61), P
tr(510820.70,3117182.61), P
bl(510463.90,3116289.01), P
br(510820.70,3116289.01);
Step 5: establish the image file after resampling to be called G200804P1.GIF, its resolution resResolution is 0.4m, figure image width after then can calculating resampling and height are respectively 892 pixels and 2234 pixels, utilize the raster spatial data transformation warehouse GDAL increased income to create G200804P1.GIF, and its pixel is all initialized as zero;
Step 6: order reads adjacent two scan-line datas stored in oblique distance correction file Cor200804P1.dat, two scan-line datas read first by oblique distance correction file are set to Article 1 sweep trace and Article 2 sweep trace, called after L1, L2 respectively, the end points geographic coordinate that L1 and L2 is corresponding is respectively P
s1(510639.15,3117180.11), P
e1(510812.59,3117121.99), P
s2(510637.65,3117179.05) and P
e2(510811.75,3117121.16), calculate the geographic coordinate slP respectively obtaining and comprise this two sweep trace minimum enclosed rectangle four angle points
tl(510637.65,3117180.11), slP
tr(510812.59,3117180.11), slPbl (510637.65,3117121.16), slP
br(510812.59,3117121.16), utilize formula 2 can obtain the image block treating resampling, remember that this image block is R herein, the pixel coordinate of the upper left angle point of this image block is Prs (434,6), the width of resampling scope is 438, is highly 148;
Step 7: with P
s1, P
e1, P
s2, P
e2for angle point, build convex quadrangle image block R, carry out conjugate points one by one to the pixel in image block R and resolve, concrete steps are as follows: a pixel in optional image block, remember that its pixel coordinate is in the picture P
d(x
d, y
d), as P
dpoint not in convex quadrangle, then continues next pixel of process; When pixel Pd point is in the scope of convex quadrangle, make x in the present embodiment
dvalue be 581, y
dvalue be 56, the image coordinate namely corresponding to pixel Pd is (581,56), utilizes formula 3 to obtain P
dthe geographic coordinate that point is corresponding is P
dg(510696.5,3117160.21), utilize phasor difference area method to judge a pixel P
dgbe in convex quadrangle image block R inner, if P
dgbe D1 with the bee-line of line segment L1, calculating the intersection point obtaining D1 place straight line and L1 is P
cg1, be D2 with the bee-line of line segment L2, calculating the intersection point obtaining D2 place straight line and L2 is P
cg2, have D1=0.65 as calculated, P
cg1(510696.71,3117160.82), D2=0.69, P
cg2(510696.28,3117159.55), the four neighborhood point coordinate utilizing formula 4 to calculate pixel Pd corresponding conjugate points in oblique distance rectification file are respectively P
nc1(589,1), P
nc2(590,1), P
nc3(600,2) and P
nc4(601,2), finally according to the pixel value of four neighborhood pixel coordinate place pixels of conjugate points, utilize bilinear interpolation method to determine pixel P
dpixel value be 198;
Step 8: after the pixel in image block R is all disposed, with Article 2 and Article 3 sweep trace for object, continues to return step 6 and processes, until all sweep trace is disposed.
Claims (5)
1. towards a method for resampling for side-scanning sonar image, it is characterized in that: comprise the steps:
Step one: the File header information of resolving side-scanning sonar image file, obtains at least following two property parameters in side-scanning sonar image file: oblique distance range R and passage image width ppc;
Step 2: the scan-line data in order reading side-scanning sonar image file and the towfish elevation information of correspondence, receiving time information and sequence number of scanning lines, utilize oblique distance calibration model to carry out oblique distance correction process to the scan-line data obtained, and result is stored to oblique distance correction file;
Step 3: order reads the track line file corresponding with side-scanning sonar image file, extract the track points coordinate sequence of towfish, time of reception sequence and Case Number sequence, utilize side-scan sonar towfish flight path processing method, simulate the ship trajectory of towfish reality, and calculate the towfish geographic coordinate residing when receiving every bar scan-line data;
Step 4: on the basis of step 2 and step 3, utilize side-scanning sonar image geo-coding techniques, resolve the geographic coordinate of each sweep trace end points, the each sweep trace end points geographic coordinate calculated is stored to sweep trace extreme coordinates temporary file, calculate the minimum enclosed rectangle of this side-scanning sonar image file institute covering space simultaneously, record space four to the scope that this side-scanning sonar image file covers;
Step 5: the resampling resolution of space four to the scope covered according to the side-scanning sonar image file calculated in step 4 and needs creates the resampling image of side-scanning sonar image file, and each pixel value in resampling image is initialized as zero;
Step 6: sequentially read scan-line data corresponding in the oblique distance correction file created by step 2, get adjacent two scan-line datas, in the sweep trace extreme coordinates temporary file simultaneously created in step 4, order reads the sweep trace extreme coordinates corresponding with these two sweep traces, build the minimum enclosed rectangle comprising these two sweep traces, then this minimum enclosed rectangle pixel coordinate corresponding in resampling image is calculated according to this rectangle upper left angle point and the geographic coordinate of bottom right angle point and the resampling resolution of needs, obtain the image block of current pending re-sampling operations by this,
Step 7: conjugate points is carried out to each pixel obtaining image block in step 6 and resolves, and according to the pixel value of bilinear interpolation determination conjugate points;
Step 8: return step 6, until recording processing all in sweep trace extreme coordinates temporary file is complete.
2. the method for resampling towards side-scanning sonar image according to claim 1, is characterized in that: in described step 2, and the detailed process utilizing the scan-line data of oblique distance calibration model to acquisition to carry out oblique distance correction process is:
First, after oblique distance being corrected, on side-scanning sonar image, the pixel value of all pixels is initialized as zero;
Then, find out oblique distance and correct the conjugate points of some pixels on side-scanning sonar image file on rear side-scanning sonar image, note P
p(x
p, y
p) be certain pixel after oblique distance corrects on side-scanning sonar image, the sweep trace of its correspondence is L, and when receiving this sweep trace, the resolution of corresponding towfish height to be towfishAlt, sidescanRes be original side-scanning sonar image file, utilizes formula 1 to calculate P
pconjugate points Ps (xs, ys) on side-scanning sonar image file:
Finally, the pixel P after the pixel value assignment of conjugate points Ps (xs, ys) in side-scanning sonar image file being corrected to oblique distance on side-scanning sonar image
p(x
p, y
p).
3. the method for resampling towards side-scanning sonar image according to claim 2, is characterized in that: in described step 4, and the end points geographic coordinate of note sweep trace L1 ~ Ln is respectively P
s1(x
s1, y
s1), P
e1(x
e1, y
e1), P
s2(x
s2, y
s2), P
e2(x
e2, y
e2) ... P
sn(x
sn, y
sn), P
en(x
en, y
en), if x
min=min{x
s1, x
e1, x
s2, x
e2x
sn, x
en, x
max=max{x
s1, x
e1, x
s2, x
e2x
sn, x
en, y
min=min{y
s1, y
e1, y
s2, y
e2y
sn, y
en, y
max=max{y
s1, y
e1, y
s2, y
e2y
sn, y
en, then four angular coordinates of the minimum enclosed rectangle of side-scanning sonar image file institute covering space are respectively P
tl(x
min, y
max), P
tr(x
max, y
max), P
bl(x
min, y
min), P
br(x
max, y
min), in described step 5, if resResolution is the resolution of the resampling image needed, with P
tl, P
tr, P
bl, P
brbe four to border, create the resampling image of side-scanning sonar image file, and the pixel value of each pixel in resampling image is set to zero.
4. the method for resampling towards side-scanning sonar image according to claim 3, is characterized in that: in described step 6, if to get adjacent sweep trace be L1, L2, remember that the line number in its place oblique distance correction file is respectively Row1, Row2, the sweep trace end points geographic coordinate of its correspondence is P
s1(x
s1, y
s1), P
e1(x
e1, y
e1), P
s2(x
s2, y
s2) and P
e2(x
e2, y
e2), if slx
min=min{x
s1, x
e1, x
s2, x
e2, slx
max=max{x
s1, x
e1, x
s2, x
e2, sly
min=min{y
s1, y
e1, y
s2, y
e2, sly
max=max{y
s1, y
e1, y
s2, y
e2, then the geographic coordinate comprising minimum enclosed rectangle four angle points of L1, L2 sweep trace is respectively slP
tl(slx
min, sly
max), slP
tr(slx
max, sly
max), slP
bl(slx
min, sly
min), slP
br(slx
max, sly
min), the pixel coordinate P of height H eight, width W idth that this boundary rectangle is corresponding in resampling image and upper left angle point thereof
rs(x
start, y
start) calculate acquisition by formula 2;
5. the method for resampling towards side-scanning sonar image according to claim 4, is characterized in that: in described step 7, with P
s1(x
s1, y
s1), P
e1(x
e1, y
e1), P
s2(x
s2, y
s2) and P
e2(x
e2, y
e2) be angle point, build convex quadrangle P
s1p
e1p
e2p
s2, the concrete steps that conjugate points resolves are carried out one by one to the pixel in image block as follows: when any pixel in image block, remember that its pixel coordinate in image block is P
d(
xd,
yd), first utilize formula 3 by P
dpoint pixel coordinate transfers corresponding geographic coordinate P to
dg(x
dg, y
dg), utilize phasor difference area method to judge the spatial relation of this pixel and convex quadrangle, as P
dg(x
dg, y
dg) not in convex quadrangle or on four edges line, then continue next pixel of process, otherwise this pixel P is obtained in calculating
dgwith the bee-line of scan lines L1, L2, if P
dgbe D1 with the bee-line of L1, calculating the intersection point obtaining D1 place straight line and L1 is P
cg1(x
cg1, y
cg1), if P
dgbe D2 with the bee-line of L2, calculating the intersection point obtaining D2 place straight line and L2 is P
cg2(x
cg2, y
cg2), utilize formula 4 to calculate pixel P
dfour neighborhood pixel coordinate P of conjugate points in oblique distance correction file
nc1(x
nc1, Row1), P
nc2(x
nc2, Row1), P
nc3(x
nc3, Row2) and P
nc4(x
nc4, Row2), finally utilize bilinear interpolation method to determine pixel P
dpixel value;
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510860195.1A CN105372663B (en) | 2015-12-01 | 2015-12-01 | A kind of method for resampling towards side-scanning sonar image |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510860195.1A CN105372663B (en) | 2015-12-01 | 2015-12-01 | A kind of method for resampling towards side-scanning sonar image |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105372663A true CN105372663A (en) | 2016-03-02 |
CN105372663B CN105372663B (en) | 2018-01-30 |
Family
ID=55375016
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510860195.1A Expired - Fee Related CN105372663B (en) | 2015-12-01 | 2015-12-01 | A kind of method for resampling towards side-scanning sonar image |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105372663B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110794410A (en) * | 2019-10-10 | 2020-02-14 | 天津大学 | Method for detecting probability of scanning line target by side-scan sonar |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102707289A (en) * | 2012-06-15 | 2012-10-03 | 哈尔滨工程大学 | Course angle rotation-based multi-beam side-scan sonar image real-time splicing method |
CN103390273A (en) * | 2013-07-19 | 2013-11-13 | 哈尔滨工程大学 | Multi-beam side-scan sonar image registration method based on GPS (global positioning system) positioning assistance |
CN104408689A (en) * | 2014-12-10 | 2015-03-11 | 武汉大学 | Holographic-image-based streetscape image fragment optimization method |
-
2015
- 2015-12-01 CN CN201510860195.1A patent/CN105372663B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102707289A (en) * | 2012-06-15 | 2012-10-03 | 哈尔滨工程大学 | Course angle rotation-based multi-beam side-scan sonar image real-time splicing method |
CN103390273A (en) * | 2013-07-19 | 2013-11-13 | 哈尔滨工程大学 | Multi-beam side-scan sonar image registration method based on GPS (global positioning system) positioning assistance |
CN104408689A (en) * | 2014-12-10 | 2015-03-11 | 武汉大学 | Holographic-image-based streetscape image fragment optimization method |
Non-Patent Citations (2)
Title |
---|
邓莹莹: ""侧扫声纳图像拼接系统研究"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
邓雪清 等: ""侧扫声纳图像地理编码技术研究"", 《海洋测绘》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110794410A (en) * | 2019-10-10 | 2020-02-14 | 天津大学 | Method for detecting probability of scanning line target by side-scan sonar |
Also Published As
Publication number | Publication date |
---|---|
CN105372663B (en) | 2018-01-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Fonseca et al. | Geocoder: an efficient backscatter map constructor | |
CN103197308B (en) | Three-dimensional sonar visualization processing method based on multi-beam phased array sonar system | |
EP3078991B1 (en) | Method for swell effect and mis-tie correction in high-resolution seismic data using multi-beam echo sounder data | |
Cobra et al. | Geometric distortions in side-scan sonar images: a procedure for their estimation and correction | |
CN103148842B (en) | Shallow sea sand wave area multi-beam sounding terrain reconstruction method based on remote sensing image features | |
CN114488164B (en) | Synchronous positioning and mapping method for underwater vehicle and underwater vehicle | |
CN105488852B (en) | A kind of 3-D image joining method based on geocoding and multidimensional calibrating | |
RU2519269C1 (en) | Method of surveying bottom topography of water area and apparatus therefor | |
CN107766818A (en) | A kind of didactic submerged structure environment line feature extraction method | |
CN101592731B (en) | Method for processing navigation track of side scan sonar tow-fish based on navigation track line file | |
CN116184376A (en) | Underwater three-dimensional terrain and multi-beam image sonar data simulation system and method | |
RU2466426C1 (en) | Method of reconstructing sea-floor relief when measuring depth using hydroacoustic apparatus | |
CN105372663A (en) | Resampling method facing images of sidescan sonar | |
Ye et al. | Geometric correction method of side-scan sonar image | |
CN115184910B (en) | Method for correcting single-beam measurement beam angle effect of river channel section | |
Yang et al. | Mosaicing of airborne LiDAR bathymetry strips based on Monte Carlo matching | |
CN105205817A (en) | Underwater terrain matching method based on sonar image edge angular point histogram | |
CN115755068A (en) | Online intelligent diagnosis system for submarine pipeline state | |
CN112698349B (en) | Overwater and underwater synchronous integrated space measurement system and method for shallow sea island | |
Cervenka et al. | Geometric corrections on sidescan sonar images based on bathymetry. Application with SeaMARC II and Sea Beam data | |
Lecornu et al. | Fish school analysis from multibeam sonar image processing | |
Li et al. | A new model of gaps patching for side-scan sonar images based on heading optimization strategy | |
CN117522684B (en) | Underwater side-scan sonar image stitching method, device and system | |
Cobra | Estimation and correction of geometric distortions in side-scan sonar images | |
CN118429577B (en) | Method, system, medium and equipment for fusing underwater three-dimensional point clouds |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180130 Termination date: 20181201 |