MUMFORD-SHAH-TYPE FUNCTIONALS ASSOCIATED WITH DOUBLING METRIC MEASURES