czbiohub-sf / shrimPy

shrimPy: Smart High-throughput Robust Imaging & Measurement in Python
BSD 3-Clause "New" or "Revised" License
7 stars 1 forks source link

Registration: in `estimate_affine` check that selected points are not outside of the data volume when in grid mode #126

Open ieivanov opened 6 months ago

ieivanov commented 6 months ago

In grid mode, it's possible to incorrectly mark a point in phase with the fluorescence points layer selected. This will result in improper registration. We can have a check that the coordinates of the point are within the data volume. It may also help to display the message (e.g. "select a point in the fluorescence channel") for every click.