代码是直接借鉴的Opencv去除高光_SkyrimDragonBorn的博客-CSDN博客原博客是c++,我这边只是使用python进行翻译了一下参考的论文应该是这个:(1) Real-TimeSpecularHighlightRemovalUsingBilateralFiltering|SpringerLinkInthispaper,weproposeasimplebuteffectivespecularhighlightremovalmethodusingasingleinputimage.Ourmethodisbasedonakeyobservation-themaximumfracti