METHOD OF EXTRACTING IMAGE OF PORT WHARF THROUGH MULTISPECTRAL INTERPRETATION
20190171862 ยท 2019-06-06
Assignee
Inventors
- Yue Qi (Beijing, CN)
- Yaping Mao (Beijing, CN)
- Yun Feng (Beijing, CN)
- Jun Hao (Beijing, CN)
- Jun HUANG (Beijing, CN)
- Hanbing Sun (Beijing, CN)
- Yi Yang (Beijing, CN)
- Wentao Ding (Beijing, CN)
- Haiyuan Yao (Beijing, CN)
- Chen SHEN (Beijing, CN)
Cpc classification
G06V20/194
PHYSICS
G06F18/21342
PHYSICS
G06V10/44
PHYSICS
G06F18/217
PHYSICS
G06V10/7715
PHYSICS
G06V10/34
PHYSICS
G06V10/50
PHYSICS
International classification
Abstract
A method of extracting an image of a port wharf through multispectral interpretation includes: first, extracting a blurred coastline by assigning values to grayscale values; then, performing a smoothing and noise removal processing on a remote sensing image in a targeted area to extract edge information; sequentially, establishing a multi spectral database of a targeted port wharf; and extracting a port wharf using a projected eigenvector, performing an MAF transformation on the regularized kernel function again, projecting multivariate observed values to original eigenvectors, and identifying a remote sensing image area corresponding to the original eigenvector smaller than a transformation variance as a port wharf to be extracted, and then carrying out a validation operation.
Claims
1. A method of extracting an image of a port wharf through multispectral interpretation, comprising the following steps: S100: assigning values to grayscale values to divide a coastline: performing a grayscale processing on an original remote sensing image, assigning the values to the grayscale values, and extracting a blurred coastline according to a distribution of the grayscale values; S200: smoothing the original remote sensing image and removing noise: performing a smoothing processing on an area of the blurred coastline in the original remote sensing image according to a range limited by the blurred coastline and removing interference noise to extract edge information; S300: establishing a multispectral database of a targeted port wharf: linearly combining multivariate observed values among different edge information, regularizing a linear combination to obtain a kernel function, as multispectral data, and repeating to obtain the multispectral database, wherein an MAF transformation is performed on an image in an edge region before an operation of the linear combination is performed, in order to obtain an autocorrelation factor, and a specific algorithm is as follows: .sup.Tx(r) is set as the autocorrelation factor, x(r) as a first multivariate observed value at a point r, x(r+) as a second multivariate observed value at a point r+, and as a spatial displacement vector, then an auto-covariance R of a linear combination .sup.Tx(r) of x(r) is calculated according to the following formula: R=Cov{.sup.Tx(r), .sup.Tx(r+)}, and the autocorrelation factor is obtained after an inverse operation is performed on the auto-covariance R; the linear combination and a regularization of the linear combination comprises the following steps: S301: transforming the auto-covariance R to obtain the following equation: .sup.TC.sub.=.sup.T(C.sub.+C.sub..sup.T)/2, where C.sub. is a transformation-related matrix; S302: setting, an autocorrelation coefficient of the linear combination as follows: =1(.sup.TS.sub.)/(2.sup.TS), where a difference covariance matrix S.sub. is calculated according to the following formula: S.sub.=2S(C.sub.67 +C.sub..sup.T), and S=X.sup.TX/(n1) is set as a covariance matrix of x: and S303: selecting an optional form of the autocorrelation coefficient as following: =1[(.sup.TX.sup.TA)/(.sup.T[(1k)X.sub..sup.TX.sub.+kI.sub.p)]].sup.1, transforming the optional form to obtain a kernel function form as following: =1[(b.sup.TK.sup.2b )/(b.sup.T[(1k)K.sub.K.sub.67 .sup.T+kK)]b].sup.1, where X.sup.Tb=, A is a transformation factor, k is a transformation coefficient, I.sub.p is a unit vector of a eigenvector P, and K is a correlation matrix of the transformation coefficient: and S400: extracting a port wharf using a projected eigenvector: performing an MAF transformation on the kernel function after being regularized, projecting the multivariate observed values to original eigenvectors, and identifying a remote sensing image area corresponding to a validated original eigenvector as a port wharf to be extracted.
2. The method of extracting the image of the port wharf through multispectral interpretation according to claim 1, wherein in step S100: different values are assigned to remote sensing images of different grayscales, and a value 0 is assigned to a grayscale value of a water area in a remote sensing image and a value 10 to a part on land having a maximum grayscale value.
3. The method of extracting the image of the port wharf through multispectral interpretation according to claim 1, wherein in step S100: extracting a coastline by assigning the values to the grayscale values specifically comprises the following steps: S101: first, performing a uniform grayscale processing on the original remote sensing image and dividing areas having different grayscale values, then calculating grayscale value variances for the areas after being divided to obtain a grayscale distribution uniformity coefficient; S102: checking the grayscale value variances calculated in S101, selecting and determining a variance contrast value, identifying an area where a grayscale value is smaller than the variance contrast value as a water area and an area where a grayscale value is greater than the variance contrast value as a land area; and S103: restoring distinct boundary lines existing between the water area and the land area to a continuous boundary line to be as the blurred coastline by an interpolation method, wherein the distinct boundary lines are identified through S101 and S102.
4. The method of extracting the image of the port wharf through multispectral interpretation according to claim 1, wherein after the blurred coastline is extracted by assigning the values to the grayscale values, a preprocessing is carried out for the remote sensing image, and the preprocessing includes geometric correction, atmospheric correction and radiation correction.
5. The method of extracting the image of the port wharf through multispectral interpretation according to claim 1, wherein in step S200, the original remote sensing image is smoothed by using any one of mean value smoothing, median filtering or Gaussian blur filtering, wherein, the median filtering and the Gaussian blur filtering both employ a normalized ratio method and use the following specific calculation formula: NDWI=(GreenNIR)/(Green+NIR), where Green represents a green light waveband image, NIR represents a near-infrared waveband image, and NDWI represents a combination of wavebands.
6. The method of extracting the image of a the port wharf through multispectral interpretation according to claim 1, wherein, in step 400, an original eigenvector is set to be a.sub.i after the regularization is performed, then, a projection algorithm of the original eigenvector is as follows:
(x).sup.Ta.sub.i=(x).sup.T.sup.Tb.sub.i=[k(x, x.sub.1), k(x, x.sub.2), . . . , k(x, x.sub.N)]b.sub.i.
7. The method of extracting the image of the port wharf through multispectral interpretation according to claim 1, wherein, a validation method comprises: comparing an original eigenvector with a transformation variance, and determining that the original eigenvector smaller than the transformation variance meets a requirement, wherein a specific algorithm of the transformation variance is as follows: a column of a matrix A is set as a.sub.i and that of a matrix B is set as b.sub.i, then A=KB, in this case, the transformation variance is calculated according to the following formula:
8. The method of extracting the image of the port wharf through multispectral interpretation according to claim 1, further comprising: a step S500 of validating a first spatial correlation relationship, which specifically comprises: based on steps S100 and S200, obtaining a second spatial correlation relationship of the blurred coastline obtained through an assignment of the values to the grayscales and an image processing operation, and validating the first spatial correlation relationship for the port wharf recognized in the step S400 by using the second spatial correlation relationship.
9. (canceled)
10. (canceled)
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0033]
DETAILED DESCRIPTION OF THE EMBODIMENTS
[0034] Technical solutions of the present invention will be described clearly and completely below in conjunction with accompanying drawings set forth therein, and apparently, the embodiments described herein are merely a part of, but not all of the embodiments of the present invention. All other embodiments devised by those of ordinary skill without any creative work based on the embodiments described herein should fall within the scope of the present invention.
[0035] As shown in
[0036] S100: assigning values to grayscale values to divide a coastline; performing a grayscale processing on the original remote sensing image, assigning different values to remote sensing images of different grayscales, and extracting a blurred coastline according to the distribution of the grayscale values.
[0037] When the values are assigned to the grayscales on a basis of a guaranteed resolution in the step above, it should be noted that because in a remote sensing image, a water area generally has a relatively low grayscale value and is uniformly distributed in grayscale, the representation vector of the grayscale value of a water area is variance, whereas the grayscale value of a land is relatively high and has a great valiance, a distinct boundary line exists between a water area and a land area. To represent characteristics of a boundary line better and prominently on a digital map, it is set that in a remote sensing image, a value 0 is assigned to the grayscale value of a water area and a value 10 to the part on a land having a maximum grayscale value during a value assignment process, and the other grayscale values are proportionally adjusted according to the magnitude of grayscale, it should further be noted that assigning a value 10 to the part on a land having a maximum grayscale value specifically refers to performing a normal value assignment after removing scattered extremely-high grayscale values in order to effectively decrease processing errors and avoid the inclusion of polluted data.
[0038] Therefore, in the assignment of the values to the grayscale values, the values are assigned to the grayscale values and the coastline is extracted by executing the following steps:
[0039] S101: first, performing a uniform grayscale processing on the original remote sensing image, then dividing areas having different grayscale values, and calculating a grayscale value variance for the divided areas to obtain a grayscale distribution uniformity coefficient;
[0040] S102: checking the grayscale value variance calculated in S101, selecting and determining a variance contrast value, identifying an area where a grayscale value is smaller than the variance contrast value as a water area and an area where a grayscale value is greater than the variance contrast value as a land area; and
[0041] S103: restoring distinct boundary lines existing between the water area and the land area identified in the foregoing steps to a continuous boundary line using an interpolation method, wherein the continuous boundary line forms the blurred coastline.
[0042] After the blurred coastline is extracted by assigning the values to the grayscale values, a preprocessing is carried out for the remote sensing image, the preprocessing includes geometric correction, atmospheric correction and radiation correction.
[0043] The effect of the geometric correction is to make coordinates of a ground object in a remote sensing image more conform to reality, correct a coordinate error occurring in remote sensing, and cause a recognition result to be closer to an actual result.
[0044] The atmospheric correction refers to eliminating the effect caused by a cloud block to a remote sending image after performing a geometric correction.
[0045] The effect of the radiation correction is to eliminate the effect caused by the radiation of a ground object to a remote sensing image.
[0046] The foregoing correction methods can be directly executed using a piece of image processing software in the prior art. In a corrected remote sensing image, texture characteristics of a ground object in a corrected remote sensing image meet an extraction requirement.
[0047] S200: smoothing the image and removing noise; performing a smoothing processing on an area of the blurred coastline in the original remote sensing image according to a range limited by the blurred coastline and removing interference noise to extract edge information.
[0048] Sea spray is common in the sea, and in a remote sensing image, a breaking wave of sea spray has a grayscale value that is close to the grayscale value of a wharf, if the image smoothing and noise removal is not performed, big problems will be brought to a subsequent recognition, which will increase recognition errors that are transferred and magnified in continuously repeated recognition calculation, moreover, the amount of the calculation conducted in a recognition process will be greatly increased.
[0049] In step S200, the image is smoothed through any one of mean value smoothing, median filtering or Gaussian blur filtering, wherein the median filtering and the Gaussian blur filtering both employ a normalized ratio method and use the following specific calculation formula:
[0050] NDWI=(GreenNIR)/(Green+NIR), where Green represents a green light waveband image, NIR represents a near-infrared waveband image, and NDWI represents a waveband combination.
[0051] The median filtering, because of its capability of effectively preserving edge information while suppressing noise, is more likely to be adopted herein for an image smoothing processing, the Gaussian blur filtering is the second choice, and the mean value smoothing is not recommended for a smoothing processing.
[0052] It should further be emphasized here that during the image smoothing and noise removal process, the present invention mainly uses an optical band, based on a fundamental principle that water body information is extracted according to the characteristic difference between a water body and a land in reflections of green lights and near-infrared waves, and a threshold 0 is set in a calculation process, that is, a calculation result being a negative value represents a water area, and the other non-water areas are all represented by positive values.
[0053] Before performing the multispectral extraction, it should be explicated that a multispectral waveband mentioned herein includes four wavebands: a blue light waveband, a green light waveband, a red light waveband and a near-infrared light wave band.
[0054] S300: establishing a multispectral database of a targeted port linearly combining multivariate observed values among different edge information, regularizing the linear combination to obtain a kernel function, that is, multispectral data, and repeating the foregoing process to obtain a multispectral database.
[0055] An MAF transformation is performed on an image in an edge region before the linear combination is performed, so as to obtain an autocorrelation factor, and the specific algorithm is as follows:
[0056] .sup.Tx(r) is set as an autocorrelation factor, x(r) as a multivariate observed value at a point r, x(r+) as a multivariate observed value at a point r+, and as a spatial displacement vector, then an auto-covariance R of a linear combination .sup.Tx(r) of x(r) is calculated according to the following formula: R=Cov{.sup.Tx(r), .sup.Tx(r+)}, and the autocorrelation factor is obtained after an inverse operation is performed on the auto-covariance R.
[0057] What should be explicated in the description above is the MAF transformation, which refers to a maximum/minimum autocorrelation factor transformation that focuses on spatial characteristics of a remote sensing image, and the use of spatial characteristics of a remote sensing image for recognition is necessary in multispectral recognition because spatial characteristics of a ground object are corresponding to a unique characteristic spectrum, thus, by extracting a characteristic spectrum and applying the extracted characteristic spectrum to recognition, a corresponding demarcated object can be recognized easily and accurately.
[0058] After the MAF transformation is performed on the image, it is necessary to take a covariance matrix of the image into consideration, and it is needed to eliminate a covariance matrix of the difference between original data and offset data because the MAE transformation is based on the autocorrelation of data.
[0059] In the description above, a remote sensing image should be regarded as an observed data set with n pixels and p spectral bands, and in this case, the MAF maximizes a correlation factor of a linear combination .sup.Tx(r) of the original variable x(r).
[0060] Specifically, the linear combination and the regularization thereof include the following steps:
[0061] S301: transforming the auto-covariance R to obtain the following equation: .sup.TC.sub.=.sup.T(C.sub.+C.sub..sup.T)/2, where C.sub. is a transformation-related matrix;
[0062] S302: setting an autocorrelation coefficient of the linear combination as follows: =1(.sup.TS.sub.)/(2.sup.TS), where a difference covariance matrix S.sub. is calculated according to the following formula: S.sub.=2S(C.sub.+C.sub.67.sup.T), and S=X.sup.TX/(n1) is set as a covariance matrix of x; and
[0063] S303: selecting the following optional form of the autocorrelation coefficient: =1[(.sup.TX.sup.TA)/(.sup.T[(1k)X.sub..sup.TX.sub.+kI.sub.p)]].sup.1, transforming the optional form to obtain the following kernel function form: =1[(b.sup.TK.sup.2b)/(b.sup.T[(1k)K.sub.K.sub..sup.T+kK)]b].sup.1 where X.sup.Tb=, A is a transformation factor, k is a transformation coefficient, I.sub.p is a unit vector of the eigenvector P, and K is a correlation matrix of a transformation coefficient.
[0064] In step S303, it should be noted that in the transformation of a kernel function form, as long as one linear transformation is found through the MAF transformation, the found linear transformation is regularized first for the sake of convenience of subsequent operations, so that each linear transformation can have a corresponding optional form corresponding to the original mode and the kernel function form can be obtained through a transformation.
[0065] S400: extracting a port wharf using a projected eigenvector, performing the MAF transformation on the regularized kernel function, and projecting multivariate observed values to original eigenvectors, and determining a remote sensing image area corresponding to the original eigenvector smaller than a transformation variance as a port wharf to be extracted.
[0066] In step S400, after the regularization is performed, the original eigenvector is set to be then a projection algorithm of the original eigenvector is as follows:
(x).sup.Ta.sub.i=(x).sup.T.sup.Tb.sub.i=[k(x, x.sub.1), k(x, x.sub.2), . . . , k(x, x.sub.N)]b.sub.i.
[0067] Additionally, a specific algorithm of the transformation valiance is as follows:
[0068] a column of a matrix A is set as a.sub.i, and that of a matrix B is set as b.sub.i, then A=KB, in this case, the transformation variance is calculated according to the following formula:
where n is the number of times extraction is performed.
[0069] In the present invention, it should also be noted that although a port wharf can be effectively determined by recognizing characteristics of multiple spectrums, the spatial characteristic relationship of a port wharf relies not only on the recognition of multiple spectrums in actual applications.
[0070] Thus, a step S500 of validating a spatial correlation relationship is also included here, which specifically includes:
[0071] based on steps S100 and S200, obtaining a spatial correlation relationship of the blurred coastline obtained through the assignment of values to grayscales and an image processing, and validating, using the spatial relationship, a spatial correlation relationship for the port wharf recognized in the step S400.
[0072] A detection can be carried out by making full use of the correlation of spatial relationships to increase the accuracy of a validation further, the correlation of spatial relationships of a port wharf is relatively simple, for example, in the aspect of the spatial correlation relationship of a port wharf, what should be taken into consideration merely includes: a departing channel water system, transshipment roads, transshipment squares, warehouses and the like, whose characteristics can be simply recognized through remotely sensed spectral characteristics; in the recognition method provided herein, even just by assigning values to grayscale values, a port wharf can be recognized through the values assigned to the grayscales, and a the recognized port wharf can be conveniently checked through a matching operation.
[0073] To sum up, the main features of the present invention lie in that:
[0074] (1) the present invention, which first performs a grayscale processing on the original remote sensing image to divide a water area from a land area and thus determines the approximate location of a port wharf, and then carries out a multi spectral processing on the location and switches the remote sensing image directly to the calculation of related data based on an MAF transformation, is capable of recognizing a port wharf rapidly and accurately by comparing characteristic spectrums; and
[0075] (2) by carrying out an error correction for a remote sensing image during a recognition process, the present invention improves the accuracy of a characteristic spectrum from the source, moreover, by validating a recognition using a spatial correlation relationship during a recognition process, the present invention improves recognition accuracy.
[0076] It is apparent for those skilled in the art that the present invention is not limited to details of the foregoing exemplary embodiments and the present invention can be realized in other specific forms without departing from the spirit or basic characteristics of the present invention. Thus, the embodiments should be regarded as exemplary but not limitative in any aspect; because the scope of the present invention is defined by appended claims but not the foregoing description, the present invention is intended to cover all the variations falling within the meaning and scope of an equivalent of the claims. Any reference symbol in the claims should not be construed as limiting a relevant claim.