error: overloaded function with no contextual type information 错误:没有上下文类型信息的重载函数(和opencv自带的函数max重名了)
解决办法:把自己的max函数名改一改