#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 int main() { Mat image = imread("road.jpg", IMREAD_GRAYSCALE); // Apply Canny algorithm Mat contours; Canny(image, contours, 125, 350); //*************** Basic hough transform *************** // Mat BasicHoughTransform; image.copyTo(BasicHoughTransform); // Hough transform for line detection vector ..
#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
- direction detection
- mean filter
- hough transform
- segmentation
- difference of gaussian
- 캐니 엣지
- canny
- laplacian of gaussian
- black top hat
- Line Detection
- 영상처리
- high pass filter
- median filter
- Sobel
- pyrUp
- equalizing
- top hat
- Low pass filter
- bilateral filter
- erosion
- canny operator
- morphological operation
- adaptive thresholding
- OpenCV
- morphology
- pyrDown
- upsampling
- gradient
- Filter
- dilation
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |