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