摘要 |
<p>A system and method for detecting and reducing mosquito noise are disclosed. Areas within a frame with mosquito noise are detected by calculating the variance of the luminance blocks in a macroblock, determining the minimum variance of the macroblock luminance blocks, and comparing the minimum variance to a mosquito noise threshold. If the minimum variance is greater than the mosquito noise threshold, then the macroblock is considered a high activity macroblock and the corresponding macroblock bit in the frame bitmap is set. If the minimum variance is less than or equal to the mosquito noise threshold, then the macroblock is considered a low activity macroblock, and the corresponding macroblock bit in the frame bit map is cleared. If the current macroblock bit is set in the corresponding frame bitmap or if at least one of its adjacent eight macroblock bits is set in the corresponding frame bitmap, then the current macroblock requires mosquito noise reduction. Mosquito noise in the current macroblock is reduced by reducing the original bit rate quantizer scale to achieve the target of reducing the mosquito noise.</p> |