#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
- morphology
- difference of gaussian
- mean filter
- Filter
- top hat
- direction detection
- OpenCV
- pyrDown
- high pass filter
- median filter
- 캐니 엣지
- gradient
- canny operator
- 영상처리
- dilation
- pyrUp
- laplacian of gaussian
- upsampling
- morphological operation
- erosion
- segmentation
- hough transform
- bilateral filter
- canny
- adaptive thresholding
- Low pass filter
- Sobel
- black top hat
- Line Detection
- equalizing
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |