Based on the principle of digital image processing, an algorithm finding the grid point values of a griding on a contour is proposed in this paper, It is actually an inverse problem of the existing contour plottingproblem based on the given grid point values, The principle. and algorithm ofsolving the problem are discussed in detail, An example is given and somemain uses of the algorithm is introduced.