usnistgov/MIST

Does it support sub-pixel registration?

Opened this issue · 4 comments

I found that the positions of all images in the img-outglobal-positions-0.txt file are integers.
I would like to ask if it is possible to choose sub-pixel registration like Fiji.

MIST does not support sub-pixel resolution in any capacity.

Hey @mmajurski, if I was looking to build sub-pixel resolution capability into MIST, any ideas on how to do so?

If you wanted to add in sub-pixel resolution I would leave the majority of the algorithm alone, and once its done building alignments between images, take those alignments and refine them to your sub-pixel resolution.

The algo has 2 broad states, pair-wise translation rough approximation, and then pixel-wise refinement. The first uses PCIAM, the second a multi-point hill climb in normalized cross correlation space. Once the pixel-wise refinement is complete, you could add in another refinement to sub-pixel. But doing so will require you handle the image assembly slightly differently (the minimum spanning tree for assembly should work) but the actual pasting of tiles into the output would likely fail. So that would need to be updated to support sub-pixel.

@mmajurski, great thanks! I managed to get it working with a python port of MIST and phase_cross_correlation.