In some instances, people need to image the same population of neurons across days. It can be easy to go back to approximately the same position, but finding the best alignment can be time consuming.
Now Scanbox provides a plugin that searches for the optimal location and automatically moves the microscope to the estimated position, and the entire process takes ~2 min.
Here is an example of how to do this:
In this demo, I first accumulate a few frames and take a snapshot that is stored as a reference image. This is the population we will want to return to.
Then, I image the same area again but move the microsocope in (x,y) and also depth. This simulates returning to roughly the same location in a subsequent day.
Once we are in roughly the same location, we can enable the “searchref” plug-in and allow it to run while focusing.
As we start imaging again, the plugin will request the name of the file with the reference image we want to align. I selected the one I had created earlier.
A z-stack starts automatically and the plugin displays in real-time a fused image with the reference image in red and the incoming images from the z-stack in green.
Once the z-stack is complete, the plugin computes the optimal (x,y,z) translation and moves the scope to best align the images.