I have a matrix with a shape of (100000, 20) that consists of 20 images, each (500 *200) in size. I just need to know how can I extract those pixels so that I can have the image shape of (500, 200)?
I tried matrix[:,:,19] but it seems that I just grabbed the values of the last feature, except that this is not my goal. Also when I tried to display it with cv2_imshow(matrix[:,:,19], it returns a black image.
Any help please?