直方图均衡
字数: 0
📊
Histogram Equalization
在图像处理中,直方图表示了每个「灰度级」(像素值)在图像中的出现频率。
通过调整图像的灰度级分布,使图像的直方图更加均匀,从而提高图像的视觉效果,尤其是在图像的亮度对比度较低时。
notion image
notion image
notion image

计算原始图像的直方图

notion image
原始直方图
原始直方图

归一化累积分布函数

  • 归一化:像素级百分比
  • 累计:相加比当前小的所有像素值的百分比
notion image

映射原始灰度值到新的灰度值

notion image
→ 四舍五入
均衡直方图
均衡直方图

例题

Consider the following image with its pixel intensity values
notion image
(a) Compute the histogram of these intensity values using a bin of width 1.
(b) Compute the cumulative distribution function.
notion image
(c) Compute the intensity values of the transformed image using histogram equalization (remove decimal digits for final values) to map a uniform histogram on the interval .
notion image
2023 - 2026