how to use imread?

asked 2017-11-08 20:23:40 -0600

updated 2020-10-24 02:07:35 -0600

about the function - imread Second argument is a flag which specifies the way image should be read. cv2.IMREAD_COLOR : Loads a color image. Any transparency of image will be neglected. It is the default flag. cv2.IMREAD_UNCHANGED : Loads image as such including alpha channel

what does transparency mean?

what kind of image have alpha channel,can i add alpha channel into a image using openCV, and how to write out?

can you guys give some examples? thanks a lot

edit retag flag offensive close merge delete

Comments

alpha channel means nothing in image processing. It's agraphics technic. if you want to use this alpha chanel you can use add weighted function.

LBerger gravatar imageLBerger ( 2017-11-09 03:00:54 -0600 )edit
1

I'm getting 54 500 000 results in google if I type in: "what is transparency in image"

VxW gravatar imageVxW ( 2017-11-09 05:34:52 -0600 )edit

weird in french google only 53 000 000

LBerger gravatar imageLBerger ( 2017-11-09 07:07:45 -0600 )edit