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

level_dimensions different #261

Open
918938301 opened this issue Jun 1, 2023 · 1 comment
Open

level_dimensions different #261

918938301 opened this issue Jun 1, 2023 · 1 comment

Comments

@918938301
Copy link

Hi, I use ASAP to get a tiff mask, but the level_dimensions is different from the original tiff image, How could I fix it?

such as the downsamples original tiff [1.9, 1.8, 1.5....]

mask downsamples [1, 2 , 4 ,8....]

@lsnls
Copy link

lsnls commented Dec 24, 2024

Hi, @918938301 , could you please tell me how to set the specific level_dimension and level_spacing while converting XML files to TIFF files? The current command is annotation_mask.convert(annotation_list, out_path, image.getDimensions(), image.getSpacing()), but the XML file is corresponds to level=1. How can I modify the command? I couldn't find the related document, and the ASAP source code is written in C. So, I need help.

Thank you so much!

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