Glass Imaging uses artificial intelligence to “extract the full image quality potential from hardware on current and future smartphone cameras by reversing lens aberrations and sensor imperfections.”
The company has put its impressive AI technology to work with the new iPhone 15 Pro Max smartphone, showing dramatic improvements from the flagship phone’s 5x zoom lens.
Glass Imaging Argues That Lackluster Software Holds Back the iPhone 15 Pro Max’s Telephoto Camera
The iPhone 15 Pro Max’s telephoto lens sports a unique tetraprism design and offers a 120mm equivalent focal length and f/2.8 aperture. The camera and lens combo is impressive from a technical perspective. However, the real-world results leave a bit to be desired.
![Glass AI and iPhone](https://petapixel.com/assets/uploads/2023/11/6535b12f39f8b574cb1bc60d_SBS-800x494.jpg)
![Glass AI and iPhone](https://petapixel.com/assets/uploads/2023/11/65331848541ab595ae9e2ef9_g2r-DGrgmAJm6NrofL345llTuMj8pniS9iqOQZNLUyoqXx4HqcH0AC26TTKLxTg9_cpz8AmDy-zGvTQROIh90Pvh4qkr7u9loikHtOyny0wAKkfsAmO0vm0HWUa6Ff6VcNUwM9PWOA2KPHNp6T6Qpyc-800x501.jpg)
“The full potential of this hardware is limited as the accompanying software from Apple doesn’t extract all the detail this lens can capture,” Glass Imaging claims.
In a journal entry, Glass compares the iPhone 15 Pro Max’s default processing against its advanced GlassAI processing. The results demonstrate a significant overall image quality improvement, including better detail, clarity, and color accuracy.
Glass says that while Apple’s hardware is impressive, the iPhone’s native software “occasionally falls short of harnessing the full capabilities of the hardware,” potentially resulting in compromised image quality. Despite dedicating significant resources to its image signal processing and image processing algorithms, Glass argues that “there’s significant room for improvement.”
![Glass AI and iPhone](https://petapixel.com/assets/uploads/2023/11/6533184948f265e1bec2ec34_OZ1rnKX0CHCjHnv9qtTLlzfpKilYMTh8VGrN0mBxNwIOoQR59sxMp5JlV9RNpnETvtem3WJptX9dnoGBMrF1rIaMZPiV-7ToSxp4f-3c90J8E75CUJU4Hjd-K3q67GNi8iRbiy-9tXp6OfSBnoR3NkY-800x499.jpg)
Neural Networks to the Rescue
So, what is Glass doing, and how does its AI processing improve image quality? In its own words, “Glass Imaging harnesses the power of artificial intelligence to get the most from the raw image burst data — the unprocessed sensor information captured during a shot. This AI-centric approach allows for intelligent decisions on image enhancement, going beyond the limitations of traditional handcrafted algorithms.”
At the heart of the company’s approach is neural network training. “At our labs, for each camera on that phone (wide, ultra-wide, tele, selfie), we train a custom Neural Network for low light, bright light, and super res (zoom),” Ziv Attar, Glass’s CEO tells PetaPixel.
![Glass AI and iPhone](https://petapixel.com/assets/uploads/2023/11/6534c34f38489b504a70aa94_p7dFqJJXAbvs7MLzpXQrfMc3EoqckSRD3kCRbHMW7O4lYiksJfrLewsD_dwYEM87QcJust1AHownV5EWoyOqfBXllJCqagYwLyJRjSdecHhv5zC-zCO8bdvc4mSMTfY9FyMHg5SUazfbp0Ccy2wInn0-800x431.jpg)
“After training, we port these networks to the device’s chipset and optimize for speed and power consumption. Our neural networks take in a burst of RAW images and outputs a full processed image. Our Neural networks are trained to characterize the optical aberrations of each lens at any location on the sensor and are capable of correcting these aberrations,” Attar continues.
The entire training process takes “a few days.”
While the company cannot fully detail its “unique way” of “teaching” its AI to reverse lens aberrations (since it is a proprietary technology that the company is actively marketing to smartphone makers) Attar promises that GlassAI’s results are “more true and noise free compared to traditional processing approaches,” such as those that Apple is utilizing.
![Glass AI and iPhone](https://petapixel.com/assets/uploads/2023/11/653318472f88535126aee8ca_hwgyN3656g6jAhprfNfdIRRg1lDrPKj7JeqFopkMLW2TYTvZJEc4DHytF9yOiQSYmTuq_MGruPqKUsuU_GC3QvFKsm6K2znE5qFj7Bzn_WoCBVGEpfF1wt4NsbBK33lPK8RjVNyn-HWmX9DCzdDD0E4-800x434.jpg)
“The data (photons) are there but iPhone and other phones must apply very aggressive color denoise in order to remove color noise which is very disturbing. When they do that, they desaturate colors on fine details,” Attar explains.
“You don’t see this in big cameras as it’s mostly a problem of tiny pixels that are noisy and suffer from signal cross contamination between neighboring pixels that are of different color,” he continues. “Our networks are able to look at a large area and understand what pixels lie on what thread or object and handle the color noise removal in a much smarter way.”
The result is more accurate color information in the output image. Attar says that original iPhone images in Glass’s examples appear less colorful in part because default image processing mixes up small, colorful pixels with neighboring pixels when performing denoising.
![Glass AI and iPhone](https://petapixel.com/assets/uploads/2023/11/6534c34f803eb22bc13f6a04_G44whzr7r4X5XBvTepbwrWej_WQwKPHiMSsmqiQqNDyENr9pMiOBJ38tbkCiTtrz3RKyKuBjINy_GOs8Zu6XASiu5Iy47dFQXReMzH-C5uyBVrr3sk8qXMcGiJCBQqIoiwLIXpqoyaP6h06DWkZgSic-800x432.jpg)
Glass AI is “fundamentally improving reconstruction of existing data that exists on the sensor,” and is not performing any sort of synthesis of new information or creating “fake” data.
Is There a Downside to Neural Networks?
If this AI processing approach delivers such impressive results — as it does — then it should be a pretty easy sell. Is there any downside?
Attar says “there is no downside,” but admits that training high-quality neural networks is extremely challenging. Further, there are relatively high processing demands to handle the neural networks, which technology has only been able to achieve in the “the last year or so,” in his words.
“There were neural processors on Android and Apple devices for a few years now but they were not capable of handling pixel level operations and were only used for semantics and global operations like automatic white balance, automatic exposure, etc.,” Attar explains.
![Glass AI and iPhone](https://petapixel.com/assets/uploads/2023/11/65331849a63d350fb50f206d_jnJ6VyShpJhpwLxvqlMZ0H7hdykAZVjLkc0MilkzuFGB1X4e1j-XM8cvN5bEY9X58Sfh9tgsakomCs96uzP43BQCXv_optciRDDrHlByhxEyRgp7osT0SeIbu5vCB6zROCgSa2Fv4eSeRJTdwfp_PEE-800x433.jpg)
Further, the neural network processing requires time to execute its operations, even on swift, powerful mobile devices like the iPhone 15 Pro Max. However, the processing is pretty quick. A 12-megapixel image captured by the Pro Max’s telephoto camera takes about half a second, says Attar, and he says that the standard iPhone processing of a 12-megapixel file “takes longer than that.” So, practically speaking, processing time shouldn’t be a major inhibitor.
The user also doesn’t need to wait for the processing to complete to continue to shoot. However, it does take some time to see the final output file: the initial image on the screen is a low-quality version. However, even while processing occurs, Attar says the photographer can continue shooting.
![Glass AI and iPhone](https://petapixel.com/assets/uploads/2023/11/65331847e51b3170763aa796_zPYqhaXXbC4K8fR_zmnaudi0Tev8bfer-_zV_ZXzOUbsMKDflj5Kkq7LUPcbP4z-CTAEWIvzzxjUxofnbx1BnKrramGKJZlSIM2ObyIw41QjdNK1nMtFWTdwHo6NV4pwpCkgnIyF9GpTxBIC535stQY-800x434.jpg)
He also says that despite the higher image quality, the image files are smaller because they have less noise, and noise makes files more challenging to compress. So, again, what is the cost here?
“The only cost is you need to develop tools to train these networks: large labs, robotic equipment, tons of software that controls the training procedure,” Attar says. While that all sounds expensive, it seems feasible for large companies to achieve.
![Glass AI and iPhone](https://petapixel.com/assets/uploads/2023/11/65331847a6e80456f0851a48_07g2ZZIB7xK6QS0BUS_FbpHsqNoOWP-UuIpDIXszivUzhvz4Suhw8zfpKr4XqG1px2W4H3jirJE0-maaGVfYHi9G-2azLI64Y-66geV5ru6sbrl1LbNm9WrtzL4ojsu9Y4mF-VmYpA4RE_eCqf9hHjQ-copy-800x435.jpg)
Additional Examples of Glass AI and Last Year’s iPhone 14 Pro
![Glass AI and iPhone](https://petapixel.com/assets/uploads/2023/11/Screenshot-2023-11-02-at-17.15.32-800x530.jpg)
![Glass AI and iPhone](https://petapixel.com/assets/uploads/2023/11/Screenshot-2023-11-02-at-17.15.45-800x528.jpg)
![Glass AI and iPhone](https://petapixel.com/assets/uploads/2023/11/Screenshot-2023-11-02-at-17.15.38-800x528.jpg)
![Glass AI and iPhone](https://petapixel.com/assets/uploads/2023/11/Screenshot-2023-11-02-at-17.15.49-800x521.jpg)
![Glass AI and iPhone](https://petapixel.com/assets/uploads/2023/11/Screenshot-2023-11-02-at-17.16.48-800x528.jpg)
![Glass AI and iPhone](https://petapixel.com/assets/uploads/2023/11/Screenshot-2023-11-02-at-17.16.58-800x528.jpg)
![Glass AI and iPhone](https://petapixel.com/assets/uploads/2023/11/Screenshot-2023-11-02-at-17.16.50-800x526.jpg)
![Glass Imaging](https://petapixel.com/assets/uploads/2023/11/Screenshot-2023-11-02-at-17.17.01-800x532.jpg)
![Glass AI and iPhone](https://petapixel.com/assets/uploads/2023/11/Screenshot-2023-11-02-at-17.16.24-800x531.jpg)
![Glass AI and iPhone](https://petapixel.com/assets/uploads/2023/11/Screenshot-2023-11-02-at-17.16.26-800x526.jpg)
![Glass AI and iPhone](https://petapixel.com/assets/uploads/2023/11/Screenshot-2023-11-02-at-17.15.54-800x531.jpg)
![Glass AI and iPhone](https://petapixel.com/assets/uploads/2023/11/Screenshot-2023-11-02-at-17.16.09-800x529.jpg)
![Glass AI and iPhone](https://petapixel.com/assets/uploads/2023/11/Screenshot-2023-11-02-at-17.15.58-800x527.jpg)
![Glass AI and iPhone](https://petapixel.com/assets/uploads/2023/11/Screenshot-2023-11-02-at-17.16.12-800x529.jpg)
What’s In the Pipeline for Glass Imaging?
“We are working to sell our software to phone makers around the world. The product is an SW library that includes custom-trained Neural Networks for each camera on a phone (selfie, wide, ultra-wide, tele…). Our solution will be in some phone models in 2024,” says Attar.
The company will also consider an iPhone app to allow end users to achieve impressive results. However, it will not be available “very soon,” if it ever hits the market. The company’s primary focus is selling its core technology services to manufacturers so that its AI can be implemented natively.
Image and caption credits: Glass Imaging