After streaming through the flow field which including the expansion, shock wave, boundary, etc., the optical wave would be distorted by fluctuations in the density field. Interactions between laminar/turbulent boundary layer and shock wave contain large number complex flow structures, which offer a condition for studying the influences that different flow structures of the complex flow field have on the aero-optical aberrations. Interactions between laminar/turbulent boundary layer and shock wave are investigated in a Mach 3.0 supersonic wind tunnel, based on nanoparticle-tracer planar laser scattering (NPLS) system. Boundary layer separation/attachment, induced suppression waves, induced shock wave, expansion fan and boundary layer are presented by NPLS images. Its spatial resolution is 44.15 μm/pixel. Time resolution is 6ns. Based on the NPLS images, the density fields with high spatial-temporal resolution are obtained by the flow image calibration, and then the optical path difference (OPD) fluctuations of the original 532nm planar wavefront are calculated using Ray-tracing theory. According to the different flow structures in the flow field, four parts are selected, (1) Y=692~600pixel; (2) Y=600~400pixel; (3) Y=400~268pixel; (4) Y=268~0pixel. The aerooptical effects of different flow structures are quantitatively analyzed, the results indicate that: the compressive waves such as incident shock wave, induced shock wave, etc. rise the density, and then uplift the OPD curve, but this kind of shock are fixed in space position and intensity, the aero-optics induced by it can be regarded as constant; The induced shock waves are induced by the coherent structure of large size vortex in the interaction between turbulent boundary layer, its unsteady characteristic decides the induced waves unsteady characteristic; The space position and intensity of the induced shock wave are fixed in the interaction between turbulent boundary layer; The boundary layer aero-optics are induced by the coherent structure of large size vortex, which result in the fluctuation of OPD.