This invention proposes a method for observing ocean
waves based on a binocular camera, belonging to the field of
image processing technology. The method includes: S1: The binocular camera captures ocean wave images, generating ocean wave
point cloud data at the
current time t; S2: The ocean wave
point cloud data in S1 is converted to ocean wave
point cloud data in a geodetic coordinate
system; S3: The ocean wave data in S2 undergoes quality screening and optimization, including: selecting the
region of interest, quality screening, converting
noisy data points to null values, null value filling, and
Gaussian filtering; the quality screening classifies the ocean wave data into three levels: excellent, good, and poor; S4: Based on the excellent and good quality ocean wave point
cloud data, the
wave height,
wavelength, and period at that time are calculated; S5: S1-S4 are repeated to obtain multiple frames of ocean wave point
cloud data at different times, and the effective
wave height,
wavelength, period, and wave spectrum are calculated. This method can fill in null values, making the overall data more reasonable and the obtained
elevation data more accurate.