Downsampling by simulated random scanning of the full frame image (a), using a Bernoulli pattern. (b,e,h) show images where only 60%, 30% and 10% of the pixels are sampled from the image in (a), respectively. (c,f,i) show the corresponding TV inpainting results and root mean square errors. Image grey levels have been normalised to the maximum of the fully sampled image in order to ease the comparison. (d,g,j) are line profiles through the yellow line in the inset in (d), comparing the reference, subsampled and TV-inpainted images. Scale bar: 200 nm.