how to use imread?

asked Nov 9 '17

updated Oct 24 '0

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

Preview: (hide)

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 (Nov 9 '17)edit
1

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

VxW gravatar imageVxW (Nov 9 '17)edit

weird in french google only 53 000 000

LBerger gravatar imageLBerger (Nov 9 '17)edit