Tag Archives: colorize

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

Rainbowize an image in C#

This example extends the post Use an ImageAttributes object to apply general color tones to an image in C# to rainbowize an image. It chops an image into pieces and then uses the previous example’s techniques to convert the pieces … Continue reading

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

Use an ImageAttributes object to apply general color tones to an image in C#

This example uses techniques similar to those described in the post Use an ImageAttributes object to convert an image to shades of red, green, or blue in C# to apply general color tones to an image. It generalizes those techniques … Continue reading

Posted in graphics, image processing | Tagged , , , , , , , , , , , , , | 2 Comments

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