
Variance Image Filter
Please use this identifier to cite or link to this publication: http://hdl.handle.net/10380/3236 |
Published in The Insight Journal - 2010 July-December.
Submitted by Robert Tamburo on 12-09-2010.
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
sf4.png (51Kb)
Code






Reviews
Quick Comments
Resources
![]() |
|
Download All | |
Download Paper , View Paper | |
Download Source code | |
Github |
Statistics more
![]() |
|
Global rating: | ![]() ![]() ![]() ![]() ![]() |
Review rating: | ![]() ![]() ![]() ![]() ![]() |
Code rating: | ![]() ![]() ![]() ![]() ![]() |
Paper Quality: |
![]() ![]() |
1 comment |
Information more
![]() |
|
Categories: | Filtering, Neighborhood filters |
Keywords: | variance, intensity image filter |
Toolkits: | ITK |
Export citation: |
Share
![]() |
Linked Publications more
![]() |
||
![]() by McCormick M., Aylward S., Johnson H., Lowekamp B.
|
||
![]() by Mirebeau J.
|
View license
Loading license...
Send a message to the author

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