Skip to content

Including tiles coordinates in TileOnGrid transform #4090

@vale-salvatelli

Description

@vale-salvatelli

Hi MONAI team! Here a feature request concerning Pathology that would really help us.

Problem description:

  • My team would like to develop a deepmil pipeline where WSI slides are tiled on the fly reusing as much components as possible from MONAI.
  • TileOnGrid is the transform currently offered by the library and suggested in the tutorial for this task.
  • The problem we encountered is that this transformation does not return the coordinates of the tiles. This makes impossible to reconstruct model outputs that depends on the coordinates, such as attention maps.
  • Attention maps are an essential tool for model interpretation.

Suggested feature:
A transformation having all the options in TileOnGrid (e.g. random offset, randomized tiles selection, overlapping tiles) that returns also the tiles coordinates with respect to a fixed reference system (e.g. top corner of the slide).

Alternative solution
One alternative solution is not to tile on the fly. Pre-tiling comes however with other drawbacks: it requires extensive pre-processing, reloading files in memory and overall it offers less modelling flexibility because the tiling parameters cannot be model parameters.

Metadata

Metadata

Assignees

Labels

Pathology/MicroscopyDigital Pathology and Microscopy related

Type

No type

Projects

Status

💯 Complete

Relationships

None yet

Development

No branches or pull requests

Issue actions