綜整運用各式深度估測資料集以推動光流之學習
Skin the sheep not only once: Reusing Various Depth Datasets to Drive the Learning of Optical Flow
摘要
光流估計是各種計算機視覺應用中至關重要的組成部分。由於在現實場景中收集具正確標註之光流訓練數據的困難性,大多數現有的光流學習方法仍然使用合成數據集進行監督式訓練,或者利用相鄰影幀之間的光度一致性來進行無監督學習。前者通常存在泛化性問題,而後者的性能通常不如監督式方法。為了應對這些挑戰,本文提出利用光流估計與立體匹配之間的幾何關聯(基於在圖像之間找到像素對應點的相似性)來統整各種真實世界中之深度估測數據集,用以轉化生成出光流的監督訓練數據。具體而言,我們通過合成虛擬視差將單眼深度數據集轉化為立體數據集,從而產生沿水平方向的光流;並且,我們將虛擬相機運動引入立體數據集中,以生成沿垂直方向的額外光流。此外,我們提出在光流對(即兩張具光流相關性之圖像)中的其一圖像上應用幾何數據增強的技術,以鼓勵光流估計模型從更具挑戰性的情況中學習。最後,由於在不同的幾何增強下,光流圖實際上展現出不同的特徵,因此我們使用輔助分類器(該分類器訓練以從光流圖的外觀中識別增強類型)來進一步增強光流估計模型的學習。我們提出的方法是通用的且不受特定光流估計模型的限制,在基於各種數據集和光流估計模型的廣泛實驗中驗證了其有效性和優越性。
Optical flow estimation is a crucial component for various computer vision applications. As the difficulty of collecting groundtruth optical flow in the real-world scenario, most of the existing methods of learning optical flow still adopt synthetic dataset for performing supervised training or utilize photometric consistency across temporally adjacent video frames to drive the unsupervised learning, where the former typically has issues of generalizability while the latter usually performs worse than the supervised ones. To tackle such challenges, in this paper, we propose to leverage the geometric connection between optical flow estimation and stereo matching (based on the similarity upon finding pixel correspondences across images) to unify various real-world depth estimation datasets for generating supervised training data upon optical flow. Specifically, we turn the monocular depth datasets into stereo ones via synthesizing virtual disparity, thus leading to the flows along the horizontal direction; moreover, we introduce virtual camera motion into stereo data to produce additional flows along the vertical direction. Furthermore, we propose applying geometric augmentations on one image of an optical flow pair, encouraging the optical flow estimator to learn from more challenging cases. Lastly, as the optical flow maps under different geometric augmentations actually exhibit distinct characteristics, an auxiliary classifier which trains to identify the type of augmentation from the appearance of the flow map is utilized to further enhance the learning of the optical flow estimator. Our proposed method is general and is not tied to any particular flow estimator, where extensive experiments based on various datasets and optical flow estimation models verify its efficacy and superiority.