1. A sewing machine comprising: an image pickup device that is disposed at a position where an image can be picked up over a sewing machine bed; a feature point coordinates calculation device that extracts a plurality of feature points arranged over a range such that the image pickup device can pick up images therein from the image picked up by the image pickup device and that calculates two-dimensional coordinates of the extracted feature points; a reference coordinates storage device that stores reference coordinates, which are previously measured three-dimensional coordinates of the feature points; a correlation device that correlates the reference coordinates stored in the reference coordinates storage device with the feature point coordinates, which are the two-dimensional coordinates of the feature points calculated by the feature point coordinates calculation device; and a parameter calculation device that calculates a parameter about the image pickup device based on a result of correlation by the correlation device.