I imported a 4D image and 3D mask using antsImageRead (in R). I tried to mask the 4D image (let's say 4D_image) with the 3D mask (let's say 3D_mask) simply by performing '4D_img' * '3D_mask'. It was unsuccessful. I wonder if any built-in function for this kind of task in ATNsR or ATNsRCore or ANTsRNet?
Dear ANTsR users and experts,
I imported a 4D image and 3D mask using antsImageRead (in R). I tried to mask the 4D image (let's say 4D_image) with the 3D mask (let's say 3D_mask) simply by performing '4D_img' * '3D_mask'. It was unsuccessful. I wonder if any built-in function for this kind of task in ATNsR or ATNsRCore or ANTsRNet?
Thank you, SC