Guide for VB.NET
Core Document Formats
Additional Features

VB.NET Imaging - Image Filtering Using VB.NET

Detailed guide and sample codes for image filtering manipulation in VB.NET

VB.NET
Home > .NET Imaging SDK > VB.NET > Image Filtering
To get started with DocImage SDK for .NET, you are supposed to read VB.NET Imaging: Get Started first!

Do you ever wonder how you can apply some image filtering effects in your Visual Basic .NET image processing application? RasterEdge .NET Image SDK provides many different and interesting filters for your pictures / photos with simple and a few Visual Basic .NET programming codings, while you do not need to install Adobe Photoshop at all.
Related .net document control helps:
asp.net edit pdf image control: ASP.NET PDF Image Edit Control: online insert, edit PDF images in C#
asp.net pdf viewer control free: ASP.NET PDF Viewer Control: view, navigate, zoom Adobe PDF document in C# ASP.NET
asp.net image viewer jquery: ASP.NET Image Viewer Control(MVC & WebForms): view, annotate, redact, convert image files in html, JQuery
powerpoint viewer asp.net mvc: ASP.NET PowerPoint Document Viewer Control (MVC & WebForms): view ppt, pptx files online in C# using ASP.NET
asp.net pdf editor component: EdgePDF: ASP.NET PDF Editor Web Control: Online view, annotate, redact, edit, process, convert PDF documents
asp.net edit pdf image control: ASP.NET PDF Image Edit Control: online insert, edit PDF images in C#
asp.net pdf viewer control free: ASP.NET PDF Viewer Control: view, navigate, zoom Adobe PDF document in C# ASP.NET
RasterEdge image processing library for Visual Basic .NET has included several widely used filters for you to easily add these image editing effects to your pictures in .NET projects. The most popular ones are the image sharpening filter, image blurring filter and the image antique effect filter.
If you have a blurry picture that was taken with a shaky hand, you can sharpen the image to bring out the details with the "sharpen" function of this Visual Basic .NET image processing control library. If you have a photograph and you want to blur it a little bit to make it obscure, this component SDK will also meet your requirement. What if you want to process a photo to make it look like an old one that was taken years ago? You can simply apply the "antique" effect to the image so you can add a sense of history to it.
This guide will demonstrate different kinds of image filters and VB.NET sample codes for you. Here are the sections which will be mentioned in the later paragraphs:
  • How to sharpen an image with VB.NET image filter library
  • How to add antique effect to an image with Visual Basic .NET image filter library
  • How to blur an image with VB.NET image filter library
  • Some more Visual Basic .NET tutorials for image processing
Sharpen Image Filter in VB.NET
Using RasterEdge image filter for Visual Basic .NET, developer can easily sharpen either a single image or multiple ones by compiling a few lines of VB.NET codes. This function can greatly enhance the image line structures / edges, which will lead to a better picture with emphasized image details.
Public Shared Sub SharpenImageDemo()

Dim fileName As String = "c:/Sample.png"

Dim reImage As REImage = REFile.OpenImageFile(fileName)

Dim newImage As REImage = ImageProcessing.ApplySharpen(reImage)

REFile.SaveImageFile(newImage, "c:/reimage.png", New PNGEncoder())

End Sub
Antique Image Filter in VB.NET
What do you do if you have a digital photograph and you want to add an effect to it to make it look old and vintage? If you don't have Adobe Photoshop integrated to your project, you can have a try with this RasterEdge Image SDK for .NET, which includes an image filter processing library to provide you with image antique effect.
This antique effect can apply a sepia tone to your image to make it look historic and aging. And this goal can be achieved simply with the Visual Basic .NET demo codes we have prepared below:
Public Shared Sub AntiqueEffectImageDemo()

Dim fileName As String = "c:/Sample.png"

Dim reImage As REImage = REFile.OpenImageFile(fileName)

ImageProcessing.ApplyAntiqueEffect(reImage)

REFile.SaveImageFile(reImage, "c:/reimage.png", New PNGEncoder())

End Sub
Blur Image Filter in VB.NET
There are times when you want to sharpen an image in VB.NET, and there are also times when you want to blur an image. You can try this RasterEdge .NET Image SDK for .NET, which supports blurring an image in three different ways: the ApplyBlur filter used for image general blurring, the ApplyBlurGaussian filter used to image blurring with the Gaussian algorithm, and the ApplyBlurUniform applied to an image for Uniform blurring.
Visual Basic .NET Demo Code for Image Blurring:
Public Shared Sub BlurImageDemo()

Dim fileName As String = "c:/Sample.png"

Dim reImage As REImage = REFile.OpenImageFile(fileName)

Dim newImage As REImage = ImageProcessing.ApplyBlur(reImage)

REFile.SaveImageFile(newImage, "c:/reimage.png", New PNGEncoder())

End Sub
Visual Basic .NET Demo Code for Gaussian Image Blurring:
Public Shared Sub GaussianImageDemo()

Dim fileName As String = "c:/Sample.png"

Dim reImage As REImage = REFile.OpenImageFile(fileName)

Dim newImage As REImage = ImageProcessing.ApplyBlurGaussian(reImage)

REFile.SaveImageFile(newImage, "c:/reimage.png", New PNGEncoder())

End Sub
Visual Basic .NET Demo Code for Uniform Image Blurring:
Public Shared Sub UniformImageDemo()

Dim fileName As String = "c:/Sample.png"

Dim reImage As REImage = REFile.OpenImageFile(fileName)

Dim newImage As REImage = ImageProcessing.ApplyBlurUniform(reImage)

REFile.SaveImageFile(newImage, "c:/reimage.png", New PNGEncoder())

End Sub
More Tutorials!
More online VB guide for image & document processing with DocImage SDK for .NET!
Want to install Imaging SDK in Winforms or Web applications, please go to Use Imaging SDK in Winforms and Web Document Image Viewer


Recommend this to Google+


RasterEdge.com is professional provider of ASP.NET MVC Document Viewer, ASP.NET PDF Viewer, MVC PDF Viewer document, content and imaging solutions, available for ASP.NET AJAX, Silverlight, Windows Forms as well as WPF. We are dedicated to provide powerful & profession imaging controls, PDF document, image to pdf files and components for capturing, viewing, processing, converting, compressing and stroing images, documents and more.

©2000-2017 Raster Edge.com