High Pass Filter for image processing in python by using scipy/numpy

前端 未结 5 708
走了就别回头了
走了就别回头了 2021-01-30 04:34

I am currently studying image processing. In Scipy, I know there is one median filter in Scipy.signal. Can anyone tell me if there is one filter similar to high pass filter?

5条回答
  •  醉梦人生
    2021-01-30 05:23

    One simple high-pass filter is:

    -1 -1 -1
    -1  8 -1
    -1 -1 -1
    

    The Sobel operator is another simple example.

    In image processing these sorts of filters are often called "edge-detectors" - the Wikipedia page was OK on this last time I checked.

提交回复
热议问题