read | type | RGB | HWC | np_HWC | np_intensity | to_gray | show | save | gray_range | |
---|---|---|---|---|---|---|---|---|---|---|
skimage | io.image | skimage | RGB | HWC | HWC | uint8 | color.rgb2gray | imshow | io.imwrite | 0~1 |
cv2 | imread | numpy | BGR | HWC | HWC | uint8 | cvtcolor | imshow | imwrite | 0~255 |
Image | open | PIL | RGB | WH | HWC | uint8 | convert | im.show | im.save | 0~255 |
skimage、cv2、Image常用命令对比
最新推荐文章于 2022-07-20 11:37:54 发布