opencv python merge different channel images into one

asked 2017-05-22 07:03:40 -0500

U.Swap gravatar image

I have few satellite images each of them represents one channel of main satellite image, these are 11 images in total, each are labled with different channel, all images are in .tiff format with grayscale colorspace, now i simply want's to merge these images into one, to represent all channels into one image, so is this possible, remeber here, I don't want to concat images , which can be done using this:

vis = np.concatenate((img1, img2), axis=1)

I want to merge all of them into one single image , without distorting the data contained within, few channel images are attached below.

enter image description here enter image description here enter image description here enter image description here

Any help is appreciated.

edit retag flag offensive close merge delete

Comments

11 channels per single image? wow. seems that trivial cv2.merge() cannot do it. so probably slices?

electron gravatar imageelectron ( 2017-05-22 12:12:07 -0500 )edit