Basic principles of image analysis by a computer