Tag Archives: filter

Warp images arbitrarily in C#, Part 2

The post Warp images arbitrarily in C#, Part 1 explains how to warp images, but it omits the method that maps an output pixel (x1, y1) back to an input pixel (x0, y0) in the original image. This post describes … Continue reading

Posted in algorithms, graphics, image processing, mathematics | Tagged , , , , , , , , , , , , , , , , , , , | Leave a comment

Warp images arbitrarily in C#, Part 1

This is an extension of the example Use image filters to perform edge detection, smoothing, embossing, and more in C# that adds new features that warp images in arbitrary ways. The idea is to use two functions F(x, y) and … Continue reading

Posted in algorithms, graphics, image processing, mathematics | Tagged , , , , , , , , , , , , , , , , , , , | 5 Comments

Let the user pick database search criteria in C#

The top part of this program holds three columns of controls. The left column contains combo boxes holding the names of the fields in a database table. The middle column holds operators such as =, <, and >=. The right … Continue reading

Posted in database, user interface | Tagged , , , , , , , , , , , | 1 Comment

Apply a filter to make a color embossed image in C#

This example extends the earlier one Pixellate an image and create other effects in C# by adding a new filter that makes a color embossed image without removing most of the color information. The filter’s kernel is: 1 1 -1 … Continue reading

Posted in algorithms, graphics, image processing | Tagged , , , , , , , , , , , , , , , , , , , , , , | Leave a comment

Pixellate an image and create other effects in C#

This example extends the previous example Use image filters to perform edge detection, smoothing, embossing, and more in C# by adding the ability to pixellate an image. It also adds the ability to load and save files, and a few … Continue reading

Posted in algorithms, graphics, image processing | Tagged , , , , , , , , , , , , , , , , , , , , | 1 Comment

Use image filters to perform edge detection, smoothing, embossing, and more in C#

Image filters let you perform operations on the pixel in an image. This is a fairly large example so you may want to spend some time walking through the code. In one kind of image filter, you have an array … Continue reading

Posted in algorithms, graphics, image processing | Tagged , , , , , , , , , , , , , , , , , , , , | 5 Comments