Thanks very much to those who responded. I finally learned something very useful that in the past has refused to sink in. Post processing notwithstanding, a lens is part of an image making system that includes a world of micro electronics, the function of which I'm not particularly interested in learning about, except to note the complexity of the process from sensor to storage. The lens is just the first step. I imagine, without any claim to authority, that the process in a camera/lens combination in digital photography is much like the process in film photography including camera and lens and negative development.
Peter