Working on an imageTree for identifying edges and blobs simultaneously