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

Image files with periods in file name might share masks #63

Open
JonasEMalmsten opened this issue Sep 20, 2020 · 0 comments
Open

Image files with periods in file name might share masks #63

JonasEMalmsten opened this issue Sep 20, 2020 · 0 comments

Comments

@JonasEMalmsten
Copy link

For example, two image files to segment: a.1.jpg and a.2.jpg

They will end up sharing the same mask files (ie a_mask.png) because extension is assumed to be following the first period and not the last (QT baseName vs completeBaseName).

JonasEMalmsten added a commit to JonasEMalmsten/PixelAnnotationTool that referenced this issue Sep 20, 2020
…k files.

Introduced new option in json config file "short_file_extension" which can be false or left out to preserve backwards compatibility.

When "short_file_extension": true, image_canvas will use completeBaseName instead of baseName to solve issue.
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