Patent ID: 7973826

Claim:
A program creating or editing apparatus present in a non-transitory storage medium, which creates a control program for an image processing controller used in an image processing apparatus including a camera which photographs an object to be tested, to generate a camera image, and the image processing controller which acquires the camera image from the camera, extracts a measurement result from the camera image, and determines a quality of the object to be tested based upon this measurement result, to output a determination signal, the program creating or editing apparatus comprising: a program generating part for acquiring a camera image from the camera based upon an image pick-up trigger signal, to extract a measurement result from the acquired camera image as a control program for the image processing controller; a simulation part for executing the control program; and a transfer part for transferring the control program to the image processing controller, wherein the simulation part includes an offline simulation part for extracting a measurement result from a camera image previously held as a registration image, and an online simulation part for acquiring a camera image from the camera through the image processing controller when executing the control program, to extract the measurement result from the acquired camera image.