The invention discloses a fish body length measuring method and
system. The method is realized based on geometric measurement and
statistical model fusion. According to the method, stable and reliable fish body
length measurement under the conditions of complex fish body postures and segmentation errors is realized by constructing a two-channel length
estimation method of a geometric measurement and area statistics model and combining a shape quality index-based adaptive
fusion mechanism. Specifically, geometric measurement length is obtained through fish
body contour extraction and skeleton analysis, a statistical length
estimation model is constructed based on fish
body area and shape features, and area
estimation length is obtained. In order to improve the stability of the
system in a complex scene, a self-adaptive
fusion mechanism based on a shape quality index is further constructed, indexes such as fish
body contour integrity, contour smoothness and a region
filling rate are evaluated, and a measurement credibility weight is calculated; and carrying out adaptive fusion on the geometric measurement result and the area
estimation result according to the weight to obtain a final fish body length estimation value.