Painting pretreatment is an important task in determining the life of painting as it removes rust or foreign substances from the painting surface and gives adhesion between the painting surface and the painting surface. Since painting pretreatment is an important task, IMO strictly requires that the painting pretreatment surface be maintained at a Sa 2.5 grade and the surface roughness is 30μm~75μm. Painting pre-processing is an important task that determines the lifespan of a painting, but it is done through visual inspection by the inspector, and the quality varies depending on the inspector. In this study, in order to develop a quality measurement system for the painting pretreatment surface, Matlab2023b was used to determine the range of appropriate quality brightness by comparing the brightness of the painting pretreatment surface and surface roughness.