Compartilhamento de tecnologia

OPenCV implementa equalização de histograma ---- 20240711

2024-07-12

한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina

# 直方图均衡化

import cv2
import numpy as np
import matplotlib.pyplot as plt


# 读取彩色图像
img = cv2.imread("./pictures/Lena.jpg")

# 检查图像是否加载成功
if img is None:
    print("Could not open or find the i
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12