Initial commit with project files
This commit is contained in:
14
4_Farbrepräsentationen/ü6/l_a.py
Normal file
14
4_Farbrepräsentationen/ü6/l_a.py
Normal file
@@ -0,0 +1,14 @@
|
||||
import numpy as np
|
||||
|
||||
from color_code import additive_color_plot
|
||||
|
||||
img = np.zeros((300, 500, 3), dtype=np.uint8)
|
||||
|
||||
img[0:50, 0:500] = [0, 0, 255]
|
||||
img[50:100, 0:500] = [0, 136, 255]
|
||||
img[100:150, 0:500] = [0, 255, 255]
|
||||
img[150:200, 0:500] = [0, 255, 0]
|
||||
img[200:250, 0:500] = [255, 0, 0]
|
||||
img[250:300, 0:500] = [255, 0, 136]
|
||||
|
||||
additive_color_plot(img)
|
||||
Reference in New Issue
Block a user