News for hackers. Stuff that matters.
Re:Why are modern 50mm lenses so damned complicated? by proudfoot on Monday May 10, 2021 @11:00AM (#27106653)
You're not capturing the rays, you only get where they strike. You can't fix it all computationally.

Secondly, we already do correct distortion and chromatic aberration in software, but this doesn't really make up for loss of resolution that you can't fix. Information is being lost.

Re:Why are modern 50mm lenses so damned complicated? by ajross on Monday May 10, 2021 @11:41AM (#27107260)
That's the point though: the quantization absolutely introduces errors, but there were there to begin with. You're comparing the computed result of my "cheap camera" not with its competitor's sensor output but with the hypothetical focal plane of the competitor's lens. And that's wrong, because the competitor has pixels too.

The error you get out is of the order of the sampling error you put in. That's true of all lenses.

Re:Why are modern 50mm lenses so damned complicated? by proudfoot on Monday May 10, 2021 @11:58AM (#27107469)
I'm saying with the same sensor, the competition will have better data compared to you, since the rays are striking where they should be.

Information is lost when a ray strikes somewhere it shouldn't. Things get blurred and cannot be recovered. You can't fix this with software.

Re:Why are modern 50mm lenses so damned complicated? by crazygringo on Monday May 10, 2021 @11:59AM (#27107492)
> You can't fix it all computationally.

Can't you? If you're dealing with known hardware, then you can apply a deconvolution. Blurring can literally be undone, people do it all the time. It's harder when you have to estimate the kernel, but much easier when you already know the lens's exact properties. Also when you apply it directly to RAW data.

So not exactly sure which information you're referring to you when say information is being lost?

Sure artifacts can be introduced from noise, etc., but that's all just tradeoffs. If a simpler lens is letting in more light, or you put money towards the sensor rather than the lens, the end result may well be better, no?

Re:Why are modern 50mm lenses so damned complicated? by proudfoot on Monday May 10, 2021 @12:46PM (#27107998)
You don't have the exact kernel, if you're even slightly wrong you can end off being worse off. You'll have very significant variation in lower quality optics.

And there's a variety of sharpening tools that claim to do this! DxO is a company that sells a raw processor for precisely this purpose. People still buy better lenses.

Re:Why are modern 50mm lenses so damned complicated? by hatsunearu on Monday May 10, 2021 @03:07PM (#27109599)
If you have depth information blurring can be undone theoretically, but you don't.
Re:Why are modern 50mm lenses so damned complicated? by karmakaze on Monday May 10, 2021 @01:01PM (#27108183)
I think you might be able to do a good job if you had a depth map of the image. You could use ML to guess them. Computation without that treats incident angles that vary by the distance ratios as the same.
Re:Why are modern 50mm lenses so damned complicated? by 91aintprime on Monday May 10, 2021 @12:43PM (#27107968)
Some blurring is like pixelization
Re:Why are modern 50mm lenses so damned complicated? by ticklemyelmo on Monday May 10, 2021 @11:26AM (#27107050)
Isn't the location that a ray strikes entirely a function of angle of incidence, its frequency, and the particular lens? Why couldn't that function be determined and inverted?
Re:Why are modern 50mm lenses so damned complicated? by proudfoot on Monday May 10, 2021 @11:56AM (#27107448)
Optimally yes. But in practice multiple rays from multiple angles strike the same sensor.

Lens design is about minimizing this.

Re:Why are modern 50mm lenses so damned complicated? by Fronzie on Monday May 10, 2021 @12:06PM (#27107570)
The phase matters as well if some parts are captured out of the focal plane.

Even if reconstruction is possible, it might amplify the noise by a substantial amount.