Variance Image Filter
logo

Please use this identifier to cite or link to this publication: http://hdl.handle.net/10380/3236
This paper describes an intensity image filter for computing the variance of pixel values contained within a neighborhood centered at each input pixel. The output image contains the calculated variance at each input pixel location. Variance calculations can be restricted by setting an image mask. This paper is accompanied with source code for the filter and test, test images and parameters, and expected output images.
Data
minus 1 Dataset (51Kb)
sf4.png (51Kb)
Code
plus Automatic Testing Results by Insight-Journal Dashboard on Thu Dec 9 14:27:15 2010 for revision #1
starstarstarstarstar expertise: 5 sensitivity: 5

Reviews
There is no review at this time. Be the first to review this publication!

Quick Comments
Comment by Scott Robertson yellow
Just what I needed. Thank you!

My only suggestion would be to make the threaded methods available for ITK v4 as well as previous releases:

itkVarianceImageFilter.h:

void ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread,
#if ITK_VERSION_MAJOR < 4
int threadId );
#else
ThreadIdType threadId );
#endif


itkVarianceImageFilter.txx:

template< class TInputImage, class TOutputImage>
void
VarianceImageFilter< TInputImage, TOutputImage>
::ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread,
#if ITK_VERSION_MAJOR < 4
int threadId )
#else
ThreadIdType threadId )
#endif


Maybe not the best programming style, but these changes compiled and ran fine for me using ITK v4.2.1


Resources
backyellow
Download All
Download Paper , View Paper
Download Source code
Github

Statistics more
backyellow
Global rating: starstarstarstarstar
Review rating: starstarstarstarstar [review]
Code rating: starstarstarstarstar
Paper Quality: plus minus
1 comment

Information more
backyellow
Categories: Filtering, Neighborhood filters
Keywords: variance, intensity image filter
Toolkits: ITK
Export citation:

Share
backyellow
Share

Linked Publications more
backyellow
ITK in Biomedical Research and Commercial Applications ITK in Biomedical Research and Commercial Applications
by McCormick M., Aylward S., Johnson H., Lowekamp B.
Anisotropic Fast Marching in ITK Anisotropic Fast Marching in ITK
by Mirebeau J.

View license
Loading license...

Send a message to the author
main_flat
Powered by Midas