#include #include #include #include #include #include using namespace std; using namespace cv; int main() { Mat image = imread("building.jpg", IMREAD_GRAYSCALE); // basic MSER detector Ptr ptrMSER = MSER::create(5,// delta value for local detection 200,// min acceptable area 2000);// max acceptable area // vector of point sets vector points; // vector of rectangles vector rects; // detect MSER f..
#include #include #include #include using namespace std; using namespace cv; class WatershedSegmenter { private: Mat markers; public: void setMarkers(const Mat& markerImage) { // Convert to image of ints markerImage.convertTo(markers, CV_32SC1); } Mat process(const Mat &image) { // Apply watershed watershed(image, markers); return markers; } Mat getSegmentation() { Mat tmp; // all segment with l..
- Total
- Today
- Yesterday
- laplacian of gaussian
- difference of gaussian
- black top hat
- equalizing
- erosion
- median filter
- Line Detection
- 영상처리
- upsampling
- top hat
- Filter
- morphology
- high pass filter
- pyrUp
- 캐니 엣지
- Low pass filter
- gradient
- mean filter
- segmentation
- canny
- bilateral filter
- dilation
- canny operator
- direction detection
- OpenCV
- morphological operation
- pyrDown
- adaptive thresholding
- Sobel
- hough transform
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |