Camera accessories that attach to an iPhone or iPad could work better in the future, as Apple is considering ways to adjust a mobile device's camera to make shots taken through the extra external lens look great.

Accessories like those from Olloclip and other third-party producers provide customers with ways to make the camera included in iPhones and iPads better, usually in the form of putting additional lenses in front of the camera to change the photograph. While this can help create effects not normally possible on an iPhone, such as extending the zoom or widening the field of view, errors in physically attaching it to the device, such as failing to center it on the lens, could cause some unwanted results.

Granted on Tuesday by the U.S. Patent and Trademark Office, the patent for "Adapting camera systems to accessory lenses" was originally filed in August 2016, and attempts to fix such issues using a combination of methods.

Apple's suggestion includes a lens system, a photosensor, camera control, image analysis, and image processing software, which can be used to analyze the picture quality and detect problems. The analysis element would look at the focus, sharpness, relative illumination, optical distortion, chromatic aberration, magnification, vignetting, and other metrics to see how the image has changed from existing results for the stock camera lens.

A part of the same system, actuators could change the physical location of the camera itself on multiple axes based on the results of the analysis, in order to properly line itself up with the center of the accessory's lens. In theory, this could include tilting the camera if the accessory is fitted at an angle, and in some cases could be moved closer or further away from the accessory's lens.

While this can be performed by the camera detecting an accessory, Apple suggests other ways can be used to determine if an accessory is attached, including electronics, magnets, and radio sensing. In the case where the device knows what specific accessory is attached, this could be used to enable extra options in the camera interface, giving users more ways to interact with the add-on hardware.

Apple regularly files patent applications with the USPTO, and the publication of an application or granting of a patent is not necessarily a sign that Apple is actively working on introducing the technology in its consumer products.

In this case, such a system seems fairly plausible to add to an iPhone or iPad, as some of the elements are already in place. Aside from the software-based image analysis that could be processed on a mobile device, Apple does use mechanical optical image stabilization systems that help produce sharp images with minimal motion blur.