''' /summary
''' remarks/remarks
Protected Sub MakeGaussMatrix()
Dim Q As Double = Radius / 2
If (Q = 0.0) Then Q = 0.1
Dim n As Integer = Radius * 2 + 1
Dim index As Integer = 0
nuclear = 0
ReDim gaussMatrix(n * n)
Dim x As Integer
Dim y As Integer
For x = -Radius To Radius
For y = -Radius To Radius
gaussMatrix(index) = Math.Round(Math.Exp(-((x * x + y * y)) / (2.0 * Q * Q)) / (2.0 * Math.PI * Q * Q) * 1000.0)
nuclear += gaussMatrix(index)
index += 1
Next
Next
End Sub
End Class
使用方法.
Dim bmp As Bitmap = PictureBox1.Image.Clone
Dim x As New gaoshiBLUR
x.Radius = 30
x.MaskShadow(bmp)
PictureBox2.Image = x.newbmp.Clone
关于vb.net图片描边和vb中图片框的介绍到此就结束了,不知道你从中找到你需要的信息了吗 ?如果你还想了解更多这方面的信息,记得收藏关注本站 。
- mongodb存储文件如何存储 mongodb海量图片存储
- mongodb存图片有什么优势 mongodb图片的存储与读取
- mongodb存储图片和文件实践 mongodb存文件和表
- mongodb如何存储文件 mongodb怎么存储图片
- mongodb 存储图片 用mongodb存储图片
- mongodb 视图 mongodb存图片优势
- redis存储图片二进制数据 redis存图片流
- mysql图片用什么数据类型 mysql数据库中加图片
- redis可以缓存图片吗 redis怎么加缓存图片
- mongodb保存图片 mongodb如何保存图
