Compressed Sensing of Images Using Nonuniform Sampling