I have started to explore deep into image Processing. Curious to know the answer of a simple question(which I tried googling but I guess I could not find a satisfactory answer): I have an RGB image:
then I applied simple OpenCV command: img=cv2.imread(r'E:\opencv\elephant.jpg',0)
cv2.imwrite('updated_elephant.jpg',img)
and finally got the output image:
Coming back to the question, why is there an increase in the size of the output image?(same thing happens with cv2.cvtColor() function.)Any insight or example relating to this would be appreciated.
Thank You for Your Sincere attention.