Hacker News new | ask | show | jobs
by pbronez 162 days ago
Can you leverage focus stacking on a mobile camera? I poked around a bit for relevant apps but didn’t see anything credible.
2 comments

My understanding is that modern mobile phone cameras do heaps of "stacking" across multiple axes focus, exposure, time etc to compose a photo that saves onto your phone. I believe its one of the reasons for the multiple cameras on most flagship phones, and then each of them might take many "photos" or runs of data from their sensors per "photo" you take. id love to see a good writeup of the process, but my gut says exactly what they do under the hood would be pretty "trade secret"ie.
Can any mobile cameras focus close enough to be useful for macro? Maybe you can buy a third party add-on lens?
Depends on what level of macro you want, but with modern phones you can get pretty close, usually with the wide angle lens.

On iPhones: https://support.apple.com/guide/iphone/take-macro-photos-and...

On Pixel: https://store.google.com/intl/en/ideas/articles/pixel-macro-...

I'd recommend playing around with it, it's a lot of fun!

Had a quick play with my iPhone 15. It doesn't give the sort of magnification you would need for insect close-ups. I will stick with my Nikon DSLR + 100mm macro lens!
Yeah it's far from being as good as a DLSR or mirrorless with a dedicated macro lens. Still, most people reading HN have one in their pocket and it can be a good test to see if you like the idea of macro. It does work with larger insects, on a pixel 10 pro my mantis fill most of the frame.
You can, depending on your definition of "useful". You can buy a cheap laser pointer, take out its lens, and put it over your camera lens. Tape it onto the lens for a temporary janky version or make a 3d-printed mount for something much better that you can easily take on/off.

I've personally found this little hack useful, but then again I don't have a DSLR and macro lens!