Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Fix H5FileImageWriter Callback #17

Closed
wants to merge 35 commits into from
Closed

Fix H5FileImageWriter Callback #17

wants to merge 35 commits into from

Conversation

AjeyPaiK
Copy link
Member

@AjeyPaiK AjeyPaiK commented Nov 13, 2023

Fixes {#16}

  1. After The H5 Writer callback doesn't take into account offset induced by limit_bounds #16 was reported, upstream dlup was modified to return the scaled bounds. While writing H5 files, we now directly call this function to infer the scaled size of the WSI.

@AjeyPaiK AjeyPaiK changed the title Fixes{#16, #18} Fixes{#16, #18, #19} Nov 21, 2023
@AjeyPaiK AjeyPaiK changed the title Fixes{#16, #18, #19} Fixes{#16, #18, #23} Nov 22, 2023
@AjeyPaiK
Copy link
Member Author

@jonasteuwen Can you please review this PR? It's been here for some time.

@AjeyPaiK AjeyPaiK changed the title Fixes{#16, #18, #23} Fix H5FileImageWriter Callback Nov 24, 2023
@jonasteuwen
Copy link
Contributor

@AjeyPaiK I think current dlup version should make this very easy on you. You can use .get_scaled_bounds for offset and size. Then you should probably also check if a new region_index happens in the sample index, because that won't be supported.

@AjeyPaiK
Copy link
Member Author

AjeyPaiK commented Dec 8, 2023

@jonasteuwen Now, I think this is good to go!

@AjeyPaiK
Copy link
Member Author

AjeyPaiK commented Jan 5, 2024

Issue addressed in #22

@AjeyPaiK AjeyPaiK closed this Jan 5, 2024
@AjeyPaiK AjeyPaiK deleted the fix-offset-h5-writer branch January 5, 2024 14:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants