fractal-analytics-platform / fractal-tasks-core

Main tasks for the Fractal analytics platform
https://fractal-analytics-platform.github.io/fractal-tasks-core/
BSD 3-Clause "New" or "Revised" License
14 stars 6 forks source link

Edge case: Edge detection measurements when label images are upscaled #255

Open jluethi opened 1 year ago

jluethi commented 1 year ago

When label images need to get upscaled for measurements in the napari workflow wrapper and they are not a simple 2x (4x/8x/etc) downscaled (e.g. in the search-first case, see https://github.com/fractal-analytics-platform/fractal-tasks-core/issues/201), the upscaled label images get padded with 0s. In that case, some edge detection measurements on the label images may be off.

This is a backlog issue to document this edge case.

jluethi commented 1 year ago

Actually, this should be a fairly rare edge-case for the moment: We mostly want to know edge of FOV information and most FOVs we currently have actually have a size that is divisible by 2 many times.

It will come up more though potentially when/if we start doing registration per FOV and change the FOV size to the consensus size