Implementation of a Laplacian filter

December 24, 2012

A Laplacian filter is a first derivative of the spatial values, often used to detect edges and features.

In this implementation of a sharpening filter, an image is filtered with the resulting values placed into an output matrix.

This particular filter is not a pure Laplacian, but custom designed to enhance edges in a particular image.

filter

This code is design for speed and not for flexibility:

Entry filed under: Image Processing. Tags: .

Extract pixel values from a bitmap in Qt ffmpeg examples


Archives