The invention discloses a
river water surface space-time
image texture direction angle detection method based on a
frequency spectrum adaptive
mask. The method comprises the following steps: step 1, obtaining a space-time image on a
velocity measurement line and an amplitude spectrum thereof by using an image method flow measurement
system; 2, binarizing the amplitude spectrum based on a triangular threshold method, and extracting a highlight part in the amplitude spectrum; step 3, performing contour extraction and
ellipse fitting on the binarization amplitude spectrum in the step 2 based on boundary tracking and a least square method to obtain an
ellipse mask, and performing subsequent texture angle detection by using a minor semi-axis and a major semi-axis of the
ellipse mask; step 4, based on an LSD straight
line segment detection
algorithm, constructing a
direct current mask and applying the
direct current mask to the amplitude spectrum to remove
direct current influence; 5, based on the long semi-axis and the short semi-axis of the elliptical mask in the step 3, coarse-to-fine texture
direction angle detection is carried out; and step 6, carrying out detection result validity identification based on the coarse positioning and fine positioning difference value. According to the method, the direct
current noise in the space-time image amplitude spectrum can be eliminated, the self-
adaptive value taking of the integral
radius parameter is realized, the texture
direction angle detection accuracy under various
noise interferences is improved, and the detection result is effectively identified.