pyplot.imsave() saves image correctly but cv2.imwrite() saved the same image as black
Before converting pic
to uint8
, you need to multiply it by 255 to get the correct range.
Before converting pic
to uint8
, you need to multiply it by 255 to get the correct range.