The setup: Same hardware, same reference
For this comparison, we set up and calibrated a system with a 20MP camera and a 50mm lens. Using a calibration object with an accuracy of 150 nm, we were able to prove that the system achieves a measurement capability of ±12.5 µm.
We then used this setup to measure an object—a shim that we had previously had measured. By the way, these objects are very well suited for measurement tests, including thickness measurements. Just a quick tip on the side.

Incident light: Coaxial and seemingly ideal
For the incident light, we opted for coaxial illumination. The light is reflected directly from the surface back into the camera.
Anything flat appears bright. Anything that is not flat reflects the light out of the beam path and appears dark.
To make the images truly comparable, we set up a small "sandwich".
At the bottom is directional transmitted light, on top of that is a glass plate holding the object, and above that is the coaxial incident illumination.
The transmitted light image was captured through the coaxial illumination. Then we simply switched the illumination.
Camera, lens, object position. Everything is identical.

The result: The edge makes all the difference
What you can see very clearly then: The shim does not have a perfectly sharp edge. It is slightly rounded.
And that is precisely the crucial point.
In incident light, this rounding becomes dark earlier than the silhouette in transmitted light ends. This means that in incident light, the object appears shorter than it actually is geometrically.
And this is precisely what is reflected in the measurement results.
The numbers: No room for interpretation
The real diameter of the object is 15.475 mm.
Measured in transmitted light: 15.4761 mm
Measured in incident light: 15.4271 mm
Therefore, the object is measured as being 49 µm too small in incident light.
Not because of poor software.
Not because of poor calibration.
But exclusively because of the physics of illumination.

Conclusion
Incident light is not a bad approach. On the contrary. For many tasks, it is the best or even the only solution.
However, when measuring edges, you must always be aware of what the illumination actually makes visible. And what it does not.
Transmitted light measures the geometric reality.
Incident light measures the optical reality of the surface.
Both are valid. But they are not the same thing.