qupath / qupath-extension-instanseg

The official QuPath extension for InstanSeg
https://github.com/instanseg/instanseg
Apache License 2.0
10 stars 5 forks source link

Color deconvolution stains are never updated #71

Closed petebankhead closed 2 months ago

petebankhead commented 2 months ago

Brightfield models accept color deconvolved channels as input.

The trouble is that these are fixed when the image is first seen by InstanSeg (i.e. the image or InstanSeg dialog is opened).

Changing the image type or stains later doesn't have an effect.

To fix this, we'd need to refresh available channels when properties of the ImageData change.