Looping over images and noise values