Add datasets/raise/merge_single_color_channel_images_according_to_bayer_filter.py
This commit is contained in:
parent
faaf3eb263
commit
fddb89c64a
@ -0,0 +1,11 @@
|
||||
from PIL import Image
|
||||
from utils import Color
|
||||
|
||||
color = Color.BLUE
|
||||
image = Image.open(f'mean_flat-field_nef_wavelet_{color}.png')
|
||||
#print(image.size)
|
||||
|
||||
newImage = Image.new('RGB', [dimension * 2 for dimension in image.size])
|
||||
#print(newImage.size)
|
||||
|
||||
for color in Color:
|
Loading…
Reference in New Issue
Block a user