Visual contrast resolution is lower in the low-light level. A compensation method for low-light image based on no-reference image quality assessment(NR-IQA in short) is presented. A mathematical model for extracting vision evaluation parameters is built. The best image quality assessment function is achieved to assess the quality of compensated image. The third step was to get the relationship between the assessment function and the corresponding compensation factors. The method of automatic optimization can be used to quickly acquire the optimal quality from an be taken from scotopic vision, especially image applied to the compensation of video image sequences rapidly.