1. A method of processing an image by an image processing apparatus, the method comprising: obtaining an image; generating 3-dimensional (3D) information that represents a degree of stereoscopic effects of the image; and outputting the 3D information.