图像增强(image enhancement)的方法主要分为两大类:
(1) 空间域方法(spatial domain methods)
(2) 频域方法(frequency domain methods).
图像增强的主要目的是通过修改图像的attribute, 使得得到的图像suitable for a given task and specific observe。
在spatial domain的techniques 中, 我们直接处理的是the image pixels。
在frequency domain 的technique 中, 我们首先将我们的图像通过fourier transform 转换到频域中, 然后我们在对图像图像的fourier tranform
进行所有的enhancement opertions, 最后再通过inverse fourier tranform 转换到空间域图像, 这就是我们最终的图像了。
图像增强操作主要是修改图像的brightness, contrast, 或者the distribution of the grey level。
图像曾强的数学表达式如下:
对于一幅输入图像f, 经过一个tranform T, 将图像映射成另一幅图像g。
对于spatial techniques, 我们记r 和s 分别为 the values of pixels in f and g, 这样, 有如下:
这里我们只考虑灰度图像, 输入输出的像素的范围为[0, 255]。
下面, 我们主要谈论的是image enhancement using spatial domain techniques。 而spatial domain enhancement 有细分为如下两类方法:
(1) point processing operation
(2) histogram processing(直方图处理)
(1) point processing operation(注意一下凡是遇到范围为[0, 1]的灰度, 均是归一化后的)
1.1 compute the negative of an image(求图像的负图)
对于一幅 R x C 灰度图像 I(r, c), 该幅图像的negative 表示为 N(r, c), 则表示如下:
求得一幅图像的negative image 的好处是能够增强 white or grey detail embeded in dark region of an image。
2.2 thresholding tranformations(阈值变换)
阈值变换能够方便我们isolate an object of int