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)

