mobie / mobie-viewer-fiji

BSD 2-Clause "Simplified" License
29 stars 12 forks source link

Create better region table for multiple sources #1103

Open tischi opened 4 months ago

tischi commented 4 months ago

Right now, when using the OpenMultipleImagesAndLabelsCommand it just picks the region table of the first image as a representative for all images and segmentations in SourcesFromPathsCreator.

    public Table getRegionTable()
    {
        // all images should be shown on the same grid,
        // thus we just return one of the region tables
        if ( ! imageSources.isEmpty() )
            return imageSources.get( 0 ).getRegionTable();
        else
            return labelSources.get( 0 ).getRegionTable();
    }

It would be nice if that was more sophisticated and some joint table would be created.