Add datasets/raise/split_and_compare_prnus_of_subgroups.py
This commit is contained in:
parent
90a806a7e2
commit
ea00f42c58
12
datasets/raise/split_and_compare_prnus_of_subgroups.py
Normal file
12
datasets/raise/split_and_compare_prnus_of_subgroups.py
Normal file
@ -0,0 +1,12 @@
|
||||
from PIL import Image
|
||||
import numpy as np
|
||||
import sys
|
||||
|
||||
sys.path.insert(0, '../../algorithms/image_utils/')
|
||||
|
||||
from image_utils import showImageWithMatplotlib
|
||||
|
||||
imagePath = 'flat-field/TIF/flat_001.tif'
|
||||
imagePil = Image.open(imagePath).convert('F')
|
||||
imageNpArray = np.array(imagePil)
|
||||
showImageWithMatplotlib(imageNpArray)
|
Loading…
x
Reference in New Issue
Block a user