]> Creatis software - clitk.git/commit
Check if mask and input have the same spacing to compute SUVPeak
authortbaudier <thomas.baudier@creatis.insa-lyon.fr>
Thu, 15 Nov 2018 15:50:13 +0000 (16:50 +0100)
committertbaudier <thomas.baudier@creatis.insa-lyon.fr>
Thu, 15 Nov 2018 15:50:13 +0000 (16:50 +0100)
commitae015f09e2fa0ebc736d24b37c9ed6c1ca0cb5b2
tree290607106030d0fbb4ec97328f793d3b012260a9
parent29b40d25daee279757fb44b7e2ecfdb38fd6c6f2
Check if mask and input have the same spacing to compute SUVPeak

Before, the output of the SUVPeak was unrealistic with a mask with a spacing different from the input.
Now, check if they have the same spacing. If not, the script raises an error.

I add an option (--allow_resize) to automatically resize the mask according to the input like in the clitkImageStatistics script
tools/clitkSUVPeak.ggo
tools/clitkSUVPeakGenericFilter.txx