Open leorrose opened 6 months ago
@NHPatterson Just adding a few more details.
This is how it looks when opening the images after registration in Napari:
I've also uploaded the sample data I used to the attached OneDrive link (due its size) if you want to play with it and figure why this happens.
This issue is solved if I add downsampling to modality_1 when calling add_modality:
reg_graph.add_modality(
"modality_1", "./sample_data/mod_1/img.ome.tiff", image_res=0.221,
preprocessing={"image_type": "BF", 'downsampling': 2}, output_res=1.0
)
But if I add attachments (geojson) this doesn't solve the issue for example:
reg_graph.add_attachment_shapes(
'modality_1', 'mod_1-annotations', './sample_data/mod_1/annotations.geojson'
)
Description
When trying to register 3 imaging modalities i want the output resolution to be 1 micron. I state the output_res=1.0 for all modalities but it is not respected for the target modality and it has its original resolution.
What I Did