We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
是用[0 -1 0, -1 5 -1, 0 -1 0]对图像做卷积吗?为什么得到的图像还不如原图像
使用GIST来上传相关的长文件,然后链接到此处。
The text was updated successfully, but these errors were encountered:
是用增强算子. 请上传增强后的图像以供判断.
Sorry, something went wrong.
上传不上去,请问您有邮箱吗
你可以把代码和结果都发给我 [email protected]
同对这个问题有疑问 1.用[0 -1 0, -1 5 -1, 0 -1 0]对图像做卷积? 2.如果用上述卷积核处理,输出后变为负数的像素如何处理? 🙏
@tureliuyaohua 可以看课件. 如果用 [[0,1,0],[1,-4,1],[0,1,0]] ,则是需要原图减掉变换后的图;如果用[[0,-1,0],[-1,5,-1],[0,-1,0]] ,则直接卷积即可,等效于 用[[0,1,0],[1,-4,1],[0,1,0]] ,且原图减掉变换后图的情况. 最后得到的增强后的图像数组,如果出现超限数值(大于255,或小于0),可以尝试比较 1.负值取绝对值, 2.直接截断 3.做线性映射到(0,255) 三种情况的显示结果,并讨论
感谢老师 试了一下这几种方式,直接截断效果最佳😄
douhaoexia
chendianhao
ShaelynW
zhuzhu18
No branches or pull requests
问题描述
是用[0 -1 0, -1 5 -1, 0 -1 0]对图像做卷积吗?为什么得到的图像还不如原图像
相关文件
使用GIST来上传相关的长文件,然后链接到此处。
The text was updated successfully, but these errors were encountered: