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