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

This example extends the earlier one Apply filters to images to perform edge detection, smoothing, embossing, and more in C# by adding a new filter that embosses a color image without removing most of the color information. The filter's kernel is:

11-1
11-1
1-1-1

The kernel divides the result by 1 and uses no offset so it retains most of the image's color information. See the previous post for more information about how kernels work.

   

 

What did you think of this article?




Trackbacks
  • No trackbacks exist for this post.
Comments
  • No comments exist for this post.
Leave a comment

Submitted comments are subject to moderation before being displayed.

 Name

 Email (will not be published)

 Website

Your comment is 0 characters limited to 3000 characters.