TWI736446B - Seabed edge detection method capable of filtering horizontal noise - Google Patents
Seabed edge detection method capable of filtering horizontal noise Download PDFInfo
- Publication number
- TWI736446B TWI736446B TW109135544A TW109135544A TWI736446B TW I736446 B TWI736446 B TW I736446B TW 109135544 A TW109135544 A TW 109135544A TW 109135544 A TW109135544 A TW 109135544A TW I736446 B TWI736446 B TW I736446B
- Authority
- TW
- Taiwan
- Prior art keywords
- image
- seabed
- pixel
- otsu
- edge detection
- Prior art date
Links
Images
Landscapes
- Image Processing (AREA)
Abstract
本發明提出一種可濾橫紋雜訊之海床邊線偵測方法,包含:(a)輸入一 灰階影像步驟、(b)影像前處理步驟及(c)海床邊線偵測與標記步驟;其中,(b)影像前處理步驟,包含:一影像銳化步驟、一影像模糊步驟及一Otsu二值化(Otsu Threshold)步驟;其中,(c)海床邊線偵測與標記步驟,根據Otsu二值化側掃聲納影像並透過複數滑動視窗(sliding window)用以尋找海床邊線特徵,滑動視窗用以偵測Otsu二值化側掃聲納影像中像素值的變化。本發明所能達成的有利功效在於,透過(b)影像前處理步驟分割出海床與水團,而在(c)海床邊線偵測與標記之步驟,是使用滑動視窗的方式,偵測海床邊線所在位置並標記之。 The present invention provides a seabed edge detection method capable of filtering horizontal noise, including: (a) input one Grayscale image step, (b) image pre-processing step, and (c) seabed edge detection and marking step; among them, (b) image pre-processing step includes: an image sharpening step, an image blurring step, and a step Otsu Binarization (Otsu Threshold) step; where (c) the seabed edge detection and marking step, according to the Otsu binarization side scan sonar image and through multiple sliding windows to find the seabed edge Line feature, the sliding window is used to detect the change of the pixel value in the Otsu binarized side scan sonar image. The advantageous effect that the present invention can achieve is that the seabed and water masses are separated through the (b) image pre-processing step, and the step of detecting and marking the edge of the seabed in (c) is to use a sliding window to detect Mark the location of the seabed edge.
Description
本發明屬於一種海床邊線偵測方法,特別是一種可濾橫紋雜訊之海床邊線偵測方法。 The invention belongs to a seabed edge detection method, in particular to a seabed edge detection method capable of filtering horizontal noise.
側掃聲納系統為一種廣泛應用於水下地形地貌探測的主動式聲納儀器,其原理是透過拖魚發射高頻聲納訊號至海床並接收其回波訊號,藉由所收到訊號反射的強弱轉換成0~255(像素,pixel)的灰階影像。側掃聲納系統包含:拖魚裝置、訊號控制器(Starfish Scanline)、全球定位單元及控制電腦。 The side scan sonar system is an active sonar instrument that is widely used in underwater terrain and landform detection. Its principle is to transmit high-frequency sonar signals to the seabed through tow fish and receive the echo signals. The intensity is converted into a grayscale image of 0~255 (pixel, pixel). The side scan sonar system includes: fish towing device, signal controller (Starfish Scanline), global positioning unit and control computer.
在側掃聲納探測之影像擷取或傳輸的過程中,會因為脈衝干擾而產生雜訊點,然而側掃聲納影像的優劣,取決於其中雜訊像素點的多寡。干擾源例如測量船本身的螺旋槳及引擎尾流的噪音、自然界海洋生物所發出的音頻,以及存在於海洋環境中的背景噪音,例如地殼運動及海表層風浪等。諸如此類的噪音將會對側掃聲納訊號在傳輸過程中,造成聲波傳遞的干擾,而這些干擾在側掃聲納影像中將會以雜訊的方式呈現。因此,如何對側掃聲納影像進行雜訊濾除,是本發明欲要解決的非常重要的議題之一。 In the process of image capture or transmission of side scan sonar detection, noise points will be generated due to pulse interference. However, the quality of the side scan sonar image depends on the number of noise pixels in it. Interference sources such as the noise of the propeller and engine wake of the measuring ship, the audio generated by marine organisms in nature, and the background noise that exists in the marine environment, such as the movement of the crust and the wind and waves on the sea surface. Such noises will cause interference to the transmission of sound waves during the transmission of the side scan sonar signal, and these interferences will appear as noise in the side scan sonar image. Therefore, how to filter the noise of the side scan sonar image is one of the very important issues to be solved by the present invention.
此外,側掃聲納系統所提供的海床邊線偵測,係以判定第一回水波,借以推估海床邊線。然而,第一回波容易受到懸浮物、尾流氣泡及海床地形地貌的影響,造成近九成的海床邊線標示錯誤。因此,提出新的海床邊線偵測技術來改善以第一回波判定拖魚與海床間的距離誤判的問題,是本發明須要面對的另一個議題。 In addition, the seabed edge detection provided by the side scan sonar system is used to determine the first return water wave and estimate the seabed edge. However, the first echo is easily affected by suspended solids, wake bubbles, and seabed topography, causing nearly 90% of seabed edges to be marked incorrectly. Therefore, to propose a new seabed edge detection technology to improve the misjudgment of the distance between the towfish and the seabed by the first echo is another issue that the present invention has to face.
側掃聲納影像進行雜訊及第一回波干擾的影像處理,將有助於後續的海床邊線偵測技術研究。透過海床邊線偵測技術來標示海床邊線,除了可以提供正確拖魚與海床間的距離資訊,確保拖魚不會碰觸海床,更可增加側掃聲納的影像品質(拖魚貼近海床所測量的聲納品質較佳)。 Image processing of side scan sonar images for noise and first echo interference will help the subsequent research on seabed edge detection technology. The seabed edge detection technology is used to mark the seabed edge. In addition to providing the correct distance information between the towing fish and the seabed, it can ensure that the towing fish will not touch the seabed, and it can also increase the image quality of the side scan sonar ( The quality of the sonar measured when the fish is dragged close to the seabed is better).
現有側掃聲納系統無法濾除船隻噪音干擾所產生黑色橫紋雜訊,以及在偵測海床邊線技術上,仍有諸多改善空間,為各方所欲解決之課題,並亟待加以改良。 The existing side scan sonar system cannot filter the black horizontal noise caused by ship noise interference, and there is still a lot of room for improvement in the seabed edge detection technology. It is a problem that all parties want to solve and urgently need to be improved. .
為解決前揭之問題,本發明之目的係提供一種可濾橫紋雜訊之海床邊線偵測方法之技術方案。 In order to solve the aforementioned problems, the object of the present invention is to provide a technical solution for detecting the edge of the seabed that can filter the horizontal noise.
為達上述目的,本發明提出一種可濾橫紋雜訊之海床邊線偵測方法,包含下列步驟:(a)輸入灰階影像步驟,當側掃聲納控制電腦接收到海床回波後,將回波分貝值轉換成側掃聲納影像(灰階影像)。(b)影像前處理步驟,包含:(b1)影像銳化步驟,濾波核通過原始像素點,並將濾波核大小(kernal size,ksize)為k*k個濾波核像素值與該灰階影像之原始像素值依序進行相乘運算,相乘運算後取得k*k個乘積像素值依序進行加總運算,若加總值大於像素值255,則將該加總值視為上限值255;以及(b2) 影像模糊步驟,將銳化後之像素值經由平滑濾波器(burring)處理,產生模糊化之側掃聲納影像;最後透過(b3)Otsu二值化(Otsu Threshold)步驟,將模糊化的側掃聲納影像進行影像分割。在(c)海床邊線偵測與標記步驟中,Otsu二值化側掃聲納影像透過滑動視窗(sliding window)方法,分左舷與右舷二個方向滑動,偵測Otsu二值化側掃聲納影像中像素值變化,藉以偵測海床邊線特徵。 To achieve the above objective, the present invention proposes a seabed edge detection method that can filter horizontal noise, which includes the following steps: (a) the step of inputting grayscale images, when the side scan sonar control computer receives the seabed echo Then, the echo decibel value is converted into a side scan sonar image (gray-scale image). (b) Image pre-processing step, including: (b1) Image sharpening step, the filter kernel passes through the original pixels, and the filter kernel size ( kernal size, ksize ) is k * k filter kernel pixel values and the grayscale image The original pixel values are multiplied in order, and k * k product pixel values are obtained after the multiplication, and then summed in order. If the sum is greater than the pixel value 255, the sum is regarded as the upper limit 255; and (b2) the image blurring step, the sharpened pixel values are processed by a smoothing filter (burring) to produce a blurred side scan sonar image; and finally through the (b3) Otsu Threshold step , To segment the blurred side scan sonar image. In (c) the seabed edge detection and marking step, the Otsu binarized side scan sonar image uses a sliding window method to slide in port and starboard directions to detect the Otsu binarized side scan The pixel value changes in the sonar image to detect the edge features of the seabed.
本發明所能達成的有利功效在於,透過與(b)影像前處理步驟濾除雜訊,增強海床邊線特徵;以及(c)海床邊線偵測與標記步驟,使用滑動視窗的方式偵測海床邊線所在位置並標記之。透過本發明海床邊線的偵測與標記,獲得標記有海床邊線的側掃聲納影像,輔助水下地形地貌的探測,且更精確的計算出拖魚和海床地形間的距離。 The advantageous effect that the present invention can achieve is to filter out noise through and (b) the image pre-processing step to enhance the seabed edge line characteristics; and (c) the seabed edge line detection and marking step, using a sliding window method Detect the location of the seabed edge and mark it. Through the detection and marking of the seabed edge of the present invention, a side scan sonar image marked with the seabed edge is obtained, which assists in the detection of underwater terrain and landforms, and more accurately calculates the distance between the tow fish and the seabed terrain .
S10-S40:步驟 S10-S40: steps
10:拖魚 10: Drag fish
11:左舷聲納訊號 11: Port side sonar signal
12:右舷聲納訊號 12: Starboard sonar signal
20:左舷 20: Port side
30:右舷 30: starboard
40:噪音 40: Noise
50:海床 50: Seabed
51:左舷海床 51: Port Seabed
52:右舷海床 52: Starboard Seabed
60:左舷水團 60: Port side water mass
70:右舷水團 70: Starboard Water Mass
80:高度 80: height
90:目標物 90: target
100:陰影 100: shadow
110:沈船 110: Shipwreck
120:左舷海床邊線 120: Port side seabed edge
130:右舷海床邊線 130: Starboard Seabed Edge
140:海床物件 140: Seabed Objects
150:前景 150: foreground
151:左舷二值化海床 151: Port Side Binary Seabed
152:右舷二值化海床 152: Starboard Binary Seabed
160:背景 160: background
161:左舷二值化水團 161: Port Side Binary Water Group
162:右舷二值化水團 162: Starboard Binary Water Group
170:左舷滑動視窗 170: Port side sliding window
180:右舷滑動視窗 180: Starboard sliding window
190:列 190: Column
200:欄 200: column
A、B:橫紋雜訊 A, B: horizontal noise
[圖1]為本發明之方塊流程圖。 [Figure 1] is a block flow diagram of the present invention.
[圖2]為水下環境或船隻引擎之噪音干擾示意圖。 [Figure 2] is a schematic diagram of noise interference in underwater environments or ship engines.
[圖3]為海床與水團成像示意圖。 [Figure 3] is a schematic diagram of seabed and water mass imaging.
[圖4]為沈船與噪音干擾之示意圖。 [Figure 4] is a schematic diagram of sinking ship and noise interference.
[圖5]為影像銳化前後對照圖。 [Figure 5] is a comparison chart before and after image sharpening.
[圖6]為有無做影像銳化之低通濾波結果對照圖。 [Figure 6] Comparison of the results of low-pass filtering with or without image sharpening.
[圖7]為Otsu二值化處理示意圖。 [Figure 7] is a schematic diagram of Otsu binarization processing.
[圖8]為有無經影像銳化及低通濾波的Otsu二值化結果圖。 [Figure 8] The result of Otsu binarization with or without image sharpening and low-pass filtering.
[圖9]為海床邊線判定示意圖。 [Figure 9] is a schematic diagram of the seabed edge determination.
[圖10]為海床邊線偵測與標記結果圖。 [Figure 10] is the result of detection and marking of the seabed edge.
[圖11]為連續率及對稱率結果圖。 [Figure 11] is a graph showing the results of continuity rate and symmetry rate.
[圖12]為連續率及對稱率平均值。 [Figure 12] is the average of continuity rate and symmetry rate.
以下將描述具體之實施例以說明本發明之實施態樣,惟其並非用以限制本發明所欲保護之範疇。 Specific embodiments will be described below to illustrate the implementation of the present invention, but they are not used to limit the scope of protection of the present invention.
定義 definition
聲納訊號:請參閱圖2,拖魚10分別自船尾之左舷20向左下及船尾之右舷30向右下,發射聲納訊號,其中拖魚10自船尾之左舷發射出的聲納訊號為左舷聲納訊號11,拖魚10自船尾之右舷30發射出的聲納訊號為右舷聲納訊號12。聲納訊號經水中傳遞,聲納訊號抵達海床50後反射回拖魚10。
Sonar signal: Please refer to Figure 2. The
海床:請參閱圖3,拖魚10裝置是整個側掃聲納系統的核心探測工具,拖魚10裝置利用左舷與右舷兩側音鼓發射聲納訊號抵達海床50;接著,拖魚10裝置接收反射聲納訊號後,訊號控制器經類比與數位訊號轉換後,將反射聲納訊號傳輸到控制電腦,以瀑布式由上而下呈現探測之水下地形地貌,即為側掃聲納灰階影像之呈現方式。更詳細說明(請參閱圖3),左舷聲納訊號11經水中傳遞抵達海床50後反射回拖魚10,經由訊號控制器將左舷聲納訊號11所有海床50回波能量值(dB)轉換成可視化的左舷海床51資訊;右舷聲納訊號12經水中傳遞抵達海床50後反射回拖魚10,經由訊號控制器將右舷聲納訊號12所有海床回波能量值(dB)轉換成可視化的右舷海床52資訊。
Seabed: Please refer to Figure 3.
水團:請參閱圖3,圖3下方為部份的原始側掃聲納影像,當聲納訊號之
第一波束發射後,在水中傳遞至海床50並反射回拖魚10的時間長度,用以計算出拖魚10與海床50之間的距離80,該距離80稱之為水團。更詳細說明(請參閱圖4a),水團包含左舷水團60與右舷水團70,左舷水團60及右舷水團70位於左舷海床51及右舷海床52之間。
Water mass: Please refer to Figure 3. The bottom part of Figure 3 is part of the original side scan sonar image.
After the first beam is launched, the length of time that it passes to the
左舷海床邊線:請參閱圖4a,左舷海床邊線120位於左舷海床51與左舷水團60間,稱之為左舷海床邊線120。
Port side seabed sideline: Please refer to Figure 4a, the port
右舷海床邊線:請參閱圖4a,右舷海床邊線130位於右舷海床52與右舷水團70間,稱之為右舷海床邊線130。
Starboard seabed edge: Please refer to Figure 4a. The
橫紋雜訊:請參閱圖4b紅框處,為原始側掃聲納影像。其中,橫紋雜訊A分布於左舷海床51、左舷海床邊線120及左舷水團60;橫紋雜訊B分布於右舷海床52、右舷海床邊線130及左舷水團70。
Horizontal noise: Please refer to the red frame in Figure 4b, which is the original side scan sonar image. Among them, the horizontal noise A is distributed on the
本發明提供一種可濾橫紋雜訊之海床邊線偵測方法,方法與流程請參閱圖1,包括以下步驟:(a)輸入側掃聲納灰階影像步驟S10,其中該灰階影像包含海床與水團資訊,以及可能發生的雜訊干擾(如橫紋雜訊A與B),海床邊線則位於海床與水團間,橫紋雜訊則分布於海床、海床邊線及水團;(b)影像前處理步驟S20,包含進行影像銳化S21以產生銳化影像(請參閱圖5),以及將該銳化影像進行平滑濾波器的模糊處理S22(請參閱圖6),濾除橫紋雜訊A與B並平滑化該海床影像,產生海床模糊影像,然後將海床模糊影像進行Otus二值化分割以產生分割影像S23,其中該分割影像包含前景150部分及背景160部分(請參閱圖7,前景150部分係為水團,背景160部分係為海床);及(c)海床邊線偵測與標記步驟S30,利用滑動視窗(sliding window)偵測該分割影像之水團及海床的像素轉換,若符合像素轉換次數為一次,則判定為找到該海
床邊線並標記該海床邊線,進而取得完成標記海床邊線。
The present invention provides a seabed edge detection method capable of filtering horizontal noise. Please refer to FIG. 1 for the method and flow. The method includes the following steps: (a) Input side scan sonar grayscale image step S10, wherein the grayscale image Contains the seabed and water mass information, as well as possible noise interference (such as horizontal noise A and B). The seabed edge is located between the seabed and the water mass, and the horizontal noise is distributed on the seabed and sea. Bedside line and water mass; (b) image pre-processing step S20, including image sharpening S21 to generate a sharpened image (see Figure 5), and the sharpened image is subjected to smoothing filter blur processing S22 (please Refer to Figure 6), filter the horizontal noise A and B and smooth the seabed image to produce a blurred seabed image, and then perform Otus binarization segmentation of the blurred seabed image to generate a segmented image S23, where the segmented image Including the
其中,在(a)輸入灰階影像步驟S10,當側掃聲納控制電腦端收到海床回波訊號強度(dB)後,會依訊號強度轉換成側掃聲納影像,其中,控制電腦可呈現出不同單一色調的側掃聲納影像。在此步驟S10,控制電腦將側掃聲納回波訊號強度進行灰階影像的轉換,有利於後續(b)影像前處理步驟S20及(c)海床邊線偵測與標記步驟S30的處理效率。 Among them, in step S10 of (a) inputting the grayscale image, when the side scan sonar control computer receives the seabed echo signal strength (dB), it will be converted into a side scan sonar image according to the signal strength, where the control computer It can present side scan sonar images with different single tones. In this step S10, the control computer converts the intensity of the side scan sonar echo signal to the grayscale image, which is beneficial to the subsequent (b) image preprocessing step S20 and (c) seabed edge detection and marking step S30. efficient.
其中,在(b)影像前處理步驟S20之影像銳化S21,輸入原始側掃聲納影像與創建一儲存空間用以存放經過影像銳化處理後的銳化影像,而該儲存空間大小(pixel*pixel)與原始側掃聲納影像之影像大小(pixel*pixel)相同。接著初始化濾波核(Filter)的初始位置,使濾波核掃描位置皆從該原始側掃聲納影像的初始位置(0,0)開始。之後將濾波核逐一滑過並覆蓋整張原始側掃聲納影像中的每一原始像素值,並將濾波核大小(kernal size,ksize)k*k個濾波核像素值與原始側掃聲納影像之原始像素值依序進行相乘運算,相乘運算後取得k*k個乘積像素值依序進行加總運算,若加總值大於像素值255,則將該加總值視為上限值255。原始像素值經過影像銳化處理後獲得銳化像素值,計算方式如方程式(1)至(2)所示: Wherein, in the image sharpening S21 of (b) image preprocessing step S20, the original side scan sonar image is input and a storage space is created for storing the sharpened image after the image sharpening process. The size of the storage space ( pixel * pixel ) is the same as the image size (pixel * pixel ) of the original side scan sonar image. Then initialize the initial position of the filter core (Filter), so that the scanning positions of the filter core all start from the initial position (0, 0) of the original side scan sonar image. After that, the filter kernels are slid through and cover each original pixel value in the entire original side scan sonar image, and the filter kernel size ( kernal size, ksize ) k * k filter kernel pixel values are compared with the original side scan sonar image The original pixel values of the image are multiplied in sequence, and k * k product pixel values are obtained after the multiplication. The sum is sequentially summed. If the sum is greater than the pixel value 255, the sum is regarded as the upper limit The value is 255. The original pixel value is processed by image sharpening to obtain the sharpened pixel value. The calculation method is as shown in equations (1) to (2):
進一步,本發明使用的濾波核大小(kernal size,ksize)為5*5,且採用四周漸進往濾波核中心(Anchor)增大的方式,其濾波核內的值設計如下所示,且濾波核內的值設計滿足方程式(3): Further, the filter kernel size ( kernal size, ksize ) used in the present invention is 5*5, and the method of gradually increasing to the center of the filter kernel (Anchor) is adopted. The value design of the filter kernel is as follows, and the filter kernel The value within is designed to satisfy equation (3):
在(b)影像前處理步驟S20之影像模糊S22,本發明使用低通濾波器用以濾除雜訊與平滑化影像。雜訊濾除的對象主要為第一回波干擾物及橫紋雜訊。第一回波干擾物請參閱圖4a的紅框處,其中右舷海床邊線130上的沈船110,使得右舷海床邊線130產生像素點相似於右舷海床52像素點,進而影響海床邊線偵測的正確性;請參閱圖4b的紅框處,其中右舷海床52中的海床物件140受到噪音40的干擾,造成海床物件140受到橫紋雜訊B的遮蓋,因此在進行水下海床物件140的識別過程中,正確率會大幅降低。此外,橫紋雜訊A與B像素值近似於水團像素值,因此在進行海床邊線偵測過程中,海床邊線偵測之正確率也會受到影響。
In the image blurring S22 of (b) image preprocessing step S20, the present invention uses a low-pass filter to filter out noise and smooth the image. The object of noise filtering is mainly the first echo interference and horizontal noise. Please refer to the red box in Figure 4a for the first echo interference. The
使用低通濾波器之計算方式如方程式(4)至(5)所示: The calculation method using low-pass filter is shown in equations (4) to (5):
在(b)影像前處理步驟S20之Otsu二值化S23(Otsu Threshold),將影像平滑化的側掃聲納影像進行影像分割。Otsu二值化S23包含以下步驟:(b1)根據經影像平滑化的側掃聲納影像之像素值,計算該像素值的直方圖,其中該等平滑像素值所構成的平滑像素點按照統計的方式,分布於0到255(pixel)共256個級別,如圖7所示;(b2)將每個像素級別中的像素點數量進行歸一化(normalization),將像素點數量壓縮至0-1的區間,以利於將統計出來之每個像素級別中的像素點數量,予以量化方式表示;(b3)根據像素級別1到254之間的所有平滑像素值及其量化後平滑像素點數量,使用Otsu二值化之計算方程式(6)至(11),用以尋找最佳閾值T。其中,將像素級別1到254之間的所有平滑像素值皆做為閾值T *,並對每個閾值T *計算其群內變異量,進而找出其最小群內變異量且將其判定為最佳閾值T(如圖7紅線所示);(b4)根據最佳閾值T對直方圖中的平滑像素值進行測掃聲納影像的分割,其中若平滑像素值大於或等於最佳閾值T,則該平滑像素值判定為前景,反之則該平滑像素值判定為背景;(b5)取得Otsu二值化影像分割之側掃聲納影像中,前景為海床(像素值為255),背景為水團(像素值為0)。Otsu二值化之計算方式如方程式(6)至(11)所示: In (b) the Otsu binarization S23 (Otsu Threshold) of the image preprocessing step S20, the smoothed side scan sonar image is image segmented. Otsu Binarization S23 includes the following steps: (b1) According to the pixel value of the smoothed side scan sonar image, calculate the histogram of the pixel value, wherein the smooth pixel points formed by the smoothed pixel values are calculated according to statistics Method, distributed in a total of 256 levels from 0 to 255 (pixel), as shown in Figure 7; (b2) Normalize the number of pixels in each pixel level, and compress the number of pixels to 0- The interval of 1, in order to facilitate the quantification of the number of pixels in each pixel level calculated; (b3) According to all the smoothed pixel values between pixel levels 1 to 254 and the number of smoothed pixels after quantization, The calculation equations (6) to (11) of Otsu binarization are used to find the optimal threshold T. Among them, all the smoothed pixel values between pixel levels 1 to 254 are used as the threshold T * , and the intra-cluster variation is calculated for each threshold T * , and then the minimum intra-cluster variation is found and judged as Optimal threshold T (shown by the red line in Figure 7); (b4) According to the optimal threshold T , the smoothed pixel values in the histogram are scanned and scanned sonar image segmentation, where if the smoothed pixel value is greater than or equal to the optimal threshold T , The smooth pixel value is judged as the foreground, otherwise, the smooth pixel value is judged as the background; (b5) In the side scan sonar image obtained by Otsu binarized image segmentation, the foreground is the seabed (the pixel value is 255), and the background It is a water mass (the pixel value is 0). The calculation method of Otsu binarization is shown in equations (6) to (11):
σ(T *)=σ1(T *)+σ2(T *) 方程式(10) σ( T * )=σ 1 ( T * )+σ 2 ( T * ) equation (10)
Otsu二值化結果如圖8所示,圖8a為未經影像銳化及低通濾波處理之結果,圖8b為經影像銳化及低通濾波處理之結果。由圖8a可見,倘若未先進行影像銳化S21及影像模糊S22之雜訊濾除處理,其Otsu二值化的影像分割效果會受到船隻噪音40所產生的橫紋雜訊A與B影響進而造成影像分割錯誤;相對地,由圖8b明顯可見,船隻噪音40干擾所造成的橫
紋雜訊A與B,透過先進行影像銳化S21及影像模糊S22之雜訊濾除的處理,在二值化左舷海床151與二值化左舷水團161,及二值化右舷海床152與二值化右舷水團162的影像分割上,有助於提升影像分割之準確率,有利於後續海床邊線的偵測與標記。
The Otsu binarization result is shown in Fig. 8. Fig. 8a is the result without image sharpening and low-pass filtering, and Fig. 8b is the result after image sharpening and low-pass filtering. It can be seen from Figure 8a that if the noise filtering process of image sharpening S21 and image blurring S22 is not performed first, the image segmentation effect of the Otsu binarization will be affected by the horizontal noise A and B generated by the
在(c)海床邊線偵測與標記步驟S30,包含以下步驟:(c1)根據Otsu二值化側掃聲納影像並透過滑動視窗(sliding window),用以尋找海床邊線特徵S31,請參閱圖9。其中,Otsu二值化側掃聲納影像以影像中心軸劃分為左、右兩個部分,分別偵測左舷海床邊線120及右舷海床邊線130;(c2)S32L、S32R分別利用左舷滑動視窗及右舷滑動視窗,自Otsu二值化側掃聲納影像中,相對於影像中心軸的兩側向影像中心軸進行正向偵測,用以尋找右舷海床邊線130及左舷海床邊線120。左舷滑動視窗170正向滑動順序為C i →,右舷滑動視窗180正向滑動順序為C n →,C為欄200(c3)S32L、S32R和S33之流程,包含以下步驟:(c3.1)當左舷滑動視窗170或右舷滑動視窗180偵測到滑動視窗涵蓋範圍內,發生前景150(像素值為255)轉換成背景160(像素值為0)變化時,且發生像素值變化的次數符合為一次,則該左舷滑動視窗170或右舷滑動視窗180將會停止,並判斷當下左舷滑動視窗170或右舷滑動視窗180之滑動視窗涵蓋範圍,已遮蓋在左舷海床邊線120或右舷海床邊線130之上;反之,若像素值發生變化的次數大於一次,則左舷滑動視窗170或右舷滑動視窗180會繼續往前偵測,直到符合像素值發生變化的次數為一次;(c3.2)滿足符合像素值發生變化的次數為一次的條件後,接著左舷滑動視窗170或右舷滑動視窗180進行反向偵測,反向偵測的滑動順序與正向偵測相反。其中,反向偵測設定之滑動視窗大小(windowsize)小於正向偵測設定之滑動視窗大小,反向偵測的設定步伐為1個像素值之大小(windowsize=1);(c3.3)在步驟
S33,當左舷滑動視窗170或右舷滑動視窗180偵測到滑動視窗涵蓋範圍內發生背景160轉換成前景150的像素值變化時,則將該像素值變化之所在像素視為海床邊線;(c3.4)在步驟S34,將滑動視窗偵測到的發生像素值變化處進行標記。其中,標記海床邊線的滑動順序為R i →R n ,R為列190;(c3.5)在步驟S35判斷是否為最後一列R n ,由於影像輸入後,首先會去讀取該灰階影像的尺寸大小,進而取得其總列數R n 。當判斷為最後一列R n 且完成R n 的海床邊線標記後,則停止標記;(c3.6)在步驟S36,獲得左舷海床邊線120及右舷海床邊線130。其中,由於每筆海床邊線應屬連續,因此所標記之第i筆海床邊線與i+1筆海床邊線並不會落差太大,在影像呈現上形成一條連續的左舷海床邊線120與一條連續的右舷海床邊線130,如圖10所示。
In (c) Seabed edge detection and marking step S30, it includes the following steps: (c1) Binarize the side scan sonar image based on Otsu and use the sliding window to find seabed edge features S31 , Please refer to Figure 9. Among them, the Otsu binarized side scan sonar image is divided into two parts on the left and right of the image center axis, respectively detecting the port side
windowsize=aSize*kSize 方程式(12)其中,windowsize是滑動視窗;aSize與kSize為可任意變動之滑動視窗之大小。 window size = aSize * kSize equation (12) where window size is the sliding window; aSize and kSize are the sizes of the sliding window that can be changed arbitrarily.
補充說明的是,本發明所得到的海床邊線,其驗證方式為計算連續率與對稱率(非專利文獻:Z.Jianhu,W.Xiao,Z.Hongmei,and W.Aixue,A Comprehensive Bottom-Tracking Method for Side Scan Sonar Image Influenced by Complicated Measuring Environment,IEEE Journal of Ocenic Engineeing,November 2016)。其中,分析的側掃聲納灰階影像共有130張,圖11a為左舷海床邊線120連續率,平均達87.8%之效果;圖11b為右舷海床邊線130連續率,平均達94.8%之效果;圖11c為海床邊線對稱率,平均達80.7%之效果。圖12為綜合130張灰階影像的左舷海床邊線120及右舷海床邊線130連續率的平均值,及海床邊線對稱率的平均值。
It is supplemented that the seabed edge obtained by the present invention is verified by calculating the continuity rate and the symmetry rate (non-patent literature: Z. Jianhu, W. Xiao, Z. Hongmei, and W. Aixue, A Comprehensive Bottom -Tracking Method for Side Scan Sonar Image Influenced by Complicated Measuring Environment, IEEE Journal of Ocenic Engineeing , November 2016). Among them, there are a total of 130 side scan sonar grayscale images analyzed. Figure 11a shows the 120 continuity rate of the port side seabed edge, with an average effect of 87.8%; Figure 11b shows the 130 continuity rate of the starboard seabed edge, with an average of 94.8%. The effect; Figure 11c shows the symmetry rate of the seabed edge, with an average effect of 80.7%. Figure 12 shows the average value of the continuity rate of the port
上列詳細說明係針對本發明之一可行實施例之具體說明,惟該實施例並非用以限制本發明之專利範圍,凡未脫離本發明方法精神所為之等效實施或變更,均應包含於本案之專利範圍中。 The above detailed description is a specific description of a possible embodiment of the present invention, but this embodiment is not intended to limit the scope of the present invention. Any equivalent implementation or modification that does not deviate from the spirit of the method of the present invention should be included in In the scope of the patent in this case.
S10-S40:步驟 S10-S40: steps
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW109135544A TWI736446B (en) | 2020-10-14 | 2020-10-14 | Seabed edge detection method capable of filtering horizontal noise |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW109135544A TWI736446B (en) | 2020-10-14 | 2020-10-14 | Seabed edge detection method capable of filtering horizontal noise |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI736446B true TWI736446B (en) | 2021-08-11 |
TW202215368A TW202215368A (en) | 2022-04-16 |
Family
ID=78283154
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW109135544A TWI736446B (en) | 2020-10-14 | 2020-10-14 | Seabed edge detection method capable of filtering horizontal noise |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI736446B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113963171A (en) * | 2021-09-09 | 2022-01-21 | 武汉长江航道救助打捞局 | Method and system for automatically identifying submarine line of shallow stratum section sonar image |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI362629B (en) * | 2008-06-26 | 2012-04-21 | Chunghwa Picture Tubes Ltd | Image process method and apparatus |
CN103165100A (en) * | 2013-02-05 | 2013-06-19 | 华映视讯(吴江)有限公司 | Weight type image enhancing method and system |
US8644565B2 (en) * | 2008-07-23 | 2014-02-04 | Indiana University Research And Technology Corp. | System and method for non-cooperative iris image acquisition |
TWI522934B (en) * | 2014-01-03 | 2016-02-21 | Nat Univ Chin Yi Technology | Gyro sensor license plate recognition system for smart phone and method thereof |
TWI638336B (en) * | 2017-11-22 | 2018-10-11 | 瑞昱半導體股份有限公司 | Image enhancement method and image enhancement apparatus |
-
2020
- 2020-10-14 TW TW109135544A patent/TWI736446B/en active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI362629B (en) * | 2008-06-26 | 2012-04-21 | Chunghwa Picture Tubes Ltd | Image process method and apparatus |
US8644565B2 (en) * | 2008-07-23 | 2014-02-04 | Indiana University Research And Technology Corp. | System and method for non-cooperative iris image acquisition |
CN103165100A (en) * | 2013-02-05 | 2013-06-19 | 华映视讯(吴江)有限公司 | Weight type image enhancing method and system |
TWI522934B (en) * | 2014-01-03 | 2016-02-21 | Nat Univ Chin Yi Technology | Gyro sensor license plate recognition system for smart phone and method thereof |
TWI638336B (en) * | 2017-11-22 | 2018-10-11 | 瑞昱半導體股份有限公司 | Image enhancement method and image enhancement apparatus |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113963171A (en) * | 2021-09-09 | 2022-01-21 | 武汉长江航道救助打捞局 | Method and system for automatically identifying submarine line of shallow stratum section sonar image |
Also Published As
Publication number | Publication date |
---|---|
TW202215368A (en) | 2022-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107167810B (en) | Method for rapidly extracting underwater target by side-scan sonar imaging | |
CN110852959B (en) | Sonar image filtering method based on novel median filtering algorithm | |
CN111445395B (en) | Method for repairing middle area of side-scan sonar waterfall image based on deep learning | |
CN108520511A (en) | A kind of underwater fish target detection and identification method based on fish finder | |
CN110675410A (en) | Side-scan sonar sunken ship target unsupervised detection method based on selective search algorithm | |
CN109785260B (en) | Nonlinear enhancement method for side-scan sonar image | |
CN111105390B (en) | Improved sea-sky-line detection and evaluation method | |
CN116596163B (en) | Image detection-based white croaker resource distribution prediction system and method | |
CN104021553A (en) | Sonar image object detection method based on pixel point layering | |
CN109559321A (en) | A kind of sonar image dividing method and equipment | |
CN108647693B (en) | Sea surface infrared target detection method based on binary significance characteristics | |
TWI736446B (en) | Seabed edge detection method capable of filtering horizontal noise | |
CN114764801A (en) | Weak and small ship target fusion detection method and device based on multi-vision significant features | |
CN115187666A (en) | Deep learning and image processing combined side-scan sonar seabed elevation detection method | |
CN111627030A (en) | Rapid and efficient sea-land accurate segmentation method for visible light remote sensing image | |
Nau et al. | Extended detection of shallow water gas seeps from multibeam echosounder water column data | |
Shih et al. | An adaptive bottom tracking algorithm for side-scan sonar seabed mapping | |
CN116862973A (en) | Underwater dam surface defect measurement method based on acoustics | |
CN115187855A (en) | Seabed substrate sonar image classification method | |
CN116243289A (en) | Unmanned ship underwater target intelligent identification method based on imaging sonar | |
CN113096171B (en) | Multi-scale iterative self-adaptive registration method for multi-beam and side-scan sonar images | |
CN112070765B (en) | Cloth detection method based on double-sided filtering combined improvement OTSU | |
Haghighat et al. | Segmentation, classification and modeling of two-dimensional forward-scan sonar imagery for efficient coding and synthesis | |
CN117953360B (en) | Submarine sand wave ridge line detection method | |
Febriawan et al. | Rapid Hard-bottom Identification Using Unsupervised Classification of Multibeam Bathymetry and Backscatter in Raja Ampat Waters, Indonesia |