1. A function approximation processing method comprising: an input step of inputting image data; a binarization step of binarizing the input image data; a contour extraction step of extracting contour from the binarized image data; a tangent point estimation step of estimating tangent points in horizontal and vertical directions from the extracted contour; and a function approximation step of approximating the contour between adjacent tangent points with a predetermined function.