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

Patch levels #278

Open
suminwei opened this issue Oct 29, 2024 · 2 comments
Open

Patch levels #278

suminwei opened this issue Oct 29, 2024 · 2 comments

Comments

@suminwei
Copy link

suminwei commented Oct 29, 2024

Hi,
I just wanted to double check how to properly set patch_level and seg_level when running create_patches_fp.py.
If I have an svs file with the following pyramid levels: Base (40x), level 1 (10x; 4x downsample), level 2 (1.5x; 16x downsample).
What does seg_level=-1 mean in this case for image segmentation? What other possible values could seg_level take on for this file?
I understand patch_level=0 means patch extraction will be performed at the highest resolution, in this case 40x. What other values could patch_level take on for this file? Would they be 1 and 2 for levels 1 and 2?
Thank you!

@fedshyvana
Copy link
Collaborator

Seg level can usually be safely left at -1 yes (it will choose one of the downsampled levels to speed up processing and should not affect the result of patching much). For patch_level, you are right that 0,1,2,3... will each correspond to a pyramid level in your file, with 0 being the highest, 1 being the second highest, etc.

@suminwei
Copy link
Author

Thank you!!

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