Filter and Digital Image Processing
本文为课堂笔记,严禁转载
本文为了方便自己复习记录,如有理解不对的地方还望指正。
Purpose of Digital Image Processing
Image procssing I
Image Enhancement (Improving subjective image quality e.g image contrast)
Image Restoration(Improving objective image quality e.g noise)
Image compression(Reducing number of bits)
Geometry(Interpolation)
Scaling
Rotation/Mirroring
Rectification
Warping
Image Processing
image acquistion
preprocessing
segments
Feature extraction(edge detection)
recognition/evalutation
Geometric Image Transformations
Coordinate transformation
Translation
Rotation
Scaling
Shear
Application of Geometry
Image Transfromation
Image stitching
Rectification
Linear alignment/registration
Internal camera orientation
Point Operations
1.Imhomogeneous PO:T is dependent on (x,y)
2.Homogeneous PO: T is Not dependent on (x,y)
Inhomo PO
Background detection
Inhomo PO:
若有f1,f2,f3…fn张图片来自城市十字路口的摄像头,假设摄像头的拍摄角度不变,外界光线等一系列客观条件不变
若得到了图像背景,反过来再有新的图片进来
Pixel-dependent Brightness Correction
Inhmo PO:
以下过程的假设:
1.没有为0的错误函数
2.线性
3.降解过程稳定(个人理解为矩阵可以求逆)
最理想的状态:图像获取信息的敏感度和像素点位置无关
实际操作中:
不平的物体照明
传感器不同位置的敏感度
等都会造成问题
我们在计算调整系数的时候,需要一张参考图像
所以我们需要的图像
Homo PO
Id:
log:
sq-root:
sq:
exp:
Inverse:
灰度值标准化
Histogram Equalization
平均亮度值
填平附近的极小值
一下操作就是将原来的灰度值频率进行累加
累加后的值为1
步骤如下:
1.标准化
2.
3. Histogram Equalization
4.
5.
6.
7.
从点到邻居
Temporal Avg
相同空间点不同时间
最后一项当N无限大的时候趋向0
所以通常
Spatial Avg
相同时间点不同空间(相邻)
该方法在边界容易出错而且容易出现重叠纹理
该方法可以用来降低图像噪音
Median Filtering
取区域内的中位数
该方法能够有效取出shot noise(符合泊松分布)
Convolution
公式在这里,注意这里不是矩阵乘法
Edge Detection
1st order Derivatives
x方向检测y方向的线条
y方向检测x方向的线条
最后组合
2nd order Derivatives