Patent ID: 8487992

Claim:
An image processing device which has a camera that images an inspection target to produce image data, stores a processing sequence program defined with a processing sequence of a plurality of pieces of image processing, and sequentially executes the plurality of pieces of image processing by use of image data obtained from the camera based upon the processing sequence program, to determine whether the inspection target is acceptable or defective based upon a processing result and output a determination signal, the image processing device comprising: a first processing section which has a first data storage area and a second data storage area for storing data for image processing that is used for at least one image processing among the plurality of pieces of image processing, and executes the plurality of pieces of image processing with the data for image processing stored in the first data storage area; an operation input section, into which an operation signal based upon an operation by a user is inputted; a second processing section which has a third data storage area for storing the data for image processing corresponding to the data for image processing stored in the first data storage area, edits the data for image processing stored in the third data storage area based on the operation signal that is inputted into the operation input section and simulates at least one image processing among the plurality of pieces of image processing with the edited data for image processing stored in the third data storage area in parallel with the plurality of pieces of image processing executed by the first processing section; a control section which controls transmitting the edited data for image processing from the third data storage area to the second data storage area in parallel with the plurality of pieces of image processing executed by the first processing section with the data for image processing stored in the first data storage area, and controls the first processing section so as to execute the plurality of pieces of image processing with the edited data for image processing stored in the second data storage area.