Python, Image Processing, Kernel, Matplotlib, TensorFlow.
Red channel red_image = np.zeros_like(image_array) red_image[:, :, 0] = image_array[:, :, 0] # Red channel plt.subplot(1, 4, 1) plt.imshow(red_image) plt.title(titles[0]) plt.axis('off') # Display the Green channel green_image = np.zeros_like(image_array) green_image[:, :, 1] = image_array[:, :, 1]