add calc mean and stddev method of local image