Efficient contours of a non-binary image

前端 未结 0 1379
难免孤独
难免孤独 2021-01-21 19:31

I have this image:

I want to get the contours of every unique (none-zero) value, so basically this output:

[array([[1, 1],
        [3, 2],
        [3, 1]]         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题