Mask design and fabrication in coded aperture imaging