Patent ID: 8144240

Claim:
A digital photographing apparatus comprising: a lens unit, a position of which is changed to perform auto-focusing; an imaging device, obtaining data regarding an image obtained from light input via the lens unit; an auto-focus value obtaining unit obtaining an auto-focus value from the data obtained by the imaging device; and a lens position determining unit for auto-focusing, wherein the auto-focus value obtaining unit obtains a plurality of auto-focus values at a plurality of lens position points within a lens position range corresponding to a macro mode, the lens position determining unit determines whether an auto-focusing lens position is within the lens position range corresponding to the macro mode, according to the position relationship between a lens position point corresponding to a maximum value of the plurality of auto-focus values obtained by the auto-focus value obtaining unit and other lens position points corresponding to other auto-focus lens values, and the lens position determining unit determines that the auto-focusing lens position is within the lens position range corresponding to the macro mode if the lens position point corresponding to the maximum value of the plurality of auto-focus values obtained by the auto-focus value obtaining unit is disposed between the other lens position points corresponding to the other auto-focus lens values, and a ratio of a minimum auto-focus value to a maximum auto-focus value is smaller than a predetermined value or a ratio of the maximum auto-focus value to the minimum auto-focus value is greater than a second predetermined value.