The Insight Journal logo

An Image Filter for Counting Pixel Neighbors

Tamburo, Robert
Publication cover image

Please use this identifier to cite or link to this publication: http://hdl.handle.net/10380/3267
New: Prefer using the following doi: https://doi.org/10.54294/4qgavg
Submitted by Robert Tamburo on 2011-07-05 12:48:16.

This papers describes an image filter that counts the number of neighbors a pixel has storing that value at the pixel's image index. Functionality is provided to 1) adjust the neighborhood size, 2) count only those pixels within a specific value range, and 3) only record a neighbor count for specific pixels of interest. This paper is accompanied with source code for the filter and test, test images and parameters, and expected output images.