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

CTranspath encode patch size #16

Open
HongLiuuuuu opened this issue Dec 16, 2024 · 2 comments
Open

CTranspath encode patch size #16

HongLiuuuuu opened this issue Dec 16, 2024 · 2 comments

Comments

@HongLiuuuuu
Copy link

Thank you for your excellent work! I noticed that you use CTranspath to encode raw image patches into feature vectors. The patches are extracted at 20x magnification with dimensions of 256 × 256. However, CTranspath requires patches of 224 × 224. I’m curious to know how you addressed this?

@ajv012
Copy link
Collaborator

ajv012 commented Dec 16, 2024

Thanks for your question and interest in our work! We resized the 256x256 patches to 224x224 before feeding them to CTransPath.

When this work was done, strong patch encoder foundation models were not widely available. We invite you to try out SurvPath with newer models like UNI, GigaPath, and Virchow.

Please let us know if you have any additional questions.

@HongLiuuuuu
Copy link
Author

Thank you for your quick response! I was wondering, if we directly resize 256 × 256 patches to 224 × 224, does the magnification remain at 20x?

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

2 participants