how to work with trees?

Hi, so i have a BW pixel image (number of pixels is in powers of 2). what i want to do is represent it in a quadtree. so i found ntree() (where i define the order and depth of the tree. now what i want to do is store data (1,0 depending on the color) in the tree nodes. how do i do this ? thanks

Answers (0)

This question is closed.

Asked:

on 1 Nov 2012

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!