Such a pitch measurement method according to the invention can be provided as a software program equipped with the aforementioned processes, and can be provided as a program stored in a medium such as a magnetic recording medium or ROM that can be read by a computer or microprocessor.