Find local maxima in grayscale image using OpenCV

前端 未结 10 2322
暗喜
暗喜 2020-11-30 04:44

Does anybody know how to find the local maxima in a grayscale IPL_DEPTH_8U image using OpenCV? HarrisCorner mentions something like that but I\'m actually not i

10条回答
  •  佛祖请我去吃肉
    2020-11-30 05:48

    I think you want to use the

    MinMaxLoc(arr, mask=NULL)-> (minVal, maxVal, minLoc, maxLoc)
    Finds global minimum and maximum in array or subarray
    

    function on you image

提交回复
热议问题