Does anyone have experience with defining an input function as threshold criterion for the qtdecomp
function in MATLAB? I tried the following but it did not work:
MyFunc = @(A,threshold) std2(A)>threshold;
S = qtdecomp(Image,MyFunc,threshold);
Somehow, for some threshold values, only the leftmost quarter of the quadtree is divided into new pieces. Could this maybe be an error in the qtdecomp
code itself or is there something wrong with my function input?
See the attached image for details. I get this regardless of the threshold I choose: