romainbrette / holypipette

Holy Pipette
GNU General Public License v3.0
4 stars 0 forks source link

Issue with air objectives #75

Open romainbrette opened 6 years ago

romainbrette commented 6 years ago

We now have a 20x air objective. So the objective is not immersed, but the specimen is normally in water. I hadn't realized this, but because refractive indexes are different, this seems to imply (I have to check) that when an immersed object (pipette) is moved down by an amount z, the objective must move by an amount z*(n1/n2) where n1 and n2 are the refractive indexes of the two media (air and water). With air and water, the ratio is about 4/3.

An implication of this is that to change between an air objective and an immersion objective, we cannot just change the magnification; there is in fact an entire 3D matrix change (normally magnification and n1/n2 should suffice but it's not entirely clear). So it appears that the simplest way to deal with this is to redo the calibration entirely for each objective.

Finally, another potential issue is the sensitive to the shape of water surface. That is, if it is curved, the image becomes distorted and this means the change of coordinates between manipulator and camera coordinates is not linear any more... What does it imply for microdroplets for example? And in slices or cultures, how about the fact that the surface of water is typically not exactly flat because of surface tension? Does it introduce distorsions?

romainbrette commented 6 years ago

Additionally, the offset depends on the z position of water surface.

I also realize that this might be a way to measure the position of the manipulator and objective axes relative to gravity (because water surface is horizontal).

romainbrette commented 6 years ago

Another point: there's a magnification of 4/3, independent of water depth. Non-flat water surface implies nonlinear coordinate changes. Flat water surface means linear coordinate changes, but possibly with a rotation (depending on whether it is parallel to the camera plane).

romainbrette commented 6 years ago

I'm confused now about this magnification due to water. It doesn't seem right!

romainbrette commented 6 years ago

Implications for Paramecium experiments

Two types of experiments: