create a visualization of the component tree of an image