Quad tree decomposition using varience
The function qtdecomp_var.m peformes quad tree decomposition of square gray-scale image using varience criperion. If an image block has varience greater or equal to the whole image varience (optionally weighted), then the block is split further. The weighting has an effect on the splitting similar to pre-processing the image using for example a median filter. For example usage see ex_qtdecomp_var.m.
% qtdecomp_var.m- quadtree decomposition based on variance
%**************************************************************************
% [S] = qtdecomp_var(I, var_weight)
%**************************************************************************
% INPUTS:
% I - gray scale square image
% var_weight- weight for the variance criterion [optional] (default is 1)
%**************************************************************************
% OUTPUTS:
% S- sparse matrix representing the quadtree structure after decomposition
% based on varience
%**************************************************************************
% NOTES: qtdecomp with custom function
%**************************************************************************
% EXAMPLES USAGE: see ex_qtdecomp_var.m
Cite As
Elena (2024). Quad tree decomposition using varience (https://www.mathworks.com/matlabcentral/fileexchange/27130-quad-tree-decomposition-using-varience), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |