A method of phase detection autofocusing objects by an imaging device, the imaging device including a lens, the method comprising: providing two or more focus perimeters (520, 522, 524, 526) in a viewfinder (500A, 500B); obtaining a group of focus values for a current lens position, the group of focus values including at least one focus value associated with each of the two or more focus perimeters, each focus value in the group of focus values including a magnitude and a direction for causing movement of the lens; comparing (606; 800) focus values in the group of focus values for the current lens position to identify a macro object focus value; wherein identifying the macro object focus value comprises identifying a focus value in the group of focus values associated with a macro object being photographed nearest to the lens; wherein comparing the focus values in the group of focus values further comprises: ordering the focus values in the group of focus values; determining, from the ordered focus values, a sub-group of focus values within a range of the macro object focus value; assigning a high confidence value to the identified macro object focus value; assigning a medium confidence value to the identified focus values in the sub-group of focus values; assigning a low confidence value to focus values not identified as a macro object focus value and to focus values not identified as in the sub-group of focus values; and in response to identifying the macro object focus value, determining (608; 806) autofocus settings based on the macro object focus value; wherein determining the autofocus settings based on the macro object focus value further comprises: determining autofocus settings based on focus values associated with high confidence values and medium confidence values and minimizing usage of focus values associated with a low confidence values to focus the macro object and objects associated with the subgroup of focus values onto the imaging device by using a weighted average scheme according to the confidence value assigned to focus values in the group of focus values by assigning a greater weight to the identified macro object focus value having a high confidence value, a lesser weight to identified focus values associated with a medium confidence value; and little or no weight to identified focus values associated with a low confidence value. providing two or more focus perimeters (520, 522, 524, 526) in a viewfinder (500A, 500B); obtaining a group of focus values for a current lens position, the group of focus values including at least one focus value associated with each of the two or more focus perimeters, each focus value in the group of focus values including a magnitude and a direction for causing movement of the lens; comparing (606; 800) focus values in the group of focus values for the current lens position to identify a macro object focus value; wherein identifying the macro object focus value comprises identifying a focus value in the group of focus values associated with a macro object being photographed nearest to the lens; wherein comparing the focus values in the group of focus values further comprises: ordering the focus values in the group of focus values; determining, from the ordered focus values, a sub-group of focus values within a range of the macro object focus value; assigning a high confidence value to the identified macro object focus value; assigning a medium confidence value to the identified focus values in the sub-group of focus values; assigning a low confidence value to focus values not identified as a macro object focus value and to focus values not identified as in the sub-group of focus values; and ordering the focus values in the group of focus values; determining, from the ordered focus values, a sub-group of focus values within a range of the macro object focus value; assigning a high confidence value to the identified macro object focus value; assigning a medium confidence value to the identified focus values in the sub-group of focus values; assigning a low confidence value to focus values not identified as a macro object focus value and to focus values not identified as in the sub-group of focus values; and in response to identifying the macro object focus value, determining (608; 806) autofocus settings based on the macro object focus value; wherein determining the autofocus settings based on the macro object focus value further comprises: determining autofocus settings based on focus values associated with high confidence values and medium confidence values and minimizing usage of focus values associated with a low confidence values to focus the macro object and objects associated with the subgroup of focus values onto the imaging device by using a weighted average scheme according to the confidence value assigned to focus values in the group of focus values by assigning a greater weight to the identified macro object focus value having a high confidence value, a lesser weight to identified focus values associated with a medium confidence value; and little or no weight to identified focus values associated with a low confidence value.