#include #include #include #include using namespace std; using namespace cv; #define PI 3.1415926 class EdgeDetector { private: // original image Mat img; // 16-bit signed int image Mat sobel; // Aperture size of the Sobel kernel int aperture; // Sobel magnitude Mat sobelMagnitude; // Sobel orientation Mat sobelOrientation; public: EdgeDetector() : aperture(3) {} // Set the aperture size of the ..
가끔씩 영상에서 방향성을 계산해야하는 상황이 생긴다. 예를들어 영상에서 두 픽셀 사이에 값을 interpolation 하는 상황이 생길 수 있는데(image sensor level), 방향성을 갖는 부분에서 이전에 언급했던 bilinear interpolation을 한다거나, 일반적인 interpolation 방식을 사용하게 되는 경우 화질적인 측면에서는 눈에 잘 보이는 artifact들이 생겨날 수 있다. 영상에서 방향성이 있는 부분이라면 그 방향성을 따져서 처리를 해줘야 하기 때문이다.(대각선으로 gradation이 있는 선을 생각해보자, 대각선 방향 line을 따라서 interpolation을 해야하지 주위 픽셀을 모두 사용하면 artifact들이 생겨날 수 있음.) 따라서 이번 시간에는 영상에서 ..
- Total
- Today
- Yesterday
- dilation
- Sobel
- direction detection
- pyrDown
- canny operator
- hough transform
- top hat
- high pass filter
- median filter
- OpenCV
- black top hat
- 캐니 엣지
- segmentation
- mean filter
- Low pass filter
- bilateral filter
- difference of gaussian
- adaptive thresholding
- morphology
- gradient
- canny
- equalizing
- pyrUp
- Filter
- erosion
- laplacian of gaussian
- morphological operation
- upsampling
- 영상처리
- Line Detection
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |