abstract |
The invention relates to a water gauge image analysis method, relates to the technical field of water gauge measurement, and solves a problem that the value of ship draught is difficult to measure precisely through naked eyes under severe weather conditions. The method comprises the steps: carrying out the channel binarization processing of an HIS color space of a collected water gauge image of ship draught, carrying out the thresholding processing of the water gauge image after binarization processing, and extracting the position of a waterline; obtaining the position of a lower edge of a first scale character above the waterline through employing a method of row-by-row binarization, and calculating the distance from the waterline to the lower edge of the first scale character; recognizing the first scale character above the waterline; and calculating the ship draught value according to the distance from the waterline to the lower edge of the first scale character and the recognized first scale character. The method can analyze the ship draught value conveniently, quickly and effectively under the severe weather conditions. |