Knowledge modeling of image analysis and interpretation