NHPatterson / wsireg

multimodal whole slide image registration in a graph structure
MIT License
78 stars 7 forks source link

Add ability to mix data types in final merger #36

Closed NHPatterson closed 2 years ago

NHPatterson commented 2 years ago

Closes #28.

Following conversion in #22, when an image is RGB interleaved and another multi-channel non-interleaved, writing the data to a single OME-TIFF was not possible after registration, likewise true if images were of mixed prevision (i.e. one uint16, and another uint8). This PR casts the lower precision datatype to the higher precision type and writes RGB with interleaved to combine mixed image types and also contains some fixes for mixing downsampling and output resolutions.

ping @rjesud. This should do what you wanted now.

rjesud commented 2 years ago

Great news! I'll try this out ASAP.