Lecture 2 Image Enhancement(Point Processing)
数字图像处理与应用 Class 2. 20200429
是什么?
Reason:高亮感兴趣细节、图像去噪、美化图像
栗子:医学图像处理、电路印刷板、人像处理PS
处理的灰度图范围[0,255],归一化后-->[0.0,1.0]
Spatial & Frequency Domains
-
空间域:点处理、邻域处理
-
频域:Manipulation of Fourier transform or wavelet transform
g (x, y) = T[ f (x, y)]
Basic Spatial Domain Image Enhancement
• Point processing
The neighborhood is of size 1×1
Gray-level transformation
• Mask processing or filtering
The neighborhood is defined as a mask, filter, or window.
Filtering
Thresholding
Logarithmic Transformations
s = c * log(1 + r)
动态范围压缩
Power Law Transformation
s = c * r γ
灰度拉伸/压缩
Map a narrow range of dark input values into a wider range of output values or vice versa 反之亦然