New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to handle aligning images that are mirrored/flipped automatically #22
Comments
Hi @crobbins327, Best, |
@cdgatenbee That's sounds great Chandler! If you want the raw data I'll add a couple files for you to download in a Google drive link. I will also try to play with it and see if I can come up with anything. I also have the temporary solution of just flipping the image before VALIS registration which works since most of the image pairs I have are reflected. No rush. Cheers, |
@crobbins327, thank you for the offer, but I think I'll start with the images linked in the first post. But if I run into some issues I'll let you know and then I could check out the raw data (which I imagine is pretty big). I haven't run into this mirroring issue before, but it is it common in types of images you're working with? Just wondering how common this sort of issue might be. Best, |
Not sure, but our fluorescence microscope produces images reflected across the horizontal axis. I can compress the files to be ~10GB in total if you are interested. Just let me know. |
Hi @crobbins327, I don't have any other images to test this with, so please let me know if you run into any problems and we can reopen this, but I'll close it for now. Best, |
@cdgatenbee This is perfect, thank you Chandler! Looking forward to testing it out and digging into the code to see how you solved this problem. :) Thank you again for this awesome repo! |
Hi,
So I noticed that VALIS is not aligning these H&E and IF images that are mirrored/flipped.
Below are the processed images (which look good to me), and the rigid overlap that was calculated. I had to increase the max image dimension to ~10,000 because the original images are at different resolutions (0.325 MPP vs 0.5 MPP).
Is there a feature in VALIS that can handle this case? I will try to flip the H&E image along the vertical axis and retry the image alignment, I think this will fix the problem. Just wondering if there is a VALIS parameter that I can turn on to test for mirroring/flips before finalizing the registration. Maybe there's an elegant way to test that the measured registration error is below some value or else it will test the alignment with flipping the current image along an axis?
My apologies if this is in the docs already and I just haven't found it.
Rigid overlap:
Nonrigid overlap:
The text was updated successfully, but these errors were encountered: