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

Convert to svs #580

Merged
merged 2 commits into from
Mar 31, 2021
Merged

Convert to svs #580

merged 2 commits into from
Mar 31, 2021

Conversation

manthey
Copy link
Member

@manthey manthey commented Mar 30, 2021

This can be accessed either via the command line (large_image_converter) or via the POST item/{itemId}/tiles/convert endpoint and selecting the format aperio option.

It has some basic integration tests and manually has been checked to work with ImageScope.

If the source image does not have a label image, a thumbnail with a restricted aspect ratio (no more than a factor of 1.5 between the larger and smaller dimension) is used. ImageScope essentially requires there to be some image for the label; in the future we may want options to place a different image there.

For multi-frame images that have distinct z values for each frame, the z value is store so ImageScope will show the appropriate focus slider with units in microns. For other multi-frame images, the z value is just the frame value.

Not all metadata is preserved in the conversion; this can be expanded in the future.

@manthey manthey force-pushed the convert-to-svs branch 4 times, most recently from cec6fa6 to 7cf8bad Compare March 31, 2021 15:11
@manthey manthey marked this pull request as ready for review March 31, 2021 17:07
@manthey manthey merged commit a9e9b16 into master Mar 31, 2021
@manthey manthey deleted the convert-to-svs branch March 31, 2021 17:55
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