It seems like the startup 3Scan is working on 3d reconstruction of tissue structure from pathology images, which is relevant to your second example.