Sorry I was away for the weekend without internet access. Did you find a sufficient solution now? I primarily work with medical images, so I use the Python SimpleITK
library (also available in R
but I find it easier to use reticulate
and use the Python lib).