Subgroup identification via homogeneity pursuit for dense longitudinal/spatial data. (7th May 2019)