quadtree image basics