implement Woodcut image by matlab
2 次查看(过去 30 天)
显示 更早的评论
I would like to woodcut an image by following the instruction of
For the instruction:
"Colorize the result from above and adds the mix amount of transparency"
"Crops the center of woodfile and modulates the sat and hue"
Could anyone tells how can it be complete in matlab?
0 个评论
回答(1 个)
Image Analyst
2014-4-29
Try rgb2gray() and conv2()
grayImage = double(rgb2gray(rgbImage));
windowSize = 11; % whatever...
blurKernel = ones(windowSize)/windowSize^2;
blurredImage = conv2(grayImage, blurKernel, 'same');
To sharpen, look at my dogfilter demo, attached. So give that a try and see what you can come up with.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!