ANTsX / ANTsR

R interface to the ANTs biomedical image processing library
https://antsx.github.io/ANTsR
Apache License 2.0
127 stars 35 forks source link

Masking 4D image with 3D mask #359

Open sj-choi opened 2 years ago

sj-choi commented 2 years ago

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