Looks like one or both of your images is a 64-bit integer. Probably you don’t need that for a mask.
You can convert it to an unsigned char like this:
plastimatch convert --input mask_fx.nii --output mask_fx_2.nii --output-type uchar
I’ll try to fix this in a future release to do the conversion automatically.
External Email - Use Caution
You received this message because you are subscribed to the Google Groups "Plastimatch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to plastimatch...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/plastimatch/a82130ce-fa08-4c45-9625-8574d4bf4139n%40googlegroups.com.
The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline .
Please note that this e-mail is not secure (encrypted). If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately. Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.