intensity resetMinAndMax for each slice of each image