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

color embossed image

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
1  1 -1
1 -1 -1

The filter divides the result by 1 and uses no offset so it retains most of the image’s color information. See the earlier post Use image filters to perform edge detection, smoothing, embossing, and more in C# for more information about how kernels work.

Download Example   Follow me on Twitter   RSS feed

This entry was posted in algorithms, graphics, image processing and tagged , , , , , , , , , , , , , , , , , , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.