應用粒子群演算法與雙眼視覺技術於物體直徑與深度估測之研究
A Study of Object’s Depth and Diameter Estimation using Particle Swarm Optimization and Binocular Vision
摘要
本論文主要探討如何將最佳化方法應用於物體成像之分析,並將影像處理技術結合於雙眼視覺的深度感測中。由於近年來人工智慧的興起,電腦視覺與圖形識別被廣泛運用於各領域中,例如:智慧農業、醫學影像重建、車牌辨識等,這些應用往往涉及大數據的蒐集與影像特徵的抓取,並經由進一步的計算、分類與優化,幫助電腦更有脈絡地進行學習,模擬人腦的判斷能力。
因此,本論文欲建立一套結合影像處理、最佳化演算法與立體視覺的物體大小估測方法,以實驗的方式逐步釐清物體成像、實際尺寸與擺放位置間的關係,並搭配粒子群優化提升研究結果的泛化性。實作過程中,會提取物體的二維特徵,如顏色與紋理,透過最小平方法進行形狀與紋路特徵的擬合,此外本論文也以兩台搭配光學鏡頭的工業相機建立一雙眼視覺系統,藉由針孔成像原理的分析與相機模型所推導出之公式,計算物體的三維深度特徵,以估測物體於空間中的位置及其表面的深度變化,試著建立物體的3D成像模型。
因此,本論文欲建立一套結合影像處理、最佳化演算法與立體視覺的物體大小估測方法,以實驗的方式逐步釐清物體成像、實際尺寸與擺放位置間的關係,並搭配粒子群優化提升研究結果的泛化性。實作過程中,會提取物體的二維特徵,如顏色與紋理,透過最小平方法進行形狀與紋路特徵的擬合,此外本論文也以兩台搭配光學鏡頭的工業相機建立一雙眼視覺系統,藉由針孔成像原理的分析與相機模型所推導出之公式,計算物體的三維深度特徵,以估測物體於空間中的位置及其表面的深度變化,試著建立物體的3D成像模型。
This thesis mainly discusses how to apply the optimization methods to the analysis of object imaging, and combine the image processing technology with the depth sensing of binocular vision. Due to the rise of artificial intelligence in recent years, computer vision and image recognition have been widely used in various fields, such as: intelligent agriculture, medical image reconstruction, license plate recognition, etc. These applications often involve the collection of big data and the capture of image features, and through further calculation, classification and optimization, it helps the computer to learn more systematically and simulates the judgment of the human brain.
Therefore, this paper intends to establish an object size estimation method that combine image processing, optimization algorithms, and stereo vision, and gradually clarify the relationship between object imaging, actual size and placement position through experiments, and use particle swarm optimization to improve the generality of research results. In the implementation, the two-dimensional features of the object, such as color and texture, are extracted, and the shape and texture features are fitted by the least square method. In addition, this paper uses two industrial cameras with optical lenses to establish a binocular vision system and calculate the three-dimensional depth feature of the object by analyzing the principle of pinhole imaging and the formula derived from the camera model to estimate the position of the object in space and the depth change of its surface, and try to build a 3D imaging model of the object.
Therefore, this paper intends to establish an object size estimation method that combine image processing, optimization algorithms, and stereo vision, and gradually clarify the relationship between object imaging, actual size and placement position through experiments, and use particle swarm optimization to improve the generality of research results. In the implementation, the two-dimensional features of the object, such as color and texture, are extracted, and the shape and texture features are fitted by the least square method. In addition, this paper uses two industrial cameras with optical lenses to establish a binocular vision system and calculate the three-dimensional depth feature of the object by analyzing the principle of pinhole imaging and the formula derived from the camera model to estimate the position of the object in space and the depth change of its surface, and try to build a 3D imaging model of the object.