Initial commit with project files

This commit is contained in:
2025-06-27 14:34:11 +02:00
commit 7ea3207e63
310 changed files with 9331 additions and 0 deletions

41
5_Bildanalyse/ü12/a.py Normal file
View File

@@ -0,0 +1,41 @@
import numpy as np
import cv2
from matplotlib import pyplot as plt
def n1(hist, s):
...
def n2(hist, s):
...
def mean(hist):
...
def mu1(hist, s, n):
...
def mu2(hist, s, n):
...
def sigma1(hist, s, n, mu):
...
def sigma2(hist, s, n, mu):
...
def Q(hist, s):
...
''' Load data '''
# Load images and template
img = cv2.imread("../../data/cameraman.png", cv2.IMREAD_GRAYSCALE)