DebasishDhal99 commited on
Commit
a3f3361
·
1 Parent(s): 7e20959

Update channel_functions.py

Browse files
Files changed (1) hide show
  1. channel_functions.py +1 -1
channel_functions.py CHANGED
@@ -89,7 +89,7 @@ def channel_distribution_plotter(img_array):
89
  plt.title("Blue Channel")
90
 
91
  plt.subplot(2,2,4)
92
- plt.imshow(cv2.cvtColor(img_array,cv2.COLOR_BGR2RGB))
93
  # plt.imshow(cv2.cvtColor(img_array,cv2.COLOR_RGB2BGR))
94
  plt.title("Original Image")
95
 
 
89
  plt.title("Blue Channel")
90
 
91
  plt.subplot(2,2,4)
92
+ plt.imshow(cv2.cvtColor(np.flip(img_array, axis=-1),cv2.COLOR_BGR2RGB))
93
  # plt.imshow(cv2.cvtColor(img_array,cv2.COLOR_RGB2BGR))
94
  plt.title("Original Image")
95