Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Labeling to Image: do not assume that a label is mapped to the same value for different images #511

Open
stelfrich opened this issue Oct 18, 2018 · 0 comments

Comments

@stelfrich
Copy link
Member

Currently, Labeling to Image uses the value from the backing image to convert the RAI<LabelingType> to an RAI<? extends RealType>. This can result in inconsistent behavior when two RAI<LabelingType> have the same labels but use a different LabelingMapping.

This happens for example when a pixel-based classifier is applied to tiles of an image: whatever label the first pixel belongs to will be mapped to 1. Hence, the "meaning" of a1 in the backing image changes with the contents of the image and produces inconsistencies when using Labeling to Image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant