Skip to content
/ SVF Public

Sub-window variance filter for Multi-scale Image Decomposition

License

Notifications You must be signed in to change notification settings

mwkm/SVF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sub-window Variance Filter

This is a reference MATLAB implementation of the Sub-window Variance filter described in our article Multi-scale Image Decomposition Using a Local Statistical Edge Model. Our filter uses Summed Area Table (integral image) as an acceleration means, and it is also gradient-preserving, i.e. has no gradient reversal problem. (paper preprint here)

This code has been tested on MATLAB R2019b.

By using svf.m, you may quickly filter an image with the following command and have the result displayed in MATLAB.

[A, result] = svf(double(imread('cat.png'))/255.0, 3, 0.025);
imshow(result);
Input Input Input
Input Per-pixel preservation (A) Filtered (result)

Please see svEnhance.m for an example of how to enhance the image detail.

Input
Both medium and fine details enhanced

If you have used this code in your research or work, please consider citing our paper:

@INPROCEEDINGS{9483837,
    author={Wong, Kin-Ming},
    booktitle={2021 IEEE 7th International Conference on Virtual Reality (ICVR)},
    title={Multi-scale Image Decomposition Using a Local Statistical Edge Model},
    year={2021},
    volume={},
    number={},
    pages={10-18},
    doi={10.1109/ICVR51878.2021.9483837}
}

About

Sub-window variance filter for Multi-scale Image Decomposition

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages