Ask Your Question

Revision history [back]

You can find answer tou your question in opencv tutorials : storing method it's https://docs.opencv.org/trunk/d6/d6d/tutorial_mat_the_basic_image_container.html and how to access pixel im memory https://docs.opencv.org/trunk/db/da5/tutorial_how_to_scan_images.html

You can find answer tou your question in opencv tutorials : storing method it's https://docs.opencv.org/trunk/d6/d6d/tutorial_mat_the_basic_image_container.html and how to access pixel im memory How is the image matrix stored in memory? https://docs.opencv.org/trunk/db/da5/tutorial_how_to_scan_images.html

You can find answer tou your question in opencv tutorials : storing method it's https://docs.opencv.org/trunk/d6/d6d/tutorial_mat_the_basic_image_container.html and How is the image matrix stored in memory? https://docs.opencv.org/trunk/db/da5/tutorial_how_to_scan_images.html

There is no specific function in opencv to use alpha channel : you will have to write everything yourself. There is no alpha values in image processing.