How can I find the most dense regions in an image?

前端 未结 4 506
面向向阳花
面向向阳花 2021-02-02 00:11

Consider a black and white image like this

\"alt

What I am trying to do is to find the region where

4条回答
  •  囚心锁ツ
    2021-02-02 01:09

    if you have the image processing toolbox, blur it with a gaussian filter, then find the peaks/extrema.

    vary the size of the gaussian filter to get the number of 'dense' regions you want.

提交回复
热议问题