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

add patch coordinates when saving to .h5 #37

Merged
merged 1 commit into from
Aug 21, 2024
Merged

Conversation

pauldoucet
Copy link
Collaborator

Add the following new .h5 assets when dumping patches to h5:

  • coords: indicates the (x, y) pixel coordinates of the top left corner for each patch (in the full resolution image, note that TENX99.tif is 0.2125um/px not 0.5um/px)
  • patch_size_src: indicates the width/height of each patch before rescaling (hence at 0.2125um/px for TENX99)
  • patch_size_target: indicates the width/height of each patch after rescaling (0.5um/px in our case)

@pauldoucet pauldoucet merged commit a296af8 into main Aug 21, 2024
1 check passed
@pauldoucet pauldoucet deleted the add-patch-coords branch August 21, 2024 01:28
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

Successfully merging this pull request may close these issues.

1 participant