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