Imaging

César Souza edited this page Oct 17, 2017 · 3 revisions

Image processing

The framework offers about 171 different image filters, from GaussianBlur to HistogramEqualization, passing through binary operation filters (closing, opening), dithering, jittering and many more. Furthermore, those filters are completely compatible with .NET Standard 2.0 and can be run from .NET Core 2.0 applications.

To use those filters in your application, start by importing the Accord.Imaging.Filters namespace at the top of your source code:

using Accord.Imaging.Filters;

Then, you can also start by experimenting them on one of the basic test images that come with the framework

using System;
using System.Drawing;

using Accord.Imaging.Filters;
using Accord.DataSets;

					
public class Program
{
    public static void Main()
    {
        TestImages t = new TestImages();
        Bitmap baboon = t.GetImage("baboon.bmp");
		
        // We can create a new Gaussian Blur:
        GaussianBlur blur = new GaussianBlur();
        
        // Now we can either apply it to the image, creating a
        // new resulting image to hold the output of the filter:
        Bitmap result = blur.Apply(baboon);
        
        // Or we can apply the operation in place,
        // overwriting the original image:
        blur.ApplyInPlace(baboon);
    }
}
  1. Accord.NET Framework
  2. Getting started
  3. Published books
  4. How to use
  5. Sample applications

Help improve this wiki! Those pages can be edited by anyone that would like to contribute examples and documentation to the framework.

Have you found this software useful? Consider donating only U$10 so it can get even better! This software is completely free and will always stay free. Enjoy!

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.