#include #include #include #include using namespace std; using namespace cv; #define PI 3.1415926 int main() { Mat input = imread("road.jpg", IMREAD_GRAYSCALE); Mat contours; vector lines; // applying canny algorithm Canny(input, contours, 125, 350); /************* Probabilistic hough transform *************/ HoughLinesP(contours,// InputArray lines,// OutputArray 1,// rho PI / 180,// theta (ste..
#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 ..
- Total
- Today
- Yesterday
- pyrUp
- high pass filter
- 영상처리
- top hat
- Low pass filter
- bilateral filter
- OpenCV
- adaptive thresholding
- hough transform
- segmentation
- dilation
- laplacian of gaussian
- upsampling
- median filter
- equalizing
- canny operator
- erosion
- black top hat
- morphological operation
- direction detection
- pyrDown
- morphology
- Filter
- gradient
- 캐니 엣지
- canny
- difference of gaussian
- mean filter
- Line Detection
- Sobel
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |