Open bbbxyz opened 2 years ago
make_phantom phantom.mnc
- makes a volume with values between 0 and 1
mincreshape -fillvalue 5 -valid_range 5 10 -image_range 5 10 phantom.mnc phantom_5_10.mnc
creates a volume filled with NaN's , because all values are outside of image range.
mincreshape -byte phantom_5_10.mnc phantom_byte.mnc
tries to convert NaN values to bytes, replaces them with 0 (pixfillvalue)
Hello,
I've encountered some odd behaviour with
mincreshape
:This works as expected and creates a volume filled with 5's with an image-min of 5
Is this expected?