The invention belongs to the technical field of
video processing, and particularly relates to a monitoring video enhancement method for a farm, which aims to solve the technical problem of low quality of an enhanced video in the prior art, and comprises the following steps: S1,
processing each frame of image in a monitoring
video sequence frame by frame; s2, distinguishing a target animal area from a background area, and identifying and generating an artifact
mask; s3, aiming at the background area, carrying out key
smoothing processing on the artifact position to inhibit the artifact; s4, for the image of the target animal area, performing adaptive nonlinear enhancement on the brightness component, and performing
color correction on the
chrominance component; s5, performing pixel-
level fusion on the enhanced target animal area and the background area; and S6, spreading the information of the previous frame to the current frame by using the forward
optical flow field, and carrying out weighted fusion on the information of the previous frame and the current frame. According to the method, the target bred animals, the background areas and the artifacts are accurately distinguished, so that refined and differentiated
processing of pictures is realized.