摘要 |
An imaging apparatus wherein a captured image is subjected to a rotational transform so as to correct the inclination of one or more subjects in the captured image. The imaging apparatus defines, with reference to a physical inclination detected by a sensor, an angle range in which the image is to be processed. The imaging apparatus then processes the captured image and detects lines therein and inclination angles thereof. The imaging apparatus then creates histograms indicative of frequency distributions of the inclination angles of those lines, and selects, in the created histograms, an inclination angle having a frequency that satisfies a predetermined criterion, as a rotational angle to be used for the rotational transform.
|