利用 RGB-D 圖像和深度模型進行河床質粒徑調查
Riverbed grain size survey using RGB-D images and deep learning model
摘要
河床的沖淤變化與河川的水位和流量有密不可分的關係,透過水理演算的模擬可以了解河床型態變化。其中河床質粒徑是進行水理演算模擬非常重要的參數,因此如何有效且快速的調查河床粒徑是一道刻不容緩的議題。隨著硬體以及軟體技術的進步,許多新興的儀器(空拍機)以及方法(影像辨識)也被應用在河床調查當中,其中空拍正射影像之粒徑分析解決了傳統粒徑調查(如網格法)無法調查大面積河床及成本過高的問題,但依舊無法立即在野外獲得粒徑資訊。近年來,利用影像辨識技術可以快速調查河床質粒徑,但由於解析度的不確定因素,以及考慮多種河床質場景的分割效能,影像的粒徑辨識依舊有其應用限制性。因此,本研究透過軟硬體的結合,合併各種方法之優點,解決過往方法在辨識上的缺陷。本研究使用 Intel RealSense Depth Camera D435 獲取場景深度資訊,並開發了使用河床影像色彩及深度訊息進行河床質影像分析之方法(稱之 RGBDgrains),並將該方法與深度學習模型Imagegrains 結合,將深度及色彩所捕獲到之影像與Imagegrains 進行粒徑像素大小的篩選,擬合最終的粒徑,該方法稱之為 RGBDimagegrains。RGBDimagegrains 改善了無法細緻化分割場景以及無法追蹤該大顆粒粒徑之邊緣之缺點,透過深度描述河床質的距離特性,並且結合色彩資訊可以進一步有效獲取卵粒石河床之粒徑資訊。最後,利用三種類型之河床影像之粒徑曲線分析以及解析度試驗來驗應各方法之間的分割效能,在解析度試驗中 70 mm 以上之粒徑以及 28.6 mm 至 38.1 mm 之間的表現上,RGBDimagegrains 與真實解 析度 1.0744(mm/pixel) 平均誤差 值僅 有0.0993(mm/pixel) 以及0.0927(mm/pixel) ; 而 PebblecountAuto 之 平 均 誤 差 則 為0.2026(mm/pixel)以及 0.1913(mm/pixel),證明本研究開發了一項融合各項之優點的河床質粒徑調查方法,用來改善過往在河床質粒徑辨識上軟硬體的限制。
The scouring and silting changes of riverbeds are closely related to the water levels and flow rates of rivers. The morphological changes of the riverbed can be understood through hydrodynamic simulations. Among these, the grain size of the riverbed is a crucial parameter for conducting such simulations. Therefore, how to effectively and quickly investigate riverbed grain size is an urgent issue. With the advancement
of hardware and software technology, many emerging instruments (e.g., unmanned aerial vehicle, UAV) and methods (e.g., image recognition
analysis) have also been applied to riverbed investigations. Improvements in hardware have addressed the limitations of traditional grain size survey methods (such as the pebble count), which cannot survey large areas of the riverbed and are cost-prohibitive. However, these improvements still do not allow for the field survey of grain size information in near real-time. In recent years, the use of image recognition technology has enabled the rapid investigation of riverbed grain size. However, due to uncertainties in resolution and the segmentation performance across multiple scenes, grain size recognition from images remains a challenging task. Therefore, this study combines hardware and software, integrating the advantages of various methods to address the shortcomings of previous segmentation techniques. This study uses the Intel RealSense Depth Camera D435 to obtain scene depth and develop a method called RGBDgrains, which analyzes riverbed images using both color and depth information. This method is combined with the deep learning model (Imagegrains) to compare the grain size mask pixel captured by depth and color, resulting in a final grain size estimation called RGBDimagegrains. RGBDimagegrains addresses the shortcomings of previous methods by improving the detailed segmentation of scenes and tracking the edges of larger grain sizes. By describing the distance characteristics of riverbed materials through depth information and combining it with color information, it effectively captures the grain size information of gravel riverbeds. Finally, the three types of riverbed images of grain size curve analysis and resolution tests were conducted to validate the segmentation performance of the different methods. In the resolution tests, for grain sizes above 70 mm and between 28.6 mm to 38.1 mm, RGBDimagegrains showed an average error of only 0.0993 (mm/pixel) and 0.0927 (mm/pixel) compared to the true resolution of 1.0744 (mm/pixel). On the other hand, the average error for PebblecountAuto was 0.2026 (mm/pixel) and 0.1913 (mm/pixel).This study has demonstrated the development of a riverbed grain size investigation method that combines various advantages, overcoming the hardware and
software limitations of previous grain size identification techniques.
of hardware and software technology, many emerging instruments (e.g., unmanned aerial vehicle, UAV) and methods (e.g., image recognition
analysis) have also been applied to riverbed investigations. Improvements in hardware have addressed the limitations of traditional grain size survey methods (such as the pebble count), which cannot survey large areas of the riverbed and are cost-prohibitive. However, these improvements still do not allow for the field survey of grain size information in near real-time. In recent years, the use of image recognition technology has enabled the rapid investigation of riverbed grain size. However, due to uncertainties in resolution and the segmentation performance across multiple scenes, grain size recognition from images remains a challenging task. Therefore, this study combines hardware and software, integrating the advantages of various methods to address the shortcomings of previous segmentation techniques. This study uses the Intel RealSense Depth Camera D435 to obtain scene depth and develop a method called RGBDgrains, which analyzes riverbed images using both color and depth information. This method is combined with the deep learning model (Imagegrains) to compare the grain size mask pixel captured by depth and color, resulting in a final grain size estimation called RGBDimagegrains. RGBDimagegrains addresses the shortcomings of previous methods by improving the detailed segmentation of scenes and tracking the edges of larger grain sizes. By describing the distance characteristics of riverbed materials through depth information and combining it with color information, it effectively captures the grain size information of gravel riverbeds. Finally, the three types of riverbed images of grain size curve analysis and resolution tests were conducted to validate the segmentation performance of the different methods. In the resolution tests, for grain sizes above 70 mm and between 28.6 mm to 38.1 mm, RGBDimagegrains showed an average error of only 0.0993 (mm/pixel) and 0.0927 (mm/pixel) compared to the true resolution of 1.0744 (mm/pixel). On the other hand, the average error for PebblecountAuto was 0.2026 (mm/pixel) and 0.1913 (mm/pixel).This study has demonstrated the development of a riverbed grain size investigation method that combines various advantages, overcoming the hardware and
software limitations of previous grain size identification techniques.