Efficient encoding of visual perception has a profound influence on machine vision and research and development of human-like intelligent systems. A coding method of visual perceptual reconstruction which was according to Gestalt perceptual organization principle was proposed. Visual perception connected discontinuous curves which can connect with reasonable smoothing method through curve fitting first before shape recognition and shape coding. Coding method filled in points of discontinuous place to get whole contour. Energy function was designed. Coding method can give the most reasonable solution when there are many methods of perception reconstruction. This paper described the implement method of coding method, and based on psychology used typical graphics which is used to explain the adjacent ratio to make experiment. The experiment results demonstrated that the coding method of visual contour reconstruction proposed accorded with Gestalt perception organization principle.