검색결과 리스트
글
Non-Photorealistic Rendering
컴퓨터비전/영상처리/OpenCV
2015. 7. 30. 05:03
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 32 | // Non-Photorealistic Rendering using OpenCV // using OpenCV 3.0 Version #include <cv.hpp> using namespace std; using namespace cv; int main() { Mat im = imread("img/cow.jpg"); Mat imout, imout_gray; // Edge preserving filter with two different flags; edgePreservingFilter(im, imout, RECURS_FILTER); imwrite("img/edge-preserving-recursive-filter.jpg", imout); edgePreservingFilter(im, imout, NORMCONV_FILTER); imwrite("img/edge-preserving-normlized-convolution-filter.jpg", imout); // Detail enhance filter detailEnhance(im, imout); imwrite("img/detail-enhance.jpg", imout); // Pencil sketch filter pencilSketch(im, imout_gray, imout); imwrite("img/pencil-sketch.jpg", imout_gray); // stylization filter stylization(im, imout); imwrite("img/stylization.jpg", imout); } | cs |
Domain Transform for Edge-aware Filtering
'컴퓨터비전/영상처리 > OpenCV' 카테고리의 다른 글
ApplyColorMap for pseudocoloring (0) | 2015.07.30 |
---|---|
OpenCV SeamlessCloning (1) | 2015.07.30 |
High Dynamic Range Imaging(HDR) (2) | 2015.07.19 |
OpenCV Principal Component Analysis(PCA) (0) | 2015.07.19 |
OpenCV Scene Change Detection(장면 전환 검출) (0) | 2015.07.19 |