Quad tree decomposition using varience

Version 1.0.0.0 (2.34 KB) by Elena
Function performing quadtree decomposition of an image using varience criterion for splitting.
1.3K Downloads
Updated 31 Mar 2010

View License

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
Created with R14SP3
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Adaptive Control in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0