Last chance! 50% off unlimited learning
Sale ends in
powered by
Corrupt a clean image with randomly selected locations. The corrupted pixcels are set to 0.
AddHoles(I, pc)
Clean image.
Percetage of pixels to corrupt
A corrupted image corruptedImage and maskImage to record the corrupted locations.
corruptedImage
maskImage
# NOT RUN { I=lena_crop I_noise=AddNoise(I,30) # }
Run the code above in your browser using DataLab