Can't we load an image in binary directly??
We can load an image in grayscale directly right. What about binary. Do we have to convert it into binary after grayscale only??
if your image is binary already, you can simply load it with cv2.imread("my.png", cv2.IMREAD_GRAYSCALE)
if your question was "is there a flag to binarize it automatically on loading ?" then - NO.
Asked: 2016-11-20 00:20:26 -0600
Seen: 7,339 times
Last updated: Nov 20 '16