|Image Processing Toolbox User's Guide|
Set block values in quadtree decomposition
J = qtsetblk(I,S,dim,vals) replaces each
dim block in the quadtree decomposition of
I with the corresponding
dim block in
S is the sparse matrix returned by
qtdecomp; it contains the quadtree structure.
vals is a
k array, where
k is the number of
dim blocks in the quadtree decomposition.
I can be of class
S is of class
The ordering of the blocks in
vals must match the columnwise order of the blocks in
I. For example, if
vals is 4-by-4-by-2,
vals(:,:,1) contains the values used to replace the first 4-by-4 block in
vals(:,:,2) contains the values for the second 4-by-4 block.
© 1994-2005 The MathWorks, Inc.