Analysis and synthesis of a moire photo-optical system