9Local Filters

Local filters extend point operations by having the output be some function of the pixel values within a local neighbourhood or window:

where bold upper W is the window or local neighbourhood centred on upper I left-bracket x comma y right-bracket, as illustrated in Figure 9.1. The window can be of any shape or size, but is usually square, upper W times upper W pixels in size, with upper W odd, so that the window centre is well defined. As the window is scanned through the input image, each possible position generates an output pixel according to Eq. (9.1). The filter function, f left-parenthesis dot right-parenthesis, determines the type of filter. Since the output depends not only on the input pixel but also its local context, filters can be used for noise removal or reduction, edge detection, edge enhancement, line detection, and feature detection.

9.1 Window Caching

The software approach to filtering has both the input and output images stored in frame buffers. For each output pixel, ...

Get Design for Embedded Image Processing on FPGAs, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.