数字图像处理:期末大作业 a year ago 阅读需要 13 分钟 数字图像处理 基本操作from PIL import Image import matplotlib.pyplot as plt import cv2 import numpy as np import platform import math from mpl_toolkits.mplot3d import axes3d if "Ubuntu" in platform.version(): plt.rcParams['font.
数字图像处理:暗通道除雾 a year ago 阅读需要 2 分钟 数字图像处理 雾图模型$$ I(x)=\mathrm{J}(z)\mathrm{t}(x)+\mathrm{A}(1-\mathrm{t}(x)) $$ $I(x)$:待去雾的图像$\mathrm{J}(x)$:无雾图像$\mathrm{A}$:全球大气光成分$\mathrm{t}$:折射率(大气传递系数)导入所需要的库from PIL import Image