MATLAB: Quadtree decopostion dimensional error. how to rectify

quadtree-decomp

i just want to decompose a stem cell segmented image using quadtree decomposition . . i am getting an errory saying 'maxdim/mindim are not a power of 2' .. how to rectify this ?

Best Answer

Pad your arrays so that each side is a power of 2 in length.