The invention relates to the technical field of
optical imaging. The invention relates to an
optical imaging system based on optical AI coding. The device comprises a
mask plate adding unit, a blurred image unit, a phase parameter unit, an AI coding unit and a decoding restoration unit. The
mask plate adding unit is used for acquiring a
pupil specification, then adding a non-rotational symmetric
phase mask plate at the
pupil according to the
pupil specification, and simulating the sensitivity of different parameter combinations to defocus aberration for the
phase mask plate; a non-rotational symmetric
phase mask plate is added at a pupil, a synergistic effect is formed in combination with an afocal
phase modulation plate, target imaging can be carried out without zooming and focusing in a long
dynamic range, meanwhile, the
phase modulation depth of the phase
mask plate and the mask size are completely matched with the specification of the pupil, and the imaging precision is improved. The afocal
phase modulation plate adopts non-rotational symmetric phase distribution, and the matching of the afocal phase modulation plate and the afocal phase modulation plate can enhance the insensitivity of the
system to
image plane defocusing, so that the fuzzy
modes of imaging at different defocusing positions in a large focal depth range are consistent.