Can The Function of a Lens Be Emulated By Computers?

I seem to recall one of the recent comet probes (Deep Impact, or more likely the Japanese one) that got into space with a dodgy camera. Eventually the engineers computed a deconvolution function to refocus the images (but they had all the physical details of the lens system to work off).

And last year some researchers developed a (sort of) lensless camera. Similar to Mangetouts proposal - a fixed single lens, then a grid array of small lenses focussing multiple images onto a sensor - the Plenoptic Camera. This allows software refocussing of the image.

So it is possible.

Si

I don’t see how a camera with many lenses qualifies as a lensless camera.

Fair comment - but the lenses are fixed and simple - no moving parts. The grid array probably does not even need to be perfect - I expect you can reprogram the parameters of the software to account for the variations of each lens.

This solution trades off sensor resolution for the refocus ability - it starts with a 16Meg sensor, but the final images are much less than that. You effectively get 90000 178pixel images each from a slightly different angle. These are then combined by the software and refocussing can be done.

Si

I agree with FI – this IS a lensed system. You can take plenty of perfectly servicea\ble pictures with a fixed-focus camera right now. Virtually all disposable cameras work this way. The OP seems to be asking for a system without any lenses at all, not for one that replaces a movable lens with something else.

The OP asked if a computer could act as the focusing element - with the PlenOptic camera, the software can refocus the image after it has been captured. To do this, you need additional information. The sublenses create the additional info for the software to use. Not lensless - but software focus.

Si

If the lenses are fixed and simple, it ought to be possible to do something similar with pinholes. Or just individual sensors mounted at the bottom of really narrow, very carefully-aimed tubes so as to capture the light incoming from one part of the scene only.

For visible light imaging, lenses (or mirrors) are cheap and simple enough that there’s no need for other systems. But for very high energy light, like extreme X-rays or gamma rays, it’s difficult or impossible to make optical focussing elements, so there, you do need to use some clever lensless systems. The RHESSI solar telescope, for instance, which operates in the extreme X-ray range, uses several sets of slatted opaque grids which it moves relative to each other, and records the changes in intensities for each grid confguration. Assuming that the source changes only slowly compared to the timescale on which the grids are moved, and that it’s relatively simple (ideally, consisting of a small number of discrete point sources), an image of the sources (and even spectra of them, I think) can be deconvolved from the data.

But even though it doesn’t have lenses, you still need something in front of the detector (the grids of slats, in this case). You can’t just stick the CCD out there (or rather, you can, but you’d basically just have a full-sky photometer, which can be done much more easily in other ways).

This has done with pinholes. A Shack-Hartmann wavefront analyzer uses lenses, but before these were popular their was a version that used pinholes. I can’t remember what it was called. All of these devices are used to retrieve phase information by taking the Fourier transform of the field…

nothing to add to the discussion but just to say this is how good science often works. Take a suggestion that on the face of it is silly or doesnt seem to make sense (can one make a camera without conventional lenses using computer hardware or software) and one ends up with all sorts of interesting devices mentioned here (phased arrays. mirror arrays etc)

Yes, it’s a useful thinking tool - posit removal of a supposedly essential component, or challenge an absolute.

Even in the extreme X-ray and Gamma Ray tregions, you can still use grazing-angle reflections (At a low enough angle, anything becomes a good mirror), so for a long time they used steep parabolic mirrors to focus higjh-energy radiation.

When I say “lens” above, I refer to any positive optical element, be it lens, mirror, gradient index optic, holographic lens, binary lens, fresnel lens, zone plate, or what have you.

That is how the Chandra X-ray telescope works to focus Xrays. A series of very slightly tapered tubes to make part of a parabola.

I seem to recall that there’s some problem even with grazing-incidence mirrors, for a mission like RHESSI, but I can’t recall what it was. You can, however, use a pinhole for absolutely anything, but then you’re faced with the problems of a very small aperature (so unless you have a very bright source, you need very long exposure times).