Initial commit with project files
This commit is contained in:
22
5_Bildanalyse/ü2/d.py
Normal file
22
5_Bildanalyse/ü2/d.py
Normal file
@@ -0,0 +1,22 @@
|
||||
import cv2
|
||||
import numpy as np
|
||||
|
||||
I = np.asarray([
|
||||
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[0, 0, 1, 1, 0, 1, 1, 0, 1, 0],
|
||||
[0, 1, 0, 1, 1, 0, 1, 1, 1, 0],
|
||||
[0, 0, 1, 0, 0, 0, 0, 1, 1, 0],
|
||||
[0, 0, 1, 0, 0, 1, 0, 0, 1, 0],
|
||||
[0, 0, 1, 0, 0, 0, 0, 0, 0, 0],
|
||||
[0, 0, 0, 1, 0, 0, 0, 0, 1, 0],
|
||||
[0, 0, 0, 1, 1, 1, 0, 1, 1, 0],
|
||||
[0, 1, 0, 1, 1, 1, 0, 1, 1, 0],
|
||||
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
], dtype=np.uint8)
|
||||
|
||||
s = np.asarray([
|
||||
[0, 1, 0],
|
||||
[0, 1, 1],
|
||||
[0, 0, 0],
|
||||
], dtype=np.uint8)
|
||||
|
||||
Reference in New Issue
Block a user