How to invert black and white with scikit-image?

后端 未结 5 1237
梦毁少年i
梦毁少年i 2021-01-01 23:30

I read an image with ndimage, which results in a binary image like this:

\"enter

5条回答
  •  鱼传尺愫
    2021-01-01 23:53

    If your image is represented with non-negative floating point values topping out at 1.0, you can use 1 - close_image

提交回复
热议问题