只知道网站后台怎么做301,如何开发软件app,高密建设局网站,广州网站建设招聘滤镜介绍
dilation
官网链接 FFmpeg Filters Documentation
膨胀滤镜会使图片变的更亮#xff0c;会让细节别的更明显。膨胀也是形态学中的一种操作#xff0c;在opencv中也有响应的算子。此外膨胀结合此前腐蚀操作#xff0c;可以构成开闭操作。
开操作是先腐蚀…滤镜介绍
dilation
官网链接 FFmpeg Filters Documentation
膨胀滤镜会使图片变的更亮会让细节别的更明显。膨胀也是形态学中的一种操作在opencv中也有响应的算子。此外膨胀结合此前腐蚀操作可以构成开闭操作。
开操作是先腐蚀再膨胀可以达到如下效果 闭操作是先膨胀再腐蚀 具体原理大家可以百度一下哈有很多资源我就不献丑了。
滤镜的使用
参数
erosion/dilation AVOptions:coordinates int ..FV.....T. set coordinates (from 0 to 255) (default 255)threshold0 int ..FV.....T. set threshold for 1st plane (from 0 to 65535) (default 65535)threshold1 int ..FV.....T. set threshold for 2nd plane (from 0 to 65535) (default 65535)threshold2 int ..FV.....T. set threshold for 3rd plane (from 0 to 65535) (default 65535)threshold3 int ..FV.....T. set threshold for 4th plane (from 0 to 65535) (default 65535)coordinates 这个值越小膨胀的效果越不明显threshold0、threshold1、threshol2、threshold3 分别针对的是不同的plane
案例
原图 ffmpeg -i ffm_media/zhizu.jpg -filter_complex dilation result/dilation/dilation_test_003.jpg 可以看出亮了不少、蛛丝粗了不少。 ffmpeg -i ffm_media/zhizu.jpg -filter_complex dilationcoordinates100 result/dilation/dilation_test_004.jpg
coordinates调节小了可以看出蛛丝细了点儿图像整体也暗了点儿对比上一张图。 ## 祝你好运hope(大神多多指点)
topic(有问题可以交流呀)
concat(球球QUN, 61480, 9646)