The implemented standard deviation filter is based on calculation two integral images and subsequent common calculation of the variance by:
var(X) = E[X^2] - (E[X])^2.
The advantage of this implementation is that the computation time is independent of the kernel size. In comparison to stdfilt from Image Processing Toolbox, whose computation time increases linearly, usage of the integral image method is beneficial for kernels bigger 15 pixels.
The disadvantage of integral based computation is that it doesn't allow easy changing of the kernel shape (triangle, cross, circle,...) and as a consequence only rectangular kernels are supported
인용 양식
Jan Motl (2024). Standard deviation filter (https://www.mathworks.com/matlabcentral/fileexchange/41703-standard-deviation-filter), MATLAB Central File Exchange. 검색됨 .
MATLAB 릴리스 호환 정보
플랫폼 호환성
Windows macOS Linux카테고리
태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!stdfilter/
버전 | 게시됨 | 릴리스 정보 | |
---|---|---|---|
1.0.0.0 |