# -*- coding: utf-8 -*-
# @FileName: OTSU最大化内间方差算法
# @Software: PyCharm
# @Author : li Xu
# @Time :2020//11//29
import cv2 as cv
import numpy as np
# from skimage import transform
def OTSU(gray):
hist = cv.calcHist([gray
2024-02-10 12:10:40
# -*- coding: utf-8 -*-
# @FileName: OTSU最大化内间方差算法
# @Software: PyCharm
# @Author : li Xu
# @Time :2020//11//29
import cv2 as cv
import numpy as np
# from skimage import transform
def OTSU(gray):
hist = cv.calcHist([gray