Process modeling for functional and structural neuroimaging data