-
-
Notifications
You must be signed in to change notification settings - Fork 686
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
ENH: GDCMImageIO SINGLEBIT image type #2004
Conversation
Test file (original from TCIA) Simple test:
Edit: BTW, missing sinlge-bit image type was also mentioned here 2 years ago |
Do you want to add a regression test yourself? Reusing the read/write test should be easy if you follow the pattern. |
Thank you! Test program were probably easy, but unfortunately i don't know how it works with files, seems to be complicated, upload, links, etc. Is the file in above post OK, it is ~480 KB? |
480KB is not bad, but a smaller one would be preferable. The simplest way is to use web interface to upload data, then use the web interface to download the hash file. Then reference it in test code just like the other input files. |
Found smaller file ~ 46KB, original from TCIA. |
I have tried. Added
it produced compressed MHA file of float type: MET_FLOAT because test forces float.
|
I have to know about that float before i shall upload mha file. |
Since it is a binary mask, it should compress really well and be small. It does not matter that it is float. I think it is OK to upload. |
OK, i have uploaded mha file and added sha512 files. The test seems to work
Another question, i see also md5 files for other input and baseline files, do i need to generate and add md5 file too? |
You could, but this is usually done at the time of release by a script. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you amend the PR with the test+data?
Oh, something went wrong, commits should be merged, but they are not, probably i have done something wrong. |
Somehow it is not correct. I am getting strange messages from git. I'll close the PR and re-create. |
S. #2010 |
SINGLEBIT image type for GDCMImageIO. Closes #1969.