An Image Filter for Counting Pixel Neighbors

Tamburo, Robert*
Abstract
An Image Filter for Counting Pixel Neighbors

Abstract

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.

Keywords

image filterneighbor counting
Manuscript
Source Code and Data

Source Code and Data

IJMacros.txt3.4 KBCMakeLists.txt3.1 KBImageCompare.cxx8 KBImageCopy.cxx1.4 KBimagesinput.png1.6 KBoutput1_base.png1.7 KBoutput2_base.png2.1 KBoutput3_base.png2.8 KBoutput4_base.png533 BitkCountNeighborsImageFilter.h6.9 KBitkCountNeighborsImageFilter.txx9 KBitkCountNeighborsImageFilterTest.cxx3.3 KBitkFilterWatcher.h4.8 KB

Select a file to preview