Patent attributes
An imaging apparatus to which a lens apparatus is detachably attached includes an image sensor configured to generate an image signal by photoelectrically converting an object image, a first acquisition unit configured to acquire a contrast value of the image signal acquired by the image sensor, a second acquisition unit configured to acquire lens position information at a predetermined time interval, and a focus detection unit configured to detect a focal position based on outputs of the first acquisition unit and the second acquisition unit, wherein the focus detection unit selects the lens position information that corresponds to the contrast value acquired by the first acquisition unit from a plurality of pieces of the lens position information acquired by the second acquisition unit at the predetermined time interval, and detects the focal position.