This is the R code for Schmid, Volker J.: Voxel based adaptive spatio-temporal modelling of perfusion cardiovascular MRI. IEEE Transactions on Medical Imaging 30:7 (2011) 1305-1313.
You can install the released version of cmR from CRAN with:
install.packages("cmR")
See vignette for an example.