Guide for VB.NET
Core Document Formats
Additional Features

VB.NET Imaging - Sharpen Image Using VB.NET

How to Sharpen an Image with Visual Basic .NET Imaging Control Library

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

Do you ever have an image or a picture / photo which is a little blurry and you want to sharpen it (make it clearer)? RasterEdge Image SDK for .NET is exactly what you are looking for. This Visual Basic .NET library toolkit includes advanced image processing technology which can efficiently repair image blur, and thus restore and bring out details for the fuzzy image / picture to get a high quality output.
Related .net document control helps:
asp.net pdf viewer: ASP.NET PDF Viewer Control: view, navigate, zoom Adobe PDF document in C# ASP.NET
asp.net mvc document viewer: ASP.NET MVC Document Viewer: view, annotate, redact files on ASP.NET MVC web projects
asp.net word document viewer: ASP.NET Office Word Document Viewer: view Word doc files online using C# in ASP.NET MVC web applications
asp.net document viewer: EdgeDoc:ASP.NET Document Viewer C# Control: Open, view, annotate, redact, convert documents online in C#, VB.NET, AS...
asp.net annotate pdf: ASP.NET Annotate PDF Control: annotate, comment, markup PDF document online using ASP.NET C#
asp.net pdf document viewer: ASP.NET PDF Document Viewer in C#: open, display, view, annotate, redact Adobe PDF files online in ASP.NET MVC & WebForm...
asp.net sharepoint document viewer: ASP.NET SharePoint Document Viewer: view, annotate, redact documents in SharePoint
This control library is built for .NET Framework and Microsoft Visual Studio (not supporting Mac currently). You can easily add the image sharpening feature into your Visual Basic .NET imaging program as long as you integrate this library component into your project. With this SDK, it is not necessary to use any third party tools such as Adobe Photoshop.
  • Compatible with .NET Framework and MS Visual Studio
  • Smartly sharpening an image with advanced technology using VB.NET codings
  • Supporting Png, Jpeg, Gif, Tiff and Bmp image formats for VB.NET image sharpening
  • Also provide a variety of other image processing features & functions
  • Detailed guide and codings are provided for VB.NET developers
This guiding page will show you how to sharpen an image in a Visual Basic .NET image processing application. Besides, we would like to show you some other related imaging tutorials here which you might be interested in:
Listed below are the sections that will be mentioned later in this tutorial to help you sharpen an image with this Visual Basic .NET image processing library SDK:
  • How to sharpen an image in .NET program with Visual Basic .NET method
  • How to sharpen an image in .NET application using VB.NET sample code
  • Avoiding over-sharpening
  • Some more image processing tutorials in VB.NET
Image Sharpening - VB.NET Method
If you have already built a Visual Basic .NET image processing application in your MS Visual Studio, such as a VB.NET Class Library or a Windows application, you can freely use the method demonstrated below directly in your VB program to sharpen a local image and get a high quality image output.
This method is for image sharpening only. To achieve that goal, you should add extra VB.NET codes to load / open a RasterEdge image to your program first and then sharpen it. After that you can save it to your local directory for future use.
Public Shared Function ApplySharpen(img As REImage) As REImage
End Function
Public Shared Function ApplySharpenMore(img As REImage) As REImage
End Function
Image Sharpening - VB.NET Coding
When you have made certain corrections in your VB.NET project photo or image files, you might want to sharpen your pictures before saving them, as image sharpening can help bring out the crispness of the pic or fix an image out of focus.
If you don't have an Adobe Photoshop installed, try RasterEdge Image SDK for .NET, VB.NET to sharpen a local image with simply a few lines of VB.NET code. Listed below is a detailed example on how to sharpen a local png image in a Visual Basic .NET application. Besides png, other image formats are supported, such as gif, jpeg, tiff and bmp.
Imports RasterEdge.Imaging.Basic
Imports RasterEdge.Imaging.Basic.Core
Imports RasterEdge.Imaging.Processing
Imports RasterEdge.Imaging.Basic.Codec

Public Class Form1

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
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
End Class
Avoiding Over-Sharpening
Although image sharpening in VB project can help improve the image distinctness for a better quality, it may also intensify / amplify the image noise, so you might want to reduce the noise first before sharpening the pictures.
In addition, if an image is badly blurred, you should understand sharpening will not be very helpful in this case, otherwise you can sharpen an image several times if necessary. At the same time, you should be careful to avoid over-sharpening which might lead to the abnormal standing-out of the image edges.
More Tutorials!
More detailed VB guidance for RasterEdge image processing is displayed here.


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