Non-uniform Sampling in Optical Processing