Separable filter

A separable filter in image processing can be written as product of two more simple filters. Typically a 2-dimensional convolution operation is separated into two 1-dimensional filters. This reduces the cost of computing the operator.

Examples

1. A two-dimensional smoothing filter is separated in this sample:

2. Another two-dimensional smoothing filter with stronger weight in the middle:

3. Sobel operator (edge detection)

This works also for Prewitt operator.

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.