InsightSoftwareConsortium / ITKThickness3D

An ITK module to compute 3D thickness
Apache License 2.0
39 stars 18 forks source link

ENH: Make the tests quantitative. #7

Closed jhlegarreta closed 5 years ago

jhlegarreta commented 5 years ago

Make the tests quantitative: add baseline image comparison.

T4mmi commented 5 years ago

@jhlegarreta how did you compute the hash of the output images (is there an integrated ITK tool or may I compute the sha512 of a local test output image) ?

jhlegarreta commented 5 years ago

@T4mmi as described in ITK Data, and especially, ITK Upload Binary Data, the UploadBinaryData.sh located in ITK/Utilities/ does the job for you. It basically takes the file(s) provided as input, upload them to the ITK Girder data space using the credentials you set up, and replaces the local binary files by their SHA512 counterparts.

The same content link would be created if you logged in to your data,kitware.com space, and uploaded the file manually.

ITK/Girder are then wise enough to link the SHA512 file to the binary file when required when building your data project.

HTH.