Computer Vision
OpenCV: cvFilter2D() 연습 코드
maetel
2010. 4. 4. 00:00
http://en.wikipedia.org/wiki/Convolution
=> 그러므로, DoG (Derivative of Gaussian) 필터도 만들어 넣을 수 있다.
예로, 5x5 Gaussian kernel을 만들어서 필터링하면 다음과 같이 영상을 smoothing하게 된다.
ref.
2010/04/03 - [Visual Information Processing Lab] - Image Filtering
void
cvFilter2D(const
CvArr* src, CvArr* dst, const CvMat* kernel,
CvPoint anchor=cvPoint(-1, -1))¶
Convolves an image with the kernel.
Parameters: |
|
---|
elt3470@naver: 사용자가 kernel에 원하는 행렬을 입력함으로써, LPF, HPF 등을 직접 디자인해서 사용할 수 있습니다.
=> 그러므로, DoG (Derivative of Gaussian) 필터도 만들어 넣을 수 있다.
예로, 5x5 Gaussian kernel을 만들어서 필터링하면 다음과 같이 영상을 smoothing하게 된다.
ref.
2010/04/03 - [Visual Information Processing Lab] - Image Filtering
입력 영상 |
흑백 영상 |
2차원 5x5 Gaussian convolution 영상 (smoothing) |