will analyze image data using a passed rule function using a quadtree