[C# Helper]
Index Books FAQ Contact About Rod
[Beginning Database Design Solutions, Second Edition]

[Beginning Software Engineering, Second Edition]

[Essential Algorithms, Second Edition]

[The Modern C# Challenge]

[WPF 3d, Three-Dimensional Graphics with WPF and C#]

[The C# Helper Top 100]

[Interview Puzzles Dissected]

[C# 24-Hour Trainer]

[C# 5.0 Programmer's Reference]

[MCSD Certification Toolkit (Exam 70-483): Programming in C#]

Title: 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 the example to experiment with it and to see additional details.

© 2009-2023 Rocky Mountain Computer Consulting, Inc. All rights reserved.