Add datasets/raise/merge_single_color_channel_images_according_to_bayer_filter.py

This commit is contained in:
2024-04-18 00:41:43 +02:00
parent faaf3eb263
commit fddb89c64a

View File

@@ -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: