Spaces:
Sleeping
Sleeping
Commit
·
0898363
1
Parent(s):
bb44b48
Update channel_functions.py
Browse files- channel_functions.py +5 -0
channel_functions.py
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
def individual_channel_image(img_arr, channel= 'r', ax=None):
|
| 2 |
img_arr = img_arr[:,:,0:3]
|
| 3 |
|
|
|
|
| 1 |
+
import matplotlib.pyplot as plt
|
| 2 |
+
import matplotlib.colors as mcolors
|
| 3 |
+
import numpy as np
|
| 4 |
+
import cv2
|
| 5 |
+
|
| 6 |
def individual_channel_image(img_arr, channel= 'r', ax=None):
|
| 7 |
img_arr = img_arr[:,:,0:3]
|
| 8 |
|