Skip to content
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

Unable to reproduce results in register_ihc.py example #152

Open
changwxx opened this issue Aug 29, 2024 · 5 comments
Open

Unable to reproduce results in register_ihc.py example #152

changwxx opened this issue Aug 29, 2024 · 5 comments

Comments

@changwxx
Copy link

Hi! Thank you for your awesome work and for sharing the code. I've encountered an issue where I can't reproduce the same results as those stored in examples/expected_results/registration/ihc. I followed the instructions and ran examples/register_ihc.py without making any changes. Could you please let me know if I missed something?

I found the masks are not good enough.
ihc_1
ihc_5

And the ihc_non_rigid_overlap and ihc_rigid_overlap registration results I'm getting are different from the expected ones shown below.
ihc_non_rigid_overlap
ihc_rigid_overlap

@cdgatenbee
Copy link
Collaborator

Hi @changwxx,
Thanks for reporting this. It does look like mask for 2nd image isn't quite right. I'll take another look at the examples and see if I can reproduce this.

Best,
-Chandler

@cdgatenbee
Copy link
Collaborator

Hi @changwxx,
I re-ran the examples on MacOS using Python 3.9-3.11, but haven't been able to recreate this issue. Could you try using the Docker container [here] to see if it works correctly for you?

Best,
-Chandler

@aschiebub
Copy link

Hello,

I have the exact same issue using the Docker container to run register_ihc.py (the masks produced are exactly the same as changwxx). Moreover, I've been trying to use Valis on my own dataset, and the masks are also incorrect on several samples, leaving behind fair amounts of tissue.

I would highly appreciate your help on this matter!
Thanks

@changwxx
Copy link
Author

Hi @cdgatenbee!

Thank you for your response. I tried using the Docker container and re-ran the examples/register_ihc.py, but I am still encountering the same masking issue as before. Could you please help me address the issue? Are there any specific parameters that need to be passed into the register() function, as seen in this line of code?

Thanks for your help!

@cdgatenbee
Copy link
Collaborator

Hi @changwxx and @aschiebub,
Apologies for the delayed response. I was able to recreate this issue using the Docker container, so I can use that to debug this masking issue. I'll be working on it and will let you as soon as I've figured out the solution.

Best,
-Chandler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants