mobie / platybrowser-project

7 stars 5 forks source link

Confusing definition of a Segmentation image #20

Closed tischi closed 4 years ago

tischi commented 4 years ago

@constantinpape

Right now, I am having this in my code (with Segmentation occurring twice):


public class Metadata
{
        ...

    public enum Modality
    {
        Segmentation,
        FM,
        EM,
        XRay
    }

    public enum Type
    {
        Image,
        Segmentation,
        Mask,
    }
}

This has been growing like this for historical reasons. We should think about it and clean this up at some point.

constantinpape commented 4 years ago

Yes, Segmentation should not be part of Modality.

tischi commented 4 years ago

Yes, Segmentation should not be part of Modality.

I think that solves it.