16. watershed transformation
#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..
영상처리/OpenCV
2019. 5. 28. 22:11
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- bilateral filter
- upsampling
- direction detection
- top hat
- Low pass filter
- difference of gaussian
- laplacian of gaussian
- mean filter
- OpenCV
- segmentation
- Filter
- morphology
- equalizing
- 영상처리
- pyrDown
- Sobel
- morphological operation
- gradient
- canny
- median filter
- 캐니 엣지
- pyrUp
- erosion
- high pass filter
- adaptive thresholding
- hough transform
- canny operator
- Line Detection
- dilation
- black top hat
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함