WO2018056341A1 - 印刷品質検査装置及び印刷品質検査方法 - Google Patents

印刷品質検査装置及び印刷品質検査方法 Download PDF

Info

Publication number
WO2018056341A1
WO2018056341A1 PCT/JP2017/034022 JP2017034022W WO2018056341A1 WO 2018056341 A1 WO2018056341 A1 WO 2018056341A1 JP 2017034022 W JP2017034022 W JP 2017034022W WO 2018056341 A1 WO2018056341 A1 WO 2018056341A1
Authority
WO
WIPO (PCT)
Prior art keywords
count value
print quality
motion thread
quality inspection
memory
Prior art date
Application number
PCT/JP2017/034022
Other languages
English (en)
French (fr)
Inventor
賢太郎 大濱
Original Assignee
株式会社小森コーポレーション
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 株式会社小森コーポレーション filed Critical 株式会社小森コーポレーション
Priority to EP17853110.9A priority Critical patent/EP3517300B1/en
Priority to JP2018540283A priority patent/JP6893519B2/ja
Priority to CN201780057570.6A priority patent/CN109789697B/zh
Priority to US16/335,141 priority patent/US11151708B2/en
Publication of WO2018056341A1 publication Critical patent/WO2018056341A1/ja
Priority to US16/891,514 priority patent/US11094051B2/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41FPRINTING MACHINES OR PRESSES
    • B41F33/00Indicating, counting, warning, control or safety devices
    • B41F33/0036Devices for scanning or checking the printed matter for quality control
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/8851Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • G06T7/73Determining position or orientation of objects or cameras using feature-based methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/10Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from different wavelengths
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/56Cameras or camera modules comprising electronic image sensors; Control thereof provided with illuminating means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/90Arrangement of cameras or camera modules, e.g. multiple cameras in TV studios or sports stadiums
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B42BOOKBINDING; ALBUMS; FILES; SPECIAL PRINTED MATTER
    • B42DBOOKS; BOOK COVERS; LOOSE LEAVES; PRINTED MATTER CHARACTERISED BY IDENTIFICATION OR SECURITY FEATURES; PRINTED MATTER OF SPECIAL FORMAT OR STYLE NOT OTHERWISE PROVIDED FOR; DEVICES FOR USE THEREWITH AND NOT OTHERWISE PROVIDED FOR; MOVABLE-STRIP WRITING OR READING APPARATUS
    • B42D25/00Information-bearing cards or sheet-like structures characterised by identification or security features; Manufacture thereof
    • B42D25/30Identification or security features, e.g. for preventing forgery
    • B42D25/355Security threads
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10024Color image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection
    • G06T2207/30144Printing quality

Definitions

  • the present invention relates to a print quality inspection apparatus and a print quality inspection method.
  • Such a securities printed matter is a pattern of a plurality of securities printed matter such as 4 rows ⁇ 8 columns printed on a single printing paper (large format printed matter) provided with a motion thread in advance by so-called multi-sided printing.
  • Patent Document 1 As a print quality inspection apparatus for inspecting the print quality, the apparatus described in Patent Document 1 below is known.
  • an object of the present invention is to provide a print quality inspection apparatus and a print quality inspection method capable of performing a print quality inspection performed on a printing paper provided with a motion thread with high accuracy.
  • a print quality inspection apparatus for solving the above-described problems is as follows.
  • An illuminator that emits light to the printed matter provided with the motion thread;
  • An imaging device for imaging the printed matter;
  • a print quality inspection apparatus comprising a print quality inspection unit that inspects the print quality of the printed matter based on image data imaged by the imaging apparatus,
  • the imaging device images a printed matter for each RGB, and the print quality inspection unit performs a print quality inspection in a range including the motion thread based on image data of the same color as the color of the motion thread.
  • the illuminator emits light of the same color as the color of the motion thread, and the imaging device captures a monochrome image.
  • a print quality inspection apparatus for solving the above-described problems is as follows.
  • the imaging device images a printed matter for each RGB
  • the print quality inspection unit performs a print quality inspection in a range including the motion thread based on image data of the same color as the color of the motion thread
  • the print quality inspection unit inspects the print quality of an area other than the range including the motion thread by using all RGB image data.
  • a print quality inspection apparatus for solving the above-mentioned problems is the second invention.
  • the print quality inspection unit inspects the print quality in a range including the motion thread
  • the print quality inspection unit determines whether the print is normal or not using an image data of a color different from the color of the motion thread.
  • the tolerance value is implemented as a value that invalidates the inspection.
  • a print quality inspection apparatus for solving the above-described problems is the first invention, A second imaging device that images the printed matter for each of RGB; When the illuminator emits light of the same color as the color of the motion sled and the imaging device captures a monochrome image, the print quality inspection unit prints a print quality in a region other than the range including the motion sled. This inspection is performed based on image data of a color of a system different from the color of the motion thread among all the RGB image data imaged by the second imaging device.
  • a print quality inspection apparatus for solving the above-described problems is the fourth invention.
  • the print quality inspection unit inspects the print quality in the range including the motion thread based on the image data acquired by the second imaging device, an allowable value for determining whether printing is normal or not is set. The test is performed as a value to be invalidated.
  • a print quality inspection apparatus for solving the above-described problems is as follows.
  • the imaging device images a printed matter for each RGB
  • the print quality inspection unit performs a print quality inspection in a range including the motion thread based on image data of the same color as the color of the motion thread
  • the print quality inspection unit obtains the position of the motion thread based on all RGB image data acquired by the imaging device.
  • a print quality inspection apparatus for solving the above-described problems is the sixth invention.
  • the print quality inspection unit obtains the position of the motion thread by pattern matching between all the RGB image data acquired by the imaging apparatus and the image data of the motion thread acquired in advance.
  • a print quality inspection method for solving the above problem is as follows. Illuminate the printed matter with motion sleds with an illuminator, The printed material provided with the motion sled is imaged by the imaging device, In the print quality inspection method in which the print quality inspection unit inspects the print quality of the printed matter based on the image data imaged by the imaging device, The imaging device images a printed matter for each RGB, and the print quality inspection unit performs a print quality inspection in a range including the motion thread based on image data of the same color as the color of the motion thread. Alternatively, the illuminator emits light of the same color as the color of the motion thread, and the imaging device captures a monochrome image.
  • a print quality inspection method for solving the above-mentioned problems is the eighth invention,
  • the print quality inspection unit performs a print quality inspection in a range including the motion thread based on image data of the same color as the color of the motion thread,
  • the print quality inspection unit inspects the print quality of an area other than the range including the motion thread by using all RGB image data.
  • a print quality inspection method for solving the above problem is the ninth aspect of the invention.
  • the print quality inspection unit inspects the print quality in a range including the motion thread
  • the print quality inspection unit determines whether the print is normal or not using an image data of a color different from the color of the motion thread.
  • the tolerance value is implemented as a value that invalidates the inspection.
  • a print quality inspection method for solving the above problem is the eighth aspect of the invention,
  • the illuminator emits light of the same color as the color of the motion sled and the imaging device captures a monochrome image
  • the printed image is imaged for each RGB by the second imaging device,
  • a print quality inspection method for solving the above problem is the eleventh aspect of the invention.
  • the print quality inspection unit inspects the print quality in the range including the motion thread based on the image data acquired by the second imaging device, an allowable value for determining whether printing is normal or not is set. The test is performed as a value to be invalidated.
  • a print quality inspection method for solving the above-described problems is any one of the eighth to tenth inventions,
  • the print quality inspection unit performs a print quality inspection in a range including the motion thread based on image data of the same color as the color of the motion thread,
  • the print quality inspection unit obtains the position of the motion thread based on all RGB image data acquired by the imaging device.
  • a print quality inspection method for solving the above problem is the thirteenth aspect of the invention.
  • the print quality inspection unit obtains the position of the motion thread by pattern matching between all the RGB image data acquired by the imaging apparatus and the image data of the motion thread acquired in advance.
  • the printing quality inspection apparatus and the printing quality inspection method according to the present invention it is possible to carry out the quality inspection of printing performed on the printing paper provided with the motion thread with high accuracy.
  • 1 is a side view of a security printing machine to which a printing quality inspection apparatus according to the present invention is applied. It is a side view which shows the printing quality inspection apparatus which concerns on the 1st Embodiment of this invention. It is a block diagram which shows the structure of the printing quality inspection apparatus which concerns on the 1st Embodiment of this invention. It is a block diagram which shows the structure of the printing quality inspection apparatus which concerns on the 1st Embodiment of this invention. It is a block diagram which shows the structure of the printing quality inspection apparatus which concerns on the 1st Embodiment of this invention. It is a block diagram which shows the structure of the printing quality inspection apparatus which concerns on the 1st Embodiment of this invention. It is a block diagram which shows the structure of the printing quality inspection apparatus which concerns on the 1st Embodiment of this invention.
  • a security printing machine denoted by reference numeral 100 in FIG. 1 has a paper feeding device 2 that feeds stacked large-format printed materials (members to be printed) 1 one by one, and six-color printing on the fed large-sized printed material 1.
  • the printing unit 3 is composed of six sets of printing units 3A to 3F, the coating unit 4 coats the varnish on the printing surface of the large format print 1, and the coated large format print 1 is dried and discharged to the discharge pile 5.
  • the paper discharge device 6 is generally configured.
  • the large-size printed material 1 fed to the feeder board by the soccer device of the paper feeding device 2 is aligned in the vertical direction and the width direction by the padding and the horizontal needle device, and is supplied to the printing unit 3A via the swing device.
  • the second to sixth colors are sequentially printed in the printing units 3B to 3F.
  • the varnish is coated on the printing surface in the coating unit 4, the paper discharge chain is used. It is transported, dropped and stacked on the paper discharge pile 5.
  • a plurality of securities prints such as 4 rows ⁇ 8 columns, for example, are so-called on the large-format print 1 provided with the monochromatic motion thread 1b (see FIG. 10) in advance.
  • Printed simultaneously with multi-sided printing Printed simultaneously with multi-sided printing.
  • each portion on which the pattern of the printed securities is printed is referred to as a small piece 1a.
  • the large-sized printed material 1 held on the impression cylinder 8 is disposed on the downstream side in the transport direction of the impression cylinder 8 facing the coater cylinder 7 of the coating unit 4 with respect to the contact point with the coater cylinder 7.
  • a color camera (hereinafter referred to as a camera) 34 as an imaging device that captures images in RGB (Red, Green, and Blue), and a region that is imaged by the camera 34 are irradiated with visible light.
  • a plurality of illuminators 35 are provided. In the present embodiment, the illuminators 35 are provided on the upstream side and the downstream side in the transport direction with respect to the optical axis of the camera 34. The image captured by the camera 34 is transmitted to the print quality inspection unit 10 shown in FIGS. 3A to 3D.
  • the print quality inspection unit 10 includes a CPU 11, a ROM 12, a RAM 13, and input / output devices 14 to 19 connected by BUS lines.
  • a memory M11 for storing memory of a motion thread, a memory M12 for storing a count value Y, a memory M13 for storing a count value X, a memory M14 for storing a small piece of pixel data, and a memory for storing the number of pixels in the X direction of the small piece.
  • a memory M15, a small memory Y16 for storing the number of pixels in the Y direction, and a pointer position storage memory M17 are connected.
  • the BUS line includes a distance storage memory M18 in which the mouse is dragged, a selection end position storage memory M19, a normal tolerance storage memory M20 for R, and a normal tolerance storage memory for G.
  • a small-cut R tolerance storage memory M26, a small-cut G tolerance storage memory M27, and a small-break B tolerance storage memory M28 are connected.
  • the BUS line includes an R tolerance memory M29 for large prints, a G memory storage M30 for large prints, a B memory M31 for large prints, and pixels in the X direction of large prints.
  • a memory M37 for storing the number of rows of small pieces in the large-sized printed material and a memory M38 for storing the number of rows of small-sized columns in the large-sized printed material are connected.
  • the BUS line includes an imaging rotation phase storage memory M39, a count value storage memory M40 of the rotation phase detection counter of the securities printing machine, a reference image data storage memory M41 of R, and a reference image data storage memory of G.
  • M42, B reference image data storage memory M43, camera X direction pixel number storage memory M44, camera Y direction pixel number storage memory M45, R inspection image data storage memory M46, inspection images of G Data memory M47 and inspection image data memory M48 of B are connected.
  • the BUS line includes pixel data at the (X, Y) address position of the (in-camera) invalid pixel count storage memory M49, the (in-camera) invalid pixel count storage memory M50, and R.
  • An absolute value storage memory M56 for the difference in pixel data at the address positions is connected.
  • the input / output device 14 is connected to an input device 21 such as a keyboard and various switches and buttons, a display 22 such as a CRT and a lamp, an output device 23 such as a printer, and a CD drive 24.
  • the display 22 includes a small image display unit 22 a that displays a small image read from the CD drive 24 and a small image captured by the camera 34, and a camera 34.
  • a large-sized printed material display unit 22b that displays an image of the captured large-sized printed material 1 is provided.
  • the input / output device 15 includes an R button 25, a G button 26, a B button 27, a motion thread color setting completion switch 28, a selection range confirmation switch 29, a reference image data reading switch 30, and an inspection start switch 31.
  • the inspection end switch 32 is connected.
  • the R button 25, the G button 26, and the B button 27 are buttons for setting the color system (red, green, and blue) of the motion thread 1b. That is, if the color of the motion thread 1b is red, the R button 25 is turned on, if it is green, the G button 26 is turned on, if it is blue, the B button 27 is turned on, and one of the buttons is turned on. In conjunction with this, the other two buttons are turned OFF.
  • the motion thread color setting completion switch 28 is a switch for inputting that the color setting of the motion thread 1b is completed by operating the R button 25, the G button 26, or the B button 27.
  • the selection range confirmation switch 29 is a switch for inputting that a motion thread range A described later has been confirmed.
  • the reference image data reading switch 30 is a switch for inputting the start of reading of reference image data to be described later.
  • the inspection start switch 31 and the inspection end switch 32 are switches for inputting start and end of print quality inspection.
  • a mouse 33 is connected to the input / output device 16.
  • a camera 34 is connected to the input / output devices 17 and 18.
  • the input / output device 18 sends an imaging command and an image data transmission command to the camera 34, and the imaging data captured by the camera 34 is output to the input / output device 17.
  • the input / output device 19 is connected to a counter 36 for detecting the rotational phase of the securities printing machine, and the counter 36 for detecting the rotational phase of the securities printing machine is connected to a rotary encoder 37 for the securities printing machine drive motor.
  • the rotary encoder 37 for the securities printing machine drive motor is directly attached to the rear end portion of the output shaft of the securities printing machine drive motor (not shown), for example, and the printing units 3A to 3F print on one large-sized printed matter 1.
  • each time it rotates it outputs a zero pulse once every rotation to reset the counter 36 for detecting the rotational phase of the securities printing machine, and every time the securities printing machine drive motor rotates by a predetermined angle, the securities printing Clock pulses are output to the counter 36 for detecting the rotational phase of the machine.
  • the print quality inspection unit 10 firstly adds a motion thread applied to the small slice 1a as shown in FIG.
  • the system of the color 1b (the color of the pattern under the lenticular) is input (steps S1 to S3, S194 to S197).
  • 1 (R) is input if the color of the motion thread 1b is red
  • 2 (G) is input if the color is green
  • 3 (B) is input if the color is blue.
  • the image of the normally printed small piece 1a obtained in advance is input, stored, and displayed on the display 22 (steps S4 to S21).
  • the range surrounding the motion thread 1b by clicking and dragging with the mouse 33 on the image of the slice 1a displayed on the display 22 in the second step (indicated by a broken line in FIG. 10).
  • the enclosed range (hereinafter referred to as a motion thread range) A is designated, and an indication (line) indicating the motion thread range A is displayed on the display 22 (steps S22 to S72). Thereby, a line indicating the outer periphery of the motion thread range A is displayed.
  • the color of the motion thread 1b input in the first step and the motion thread range A designated for the small slice 1a in the third step are used.
  • a permissible value (permissible value for judging whether printing is normal (OK) / abnormal (NG)) relating to the print quality inspection for each RGB of each pixel is set (steps S73 to S96, S198 to S216).
  • the permissible value relating to the print quality inspection for each RGB in each small pixel 1a set in the fourth step is developed for each small fragment 1a in the large-sized printed product 1,
  • An allowable value for each RGB of each pixel in the printed material 1 is set (steps S97 to S128).
  • an allowable value corresponding to a range other than the motion thread range A and the motion thread range A in each small piece 1a is set using this. To do.
  • the permissible RGB values for each pixel in the large-format printed material 1 are set, the operator turns on the reference image data reading switch 30.
  • the large-size printed material 1 printed by the securities printing press 100 is imaged by the camera 34, and the image of the large-sized printed material 1 printed normally is stored as a reference image (steps S129 to S146).
  • the inspection start switch 31 is turned on by the operator.
  • the large format printed matter 1 printed by the securities printing press 100 is imaged by the camera 34 and stored as an inspection image (steps S147 to S165).
  • the RGB image data of each pixel of the inspection image captured in the seventh step is compared with the RGB image data of each corresponding pixel of the reference image stored in the sixth step.
  • the difference between each pixel of the inspection image and the reference image for each RGB is obtained, and in the ninth step, the difference between the inspection image obtained in the eighth step and each pixel of the reference image for each RGB and the fifth step OK / NG is determined by comparing the permissible values for each RGB of each pixel in the set large format print (steps S166 to S193, S217).
  • step S1 if the R button 25 is ON in step S1 (YES), the motion thread color storage memory M11 is overwritten with 1 (R) in step S2, and the process proceeds to step S3. If is OFF (NO), the process proceeds to step S194. In step S194, if the G button 26 is ON (YES), the motion thread color memory M11 is overwritten with 2 (G) in step S195, and the process proceeds to step S3. If it is OFF (NO), the process proceeds to step S196. In step S196, if the B button 27 is ON (YES), the motion thread color memory M11 is overwritten with 3 (B) in step S197 and the process proceeds to step S3, and the B button is OFF. If (NO), the process proceeds to step S3.
  • step S3 if the motion thread color setting completion switch 28 is OFF (NO), the process returns to step S1, and if the motion thread color setting completion switch 28 is ON (YES), the process proceeds to step S4.
  • step S4 1 is overwritten in the count value Y storage memory M12. Subsequently, in step S5, 1 is overwritten in the count value X storage memory M13, and in step S6, (X, The pixel data (RGB) at the address position of Y) is read and overwritten on the address position of (X, Y) in the memory M14 for storing small pieces of pixel data.
  • step S7 1 is added to the count value X in step S7, and this is overwritten in the memory X13 for storing the count value X.
  • step S8 the number of pixels in the X direction of the small slice 1a is read from the memory M15, and counted in step S9. If the value X is equal to or smaller than the number of pixels in the X direction of the small slice 1a (NO), the process returns to step S6, and if the count value X becomes larger than the number of pixels in the X direction of the small slice 1a (YES), in step S10. 1 is added to the count value Y, and this is overwritten in the count value Y storage memory M12.
  • step S10 the number of pixels in the Y direction of the small slice 1a is read from the memory M16 in step S11. If the count value Y is equal to or smaller than the number of pixels in the Y direction of the small slice 1a in step S12 (NO), Returning to S5, when the count value Y becomes larger than the number of pixels in the Y direction of the small slice 1a (YES), the process proceeds to step S13.
  • step S13 1 is overwritten in the count value Y storage memory M12. Subsequently, in step S14, 1 is overwritten in the count value X storage memory M13.
  • step S15 (( The pixel data (RGB) at the address (X, Y) position of the small slice 1a is read from the address position of (X, Y) and displayed at the (X, Y) address position of the small image display unit 22a of the display device 22. . Subsequently, 1 is added to the count value X in step S16 to overwrite the count value X storage memory M13, and the number of pixels in the X direction of the small slice 1a is read from the memory M15 in step S17.
  • step S18 the process returns to step S15, and if the count value X becomes larger than the number of pixels in the X direction of the small slice 1a ( YES), 1 is added to the count value Y in step S19 to overwrite the count value Y memory M12, and the number of pixels in the Y direction of the small slice 1a is read from the memory M16 in step S20.
  • step S21 if the count value Y is equal to or smaller than the number of pixels in the Y direction of the small slice 1a in step S21 (NO), the process returns to step S14, and if the count value Y becomes larger than the number of pixels in the Y direction of the small slice 1a. (YES), the process proceeds to step S22.
  • step S22 it is determined whether or not the mouse pointer is ON. If the mouse pointer is OFF (NO), the process of step S22 is repeated, and if the mouse pointer is ON (YES), step S22 is performed. The process proceeds to S23.
  • step S23 the cursor position (Xk, Yk) on the small-cut image display unit 22a of the display 22 is read and stored in the pointer position storage memory M17. Subsequently, in step S24, it is determined whether or not the movement distance (Xd, Yd) in the X direction and the Y direction is transmitted from the mouse 33, and the movement distance (Xd, Yd) in the X direction and the Y direction is transmitted from the mouse 33. If not (NO), the process of step S24 is repeated, and if the movement distances (Xd, Yd) in the X direction and the Y direction are transmitted from the mouse 33 (YES), the process proceeds to step S25.
  • step S25 the distance (Xd, Yd) by which the mouse 33 is dragged from the mouse 33 is received and stored in the memory M18. Then, in step S26, from the address position in the X direction of the pointer position storage memory M17. The pointer position Xk in the X direction is read.
  • step S28 the mouse 33 is moved to the X-direction pointer position Xk. Is added to the X-direction distance Xd, and the X-direction end position Xe of the selection range is calculated and stored in the X-direction address position of the selection range end-position storage memory M19.
  • step S29 the pointer position Yk in the Y direction is read from the address position in the Y direction of the pointer position storage memory M17, and the mouse 33 is read from the address position in the Y direction of the distance storage memory M18 to which the mouse is dragged in step S30.
  • the Y-direction distance Yd dragged is read.
  • step S31 the Y-direction distance Yd to which the mouse 33 is dragged is added to the Y-direction pointer position Yk, and the Y-direction end position Ye of the selection range is calculated to store the selection range end-position storage memory M19. Is stored in the address position in the Y direction.
  • step S31 the pointer position Xk in the X direction is read from the address position in the X direction of the pointer position storage memory M17 in step S32, and the pointer position Xk in the X direction is read into the count value X storage memory M13 in step S33. Overwrite.
  • the pointer position Yk in the Y direction is read from the address position in the Y direction of the pointer position storage memory M17 in step S34, and the pointer position Yk in the Y direction is overwritten in the count value Y storage memory M12 in step S35.
  • step S36 the count value Y is read from the memory M12
  • step S37 the count value X is read from the memory M13.
  • step S38 the selection range is set at the (X, Y) position of the small image display portion 22a of the display unit 22. A sign indicating is displayed.
  • step S39 1 is added to the count value X, and this is overwritten in the count value X storage memory M13.
  • step S40 the end position storage memory M19 of the selected range is changed from the address position in the X direction to the selected range. The end position Xe in the X direction is read.
  • step S41 if the count value X is equal to or smaller than the end position Xe in the X direction of the selection range in step S41 (NO), the process returns to step S36, and the count value X becomes larger than the end position Xe in the X direction of the selection range. (YES), the process proceeds to step S42.
  • step S42 the pointer position Xk in the X direction is read from the address position in the X direction of the pointer position storage memory M17, and subsequently, the pointer position Xk in the X direction is overwritten in the count value X storage memory M13 in step S43.
  • the pointer position Yk in the Y direction is read from the address position in the Y direction of the pointer position storage memory M17 in step S44, and the pointer position Yk in the Y direction is overwritten in the count value Y storage memory M12 in step S45.
  • step S46 the count value Y is read from the memory M12
  • step S47 the count value X is read from the memory M13.
  • step S48 the selection range is set at the (X, Y) position of the small image display unit 22a of the display unit 22. A sign indicating is displayed.
  • step S49 1 is added to the count value Y to overwrite the count value Y storage memory M12, and in step S50, the end position storage memory M19 of the selection range is shifted from the Y-direction address position to the Y direction of the selection range.
  • the end position Ye is read.
  • step S51 if the count value Y is equal to or smaller than the end position Ye in the Y direction of the selection range in step S51 (NO), the process returns to step S46, and the count value Y becomes larger than the end position Ye in the Y direction of the selection range. (YES), the process proceeds to step S52.
  • step S52 the pointer position Xk in the X direction is read from the address position in the X direction of the pointer position storage memory M17, and then the pointer position Xk in the X direction is overwritten in the count value X storage memory M13 in step S53.
  • step S54 the end position Ye in the Y direction of the selection range is read from the address position in the Y direction of the end position storage memory M19 of the selection range, and in the Y direction of the selection range in the count value Y storage memory M12 in step S55. Is overwritten.
  • step S56 the count value Y is read from the memory M12
  • step S57 the count value X is read from the memory M13.
  • step S58 the selection range is set at the (X, Y) position of the small-size image display unit 22a of the display unit 22. A sign indicating is displayed.
  • step S59 1 is added to the count value X to overwrite the count value X storage memory M13, and in step S60, the X direction address position of the selection range from the end position storage memory M19 of the selection range is selected. The end position Xe is read.
  • step S61 if the count value X is equal to or smaller than the end position Xe in the X direction of the selection range in step S61 (NO), the process returns to step S56, and the count value X becomes larger than the end position Xe in the X direction of the selection range. (YES), the process proceeds to step S62.
  • step S62 the end position Xe in the X direction of the selection range is read from the address position in the X direction of the end position storage memory M19 of the selection range. Subsequently, in step S63, the X value of the selection range is stored in the count value X storage memory M13. The direction end position Xe is overwritten.
  • the pointer position Yk in the Y direction is read from the address position in the Y direction of the pointer position storage memory M17 in step S64, and the pointer position Yk in the Y direction is overwritten in the count value Y storage memory M12 in step S65.
  • step S66 the count value Y is read from the memory M12
  • step S67 the count value X is read from the memory M13
  • step S68 the selection range is set at the (X, Y) position of the small image display unit 22a of the display unit 22. A sign indicating is displayed.
  • step S69 1 is added to the count value Y to overwrite the count value Y storage memory M12.
  • step S70 the Y direction address position of the selection range end position storage memory M19 is changed to the Y direction of the selection range. The end position Ye is read.
  • step S71 if the count value Y is equal to or smaller than the end position Ye in the Y direction of the selection range in step S71 (NO), the process returns to step S66, and the count value Y becomes larger than the end position Ye in the Y direction of the selection range. (YES), the process proceeds to step S72.
  • step S72 it is determined whether or not the selection range determination switch 29 is ON. If the selection range determination switch 29 is not ON (NO), the process returns to step S22, and the selection range determination switch 29 is ON. If it is (YES), the process proceeds to step S73.
  • step S73 1 is overwritten in the count value Y storage memory M12. Subsequently, in step S74, 1 is overwritten in the count value X storage memory M13.
  • step S75 the X-direction address of the pointer position storage memory M17 is written. The pointer position Xk in the X direction is read from the position.
  • step S76 determines that the address position of (X, Y) is a position other than the motion thread range A, and will be described later in step S211. If the count value X is greater than or equal to the X-direction pointer position Xk (YES), in step S77, the X-direction end position Xe of the selection range from the X-direction address position of the selection range end-position storage memory M19. Is transferred to step S78.
  • step S78 if the count value X is larger than the end position Xe in the X direction of the selection range (NO), it is determined that the address position of (X, Y) is a position other than the motion thread range A, and will be described later. If the count value X is less than or equal to the end position Xe in the X direction of the selection range (YES), the pointer position Yk in the Y direction is read from the address position in the Y direction of the pointer position storage memory M17 in step S79. The process proceeds to step S80.
  • step S80 if the count value Y is smaller than the pointer position Yk in the Y direction (NO), it is determined that the address position of (X, Y) is a position other than the motion thread range A, and the process proceeds to step S211 described later. If the count value Y is greater than or equal to the Y-direction pointer position Yk (YES), the Y-direction end position Ye of the selection range is read from the Y-direction address position of the selection range end-position storage memory M19 in step S81. The process proceeds to step S82.
  • step S82 if the count value Y is larger than the end position Ye in the Y direction of the selection range (NO), it is determined that the address position of (X, Y) is a position other than the motion thread range A, and will be described later. If the count value Y is equal to or smaller than the end position Ye in the Y direction of the selection range (YES), it is determined that the address position of (X, Y) is a position within the motion thread range A, and step S83 is performed. To read the value of the memory M11 for color storage of the motion thread.
  • step S83 if the value of the motion thread color storage memory M11 is other than 1 (R) in step S84 (NO), the process proceeds to step S198 described later, and the motion thread color storage memory M11 is stored. If the value is 1 (R) (YES), the process proceeds to step S85.
  • step S85 the normal allowable value for R is read from the memory M20. Subsequently, in step S86, the normal allowable value for R is stored at the (X, Y) address position of the R allowable value storing memory M26.
  • step S87 the maximum allowable value for G is read from the memory M24, and in step S88, the maximum G value is stored in the address position of (X, Y) in the small limit allowable value storage memory M27.
  • the allowable value is overwritten, the maximum allowable value for B is read from the memory M25 in step S89, and the maximum B value is stored in the address position of (X, Y) in the allowable value storing memory M28 for the small B in step S90. Is overwritten, and the process proceeds to step S91 to be described later.
  • the normal allowable value is an allowable value for determining whether printing is performed normally, and the maximum allowable value is whether printing is performed normally. This is an allowable value for invalidating the judgment. That is, when the value of the color memory M11 for the motion thread is 1 (R), the allowable values for G and B are set to the maximum for the motion thread range A, and therefore G and B of the motion thread 1b are set. The inspection using the image data is substantially not performed.
  • step S84 determines whether the process has completed the motion thread color storage memory M11 is other than 2 (G) in step S198. If the process proceeds to step S205 to be described later. If the value of the thread color memory M11 is 2 (G) (YES), the process proceeds to step S199.
  • step S199 the maximum allowable value for R is read from the memory M23. Subsequently, in step S200, the maximum allowable value for R is stored in the (X, Y) address position of the memory R26 for storing the allowable value of R.
  • step S201 the normal tolerance value for G is read from the memory M21 in step S201.
  • step S202 the normal G value is stored in the address position of (X, Y) in the small-value G tolerance memory M27.
  • step S203 the maximum allowable value for B is read from the memory M25 in step S203.
  • step S204 the maximum B value is stored in the (X, Y) address position of the small-value B allowable value storage memory M28.
  • step S91 the process proceeds to step S91 to be described later.
  • the allowable values for R and B are set to the maximum for the motion thread range A, and the R of the motion thread 1b is set. , B image data inspection is invalidated.
  • step S198 the maximum allowable value for R is read from the memory M23 in step S205, and then the allowable value storage memory M26 for R in small pieces is stored in step S206.
  • the maximum allowable value for R is overwritten at the address position of (X, Y), the maximum allowable value for G is read from the memory M24 in step S207, and the allowable value storing memory M27 for the small G is stored in step S208.
  • the maximum allowable value for G is overwritten at the address position (X, Y), the normal allowable value for B is read from the memory M22 in step S209, and the allowable allowable value storage memory M28 for B is cut in step S210.
  • step S211 When the process proceeds from step S76, S78, S80, S82 to step S211, the normal allowable value for R is read from the memory M20 in step S211, and the small allowable value storage memory M26 for R is stored in step S212.
  • the normal allowable value for R is overwritten at the address position (X, Y), the normal allowable value for G is read from the memory M21 in step S213, and the small allowable value storing memory M27 for G is read in step S214.
  • the normal allowable value for G is overwritten at the address position of (X, Y), the normal allowable value for B is read from the memory M22 in step S215, and the memory for storing the allowable value of B for small pieces in step S216
  • the normal allowable value for B is overwritten at the address position (X, Y) of M28, and the process proceeds to step S91 described later.
  • the inspection allowable values for all RGB image data are set to normal values.
  • step S91 1 is added to the count value X to overwrite the count value X storage memory M13, and in step S92, the number of pixels in the X direction of the small slice 1a is read from the memory M15.
  • step S93 if the count value X is equal to or smaller than the number of pixels in the X direction of the small slice 1a in step S93 (NO), the process returns to step S75, and if the count value X becomes larger than the number of pixels in the X direction of the small slice 1a. (YES), the process proceeds to step S94.
  • step S94 1 is added to the count value Y and the count value Y storage memory M12 is overwritten.
  • step S95 the number of pixels in the Y direction of the small slice 1a is read from the memory M16.
  • step S96 if the count value Y is equal to or smaller than the number of pixels in the Y direction of the small slice 1a (NO), the process returns to step S74, and if the count value Y becomes larger than the number of pixels in the Y direction of the small slice 1a. (YES), it moves to step S97 mentioned later.
  • step S97 1 is overwritten in the count value Y storage memory M12, and then in step S98, 1 is overwritten in the count value X storage memory M13.
  • step S99 the maximum allowable value for R is read from the memory M23, and this is overwritten on the address position of (X, Y) in the R allowable value storage memory M29 for large-format printed matter.
  • step S100 the memory M24 is written.
  • the maximum allowable value for G is read from the memory, and this is overwritten on the (X, Y) address position of the G allowable value storage memory M30 for large-format printed matter.
  • step S101 the maximum allowable value for B is read from the memory M25. Is overwritten in the (X, Y) address position of the B tolerance memory M31 for large-format prints.
  • step S102 1 is added to the count value X in step S102 to overwrite the count value X storage memory M13, and the number of pixels in the X direction of the large-format print 1 is read from the memory M32 in step S103.
  • step S104 if the count value X is equal to or smaller than the number of pixels in the X direction of the large format printed matter 1 in step S104 (NO), the process returns to step S99, and the count value X becomes larger than the number of pixels in the X direction of the large format printed matter 1. (YES), the process proceeds to step S105.
  • step S105 1 is added to the count value Y and the count value Y storage memory M12 is overwritten. Then, in step S106, the number of pixels in the Y direction of the large format printed matter 1 is read from the memory M33.
  • step S107 if the count value Y is equal to or smaller than the number of pixels in the Y direction of the large format printed material 1 in step S107 (NO), the process returns to step S98, and if the count value Y becomes larger than the number of pixels in the Y direction of the large format printed material 1. (YES), the process proceeds to step S108.
  • step S108 1 is overwritten in the count value N storage memory M34, and then in step S109, 1 is overwritten in the count value M storage memory M35.
  • step S110 the lower left end of the N-th row and M-th row slice 1a from the address position in the X direction of the N-th row and M-th row slice 1a in the memory M36 for storing the lower-left corner position of each small piece in the large format printed matter.
  • step S111 the small row in the Nth row and the Mth column from the address position in the Y direction of the Nth row and Mth column of the small row 1a in the memory M36 for storing the lower left end position of each small piece in the large format printed matter.
  • the position in the Y direction at the lower left corner of the cut 1a is read.
  • step S114 the R allowable value at the position (X, Y) of the small slice 1a is read from the (X, Y) address position of the memory R26 for small cut allowable value storage memory M26, and this is read in large format.
  • the address position of + count value Y-1) is overwritten.
  • step S115 the G tolerance value at the (X, Y) position of the small slice 1a is read from the (X, Y) address position of the small cut G allowable value storage memory M27, and this is read in a large format.
  • the G tolerance value storage memory M30 the position in the X direction of the lower left end of the Nth row and Mth column of the small cut + the count value X ⁇ 1, the position in the Y direction of the lower left end of the Nth row and Mth row of the small cut
  • the address position of + count value Y-1) is overwritten.
  • step S116 the B tolerance value at the position (X, Y) of the small slice 1a is read from the address position (X, Y) of the memory B 28 for small cut B tolerance value storage, and this is read in large format.
  • the address position of + count value Y-1) is overwritten.
  • step S116 1 is added to the count value X in step S117 to overwrite the count value X storage memory M13, and the number of pixels in the X direction of the small slice 1a is read from the memory M15 in step S118.
  • step S119 if the count value X is equal to or smaller than the number of pixels in the X direction of the small slice 1a in step S119 (NO), the process returns to step S114, and if the count value X becomes larger than the number of pixels in the X direction of the small slice 1a. (YES), the process proceeds to step S120.
  • step S120 1 is added to the count value Y and the count value Y storage memory M12 is overwritten. Then, in step S121, the number of pixels in the Y direction of the small slice 1a is read from the memory M16.
  • step S122 if the count value Y is equal to or smaller than the number of pixels in the Y direction of the small slice 1a in step S122 (NO), the process returns to step S113, and if the count value Y becomes larger than the number of pixels in the Y direction of the small slice 1a. (YES), the process proceeds to step S123.
  • step S123 1 is added to the count value M and the count value M storage memory M35 is overwritten. Then, in step S124, the number of lines of the small slice 1a in the large format printed matter 1 is read from the memory M37.
  • step S125 if the count value M is equal to or less than the number of lines of the small cut 1a in the large format printed matter 1 (NO), the process returns to step S110, and the count value M is the number of lines of the small piece 1a in the large format printed matter 1. (YES), the process proceeds to step S126.
  • step S126 1 is added to the count value N and the count value N storage memory M34 is overwritten. Subsequently, in step S127, the number of columns of the small slices 1a in the large format printed matter 1 is read from the memory M38.
  • step S128 the process returns to step S109, and the count value N is determined from the number of columns of the small slices 1a in the large format printed matter 1. (YES), the process proceeds to step S129.
  • step S129 it is determined whether or not the reference image data reading switch 30 is ON. If the reference image data reading switch 30 is OFF (NO), the process of step S129 is repeated to read the reference image data. When the switch 30 is turned on (YES), the process proceeds to step S130.
  • step S130 the imaging rotation phase is read from the memory M39. Subsequently, in step S131, the count value is read from the rotation phase detection counter 36 of the securities printing machine and stored in the memory M40.
  • Step S132 the process returns to Step S131, and the count value of the rotation phase detection counter 36 of the securities printing machine.
  • an imaging command is output from the input / output device 18 to the camera 34 in step S133, and an image data transmission command is output from the input / output device 18 to the camera 34 in step S134.
  • step S135 it is determined whether or not imaging data is output from the camera 34 to the input / output device 17. If the imaging data is not output (NO), the processing in step S135 is repeated and the imaging data is output. If yes (YES), 1 is overwritten in the count value Y storage memory M12 in step S136, and 1 is overwritten in the count value X storage memory M13 in step S137.
  • the R pixel data is read from the camera 34 in step S138 and stored in the (X, Y) address position of the R reference image data storage memory M41, and from the camera 34 in step S139.
  • the G pixel data is read and stored in the (X, Y) address position of the G reference image data storage memory M42.
  • the B pixel data is read from the camera 34 and is read into the B reference image. The data is stored in the (X, Y) address position of the data storage memory M43.
  • step S141 1 is added to the count value X in step S141 to overwrite the count value X storage memory M13, and the number of pixels in the X direction of the camera 34 is read from the memory M44 in step S142.
  • step S143 if the count value X is equal to or smaller than the number of pixels in the X direction of the camera 34 in step S143 (NO), the process returns to step S138, and if the count value X becomes larger than the number of pixels in the X direction of the camera 34 (YES).
  • step S144 1 is added to the count value Y to overwrite the count value Y storage memory M12, and the number of pixels in the Y direction of the camera 34 is read from the memory M45 in step S145.
  • step S146 if the count value Y is equal to or smaller than the number of pixels in the Y direction of the camera 34 in step S146 (NO), the process returns to step S137, and if the count value Y becomes larger than the number of pixels in the Y direction of the camera 34 (YES). ), The process proceeds to step S147.
  • step S147 it is determined whether or not the inspection start switch 31 is ON. If the inspection start switch 31 is OFF (NO), the process of step S147 is repeated and the inspection start switch 31 is turned ON. If it is (YES), the process proceeds to step S148.
  • step S148 it is determined whether or not the inspection end switch 32 is turned ON. If the inspection end switch 32 is OFF (NO), the process proceeds to step S149, and if the inspection end switch 32 is turned ON (YES). The processing by the print quality inspection unit 10 is finished.
  • step S149 the imaging rotation phase is read from the memory M39, and in step S150, the count value is read from the rotation phase detection counter 36 of the securities printing machine and stored in the memory M40.
  • step S151 the process returns to step S150, and the count value of the rotation phase detection counter 36 of the securities printing machine.
  • the imaging command is output from the input / output device 18 to the camera 34 in step S152, and the image data transmission command is output from the input / output device 18 to the camera 34 in step S153.
  • step S154 it is determined whether imaging data is output from the camera 34 to the input / output device 17. If the imaging data is not output (NO), the process of step S154 is repeated to output imaging data. If YES (YES), 1 is overwritten in the count value Y storage memory M12 in step S155, and 1 is overwritten in the count value X storage memory M13 in step S156.
  • R pixel data is read from the camera 34 in step S157 and stored in the (X, Y) address position of the R inspection image data storage memory M46, and from the camera 34 in step S158.
  • the G pixel data is read and stored in the (X, Y) address position of the G inspection image data storage memory M47.
  • the B pixel data is read from the camera 34 and is read into the B inspection image. The data is stored in the (X, Y) address position of the data storage memory M48.
  • step S160 1 is added to the count value X in step S160 to overwrite the count value X memory M13, and the number of pixels in the X direction of the camera 34 is read from the memory M44 in step S161.
  • step S162 if the count value X is equal to or smaller than the number of pixels in the X direction of the camera 34 in step S162 (NO), the process returns to step S157, and if the count value X becomes larger than the number of pixels in the X direction of the camera 34 (YES).
  • step S163 1 is added to the count value Y to overwrite the count value Y memory M12, and the number of pixels in the Y direction of the camera 34 is read from the memory M45 in S164.
  • step S165 if the count value Y is equal to or smaller than the number of pixels in the Y direction of the camera 34 in step S165 (NO), the process returns to step S156, and if the count value Y becomes larger than the number of pixels in the Y direction of the camera 34 (YES). ), The process proceeds to step S166.
  • step S166 1 is overwritten in the count value Y storage memory M12. Subsequently, in step S167, 1 is overwritten in the count value X storage memory M13.
  • step S168 the memory M49 invalidates the camera in the X direction. The number of pixels is read, and the number of invalid pixels in the Y direction (of the camera) is read from the memory M50 in step S169.
  • the invalid pixel is a portion corresponding to the region 22c (the region indicated by hatching in FIG. 12) other than the portion where the large format printed matter 1 is captured in the image data captured by the camera 34. Pixel.
  • step S170 from the address position (number of invalid pixels in the X direction + count value X, number of invalid pixels in the Y direction + count value Y) in the R inspection image data storage memory M46, the number of invalid pixels in the X direction.
  • the inspection data of R of the pixel at the address position of (+ count value X, number of invalid pixels in the Y direction + count value Y) is read.
  • step S171 from the address position (number of invalid pixels in X direction + count value X, number of invalid pixels in Y direction + count value Y) in R reference image data storage memory M41, the number of invalid pixels in the X direction.
  • R reference data of the pixel at the address position of (+ count value X, number of invalid pixels in the Y direction + count value Y) is read.
  • step S172 from the R inspection data of the pixel at the address position (number of invalid pixels in X direction + count value X, number of invalid pixels in Y direction + count value Y), (number of invalid pixels in X direction + count value).
  • the R reference data of the pixel at the address position in the X and Y direction invalid count + count value Y) is subtracted to calculate the difference between the pixel data at the R (X, Y) address position and this is stored in the memory M51.
  • step S173 the absolute value of the difference between the pixel data at the R (X, Y) address position is calculated from the difference between the pixel data at the R (X, Y) address position, and this is calculated.
  • step S174 the allowable value of the pixel data at the (X, Y) address position of R is read from the (X, Y) address position of the R allowable value storage memory M29 of the large format printed matter.
  • step S175 is performed.
  • step S217 an error is displayed on the display 22, the inspection is terminated, and the pixel at the address position (X, Y) where the absolute value of the pixel data difference at the address position (X, Y) of R is R If it is below the allowable value of the data (YES), the process proceeds to step S176.
  • step S176 from the address position (number of invalid pixels in the X direction + count value X, number of invalid pixels in the Y direction + count value Y) in the G inspection image data storage memory M47, the number of invalid pixels in the X direction + count.
  • the G inspection data of the pixel at the address position of the number of invalid pixels in the values X and Y directions + count value Y) is read.
  • step S177 from the address position (number of invalid pixels in X direction + count value X, number of invalid pixels in Y direction + count value Y) in the reference image data storage memory G42 (number of invalid pixels in the X direction) G reference data of the pixel at the address position of (+ count value X, number of invalid pixels in the Y direction + count value Y) is read.
  • step S178 from the G inspection data of the pixel at the address position (number of invalid pixels in X direction + count value X, number of invalid pixels in Y direction + count value Y), (number of invalid pixels in X direction + count value).
  • the difference between the pixel data at the address position (X, Y) of G is calculated by subtracting the G reference data of the pixel at the address position of the invalid pixel count in the X and Y directions + count value Y), and this is stored in the memory M53.
  • step S179 the absolute value of the difference between the pixel data at the address position of G (X, Y) is calculated from the difference between the pixel data at the address position of G (X, Y) and stored in the memory M54.
  • step S180 the allowable value of the pixel data at the (X, Y) address position of the G is read from the (X, Y) address position of the G allowable value storage memory M30 of the large format printed matter.
  • step S181 if the absolute value of the difference between the pixel data at the (X, Y) address position in G is greater than the allowable value of the pixel data at the (X, Y) address position in G (NO) in step S181, the above-mentioned.
  • step S217 an error is displayed on the display 22, the inspection is terminated, and the absolute value of the difference in pixel data at the (X, Y) address position of G is the (X, Y) address position of G. If it is less than the allowable value of the pixel data (YES), the process proceeds to step S182.
  • step S182 from the address position (number of invalid pixels in the X direction + count value X, number of invalid pixels in the Y direction + count value Y) in the B inspection image data storage memory M48, the number of invalid pixels in the X direction + count.
  • the B inspection data of the pixel at the address position of the number of invalid pixels in the values X and Y directions + count value Y) is read.
  • step S183 from the address position (number of invalid pixels in the X direction + count value X, number of invalid pixels in the Y direction + count value Y) in the reference image data storage memory M43 of B, the number of invalid pixels in the X direction.
  • the reference data B of the pixel at the address position of (+ count value X, number of invalid pixels in the Y direction + count value Y) is read.
  • step S184 from the B inspection data of the pixel at the address position (number of invalid pixels in X direction + count value X, number of invalid pixels in Y direction + count value Y), (number of invalid pixels in X direction + count value).
  • the reference data of B of the pixel at the address position of the number of invalid pixels in the X and Y directions + the count value Y) is subtracted, and the difference between the pixel data at the address position of (X, Y) of B is calculated and stored in the memory M55.
  • step S185 the absolute value of the difference between the pixel data at the B (X, Y) address position is calculated from the difference between the pixel data at the B (X, Y) address position, and this is stored in the memory M56.
  • step S186 the permissible value of the pixel data at the (X, Y) address position of B is read from the (X, Y) address position of the B permissible value storage memory M31 of the large format printed matter.
  • step S187 if the absolute value of the difference between the pixel data at the (X, Y) address position of B is larger than the allowable value of the pixel data at the (X, Y) address position of B (NO), the above-mentioned.
  • step S217 an error is displayed on the display 22, the inspection is terminated, and the absolute value of the difference in pixel data at the (X, Y) address position of B is the (X, Y) address position of B. If it is less than the allowable value of the pixel data (YES), the process proceeds to step S188.
  • step S188 1 is added to the count value X and the count value X storage memory M13 is overwritten. Then, in step S189, the number of pixels in the X direction of the large-format print is read from the memory M32.
  • step S190 if the count value X is equal to or smaller than the number of pixels in the X direction of the large format printed matter in step S190 (NO), the process returns to step S168, and if the count value X becomes larger than the number of pixels in the X direction of the large format printed matter (YES). ), The process proceeds to step S191.
  • step S191 1 is added to the count value Y and the count value Y storage memory M12 is overwritten.
  • step S192 the number of pixels in the Y direction of the large-format print is read from the memory M33.
  • step S193 the process returns to step S167, and if the count value Y becomes larger than the number of pixels in the Y direction of the large format print (YES). ) Return to step S148 described above.
  • the motion thread range A is the same system as the color of the motion thread 1b among the R, G, and B image data captured by the camera 34.
  • the print quality is inspected using only the image data of the colors of colors, while the print quality is inspected using the image data of all RGB for the portion other than the motion thread range A.
  • FIG. 11A shows an example of image data of the same color as the color of the motion thread 1b
  • FIGS. 11B and 11C show examples of image data of a color of a system different from the color of the motion thread 1b.
  • the motion thread 1b appears in a dark color in the image data of a color different from the color of the motion thread 1b. Therefore, when the allowable value is set to a normal value, the angle can be changed slightly. When the pattern of the motion thread 1b changes, it may be determined as NG. Therefore, when the inspection is performed using image data of a color different from the color of the motion thread 1b, the allowable value used for the OK / NG determination is maximized for the motion thread range A so that the inspection is not substantially performed. To do.
  • the motion thread 1b in the image data of the same color as the color of the motion thread 1b, the motion thread 1b is achromatic or appears in a light color. Therefore, the motion thread 1b can be ignored. Therefore, when the inspection is performed using image data of the same color as the color of the motion thread 1b, the conventional inspection is performed for the motion thread range A with the allowable value used for OK / NG determination being a normal value. I am doing so.
  • the present embodiment it is possible to prevent the change in the pattern of the motion thread 1b from affecting the inspection of the print quality and to inspect the print quality without being influenced by the pattern of the motion thread 1b.
  • the quality of printing performed on the large format printed matter 1 provided with the motion thread 1b can be inspected with high accuracy.
  • This embodiment differs from the first embodiment described above in the configuration of the camera and the illuminator, the configuration of the print quality inspection unit 10, and the processing in the print quality inspection unit 10.
  • Other structures are substantially the same as those described in the first embodiment, and hereinafter, members having the same functions as those shown in FIGS. 1 to 12 are denoted by the same reference numerals and are duplicated. Description is omitted as appropriate.
  • Monochrome camera 34A that captures a single image of 1 and R illuminators (for example, Red LED) 35A and G illuminators that irradiate red, green, and blue light to areas captured by the monochrome camera 34A ( For example, Green LED) 35B and B illuminators (for example, Blue LED) 35C are provided.
  • the illuminators 35A, 35B, and 35C are provided on the upstream side and the downstream side in the transport direction with respect to the optical axis of the monochrome camera 34A.
  • the large-sized print 1 held on the impression cylinder 8 is RGB (Red, Green). (Green) and blue (Blue)) and a plurality of visible light illuminators (for example, white LEDs) 35D that irradiate visible light to the area imaged by the color camera 34B. It is installed.
  • the visible light illuminator 35D is provided on the upstream side and the downstream side in the transport direction with respect to the optical axis of the color camera 34B.
  • a light shielding plate 38 is disposed between the illuminators 35A, 35B, and 35C and the visible light illuminator 35D to prevent the influence of disturbance light. Further, the images captured by the monochrome camera 34A and the color camera 34B are transmitted to the print quality inspection unit 10 shown in FIGS. 14A to 14E, respectively.
  • the print quality inspection unit 10 includes a CPU 11, a ROM 12, a RAM 13, and input / output devices 14 to 20 connected by BUS lines.
  • a memory M11 for storing memory of a motion thread, a memory M12 for storing a count value Y, a memory M13 for storing a count value X, a memory M14 for storing a small piece of pixel data, and a memory for storing the number of pixels in the X direction of the small piece.
  • a memory M15, a small memory Y16 for storing the number of pixels in the Y direction, and a pointer position storage memory M17 are connected.
  • the BUS line includes a distance storage memory M18 in which the mouse is dragged, a selection end position storage memory M19, a normal tolerance storage memory M20 for R, and a normal tolerance storage memory for G.
  • a small-cut R tolerance storage memory M26, a small-cut G tolerance storage memory M27, and a small-break B tolerance storage memory M28 are connected.
  • the BUS line includes an R tolerance memory M29 for large prints, a G memory storage M30 for large prints, a B memory M31 for large prints, and pixels in the X direction of large prints.
  • a memory M37 for storing the number of rows of small pieces in the large-sized printed material and a memory M38 for storing the number of rows of small-sized columns in the large-sized printed material are connected.
  • the BUS line includes an allowable value storage memory M139 for a large-format printed monochrome camera, an imaging rotation phase storage memory M140 for a color camera, and a count value storage memory M141, R for a rotation phase detection counter for a securities printing press.
  • Allowable value storage memory M139 for a large-format printed monochrome camera
  • an imaging rotation phase storage memory M140 for a color camera
  • Reference image data storage memory M142, G reference image data storage memory M143, B reference image data storage memory M144, color camera X direction pixel number storage memory M145, color camera Y direction pixel number storage A memory M146 is connected.
  • the BUS line includes a monochrome camera imaging rotation phase storage memory M147, a monochrome camera reference image data storage memory M148, a monochrome camera X-direction pixel number storage memory M149, and a monochrome camera Y-direction pixel count.
  • the storage memory M150, the R inspection image data storage memory M151, the G inspection image data storage memory M152, and the B inspection image data storage memory M153 are connected.
  • the BUS line includes a difference between pixel data at the address position (X, Y) of the invalid pixel number storage memory M154 in the X direction of the color camera and an invalid pixel number storage memory M155 in the Y direction of the color camera.
  • a memory M161 for storing absolute values of differences in pixel data at positions is connected.
  • the BUS line also includes an inspection image data storage memory M162 of the monochrome camera, an invalid pixel count storage memory M163 of the monochrome camera, an invalid pixel count storage memory M164 of the monochrome camera, and ( The pixel data difference storage memory M165 at the X, Y) address position and the absolute value storage memory M166 of the pixel data difference at the (X, Y) address position of the monochrome camera are connected.
  • the input / output device 14 is connected to an input device 21 such as a keyboard and various switches and buttons, a display 22 such as a CRT and a lamp, an output device 23 such as a printer, and a CD drive 24.
  • the small image display unit 22a displays a small image read from the CD drive 24 or a small image captured by the monochrome camera 34A and the color camera 34B, and a large-format printed material display unit 22b. Displays an image of the large-format printed material 1 captured by the monochrome camera 34A and the color camera 34B.
  • the input / output device 15 includes an R button 25, a G button 26, a B button 27, a motion thread color setting completion switch 28, a selection range confirmation switch 29, a reference image data reading switch 30, and an inspection start switch 31.
  • the inspection end switch 32 is connected.
  • the R button 25, the G button 26, and the B button 27 are buttons for setting the color system (red, green, and blue) of the motion thread 1b. That is, if the color of the motion thread 1b is red, the R button 25 is turned on, if it is green, the G button 26 is turned on, if it is blue, the B button 27 is turned on, and one of the buttons is turned on. In conjunction with this, the other two buttons are turned OFF.
  • the motion thread color setting completion switch 28 is a switch for inputting that the setting of the color of the motion thread 1b by the operation of the R button 25, the G button 26, or the B button 27 is completed.
  • the selection range confirmation switch 29 is a switch for inputting that a motion thread range A described later has been confirmed.
  • the reference image data reading switch 30 is a switch for inputting start of reading of reference image data described later.
  • the inspection start switch 31 and the inspection end switch 32 are switches for inputting start and end of print quality inspection.
  • a mouse 33 is connected to the input device 16.
  • a monochrome camera 34A is connected to the input / output devices 17-A and 18-A.
  • the monochrome camera 34A receives an imaging command and an image data transmission command from the input / output device 18-A, and the imaging data captured by the monochrome camera 34A is output to the input / output device 17-A.
  • a color camera 34B is connected to the input / output devices 17-B and 18-B.
  • the color camera 34B receives an imaging command and an image data transmission command from the input / output device 18-B, and the imaging data captured by the color camera 34B is output to the input / output device 17-B.
  • the input / output device 20 is connected to an R illuminator 35A, a G illuminator 35B, a B illuminator 35C, and a visible light illuminator 35D.
  • the input / output device 19 is connected to a counter 36 for detecting the rotational phase of the securities printing machine, and the counter 36 for detecting the rotational phase of the securities printing machine is connected to a rotary encoder 37 for the securities printing machine drive motor.
  • the rotary encoder 37 for the securities printing machine drive motor is directly attached to the rear end portion of the output shaft of the securities printing machine drive motor (not shown), for example, and the printing units 3A to 3F print on one large-sized printed matter 1.
  • each time it rotates it outputs a zero pulse once every rotation to reset the counter 36 for detecting the rotational phase of the securities printing machine, and every time the securities printing machine drive motor rotates by a predetermined angle, the securities printing Clock pulses are output to the counter 36 for detecting the rotational phase of the machine.
  • the print quality inspection unit 10 firstly adds a motion thread applied to the small slice 1a as shown in FIG.
  • the system of the color 1b (the color of the pattern under the lenticular) is input (step T1 to step T3, step T279 to step T282).
  • 1 (R) is input if the color of the motion thread 1b is red
  • 2 (G) is input if the color is green
  • 3 (B) is input if the color is blue.
  • the normally printed image of the small slice 1a acquired in advance is input and stored, and displayed on the display 22 (step T4 to step T21).
  • the range surrounding the motion thread 1b by clicking and dragging with the mouse 33 on the image of the slice 1a displayed on the display 22 in the second step (indicated by a broken line in FIG. 10).
  • An enclosed range (hereinafter referred to as a motion thread range) A is designated, and an indication (line) indicating the motion thread range A is displayed on the display 22 (step T22 to step T72). Thereby, a line indicating the outer periphery of the motion thread range A is displayed.
  • the color of the motion thread 1b input in the first step and the motion thread range A designated for the small slice 1a in the third step are used.
  • An allowable value (allowable value for determining whether printing is normal (OK) / abnormal (NG)) relating to the print quality inspection for each RGB of each pixel is set (step T73 to step T96, step T283 to step T301).
  • the allowable values for R, G, and B for inspecting the print quality are set to normal values if the color within the motion thread range A is the same system as the color of the motion thread 1b. If the color of the system is different from the color of the motion thread 1b, the maximum value is not substantially inspected, and for parts other than the motion thread range A, allowable values for R, G, and B are set.
  • the conventional inspection is performed as a normal value.
  • the permissible value relating to the print quality inspection for each RGB in each small pixel 1a set in the fourth step is developed for each small fragment 1a in the large-sized printed product 1,
  • An allowable value for each RGB of each pixel in the printed material 1 is set (step T97 to step T128).
  • an allowable value corresponding to a range other than the motion thread range A and the motion thread range A in each small piece 1a is set using this. To do.
  • the sixth step when the color of the same system as the color of the motion thread 1b is based on the permissible value related to the print quality inspection for each RGB of each pixel in the small slice 1a set in the fourth step Are set as the allowable values of the monochrome camera 34A for each pixel in the large-format print 1.
  • an allowable value corresponding to each small slice 1a is set by using this (step T129 to step T158, step T302 to step T358). ).
  • the allowable value of the monochrome camera 34A for each pixel in the large format printed material 1 is set, the operator turns on the reference image data reading switch 30.
  • the large-format printed material 1 printed by the securities printing press 100 is imaged by the color camera 34B and the monochrome camera 34A, and the image of the large-sized printed material 1 printed normally is stored as a reference image (step).
  • the inspection start switch 31 is turned on by the operator.
  • the large format printed matter 1 printed by the securities printing press 100 is imaged by the color camera 34B and stored as an inspection image (step T195 to step T213).
  • the image data of a color different from the color of the motion thread 1b of each pixel of the inspection image captured by the color camera 34B in the eighth step corresponds to the reference image stored in the seventh step.
  • the image data of a color different from the color of the motion thread 1b of each pixel is compared to obtain the difference for each color of each pixel of the inspection image and the reference image.
  • the difference is obtained in the ninth step.
  • OK / NG is determined by comparing the difference of each pixel in the inspection image and the reference image for each color and the permissible value for each pixel in the large format printed material 1 set in the fifth step (step T214). To Step T247).
  • print quality inspection is not performed for image data of the same color as the color of the motion thread 1b.
  • the fourth step for the motion thread range A, since the allowable value of the color of the system different from the color of the motion thread 1b is set to the maximum value, the image captured by the color camera 34B is the motion thread. It will be used only for the inspection of parts other than the range A.
  • the large format printed matter 1 printed by the securities printing press 100 is imaged by the monochrome camera 34A and stored as an inspection image (step T248 to step T262).
  • the pixel image data is compared to determine the difference between each pixel in the inspection image and the reference image.
  • the difference between each pixel in the inspection image and the reference image obtained in the twelfth step The permissible value of each pixel in the large-format printed material 1 set in the process is compared to determine OK / NG (step T263 to step T278).
  • an image captured by the monochrome camera 34A is used for print quality inspection instead of image data of the same color as the color of the motion thread 1b captured by the color camera 34B.
  • step T1 If the R button 25 is ON at step T1 (YES), the motion thread color memory M11 is overwritten with 1 (R) at step T2 and the process proceeds to step T3, and the R button 25 is OFF. If (NO), the process proceeds to step T279. In step T279, if the G button 26 is ON (YES), the motion thread color memory M11 is overwritten with 2 (G) in step T280, and the process proceeds to step T3. If it is OFF (NO), the process proceeds to step T281. In step T281, if the B button 27 is ON (YES), the motion thread color memory M11 is overwritten with 3 (B) in step T282 and the process proceeds to step T3, and the B button is OFF. If (NO), the process proceeds to step T3.
  • step T3 if the motion thread color setting completion switch 28 is OFF (NO), the process returns to step T1, and if the motion thread color setting completion switch 28 is ON (YES), the process proceeds to step T4. .
  • step T4 1 is overwritten in the count value Y storage memory M12. Subsequently, in step T5, 1 is overwritten in the count value X storage memory M13, and in step T6, (X, The pixel data (RGB) at the address position of Y) is read and overwritten on the address position of (X, Y) in the memory M14 for storing small pieces of pixel data.
  • step T7 1 is added to the count value X and this is overwritten in the memory X13 for storing the count value X.
  • step T8 the number of pixels in the X direction of the small slice 1a is read from the memory M15, and counted in step T9. If the value X is equal to or smaller than the number of pixels in the X direction of the small slice 1a (NO), the process returns to step T6, and if the count value X becomes larger than the number of pixels in the X direction of the small slice 1a (YES), in step T10. 1 is added to the count value Y, and this is overwritten in the count value Y storage memory M12.
  • step T10 the number of pixels in the Y direction of the small slice 1a is read from the memory M16 in step T11. If the count value Y is equal to or smaller than the number of pixels in the Y direction of the small piece 1a in step T12 (NO), Returning to T5, when the count value Y becomes larger than the number of pixels in the Y direction of the small slice 1a (YES), the process proceeds to step T13.
  • step T13 1 is overwritten in the count value Y storage memory M12. Subsequently, in step T14, 1 is overwritten in the count value X storage memory M13.
  • step T15 (( The pixel data (RGB) at the address (X, Y) position of the small slice 1a is read from the address position of (X, Y) and displayed at the (X, Y) address position of the small image display unit 22a of the display device 22. . Subsequently, 1 is added to the count value X in step T16 to overwrite the count value X storage memory M13, and the number of pixels in the X direction of the small slice 1a is read from the memory M15 in step T17.
  • step T18 the process returns to step T15, and if the count value X becomes larger than the number of pixels in the X direction of the small slice 1a ( YES), 1 is added to the count value Y in step T19 to overwrite the count value Y memory M12, and the number of pixels in the Y direction of the small slice 1a is read from the memory M16 in step T20.
  • step T21 if the count value Y is equal to or smaller than the number of pixels in the Y direction of the small slice 1a in step T21 (NO), the process returns to step T14, and if the count value Y becomes larger than the number of pixels in the Y direction of the small slice 1a. (YES), the process proceeds to step T22.
  • step T22 it is determined whether or not the mouse pointer is ON. If the mouse pointer is OFF (NO), the process of step T22 is repeated. If the mouse pointer is ON (YES), step S22 is executed. The process proceeds to T23.
  • step T23 the cursor position (Xk, Yk) on the small-cut image display unit 22a of the display 22 is read and stored in the pointer position storage memory M17. Subsequently, in step T24, it is determined whether or not the movement distance (Xd, Yd) in the X direction and the Y direction is transmitted from the mouse 33, and the movement distance (Xd, Yd) in the X direction and the Y direction is transmitted from the mouse 33. If not (NO), the process of step T24 is repeated, and if the movement distances (Xd, Yd) in the X direction and the Y direction are transmitted from the mouse 33 (YES), the process proceeds to step T25.
  • step T25 the distance (Xd, Yd) by which the mouse 33 is dragged from the mouse 33 is received and stored in the memory M18. Then, in step T26, from the address position in the X direction of the pointer position storage memory M17. The pointer position Xk in the X direction is read.
  • the distance Xd in the X direction to which the mouse 33 is dragged is read from the address position in the X direction in the distance storage memory M18 to which the mouse 33 has been dragged in step T27, and the mouse 33 is moved to the pointer position Xk in the X direction in step T28.
  • the X-direction distance Xd is added to the X-direction distance Xd, and the X-direction end position Xe of the selection range is calculated and stored in the X-direction address position of the selection range end-position storage memory M19.
  • step T29 the pointer position Yk in the Y direction is read from the address position in the Y direction of the pointer position storage memory M17, and the mouse 33 is read from the address position in the Y direction of the distance storage memory M18 where the mouse is dragged in step T30.
  • the Y-direction distance Yd dragged is read.
  • step T31 the distance Yd in the Y direction where the mouse 33 is dragged is added to the pointer position Yk in the Y direction, and the end position Ye in the Y direction of the selected range is calculated to store the end position storing memory M19 in the selected range. Is stored in the address position in the Y direction.
  • step T31 the pointer position Xk in the X direction is read from the address position in the X direction of the pointer position storage memory M17 in step T32, and the pointer position Xk in the X direction is read into the count value X storage memory M13 in step T33. Overwrite.
  • the pointer position Yk in the Y direction is read from the address position in the Y direction of the pointer position storage memory M17 in step T34, and the pointer position Yk in the Y direction is overwritten in the count value Y storage memory M12 in step T35.
  • the count value Y is read from the memory M12 at step T36
  • the count value X is read from the memory M13 at step T37
  • the selection range is set at the (X, Y) position of the small-cut image display portion 22a of the display 22 at step T38. A sign indicating is displayed.
  • step T39 1 is added to the count value X, and this is overwritten in the count value X storage memory M13.
  • the end position storage memory M19 of the selection range is changed from the address position in the X direction to the selection range. The end position Xe in the X direction is read.
  • step T41 if the count value X is equal to or less than the end position Xe in the X direction of the selection range in step T41 (NO), the process returns to step T36, and the count value X becomes larger than the end position Xe in the X direction of the selection range. (YES), the process proceeds to step T42.
  • step T42 the pointer position Xk in the X direction is read from the address position in the X direction of the pointer position storage memory M17, and then the pointer position Xk in the X direction is overwritten in the count value X storage memory M13 in step T43.
  • step T44 the pointer position Yk in the Y direction is read from the address position in the Y direction of the pointer position storage memory M17, and the pointer position Yk in the Y direction is overwritten in the count value Y storage memory M12 in step T45.
  • the count value Y is read from the memory M12 at step T46
  • the count value X is read from the memory M13 at step T47
  • the selection range is set at the (X, Y) position of the small-cut image display portion 22a of the display 22 at step T48. A sign indicating is displayed.
  • step T49 1 is added to the count value Y to overwrite the count value Y storage memory M12.
  • step T50 the Y direction address position of the selection range end position storage memory M19 is changed to the Y direction of the selection range. The end position Ye is read.
  • step T51 if the count value Y is equal to or less than the end position Ye in the Y direction of the selection range in step T51 (NO), the process returns to step T46, and the count value Y becomes larger than the end position Ye in the Y direction of the selection range. (YES), the process proceeds to step T52.
  • step T52 the pointer position Xk in the X direction is read from the address position in the X direction of the pointer position storage memory M17, and then the pointer position Xk in the X direction is overwritten in the count value X storage memory M13 in step T53.
  • step T54 the end position Ye in the Y direction of the selection range is read from the address position in the Y direction of the end position storage memory M19 in the selection range, and in the Y direction of the selection range in the count value Y storage memory M12 in step T55. Is overwritten.
  • the count value Y is read from the memory M12 in step T56
  • the count value X is read from the memory M13 in step T57
  • the selection range is set at the (X, Y) position of the small-cut image display portion 22a of the display 22 in step T58. A sign indicating is displayed.
  • step T59 1 is added to the count value X to overwrite the count value X storage memory M13, and in step T60, the X-direction address position in the selection range is changed from the X-direction address position of the selection end-point storage memory M19. The end position Xe is read.
  • step T61 if the count value X is equal to or smaller than the end position Xe in the X direction of the selection range in step T61 (NO), the process returns to step T56 and the count value X becomes larger than the end position Xe in the X direction of the selection range. (YES), the process proceeds to step T62.
  • step T62 the end position Xe in the X direction of the selection range is read from the address position in the X direction of the end position storage memory M19 of the selection range. Subsequently, in step T63, the X value of the selection range is stored in the count value X storage memory M13. The direction end position Xe is overwritten.
  • the pointer position Yk in the Y direction is read from the address position in the Y direction of the pointer position storage memory M17 in step T64, and the pointer position Yk in the Y direction is overwritten in the count value Y storage memory M12 in step T65.
  • the count value Y is read from the memory M12 in step T66
  • the count value X is read from the memory M13 in step T67
  • the selection range is set at the (X, Y) position of the small-cut image display portion 22a of the display 22 in step T68. A sign indicating is displayed.
  • step T69 1 is added to the count value Y to overwrite the count value Y storage memory M12, and in step T70, the Y direction address position of the selection range end position storage memory M19 is changed to the Y direction of the selection range.
  • the end position Ye is read.
  • step T71 if the count value Y is equal to or less than the end position Ye in the Y direction of the selection range in step T71 (NO), the process returns to step T66, and the count value Y becomes larger than the end position Ye in the Y direction of the selection range. (YES), the process proceeds to step T72.
  • step T72 it is determined whether or not the selection range determination switch 29 is ON. If the selection range determination switch 29 is not ON (NO), the process returns to step T22, and the selection range determination switch 29 is ON. If it is (YES), the process proceeds to step T73.
  • step T73 1 is overwritten in the count value Y storage memory M12. Subsequently, in step T74, 1 is overwritten in the count value X storage memory M13.
  • step T75 the X-direction address of the pointer position storage memory M17 is written. The pointer position Xk in the X direction is read from the position.
  • step T76 if the count value X is smaller than the pointer position Xk in the X direction in step T76 (NO), it is determined that the address position of (X, Y) is a position other than the motion thread range A, and will be described later in step T296. If the count value X is greater than or equal to the X-direction pointer position Xk (YES), the X-direction end position Xe of the selection range from the X-direction address position of the selection range end position storage memory M19 is determined in step T77. Is transferred to Step T78.
  • step T78 if the count value X is larger than the end position Xe in the X direction of the selection range (NO), it is determined that the address position of (X, Y) is a position other than the motion thread range A, and will be described later. If the count value X is less than or equal to the end position Xe in the X direction of the selection range (YES), the pointer position Yk in the Y direction is read from the address position in the Y direction of the pointer position storage memory M17 in step T79. The process proceeds to step T80.
  • step T80 if the count value Y is smaller than the pointer position Yk in the Y direction (NO), it is determined that the address position of (X, Y) is a position other than the motion thread range A, and the process proceeds to step T296 described later. If the count value Y is equal to or greater than the Y-direction pointer position Yk (YES), the Y-direction end position Ye of the selected range is read from the Y-direction address position of the selected range end storage memory M19 in step T81. Control goes to step T82.
  • step T82 if the count value Y is larger than the end position Ye in the Y direction of the selection range (NO), it is determined that the address position of (X, Y) is a position other than the motion thread range A, and will be described later. If the count value Y is equal to or smaller than the end position Ye in the Y direction of the selection range (YES), it is determined that the address position of (X, Y) is a position within the motion thread range A, and step T83. To read the value of the memory M11 for color storage of the motion thread.
  • step T83 if the value of the motion thread color storage memory M11 is other than 1 (R) in step T84 (NO), the process proceeds to step T283 to be described later, and the motion thread color storage memory M11 is stored. If the value is 1 (R) (YES), the process proceeds to step T85.
  • step T85 the normal allowable value for R is read from the memory M20, and then in step T86, the normal allowable value for R is stored in the (X, Y) address position of the R allowable value storing memory M26.
  • step T87 the maximum allowable value for G is read from the memory M24 in step T87, and in step T88, the maximum G value is stored in the address position of (X, Y) in the small limit allowable value storage memory M27.
  • step T89 the maximum allowable value for B is read from memory M25, and in step T90, the maximum value for B is stored in the address position of (X, Y) in small-value B allowable value storage memory M28. Is overwritten, and the process proceeds to Step T91 described later.
  • the normal allowable value is an allowable value for determining whether printing is performed normally, and the maximum allowable value is whether printing is performed normally. This is an allowable value for invalidating the judgment. That is, when the value of the color memory M11 for the motion thread is 1 (R), the allowable values for G and B are set to the maximum for the motion thread range A, and therefore G and B of the motion thread 1b are set. The inspection using the image data is substantially not performed.
  • step T84 if the value of the color memory M11 of the motion thread is other than 2 (G) (NO) in step T283, the process proceeds to step T290 to be described later. If the value of the thread color memory M11 is 2 (G) (YES), the process proceeds to step T284.
  • step T284 the maximum allowable value for R is read from the memory M23. Subsequently, in step T285, the maximum allowable value for R is stored in the address position of (X, Y) in the R allowable value storage memory M26. The value is overwritten, and the normal tolerance value for G is read from the memory M21 in step T286, and the normal value for G is read at the address position of (X, Y) in the memory G27 for small value tolerance storage in step T287.
  • step T288 the maximum allowable value for B is read from memory M25, and in step T289, the maximum allowable value for B is stored in the address position of (X, Y) in small-value B allowable value storage memory M28.
  • Step T91 the process proceeds to Step T91 described later.
  • the allowable values for R and B are set to the maximum for the motion thread range A, so that the motion thread R, Inspection by B image data is invalidated.
  • step T283 When the process proceeds from step T283 described above to step T290, the maximum allowable value for R is read from the memory M23 in step T290, and then the allowable value storage memory M26 for small R is stored in step T291.
  • the maximum allowable value for R is overwritten at the address position of (X, Y), the maximum allowable value for G is read from the memory M24 in step T292, and the allowable value storage memory M27 for the small amount of G is stored in step T293.
  • the maximum allowable value for G is overwritten at the address position of (X, Y), the normal allowable value for B is read from the memory M22 at step T294, and the allowable value storing memory M28 for the small B at step T295.
  • step T76, S78, S80, S82 the normal allowable value for R is read from the memory M20 in step T296, and the small allowable R value storage memory M26 is read in step T297.
  • the normal allowable value for R is overwritten at the address position of (X, Y)
  • the normal allowable value for G is read from the memory M21 in step T298, and the memory G27 for storing the allowable value for the small G in step T299.
  • the normal allowable value for G is overwritten at the address position of (X, Y)
  • the normal allowable value for B is read from the memory M22 in step T300, and the allowable value storing memory for B is cut in step T301.
  • the normal allowable value for B is overwritten at the (X, Y) address position of M28, and the process proceeds to step T91 described later.
  • the inspection allowable values for all RGB image data are set to normal values.
  • step T91 1 is added to the count value X and the count value X storage memory M13 is overwritten.
  • step T92 the number of pixels in the X direction of the small slice 1a is read from the memory M15.
  • step T93 if the count value X is equal to or smaller than the number of pixels in the X direction of the small slice 1a in step T93 (NO), the process returns to step T75, and if the count value X becomes larger than the number of pixels in the X direction of the small slice 1a. (YES), the process proceeds to step T94.
  • step T94 1 is added to the count value Y and the count value Y storage memory M12 is overwritten.
  • step T95 the number of pixels in the Y direction of the small slice 1a is read from the memory M16.
  • step T96 the process returns to step T74, and if the count value Y becomes larger than the number of pixels in the Y direction of the small slice 1a. (YES), it moves to step T97 mentioned later.
  • step T97 1 is overwritten in the count value Y storage memory M12, and then in step T98, 1 is overwritten in the count value X storage memory M13.
  • step T99 the maximum allowable value for R is read from the memory M23, and this is overwritten on the (X, Y) address position of the R allowable value storage memory M29 for large-format printed matter.
  • step T100 the memory M24 is written.
  • the maximum allowable value for G is read and overwritten in the (X, Y) address position of the G allowable value storage memory M30 for large-format printed matter, and the maximum allowable value for B is read from the memory M25 in step T101. Is overwritten in the (X, Y) address position of the B tolerance memory M31 for large-format prints.
  • step T102 1 is added to the count value X in step T102 to overwrite the count value X storage memory M13, and the number of pixels in the X direction of the large-format print 1 is read from the memory M32 in step T103.
  • step T104 if the count value X is equal to or smaller than the number of pixels in the X direction of the large format printed material 1 in step T104 (NO), the process returns to step T99, and if the count value X becomes larger than the number of pixels in the X direction of the large format printed material 1. (YES), the process proceeds to step T105.
  • step T105 1 is added to the count value Y and the count value Y storage memory M12 is overwritten. Then, in step T106, the number of pixels in the Y direction of the large-format print 1 is read from the memory M33.
  • step T107 if the count value Y is equal to or smaller than the number of pixels in the Y direction of the large format printed material 1 in step T107 (NO), the process returns to step T98, and if the count value Y becomes larger than the number of pixels in the Y direction of the large format printed material 1. (YES), the process proceeds to step T108.
  • step T108 1 is overwritten in the count value N storage memory M34, and then in step T109, 1 is overwritten in the count value M storage memory M35.
  • step T110 the lower left end of the small row 1a in the Nth row and Mth column from the address position in the X direction of the small row 1a in the Nth row and Mth column in the memory M36 for storing the lower left end position of each small piece in the large format printed matter.
  • step T111 the small left row position memory memory M36 for each small piece in the large-format printed matter is stored in the N-th row and M-th row in the Y-direction address position of the N-th row and M-th row slice 1a. The position in the Y direction at the lower left corner of the cut 1a is read.
  • step T114 the R tolerance value at the position (X, Y) of the small slice 1a is read from the (X, Y) address position of the memory R26 for small cut R allowable value storage, and this is read in a large format.
  • the address position of + count value Y-1) is overwritten.
  • step T115 the G tolerance value at the (X, Y) position of the small slice 1a is read from the (X, Y) address position of the small cut G allowable value storage memory M27, and this is read in a large format.
  • the G tolerance value storage memory M30 the position in the X direction of the lower left end of the Nth row and Mth column of the small cut + the count value X ⁇ 1, the position in the Y direction of the lower left end of the Nth row and Mth row of the small cut
  • the address position of + count value Y-1) is overwritten.
  • step T116 the B tolerance value at the position (X, Y) of the small slice 1a is read from the address position (X, Y) of the memory B 28 for small cut B tolerance storage, and this is read in a large format.
  • the address position of + count value Y-1) is overwritten.
  • step T116 1 is added to the count value X in step T117 to overwrite the count value X storage memory M13, and the number of pixels in the X direction of the small slice 1a is read from the memory M15 in step T118.
  • step T119 if the count value X is equal to or smaller than the number of pixels in the X direction of the small slice 1a in step T119 (NO), the process returns to step T114, and if the count value X becomes larger than the number of pixels in the X direction of the small slice 1a. (YES), the process proceeds to step T120.
  • step T120 1 is added to the count value Y and the count value Y storage memory M12 is overwritten. Then, in step T121, the number of pixels in the Y direction of the small slice 1a is read from the memory M16.
  • step T122 if the count value Y is equal to or smaller than the number of pixels in the Y direction of the small slice 1a in step T122 (NO), the process returns to step T113, and if the count value Y becomes larger than the number of pixels in the Y direction of the small slice 1a. (YES), the process proceeds to step T123.
  • step T123 1 is added to the count value M and the count value M storage memory M35 is overwritten. Then, in step T124, the number of lines of the small slices 1a in the large format printed matter 1 is read from the memory M37.
  • step T125 the process returns to step T110, and the count value M is the number of lines of the small slice 1a in the large format printed material 1 (YES), the process proceeds to step T126.
  • step T126 1 is added to the count value N and the count value N storage memory M34 is overwritten. Then, in step T127, the number of columns of the small slices 1a in the large format printed matter 1 is read from the memory M38.
  • Step S129 the process proceeds to step T129.
  • step T129 the value of the motion thread color storage memory M11 is read. Subsequently, in step T130, it is determined whether or not the value of the motion thread color storage memory M11 is 1 (R), and the motion thread color storage is performed. If the value of the memory M11 is 1 (R) (YES), the process proceeds to step T131. If the value of the motion thread color memory M11 is other than 1 (R) (NO), step T302 described later is performed. Migrate to
  • step T131 1 is overwritten in the count value Y storage memory M12, and then in step T132, 1 is overwritten in the count value X storage memory M13.
  • step T133 the maximum allowable value for R is set from the memory M23. This is read and overwritten in the (X, Y) address position of the allowable value storage memory M139 of the monochrome camera of large format printed matter.
  • step T134 1 is added to the count value X to overwrite the count value X storage memory M13, and in step T135, the number of pixels in the X direction of the large format printed matter 1 is read from the memory M32.
  • step T136 if the count value X is equal to or smaller than the number of pixels in the X direction of the large format printed matter 1 in step T136 (NO), the process returns to step T133, and the count value X becomes larger than the number of pixels in the X direction of the large format printed matter 1. (YES) In step T137, 1 is added to the count value Y to overwrite the count value Y storage memory M12, and in step T138, the number of pixels in the Y direction of the large format printed matter 1 is read from the memory M33.
  • step T140 the process returns to step T132, and if the count value Y becomes larger than the number of pixels in the Y direction of the large format printed material 1. (YES), the process proceeds to step T140.
  • step T140 1 is overwritten in the count value N storage memory M34, and then in step T141, 1 is overwritten in the count value M storage memory M35, and in step T142, the lower left position of each small piece in the large format printed matter.
  • the position in the X direction of the lower left end of the N-th row and M-th column slice 1a is read from the X-direction address position of the N-th row and M-th column slice 1a of the memory M36.
  • step T143 the lower left end of the N-th row and M-th row slice 1a from the address position in the Y direction of the N-th row and M-th row slice 1a in the memory M36 for storing the lower-left end position of each small piece in the large-format printed material.
  • Y direction 1 is overwritten in the count value Y storage memory M12 in step T144, and 1 is overwritten in the count value X storage memory M13 in step T145.
  • step T146 the R allowable value at the (X, Y) position of the small slice 1a is read from the (X, Y) address position of the small cut R allowable value storage memory M26, and this is read in a large format.
  • 1 in the allowable value storage memory M139 of the monochrome camera (the position in the X direction of the lower left corner of the Nth row and Mth column of the cut + the count value X-1, the Y direction of the lower left corner of the Nth row and Mth column of the cut) Overwrite the address position of (position + count value Y-1).
  • Step T146 1 is added to the count value X in Step T147 to overwrite the count value X storage memory M13, and the number of pixels in the X direction of the small slice 1a is read from the memory M15 in Step T148.
  • step T149 if the count value X is equal to or smaller than the number of pixels in the X direction of the small slice 1a in step T149 (NO), the process returns to step T146, and if the count value X becomes larger than the number of pixels in the X direction of the small slice 1a. (YES)
  • step T150 1 is added to the count value Y to overwrite the count value Y memory M12.
  • step T151 the number of pixels in the Y direction of the small slice 1a is read from the memory M16.
  • step T152 if the count value Y is equal to or smaller than the number of pixels in the Y direction of the small slice 1a in step T152 (NO), the process returns to step T145, and if the count value Y becomes larger than the number of pixels in the Y direction of the small slice 1a. (YES)
  • step T153 1 is added to the count value M to overwrite the count value M memory M35, and in step T154, the number of lines of the small cut 1a in the large format printed matter 1 is read from the memory M37.
  • step T155 if the count value M is equal to or smaller than the number of lines of the small cut 1a in the large format printed matter 1 in step T155 (NO), the process returns to step T142, and the count value M is determined from the number of lines of the small cut 1a in the large format printed matter 1. Is increased (YES), 1 is added to the count value N in step T156 to overwrite the count value N storage memory M34, and the number of columns of the small slices 1a in the large-format print 1 is read from the memory M38 in step T157. Include.
  • step T158 if the count value N is equal to or smaller than the number of columns of the small slices 1a in the large format printed matter 1 in step T158 (NO), the process returns to step T141, and the count value N is determined from the number of columns of the small slices 1a in the large format printed matter 1. (YES), the process proceeds to step T159 described later.
  • step T302 it is determined in step T302 whether the value of the motion thread color storage memory M11 is 2 (G), and the value of the motion thread color storage memory M11 is determined. Is 2 (G) (YES), the process proceeds to step T303, and if the value of the motion thread color storage memory M11 is other than 2 (G) (NO), the process proceeds to step T331 described later.
  • step T303 1 is overwritten in the count value Y storage memory M12.
  • step T304 1 is overwritten in the count value X storage memory M13.
  • step T305 the maximum allowable value for G is read from the memory M24. Is overwritten at the (X, Y) address position of the allowable value storage memory M139 of the monochrome camera of large format printed matter.
  • step T306 1 is added to the count value X to overwrite the count value X storage memory M13, and in step T307, the number of pixels in the X direction of the large format print 1 is read from the memory M32.
  • step T308 if the count value X is equal to or smaller than the number of pixels in the X direction of the large format printed material 1 in step T308 (NO), the process returns to step T305, and if the count value X becomes larger than the number of pixels in the X direction of the large format printed material 1. (YES)
  • step T309 1 is added to the count value Y to overwrite the count value Y storage memory M12, and in step T310, the number of pixels in the Y direction of the large format printed matter 1 is read from the memory M33.
  • step T311 if the count value Y is equal to or smaller than the number of pixels in the Y direction of the large format printed matter 1 in step T311, the process returns to step T304, and if the count value Y becomes larger than the number of pixels in the Y direction of the large format printed matter 1. (YES), the process proceeds to step T312.
  • step T312 1 is overwritten in the count value N storage memory M34. Subsequently, in step T313, 1 is overwritten in the count value M storage memory M35, and in step T314, the lower left position of each small piece in the large format printed matter. The position in the X direction of the lower left end of the N-th row and M-th column slice 1a is read from the X-direction address position of the N-th row and M-th column slice 1a of the memory M36.
  • step T315 the left lower end of the N-th row and M-th row slice 1a from the address position in the Y direction of the N-th row and M-th row slice 1a in the memory M36 for storing the lower left-end position of each small piece in the large-format print.
  • the count value Y storage memory M12 in step T316
  • 1 is overwritten in the count value X storage memory M13 in step T317.
  • step T318 the G tolerance value at the position (X, Y) of the small slice 1a is read from the (X, Y) address position of the small slice G tolerance storage memory M27, and this is read in a large format.
  • step T3108 1 is added to the count value X in step T319 to overwrite the count value X storage memory M13, and the number of pixels in the X direction of the small slice 1a is read from the memory M15 in step T320.
  • step T321 the process returns to step T318, and if the count value X becomes larger than the number of pixels in the X direction of the small slice 1a. (YES), 1 is added to the count value Y in step T322 to overwrite the count value Y storage memory M12, and the number of pixels in the Y direction of the small slice 1a is read from the memory M16 in step T323.
  • step T324 if the count value Y is equal to or smaller than the number of pixels in the Y direction of the small slice 1a in step T324 (NO), the process returns to step T317, and if the count value Y becomes larger than the number of pixels in the Y direction of the small slice 1a. (YES) In step T325, 1 is added to the count value M and overwritten in the memory M35 for storing the count value M, and in step T326, the number of lines of the small cut 1a in the large format printed matter 1 is read from the memory M37.
  • step T327 if the count value M is equal to or smaller than the number of lines of the small cut 1a in the large format print 1 in step T327 (NO), the process returns to step T314, and the count value M is determined from the number of lines of the small cut 1a in the large format print 1. (YES), 1 is added to the count value N in step T328 and the count value N storage memory M34 is overwritten.
  • step T329 the number of rows of the small slices 1a in the large-format print 1 is read from the memory M38. Include.
  • step T330 if the count value N is equal to or smaller than the number of columns of the small slices 1a in the large format printed matter 1 in step T330 (NO), the process returns to step T313, and the count value N is determined from the number of columns of the small slices 1a in the large format printed matter 1. (YES), the process proceeds to step T159 described later.
  • step T331 If the process has shifted from step T302 to step T331, 1 is overwritten in the count value Y storage memory M12 in step T331, 1 is overwritten in the count value X storage memory M13 in step T332, and the memory M25 in step T333.
  • the maximum permissible value for B is read from this and overwritten in the (X, Y) address position of the permissible value storage memory M139 of the large-format printed monochrome camera.
  • step T334 1 is added to the count value X to overwrite the count value X storage memory M13, and in step T335, the number of pixels in the X direction of the large format print 1 is read from the memory M32.
  • step T336 if the count value X is equal to or smaller than the number of pixels in the X direction of the large format printed material 1 in step T336 (NO), the process returns to step T333, and if the count value X becomes larger than the number of pixels in the X direction of the large format printed material 1. (YES) In step T337, 1 is added to the count value Y to overwrite the count value Y storage memory M12, and in step T338, the number of pixels in the Y direction of the large format printed matter 1 is read from the memory M33.
  • step T339 if the count value Y is equal to or smaller than the number of pixels in the Y direction of the large format printed matter 1 in step T339 (NO), the process returns to step T332, and if the count value Y becomes larger than the number of pixels in the Y direction of the large format printed matter 1. (YES), the process proceeds to step T340.
  • step T340 1 is overwritten in the count value N storage memory M34, and then in step T341, 1 is overwritten in the count value M storage memory M35, and in step T342, the lower left position of each small piece in the large format printed matter.
  • the position in the X direction of the lower left end of the N-th row and M-th column slice 1a is read from the X-direction address position of the N-th row and M-th column slice 1a of the memory M36.
  • step T343 the lower left end of the N-th row and M-th row cut 1a from the address position in the Y direction of the N-th row and M-th row cut 1a in the memory M36 for storing the lower-left end position of each small piece in the large-format print In the Y direction, 1 is overwritten in the count value Y storage memory M12 in step T344, and 1 is overwritten in the count value X storage memory M13 in step T345.
  • step T346 the B allowable value at the position (X, Y) of the small slice 1a is read from the address position (X, Y) of the small value B allowable value storage memory M28, and this is read in a large format.
  • step T346 1 is added to the count value X in step T347 to overwrite the count value X storage memory M13, and the number of pixels in the X direction of the small slice 1a is read from the memory M15 in step T348.
  • step T350 1 is added to the count value Y to overwrite the count value Y memory M12.
  • step T351 the number of pixels in the Y direction of the small slice 1a is read from the memory M16.
  • step T352 if the count value Y is equal to or smaller than the number of pixels in the Y direction of the small slice 1a in step T352 (NO), the process returns to step T345, and if the count value Y becomes larger than the number of pixels in the Y direction of the small slice 1a. (YES) In step T353, 1 is added to the count value M to overwrite the count value M storage memory M35, and in step T354, the number of lines of the small slices 1a in the large format printed matter 1 is read from the memory M37.
  • step T355 the process returns to step T342, and the count value M is determined from the number of lines of the small cut 1a in the large format printed matter 1. Is increased (YES), 1 is added to the count value N in step T356 to overwrite the count value N storage memory M34, and the number of columns of the small slices 1a in the large-format print 1 is read from the memory M38 in step T357. Include.
  • step T358 if the count value N is equal to or smaller than the number of columns of the small slices 1a in the large format printed matter 1 in step T358 (NO), the process returns to step T341, and the count value N is determined from the number of columns of the small slices 1a in the large format printed matter 1. (YES), the process proceeds to step T159 described later.
  • step T159 it is determined in step T159 whether or not the reference image data reading switch 30 is ON, and if the reference image data reading switch 30 is OFF ( NO), the process of step T159 is repeated, and when the reference image data reading switch 30 is turned on (YES), a lighting command is output from the input / output device 20 to the visible light illuminator 35D in step T159-1, and the process proceeds to step T160. Transition.
  • step T160 the value of the motion thread color storage memory M11 is read. Then, in step T161, it is determined whether or not the value of the motion thread color storage memory M11 is 1 (R). If the value of the memory M11 is other than 1 (R) (NO), the process proceeds to step T359 described later. If the value of the memory M11 for motion thread color storage is 1 (R) (YES), the process proceeds to step T162. Then, the lighting command is output from the input / output device 20 to the R illuminator 35A, and the process proceeds to Step T163 to be described later.
  • step T359 it is determined in step T359 whether or not the value of the motion thread color storage memory M11 is 2 (G), and the value of the motion thread color storage memory M11 is 2 (G (NO), the process proceeds to step T361 to be described later. If the value of the motion thread color storage memory M11 is 2 (G) (YES), the input / output device 20 performs G illumination in step T360. The lighting command is output to the device 35B, and the process proceeds to Step T163 described later.
  • step T359 a lighting command is output from the input / output device 20 to the B illuminator 35C in step T361, and the process proceeds to step T163.
  • step T163 the imaging rotation phase of the color camera 34B is read from the memory M140, and then in step T164, the count value is read from the rotation phase detection counter 36 of the securities printing machine and stored in the memory M141.
  • step T165 the process returns to step T164, and the rotation phase detection counter of the securities printing machine. If the count value of 36 coincides with the imaging rotation phase of the color camera 34B (YES), an imaging command is output from the input / output device 18-B to the color camera 34B at step T166, and the color from the input / output device 18-B at step T167. An image data transmission command is output to the camera 34B.
  • step T168 it is determined whether imaging data is output from the color camera 34B to the input / output device 17-B. If imaging data is not output from the color camera 34B (NO), the process of step T168 is performed. If image data is output from the color camera 34B repeatedly (YES), the process proceeds to step T169.
  • step T169 1 is overwritten in the count value Y storage memory M12, and then in step T170, 1 is overwritten in the count value X storage memory M13.
  • step T171 R pixel data is read from the color camera 34B and stored in the (X, Y) address position of the R reference image data storage memory M142.
  • step T172 the color camera 34B to G The pixel data is read and stored in the (X, Y) address position of the G reference image data storage memory M143.
  • step T173 the B pixel data is read from the color camera 34B and is read as B reference image data. The data is stored in the (X, Y) address position of the storage memory M144.
  • step T174 1 is added to the count value X to overwrite the count value X storage memory M13, and in step T175, the number of pixels in the X direction of the color camera 34B is read from the memory M145.
  • step T176 if the count value X is equal to or smaller than the number of pixels in the X direction of the color camera 34B in step T176 (NO), the process returns to step T171, and the count value X becomes larger than the number of pixels in the X direction of the color camera 34B. (YES) In step T177, 1 is added to the count value Y to overwrite the count value Y memory M12, and in step T178, the number of pixels in the Y direction of the color camera 34B is read from the memory M146.
  • step T179 if the count value Y is equal to or smaller than the number of pixels in the Y direction of the color camera 34B in step T179 (NO), the process returns to step T170, and if the count value Y becomes larger than the number of pixels in the Y direction of the color camera 34B. (YES), the process proceeds to step T180.
  • step T180 the imaging rotation phase of the monochrome camera 34A is read from the memory M147, and in step T181, the count value is read from the rotation phase detection counter 36 of the securities printing machine and stored in the memory M141.
  • step T182 the process returns to step T181, and the rotation phase detection counter of the securities printing machine. If the count value of 36 coincides with the imaging rotation phase of the monochrome camera 34A (YES), an imaging command is output from the input / output device 18-A to the monochrome camera 34A at step T183, and the monochrome command is output from the input / output device 18-A at step T184. An image data transmission command is output to the camera 34A.
  • step T185 it is determined whether imaging data is output from the monochrome camera 34A to the input / output device 17-A. If imaging data is not output from the monochrome camera 34A (NO), the process of step T185 is performed. If imaging data is output from the monochrome camera 34A repeatedly (YES), the process proceeds to step T186.
  • step T186 1 is overwritten in the count value Y storage memory M12, and then in step T187, 1 is overwritten in the count value X storage memory M13.
  • step T188 pixel data is read from the monochrome camera 34A and stored in the (X, Y) address position of the reference image data storage memory M148 of the monochrome camera, and 1 is added to the count value X in step T189. Then, the count value X storage memory M13 is overwritten, and the number of pixels in the X direction of the monochrome camera 34A is read from the memory M149 in step T190.
  • step T191 if the count value X is equal to or smaller than the number of pixels in the X direction of the monochrome camera 34A in step T191 (NO), the process returns to step T188, and the count value X is larger than the number of pixels in the X direction of the monochrome camera 34A. (YES) At step T192, 1 is added to the count value Y to overwrite the count value Y storage memory M12, and at step T193, the number of pixels in the Y direction of the monochrome camera 34A is read from the memory M150.
  • step T194 if the count value Y is equal to or smaller than the number of pixels in the Y direction of the monochrome camera 34A in step T194 (NO), the process returns to step T187, and if the count value Y becomes larger than the number of pixels in the Y direction of the monochrome camera 34A. (YES), the process proceeds to step T195.
  • step T195 it is determined whether or not the inspection start switch 31 is ON. If the inspection start switch 31 is OFF (NO), the process of step T195 is repeated and the inspection start switch 31 is turned ON. (YES), the process proceeds to step T196.
  • step T196 it is determined whether or not the inspection end switch 32 is ON. If the inspection end switch 32 is ON (YES), the print quality inspection is ended. If the inspection end switch 32 is OFF (NO), the imaging rotation phase of the color camera 34B is read from the memory M140 in step T197, and the count value is read from the rotation phase detection counter 36 of the securities printing machine in step T198. This is stored in the memory M141.
  • the process returns to step T198, and the rotational phase detection counter 36 of the security printing machine.
  • the imaging command is output from the input / output device 18-B to the color camera 34B at step T200, and the color camera 34B from the input / output device 18-B at step T201.
  • the image data transmission command is output.
  • step T202 it is determined whether imaging data is output from the color camera 34B to the input / output device 17-B. If imaging data is not output from the color camera 34B (NO), the process of step T202 is performed. If image data is output from the color camera 34B repeatedly (YES), the process proceeds to step T203.
  • step T203 1 is overwritten in the count value Y storage memory M12, and then in step T204, 1 is overwritten in the count value X storage memory M13.
  • R pixel data is read from the color camera 34B in step T205 and stored in the (X, Y) address position of the R inspection image data storage memory M151.
  • the pixel data is read and stored in the (X, Y) address position of the G inspection image data storage memory M152.
  • the B pixel data is read from the color camera 34B and is read as B inspection image data. The data is stored in the (X, Y) address position of the storage memory M153.
  • step T208 1 is added to the count value X in step T208 to overwrite the count value X storage memory M13, and the number of pixels in the X direction of the color camera 34B is read from the memory M145 in step T209.
  • step T210 if the count value X is equal to or smaller than the number of pixels in the X direction of the color camera 34B in step T210 (NO), the process returns to step T205, and if the count value X becomes larger than the number of pixels in the X direction of the color camera 34B. (YES) In step T211, 1 is added to the count value Y to overwrite the count value Y memory M12, and in step T212, the number of pixels in the Y direction of the color camera 34B is read from the memory M146.
  • step T213 the process returns to step T204, and if the count value Y becomes larger than the number of pixels in the Y direction of the color camera 34B. (YES), the process proceeds to step T214.
  • step T214 1 is overwritten in the count value Y storage memory M12. Subsequently, in step T215, 1 is overwritten in the count value X storage memory M13.
  • step T216 the X direction of the color camera 34B is invalidated from the memory M154. The number of pixels is read.
  • step T217 the number of invalid pixels in the Y direction of the color camera 34B is read from the memory M155.
  • step T218, the value of the motion thread color storage memory M11 is read.
  • the invalid pixel is a portion corresponding to the region 22c (the region indicated by hatching in FIG. 12) other than the portion where the large-size printed material 1 is captured in the image data captured by the color camera 34B. Pixels.
  • step T219 when the value of the motion thread color storage memory M11 is 1 (R) in step T219 (YES), the process proceeds to step T226 described later, and the value of the motion thread color storage memory M11 is 1 (R). (NO), the process proceeds to step T220.
  • step T220 from the address position of (the number of invalid pixels in the X direction of the color camera + count value X, the number of invalid pixels in the Y direction of the color camera + count value Y) of the R inspection image data storage memory M151 (color camera) R inspection data of the pixel at the address position of the number of invalid pixels in the X direction + count value X, the number of invalid pixels in the Y direction of the color camera + count value Y) is read.
  • step T221 from the address position of (the number of invalid pixels in the X direction of the color camera + count value X, the number of invalid pixels in the Y direction of the color camera + count value Y) in the R reference image data storage memory M142 ( R reference data of the pixel at the address position of the number of invalid pixels in the X direction of the color camera + count value X and the number of invalid pixels in the Y direction of the color camera + count value Y) is read.
  • step T222 from the R inspection data of the pixel at the address position (number of invalid pixels in the X direction of the color camera + count value X, number of invalid pixels in the Y direction of the color camera + count value Y) (of the color camera)
  • the R reference data of the pixel at the address position of the number of invalid pixels in the X direction + count value X, the number of invalid pixels in the Y direction of the color camera + count value Y) is subtracted, and the address position of (X, Y) of R is subtracted.
  • the pixel data difference is calculated and stored in the memory M156.
  • step T223 the absolute value of the difference between the pixel data at the R (X, Y) address position is calculated from the difference between the pixel data at the R (X, Y) address position, and this is stored in the memory M157.
  • step T224 the allowable value of the pixel data at the (X, Y) address position of R is read from the (X, Y) address position of the R allowable value storage memory M29 of the large format printed matter.
  • step T225 if the absolute value of the difference between the pixel data at the address position (X, Y) of R is larger than the allowable value of the pixel data at the address position (X, Y) of R (NO) in step T225, FIG. The process proceeds to step T362 shown in 21C, an error is displayed on the display 22, and the print quality inspection is terminated. If the absolute value of the difference between the pixel data at the (X, Y) address position of R is equal to or smaller than the allowable value of the pixel data at the (X, Y) address position of R (YES), the process proceeds to step T226.
  • step T226 the value of the motion thread color storage memory M11 is read. If the value of the motion thread color storage memory M11 is 2 (G) in step T227 (YES), the process proceeds to step T234 described later. If the value of the motion thread color memory M11 is other than 2 (G) (NO), the process moves to step T228.
  • step T2208 from the address position of (the number of invalid pixels in the X direction of the color camera + count value X, the number of invalid pixels in the Y direction of the color camera + count value Y) in the G inspection image data storage memory M152 (color camera)
  • the G inspection data of the pixel at the address position of the number of invalid pixels in the X direction + count value X, the number of invalid pixels in the Y direction of the color camera + count value Y) is read.
  • step T229 from the address position of the G reference image data storage memory M143 (number of invalid pixels in the X direction of the color camera + count value X, number of invalid pixels in the Y direction of the color camera + count value Y) ( The G reference data of the pixel at the address position of the number of invalid pixels in the X direction of the color camera + count value X and the number of invalid pixels in the Y direction of the color camera + count value Y) is read.
  • step T230 from the G inspection data of the pixel at the address position (number of invalid pixels in the X direction of the color camera + count value X, number of invalid pixels in the Y direction of the color camera + count value Y) (of the color camera)
  • the pixel at the address position (X, Y) of G is obtained by subtracting the G reference data of the pixel at the address position of the number of invalid pixels in the X direction + count value X, the number of invalid pixels in the Y direction of the color camera + count value Y).
  • the data difference is calculated and stored in the memory M158.
  • step T231 the absolute value of the difference between the pixel data at the address position of G (X, Y) is calculated from the difference between the pixel data at the address position of G (X, Y), and this is stored in the memory M159.
  • step T232 the allowable value of the pixel data at the (X, Y) address position of the G is read from the (X, Y) address position of the G allowable value storage memory M30 of the large format printed matter.
  • step T233 if the absolute value of the difference between the pixel data at the (X, Y) address position of G is larger than the allowable value of the pixel data at the (X, Y) address position of G (NO), FIG. The process proceeds to step T362 shown in 21C, an error is displayed on the display 22, and the print quality inspection is terminated. If the absolute value of the difference between the pixel data at the (X, Y) address position of G is equal to or smaller than the allowable value of the pixel data at the (X, Y) address position of G (YES), the process proceeds to step T234.
  • step T234 the value of the motion thread color storage memory M11 is read. If the value of the motion thread color storage memory M11 is 3 (B) in step T235 (YES), the process proceeds to step T242 described later. If the value of the motion thread color memory M11 is other than 3 (B) (NO), the process moves to T236.
  • step T236 from the address position of the B inspection image data storage memory M153 (number of invalid pixels in the X direction of the color camera + count value X, number of invalid pixels in the Y direction of the color camera + count value Y) (color camera)
  • the B inspection data of the pixel at the address position of (the number of invalid pixels in the X direction + count value X, the number of invalid pixels in the Y direction of the color camera + count value Y) is read.
  • step T237 from the address position of (the number of invalid pixels in the X direction of the color camera + count value X, the number of invalid pixels in the Y direction of the color camera + count value Y) of the B reference image data storage memory M144 ( The B reference data of the pixel at the address position of the number of invalid pixels in the X direction of the color camera + count value X and the number of invalid pixels in the Y direction of the color camera + count value Y) is read.
  • step T2308 from the B inspection data of the pixel at the address position (number of invalid pixels in the X direction of the color camera + count value X, number of invalid pixels in the Y direction of the color camera + count value Y) (of the color camera)
  • the pixel at the address position (X, Y) of B is obtained by subtracting the B reference data of the pixel at the address position of the number of invalid pixels in the X direction + count value X, the number of invalid pixels in the Y direction of the color camera + count value Y).
  • the data difference is calculated and stored in the memory M160.
  • step T239 the absolute value of the difference between the pixel data at the B (X, Y) address position is calculated from the difference between the pixel data at the B (X, Y) address position, and this is stored in the memory M161.
  • step T240 the permissible value of the pixel data at the (X, Y) address position of B is read from the (X, Y) address position of the B permissible value storage memory M31 of the large size printed matter.
  • step T241 if the absolute value of the pixel data difference at the (X, Y) address position of B is larger than the allowable value of the pixel data at the (X, Y) address position of B (NO) in step T241, FIG. The process proceeds to step T362 shown in 21C, an error is displayed on the display 22, and the print quality inspection is terminated. If the absolute value of the difference between the pixel data at the (X, Y) address position of B is equal to or smaller than the allowable value of the pixel data at the (X, Y) address position of B (YES), the process proceeds to step T242.
  • step T242 1 is added to the count value X and the count value X storage memory M13 is overwritten. Then, in step T243, the number of pixels in the X direction of the large-format print 1 is read from the memory M32.
  • step T244 if the count value X is equal to or smaller than the number of pixels in the X direction of the large format printed matter 1 in step T244 (NO), the process returns to step T216, and the count value X becomes larger than the number of pixels in the X direction of the large format printed matter 1. (YES) In step T245, 1 is added to the count value Y to overwrite the count value Y storage memory M12, and in step T246, the number of pixels in the Y direction of the large format printed matter 1 is read from the memory M33.
  • step T247 if the count value Y is equal to or smaller than the number of pixels in the Y direction of the large format printed matter 1 in step T247 (NO), the process returns to step T215, and if the count value Y becomes larger than the number of pixels in the Y direction of the large format printed matter 1. (YES), the process proceeds to step T248.
  • step T248 the imaging rotation phase of the monochrome camera 34A is read from the memory M147, and then in step T249, the count value is read from the rotation phase detection counter 36 of the securities printing machine and stored in the memory M141.
  • step T250 the process returns to step T249, and the rotation phase detection counter of the securities printing machine. If the count value of 36 coincides with the imaging rotation phase of the monochrome camera 34A (YES), the process proceeds to step T251.
  • step T251 an imaging command is output from the input / output device 18-A to the monochrome camera 34A, and in step T252, an image data transmission command is output from the input / output device 18-A to the monochrome camera 34A.
  • step T253 it is determined whether imaging data is output from the monochrome camera 34A to the input / output device 17-A. If imaging data is not output from the monochrome camera 34A (NO), the process of step T253 is performed. If imaging data is output from the monochrome camera 34A repeatedly (YES), the process proceeds to step T254.
  • step T254 1 is overwritten in the count value Y storage memory M12 in step T254, 1 is overwritten in the count value X storage memory M13 in step T255, pixel data is read from the monochrome camera 34A in step T256, and this is converted into monochrome. It is stored in the (X, Y) address position of the inspection image data storage memory M162 of the camera, 1 is added to the count value X in step T257, and the count value X storage memory M13 is overwritten. In step T258, the memory M149 is stored. To read the number of pixels in the X direction of the monochrome camera 34A.
  • step T259 if the count value X is less than or equal to the number of pixels in the X direction of the monochrome camera in step T259 (NO), the process returns to step T256, and if the count value X becomes larger than the number of pixels in the X direction of the monochrome camera (YES) In step T260, 1 is added to the count value Y to overwrite the count value Y storage memory M12. In step T261, the number of pixels in the Y direction of the monochrome camera 34A is read from the memory M150.
  • step T262 if the count value Y is equal to or smaller than the number of pixels in the Y direction of the monochrome camera 34A in step T262 (NO), the process returns to step T255, and if the count value Y becomes larger than the number of pixels in the Y direction of the monochrome camera 34A. (YES), the process proceeds to step T263.
  • step T263 1 is overwritten in the count value Y storage memory M12. Subsequently, in step T264, 1 is overwritten in the count value X storage memory M13.
  • step T265 the monochrome direction of the monochrome camera 34A from the memory M163 is invalidated. The number of pixels is read.
  • step T266 the number of invalid pixels in the Y direction of the monochrome camera 34A is read from the memory M164.
  • step T267 from the address position of the inspection image data storage memory M162 of the monochrome camera (number of invalid pixels in the X direction of the monochrome camera + count value X, number of invalid pixels in the Y direction of the monochrome camera + count value Y).
  • the inspection data of the monochrome camera 34A of the pixel at the address position of (the number of invalid pixels in the X direction of the monochrome camera + count value X, the number of invalid pixels in the Y direction of the monochrome camera + count value Y) is read.
  • step T268 from the address position of the reference image data storage memory M148 of the monochrome camera (the number of invalid pixels in the X direction of the monochrome camera + count value X, the number of invalid pixels in the Y direction of the monochrome camera + count value Y).
  • the reference data of the monochrome camera 34A of the pixel at the address position of (the number of invalid pixels in the X direction of the monochrome camera + count value X, the number of invalid pixels in the Y direction of the monochrome camera + count value Y) is read.
  • step T269 the monochrome camera 34A is inspected for the pixel at the address position (number of invalid pixels in the X direction of the monochrome camera + count value X, number of invalid pixels in the Y direction of the monochrome camera + count value Y).
  • the reference data of the monochrome camera 34A of the pixel at the address position of (the number of invalid pixels in the X direction of the monochrome camera + count value X, the number of invalid pixels in the Y direction of the monochrome camera + count value Y) is subtracted from the data.
  • the difference between the pixel data at the (X, Y) address position is calculated and stored in the memory M165.
  • step T270 the absolute value of the difference between the pixel data at the (X, Y) address position of the monochrome camera 34A is calculated from the difference between the pixel data at the (X, Y) address position of the monochrome camera 34A.
  • step T271 the allowable value of the pixel data at the (X, Y) address position of the monochrome camera 34A is changed from the (X, Y) address position of the allowable value storage memory M139 of the large format printed matter in step T271. Read.
  • step T272 if the absolute value of the pixel data difference at the (X, Y) address position of the monochrome camera 34A is larger than the allowable value of the pixel data at the (X, Y) address position of the monochrome camera (NO) (NO) )
  • step T362 an error is displayed on the display 22, and the print quality inspection is terminated. If the absolute value of the difference between the pixel data at the (X, Y) address position of the monochrome camera 34A is less than or equal to the allowable value of the pixel data at the (X, Y) address position of the monochrome camera 34A (YES), the process goes to step T273. Transition.
  • step T273 1 is added to the count value X and the count value X storage memory M13 is overwritten.
  • step T274 the number of pixels in the X direction of the large-format print 1 is read from the memory M32.
  • step T275 if the count value X is equal to or smaller than the number of pixels in the X direction of the large format printed matter 1 in step T275 (NO), the process returns to step T265, and if the count value X becomes larger than the number of pixels in the X direction of the large format printed matter 1. (YES) In step T276, 1 is added to the count value Y to overwrite the count value Y storage memory M12, and in step T277, the number of pixels in the Y direction of the large format printed matter 1 is read from the memory M33.
  • step T278 if the count value Y is equal to or smaller than the number of pixels in the Y direction of the large format printed matter 1 in step T278 (NO), the process returns to step T264, and if the count value Y becomes larger than the number of pixels in the Y direction of the large format printed matter 1. (YES), it returns to step T196.
  • the image captured by the color camera 34B has a system different from the color of the motion thread 1b in the part other than the motion thread range A. While the print quality is inspected using only the color image data, the image data of the same color as that of the motion thread 1b is not inspected, and the image data of the same color as that of the motion thread 1b is used. Instead, light is emitted from the illuminator 35A, 35B, or 35C of the same color as the color of the motion thread 1b to the large format printed matter 1, and this is printed at a normal allowable value using an image captured by the monochrome camera 34A. Quality inspection was performed.
  • light is emitted from the illuminators 35A, 35B, or 35C of the same color as the color of the motion thread 1b (for example, the R illuminator 35A if the motion thread 1b is a red system) to the large format printed matter 1.
  • An example of image data that is irradiated and captured by the monochrome camera 34A is as shown in FIG. 11A, and the illuminators 35B and 35C, 35A and 35C, or 35A and 35B of a color different from the color of the motion thread 1b are used.
  • the motion thread 1b is dark. Therefore, if the allowable value is a normal value, it may be determined as NG if the pattern of the motion thread 1b changes with a slight angle change.
  • the motion thread 1b is colorless or light-colored. Therefore, the motion thread 1b can be substantially ignored in the inspection using the normal tolerance.
  • This embodiment differs from the first embodiment described above in the configuration of the print quality inspection unit 10 shown in FIGS. 23A to 23C and the processing by the print quality inspection unit 10.
  • Other structures are generally the same as those of the first embodiment, and hereinafter, members having the same functions as those shown in FIG. 1 to FIG. To do.
  • a large-format printed material 1 provided with a multicolor motion thread (hereinafter simply referred to as a motion thread) 1c in advance is provided with a plurality of 5 rows ⁇ 9 columns and the like.
  • the pattern of the securities print is simultaneously printed by so-called multi-sided printing.
  • the motion thread 1c is a plurality of single-color motion threads (in the example shown in FIG. 22B, a red motion thread 1cR, a green motion thread 1cG, and a blue motion thread 1cB) arranged side by side. .
  • the print quality inspection unit 10 includes a CPU 11, ROM 12, RAM 13, input / output devices 14 and 211 to 215, and an interface 216 connected by a BUS line. Has been configured.
  • the BUS line includes a memory M2 for storing the number of pixels in the X direction of the motion thread, a memory for storing the number of pixels in the Y direction of the motion thread M212, a memory for storing the count value Y M213, a memory for storing the count value X M214, A pixel data storage memory M215 is connected.
  • the BUS line includes an R first threshold storage memory M216, an R second threshold storage memory M217, a G first threshold storage memory M218, and a G second threshold storage memory M219.
  • B first threshold storage memory M220, B second threshold storage memory M221, motion thread mask storage memory M222, printing speed storage memory M223, and imaging rotation phase storage memory M224 are connected. Yes.
  • the BUS line includes a count value storage memory M225 of a rotational phase detection counter of the securities printing machine, a reference image data storage memory M226 of R, a reference image data storage memory M227 of G, and a reference image data storage of B.
  • An inspection image data storage memory M233 and a temporary inspection mask storage memory M234 are connected.
  • a count value L storage memory M235 a motion thread similar pixel number storage memory M236, a count value N storage memory M237, and a count value M storage memory M238 are connected to the BUS line.
  • motion thread similarity storage memory M239, motion thread similarity storage memory M240, motion thread position storage memory M241, inspection mask storage memory M242, and count value K storage are stored in the BUS line.
  • the BUS line includes an allowable value storage memory M249 for G pixel data, a difference memory memory M250 for B pixel data at an address position (X, Y), and a B at an address position (X, Y).
  • the pixel data difference absolute value storage memory M251 and the B pixel data allowable value storage memory M252 are connected.
  • the input / output device 14 is connected to an input device 21 such as a keyboard and various switches and buttons, a display 22 such as a CRT and a lamp, an output device 23 such as a printer, and a CD drive 24.
  • an input device 21 such as a keyboard and various switches and buttons
  • a display 22 such as a CRT and a lamp
  • an output device 23 such as a printer
  • a CD drive 24 a CD drive
  • the motion thread pixel data reading switch 217, the print start switch 218, the print end switch 219, the reference image data reading switch 220, and the inspection start switch 221 are connected to the input / output device 211.
  • a camera (color camera) 34 is connected to the input / output devices 212 and 213.
  • the input / output device 213 sends an imaging command and an image data transmission command to the camera 34, and the imaging data captured by the camera 34 is output to the input / output device 212.
  • a driving motor driver 222 is connected to the input / output device 214, and a driving motor 223 and a driving motor rotary encoder 224 are connected to the driving motor driver 222.
  • the rotational phase detection counter 36 of the securities printing machine is connected to the input / output device 215, and the rotational phase detection counter 36 of the securities printing machine is connected to the rotary encoder 224 for the driving motor.
  • the rotary encoder 224 for the driving motor is directly attached to the rear end portion of the output shaft of the driving motor 223, for example, and rotates once each time the printing units 3A to 3F print on one printing paper W. Each time it rotates, it outputs a zero pulse once to reset the counter 36 for detecting the rotational phase of the securities printing press, and every time the driving motor 223 rotates by a predetermined angle, the rotational phase of the driving motor driver 222 and the printing press. Clock pulses are output to the detection counter 36.
  • the interface 216 is connected to the paper feeding device 2 and the printing unit 3.
  • 24A to 24E, 25A to 25E, 26A to 26D, 27A to 27D, 28A to 28B, and 29A to 29G are performed by the print quality inspection unit 10 according to the operation flow shown below. Details of the processing will be described.
  • the print quality inspection unit 10 reads image data for each RGB of the motion thread 1c in the first step (step U1). To Step U11).
  • the image data for each RGB of the motion thread 1c includes, for example, only the motion thread so as to correspond to the multicolor motion thread range 1cM shown by a broken line in FIG. Create image data.
  • a mask for a motion thread is created from the image data for each RGB of the motion thread 1c acquired in the first step (step U12 to step U29, step U166 to step U186).
  • the output value of R is larger than the first threshold value SR1 of R, and the output values of G and B are the second threshold values SG2 and SB2 of G and B, respectively. Smaller than the first threshold SG1 of G, the output values of R and B are smaller than the second thresholds SR2 and SB2 of R and B, respectively.
  • the portion where the output value of B is larger than the first threshold value SB1 of B and the output values of R and G are smaller than the second threshold values SR2 and SG2 of R and G is blue, and the other portions are red and green. Create a mask for the motion thread other than the blue and blue parts.
  • each R, G, B image data obtained by imaging a large format (no motion thread) with the camera 34 is stored as R, G, B reference image data (step U30 to step U56). . That is, in the third to sixth steps, reference image data only for the pattern excluding the motion thread is acquired. At least one sheet is printed on the paper (large format) on which the motion thread 1c is not applied. In addition, imaging by the camera 34 is performed under white light emitted from the illuminator 35.
  • Step U57 to step U79 printing using the paper (large format) on which the motion thread 1c has been applied is started, and in the eighth step, the rotational phase of the securities printing press 100 and the imaging timing of the camera 34 coincide.
  • a camera 34 captures a large image (with a motion thread)
  • in the ninth step captures a large image (with a motion thread) with the camera 34, and obtains R, G, B image data.
  • a temporary inspection mask is created from the captured large-sized RGB inspection image data (step U80 to step U97, step U187 to step U207).
  • the R output value is larger than the R first threshold SR1
  • the G and B output values are G and B second values, respectively.
  • a portion smaller than threshold values SG2 and SB2 is a red portion
  • a G output value is larger than G first threshold value SG1 and R and B output values are smaller than R and B second threshold values SR2 and SB2, respectively.
  • the output value of B is larger than the first threshold value SB1 of B
  • the output values of R and G are smaller than the second threshold values SR2 and SG2 of R and G, respectively.
  • Temporary inspection masks are created for areas other than red, green, and blue.
  • step U98 to step U130 pattern matching is performed on the pixel data in the temporary inspection mask created in the tenth step using the pixel data of the motion thread mask created in the second step. Then, the similarity rate between each position in the temporary inspection mask and the motion thread mask is obtained, and the position where the similarity rate is equal to or larger than the allowable value is stored as a portion corresponding to the motion thread 1c (step U98 to step U130). . That is, by calculating the similarity (different number of pixels) for each position by the pattern matching method while shifting the motion thread mask in the X and Y directions with respect to the temporary inspection mask, The position of the motion thread 1c is specified. By performing such processing, the motion thread 1c in the inspection mask is surely extracted regardless of the arrangement and state of the motion thread 1c that has been applied in a large format.
  • Step U131 the pixel data of the motion thread mask created in the second step is written at the position of the motion thread portion obtained in the eleventh step, thereby creating an inspection mask (step U131).
  • Step U145 To Step U145).
  • the inspection mask created in the twelfth step is referred to, and the red part of the motion thread is the R reference image data stored in the sixth step and the ninth step. Only the stored R inspection image data is compared, and for the green part of the motion thread, the G reference image data stored in the sixth step and only the G inspection image data stored in the ninth step are compared. For the blue part of the thread, only the B reference image data stored in the sixth process and the B inspection image data stored in the ninth process are compared, and the parts other than the motion thread part are the same as in the past.
  • step U1 it is determined whether or not the motion thread pixel data reading switch 217 is ON. If the motion thread pixel data reading switch 217 is OFF (NO), If the process of the step U1 is repeated and the pixel data reading switch 217 for the motion thread is ON (YES), the number of pixels in the X direction and the Y direction of the motion thread 1c is read from the CD drive 24 in step U2 and stored in the memory. Store in M211 and M212.
  • step U2 1 is overwritten in the count value Y storage memory M213 in step U3, and 1 is overwritten in the count value X storage memory M214 in step U4.
  • step U5 the pixel data (RGB) of the motion thread 1c is read from the CD drive 24, and this is overwritten on the (X, Y) address position of the motion thread pixel data storage memory M215.
  • step U6 1 is added to the count value X and this is overwritten in the memory X214 for storing the count value X, and in step U7, the number of pixels in the X direction of the motion thread 1c is read from the memory M211.
  • step U8 if the count value X is less than or equal to the number of pixels in the X direction of the motion thread 1c in step U8 (NO), the process returns to step U5, and if the count value X becomes larger than the number of pixels in the X direction of the motion thread 1c ( YES) Proceed to step U9.
  • step U9 1 is added to the count value Y, and this is overwritten in the count value Y storage memory M213. Subsequently, in step U10, the number of pixels in the Y direction of the motion thread 1c is read from the memory M212.
  • step U11 if the count value Y is less than or equal to the number of pixels in the Y direction of the motion thread 1c in step U11 (NO), the process returns to step U4, and if the count value Y becomes larger than the number of pixels in the Y direction of the motion thread 1c ( YES) The process proceeds to step U12.
  • step U12 1 is overwritten in the count value Y storage memory M213, and then in step U13, 1 is overwritten in the count value X storage memory M214.
  • step U14 R pixel data (R output value) at the (X, Y) address position is read from the (X, Y) address position in the pixel data storage memory M215 of the motion thread, and in step U15.
  • the first threshold value SR1 of R is read from the memory M216.
  • step U16 if the R pixel data at the address position (X, Y) is larger than the first threshold SR1 for R (YES), the pixel data at the address position may be red. Accordingly, the process proceeds to step U17, and if the R pixel data at the address position (X, Y) is equal to or less than the first threshold SR1 of R (NO), the pixel data at the address position is regarded as other than the red system. Then, the process proceeds to step U166 described later.
  • Step U17 the G pixel data (G output value) at the (X, Y) address position is read from the (X, Y) address position of the pixel data storage memory M215 of the motion thread, and then, in Step U18.
  • the second threshold value SG2 of G is read from the memory M219.
  • step U19 if the G pixel data at the address position (X, Y) is smaller than the second threshold SG2 for G (YES), the pixel data at the address position may be red. Accordingly, the process proceeds to step U20, and if the G pixel data at the address position (X, Y) is greater than or equal to the second threshold SG2 of G (NO), the pixel data at the address position is regarded as other than the red system. Then, the process proceeds to step U166 described later.
  • Step U20 the B pixel data (B output value) at the (X, Y) address position is read from the (X, Y) address position of the pixel data storage memory M215 of the motion thread, and then the step U21.
  • the second threshold value SB2 of B is read from the memory M221.
  • the pixel data at the address position (X, Y) is smaller than the second threshold value SB2 of B at step U22 (YES)
  • the pixel data at the address position is regarded as a red system, and step U23. If the B pixel data at the address position (X, Y) is greater than or equal to the second threshold value SB2 of B (NO), the pixel data at the address position is considered to be other than the red system, and will be described later.
  • the process proceeds to U166.
  • step U23 “1 (R)” is overwritten in the (X, Y) address position of the memory storage M222 for motion thread.
  • step U24 1 is added to the count value X and this is overwritten in the memory X214 for storing the count value X, and in step U25, the number of pixels in the X direction of the motion thread 1c is read from the memory M211.
  • step U26 if the count value X is equal to or smaller than the number of pixels in the X direction of the motion thread 1c in step U26 (NO), the process returns to step U14, and if the count value X becomes larger than the number of pixels in the X direction of the motion thread 1c ( YES) Proceed to step U27.
  • step U27 1 is added to the count value Y, and this is overwritten in the count value Y storage memory M213. Subsequently, in step U28, the number of pixels in the Y direction of the motion thread 1c is read from the memory M212.
  • step U29 the process returns to step U13, and if the count value Y becomes larger than the number of pixels in the Y direction of the motion thread 1c ( YES) The process proceeds to step U30 described later.
  • step U166 when the process proceeds from step U16, step U19, or step U22 to step U166, the address (X, Y) from the (X, Y) address position of the pixel data storage memory M215 of the motion thread in step U166.
  • the G pixel data at the position is read, and then the first threshold value SG1 of G is read from the memory M218 in step U167.
  • step U168 if the G pixel data at the address position (X, Y) is larger than the first threshold value SG1 of G (YES), the pixel data at the address position may be green. Accordingly, the process proceeds to step U169, and if the G pixel data at the address position (X, Y) is less than or equal to the first threshold SG1 of G (NO), the pixel data at the address position is regarded as other than the green system. Then, the process proceeds to step U176 described later.
  • step U169 the pixel data of B at the address position (X, Y) is read from the (X, Y) address position of the pixel data storage memory M215 of the motion thread, and then the memory M221 to B of the memory M221 are read in step U170.
  • the second threshold value SB2 is read.
  • step U171 if the B pixel data at the address position (X, Y) is smaller than the second threshold value SB2 for B (YES), the pixel data at the address position may be green. Accordingly, the process proceeds to step U172, and if the B pixel data at the address position (X, Y) is greater than or equal to the second threshold value SB2 of B (NO), the pixel data at the address position is regarded as other than the green system. Then, the process proceeds to step U176 described later.
  • step U172 R pixel data at the (X, Y) address position in the pixel data storage memory M215 of the motion thread is read from the (X, Y) address position. Subsequently, in step U173, the R pixel data from the memory M217 is read. The second threshold SR2 is read.
  • step U174 if the R pixel data at the address position (X, Y) is smaller than the second threshold SR2 for R (YES), the pixel data at the address position is regarded as a green system, and step U175. If the R pixel data at the address position (X, Y) is equal to or greater than the second threshold SR2 for R (NO), the pixel data at the address position is considered to be other than the green system, and will be described later. The process proceeds to U176.
  • step U175 “2 (G)” is overwritten on the address position of (X, Y) in the memory storage for motion thread mask M222, and the process proceeds to step U24 described above.
  • step U176 the address (X, Y) from the (X, Y) address position of the pixel data storage memory M215 of the motion thread in step U176.
  • the pixel data of B at the position is read, and then the first threshold value SB1 of B is read from the memory M220 in step U177.
  • step U178 if the pixel data of B at the address position (X, Y) is larger than the first threshold value SB1 of B (YES), the pixel data at the address position may be blue. Accordingly, the process proceeds to step U179, and if the B pixel data at the address position (X, Y) is equal to or less than the first threshold value SB1 of B (NO), the pixel data at the address position is regarded as other than the blue system. Then, the process proceeds to step U186 described later.
  • step U179 the R pixel data at the address position (X, Y) is read from the (X, Y) address position of the pixel data storage memory M215 of the motion thread. Subsequently, the R data is read from the memory M217 in step U180. A threshold SR2 of 2 is read.
  • step U181 if the R pixel data at the address position (X, Y) is smaller than the second threshold SR2 for R (YES), the pixel data at the address position may be blue. Accordingly, the process proceeds to step U182, and if the R pixel data at the address position (X, Y) is equal to or greater than the second threshold SR2 for R (NO), the pixel data at the address position is regarded as other than the blue system. Then, the process proceeds to step U186 described later.
  • step U182 the G pixel data at the address position (X, Y) is read from the (X, Y) address position of the pixel data storage memory M215 of the motion thread. Subsequently, in step U183, the memory M219 to G memory data are read. The second threshold SG2 is read.
  • step U184 if the G pixel data at the address position (X, Y) is smaller than the second threshold SG2 for G (YES), the pixel data at the address position is regarded as a blue system, and step U185 is performed. If the G pixel data at the address position (X, Y) is greater than or equal to the second threshold SG2 of G (NO), the pixel data at the address position is considered to be other than the blue system, and will be described later. The process proceeds to U186.
  • step U185 “3 (B)” is overwritten on the (X, Y) address position of the memory storage M222 for motion thread mask, and the process proceeds to step U24 described above.
  • step U178 step U181, or step U184 to step U186
  • step U24 the process proceeds to step U24 described above.
  • step U30 it is determined whether or not the print start switch 218 is ON. If the print start switch 218 is OFF (NO), the process of step U30 is repeated, and when the print start switch 218 is ON ( YES) The process proceeds to step U31.
  • step U31 the printing speed is read from the memory M223. Subsequently, in step U32, the printing speed is output to the driving motor driver 222. In step U33, a paper feed start command is output to the paper feeder 2. In step U34, the printing unit is output. 3 outputs a print start command. As a result, printing on the large format 1 to which the motion thread 1c is not applied is started.
  • step U35 if the reference image data reading switch 220 is OFF in step U35 (NO), the processing in step U35 is repeated, and if the reference image data reading switch 220 is turned ON (YES), the process proceeds to step U36.
  • the reference image data reading switch 220 is pressed when the operator of the securities printing press 100 visually confirms the printed matter and determines that a normal printed matter is printed.
  • step U36 the imaging rotation phase is read from the memory M224, and in step U37, the count value is read from the rotation phase detection counter 36 of the securities printing machine and stored in the memory M225.
  • step U38 the process returns to step U37, and the rotation phase detection counter of the securities printing machine is detected in step U38. If the count value of 36 coincides with the imaging rotation phase (YES), the process proceeds to step U39 to output an imaging command from the input / output device 213 to the camera 34. As a result, the large format 1 (without the motion thread 1c) on which printing has been performed is imaged by the camera 34.
  • step U39 an image data transmission command is output from the input / output device 213 to the camera 34 at step U40. Subsequently, if imaging data is not output from the camera 34 to the input / output device 212 at step U41 (NO) ) The process of step U41 is repeated, and when imaging data is output from the camera 34 to the input / output device 212 (YES), the process proceeds to step U42.
  • step U42 1 is overwritten in the count value Y storage memory M213, and then in step U43, 1 is overwritten in the count value X storage memory M214.
  • step U44 the R pixel data is read from the camera 34 and stored in the (X, Y) address position of the R reference image data storage memory M226.
  • step U45 the G pixel data is read from the camera 34. Is stored in the (X, Y) address position of the G inspection image data storage memory M227, the B pixel data is read from the camera 34 in step U46, and is stored in the B reference image data storage memory. The data is stored in the (X, Y) address position of M228.
  • step U47 1 is added to the count value X, and this is overwritten in the count value X storage memory M214.
  • step U48 the number of pixels in the X direction of the camera 34 is read from the memory M229.
  • step U49 if the count value X is equal to or smaller than the number of pixels in the X direction of the camera 34 in step U49 (NO), the process returns to step U44, and if the count value X becomes larger than the number of pixels in the X direction of the camera 34 (YES). Control goes to step U50.
  • step U50 1 is added to the count value Y and this is overwritten in the count value Y storage memory M213. Subsequently, in step U51, the number of pixels in the Y direction of the camera 34 is read from the memory M230.
  • step U52 if the count value Y is equal to or smaller than the number of pixels in the Y direction of the camera 34 in step U52 (NO), the process returns to step U43, and if the count value Y becomes larger than the number of pixels in the Y direction of the camera 34 (YES). Control goes to step U53.
  • step U53 it is determined whether or not the print end switch 219 is ON. If the print end switch 219 is OFF (NO), the process of step U53 is repeated, and if the print end switch is ON ( YES) The process proceeds to step U54.
  • step U54 a paper feed stop command is output to the paper feeding device 2, then in step U55, a print stop command is output to the printing unit 3, and in step U56, a stop command is output to the driving motor driver 222.
  • a stop command is output to the driving motor driver 222.
  • step U57 it is determined in step U57 whether the print start switch 218 is ON. If the print start switch 218 is OFF (NO), the process in step U57 is repeated to start printing. When the switch 218 is turned on (YES), the process proceeds to step U58.
  • step U58 the printing speed is read from the memory M223, and then in step U59, the printing speed is output to the driving motor driver 222. Subsequently, in step U60, a paper feed start command is output to the paper feed device 2, and in step U61, a print start command is output to the printing unit 3. As a result, printing on the large format 1 to which the motion thread 1c is applied is started.
  • step U62 it is determined whether or not the inspection start switch 221 is ON. If the inspection start switch 221 is OFF (NO), the processing in step U62 is repeated, and the inspection start switch 221 is turned ON. If it is (YES), the process proceeds to step U63.
  • step U63 the imaging rotation phase is read from the memory M224. Subsequently, in step U64, the count value is read from the rotation phase detection counter 36 of the securities printing machine and stored in the memory M225.
  • step U65 the process returns to step U64, and the count value of the rotational phase detection counter 36 of the securities printing machine is If it coincides with the imaging rotation phase (YES), the process proceeds to step U66, and an imaging command is output from the input / output device 213 to the camera 34.
  • the large format 1 (with the motion thread 1c) on which printing has been performed is imaged by the camera 34.
  • step U66 an image data transmission command is output from the input / output device 213 to the camera 34 at step U67. Subsequently, if imaging data is not output from the camera 34 to the input / output device 212 at step U68 (NO) The process of step U68 is repeated, and when imaging data is output from the camera 34 to the input / output device 212 (YES), the process proceeds to step U69.
  • step U69 1 is overwritten in the count value Y storage memory M213, and in step U70, 1 is overwritten in the count value X storage memory M214.
  • step U71 the R pixel data is read from the camera 34 and stored in the (X, Y) address position of the R inspection image data storage memory M231.
  • step U72 the G pixel data is read from the camera 34. Is stored in the (X, Y) address position of the G inspection image data storage memory M232, and the B pixel data is read from the camera 34 in step U73 and stored in the G inspection image data storage memory. The data is stored in the (X, Y) address position of M233.
  • step U74 1 is added to the count value X and this is overwritten in the memory X214 for storing the count value X, and in step U75, the number of pixels in the X direction of the camera 34 is read from the memory M229.
  • step U76 if the count value X is less than or equal to the number of pixels in the X direction of the camera 34 in step U76 (NO), the process returns to step U71, and if the count value X becomes larger than the number of pixels in the X direction of the camera 34 (YES). Control goes to step U77.
  • step U77 1 is added to the count value Y, and this is overwritten in the count value Y storage memory M213. Subsequently, in step U78, the number of pixels in the Y direction of the camera 34 is read from the memory M230.
  • step U79 if the count value Y is equal to or smaller than the number of pixels in the Y direction of the camera in step U79 (NO), the process returns to step U70, and if the count value Y becomes larger than the number of pixels in the Y direction of the camera (YES), step U80.
  • step U80 1 is overwritten in the count value Y storage memory M213, and in step U81, 1 is overwritten in the count value X storage memory M214.
  • step U82 R inspection pixel data at the (X, Y) address position in the R inspection image data storage memory M231 is read from the (X, Y) address position.
  • step U83 the R inspection pixel data is read from the memory M216.
  • the first threshold SR1 is read.
  • step U84 if the R test pixel data at the address position (X, Y) is larger than the first threshold SR1 for R (YES), the test pixel data at the address position may be red. If it is determined that there is an R check pixel data at the address position (X, Y) and the R threshold value SR1 is equal to or less than the first threshold SR1 (NO), the check pixel data at the address position is other than red. It moves to step U187 mentioned later.
  • step U85 the G inspection pixel data at the (X, Y) address position is read from the (X, Y) address position of the G inspection image data storage memory M232, and in step U86, the second G data is read from the memory M219.
  • the threshold value SG2 is read.
  • step U87 if the G test pixel data at the address position (X, Y) is smaller than the second threshold SG2 for G (YES), the test pixel data at the address position may be red. If it is determined that there is G check pixel data at the address position (X, Y) and the second threshold value SG2 of G is greater than or equal to the second threshold SG2 (NO), the check pixel data at the address position is other than red. It moves to step U187 mentioned later.
  • step U88 B inspection pixel data at the (X, Y) address position is read from the (X, Y) address position of the B inspection image data storage memory M233, and in step U89, the second B memory pixel data is read from the memory M221.
  • the threshold value SB2 is read.
  • step U90 if the B inspection pixel data at the address position (X, Y) is smaller than the second threshold value SB2 of B (YES), the inspection pixel data at the address position is regarded as red.
  • the process proceeds to step U91, where “1 (R)” is overwritten in the (X, Y) address position of the temporary inspection mask storage memory M234, and the B inspection pixel data at the (X, Y) address position is overwritten. If it is greater than or equal to the second threshold value SB2 of B (NO), it is considered that the inspection pixel data at the address position is other than the red system, and the process proceeds to Step U187 described later.
  • Step U91 1 is added to the count value X in Step U92 and this is overwritten in the memory X214 for storing the count value X, and the number of pixels in the X direction of the camera 34 is read from the memory M229 in Step U93.
  • step U94 if the count value X is less than or equal to the number of pixels in the X direction of the camera in step U94 (NO), the process returns to step U82, and if the count value X becomes larger than the number of pixels in the X direction of the camera (YES), step U95.
  • step U95 1 is added to the count value Y, and this is overwritten in the count value Y storage memory M213. Subsequently, in step U96, the number of pixels in the Y direction of the camera 34 is read from the memory M230.
  • step U97 if the count value Y is equal to or smaller than the number of pixels in the Y direction of the camera 34 in step U97 (NO), the process returns to step U81, and if the count value Y becomes larger than the number of pixels in the Y direction of the camera 34 (YES). Control goes to step U98.
  • step U87 the address position (X, Y) is changed from the (X, Y) address position of the G inspection image data storage memory M232 in step U187.
  • the inspection pixel data of G is read, and then the first threshold value SG1 of G is read from the memory M218 in step U188.
  • step U189 if the G inspection pixel data at the address position (X, Y) is larger than the first threshold value SG1 of G (YES), there is a possibility that the inspection pixel data at the address position is a green system. If it is determined that there is G check pixel data at the address position (X, Y) and the first threshold value SG1 of G is equal to or less than (NO), the check pixel data at the address position is not green. The process proceeds to step U197 described later.
  • step U190 B inspection pixel data at the address position (X, Y) is read from the (X, Y) address position in the B inspection image data storage memory M233, and then in step U191, the memory M221 to B The second threshold value SB2 is read.
  • step U192 if the B test pixel data at the address position (X, Y) is smaller than the second threshold value SB2 for B (YES), there is a possibility that the test pixel data at the address position is a green system. If it is determined that there is B and the inspection pixel data of B at the address position (X, Y) is greater than or equal to the second threshold value SB2 of B (NO), the inspection pixel data at the address position is not green. The process proceeds to step U197 described later.
  • step U193 R inspection pixel data at the (X, Y) address position is read from the (X, Y) address position in the R inspection image data storage memory M231. Subsequently, in step U194, the R inspection pixel data is read from the memory M217. The second threshold SR2 is read.
  • step U195 if the R check pixel data at the address position (X, Y) is smaller than the second threshold SR2 for R (YES), the check pixel data at the address position is regarded as a green system.
  • step U196 if the R check pixel data at the address position (X, Y) is equal to or greater than the second threshold SR2 for R (NO), the check pixel data at the address position is regarded as other than the green system. Then, the process proceeds to step U197 described later.
  • step U196 "2 (G)" is overwritten on the (X, Y) address position of the temporary inspection mask storage memory M234, and the process proceeds to the above-described step U92.
  • step U197 the address position (X, Y) from the (X, Y) address position of the inspection image data storage memory M233 of B is changed in step U197.
  • the inspection pixel data of B is read, and then the first threshold value SB1 of B is read from the memory M220 in step U198.
  • the inspection pixel data of B at the address position (X, Y) is larger than the first threshold value SB1 of B at step U199 (YES)
  • the inspection pixel data at the address position is blue. If it is determined that there is B and the inspection pixel data of B at the address position (X, Y) is equal to or less than the first threshold value SB1 of B (NO), the inspection pixel data at the address position is other than the blue system. It moves to step U207 mentioned later.
  • step U200 R inspection pixel data at the (X, Y) address position is read from the (X, Y) address position of the R inspection image data storage memory M231. Subsequently, in step U201, the R inspection pixel data is read from the memory M217. The second threshold SR2 is read.
  • step U202 if the R test pixel data at the address position (X, Y) is smaller than the second threshold SR2 for R (YES), the test pixel data at the address position may be blue. Assuming that there is an error, the process proceeds to step U203, and if the R check pixel data at the address position (X, Y) is greater than or equal to the second threshold SR2 of R (NO), the check pixel data at the address position is not the blue system It moves to step U207 mentioned later.
  • step U203 the G inspection pixel data at the (X, Y) address position is read from the (X, Y) address position of the G inspection image data storage memory M232, and then in step U204, the G inspection pixel data is read from the memory M219.
  • the second threshold SG2 is read.
  • step U205 if the G inspection pixel data at the address position (X, Y) is smaller than the second threshold SG2 for G (YES), the inspection pixel data at the address position is regarded as blue.
  • step U206 if the G test pixel data at the address position (X, Y) is equal to or greater than the second threshold SG2 of G (NO), the test pixel data at the address position is regarded as other than the blue system. Then, the process proceeds to step U207 described later.
  • step U206 "3 (B)" is overwritten on the (X, Y) address position of the temporary inspection mask storage memory M234, and the flow proceeds to step U92 described above.
  • step U98 following step U97 0 is overwritten in the count value L storage memory M235, and then in step U99, 1 is overwritten in the count value Y storage memory M213, and in step U100, the count value X storage memory is stored. Overwrite 1 in M214.
  • step U101 0 is overwritten in the similar pixel number storage memory M236 of the motion thread, 1 is overwritten in the count value N storage memory M237 in step U102, and 1 is stored in the count value M storage memory M238 in step U103. Is overwritten.
  • step U104 the data at the address position (X + M-1, Y + N-1) in the temporary inspection mask storage memory M234 is read, and in step U105, (M, N) in the motion thread mask storage memory M222 is read. Read the data at the address location.
  • step U106 if the data at the address position (X + M ⁇ 1, Y + N ⁇ 1) matches the data at the address position (M, N) in step U106 (YES), the process proceeds to step U107, and (X + M ⁇ 1, Y + N). If the data at the address position -1) does not match the data at the address position (M, N) (NO), the process proceeds to step U108 described later.
  • step U107 1 is added to the number of similar pixels of the motion thread 1c to overwrite the memory M236 for storing the number of similar pixels of the motion thread, and in step U108, 1 is added to the count value M and this is stored in the memory for storing the count value M.
  • step U109 the number of pixels in the X direction of the motion thread 1c is read from the memory M211 in step U109.
  • step U110 if the count value M is less than or equal to the number of pixels in the X direction of the motion thread 1c in step U110 (NO), the process returns to step U104 described above, and the count value M becomes larger than the number of pixels in the X direction of the motion thread 1c. Then (YES), the process proceeds to step U111.
  • step U111 1 is added to the count value N and this is overwritten in the memory N237 for storing the count value N.
  • step U112 the number of pixels in the Y direction of the motion thread 1c is read from the memory M212.
  • step U113 if the count value N is less than or equal to the number of pixels in the Y direction of the motion thread 1c in step U113 (NO), the process returns to step U103 described above, and the count value N becomes larger than the number of pixels in the Y direction of the motion thread 1c. (YES), the process proceeds to step U114.
  • step U114 the number of similar pixels of the motion thread 1c is read from the memory M236.
  • step U115 the number of pixels in the X direction of the motion thread 1c is read from the memory M211.
  • step U116 the number of pixels of the motion thread 1c in the Y direction is read from the memory M212. Read.
  • step U117 the number of similar pixels of the motion thread 1c is divided by “(number of pixels of the motion thread in the X direction) ⁇ (number of pixels of the motion thread in the Y direction)” to calculate the similarity ratio of the motion thread 1c. This is stored in the memory M239.
  • step U118 the allowable value of the similarity rate of the motion thread 1c is read from the memory M240. If the similarity rate of the motion thread 1c is larger than the allowable value of the similarity rate of the motion thread 1c in step U119 (YES), the process proceeds to step U120. If the similarity of the motion thread 1c is equal to or less than the allowable value of the similarity of the motion thread 1c (NO), the process proceeds to step U123 described later.
  • step U120 1 is added to the count value L and this is overwritten in the memory M235 for storing the count value L.
  • the count value X and the count value Y are read from the memories M214 and M213, and in step U122, the count value X and The count value Y is stored as the position of the motion thread 1c as (X, Y) at the Lth position of the motion thread position storage memory M241.
  • step U123 1 is added to the count value X in step U123 and this is overwritten in the memory X214 for storing the count value X.
  • step U124 the number of pixels in the X direction of the camera 34 is read from the memory M229. To read the number of pixels in the X direction of the motion thread 1c.
  • step U126 if the count value X is equal to or less than (the number of pixels in the X direction of the camera 34 ⁇ the number of pixels in the X direction of the motion thread 1c + 1) in step U126 (NO), the process returns to step U102 described above, and the count value X is ( If the number of pixels in the X direction of the camera 34 ⁇ the number of pixels in the X direction of the motion thread 1c + 1) is greater than (YES), the process proceeds to step U127.
  • step U127 1 is added to the count value Y, and this is overwritten in the count value Y storage memory M213. Subsequently, in step U128, the number of pixels in the Y direction of the camera is read from the memory M230, and in step U129 from the memory M212. The number of pixels in the Y direction of the motion thread 1c is read.
  • step U130 if the count value Y is equal to or smaller than (the number of pixels in the Y direction of the camera 34 ⁇ the number of pixels in the Y direction of the motion thread 1c + 1) in step U130 (NO), the process returns to step U100 described above, and the count value Y is ( If it becomes larger than the number of pixels in the Y direction of the camera 34 minus the number of pixels in the Y direction of the motion thread 1c + 1) (YES), the process proceeds to step U131.
  • step U132 1 is overwritten in the count value K storage memory M243, and in step U133, 1 is overwritten in the count value N storage memory M237.
  • step U134 1 is overwritten in the memory M238 for storing the count value M.
  • step U135 (X, Y) is read from the Kth position of the motion thread position storage memory M241, and in step U136, pixel data is read from the position of the address (M, N) of the motion thread mask storage memory M222. Is overwritten in the (X + M ⁇ 1, Y + N ⁇ 1) position of the inspection mask storage memory M242.
  • step U137 1 is added to the count value M and this is overwritten in the memory M238 for storing the count value M, and in step U138, the number of pixels in the X direction of the motion thread 1c is read from the memory M211.
  • step U139 if the count value M is less than or equal to the number of pixels in the X direction of the motion thread 1c in step U139 (NO), the process returns to step U135 described above, and if the count value M is greater than the number of pixels in the X direction of the motion thread 1c. (YES) The process proceeds to step U140.
  • step U140 1 is added to the count value N and this is overwritten in the memory N237 for storing the count value N. Subsequently, in step U141, the number of pixels in the Y direction of the motion thread 1c is read from the memory M212.
  • step U142 if the count value N is less than or equal to the number of pixels in the Y direction of the motion thread 1c in step U142 (NO), the process returns to step U134 described above, and if the count value N is greater than the number of pixels in the Y direction of the motion thread 1c. (YES) The process proceeds to step U143.
  • step U143 1 is added to the count value K, and this is overwritten in the memory K243 for storing the count value K. Subsequently, the count value L is read from the memory M235 in step U144.
  • step U145 if the count value K is less than or equal to the count value L in step U145 (NO), the process returns to step U133 described above, and if the count value K becomes larger than the count value L (YES), the process proceeds to step U146.
  • step U146 1 is overwritten in the count value Y storage memory M213. Subsequently, in step U147, 1 is overwritten in the count value X storage memory M214. In step U148, (X, Y in the inspection mask storage memory M242 is stored. ) Address position data is read.
  • step U149 if the data at the address position (X, Y) of the inspection mask storage memory M242 is 1 (R) in step U149 (YES), the process proceeds to step U150, and the ( If the data at the address position of (X, Y) is not 1 (R) (NO), the process proceeds to step U208 described later.
  • step U150 the R pixel data at the (X, Y) address position of the R inspection image data storage memory M231 is read.
  • step U151 the (X, Y) address position of the R reference image data storage memory M226 is read. Read R pixel data.
  • step U152 the R pixel data at the (X, Y) address position in the R reference image data storage memory M226 is changed from the R pixel data at the (X, Y) address position in the R inspection image data storage memory M231. Are subtracted, and the difference between the R pixel data at the address position (X, Y) is calculated and stored in the memory M244.
  • step U153 the absolute value of the difference between the R pixel data at the (X, Y) address position is calculated from the difference between the R pixel data at the (X, Y) address position and stored in the memory M245.
  • step U154 the allowable value of the R pixel data is read from the memory M246.
  • step U155 if the absolute value of the difference between the R pixel data at the address position (X, Y) is smaller than the allowable value of the R pixel data (YES), the process proceeds to step U156, and (X, Y). If the absolute value of the difference between the R pixel data at the address position is equal to or greater than the allowable value of the R pixel data (NO), the process proceeds to step U240, NG is displayed on the display 22, and the process proceeds to step U162 described later. .
  • step U156 1 is added to the count value X, and this is overwritten in the memory X214 for storing the count value X. Subsequently, in step U157, the number of pixels in the X direction of the camera 34 is read from the memory M229.
  • step U158 if the count value X is equal to or smaller than the number of pixels in the X direction of the camera 34 in step U158 (NO), the process returns to step U148 described above, and if the count value X becomes larger than the number of pixels in the X direction of the camera 34 ( YES) The process proceeds to step U159.
  • step U159 1 is added to the count value Y, and this is overwritten in the count value Y storage memory M213. Subsequently, in step U160, the number of pixels in the Y direction of the camera 34 is read from the memory M230.
  • step U161 if the count value Y is equal to or smaller than the number of pixels in the Y direction of the camera 34 in step U161 (NO), the process returns to the above-described step U147, and if the count value Y becomes larger than the number of pixels in the Y direction of the camera 34 ( YES) The process proceeds to step U162.
  • step U162 it is determined whether or not the print end switch 219 is ON. If the print end switch 219 is OFF (NO), the process returns to step U63 described above, and if the print end switch 219 is ON ( YES) The process proceeds to step U163.
  • step U163 a paper feed stop command is output to the paper feeder 2, a print stop command is output to the printing unit 3 in step U164, and a stop command is output to the driving motor driver 222 in step U165.
  • the securities printing press 100 stops.
  • step U149 if the data at the address position (X, Y) in the inspection mask storage memory M242 is 2 (G) in step U208 (YES), the process proceeds to step U209. If the pixel data at the (X, Y) address position in the inspection mask storage memory M242 is not 2 (G) (NO), the process proceeds to step U215 to be described later.
  • step U209 the G pixel data at the (X, Y) address position of the G inspection image data storage memory M232 is read.
  • step U210 the (X, Y) address position of the G reference image data storage memory M227 is read. Read G pixel data.
  • step U211 the G pixel data at the (X, Y) address position of the G reference image data storage memory M227 is changed from the G pixel data at the (X, Y) address position of the G inspection image data storage memory M232. Is subtracted, and the difference between the G pixel data at the address position (X, Y) is calculated and stored in the memory M247.
  • step U212 the absolute value of the difference between the G pixel data at the address position (X, Y) is calculated from the difference between the G pixel data at the address position (X, Y) and stored in the memory M248.
  • step U213 the allowable value of the G pixel data is read from the memory M249.
  • step U214 if the absolute value of the difference between the G pixel data at the address position (X, Y) is smaller than the allowable value of the G pixel data (YES), the process proceeds to step U156 described above. If the absolute value of the difference between the G pixel data at the address position Y) is equal to or greater than the allowable value of the G pixel data (NO), the process proceeds to step U240 described above.
  • step U208 If the process proceeds from step U208 to step U215, if the data at the address position (X, Y) in the inspection mask storage memory M242 is 3 (B) in step U215 (YES), the process proceeds to step U216. If the pixel data at the (X, Y) address position in the inspection mask storage memory M242 is not 3 (B) (NO), the process proceeds to step U222 described later.
  • step U216 the B pixel data at the (X, Y) address position of the B inspection image data storage memory M233 is read. Subsequently, in the step U217, the (X, Y) of the B reference image data storage memory M228 is read. The pixel data of B at the address position is read.
  • step U218 the B pixel data at the (X, Y) address position in the B reference image data storage memory M228 is changed from the B pixel data at the (X, Y) address position in the B inspection image data storage memory M233. Is subtracted, and the difference between the pixel data of B at the address position (X, Y) is calculated and stored in the memory M250.
  • step U219 the absolute value of the difference between the B pixel data at the (X, Y) address position is calculated from the difference between the B pixel data at the (X, Y) address position and stored in the memory M251.
  • step U220 the allowable value of the pixel data of B is read from the memory M252.
  • step U221 if the absolute value of the difference between the B pixel data at the address position (X, Y) is smaller than the allowable value of the B pixel data (YES), the process proceeds to step U156 described above, and (X, If the absolute value of the difference between the B pixel data at the address position Y) is equal to or greater than the allowable value of the B pixel data (NO), the process proceeds to step U240 described above.
  • step U222 the R pixel data at the (X, Y) address position of the R inspection image data storage memory M231 is read at step U222, and then the R pixel data is read at step U223.
  • the R pixel data at the (X, Y) address position of the reference image data storage memory M226 is read.
  • step U224 the R pixel data at the (X, Y) address position in the R inspection image data storage memory M231 is changed to the R (X, Y) address position in the R reference image data storage memory M226. Are subtracted, and the difference between the R pixel data at the address position (X, Y) is calculated and stored in the memory M244.
  • step U225 the absolute value of the difference between the R pixel data at the (X, Y) address position is calculated from the difference between the R pixel data at the (X, Y) address position and stored in the memory M245.
  • step U226 the allowable value of the R pixel data is read from the memory M246.
  • step U227 if the absolute value of the difference between the R pixel data at the address position (X, Y) is smaller than the allowable value of the R pixel data (YES), the process proceeds to step U228, where (X, Y) If the absolute value of the difference between the R pixel data at the address position is equal to or greater than the allowable value of the R pixel data (NO), the process proceeds to step U240 described above.
  • step U2208 the G pixel data at the (X, Y) address position of the G inspection image data storage memory M232 is read, and in the step U229, the (X, Y) address position of the G reference image data storage memory M227 is read. Read G pixel data.
  • step U230 G pixel data at the (X, Y) address position in the G reference image data storage memory M227 is obtained from the G pixel data at the (X, Y) address position in the G inspection image data storage memory M232. Is subtracted, and the difference between the G pixel data at the address position (X, Y) is calculated and stored in the memory M247.
  • step U231 the absolute value of the difference between the G pixel data at the (X, Y) address position is calculated from the difference between the G pixel data at the (X, Y) address position and stored in the memory M248.
  • step U232 the allowable value of the G pixel data is read from the memory M249.
  • step U233 if the absolute value of the difference between the G pixel data at the address position (X, Y) is smaller than the allowable value of the G pixel data (YES), the process proceeds to step U234, and (X, Y) If the absolute value of the difference between the G pixel data at the address position is equal to or greater than the allowable value of the G pixel data (NO), the process proceeds to step U240 described above.
  • step U234 the B pixel data at the (X, Y) address position of the B inspection image data storage memory M233 is read.
  • step U235 the (X, Y) address position of the B reference image data storage memory M228 is read.
  • the B pixel data is read.
  • step U236 the B data at the (X, Y) address position in the B reference image data storage memory M228 is changed from the B pixel data at the (X, Y) address position in the B inspection image data storage memory M233. Is subtracted, and the difference between the pixel data of B at the address position (X, Y) is calculated and stored in the memory M250.
  • step U237 the absolute value of the difference between the B pixel data at the (X, Y) address position is calculated from the difference between the B pixel data at the (X, Y) address position and stored in the memory M251.
  • step U238, the allowable value of the pixel data of B is read from the memory M252.
  • step U239 if the absolute value of the difference between the B pixel data at the address position (X, Y) is smaller than the allowable value of the B pixel data (YES), the process proceeds to the above-described step U156, (X, If the absolute value of the difference between the B pixel data at the address position Y) is equal to or greater than the allowable value of the B pixel data (NO), the process proceeds to step U240 described above.
  • the position of the motion thread 1c is obtained, and the motion thread 1c is extracted from the image data for each RGB imaged by the camera 34 for the motion thread 1c portion.
  • the print quality is inspected using only the image data of the same color as the color of (1cR, 1cG, 1cB), while the print quality is inspected for all parts other than the motion thread 1c using all the RGB image data. I did it.
  • each color motion thread 1cR, 1cG, 1cB appears in a dark color in image data of a color different from each color motion thread 1cR, 1cG, 1cB.
  • the allowable value is a normal value
  • the pattern of the motion thread 1c changes with a slight change in angle, so that it is determined as NG. Therefore, also in the present embodiment, the portions of each color motion thread 1cR, 1cG, 1cB are not inspected by image data of different colors.
  • each color motion thread 1cR, 1cG, 1cB is achromatic or appears in a light color.
  • the motion thread 1c can be substantially ignored. Therefore, for the motion thread 1c portion, OK / NG is determined based on the reference image data using only the image data of the same color as the colors of the motion threads 1cR, 1cG, and 1cB.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Multimedia (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Health & Medical Sciences (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Inking, Control Or Cleaning Of Printing Machines (AREA)
  • Rotary Presses (AREA)
  • Printing Methods (AREA)

Abstract

モーションスレッド(1b)が設けられた印刷物(1)に光を照射する照明器(35または35A~35C)と、印刷物を撮像するカメラ(34または34A)と、カメラ(34または34A)によって撮像された画像データに基づいて印刷物(1)の印刷品質を検査する印刷品質検査部(10)とを備えた印刷品質検査装置において、カメラ(34)が印刷物(1)をRGB毎に撮像し、印刷品質検査部(10)がモーションスレッド(1b)を含む範囲の印刷品質の検査をモーションスレッド(1b)の色と同系統の色の画像データに基づいて行う、または、照明器(35A~35C)がモーションスレッド(1b)の色と同系統の色の光を照射し、モノクロカメラ(34A)がモノクロ画像を撮像するようにした。

Description

印刷品質検査装置及び印刷品質検査方法
 本発明は、印刷品質検査装置及び印刷品質検査方法に関する。
 近年の紙幣等の証券印刷物には、偽造防止の為に、見る角度によって絵柄の位置が変化するモーションスレッド(印刷された画像に、この画像に立体感を与えることのできるかまぼこ状の凸レンズであるレンチキュラを設け、両目の視差を利用して奥行きや動きの効果を加えたもの)がその一部に設けられることがある。
 このような証券印刷物は、予めモーションスレッドが設けられた一枚の印刷用紙(大判印刷物)に、4行×8列等の複数の証券印刷物の絵柄がいわゆる多面付印刷により同時に印刷される。
 また、従来、印刷の品質を検査するための印刷品質検査装置として、下記特許文献1に記載のものが公知となっている。
特開2012-66430号公報
 ここで、従来の印刷品質検査装置では、モーションスレッドが設けられた印刷用紙に多面付印刷を施したものを光学的に撮像して証券印刷物が正常に印刷されているかどうか検査すると、少しの角度変化でモーションスレッド部の絵柄が変化することにより、印刷品質には問題がないにもかかわらず、異常として誤検出されるおそれがあるという問題があった。
 このようなことから本発明は、モーションスレッドが設けられた印刷用紙に施した印刷の品質検査を高精度に実施することを可能とした印刷品質検査装置及び印刷品質検査方法を提供することを目的とする。
 上記の課題を解決するための第1の発明に係る印刷品質検査装置は、
 モーションスレッドが設けられた印刷物に光を照射する照明器と、
 前記印刷物を撮像する撮像装置と、
 前記撮像装置によって撮像された画像データに基づいて前記印刷物の印刷品質を検査する印刷品質検査部と
を備えた印刷品質検査装置において、
 前記撮像装置が印刷物をRGB毎に撮像し、前記印刷品質検査部が前記モーションスレッドを含む範囲の印刷品質の検査を前記モーションスレッドの色と同系統の色の画像データに基づいて行う、
または、
 前記照明器が前記モーションスレッドの色と同系統の色の光を照射し、前記撮像装置がモノクロ画像を撮像する
ことを特徴とする。
 また、上記の課題を解決するための第2の発明に係る印刷品質検査装置は、第1の発明において、
 前記撮像装置が印刷物をRGB毎に撮像し、前記印刷品質検査部が前記モーションスレッドを含む範囲の印刷品質の検査を前記モーションスレッドの色と同系統の色の画像データに基づいて行う場合に、前記印刷品質検査部が、前記モーションスレッドを含む範囲以外の領域の印刷品質の検査をRGB全ての画像データを用いて行う
ことを特徴とする。
 また、上記の課題を解決するための第3の発明に係る印刷品質検査装置は、第2の発明において、
 前記印刷品質検査部が、前記モーションスレッドを含む範囲の印刷品質を検査する際に、前記モーションスレッドの色と異なる系統の色の画像データを用いた検査を、印刷が正常か否かを判断するための許容値を検査が無効化される値として実施する
ことを特徴とする。
 また、上記の課題を解決するための第4の発明に係る印刷品質検査装置は、第1の発明において、
 前記印刷物をRGB毎に撮像する第二の撮像装置を備え、
 前記照明器がモーションスレッドの色と同系統の色の光を照射し、前記撮像装置がモノクロ画像を撮像する場合に、前記印刷品質検査部が、前記モーションスレッドを含む範囲以外の領域の印刷品質の検査を前記第二の撮像装置によって撮像したRGB全ての画像データのうち、前記モーションスレッドの色とは異なる系統の色の画像データに基づいて行う
ことを特徴とする。
 また、上記の課題を解決するための第5の発明に係る印刷品質検査装置は、第4の発明において、
 前記印刷品質検査部が、前記第二の撮像装置によって取得した画像データに基づいて前記モーションスレッドを含む範囲の印刷品質を検査する際に、印刷が正常か否かを判断するための許容値を検査が無効化される値として実施する
ことを特徴とする。
 また、上記の課題を解決するための第6の発明に係る印刷品質検査装置は、第1から第3のいずれかの発明において、
 前記撮像装置が印刷物をRGB毎に撮像し、前記印刷品質検査部が前記モーションスレッドを含む範囲の印刷品質の検査を前記モーションスレッドの色と同系統の色の画像データに基づいて行う場合に、前記印刷品質検査部が、前記撮像装置によって取得したRGB全ての画像データに基づいて前記モーションスレッドの位置を求める
ことを特徴とする。
 また、上記の課題を解決するための第7の発明に係る印刷品質検査装置は、第6の発明において、
 前記印刷品質検査部が、前記撮像装置によって取得したRGB全ての画像データと予め取得した前記モーションスレッドの画像データとのパターン・マッチングにより前記モーションスレッドの位置を求める
ことを特徴とする。
 また、上記の課題を解決するための第8の発明に係る印刷品質検査方法は、
 モーションスレッドが設けられた印刷物に照明器により光を照射し、
 モーションスレッドが設けられた印刷物を撮像装置により撮像し、
 前記撮像装置によって撮像された画像データに基づいて前記印刷物の印刷品質を印刷品質検査部により検査する印刷品質検査方法において、
 前記撮像装置が印刷物をRGB毎に撮像し、前記印刷品質検査部が前記モーションスレッドを含む範囲の印刷品質の検査を前記モーションスレッドの色と同系統の色の画像データに基づいて行う、
または
 前記照明器が前記モーションスレッドの色と同系統の色の光を照射し、前記撮像装置がモノクロ画像を撮像する
ことを特徴とする。
 また、上記の課題を解決するための第9の発明に係る印刷品質検査方法は、第8の発明において、
 前記撮像装置が印刷物をRGB毎に撮像し、前記印刷品質検査部が前記モーションスレッドを含む範囲の印刷品質の検査を前記モーションスレッドの色と同系統の色の画像データに基づいて行う場合に、前記印刷品質検査部が、前記モーションスレッドを含む範囲以外の領域の印刷品質の検査をRGB全ての画像データを用いて行う
ことを特徴とする。
 また、上記の課題を解決するための第10の発明に係る印刷品質検査方法は、第9の発明において、
 前記印刷品質検査部が、前記モーションスレッドを含む範囲の印刷品質を検査する際に、前記モーションスレッドの色と異なる系統の色の画像データを用いた検査を、印刷が正常か否かを判断するための許容値を検査が無効化される値として実施する
ことを特徴とする。
 また、上記の課題を解決するための第11の発明に係る印刷品質検査方法は、第8の発明において、
 前記照明器が前記モーションスレッドの色と同系統の色の光を照射し、前記撮像装置がモノクロ画像を撮像する場合に、
 第二の撮像装置により印刷物をRGB毎に撮像し、
 前記印刷品質検査部が、前記モーションスレッドを含む範囲以外の領域の印刷品質の検査を前記第二の撮像装置によって撮像したRGB全ての画像データのうち、前記モーションスレッドの色とは異なる系統の色の画像データに基づいて行う
ことを特徴とする。
 また、上記の課題を解決するための第12の発明に係る印刷品質検査方法は、第11の発明において、
 前記印刷品質検査部が、前記第二の撮像装置によって取得した画像データに基づいて前記モーションスレッドを含む範囲の印刷品質を検査する際に、印刷が正常か否かを判断するための許容値を検査が無効化される値として実施する
ことを特徴とする。
 また、上記の課題を解決するための第13の発明に係る印刷品質検査方法は、第8から第10のいずれかの発明において、
 前記撮像装置が印刷物をRGB毎に撮像し、前記印刷品質検査部が前記モーションスレッドを含む範囲の印刷品質の検査を前記モーションスレッドの色と同系統の色の画像データに基づいて行う場合に、
 前記印刷品質検査部が、前記撮像装置によって取得したRGB全ての画像データに基づいて前記モーションスレッドの位置を求める
ことを特徴とする。
 また、上記の課題を解決するための第14の発明に係る印刷品質検査方法は、第13の発明において、
 前記印刷品質検査部が、前記撮像装置によって取得したRGB全ての画像データと予め取得した前記モーションスレッドの画像データとのパターン・マッチングにより前記モーションスレッドの位置を求める
ことを特徴とする。
 本発明に係る印刷品質検査装置及び印刷品質検査方法によれば、モーションスレッドが設けられた印刷用紙に施した印刷の品質検査を高精度に実施することが可能となる。
本発明に係る印刷品質検査装置を適用した証券印刷機の側面図である。 本発明の第1の実施の形態に係る印刷品質検査装置を示す側面図である。 本発明の第1の実施の形態に係る印刷品質検査装置の構成を示すブロック図である。 本発明の第1の実施の形態に係る印刷品質検査装置の構成を示すブロック図である。 本発明の第1の実施の形態に係る印刷品質検査装置の構成を示すブロック図である。 本発明の第1の実施の形態に係る印刷品質検査装置の構成を示すブロック図である。 本発明の第1の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第1の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第1の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第1の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第1の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第1の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第1の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第1の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第1の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第1の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第1の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第1の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第1の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第1の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第1の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第1の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第1の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第1の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第1の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第1の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第1の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第1の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第1の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第1の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第1の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 レンチキュラが施された小切れの例を示す模式図である。 モーションスレッドの色と同系統の色の画像データの例を示す模式図である。 モーションスレッドの色と異なる系統の色の画像データの例を示す模式図である。 モーションスレッドの色と異なる系統の色の画像データの例を示す他の模式図である。 表示器の一例を示す模式図である。 本発明の第2の実施の形態に係る印刷品質検査装置を示す側面図である。 本発明の第2の実施の形態に係る印刷品質検査装置の構成を示すブロック図である。 本発明の第2の実施の形態に係る印刷品質検査装置の構成を示すブロック図である。 本発明の第2の実施の形態に係る印刷品質検査装置の構成を示すブロック図である。 本発明の第2の実施の形態に係る印刷品質検査装置の構成を示すブロック図である。 本発明の第2の実施の形態に係る印刷品質検査装置の構成を示すブロック図である。 本発明の第2の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第2の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第2の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第2の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第2の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第2の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第2の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第2の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第2の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第2の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第2の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第2の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第2の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第2の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第2の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第2の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第2の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第2の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第2の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第2の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第2の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第2の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第2の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第2の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第2の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第2の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第2の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第2の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第2の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第2の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第2の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第2の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第2の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第2の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第2の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第2の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第2の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第2の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第2の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第2の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第2の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 多色モーションスレッドが施された大判印刷物の例を示す模式図である。 多色モーションスレッドが施された小切れの例を示す模式図である。 本発明の第3の実施の形態に係る印刷品質検査装置の構成を示すブロック図である。 本発明の第3の実施の形態に係る印刷品質検査装置の構成を示すブロック図である。 本発明の第3の実施の形態に係る印刷品質検査装置の構成を示すブロック図である。 本発明の第3の実施の形態に係る印刷品質検査装置の構成を示すブロック図である。 本発明の第3の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第3の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第3の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第3の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第3の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第3の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第3の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第3の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第3の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第3の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第3の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第3の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第3の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第3の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第3の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第3の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第3の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第3の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第3の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第3の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第3の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第3の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第3の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第3の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第3の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第3の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 本発明の第3の実施の形態に係る印刷品質検査装置の動作を示すフローチャートである。 多色モーションスレッドのRGBの出力値の例を示す説明図である。
〔第1の実施の形態〕
 以下、図1から図12を用いて本発明の第1の実施の形態に係る印刷品質検査装置について説明する。
 図1に全体を符号100で示す証券印刷機は、積載された大判印刷物(被印刷部材)1を一枚ずつ給紙する給紙装置2と、給紙された大判印刷物1に六色の印刷を施す六組の印刷ユニット3A~3Fからなる印刷部3と、大判印刷物1の印刷面にニスをコーティングするコーティング部4と、コーティングされた大判印刷物1を乾燥させて排紙パイル5に排紙する排紙装置6とによって概ね構成されている。
 給紙装置2のサッカー装置によってフィーダーボードに給紙された大判印刷物1は、当てと横針装置によって天地方向と幅方向が揃えられ、スイング装置を介して印刷ユニット3Aに供給される。印刷ユニット3Aで一色目の印刷が行われた後、順次印刷ユニット3Bから3Fで二色目から六色目の印刷が行われ、コーティング部4において印刷面にニスがコーティングされた後、排紙チェーンによって搬送され、排紙パイル5に落下され積載される。
 ここで、本実施の形態において証券印刷機100では、予め単色のモーションスレッド1b(図10参照)が設けられた大判印刷物1に、例えば4行×8列等の複数の証券印刷物の絵柄がいわゆる多面付印刷により同時に印刷される。以下、証券印刷物の絵柄が印刷された各部分を小切れ1aと称する。
 図2に示すように、コーティング部4のコータ胴7に対向する圧胴8の、コータ胴7との対接点よりも搬送方向下流側には、圧胴8に保持されている大判印刷物1をRGB(赤(Red),緑(Green),及び青(Blue))で撮像する撮像装置としてのカラーカメラ(以下、カメラ)34と、カメラ34によって撮像される領域に対して可視光を照射する複数の照明器35とが配設されている。本実施の形態において、照明器35は、カメラ34の光軸に対し、搬送方向上流側と下流側とに設けられている。
 カメラ34によって撮像された画像は、図3Aから図3Dに示す印刷品質検査部10に送信される。
 図3Aから図3Dに示すように、印刷品質検査部10は、CPU11と、ROM12と、RAM13と、各入出力装置14~19とがBUS線で接続されて構成されている。
 BUS線には、モーションスレッドの色記憶用メモリM11、カウント値Y記憶用メモリM12、カウント値X記憶用メモリM13、小切れの画素データ記憶用メモリM14、小切れのX方向の画素数記憶用メモリM15、小切れのY方向の画素数記憶用メモリM16、ポインタ位置記憶用メモリM17が接続されている。
 また、BUS線には、マウスがドラッグされた距離記憶用メモリM18、選択範囲の終端位置記憶用メモリM19、R用の通常の許容値記憶用メモリM20、G用の通常の許容値記憶用メモリM21、B用の通常の許容値記憶用メモリM22、R用の最大の許容値記憶用メモリM23、G用の最大の許容値記憶用メモリM24、B用の最大の許容値記憶用メモリM25、小切れのRの許容値記憶用メモリM26、小切れのGの許容値記憶用メモリM27、小切れのBの許容値記憶用メモリM28が接続されている。
 また、BUS線には、大判印刷物のRの許容値記憶用メモリM29、大判印刷物のGの許容値記憶用メモリM30、大判印刷物のBの許容値記憶用メモリM31、大判印刷物のX方向の画素数記憶用メモリM32、大判印刷物のY方向の画素数記憶用メモリM33、カウント値N記憶用メモリM34、カウント値M記憶用メモリM35、大判印刷物内の各小切れの左下端位置記憶用メモリM36、大判印刷物内の小切れの行数記憶用メモリM37、大判印刷物内の小切れの列数記憶用メモリM38が接続されている。
 また、BUS線には、撮像回転位相記憶用メモリM39、証券印刷機の回転位相検出用カウンタのカウント値記憶用メモリM40、Rの基準画像データ記憶用メモリM41、Gの基準画像データ記憶用メモリM42、Bの基準画像データ記憶用メモリM43、カメラのX方向の画素数記憶用メモリM44、カメラのY方向の画素数記憶用メモリM45、Rの検査画像データ記憶用メモリM46、Gの検査画像データ記憶用メモリM47、Bの検査画像データ記憶用メモリM48が接続されている。
 また、BUS線には、(カメラの)X方向の無効画素数記憶用メモリM49、(カメラの)Y方向の無効画素数記憶用メモリM50、Rの(X,Y)のアドレス位置の画素データの差記憶用メモリM51、Rの(X,Y)のアドレス位置の画素データの差の絶対値記憶用メモリM52、Gの(X,Y)のアドレス位置の画素データの差記憶用メモリM53、Gの(X,Y)のアドレス位置の画素データの差の絶対値記憶用メモリM54、Bの(X,Y)のアドレス位置の画素データの差記憶用メモリM55、Bの(X,Y)のアドレス位置の画素データの差の絶対値記憶用メモリM56が接続されている。
 さらに、入出力装置14には、キーボードや各種スイッチ及びボタン等の入力装置21、CRTやランプ等の表示器22、プリンタ等の出力装置23、及び、CDドライブ24が接続されている。なお、表示器22は、図12に示すように、CDドライブ24から読込んだ小切れの画像やカメラ34で撮像した小切れの画像を表示する小切れ画像表示部22a、並びに、カメラ34で撮像した大判印刷物1の画像を表示する大判印刷物表示部22bを備えている。
 また、入出力装置15には、Rのボタン25、Gのボタン26、Bのボタン27、モーションスレッドの色設定完了スイッチ28、選択範囲確定スイッチ29、基準画像データ読込みスイッチ30、検査開始スイッチ31、検査終了スイッチ32が接続されている。
 Rのボタン25,Gのボタン26,Bのボタン27はそれぞれモーションスレッド1bの色の系統(赤系,緑系,青系)を設定するためのボタンである。すなわち、モーションスレッド1bの色が赤系であればRのボタン25、緑系であればGのボタン26、青系であればBのボタン27をONにし、いずれか一つのボタンをONにすると、これに連動して他の二つのボタンがOFFとなる。
 モーションスレッドの色設定完了スイッチ28は、Rのボタン25,Gのボタン26またはBのボタン27の操作によるモーションスレッド1bの色の設定が完了したことを入力するスイッチである。選択範囲確定スイッチ29は、後述するモーションスレッド範囲Aが確定したことを入力するスイッチである。基準画像データ読込みスイッチ30は、後述する基準画像データの読込みの開始を入力するスイッチである。検査開始スイッチ31,検査終了スイッチ32は印刷品質の検査の開始,終了を入力するスイッチである。
 入出力装置16には、マウス33が接続されている。
 また、入出力装置17,18には、カメラ34が接続されている。入出力装置18はカメラ34に撮像指令及び画像データ送信指令を送り、カメラ34で撮像した撮像データが入出力装置17へ出力される。
 また、入出力装置19には、証券印刷機の回転位相検出用カウンタ36が接続され、この証券印刷機の回転位相検出用カウンタ36が証券印刷機駆動モータ用ロータリ・エンコーダ37に接続されている。ここで、証券印刷機駆動モータ用ロータリ・エンコーダ37は、例えば図示しない証券印刷機駆動モータの出力軸の後端部分に直接取り付けられ、印刷ユニット3A~3Fが1枚の大判印刷物1に印刷する毎に1回転し、1回転する毎にゼロ・パルスを1回出力して証券印刷機の回転位相検出用カウンタ36をリセットすると共に、証券印刷機駆動モータが所定角度回転する毎に、証券印刷機の回転位相検出用カウンタ36にクロック・パルスを出力するようになっている。
 以下、図4A~図4C,図5A~図5E,図6A~図6F,図7A~図7C,図8A~図8D,図9A~図9Dに示す動作フローにしたがって、印刷品質検査部10による処理について説明する。
 なお、本実施の形態における印刷品質検査部10による処理について簡単に説明すると、印刷品質検査部10ではまず、第一の工程で、図10に示すような小切れ1aに施されているモーションスレッド1bの色(レンチキュラの下の絵柄の色)の系統を入力する(ステップS1~S3,S194~S197)。本実施の形態では、モーションスレッド1bの色が赤系統であれば1(R)、緑系統であれば2(G)、青系統であれば3(B)を入力する。
 次に、第二の工程で、予め取得しておいた正常に印刷された小切れ1aの画像を入力してこれを記憶し、表示器22に表示する(ステップS4~S21)。
 次に、第三の工程で、第二の工程で表示器22に表示された小切れ1aの画像上で、マウス33によるクリック&ドラッグを用いてモーションスレッド1bを囲む範囲(図10に破線で囲んで示す範囲。以下、モーションスレッド範囲と称する)Aを指定し、モーションスレッド範囲Aを示すしるし(ライン)を表示器22に表示する(ステップS22~S72)。これにより、モーションスレッド範囲Aの外周縁を示すラインが表示される。
 次に、第四の工程で、第一の工程で入力されたモーションスレッド1bの色及び第三の工程で小切れ1aに対して指定されたモーションスレッド範囲Aを用いて、小切れ1a内の各画素のRGB毎の印刷品質検査に係る許容値(印刷の正常(OK)/異常(NG)を判断する許容値)を設定する(ステップS73~S96,S198~S216)。
 次に、第五の工程で、第四の工程で設定された小切れ1a内の各画素のRGB毎の印刷品質検査に係る許容値を大判印刷物1内の各小切れ1aに展開し、大判印刷物1内の各画素のRGB毎の許容値を設定する(ステップS97~S128)。なお、大判印刷物1内における各小切れ1aの配置は予め既知であるため、これを利用して各小切れ1a内のモーションスレッド範囲A及びモーションスレッド範囲A以外の範囲に対応する許容値を設定する。大判印刷物1内の各画素のRGB毎の許容値を設定したら、作業者により基準画像データ読込みスイッチ30をONとする。
 次に、第六の工程で、証券印刷機100により印刷された大判印刷物1をカメラ34で撮像し、正常に印刷された大判印刷物1の画像を基準画像として記憶する(ステップS129~S146)。なお、基準画像を記憶し終えたら、作業者により検査開始スイッチ31をONとする。
 次に、第七の工程で、証券印刷機100で印刷された大判印刷物1をカメラ34で撮像し、これを検査画像として記憶する(ステップS147~S165)。
 次に、第八の工程で、第七の工程で撮像した検査画像の各画素のRGB毎の画像データと第六の工程で記憶した基準画像の対応する各画素のRGB毎の画像データを比較して検査画像と基準画像の各画素のRGB毎の差を求め、第九の工程で、第八の工程で求めた検査画像と基準画像の各画素のRGB毎の差と第五の工程で設定された大判印刷物内の各画素のRGB毎の許容値を比較し、OK/NGを判断する(ステップS166~S193、S217)。
 上述した工程を以下に具体的に説明する。まず、ステップS1でRのボタン25がONとなっていれば(YES)、ステップS2でモーションスレッドの色記憶用メモリM11に1(R)を上書きしてステップS3に移行し、Rのボタン25がOFFとなっていれば(NO)、ステップS194に移行する。ステップS194では、Gのボタン26がONとなっていれば(YES)、ステップS195でモーションスレッドの色記憶用メモリM11に2(G)を上書きしてステップS3に移行し、Gのボタン26がOFFとなっていれば(NO)、ステップS196に移行する。ステップS196では、Bのボタン27がONとなっていれば(YES)、ステップS197でモーションスレッドの色記憶用メモリM11に3(B)を上書きしてステップS3に移行し、BのボタンがOFFとなっていれば(NO)、ステップS3に移行する。
 ステップS3では、モーションスレッドの色設定完了スイッチ28がOFFであれば(NO)、ステップS1に戻り、モーションスレッドの色設定完了スイッチ28がONとなったら(YES)、ステップS4に移行する。
 ステップS4では、カウント値Y記憶用メモリM12に1を上書きし、続いて、ステップS5でカウント値X記憶用メモリM13に1を上書きし、ステップS6でCDドライブ24から小切れ1aの(X,Y)のアドレス位置の画素データ(RGB)を読込んでこれを小切れの画素データ記憶用メモリM14の(X,Y)のアドレス位置に上書きする。
 続いて、ステップS7でカウント値Xに1を加算してこれをカウント値X記憶用メモリM13に上書きし、ステップS8でメモリM15から小切れ1aのX方向の画素数を読込み、ステップS9でカウント値Xが小切れ1aのX方向の画素数以下であれば(NO)、ステップS6に戻り、カウント値Xが小切れ1aのX方向の画素数よりも大きくなったら(YES)、ステップS10でカウント値Yに1を加算してこれをカウント値Y記憶用メモリM12に上書きする。
 ステップS10に続いては、ステップS11でメモリM16から小切れ1aのY方向の画素数を読込み、ステップS12でカウント値Yが小切れ1aのY方向の画素数以下であれば(NO)、ステップS5に戻り、カウント値Yが小切れ1aのY方向の画素数よりも大きくなったら(YES)、ステップS13に移行する。
 ステップS13では、カウント値Y記憶用メモリM12に1を上書きし、続いて、ステップS14でカウント値X記憶用メモリM13に1を上書きし、ステップS15で小切れの画素データ記憶用メモリM14の(X,Y)のアドレス位置から小切れ1aのアドレス(X,Y)位置の画素データ(RGB)を読込んで表示器22の小切れ画像表示部22aの(X,Y)のアドレス位置に表示する。続いて、ステップS16でカウント値Xに1を加算してカウント値X記憶用メモリM13に上書きし、ステップS17でメモリM15から小切れ1aのX方向の画素数を読込む。
 続いて、ステップS18でカウント値Xが小切れ1aのX方向の画素数以下であれば(NO)ステップS15に戻り、カウント値Xが小切れ1aのX方向の画素数よりも大きくなったら(YES)、ステップS19でカウント値Yに1を加算してカウント値Y記憶用メモリM12に上書きし、ステップS20でメモリM16から小切れ1aのY方向の画素数を読込む。
 続いて、ステップS21でカウント値Yが小切れ1aのY方向の画素数以下であれば(NO)、ステップS14に戻り、カウント値Yが小切れ1aのY方向の画素数よりも大きくなったら(YES)、ステップS22に移行する。
 ステップS22では、マウスポインタがONとなっているか否かを判定し、マウスポインタがOFFとなっていれば(NO)、ステップS22の処理を繰り返し、マウスポインタがONとなったら(YES)、ステップS23に移行する。
 ステップS23では、表示器22の小切れ画像表示部22a上のカーソル位置(Xk,Yk)を読込んでポインタ位置記憶用メモリM17に記憶する。続いて、ステップS24でマウス33からX方向及びY方向の移動距離(Xd,Yd)が送信されたか否かを判定し、マウス33からX方向及びY方向の移動距離(Xd,Yd)が送信されていなければ(NO)、ステップS24の処理を繰り返し、マウス33からX方向及びY方向の移動距離(Xd,Yd)が送信されたら(YES)、ステップS25に移行する。
 ステップS25では、マウス33からマウス33がドラッグされた距離(Xd,Yd)を受信してこれをメモリM18に記憶し、続いて、ステップS26でポインタ位置記憶用メモリM17のX方向のアドレス位置からX方向のポインタ位置Xkを読込む。
 続いて、ステップS27でマウス33がドラッグされた距離記憶用メモリM18のX方向のアドレス位置からマウス33がドラッグされたX方向の距離Xdを読込み、ステップS28でX方向のポインタ位置Xkにマウス33がドラッグされたX方向の距離Xdを加算し、選択範囲のX方向の終端位置Xeを演算して選択範囲の終端位置記憶用メモリM19のX方向のアドレス位置に記憶する。
 続いて、ステップS29でポインタ位置記憶用メモリM17のY方向のアドレス位置からY方向のポインタ位置Ykを読込み、ステップS30でマウスがドラッグされた距離記憶用メモリM18のY方向のアドレス位置からマウス33がドラッグされたY方向の距離Ydを読込む。
 続いて、ステップS31でY方向のポインタ位置Ykにマウス33がドラッグされたY方向の距離Ydを加算し、選択範囲のY方向の終端位置Yeを演算して選択範囲の終端位置記憶用メモリM19のY方向のアドレス位置に記憶する。
 ステップS31に続いては、ステップS32でポインタ位置記憶用メモリM17のX方向のアドレス位置からX方向のポインタ位置Xkを読込み、ステップS33でカウント値X記憶用メモリM13にX方向のポインタ位置Xkを上書きする。
 続いて、ステップS34でポインタ位置記憶用メモリM17のY方向のアドレス位置からY方向のポインタ位置Ykを読込み、ステップS35でカウント値Y記憶用メモリM12にY方向のポインタ位置Ykを上書きする。
 続いて、ステップS36でメモリM12からカウント値Yを読込み、ステップS37でメモリM13からカウント値Xを読込み、ステップS38で表示器22の小切れ画像表示部22aの(X,Y)位置に選択範囲を示すしるしを表示する。
 続いて、ステップS39でカウント値Xに1を加算してこれをカウント値X記憶用メモリM13に上書きし、ステップS40で選択範囲の終端位置記憶用メモリM19のX方向のアドレス位置から選択範囲のX方向の終端位置Xeを読込む。
 続いて、ステップS41でカウント値Xが選択範囲のX方向の終端位置Xe以下であれば(NO)、ステップS36に戻り、カウント値Xが選択範囲のX方向の終端位置Xeよりも大きくなったら(YES)、ステップS42に移行する。
 ステップS42では、ポインタ位置記憶用メモリM17のX方向のアドレス位置からX方向のポインタ位置Xkを読込み、続いて、ステップS43でカウント値X記憶用メモリM13にX方向のポインタ位置Xkを上書きする。
 続いて、ステップS44でポインタ位置記憶用メモリM17のY方向のアドレス位置からY方向のポインタ位置Ykを読込み、ステップS45でカウント値Y記憶用メモリM12にY方向のポインタ位置Ykを上書きする。
 続いて、ステップS46でメモリM12からカウント値Yを読込み、ステップS47でメモリM13からカウント値Xを読込み、ステップS48で表示器22の小切れ画像表示部22aの(X,Y)位置に選択範囲を示すしるしを表示する。
 続いて、ステップS49でカウント値Yに1を加算してカウント値Y記憶用メモリM12に上書きし、ステップS50で選択範囲の終端位置記憶用メモリM19のY方向のアドレス位置から選択範囲のY方向の終端位置Yeを読込む。
 続いて、ステップS51でカウント値Yが選択範囲のY方向の終端位置Ye以下であれば(NO)、ステップS46に戻り、カウント値Yが選択範囲のY方向の終端位置Yeよりも大きくなったら(YES)、ステップS52に移行する。
 ステップS52では、ポインタ位置記憶用メモリM17のX方向のアドレス位置からX方向のポインタ位置Xkを読込み、続いて、ステップS53でカウント値X記憶用メモリM13にX方向のポインタ位置Xkを上書きする。
 続いて、ステップS54で選択範囲の終端位置記憶用メモリM19のY方向のアドレス位置から選択範囲のY方向の終端位置Yeを読込み、ステップS55でカウント値Y記憶用メモリM12に選択範囲のY方向の終端位置Yeを上書きする。
 続いて、ステップS56でメモリM12からカウント値Yを読込み、ステップS57でメモリM13からカウント値Xを読込み、ステップS58で表示器22の小切れ画像表示部22aの(X,Y)位置に選択範囲を示すしるしを表示する。
 続いて、ステップS59でカウント値Xに1を加算してカウント値X記憶用メモリM13に上書きし、ステップS60で選択範囲の終端位置記憶用メモリM19のX方向のアドレス位置から選択範囲のX方向の終端位置Xeを読込む。
 続いて、ステップS61でカウント値Xが選択範囲のX方向の終端位置Xe以下であれば(NO)、ステップS56に戻り、カウント値Xが選択範囲のX方向の終端位置Xeよりも大きくなったら(YES)、ステップS62に移行する。
 ステップS62では、選択範囲の終端位置記憶用メモリM19のX方向のアドレス位置から選択範囲のX方向の終端位置Xeを読込み、続いて、ステップS63でカウント値X記憶用メモリM13に選択範囲のX方向の終端位置Xeを上書きする。
 続いて、ステップS64でポインタ位置記憶用メモリM17のY方向のアドレス位置からY方向のポインタ位置Ykを読込み、ステップS65でカウント値Y記憶用メモリM12にY方向のポインタ位置Ykを上書きする。
 続いて、ステップS66でメモリM12からカウント値Yを読込み、ステップS67でメモリM13からカウント値Xを読込み、ステップS68で表示器22の小切れ画像表示部22aの(X,Y)位置に選択範囲を示すしるしを表示する。
 続いて、ステップS69でカウント値Yに1を加算してカウント値Y記憶用メモリM12に上書きし、ステップS70で選択範囲の終端位置記憶用メモリM19のY方向のアドレス位置から選択範囲のY方向の終端位置Yeを読込む。
 続いて、ステップS71でカウント値Yが選択範囲のY方向の終端位置Ye以下であれば(NO)、ステップS66に戻り、カウント値Yが選択範囲のY方向の終端位置Yeよりも大きくなったら(YES)、ステップS72に移行する。
 ステップS72では、選択範囲確定スイッチ29がONとなっているか否かを判定し、選択範囲確定スイッチ29がONとなっていなければ(NO)、ステップS22に戻り、選択範囲確定スイッチ29がONとなったら(YES)、ステップS73に移行する。
 ステップS73では、カウント値Y記憶用メモリM12に1を上書きし、続いて、ステップS74でカウント値X記憶用メモリM13に1を上書きし、ステップS75でポインタ位置記憶用メモリM17のX方向のアドレス位置からX方向のポインタ位置Xkを読込む。
 続いて、ステップS76でカウント値XがX方向のポインタ位置Xkよりも小さければ(NO)、(X,Y)のアドレス位置がモーションスレッド範囲A以外の位置であると判断して後述するステップS211に移行し、カウント値XがX方向のポインタ位置Xk以上であれば(YES)、ステップS77で選択範囲の終端位置記憶用メモリM19のX方向のアドレス位置から選択範囲のX方向の終端位置Xeを読込み、ステップS78に移行する。
 ステップS78では、カウント値Xが選択範囲のX方向の終端位置Xeよりも大きければ(NO)、(X,Y)のアドレス位置がモーションスレッド範囲A以外の位置であると判断して後述するステップS211に移行し、カウント値Xが選択範囲のX方向の終端位置Xe以下であれば(YES)、ステップS79でポインタ位置記憶用メモリM17のY方向のアドレス位置からY方向のポインタ位置Ykを読込み、ステップS80に移行する。
 ステップS80では、カウント値YがY方向のポインタ位置Ykよりも小さければ(NO)、(X,Y)のアドレス位置がモーションスレッド範囲A以外の位置であると判断して後述するステップS211に移行し、カウント値YがY方向のポインタ位置Yk以上であれば(YES)、ステップS81で選択範囲の終端位置記憶用メモリM19のY方向のアドレス位置から選択範囲のY方向の終端位置Yeを読込み、ステップS82に移行する。
 ステップS82では、カウント値Yが選択範囲のY方向の終端位置Yeよりも大きければ(NO)、(X,Y)のアドレス位置がモーションスレッド範囲A以外の位置であると判断して後述するステップS211に移行し、カウント値Yが選択範囲のY方向の終端位置Ye以下であれば(YES)、(X,Y)のアドレス位置がモーションスレッド範囲A内の位置であると判断してステップS83でモーションスレッドの色記憶用メモリM11の値を読込む。
 ステップS83に続いては、ステップS84でモーションスレッドの色記憶用メモリM11の値が1(R)以外であれば(NO)、後述するステップS198に移行し、モーションスレッドの色記憶用メモリM11の値が1(R)であれば(YES)、ステップS85に移行する。
 ステップS85では、メモリM20からR用の通常の許容値を読込み、続いて、ステップS86で小切れのRの許容値記憶用メモリM26の(X,Y)のアドレス位置にR用の通常の許容値を上書きし、ステップS87でメモリM24からG用の最大の許容値を読込み、ステップS88で小切れのGの許容値記憶用メモリM27の(X,Y)のアドレス位置にG用の最大の許容値を上書きし、ステップS89でメモリM25からB用の最大の許容値を読込み、ステップS90で小切れのBの許容値記憶用メモリM28の(X,Y)のアドレス位置にB用の最大の許容値を上書きして、後述するステップS91に移行する。
 なお、本実施の形態において、通常の許容値とは印刷が正常に施されているか否かを判断するための許容値であり、最大の許容値とは印刷が正常に施されているか否かの判断を無効化するための許容値である。すなわち、モーションスレッドの色記憶用メモリM11の値が1(R)である場合には、モーションスレッド範囲AについてG,B用の許容値が最大に設定されるため、モーションスレッド1bのG,Bの画像データによる検査は実質的に行われないこととなる。
 また、上述したステップS84からステップS198に移行した場合は、ステップS198でモーションスレッドの色記憶用メモリM11の値が2(G)以外であれば(NO)、後述するステップS205に移行し、モーションスレッドの色記憶用メモリM11の値が2(G)であれば(YES)、ステップS199に移行する。
 ステップS199では、メモリM23からR用の最大の許容値を読込み、続いて、ステップS200で小切れのRの許容値記憶用メモリM26の(X,Y)のアドレス位置にR用の最大の許容値を上書きし、ステップS201でメモリM21からG用の通常の許容値を読込み、ステップS202で小切れのGの許容値記憶用メモリM27の(X,Y)のアドレス位置にG用の通常の許容値を上書きし、ステップS203でメモリM25からB用の最大の許容値を読込み、ステップS204で小切れのBの許容値記憶用メモリM28の(X,Y)のアドレス位置にB用の最大の許容値を上書きして、後述するステップS91に移行する。これにより、モーションスレッドの色記憶用メモリM11の値が2(G)である場合には、モーションスレッド範囲AについてはR,B用の許容値が最大に設定されることによりモーションスレッド1bのR,Bの画像データによる検査が無効化される。
 また、上述したステップS198からステップS205に移行した場合は、ステップS205でメモリM23からR用の最大の許容値を読込み、続いて、ステップS206で小切れのRの許容値記憶用メモリM26の(X,Y)のアドレス位置にR用の最大の許容値を上書きし、ステップS207でメモリM24からG用の最大の許容値を読込み、ステップS208で小切れのGの許容値記憶用メモリM27の(X,Y)のアドレス位置にG用の最大の許容値を上書きし、ステップS209でメモリM22からB用の通常の許容値を読込み、ステップS210で小切れのBの許容値記憶用メモリM28の(X,Y)のアドレス位置にB用の通常の許容値を上書きして、後述するステップS91に移行する。これにより、モーションスレッドの色記憶用メモリM11の値が3(B)である場合には、モーションスレッド範囲AについてはR,G用の許容値が最大に設定されることによりモーションスレッド1bのR,Gの画像データによる検査が無効化される。
 上述したステップS76,S78,S80,S82からステップS211に移行した場合は、ステップS211でメモリM20からR用の通常の許容値を読込み、ステップS212で小切れのRの許容値記憶用メモリM26の(X,Y)のアドレス位置にR用の通常の許容値を上書きし、ステップS213でメモリM21からG用の通常の許容値を読込み、ステップS214で小切れのGの許容値記憶用メモリM27の(X,Y)のアドレス位置にG用の通常の許容値を上書きし、ステップS215でメモリM22からB用の通常の許容値を読込み、ステップS216で小切れのBの許容値記憶用メモリM28の(X,Y)のアドレス位置にB用の通常の許容値を上書きして、後述するステップS91に移行する。これにより、モーションスレッド範囲A以外の部分についてはRGB全ての画像データによる検査の許容値が通常の値に設定される。
 ステップS91では、カウント値Xに1を加算してカウント値X記憶用メモリM13に上書きし、ステップS92でメモリM15から小切れ1aのX方向の画素数を読込む。
 続いて、ステップS93でカウント値Xが小切れ1aのX方向の画素数以下であれば(NO)、ステップS75に戻り、カウント値Xが小切れ1aのX方向の画素数よりも大きくなったら(YES)、ステップS94に移行する。
 ステップS94では、カウント値Yに1を加算してカウント値Y記憶用メモリM12に上書きし、ステップS95でメモリM16から小切れ1aのY方向の画素数を読込む。
 続いて、ステップS96でカウント値Yが小切れ1aのY方向の画素数以下であれば(NO)、ステップS74に戻り、カウント値Yが小切れ1aのY方向の画素数よりも大きくなったら(YES)、後述するステップS97に移行する。
 ステップS97では、カウント値Y記憶用メモリM12に1を上書きし、続いて、ステップS98でカウント値X記憶用メモリM13に1を上書きする。
 続いて、ステップS99でメモリM23からR用の最大の許容値を読込んでこれを大判印刷物のRの許容値記憶用メモリM29の(X,Y)のアドレス位置に上書きし、ステップS100でメモリM24からG用の最大の許容値を読込んでこれを大判印刷物のGの許容値記憶用メモリM30の(X,Y)のアドレス位置に上書きし、ステップS101でメモリM25からB用の最大の許容値を読込んでこれを大判印刷物のBの許容値記憶用メモリM31の(X,Y)のアドレス位置に上書きする。
 続いて、ステップS102でカウント値Xに1を加算してカウント値X記憶用メモリM13に上書きし、ステップS103でメモリM32から大判印刷物1のX方向の画素数を読込む。
 続いて、ステップS104でカウント値Xが大判印刷物1のX方向の画素数以下であれば(NO)、ステップS99に戻り、カウント値Xが大判印刷物1のX方向の画素数よりも大きくなったら(YES)、ステップS105に移行する。
 ステップS105では、カウント値Yに1を加算してカウント値Y記憶用メモリM12に上書きし、続いて、ステップS106でメモリM33から大判印刷物1のY方向の画素数を読込む。
 続いて、ステップS107でカウント値Yが大判印刷物1のY方向の画素数以下であれば(NO)、ステップS98に戻り、カウント値Yが大判印刷物1のY方向の画素数よりも大きくなったら(YES)、ステップS108に移行する。
 ステップS108では、カウント値N記憶用メモリM34に1を上書きし、続いて、ステップS109でカウント値M記憶用メモリM35に1を上書きする。
 続いて、ステップS110で大判印刷物内の各小切れの左下端位置記憶用メモリM36のN行M列目の小切れ1aのX方向のアドレス位置からN行M列目の小切れ1aの左下端のX方向の位置を読込み、ステップS111で大判印刷物内の各小切れの左下端位置記憶用メモリM36のN行M列目の小切れ1aのY方向のアドレス位置からN行M列目の小切れ1aの左下端のY方向の位置を読込む。
 続いて、ステップS112でカウント値Y記憶用メモリM12に1を上書きし、ステップS113でカウント値X記憶用メモリM13に1を上書きする。
 続いて、ステップS114で小切れのRの許容値記憶用メモリM26の(X,Y)のアドレス位置より小切れ1aの(X,Y)の位置のRの許容値を読込んでこれを大判印刷物のRの許容値記憶用メモリM29の(N行M列目の小切れの左下端のX方向の位置+カウント値X-1、N行M列目の小切れの左下端のY方向の位置+カウント値Y-1)のアドレス位置に上書きする。
 続いて、ステップS115で小切れのGの許容値記憶用メモリM27の(X,Y)のアドレス位置より小切れ1aの(X,Y)の位置のGの許容値を読込んでこれを大判印刷物のGの許容値記憶用メモリM30の(N行M列目の小切れの左下端のX方向の位置+カウント値X-1、N行M列目の小切れの左下端のY方向の位置+カウント値Y-1)のアドレス位置に上書きする。
 続いて、ステップS116で小切れのBの許容値記憶用メモリM28の(X,Y)のアドレス位置より小切れ1aの(X,Y)の位置のBの許容値を読込んでこれを大判印刷物のBの許容値記憶用メモリM31の(N行M列目の小切れの左下端のX方向の位置+カウント値X-1、N行M列目の小切れの左下端のY方向の位置+カウント値Y-1)のアドレス位置に上書きする。
 ステップS116に続いては、ステップS117でカウント値Xに1を加算してカウント値X記憶用メモリM13に上書きし、ステップS118でメモリM15から小切れ1aのX方向の画素数を読込む。
 続いて、ステップS119でカウント値Xが小切れ1aのX方向の画素数以下であれば(NO)、ステップS114に戻り、カウント値Xが小切れ1aのX方向の画素数よりも大きくなったら(YES)、ステップS120に移行する。
 ステップS120では、カウント値Yに1を加算してカウント値Y記憶用メモリM12に上書きし、続いて、ステップS121でメモリM16から小切れ1aのY方向の画素数を読込む。
 続いて、ステップS122でカウント値Yが小切れ1aのY方向の画素数以下であれば(NO)、ステップS113に戻り、カウント値Yが小切れ1aのY方向の画素数よりも大きくなったら(YES)、ステップS123に移行する。
 ステップS123では、カウント値Mに1を加算してカウント値M記憶用メモリM35に上書きし、続いて、ステップS124でメモリM37から大判印刷物1内の小切れ1aの行数を読込む。
 続いて、ステップS125で、カウント値Mが大判印刷物1内の小切れ1aの行数以下であれば(NO)、ステップS110に戻り、カウント値Mが大判印刷物1内の小切れ1aの行数よりも大きくなったら(YES)、ステップS126に移行する。
 ステップS126では、カウント値Nに1を加算してカウント値N記憶用メモリM34に上書きし、続いて、ステップS127でメモリM38から大判印刷物1内の小切れ1aの列数を読込む。
 続いて、ステップS128でカウント値Nが大判印刷物1内の小切れ1aの列数以下であれば(NO)、ステップS109に戻り、カウント値Nが大判印刷物1内の小切れ1aの列数よりも大きくなったら(YES)、ステップS129に移行する。
 ステップS129では、基準画像データ読込みスイッチ30がONとなっているか否かを判定し、基準画像データ読込みスイッチ30がOFFとなっていれば(NO)、ステップS129の処理を繰り返し、基準画像データ読込みスイッチ30がONとなったら(YES)、ステップS130に移行する。
 ステップS130では、メモリM39から撮像回転位相を読込み、続いて、ステップS131で証券印刷機の回転位相検出用カウンタ36からカウント値を読込んでこれをメモリM40に記憶する。
 続いて、ステップS132で証券印刷機の回転位相検出用カウンタ36のカウント値が撮像回転位相と一致しなければ(NO)、ステップS131に戻り、証券印刷機の回転位相検出用カウンタ36のカウント値が撮像回転位相と一致したら(YES)、ステップS133で入出力装置18からカメラ34に撮像指令を出力し、ステップS134で入出力装置18からカメラ34に画像データ送信指令を出力する。
 続いて、ステップS135でカメラ34から入出力装置17へ撮像データが出力されたか否かを判定し、撮像データが出力されていなければ(NO)、ステップS135の処理を繰り返し、撮像データが出力されたら(YES)、ステップS136でカウント値Y記憶用メモリM12に1を上書きし、ステップS137でカウント値X記憶用メモリM13に1を上書きする。
 ステップS137に続いては、ステップS138でカメラ34からRの画素データを読込んでこれをRの基準画像データ記憶用メモリM41の(X,Y)のアドレス位置に記憶し、ステップS139でカメラ34からGの画素データを読込んでこれをGの基準画像データ記憶用メモリM42の(X,Y)のアドレス位置に記憶し、ステップS140でカメラ34からBの画素データを読込んでこれをBの基準画像データ記憶用メモリM43の(X,Y)のアドレス位置に記憶する。
 続いて、ステップS141でカウント値Xに1を加算してカウント値X記憶用メモリM13に上書きし、ステップS142でメモリM44からカメラ34のX方向の画素数を読込む。
 続いて、ステップS143でカウント値Xがカメラ34のX方向の画素数以下であれば(NO)、ステップS138に戻り、カウント値Xがカメラ34のX方向の画素数よりも大きくなったら(YES)、ステップS144でカウント値Yに1を加算してカウント値Y記憶用メモリM12に上書きし、ステップS145でメモリM45からカメラ34のY方向の画素数を読込む。
 続いて、ステップS146でカウント値Yがカメラ34のY方向の画素数以下であれば(NO)、ステップS137に戻り、カウント値Yがカメラ34のY方向の画素数よりも大きくなったら(YES)、ステップS147に移行する。
 ステップS147では、検査開始スイッチ31がONとなっているか否かを判定し、検査開始スイッチ31がOFFとなっていれば(NO)、ステップS147の処理を繰り返し、検査開始スイッチ31がONとなったら(YES)、ステップS148に移行する。
 ステップS148では、検査終了スイッチ32がONとなったか否かを判定し、検査終了スイッチ32がOFFであれば(NO)、ステップS149に移行し、検査終了スイッチ32がONとなったら(YES)、印刷品質検査部10による処理を終了する。
 ステップS149では、メモリM39から撮像回転位相を読込み、続いて、ステップS150で証券印刷機の回転位相検出用カウンタ36からカウント値を読込んでこれをメモリM40に記憶する。
 続いて、ステップS151で証券印刷機の回転位相検出用カウンタ36のカウント値が撮像回転位相と一致しなければ(NO)、ステップS150に戻り、証券印刷機の回転位相検出用カウンタ36のカウント値が撮像回転位相と一致したら(YES)、ステップS152で入出力装置18からカメラ34に撮像指令を出力し、ステップS153で入出力装置18からカメラ34に画像データ送信指令を出力する。
 続いて、ステップS154でカメラ34から入出力装置17へ撮像データが出力されているか否かを判定し、撮像データが出力されていなければ(NO)、ステップS154の処理を繰り返し、撮像データが出力されたら(YES)、ステップS155でカウント値Y記憶用メモリM12に1を上書きし、ステップS156でカウント値X記憶用メモリM13に1を上書きする。
 ステップS156に続いては、ステップS157でカメラ34からRの画素データを読込んでこれをRの検査画像データ記憶用メモリM46の(X,Y)のアドレス位置に記憶し、ステップS158でカメラ34からGの画素データを読込んでこれをGの検査画像データ記憶用メモリM47の(X,Y)のアドレス位置に記憶し、ステップS159でカメラ34からBの画素データを読込んでこれをBの検査画像データ記憶用メモリM48の(X,Y)のアドレス位置に記憶する。
 続いて、ステップS160でカウント値Xに1を加算してカウント値X記憶用メモリM13に上書きし、ステップS161でメモリM44からカメラ34のX方向の画素数を読込む。
 続いて、ステップS162でカウント値Xがカメラ34のX方向の画素数以下であれば(NO)、ステップS157に戻り、カウント値Xがカメラ34のX方向の画素数よりも大きくなったら(YES)、ステップS163でカウント値Yに1を加算してカウント値Y記憶用メモリM12に上書きし、S164でメモリM45からカメラ34のY方向の画素数を読込む。
 続いて、ステップS165でカウント値Yがカメラ34のY方向の画素数以下であれば(NO)、ステップS156に戻り、カウント値Yがカメラ34のY方向の画素数よりも大きくなったら(YES)、ステップS166に移行する。
 ステップS166では、カウント値Y記憶用メモリM12に1を上書きし、続いて、ステップS167でカウント値X記憶用メモリM13に1を上書きし、ステップS168でメモリM49から(カメラの)X方向の無効画素数を読込み、ステップS169でメモリM50から(カメラの)Y方向の無効画素数を読込む。なお、本実施の形態において無効画素とは、カメラ34によって撮像した画像データにおいて大判印刷物1が撮像されている部分以外の領域22c(図12に斜線を付して示す領域)に対応する部分の画素である。
 続いて、ステップS170でRの検査画像データ記憶用メモリM46の(X方向の無効画素数+カウント値X,Y方向の無効画素数+カウント値Y)のアドレス位置から(X方向の無効画素数+カウント値X,Y方向の無効画素数+カウント値Y)のアドレス位置の画素のRの検査データを読込む。
 続いて、ステップS171でRの基準画像データ記憶用メモリM41の(X方向の無効画素数+カウント値X,Y方向の無効画素数+カウント値Y)のアドレス位置から(X方向の無効画素数+カウント値X,Y方向の無効画素数+カウント値Y)のアドレス位置の画素のRの基準データを読込む。
 続いて、ステップS172で(X方向の無効画素数+カウント値X,Y方向の無効画素数+カウント値Y)のアドレス位置の画素のRの検査データから(X方向の無効画素数+カウント値X,Y方向の無効画素数+カウント値Y)のアドレス位置の画素のRの基準データを減算してRの(X,Y)のアドレス位置の画素データの差を演算してこれをメモリM51に記憶する。
 ステップS172に続いては、ステップS173でRの(X,Y)のアドレス位置の画素データの差からRの(X,Y)のアドレス位置の画素データの差の絶対値を演算してこれをメモリM52に記憶し、ステップS174で大判印刷物のRの許容値記憶用メモリM29の(X,Y)のアドレス位置からRの(X,Y)のアドレス位置の画素データの許容値を読込む。
 続いて、ステップS175でRの(X,Y)のアドレス位置の画素データの差の絶対値がRの(X,Y)のアドレス位置の画素データの許容値よりも大きければ(NO)、ステップS217に移行して表示器22にエラーを表示して検査を終了し、Rの(X,Y)のアドレス位置の画素データの差の絶対値がRの(X,Y)のアドレス位置の画素データの許容値以下であれば(YES)、ステップS176に移行する。
 ステップS176では、Gの検査画像データ記憶用メモリM47の(X方向の無効画素数+カウント値X,Y方向の無効画素数+カウント値Y)のアドレス位置から(X方向の無効画素数+カウント値X,Y方向の無効画素数+カウント値Y)のアドレス位置の画素のGの検査データを読込む。
 続いて、ステップS177でGの基準画像データ記憶用メモリM42の(X方向の無効画素数+カウント値X,Y方向の無効画素数+カウント値Y)のアドレス位置から(X方向の無効画素数+カウント値X,Y方向の無効画素数+カウント値Y)のアドレス位置の画素のGの基準データを読込む。
 続いて、ステップS178で(X方向の無効画素数+カウント値X,Y方向の無効画素数+カウント値Y)のアドレス位置の画素のGの検査データから(X方向の無効画素数+カウント値X,Y方向の無効画素数+カウント値Y)のアドレス位置の画素のGの基準データを減算してGの(X,Y)のアドレス位置の画素データの差を演算してこれをメモリM53に記憶する。
 続いて、ステップS179でGの(X,Y)のアドレス位置の画素データの差からGの(X,Y)のアドレス位置の画素データの差の絶対値を演算してこれをメモリM54に記憶し、ステップS180で大判印刷物のGの許容値記憶用メモリM30の(X,Y)のアドレス位置からGの(X,Y)のアドレス位置の画素データの許容値を読込む。
 続いて、ステップS181でGの(X,Y)のアドレス位置の画素データの差の絶対値がGの(X,Y)のアドレス位置の画素データの許容値よりも大きければ(NO)、上述したステップS217に移行して表示器22にエラーを表示して検査を終了し、Gの(X,Y)のアドレス位置の画素データの差の絶対値がGの(X,Y)のアドレス位置の画素データの許容値以下であれば(YES)、ステップS182に移行する。
 ステップS182では、Bの検査画像データ記憶用メモリM48の(X方向の無効画素数+カウント値X,Y方向の無効画素数+カウント値Y)のアドレス位置から(X方向の無効画素数+カウント値X,Y方向の無効画素数+カウント値Y)のアドレス位置の画素のBの検査データを読込む。
 続いて、ステップS183でBの基準画像データ記憶用メモリM43の(X方向の無効画素数+カウント値X,Y方向の無効画素数+カウント値Y)のアドレス位置から(X方向の無効画素数+カウント値X,Y方向の無効画素数+カウント値Y)のアドレス位置の画素のBの基準データを読込む。
 続いて、ステップS184で(X方向の無効画素数+カウント値X,Y方向の無効画素数+カウント値Y)のアドレス位置の画素のBの検査データから(X方向の無効画素数+カウント値X,Y方向の無効画素数+カウント値Y)のアドレス位置の画素のBの基準データを減算し、Bの(X,Y)のアドレス位置の画素データの差を演算してこれをメモリM55に記憶する。
 続いて、ステップS185でBの(X,Y)のアドレス位置の画素データの差からBの(X,Y)のアドレス位置の画素データの差の絶対値を演算してこれをメモリM56に記憶し、ステップS186で大判印刷物のBの許容値記憶用メモリM31の(X,Y)のアドレス位置からBの(X,Y)のアドレス位置の画素データの許容値を読込む。
 続いて、ステップS187でBの(X,Y)のアドレス位置の画素データの差の絶対値がBの(X,Y)のアドレス位置の画素データの許容値よりも大きければ(NO)、上述したステップS217に移行して表示器22にエラーを表示して検査を終了し、Bの(X,Y)のアドレス位置の画素データの差の絶対値がBの(X,Y)のアドレス位置の画素データの許容値以下であれば(YES)、ステップS188に移行する。
 ステップS188では、カウント値Xに1を加算してカウント値X記憶用メモリM13に上書きし、続いて、ステップS189でメモリM32から大判印刷物のX方向の画素数を読込む。
 続いて、ステップS190でカウント値Xが大判印刷物のX方向の画素数以下であれば(NO)、ステップS168に戻り、カウント値Xが大判印刷物のX方向の画素数よりも大きくなったら(YES)、ステップS191に移行する。
 ステップS191では、カウント値Yに1を加算してカウント値Y記憶用メモリM12に上書きし、ステップS192でメモリM33から大判印刷物のY方向の画素数を読込む。
 続いて、ステップS193でカウント値Yが大判印刷物のY方向の画素数以下であれば(NO)、ステップS167に戻り、カウント値Yが大判印刷物のY方向の画素数よりも大きくなったら(YES)上述したステップS148に戻る。
 以上に説明した本実施の形態に係る印刷品質検査装置及び印刷品質検査方法では、モーションスレッド範囲Aについてはカメラ34により撮像したR、G、Bの画像データのうちモーションスレッド1bの色と同系統の色の画像データのみを用いて印刷品質の検査を行う一方、モーションスレッド範囲A以外の部分についてはRGB全ての画像データを用いて印刷品質の検査を行うようにした。
 ここで、図11Aにモーションスレッド1bの色と同系統の色の画像データの例、図11B及び図11Cにモーションスレッド1bの色とは異なる系統の色の画像データの例を示す。
 図11B及び図11Cに示すように、モーションスレッド1bの色とは異なる系統の色の画像データではモーションスレッド1bが濃色で現れるため、許容値を通常の値とした場合は少しの角度変化でモーションスレッド1bの絵柄が変化するとNGと判断される可能性がある。そのため、モーションスレッド1bの色とは異なる系統の色の画像データにより検査を行う場合は、モーションスレッド範囲AについてはOK/NGの判断に用いる許容値を最大として実質的に検査を行わないようにする。
 これに対し、図11Aに示すように、モーションスレッド1bの色と同系統の色の画像データではモーションスレッド1bが無色化されるか又は淡色で現れるため、通常の許容値を用いた検査において実質的にモーションスレッド1bを無視することができる。そのため、モーションスレッド1bの色と同系統の色の画像データにより検査を行う場合は、モーションスレッド範囲AについてもOK/NGの判断に用いる許容値を通常の値として、従来通りの検査を実施するようにしている。
 これにより、本実施の形態では、モーションスレッド1bの絵柄の変化が印刷品質の検査に影響を及ぼすことを防止し、モーションスレッド1bの絵柄に影響されることなく印刷品質の検査を行うことが可能となり、モーションスレッド1bが設けられた大判印刷物1に施した印刷の品質を高精度に検査することができる。
〔第2の実施の形態〕
 以下、図1および図10から図21Dを用いて本発明の第2の実施の形態に係る印刷品質検査装置について説明する。
 本実施の形態は、上述した第1の実施の形態に比較して、カメラおよび照明器の構成と、印刷品質検査部10の構成および当該印刷品質検査部10における処理が異なる。その他の構造は第1の実施の形態で説明したものと概ね同様であり、以下、図1~図12に示し上述した部材と同様の作用を奏する部材には同一の符号を付し、重複する説明は適宜省略する。
 図13に示すように、本実施の形態において、コーティング部4のコータ胴7に対向する圧胴8の、コータ胴7よりも搬送方向下流側には、圧胴8に保持されている大判印刷物1を単色で撮像するモノクロカメラ34Aと、モノクロカメラ34Aによって撮像される領域に対してそれぞれ赤色,緑色,青色の光を照射するRの照明器(例えば、Red LED)35A,Gの照明器(例えば、Green LED)35B,Bの照明器(例えば、Blue LED)35Cとが配設されている。照明器35A,35B,35Cは、モノクロカメラ34Aの光軸に対し、搬送方向上流側と下流側とに設けられている。
 さらに、圧胴8のコータ胴7よりも搬送方向下流側であってモノクロカメラ34Aよりも搬送方向上流側には、圧胴8に保持されている大判印刷物1をRGB(赤(Red),緑(Green),及び青(Blue))で撮像するカラーカメラ34Bと、カラーカメラ34Bによって撮像される領域に対して可視光を照射する複数の可視光照明器(例えば、白色LED)35Dとが配設されている。可視光照明器35Dは、カラーカメラ34Bの光軸に対し、搬送方向上流側と下流側とに設けられている。
 なお、照明器35A,35B及び35Cと、可視光照明器35Dとの間には、相互に外乱光の影響を防止するための遮光板38が配設されている。
 また、モノクロカメラ34A及びカラーカメラ34Bによって撮像された画像は、それぞれ図14Aから図14Eに示す印刷品質検査部10に送信される。
 図14Aから図14Eに示すように、印刷品質検査部10は、CPU11と、ROM12と、RAM13と、各入出力装置14~20とがBUS線で接続されて構成されている。
 BUS線には、モーションスレッドの色記憶用メモリM11、カウント値Y記憶用メモリM12、カウント値X記憶用メモリM13、小切れの画素データ記憶用メモリM14、小切れのX方向の画素数記憶用メモリM15、小切れのY方向の画素数記憶用メモリM16、ポインタ位置記憶用メモリM17が接続されている。
 また、BUS線には、マウスがドラッグされた距離記憶用メモリM18、選択範囲の終端位置記憶用メモリM19、R用の通常の許容値記憶用メモリM20、G用の通常の許容値記憶用メモリM21、B用の通常の許容値記憶用メモリM22、R用の最大の許容値記憶用メモリM23、G用の最大の許容値記憶用メモリM24、B用の最大の許容値記憶用メモリM25、小切れのRの許容値記憶用メモリM26、小切れのGの許容値記憶用メモリM27、小切れのBの許容値記憶用メモリM28が接続されている。
 また、BUS線には、大判印刷物のRの許容値記憶用メモリM29、大判印刷物のGの許容値記憶用メモリM30、大判印刷物のBの許容値記憶用メモリM31、大判印刷物のX方向の画素数記憶用メモリM32、大判印刷物のY方向の画素数記憶用メモリM33、カウント値N記憶用メモリM34、カウント値M記憶用メモリM35、大判印刷物内の各小切れの左下端位置記憶用メモリM36、大判印刷物内の小切れの行数記憶用メモリM37、大判印刷物内の小切れの列数記憶用メモリM38が接続されている。
 また、BUS線には、大判印刷物のモノクロカメラの許容値記憶用メモリM139、カラーカメラの撮像回転位相記憶用メモリM140、証券印刷機の回転位相検出用カウンタのカウント値記憶用メモリM141、Rの基準画像データ記憶用メモリM142、Gの基準画像データ記憶用メモリM143、Bの基準画像データ記憶用メモリM144、カラーカメラのX方向の画素数記憶用メモリM145、カラーカメラのY方向の画素数記憶用メモリM146が接続されている。
 また、BUS線には、モノクロカメラの撮像回転位相記憶用メモリM147、モノクロカメラの基準画像データ記憶用メモリM148、モノクロカメラのX方向の画素数記憶用メモリM149、モノクロカメラのY方向の画素数記憶用メモリM150、Rの検査画像データ記憶用メモリM151、Gの検査画像データ記憶用メモリM152、Bの検査画像データ記憶用メモリM153が接続されている。
 また、BUS線には、カラーカメラのX方向の無効画素数記憶用メモリM154、カラーカメラのY方向の無効画素数記憶用メモリM155、Rの(X,Y)のアドレス位置の画素データの差記憶用メモリM156、Rの(X,Y)のアドレス位置の画素データの差の絶対値記憶用メモリM157、Gの(X,Y)のアドレス位置の画素データの差記憶用メモリM158、Gの(X,Y)のアドレス位置の画素データの差の絶対値記憶用メモリM159、Bの(X,Y)のアドレス位置の画素データの差記憶用メモリM160、Bの(X,Y)のアドレス位置の画素データの差の絶対値記憶用メモリM161が接続されている。
 また、BUS線には、モノクロカメラの検査画像データ記憶用メモリM162、モノクロカメラのX方向の無効画素数記憶用メモリM163、モノクロカメラのY方向の無効画素数記憶用メモリM164、モノクロカメラの(X,Y)のアドレス位置の画素データの差記憶用メモリM165、モノクロカメラの(X,Y)のアドレス位置の画素データの差の絶対値記憶用メモリM166が接続されている。
 さらに、入出力装置14には、キーボードや各種スイッチ及びボタン等の入力装置21、CRTやランプ等の表示器22、プリンタ等の出力装置23、及び、CDドライブ24が接続されている。なお、本実施の形態において小切れ画像表示部22aは、CDドライブ24から読込んだ小切れの画像やモノクロカメラ34A及びカラーカメラ34Bで撮像した小切れの画像を表示し、大判印刷物表示部22bはモノクロカメラ34A及びカラーカメラ34Bで撮像した大判印刷物1の画像を表示する。
 また、入出力装置15には、Rのボタン25、Gのボタン26、Bのボタン27、モーションスレッドの色設定完了スイッチ28、選択範囲確定スイッチ29、基準画像データ読込みスイッチ30、検査開始スイッチ31、検査終了スイッチ32が接続されている。
 Rのボタン25,Gのボタン26,Bのボタン27はそれぞれモーションスレッド1bの色の系統(赤系,緑系,青系)を設定するためのボタンである。すなわち、モーションスレッド1bの色が赤系であればRのボタン25、緑系であればGのボタン26、青系であればBのボタン27をONにし、いずれか一つのボタンをONにすると、これに連動して他の二つのボタンがOFFとなる。
 モーションスレッドの色設定完了スイッチ28は、Rのボタン25,Gのボタン26またはBのボタン27の操作によるモーションスレッド1bの色の設定が完了したことを入力するスイッチである。選択範囲確定スイッチ29は、後述するモーションスレッド範囲Aが確定したことを入力するスイッチである。基準画像データ読込みスイッチ30は、後述する基準画像データの読み込みの開始を入力するスイッチである。検査開始スイッチ31,検査終了スイッチ32は印刷品質の検査の開始,終了を入力するスイッチである。
 入力装置16には、マウス33が接続されている。
 また、入出力装置17-A,18-Aには、モノクロカメラ34Aが接続されている。モノクロカメラ34Aには、入出力装置18-Aから撮像指令及び画像データ送信指令が入力され、モノクロカメラ34Aで撮像した撮像データは入出力装置17-Aへ出力される。
 また、入出力装置17-B,18-Bには、カラーカメラ34Bが接続されている。カラーカメラ34Bには、入出力装置18-Bから撮像指令及び画像データ送信指令が入力され、カラーカメラ34Bで撮像した撮像データは入出力装置17-Bへ出力される。
 また、入出力装置20には、Rの照明器35A、Gの照明器35B、Bの照明器35C、可視光照明器35Dが接続されている。
 また、入出力装置19には、証券印刷機の回転位相検出用カウンタ36が接続され、この証券印刷機の回転位相検出用カウンタ36が証券印刷機駆動モータ用ロータリ・エンコーダ37に接続されている。ここで、証券印刷機駆動モータ用ロータリ・エンコーダ37は、例えば図示しない証券印刷機駆動モータの出力軸の後端部分に直接取り付けられ、印刷ユニット3A~3Fが1枚の大判印刷物1に印刷する毎に1回転し、1回転する毎にゼロ・パルスを1回出力して証券印刷機の回転位相検出用カウンタ36をリセットすると共に、証券印刷機駆動モータが所定角度回転する毎に、証券印刷機の回転位相検出用カウンタ36にクロック・パルスを出力するようになっている。
 以下、図15A~図15C,図16A~図16E,図17A~図17I,図18A~図18I,図19A~図19G,図20A~図20D,図21A~図21Dに示す動作フローにしたがって、印刷品質検査部10による処理の詳細を説明する。
 なお、本実施の形態における印刷品質検査部10による処理について簡単に説明すると、印刷品質検査部10ではまず、第一の工程で、図10に示すような小切れ1aに施されているモーションスレッド1bの色(レンチキュラの下の絵柄の色)の系統を入力する(ステップT1~ステップT3,ステップT279~ステップT282)。本実施の形態では、モーションスレッド1bの色が赤系統であれば1(R)、緑系統であれば2(G)、青系統であれば3(B)を入力する。
 次に、第二の工程で、予め取得しておいた正常に印刷された小切れ1aの画像を入力してこれを記憶し、表示器22に表示する(ステップT4~ステップT21)。
 次に、第三の工程で、第二の工程で表示器22に表示された小切れ1aの画像上で、マウス33によるクリック&ドラッグを用いてモーションスレッド1bを囲む範囲(図10に破線で囲んで示す範囲。以下、モーションスレッド範囲と称する)Aを指定し、モーションスレッド範囲Aを示すしるし(ライン)を表示器22に表示する(ステップT22~ステップT72)。これにより、モーションスレッド範囲Aの外周縁を示すラインが表示される。
 次に、第四の工程で、第一の工程で入力されたモーションスレッド1bの色及び第三の工程で小切れ1aに対して指定されたモーションスレッド範囲Aを用いて、小切れ1a内の各画素のRGB毎の印刷品質検査に係る許容値(印刷の正常(OK)/異常(NG)を判断する許容値)を設定する(ステップT73~ステップT96,ステップT283~ステップT301)。
 本実施の形態では、印刷品質を検査するためのR,G,B用の許容値を、モーションスレッド範囲A内についてはモーションスレッド1bの色と同系統の色であれば通常の値とする一方、モーションスレッド1bの色と異なる系統の色であれば最大の値として実質的に検査を行わないようにするとともに、モーションスレッド範囲A以外の部分については、R,G,B用の許容値を通常の値として従来通りの検査を実施するようにしている。
 次に、第五の工程で、第四の工程で設定された小切れ1a内の各画素のRGB毎の印刷品質検査に係る許容値を大判印刷物1内の各小切れ1aに展開し、大判印刷物1内の各画素のRGB毎の許容値を設定する(ステップT97~ステップT128)。なお、大判印刷物1内における各小切れ1aの配置は予め既知であるため、これを利用して各小切れ1a内のモーションスレッド範囲A及びモーションスレッド範囲A以外の範囲に対応する許容値を設定する。
 次に、第六の工程で、第四の工程で設定された小切れ1a内の各画素のRGB毎の印刷品質検査に係る許容値に基づき、モーションスレッド1bの色と同系統の色の場合の許容値を大判印刷物1内の各小切れ1aに展開し、大判印刷物1内の各画素のモノクロカメラ34Aの許容値として設定する。上述した通り大判印刷物1内における各小切れ1aの配置は予め既知であるため、これを利用して各小切れ1aに対応する許容値を設定する(ステップT129~ステップT158,ステップT302~ステップT358)。なお、大判印刷物1内の各画素のモノクロカメラ34Aの許容値を設定したら、作業者により基準画像データ読込みスイッチ30をONとする。
 次に、第七の工程で、証券印刷機100により印刷された大判印刷物1をカラーカメラ34B及びモノクロカメラ34Aで撮像し、正常に印刷された大判印刷物1の画像を基準画像として記憶する(ステップT159~ステップT194,ステップT359~ステップT361)。なお、基準画像を記憶し終えたら、作業者により検査開始スイッチ31をONとする。
 次に、第八の工程で、証券印刷機100で印刷された大判印刷物1をカラーカメラ34Bで撮像し、これを検査画像として記憶する(ステップT195~ステップT213)。
 第九の工程で、第八の工程でカラーカメラ34Bにより撮像した検査画像の各画素のモーションスレッド1bの色とは異なる系統の色の画像データと第七の工程で記憶した基準画像の対応する各画素のモーションスレッド1bの色とは異なる系統の色の画像データとを比較して検査画像と基準画像の各画素の色毎の差を求め、第十の工程で、第九の工程で求めた検査画像と基準画像の各画素の色毎の差と第五の工程で設定された大判印刷物1内の各画素の色毎の許容値を比較することによりOK/NGを判断する(ステップT214~ステップT247)。
 要するに、モーションスレッド1bの色と同系統の色の画像データについては、印刷品質の検査は行わない。
 また、第四の工程において、モーションスレッド範囲Aについてはモーションスレッド1bの色とは異なる系統の色の許容値を最大の値に設定しているため、カラーカメラ34Bにより撮像した画像は、モーションスレッド範囲A以外の部分についての検査にのみ用いられることとなる。
 次に、第十一の工程で、証券印刷機100で印刷された大判印刷物1をモノクロカメラ34Aで撮像し、検査画像として記憶する(ステップT248~ステップT262)。
 次に、第十二の工程で、第十一の工程でモノクロカメラ34Aにより撮像した検査画像の各画素の画像データと第七の工程で記憶したモノクロカメラ34Aにより撮像した基準画像の対応する各画素の画像データを比較して検査画像と基準画像の各画素の差を求め、第十三の工程で、第十二の工程で求めた検査画像と基準画像の各画素の差と第六の工程で設定された大判印刷物1内の各画素の許容値を比較し、OK/NGを判断する(ステップT263~ステップT278)。
 要するに、モノクロカメラ34Aにより撮像した画像は、カラーカメラ34Bにより撮像したモーションスレッド1bの色と同系統の色の画像データに代わり、印刷品質の検査に用いられる。
 上述した工程を以下に具体的に説明する。ステップT1でRのボタン25がONとなっていれば(YES)、ステップT2でモーションスレッドの色記憶用メモリM11に1(R)を上書きしてステップT3に移行し、Rのボタン25がOFFとなっていれば(NO)、ステップT279に移行する。ステップT279では、Gのボタン26がONとなっていれば(YES)、ステップT280でモーションスレッドの色記憶用メモリM11に2(G)を上書きしてステップT3に移行し、Gのボタン26がOFFとなっていれば(NO)、ステップT281に移行する。ステップT281では、Bのボタン27がONとなっていれば(YES)、ステップT282でモーションスレッドの色記憶用メモリM11に3(B)を上書きしてステップT3に移行し、BのボタンがOFFとなっていれば(NO)、ステップT3に移行する。
 ステップT3では、モーションスレッドの色設定完了スイッチ28がOFFとなっていれば(NO)、ステップT1に戻り、モーションスレッドの色設定完了スイッチ28がONとなったら(YES)、ステップT4に移行する。
 ステップT4では、カウント値Y記憶用メモリM12に1を上書きし、続いて、ステップT5でカウント値X記憶用メモリM13に1を上書きし、ステップT6でCDドライブ24から小切れ1aの(X,Y)のアドレス位置の画素データ(RGB)を読込んでこれを小切れの画素データ記憶用メモリM14の(X,Y)のアドレス位置に上書きする。
 続いて、ステップT7でカウント値Xに1を加算してこれをカウント値X記憶用メモリM13に上書きし、ステップT8でメモリM15から小切れ1aのX方向の画素数を読込み、ステップT9でカウント値Xが小切れ1aのX方向の画素数以下であれば(NO)、ステップT6に戻り、カウント値Xが小切れ1aのX方向の画素数よりも大きくなったら(YES)、ステップT10でカウント値Yに1を加算してこれをカウント値Y記憶用メモリM12に上書きする。
 ステップT10に続いては、ステップT11でメモリM16から小切れ1aのY方向の画素数を読込み、ステップT12でカウント値Yが小切れ1aのY方向の画素数以下であれば(NO)、ステップT5に戻り、カウント値Yが小切れ1aのY方向の画素数よりも大きくなったら(YES)、ステップT13に移行する。
 ステップT13では、カウント値Y記憶用メモリM12に1を上書きし、続いて、ステップT14でカウント値X記憶用メモリM13に1を上書きし、ステップT15で小切れの画素データ記憶用メモリM14の(X,Y)のアドレス位置から小切れ1aのアドレス(X,Y)位置の画素データ(RGB)を読込んで表示器22の小切れ画像表示部22aの(X,Y)のアドレス位置に表示する。続いて、ステップT16でカウント値Xに1を加算してカウント値X記憶用メモリM13に上書きし、ステップT17でメモリM15から小切れ1aのX方向の画素数を読込む。
 続いて、ステップT18でカウント値Xが小切れ1aのX方向の画素数以下であれば(NO)ステップT15に戻り、カウント値Xが小切れ1aのX方向の画素数よりも大きくなったら(YES)、ステップT19でカウント値Yに1を加算してカウント値Y記憶用メモリM12に上書きし、ステップT20でメモリM16から小切れ1aのY方向の画素数を読込む。
 続いて、ステップT21でカウント値Yが小切れ1aのY方向の画素数以下であれば(NO)、ステップT14に戻り、カウント値Yが小切れ1aのY方向の画素数よりも大きくなったら(YES)、ステップT22に移行する。
 ステップT22では、マウスポインタがONとなっているか否かを判定し、マウスポインタがOFFとなっていれば(NO)、ステップT22の処理を繰り返し、マウスポインタがONとなったら(YES)、ステップT23に移行する。
 ステップT23では、表示器22の小切れ画像表示部22a上のカーソル位置(Xk,Yk)を読込んでポインタ位置記憶用メモリM17に記憶する。続いて、ステップT24でマウス33からX方向及びY方向の移動距離(Xd,Yd)が送信されたか否かを判定し、マウス33からX方向及びY方向の移動距離(Xd,Yd)が送信されていなければ(NO)、ステップT24の処理を繰り返し、マウス33からX方向及びY方向の移動距離(Xd,Yd)が送信されたら(YES)、ステップT25に移行する。
 ステップT25では、マウス33からマウス33がドラッグされた距離(Xd,Yd)を受信してこれをメモリM18に記憶し、続いて、ステップT26でポインタ位置記憶用メモリM17のX方向のアドレス位置からX方向のポインタ位置Xkを読込む。
 続いて、ステップT27でマウス33がドラッグされた距離記憶用メモリM18のX方向のアドレス位置からマウス33がドラッグされたX方向の距離Xdを読込み、ステップT28でX方向のポインタ位置Xkにマウス33がドラッグされたX方向の距離Xdを加算し、選択範囲のX方向の終端位置Xeを演算して選択範囲の終端位置記憶用メモリM19のX方向のアドレス位置に記憶する。
 続いて、ステップT29でポインタ位置記憶用メモリM17のY方向のアドレス位置からY方向のポインタ位置Ykを読込み、ステップT30でマウスがドラッグされた距離記憶用メモリM18のY方向のアドレス位置からマウス33がドラッグされたY方向の距離Ydを読込む。
 続いて、ステップT31でY方向のポインタ位置Ykにマウス33がドラッグされたY方向の距離Ydを加算し、選択範囲のY方向の終端位置Yeを演算して選択範囲の終端位置記憶用メモリM19のY方向のアドレス位置に記憶する。
 ステップT31に続いては、ステップT32でポインタ位置記憶用メモリM17のX方向のアドレス位置からX方向のポインタ位置Xkを読込み、ステップT33でカウント値X記憶用メモリM13にX方向のポインタ位置Xkを上書きする。
 続いて、ステップT34でポインタ位置記憶用メモリM17のY方向のアドレス位置からY方向のポインタ位置Ykを読込み、ステップT35でカウント値Y記憶用メモリM12にY方向のポインタ位置Ykを上書きする。
 続いて、ステップT36でメモリM12からカウント値Yを読込み、ステップT37でメモリM13からカウント値Xを読込み、ステップT38で表示器22の小切れ画像表示部22aの(X,Y)位置に選択範囲を示すしるしを表示する。
 続いて、ステップT39でカウント値Xに1を加算してこれをカウント値X記憶用メモリM13に上書きし、ステップT40で選択範囲の終端位置記憶用メモリM19のX方向のアドレス位置から選択範囲のX方向の終端位置Xeを読込む。
 続いて、ステップT41でカウント値Xが選択範囲のX方向の終端位置Xe以下であれば(NO)、ステップT36に戻り、カウント値Xが選択範囲のX方向の終端位置Xeよりも大きくなったら(YES)、ステップT42に移行する。
 ステップT42では、ポインタ位置記憶用メモリM17のX方向のアドレス位置からX方向のポインタ位置Xkを読込み、続いて、ステップT43でカウント値X記憶用メモリM13にX方向のポインタ位置Xkを上書きする。
 続いて、ステップT44でポインタ位置記憶用メモリM17のY方向のアドレス位置からY方向のポインタ位置Ykを読込み、ステップT45でカウント値Y記憶用メモリM12にY方向のポインタ位置Ykを上書きする。
 続いて、ステップT46でメモリM12からカウント値Yを読込み、ステップT47でメモリM13からカウント値Xを読込み、ステップT48で表示器22の小切れ画像表示部22aの(X,Y)位置に選択範囲を示すしるしを表示する。
 続いて、ステップT49でカウント値Yに1を加算してカウント値Y記憶用メモリM12に上書きし、ステップT50で選択範囲の終端位置記憶用メモリM19のY方向のアドレス位置から選択範囲のY方向の終端位置Yeを読込む。
 続いて、ステップT51でカウント値Yが選択範囲のY方向の終端位置Ye以下であれば(NO)、ステップT46に戻り、カウント値Yが選択範囲のY方向の終端位置Yeよりも大きくなったら(YES)、ステップT52に移行する。
 ステップT52では、ポインタ位置記憶用メモリM17のX方向のアドレス位置からX方向のポインタ位置Xkを読込み、続いて、ステップT53でカウント値X記憶用メモリM13にX方向のポインタ位置Xkを上書きする。
 続いて、ステップT54で選択範囲の終端位置記憶用メモリM19のY方向のアドレス位置から選択範囲のY方向の終端位置Yeを読込み、ステップT55でカウント値Y記憶用メモリM12に選択範囲のY方向の終端位置Yeを上書きする。
 続いて、ステップT56でメモリM12からカウント値Yを読込み、ステップT57でメモリM13からカウント値Xを読込み、ステップT58で表示器22の小切れ画像表示部22aの(X,Y)位置に選択範囲を示すしるしを表示する。
 続いて、ステップT59でカウント値Xに1を加算してカウント値X記憶用メモリM13に上書きし、ステップT60で選択範囲の終端位置記憶用メモリM19のX方向のアドレス位置から選択範囲のX方向の終端位置Xeを読込む。
 続いて、ステップT61でカウント値Xが選択範囲のX方向の終端位置Xe以下であれば(NO)、ステップT56に戻り、カウント値Xが選択範囲のX方向の終端位置Xeよりも大きくなったら(YES)、ステップT62に移行する。
 ステップT62では、選択範囲の終端位置記憶用メモリM19のX方向のアドレス位置から選択範囲のX方向の終端位置Xeを読込み、続いて、ステップT63でカウント値X記憶用メモリM13に選択範囲のX方向の終端位置Xeを上書きする。
 続いて、ステップT64でポインタ位置記憶用メモリM17のY方向のアドレス位置からY方向のポインタ位置Ykを読込み、ステップT65でカウント値Y記憶用メモリM12にY方向のポインタ位置Ykを上書きする。
 続いて、ステップT66でメモリM12からカウント値Yを読込み、ステップT67でメモリM13からカウント値Xを読込み、ステップT68で表示器22の小切れ画像表示部22aの(X,Y)位置に選択範囲を示すしるしを表示する。
 続いて、ステップT69でカウント値Yに1を加算してカウント値Y記憶用メモリM12に上書きし、ステップT70で選択範囲の終端位置記憶用メモリM19のY方向のアドレス位置から選択範囲のY方向の終端位置Yeを読込む。
 続いて、ステップT71でカウント値Yが選択範囲のY方向の終端位置Ye以下であれば(NO)、ステップT66に戻り、カウント値Yが選択範囲のY方向の終端位置Yeよりも大きくなったら(YES)、ステップT72に移行する。
 ステップT72では、選択範囲確定スイッチ29がONとなっているか否かを判定し、選択範囲確定スイッチ29がONとなっていなければ(NO)、ステップT22に戻り、選択範囲確定スイッチ29がONとなったら(YES)、ステップT73に移行する。
 ステップT73では、カウント値Y記憶用メモリM12に1を上書きし、続いて、ステップT74でカウント値X記憶用メモリM13に1を上書きし、ステップT75でポインタ位置記憶用メモリM17のX方向のアドレス位置からX方向のポインタ位置Xkを読込む。
 続いて、ステップT76でカウント値XがX方向のポインタ位置Xkよりも小さければ(NO)、(X,Y)のアドレス位置がモーションスレッド範囲A以外の位置であると判断して後述するステップT296に移行し、カウント値XがX方向のポインタ位置Xk以上であれば(YES)、ステップT77で選択範囲の終端位置記憶用メモリM19のX方向のアドレス位置から選択範囲のX方向の終端位置Xeを読込み、ステップT78に移行する。
 ステップT78では、カウント値Xが選択範囲のX方向の終端位置Xeよりも大きければ(NO)、(X,Y)のアドレス位置がモーションスレッド範囲A以外の位置であると判断して後述するステップT296に移行し、カウント値Xが選択範囲のX方向の終端位置Xe以下であれば(YES)、ステップT79でポインタ位置記憶用メモリM17のY方向のアドレス位置からY方向のポインタ位置Ykを読込み、ステップT80に移行する。
 ステップT80では、カウント値YがY方向のポインタ位置Ykよりも小さければ(NO)、(X,Y)のアドレス位置がモーションスレッド範囲A以外の位置であると判断して後述するステップT296に移行し、カウント値YがY方向のポインタ位置Yk以上であれば(YES)、ステップT81で選択範囲の終端記憶用メモリM19のY方向のアドレス位置から選択範囲のY方向の終端位置Yeを読込み、ステップT82に移行する。
 ステップT82では、カウント値Yが選択範囲のY方向の終端位置Yeよりも大きければ(NO)、(X,Y)のアドレス位置がモーションスレッド範囲A以外の位置であると判断して後述するステップT296に移行し、カウント値Yが選択範囲のY方向の終端位置Ye以下であれば(YES)、(X,Y)のアドレス位置がモーションスレッド範囲A内の位置であると判断してステップT83でモーションスレッドの色記憶用メモリM11の値を読込む。
 ステップT83に続いては、ステップT84でモーションスレッドの色記憶用メモリM11の値が1(R)以外であれば(NO)、後述するステップT283に移行し、モーションスレッドの色記憶用メモリM11の値が1(R)であれば(YES)、ステップT85に移行する。
 ステップT85では、メモリM20からR用の通常の許容値を読込み、続いて、ステップT86で小切れのRの許容値記憶用メモリM26の(X,Y)のアドレス位置にR用の通常の許容値を上書きし、ステップT87でメモリM24からG用の最大の許容値を読込み、ステップT88で小切れのGの許容値記憶用メモリM27の(X,Y)のアドレス位置にG用の最大の許容値を上書きし、ステップT89でメモリM25からB用の最大の許容値を読込み、ステップT90で小切れのBの許容値記憶用メモリM28の(X,Y)のアドレス位置にB用の最大の許容値を上書きして、後述するステップT91に移行する。
 なお、本実施の形態において、通常の許容値とは印刷が正常に施されているか否かを判断するための許容値であり、最大の許容値とは印刷が正常に施されているか否かの判断を無効化するための許容値である。すなわち、モーションスレッドの色記憶用メモリM11の値が1(R)である場合には、モーションスレッド範囲AについてG,B用の許容値が最大に設定されるため、モーションスレッド1bのG,Bの画像データによる検査は実質的に行われないこととなる。
 また、上述したステップT84からステップT283に移行した場合は、ステップT283でモーションスレッドの色記憶用メモリM11の値が2(G)以外であれば(NO)、後述するステップT290に移行し、モーションスレッドの色記憶用メモリM11の値が2(G)であれば(YES)、ステップT284に移行する。
 ステップT284では、メモリM23からR用の最大の許容値を読込み、続いて、ステップT285で小切れのRの許容値記憶用メモリM26の(X,Y)のアドレス位置にR用の最大の許容値を上書きし、ステップT286でメモリM21からG用の通常の許容値を読込み、ステップT287で小切れのGの許容値記憶用メモリM27の(X,Y)のアドレス位置にG用の通常の許容値を上書きし、ステップT288でメモリM25からB用の最大の許容値を読込み、ステップT289で小切れのBの許容値記憶用メモリM28の(X,Y)のアドレス位置にB用の最大の許容値を上書きして、後述するステップT91に移行する。これにより、モーションスレッドの色記憶用メモリM11の値が2(G)である場合には、モーションスレッド範囲AについてはR,B用の許容値が最大に設定されることによりモーションスレッドのR,Bの画像データによる検査が無効化される。
 また、上述したステップT283からステップT290に移行した場合は、ステップT290でメモリM23からR用の最大の許容値を読込み、続いて、ステップT291で小切れのRの許容値記憶用メモリM26の(X,Y)のアドレス位置にR用の最大の許容値を上書きし、ステップT292でメモリM24からG用の最大の許容値を読込み、ステップT293で小切れのGの許容値記憶用メモリM27の(X,Y)のアドレス位置にG用の最大の許容値を上書きし、ステップT294でメモリM22からB用の通常の許容値を読込み、ステップT295で小切れのBの許容値記憶用メモリM28の(X,Y)のアドレス位置にB用の通常の許容値を上書きして、後述するステップT91に移行する。これにより、モーションスレッドの色記憶用メモリM11の値が3(B)である場合には、モーションスレッド範囲AについてはR,G用の許容値が最大に設定されることによりモーションスレッドのR,Gの画像データによる検査が無効化される。
 上述したステップT76,S78,S80,S82からステップT296に移行した場合は、ステップT296でメモリM20からR用の通常の許容値を読込み、ステップT297で小切れのRの許容値記憶用メモリM26の(X,Y)のアドレス位置にR用の通常の許容値を上書きし、ステップT298でメモリM21からG用の通常の許容値を読込み、ステップT299で小切れのGの許容値記憶用メモリM27の(X,Y)のアドレス位置にG用の通常の許容値を上書きし、ステップT300でメモリM22からB用の通常の許容値を読込み、ステップT301で小切れのBの許容値記憶用メモリM28の(X,Y)のアドレス位置にB用の通常の許容値を上書きして、後述するステップT91に移行する。これにより、モーションスレッド範囲A以外の部分についてはRGB全ての画像データによる検査の許容値が通常の値に設定される。
 ステップT91では、カウント値Xに1を加算してカウント値X記憶用メモリM13に上書きし、ステップT92でメモリM15から小切れ1aのX方向の画素数を読込む。
 続いて、ステップT93でカウント値Xが小切れ1aのX方向の画素数以下であれば(NO)、ステップT75に戻り、カウント値Xが小切れ1aのX方向の画素数よりも大きくなったら(YES)、ステップT94に移行する。
 ステップT94では、カウント値Yに1を加算してカウント値Y記憶用メモリM12に上書きし、ステップT95でメモリM16から小切れ1aのY方向の画素数を読込む。
 続いて、ステップT96でカウント値Yが小切れ1aのY方向の画素数以下であれば(NO)、ステップT74に戻り、カウント値Yが小切れ1aのY方向の画素数よりも大きくなったら(YES)、後述するステップT97に移行する。
 ステップT97では、カウント値Y記憶用メモリM12に1を上書きし、続いて、ステップT98でカウント値X記憶用メモリM13に1を上書きする。
 続いて、ステップT99でメモリM23からR用の最大の許容値を読込んでこれを大判印刷物のRの許容値記憶用メモリM29の(X,Y)のアドレス位置に上書きし、ステップT100でメモリM24からG用の最大の許容値を読込んでこれを大判印刷物のGの許容値記憶用メモリM30の(X,Y)のアドレス位置に上書きし、ステップT101でメモリM25からB用の最大の許容値を読込んでこれを大判印刷物のBの許容値記憶用メモリM31の(X,Y)のアドレス位置に上書きする。
 続いて、ステップT102でカウント値Xに1を加算してカウント値X記憶用メモリM13に上書きし、ステップT103でメモリM32から大判印刷物1のX方向の画素数を読込む。
 続いて、ステップT104でカウント値Xが大判印刷物1のX方向の画素数以下であれば(NO)、ステップT99に戻り、カウント値Xが大判印刷物1のX方向の画素数よりも大きくなったら(YES)、ステップT105に移行する。
 ステップT105では、カウント値Yに1を加算してカウント値Y記憶用メモリM12に上書きし、続いて、ステップT106でメモリM33から大判印刷物1のY方向の画素数を読込む。
 続いて、ステップT107でカウント値Yが大判印刷物1のY方向の画素数以下であれば(NO)、ステップT98に戻り、カウント値Yが大判印刷物1のY方向の画素数よりも大きくなったら(YES)、ステップT108に移行する。
 ステップT108では、カウント値N記憶用メモリM34に1を上書きし、続いて、ステップT109でカウント値M記憶用メモリM35に1を上書きする。
 続いて、ステップT110で大判印刷物内の各小切れの左下端位置記憶用メモリM36のN行M列目の小切れ1aのX方向のアドレス位置からN行M列目の小切れ1aの左下端のX方向の位置を読込み、ステップT111で大判印刷物内の各小切れの左下端位置記憶用メモリM36のN行M列目の小切れ1aのY方向のアドレス位置からN行M列目の小切れ1aの左下端のY方向の位置を読込む。
 続いて、ステップT112でカウント値Y記憶用メモリM12に1を上書きし、ステップT113でカウント値X記憶用メモリM13に1を上書きする。
 続いて、ステップT114で小切れのRの許容値記憶用メモリM26の(X,Y)のアドレス位置より小切れ1aの(X,Y)の位置のRの許容値を読込んでこれを大判印刷物のRの許容値記憶用メモリM29の(N行M列目の小切れの左下端のX方向の位置+カウント値X-1、N行M列目の小切れの左下端のY方向の位置+カウント値Y-1)のアドレス位置に上書きする。
 続いて、ステップT115で小切れのGの許容値記憶用メモリM27の(X,Y)のアドレス位置より小切れ1aの(X,Y)の位置のGの許容値を読込んでこれを大判印刷物のGの許容値記憶用メモリM30の(N行M列目の小切れの左下端のX方向の位置+カウント値X-1、N行M列目の小切れの左下端のY方向の位置+カウント値Y-1)のアドレス位置に上書きする。
 続いて、ステップT116で小切れのBの許容値記憶用メモリM28の(X,Y)のアドレス位置より小切れ1aの(X,Y)の位置のBの許容値を読込んでこれを大判印刷物のBの許容値記憶用メモリM31の(N行M列目の小切れの左下端のX方向の位置+カウント値X-1、N行M列目の小切れの左下端のY方向の位置+カウント値Y-1)のアドレス位置に上書きする。
 ステップT116に続いては、ステップT117でカウント値Xに1を加算してカウント値X記憶用メモリM13に上書きし、ステップT118でメモリM15から小切れ1aのX方向の画素数を読込む。
 続いて、ステップT119でカウント値Xが小切れ1aのX方向の画素数以下であれば(NO)、ステップT114に戻り、カウント値Xが小切れ1aのX方向の画素数よりも大きくなったら(YES)、ステップT120に移行する。
 ステップT120では、カウント値Yに1を加算してカウント値Y記憶用メモリM12に上書きし、続いて、ステップT121でメモリM16から小切れ1aのY方向の画素数を読込む。
 続いて、ステップT122でカウント値Yが小切れ1aのY方向の画素数以下であれば(NO)、ステップT113に戻り、カウント値Yが小切れ1aのY方向の画素数よりも大きくなったら(YES)、ステップT123に移行する。
 ステップT123では、カウント値Mに1を加算してカウント値M記憶用メモリM35に上書きし、続いて、ステップT124でメモリM37から大判印刷物1内の小切れ1aの行数を読込む。
 続いて、ステップT125で、カウント値Mが大判印刷物1内の小切れ1aの行数以下であれば(NO)、ステップT110に戻り、カウント値Mが大判印刷物1内の小切れ1aの行数よりも大きくなったら(YES)、ステップT126に移行する。
 ステップT126では、カウント値Nに1を加算してカウント値N記憶用メモリM34に上書きし、続いて、ステップT127でメモリM38から大判印刷物1内の小切れ1aの列数を読込む。
 続いて、ステップT128でカウント値Nが大判印刷物1内の小切れ1aの列数以下であれば(NO)、ステップT109に戻り、カウント値Nが大判印刷物1内の小切れ1aの列数よりも大きくなったら(YES)、ステップT129に移行する。
 ステップT129では、モーションスレッドの色記憶用メモリM11の値を読込み、続いて、ステップT130でモーションスレッドの色記憶用メモリM11の値が1(R)か否かを判定し、モーションスレッドの色記憶用メモリM11の値が1(R)であれば(YES)、ステップT131に移行し、モーションスレッドの色記憶用メモリM11の値が1(R)以外であれば(NO)、後述するステップT302に移行する。
 ステップT131では、カウント値Y記憶用メモリM12に1を上書きし、続いて、ステップT132でカウント値X記憶用メモリM13に1を上書きし、ステップT133でメモリM23からR用の最大の許容値を読込んでこれを大判印刷物のモノクロカメラの許容値記憶用メモリM139の(X,Y)のアドレス位置に上書きする。
 続いて、ステップT134でカウント値Xに1を加算してカウント値X記憶用メモリM13に上書きし、ステップT135でメモリM32から大判印刷物1のX方向の画素数を読込む。
 続いて、ステップT136でカウント値Xが大判印刷物1のX方向の画素数以下であれば(NO)、ステップT133に戻り、カウント値Xが大判印刷物1のX方向の画素数よりも大きくなったら(YES)、ステップT137でカウント値Yに1を加算してカウント値Y記憶用メモリM12に上書きし、ステップT138でメモリM33から大判印刷物1のY方向の画素数を読込む。
 続いて、ステップT139でカウント値Yが大判印刷物1のY方向の画素数以下であれば(NO)、ステップT132に戻り、カウント値Yが大判印刷物1のY方向の画素数よりも大きくなったら(YES)、ステップT140に移行する。
 ステップT140では、カウント値N記憶用メモリM34に1を上書きし、続いて、ステップT141でカウント値M記憶用メモリM35に1を上書きし、ステップT142で大判印刷物内の各小切れの左下端位置記憶用メモリM36のN行M列目の小切れ1aのX方向のアドレス位置からN行M列目の小切れ1aの左下端のX方向の位置を読込む。
 続いて、ステップT143で大判印刷物内の各小切れの左下端位置記憶用メモリM36のN行M列目の小切れ1aのY方向のアドレス位置からN行M列目の小切れ1aの左下端のY方向の位置を読込み、ステップT144でカウント値Y記憶用メモリM12に1を上書きし、ステップT145でカウント値X記憶用メモリM13に1を上書きする。
 続いて、ステップT146で小切れのRの許容値記憶用メモリM26の(X,Y)のアドレス位置から小切れ1aの(X,Y)の位置のRの許容値を読込んでこれを大判印刷物1のモノクロカメラの許容値記憶用メモリM139の(N行M列目の小切れの左下端のX方向の位置+カウント値X-1、N行M列目の小切れの左下端のY方向の位置+カウント値Y-1)のアドレス位置に上書きする。
 ステップT146に続いては、ステップT147でカウント値Xに1を加算してカウント値X記憶用メモリM13に上書きし、ステップT148でメモリM15から小切れ1aのX方向の画素数を読込む。
 続いて、ステップT149でカウント値Xが小切れ1aのX方向の画素数以下であれば(NO)、ステップT146に戻り、カウント値Xが小切れ1aのX方向の画素数よりも大きくなったら(YES)、ステップT150でカウント値Yに1を加算してカウント値Y記憶用メモリM12に上書きし、ステップT151でメモリM16から小切れ1aのY方向の画素数を読込む。
 続いて、ステップT152でカウント値Yが小切れ1aのY方向の画素数以下であれば(NO)、ステップT145に戻り、カウント値Yが小切れ1aのY方向の画素数よりも大きくなったら(YES)、ステップT153でカウント値Mに1を加算してカウント値M記憶用メモリM35に上書きし、ステップT154でメモリM37から大判印刷物1内の小切れ1aの行数を読込む。
 続いて、ステップT155でカウント値Mが大判印刷物1内の小切れ1aの行数以下であれば(NO)、ステップT142に戻り、カウント値Mが大判印刷物1内の小切れ1aの行数よりも大きくなったら(YES)、ステップT156でカウント値Nに1を加算してカウント値N記憶用メモリM34に上書きし、ステップT157でメモリM38から大判印刷物1内の小切れ1aの列数を読込む。
 続いて、ステップT158でカウント値Nが大判印刷物1内の小切れ1aの列数以下であれば(NO)、ステップT141に戻り、カウント値Nが大判印刷物1内の小切れ1aの列数よりも大きくなったら(YES)、後述するステップT159に移行する。
 また、ステップT130からステップT302に移行した場合は、ステップT302でモーションスレッドの色記憶用メモリM11の値が2(G)であるか否かを判定し、モーションスレッドの色記憶用メモリM11の値が2(G)であれば(YES)、ステップT303に移行し、モーションスレッドの色記憶用メモリM11の値が2(G)以外であれば(NO)、後述するステップT331に移行する。
 ステップT303では、カウント値Y記憶用メモリM12に1を上書きし、ステップT304でカウント値X記憶用メモリM13に1を上書きし、ステップT305でメモリM24からG用の最大の許容値を読込んでこれを大判印刷物のモノクロカメラの許容値記憶用メモリM139の(X,Y)のアドレス位置に上書きする。
 続いて、ステップT306でカウント値Xに1を加算してカウント値X記憶用メモリM13に上書きし、ステップT307でメモリM32から大判印刷物1のX方向の画素数を読込む。
 続いて、ステップT308でカウント値Xが大判印刷物1のX方向の画素数以下であれば(NO)、ステップT305に戻り、カウント値Xが大判印刷物1のX方向の画素数よりも大きくなったら(YES)、ステップT309でカウント値Yに1を加算してカウント値Y記憶用メモリM12に上書きし、ステップT310でメモリM33から大判印刷物1のY方向の画素数を読込む。
 続いて、ステップT311でカウント値Yが大判印刷物1のY方向の画素数以下であれば(NO)、ステップT304に戻り、カウント値Yが大判印刷物1のY方向の画素数よりも大きくなったら(YES)、ステップT312に移行する。
 ステップT312では、カウント値N記憶用メモリM34に1を上書きし、続いて、ステップT313でカウント値M記憶用メモリM35に1を上書きし、ステップT314で大判印刷物内の各小切れの左下端位置記憶用メモリM36のN行M列目の小切れ1aのX方向のアドレス位置からN行M列目の小切れ1aの左下端のX方向の位置を読込む。
 続いて、ステップT315で大判印刷物内の各小切れの左下端位置記憶用メモリM36のN行M列目の小切れ1aのY方向のアドレス位置からN行M列目の小切れ1aの左下端のY方向の位置を読込み、ステップT316でカウント値Y記憶用メモリM12に1を上書きし、ステップT317でカウント値X記憶用メモリM13に1を上書きする。
 続いて、ステップT318で小切れのGの許容値記憶用メモリM27の(X,Y)のアドレス位置から小切れ1aの(X,Y)の位置のGの許容値を読込んでこれを大判印刷物のモノクロカメラの許容値記憶用メモリM139の(N行M列目の小切れの左下端のX方向の位置+カウント値X-1、N行M列目の小切れの左下端のY方向の位置+カウント値Y-1)のアドレス位置に上書きする。
 ステップT318に続いては、ステップT319でカウント値Xに1を加算してカウント値X記憶用メモリM13に上書きし、ステップT320でメモリM15から小切れ1aのX方向の画素数を読込む。
 続いて、ステップT321でカウント値Xが小切れ1aのX方向の画素数以下であれば(NO)、ステップT318に戻り、カウント値Xが小切れ1aのX方向の画素数よりも大きくなったら(YES)、ステップT322でカウント値Yに1を加算してカウント値Y記憶用メモリM12に上書きし、ステップT323でメモリM16から小切れ1aのY方向の画素数を読込む。
 続いて、ステップT324でカウント値Yが小切れ1aのY方向の画素数以下であれば(NO)、ステップT317に戻り、カウント値Yが小切れ1aのY方向の画素数よりも大きくなったら(YES)、ステップT325でカウント値Mに1を加算してカウント値M記憶用メモリM35に上書きし、ステップT326でメモリM37から大判印刷物1内の小切れ1aの行数を読込む。
 続いて、ステップT327でカウント値Mが大判印刷物1内の小切れ1aの行数以下であれば(NO)、ステップT314に戻り、カウント値Mが大判印刷物1内の小切れ1aの行数よりも大きくなったら(YES)、ステップT328でカウント値Nに1を加算してカウント値N記憶用メモリM34に上書きし、ステップT329でメモリM38から大判印刷物1内の小切れ1aの列数を読込む。
 続いて、ステップT330でカウント値Nが大判印刷物1内の小切れ1aの列数以下であれば(NO)、ステップT313に戻り、カウント値Nが大判印刷物1内の小切れ1aの列数よりも大きくなったら(YES)、後述するステップT159に移行する。
 また、ステップT302からステップT331に移行した場合は、ステップT331でカウント値Y記憶用メモリM12に1を上書きし、ステップT332でカウント値X記憶用メモリM13に1を上書きし、ステップT333でメモリM25からB用の最大の許容値を読込んでこれを大判印刷物のモノクロカメラの許容値記憶用メモリM139の(X,Y)のアドレス位置に上書きする。
 続いて、ステップT334でカウント値Xに1を加算してカウント値X記憶用メモリM13に上書きし、ステップT335でメモリM32から大判印刷物1のX方向の画素数を読込む。
 続いて、ステップT336でカウント値Xが大判印刷物1のX方向の画素数以下であれば(NO)、ステップT333に戻り、カウント値Xが大判印刷物1のX方向の画素数よりも大きくなったら(YES)、ステップT337でカウント値Yに1を加算してカウント値Y記憶用メモリM12に上書きし、ステップT338でメモリM33から大判印刷物1のY方向の画素数を読込む。
 続いて、ステップT339でカウント値Yが大判印刷物1のY方向の画素数以下であれば(NO)、ステップT332に戻り、カウント値Yが大判印刷物1のY方向の画素数よりも大きくなったら(YES)、ステップT340に移行する。
 ステップT340では、カウント値N記憶用メモリM34に1を上書きし、続いて、ステップT341でカウント値M記憶用メモリM35に1を上書きし、ステップT342で大判印刷物内の各小切れの左下端位置記憶用メモリM36のN行M列目の小切れ1aのX方向のアドレス位置からN行M列目の小切れ1aの左下端のX方向の位置を読込む。
 続いて、ステップT343で大判印刷物内の各小切れの左下端位置記憶用メモリM36のN行M列目の小切れ1aのY方向のアドレス位置からN行M列目の小切れ1aの左下端のY方向の位置を読込み、ステップT344でカウント値Y記憶用メモリM12に1を上書きし、ステップT345でカウント値X記憶用メモリM13に1を上書きする。
 続いて、ステップT346で小切れのBの許容値記憶用メモリM28の(X,Y)のアドレス位置から小切れ1aの(X,Y)の位置のBの許容値を読込んでこれを大判印刷物のモノクロカメラの許容値記憶用メモリM139の(N行M列目の小切れの左下端のX方向の位置+カウント値X-1、N行M列目の小切れの左下端のY方向の位置+カウント値Y-1)のアドレス位置に上書きする。
 ステップT346に続いては、ステップT347でカウント値Xに1を加算してカウント値X記憶用メモリM13に上書きし、ステップT348でメモリM15から小切れ1aのX方向の画素数を読込む。
 続いて、ステップT349でカウント値Xが小切れ1aのX方向の画素数以下であれば(NO)、ステップT346に戻り、カウント値Xが小切れ1aのX方向の画素数よりも大きくなったら(YES)、ステップT350でカウント値Yに1を加算してカウント値Y記憶用メモリM12に上書きし、ステップT351でメモリM16から小切れ1aのY方向の画素数を読込む。
 続いて、ステップT352でカウント値Yが小切れ1aのY方向の画素数以下であれば(NO)、ステップT345に戻り、カウント値Yが小切れ1aのY方向の画素数よりも大きくなったら(YES)、ステップT353でカウント値Mに1を加算してカウント値M記憶用メモリM35に上書きし、ステップT354でメモリM37から大判印刷物1内の小切れ1aの行数を読込む。
 続いて、ステップT355でカウント値Mが大判印刷物1内の小切れ1aの行数以下であれば(NO)、ステップT342に戻り、カウント値Mが大判印刷物1内の小切れ1aの行数よりも大きくなったら(YES)、ステップT356でカウント値Nに1を加算してカウント値N記憶用メモリM34に上書きし、ステップT357でメモリM38から大判印刷物1内の小切れ1aの列数を読込む。
 続いて、ステップT358でカウント値Nが大判印刷物1内の小切れ1aの列数以下であれば(NO)、ステップT341に戻り、カウント値Nが大判印刷物1内の小切れ1aの列数よりも大きくなったら(YES)、後述するステップT159に移行する。
 ステップT158,S330,S358からステップT159に移行した場合は、ステップT159で基準画像データ読込みスイッチ30がONとなっているか否かを判定し、基準画像データ読込みスイッチ30がOFFとなっていれば(NO)、ステップT159の処理を繰り返し、基準画像データ読込みスイッチ30がONとなったら(YES)、ステップT159-1で入出力装置20から可視光照明器35Dに点灯指令を出力し、ステップT160に移行する。
 ステップT160ではモーションスレッドの色記憶用メモリM11の値を読込み、続いて、ステップT161でモーションスレッドの色記憶用メモリM11の値が1(R)か否かを判定し、モーションスレッドの色記憶用メモリM11の値が1(R)以外であれば(NO)、後述するステップT359に移行し、モーションスレッドの色記憶用メモリM11の値が1(R)であれば(YES)、ステップT162で、入出力装置20からRの照明器35Aに点灯指令を出力し、後述するステップT163に移行する。
 ステップT161からステップT359に移行した場合は、ステップT359でモーションスレッドの色記憶用メモリM11の値が2(G)か否かを判定し、モーションスレッドの色記憶用メモリM11の値が2(G)以外であれば(NO)、後述するステップT361に移行し、モーションスレッドの色記憶用メモリM11の値が2(G)であれば(YES)、ステップT360で入出力装置20からGの照明器35Bに点灯指令を出力し、後述するステップT163に移行する。
 ステップT359からステップT361に移行した場合は、ステップT361で入出力装置20からBの照明器35Cに点灯指令を出力し、ステップT163に移行する。
 ステップT163では、メモリM140からカラーカメラ34Bの撮像回転位相を読込み、続いて、ステップT164で証券印刷機の回転位相検出用カウンタ36からカウント値を読込んでこれをメモリM141に記憶する。
 続いて、ステップT165で証券印刷機の回転位相検出用カウンタ36のカウント値がカラーカメラ34Bの撮像回転位相と一致しなければ(NO)、ステップT164に戻り、証券印刷機の回転位相検出用カウンタ36のカウント値がカラーカメラ34Bの撮像回転位相と一致したら(YES)、ステップT166で入出力装置18-Bからカラーカメラ34Bに撮像指令を出力し、ステップT167で入出力装置18-Bからカラーカメラ34Bに画像データ送信指令を出力する。
 続いて、ステップT168でカラーカメラ34Bから入出力装置17-Bに撮像データが出力されたか否かを判定し、カラーカメラ34Bから撮像データが出力されていなければ(NO)、ステップT168の処理を繰り返し、カラーカメラ34Bから撮像データが出力されたら(YES)、ステップT169に移行する。
 ステップT169では、カウント値Y記憶用メモリM12に1を上書きし、続いて、ステップT170でカウント値X記憶用メモリM13に1を上書きする。
 続いて、ステップT171でカラーカメラ34BからRの画素データを読み込んでこれをRの基準画像データ記憶用メモリM142の(X,Y)のアドレス位置に記憶し、ステップT172でカラーカメラ34BからGの画素データを読み込んでこれをGの基準画像データ記憶用メモリM143の(X,Y)のアドレス位置に記憶し、ステップT173でカラーカメラ34BからBの画素データを読み込んでこれをBの基準画像データ記憶用メモリM144の(X,Y)のアドレス位置に記憶する。
 続いて、ステップT174でカウント値Xに1を加算してカウント値X記憶用メモリM13に上書きし、ステップT175でメモリM145からカラーカメラ34BのX方向の画素数を読込む。
 続いて、ステップT176でカウント値Xがカラーカメラ34BのX方向の画素数以下であれば(NO)、ステップT171に戻り、カウント値Xがカラーカメラ34BのX方向の画素数よりも大きくなったら(YES)、ステップT177でカウント値Yに1を加算してカウント値Y記憶用メモリM12に上書きし、ステップT178でメモリM146からカラーカメラ34BのY方向の画素数を読込む。
 続いて、ステップT179でカウント値Yがカラーカメラ34BのY方向の画素数以下であれば(NO)、ステップT170に戻り、カウント値Yがカラーカメラ34BのY方向の画素数よりも大きくなったら(YES)、ステップT180に移行する。
 ステップT180では、メモリM147からモノクロカメラ34Aの撮像回転位相を読込み、ステップT181で証券印刷機の回転位相検出用カウンタ36からカウント値を読込んでこれをメモリM141に記憶する。
 続いて、ステップT182で証券印刷機の回転位相検出用カウンタ36のカウント値がモノクロカメラ34Aの撮像回転位相と一致しなければ(NO)、ステップT181に戻り、証券印刷機の回転位相検出用カウンタ36のカウント値がモノクロカメラ34Aの撮像回転位相と一致したら(YES)、ステップT183で入出力装置18-Aからモノクロカメラ34Aに撮像指令を出力し、ステップT184で入出力装置18-Aからモノクロカメラ34Aに画像データ送信指令を出力する。
 続いて、ステップT185でモノクロカメラ34Aから入出力装置17-Aに撮像データが出力されたか否かを判定し、モノクロカメラ34Aから撮像データが出力されていなければ(NO)、ステップT185の処理を繰り返し、モノクロカメラ34Aから撮像データが出力されたら(YES)、ステップT186に移行する。
 ステップT186では、カウント値Y記憶用メモリM12に1を上書きし、続いて、ステップT187でカウント値X記憶用メモリM13に1を上書きする。
 続いて、ステップT188でモノクロカメラ34Aから画素データを読み込んでこれをモノクロカメラの基準画像データ記憶用メモリM148の(X,Y)のアドレス位置に記憶し、ステップT189でカウント値Xに1を加算してカウント値X記憶用メモリM13に上書きし、ステップT190でメモリM149からモノクロカメラ34AのX方向の画素数を読込む。
 続いて、ステップT191でカウント値Xがモノクロカメラ34AのX方向の画素数以下であれば(NO)、ステップT188に戻り、カウント値Xがモノクロカメラ34AのX方向の画素数よりも大きくなったら(YES)、ステップT192でカウント値Yに1を加算してカウント値Y記憶用メモリM12に上書きし、ステップT193でメモリM150からモノクロカメラ34AのY方向の画素数を読込む。
 続いて、ステップT194でカウント値Yがモノクロカメラ34AのY方向の画素数以下であれば(NO)、ステップT187に戻り、カウント値Yがモノクロカメラ34AのY方向の画素数よりも大きくなったら(YES)、ステップT195に移行する。
 ステップT195では、検査開始スイッチ31がONとなっているか否かを判定し、検査開始スイッチ31がOFFとなっていれば(NO)、ステップT195の処理を繰り返し、検査開始スイッチ31がONとなったら(YES)ステップT196に移行する。
 ステップT196では、検査終了スイッチ32がONとなっているか否かを判定し、検査終了スイッチ32がONとなっていれば(YES)、印刷品質の検査を終了する。検査終了スイッチ32がOFFとなっていれば(NO)、ステップT197でメモリM140からカラーカメラ34Bの撮像回転位相を読込み、ステップT198で証券印刷機の回転位相検出用カウンタ36からカウント値を読込んでこれをメモリM141に記憶する。
 続いて、ステップT199で証券印刷機の回転位相検出用カウンタ36のカウント値がカラーカメラの撮像回転位相と一致しなければ(NO)、ステップT198に戻り、証券印刷機の回転位相検出用カウンタ36のカウント値がカラーカメラの撮像回転位相と一致したら(YES)、ステップT200で入出力装置18-Bからカラーカメラ34Bに撮像指令を出力し、ステップT201で入出力装置18-Bからカラーカメラ34Bに画像データ送信指令を出力する。
 続いて、ステップT202でカラーカメラ34Bから入出力装置17-Bに撮像データが出力されたか否かを判定し、カラーカメラ34Bから撮像データが出力されていなければ(NO)、ステップT202の処理を繰り返し、カラーカメラ34Bから撮像データが出力されたら(YES)、ステップT203に移行する。
 ステップT203では、カウント値Y記憶用メモリM12に1を上書きし、続いて、ステップT204でカウント値X記憶用メモリM13に1を上書きする。
 続いて、ステップT205でカラーカメラ34BからRの画素データを読み込んでこれをRの検査画像データ記憶用メモリM151の(X,Y)のアドレス位置に記憶し、ステップT206でカラーカメラ34BからGの画素データを読み込んでこれをGの検査画像データ記憶用メモリM152の(X,Y)のアドレス位置に記憶し、ステップT207でカラーカメラ34BからBの画素データを読み込んでこれをBの検査画像データ記憶用メモリM153の(X,Y)のアドレス位置に記憶する。
 続いて、ステップT208でカウント値Xに1を加算してカウント値X記憶用メモリM13に上書きし、ステップT209でメモリM145からカラーカメラ34BのX方向の画素数を読込む。
 続いて、ステップT210でカウント値Xがカラーカメラ34BのX方向の画素数以下であれば(NO)、ステップT205に戻り、カウント値Xがカラーカメラ34BのX方向の画素数よりも大きくなったら(YES)、ステップT211でカウント値Yに1を加算してカウント値Y記憶用メモリM12に上書きし、ステップT212でメモリM146からカラーカメラ34BのY方向の画素数を読込む。
 続いて、ステップT213でカウント値Yがカラーカメラ34BのY方向の画素数以下であれば(NO)、ステップT204に戻り、カウント値Yがカラーカメラ34BのY方向の画素数よりも大きくなったら(YES)、ステップT214に移行する。
 ステップT214では、カウント値Y記憶用メモリM12に1を上書きし、続いて、ステップT215でカウント値X記憶用メモリM13に1を上書きし、ステップT216でメモリM154からカラーカメラ34BのX方向の無効画素数を読込み、ステップT217でメモリM155からカラーカメラ34BのY方向の無効画素数を読込み、ステップT218でモーションスレッドの色記憶用メモリM11の値を読込む。なお、本実施の形態において無効画素とは、カラーカメラ34Bによって撮像した画像データにおいて大判印刷物1が撮像されている部分以外の領域22c(図12に斜線を付して示す領域)に対応する部分の画素である。
 続いて、ステップT219でモーションスレッドの色記憶用メモリM11の値が1(R)であれば(YES)、後述するステップT226に移行し、モーションスレッドの色記憶用メモリM11の値が1(R)以外であれば(NO)、ステップT220に移行する。
 ステップT220では、Rの検査画像データ記憶用メモリM151の(カラーカメラのX方向の無効画素数+カウント値X,カラーカメラのY方向の無効画素数+カウント値Y)のアドレス位置から(カラーカメラのX方向の無効画素数+カウント値X,カラーカメラのY方向の無効画素数+カウント値Y)のアドレス位置の画素のRの検査データを読込む。
 続いて、ステップT221でRの基準画像データ記憶用メモリM142の(カラーカメラのX方向の無効画素数+カウント値X,カラーカメラのY方向の無効画素数+カウント値Y)のアドレス位置から(カラーカメラのX方向の無効画素数+カウント値X,カラーカメラのY方向の無効画素数+カウント値Y)のアドレス位置の画素のRの基準データを読込む。
 続いて、ステップT222で(カラーカメラのX方向の無効画素数+カウント値X,カラーカメラのY方向の無効画素数+カウント値Y)のアドレス位置の画素のRの検査データから(カラーカメラのX方向の無効画素数+カウント値X,カラーカメラのY方向の無効画素数+カウント値Y)のアドレス位置の画素のRの基準データを減算してRの(X,Y)のアドレス位置の画素データの差を演算してこれをメモリM156に記憶する。
 続いて、ステップT223でRの(X,Y)のアドレス位置の画素データの差からRの(X,Y)のアドレス位置の画素データの差の絶対値を演算しこれをメモリM157に記憶し、ステップT224で大判印刷物のRの許容値記憶用メモリM29の(X,Y)のアドレス位置からRの(X,Y)のアドレス位置の画素データの許容値を読込む。
 続いて、ステップT225でRの(X,Y)のアドレス位置の画素データの差の絶対値がRの(X,Y)のアドレス位置の画素データの許容値よりも大きければ(NO)、図21Cに示すステップT362に移行して表示器22にエラーを表示し印刷品質の検査を終了する。Rの(X,Y)のアドレス位置の画素データの差の絶対値がRの(X,Y)のアドレス位置の画素データの許容値以下であれば(YES)、ステップT226に移行する。
 ステップT226では、モーションスレッドの色記憶用メモリM11の値を読込み、続いて、ステップT227でモーションスレッドの色記憶用メモリM11の値が2(G)であれば(YES)、後述するステップT234に移行し、モーションスレッドの色記憶用メモリM11の値が2(G)以外であれば(NO)、ステップT228に移行する。
 ステップT228では、Gの検査画像データ記憶用メモリM152の(カラーカメラのX方向の無効画素数+カウント値X,カラーカメラのY方向の無効画素数+カウント値Y)のアドレス位置から(カラーカメラのX方向の無効画素数+カウント値X,カラーカメラのY方向の無効画素数+カウント値Y)のアドレス位置の画素のGの検査データを読込む。
 続いて、ステップT229でGの基準画像データ記憶用メモリM143の(カラーカメラのX方向の無効画素数+カウント値X,カラーカメラのY方向の無効画素数+カウント値Y)のアドレス位置から(カラーカメラのX方向の無効画素数+カウント値X,カラーカメラのY方向の無効画素数+カウント値Y)のアドレス位置の画素のGの基準データを読込む。
 続いて、ステップT230で(カラーカメラのX方向の無効画素数+カウント値X,カラーカメラのY方向の無効画素数+カウント値Y)のアドレス位置の画素のGの検査データから(カラーカメラのX方向の無効画素数+カウント値X,カラーカメラのY方向の無効画素数+カウント値Y)のアドレス位置の画素のGの基準データを減算しGの(X,Y)のアドレス位置の画素データの差を演算してこれをメモリM158に記憶する。
 続いて、ステップT231でGの(X,Y)のアドレス位置の画素データの差からGの(X,Y)のアドレス位置の画素データの差の絶対値を演算してこれをメモリM159に記憶し、ステップT232で大判印刷物のGの許容値記憶用メモリM30の(X,Y)のアドレス位置からGの(X,Y)のアドレス位置の画素データの許容値を読込む。
 続いて、ステップT233でGの(X,Y)のアドレス位置の画素データの差の絶対値がGの(X,Y)のアドレス位置の画素データの許容値よりも大きければ(NO)、図21Cに示すステップT362に移行して表示器22にエラーを表示し印刷品質の検査を終了する。Gの(X,Y)のアドレス位置の画素データの差の絶対値がGの(X,Y)のアドレス位置の画素データの許容値以下であれば(YES)、ステップT234に移行する。
 ステップT234では、モーションスレッドの色記憶用メモリM11の値を読込み、続いて、ステップT235でモーションスレッドの色記憶用メモリM11の値が3(B)であれば(YES)、後述するステップT242に移行し、モーションスレッドの色記憶用メモリM11の値が3(B)以外であれば(NO)、ステップT236に移行する。
 ステップT236では、Bの検査画像データ記憶用メモリM153の(カラーカメラのX方向の無効画素数+カウント値X,カラーカメラのY方向の無効画素数+カウント値Y)のアドレス位置から(カラーカメラのX方向の無効画素数+カウント値X,カラーカメラのY方向の無効画素数+カウント値Y)のアドレス位置の画素のBの検査データを読込む。
 続いて、ステップT237でBの基準画像データ記憶用メモリM144の(カラーカメラのX方向の無効画素数+カウント値X,カラーカメラのY方向の無効画素数+カウント値Y)のアドレス位置から(カラーカメラのX方向の無効画素数+カウント値X,カラーカメラのY方向の無効画素数+カウント値Y)のアドレス位置の画素のBの基準データを読込む。
 続いて、ステップT238で(カラーカメラのX方向の無効画素数+カウント値X,カラーカメラのY方向の無効画素数+カウント値Y)のアドレス位置の画素のBの検査データから(カラーカメラのX方向の無効画素数+カウント値X,カラーカメラのY方向の無効画素数+カウント値Y)のアドレス位置の画素のBの基準データを減算しBの(X,Y)のアドレス位置の画素データの差を演算してこれをメモリM160に記憶する。
 続いて、ステップT239でBの(X,Y)のアドレス位置の画素データの差からBの(X,Y)のアドレス位置の画素データの差の絶対値を演算してこれをメモリM161に記憶し、ステップT240で大判印刷物のBの許容値記憶用メモリM31の(X,Y)のアドレス位置からBの(X,Y)のアドレス位置の画素データの許容値を読込む。
 続いて、ステップT241でBの(X,Y)のアドレス位置の画素データの差の絶対値がBの(X,Y)のアドレス位置の画素データの許容値よりも大きければ(NO)、図21Cに示すステップT362に移行して表示器22にエラーを表示し印刷品質の検査を終了する。Bの(X,Y)のアドレス位置の画素データの差の絶対値がBの(X,Y)のアドレス位置の画素データの許容値以下であれば(YES)、ステップT242に移行する。
 ステップT242では、カウント値Xに1を加算してカウント値X記憶用メモリM13に上書きし、続いて、ステップT243でメモリM32から大判印刷物1のX方向の画素数を読込む。
 続いて、ステップT244でカウント値Xが大判印刷物1のX方向の画素数以下であれば(NO)、ステップT216に戻り、カウント値Xが大判印刷物1のX方向の画素数よりも大きくなったら(YES)、ステップT245でカウント値Yに1を加算してカウント値Y記憶用メモリM12に上書きし、ステップT246でメモリM33から大判印刷物1のY方向の画素数を読込む。
 続いて、ステップT247でカウント値Yが大判印刷物1のY方向の画素数以下であれば(NO)、ステップT215に戻り、カウント値Yが大判印刷物1のY方向の画素数よりも大きくなったら(YES)、ステップT248に移行する。
 ステップT248では、メモリM147からモノクロカメラ34Aの撮像回転位相を読込み、続いて、ステップT249で証券印刷機の回転位相検出用カウンタ36からカウント値を読込んでこれをメモリM141に記憶する。
 続いて、ステップT250で証券印刷機の回転位相検出用カウンタ36のカウント値がモノクロカメラ34Aの撮像回転位相と一致しなければ(NO)、ステップT249に戻り、証券印刷機の回転位相検出用カウンタ36のカウント値がモノクロカメラ34Aの撮像回転位相と一致したら(YES)、ステップT251に移行する。
 続いて、ステップT251で入出力装置18-Aからモノクロカメラ34Aに撮像指令を出力し、ステップT252で入出力装置18-Aからモノクロカメラ34Aに画像データ送信指令を出力する。
 続いて、ステップT253でモノクロカメラ34Aから入出力装置17-Aに撮像データが出力されたか否かを判定し、モノクロカメラ34Aから撮像データが出力されていなければ(NO)、ステップT253の処理を繰り返し、モノクロカメラ34Aから撮像データが出力されたら(YES)、ステップT254に移行する。
 続いて、ステップT254でカウント値Y記憶用メモリM12に1を上書きし、ステップT255でカウント値X記憶用メモリM13に1を上書きし、ステップT256でモノクロカメラ34Aから画素データを読み込んでこれをモノクロカメラの検査画像データ記憶用メモリM162の(X,Y)のアドレス位置に記憶し、ステップT257でカウント値Xに1を加算してカウント値X記憶用メモリM13に上書きし、ステップT258でメモリM149からモノクロカメラ34AのX方向の画素数を読込む。
 続いて、ステップT259でカウント値XがモノクロカメラのX方向の画素数以下であれば(NO)、ステップT256に戻り、カウント値XがモノクロカメラのX方向の画素数よりも大きくなったら(YES)、ステップT260でカウント値Yに1を加算してカウント値Y記憶用メモリM12に上書きし、ステップT261でメモリM150からモノクロカメラ34AのY方向の画素数を読込む。
 続いて、ステップT262でカウント値Yがモノクロカメラ34AのY方向の画素数以下であれば(NO)、ステップT255に戻り、カウント値Yがモノクロカメラ34AのY方向の画素数よりも大きくなったら(YES)、ステップT263に移行する。
 ステップT263では、カウント値Y記憶用メモリM12に1を上書きし、続いて、ステップT264でカウント値X記憶用メモリM13に1を上書きし、ステップT265でメモリM163からモノクロカメラ34AのX方向の無効画素数を読込み、ステップT266でメモリM164からモノクロカメラ34AのY方向の無効画素数を読込む。
 続いて、ステップT267でモノクロカメラの検査画像データ記憶用メモリM162の(モノクロカメラのX方向の無効画素数+カウント値X,モノクロカメラのY方向の無効画素数+カウント値Y)のアドレス位置から(モノクロカメラのX方向の無効画素数+カウント値X,モノクロカメラのY方向の無効画素数+カウント値Y)のアドレス位置の画素のモノクロカメラ34Aの検査データを読込む。
 続いて、ステップT268でモノクロカメラの基準画像データ記憶用メモリM148の(モノクロカメラのX方向の無効画素数+カウント値X,モノクロカメラのY方向の無効画素数+カウント値Y)のアドレス位置から(モノクロカメラのX方向の無効画素数+カウント値X,モノクロカメラのY方向の無効画素数+カウント値Y)のアドレス位置の画素のモノクロカメラ34Aの基準データを読込む。
 ステップT268に続いては、ステップT269で(モノクロカメラのX方向の無効画素数+カウント値X,モノクロカメラのY方向の無効画素数+カウント値Y)のアドレス位置の画素のモノクロカメラ34Aの検査データから(モノクロカメラのX方向の無効画素数+カウント値X,モノクロカメラのY方向の無効画素数+カウント値Y)のアドレス位置の画素のモノクロカメラ34Aの基準データを減算しモノクロカメラ34Aの(X,Y)のアドレス位置の画素データの差を演算してこれをメモリM165に記憶する。
 続いて、ステップT270でモノクロカメラ34Aの(X,Y)のアドレス位置の画素データの差からモノクロカメラ34Aの(X,Y)のアドレス位置の画素データの差の絶対値を演算してこれをメモリM166に記憶し、ステップT271で大判印刷物のモノクロカメラの許容値記憶用メモリM139の(X,Y)のアドレス位置からモノクロカメラ34Aの(X,Y)のアドレス位置の画素データの許容値を読込む。
 続いて、ステップT272でモノクロカメラ34Aの(X,Y)のアドレス位置の画素データの差の絶対値がモノクロカメラの(X,Y)のアドレス位置の画素データの許容値よりも大きければ(NO)、ステップT362で表示器22にエラーを表示して印刷品質の検査を終了する。モノクロカメラ34Aの(X,Y)のアドレス位置の画素データの差の絶対値がモノクロカメラ34Aの(X,Y)のアドレス位置の画素データの許容値以下であれば(YES)、ステップT273に移行する。
 ステップT273では、カウント値Xに1を加算してカウント値X記憶用メモリM13に上書きし、ステップT274でメモリM32から大判印刷物1のX方向の画素数を読込む。
 続いて、ステップT275でカウント値Xが大判印刷物1のX方向の画素数以下であれば(NO)、ステップT265に戻り、カウント値Xが大判印刷物1のX方向の画素数よりも大きくなったら(YES)、ステップT276でカウント値Yに1を加算してカウント値Y記憶用メモリM12に上書きし、ステップT277でメモリM33から大判印刷物1のY方向の画素数を読込む。
 続いて、ステップT278でカウント値Yが大判印刷物1のY方向の画素数以下であれば(NO)、ステップT264に戻り、カウント値Yが大判印刷物1のY方向の画素数よりも大きくなったら(YES)、ステップT196に戻る。
 以上に説明した通り、本実施の形態に係る印刷品質検査装置及び印刷品質検査方法では、カラーカメラ34Bにより撮像した画像については、モーションスレッド範囲A以外の部分についてモーションスレッド1bの色と異なる系統の色の画像データのみを用いて印刷品質の検査を行う一方、モーションスレッド1bの色と同系統の色の画像データについては検査を行わず、モーションスレッド1bの色と同系統の色の画像データに代えて、モーションスレッド1bの色と同系統の色の照明器35A,35B,又は35Cから大判印刷物1に光を照射し、これをモノクロカメラ34Aで撮像した画像を用いて通常の許容値で印刷品質の検査を行うようにした。
 本実施の形態において、モーションスレッド1bの色と同系統の色の照明器35A,35B,又は35C(例えば、モーションスレッド1bが赤系統であればRの照明器35A)から大判印刷物1に光を照射し、これをモノクロカメラ34Aで撮像した画像データの例は図11Aに示すようになり、モーションスレッド1bの色とは異なる系統の色の照明器35B及び35C,35A及び35C,又は35A及び35B(例えば、モーションスレッド1bが赤系統であれば、Gの照明器35B及びBの照明器35C)から大判印刷物1に光を照射し、これをモノクロカメラ34Aで撮像した画像データの例は図11B及び図11Cに示すようになる。
 図11B及び図11Cに示すように、モーションスレッド1bの色とは異なる系統の色の照明器35B及び35C,35A及び35C,又は35A及び35Bを用いて得られる画像データではモーションスレッド1bが濃色で現れるため、許容値を通常の値とした場合は少しの角度変化でモーションスレッド1bの絵柄が変化するとNGと判断される可能性がある。
 これに対し、図11Aに示すように、モーションスレッド1bの色と同系統の色の照明器35A,35B,又は35Cを用いて得られる画像データではモーションスレッド1bが無色化されるか又は淡色で現れるため、通常の許容値を用いた検査において実質的にモーションスレッド1bを無視することができる。
 本実施の形態では、このことを利用することにより、モーションスレッド1bの絵柄の変化が印刷品質の検査に影響を及ぼすことを防止し、モーションスレッド1bの絵柄に影響されることなく印刷品質の検査を行うことが可能となり、モーションスレッド1bが設けられた大判印刷物1に施した印刷の品質を高精度に検査することができる。
〔第3の実施の形態〕
 以下、図22Aから図30を用いて本発明の第3の実施の形態に係る印刷品質検査装置及び印刷品質検査方法について説明する。
 本実施の形態は、上述した第1の実施の形態に比較して、図23A~図23Cに示す印刷品質検査部10の構成、及び当該印刷品質検査部10による処理が異なる。その他の構造は第1の実施の形態と概ね同様であり、以下、図1~図12に示し上述した部材と同様の作用を奏する部材には同一の符号を付し、重複する説明は適宜省略する。
 本実施の形態において証券印刷機100では、図22Aに示すように予め多色モーションスレッド(以下、単にモーションスレッドと称する)1cが設けられた大判印刷物1に、5行×9列等の複数の証券印刷物の絵柄がいわゆる多面付印刷により同時に印刷される。
 モーションスレッド1cは、例えば、図22Bに示すように、複数の単色のモーションスレッド(図22Bに示す例では、赤色モーションスレッド1cR,緑色モーションスレッド1cG,青色モーションスレッド1cB)を並べて配置したものである。
 図23Aから図23Dに示すように、本実施の形態の印刷品質検査部10は、CPU11と、ROM12と、RAM13と、各入出力装置14および211~215と、インターフェース216とがBUS線で接続されて構成されている。
 BUS線には、モーションスレッドのX方向の画素数記憶用メモリM211、モーションスレッドのY方向の画素数記憶用メモリM212、カウント値Y記憶用メモリM213、カウント値X記憶用メモリM214、モーションスレッドの画素データ記憶用メモリM215が接続されている。
 また、BUS線には、Rの第1の閾値記憶用メモリM216、Rの第2の閾値記憶用メモリM217、Gの第1の閾値記憶用メモリM218、Gの第2の閾値記憶用メモリM219、Bの第1の閾値記憶用メモリM220、Bの第2の閾値記憶用メモリM221、モーションスレッド用マスク記憶用メモリM222、印刷速度記憶用メモリM223、撮像回転位相記憶用メモリM224が接続されている。
 また、BUS線には、証券印刷機の回転位相検出用カウンタのカウント値記憶用メモリM225、Rの基準画像データ記憶用メモリM226、Gの基準画像データ記憶用メモリM227、Bの基準画像データ記憶用メモリM228、カメラのX方向の画素数記憶用メモリM229、カメラのY方向の画素数記憶用メモリM230、Rの検査画像データ記憶用メモリM231、Gの検査画像データ記憶用メモリM232、Bの検査画像データ記憶用メモリM233、仮の検査用マスク記憶用メモリM234が接続されている。
 また、BUS線には、カウント値L記憶用メモリM235、モーションスレッドの類似画素数記憶用メモリM236、カウント値N記憶用メモリM237、カウント値M記憶用メモリM238が接続されている。
 また、BUS線には、モーションスレッドの類似率記憶用メモリM239、モーションスレッドの類似率の許容値記憶用メモリM240、モーションスレッド位置記憶用メモリM241、検査用マスク記憶用メモリM242、カウント値K記憶用メモリM243、(X,Y)のアドレス位置のRの画素データの差記憶用メモリM244、(X,Y)のアドレス位置のRの画素データの差の絶対値記憶用メモリM245、Rの画素データの許容値記憶用メモリM246、(X,Y)のアドレス位置のGの画素データの差記憶用メモリM247、(X,Y)のアドレス位置のGの画素データの差の絶対値記憶用メモリM248が接続されている。
 また、BUS線には、Gの画素データの許容値記憶用メモリM249、(X,Y)のアドレス位置のBの画素データの差記憶用メモリM250、(X,Y)のアドレス位置のBの画素データの差の絶対値記憶用メモリM251、Bの画素データの許容値記憶用メモリM252が接続されている。
 さらに、入出力装置14には、キーボードや各種スイッチ及びボタン等の入力装置21、CRTやランプ等の表示器22、プリンタ等の出力装置23、及び、CDドライブ24が接続されている。
 また、入出力装置211には、モーションスレッドの画素データ読込みスイッチ217、印刷開始スイッチ218、印刷終了スイッチ219、基準画像データ読込みスイッチ220、検査開始スイッチ221が接続されている。
 また、入出力装置212,213には、カメラ(カラーカメラ)34が接続されている。入出力装置213はカメラ34に撮像指令及び画像データ送信指令を送り、カメラ34で撮像した撮像データが入出力装置212へ出力される。
 また、入出力装置214には、原動モータ・ドライバ222が接続され、この原動モータ・ドライバ222に原動モータ223と原動モータ用ロータリ・エンコーダ224が接続されている。
 入出力装置215には、証券印刷機の回転位相検出用カウンタ36が接続され、この証券印刷機の回転位相検出用カウンタ36が原動モータ用ロータリ・エンコーダ224に接続されている。ここで、原動モータ用ロータリ・エンコーダ224は、例えば原動モータ223の出力軸の後端部分に直接取り付けられ、印刷ユニット3A~3Fが1枚の印刷用紙Wに印刷する毎に1回転し、1回転する毎にゼロ・パルスを1回出力して証券印刷機の回転位相検出用カウンタ36をリセットすると共に、原動モータ223が所定角度回転する毎に、原動モータ・ドライバ222及び印刷機の回転位相検出用カウンタ36にクロック・パルスを出力するようになっている。
 また、インターフェース216は、給紙装置2および印刷部3に接続されている。
 以下、図24A~図24E,図25A~図25E,図26A~図26D,図27A~図27D,図28A~図28B,図29A~図29Gに示す動作フローにしたがって、印刷品質検査部10による処理の詳細を説明する。
 なお、本実施の形態における印刷品質検査部10による処理について簡単に説明すると、印刷品質検査部10ではまず、第一の工程で、モーションスレッド1cのRGB毎の画像データの読込みを行う(ステップU1~ステップU11)。モーションスレッド1cのRGB毎の画像データは、例えば、予め既知であるモーションスレッド1cの形状および配色に基づいて図22Aに破線で囲んで示す多色モーションスレッド範囲1cMに対応するようにモーションスレッドのみの画像データを作成しておく。
 次に、第二の工程で、第一の工程で取得したモーションスレッド1cのRGB毎の画像データから、モーションスレッド用のマスクの作成を行う(ステップU12~ステップU29,ステップU166~ステップU186)。モーションスレッド用のマスクは、赤部(R>第1の閾値SR1、G<第2の閾値SG2、B<第2の閾値SB2)=1、緑部(R<第2の閾値SR2、G>第1の閾値SG1、B<第2の閾値SB2)=2、青部(R<第2の閾値SR2、G<第2の閾値SG2、B>第1の閾値SB1)=3、その他=0として作成する。
 すなわち、図30に示すように、RGB毎の画像データ中、Rの出力値がRの第1の閾値SR1よりも大きくG,Bの出力値がそれぞれG,Bの第2の閾値SG2,SB2よりも小さい部分を赤部、Gの出力値がGの第1の閾値SG1よりも大きくR,Bの出力値がそれぞれR,Bの第2の閾値SR2,SB2よりも小さい部分を緑部、Bの出力値がBの第1の閾値SB1よりも大きくR,Gの出力値がそれぞれR,Gの第2の閾値SR2,SG2よりも小さい部分を青部、その他の部分を赤部,緑部,青部以外としてモーションスレッド用のマスクを作成する。
 次に、第三の工程でモーションスレッド1cが施されていない用紙(大判)を用いた印刷を開始し、第四の工程で「基準データ読込みスイッチ」をONとなっているかどうかを判断し、「基準データ読込みスイッチ」がONとなっていれば第五の工程で証券印刷機100の回転位相とカメラ34の撮像タイミングとが一致したときにカメラ34により大判(モーションスレッド無し)を撮像し、第六の工程で、大判(モーションスレッド無し)をカメラ34で撮像して取得した各R、G、Bの画像データをR、G、Bの基準画像データとして記憶する(ステップU30~ステップU56)。すなわち、第三~第六の工程では、モーションスレッドを除いた絵柄のみの基準の画像データを取得する。このモーションスレッド1cが施されていない用紙(大判)への印刷は少なくとも一枚以上行う。また、カメラ34による撮像は照明器35から照射される白色光の下で行う。
 続いて、第七の工程で、モーションスレッド1cが施された用紙(大判)を用いた印刷を開始し、第八の工程で証券印刷機100の回転位相とカメラ34の撮像タイミングとが一致したときにカメラ34により大判(モーションスレッド有り)を撮像し、第九の工程で大判(モーションスレッド有り)をカメラ34で撮像して取得した各R、G、Bの画像データをR、G、Bの検査画像データとして記憶する(ステップU57~ステップU79)。
 次に、第十の工程で、撮像した大判のRGBの検査画像データから仮の検査用マスクを作成する(ステップU80~ステップU97,ステップU187~ステップU207)。仮の検査用マスクの作成は、仮想の赤部(R>第1の閾値SR1、G<第2の閾値SG2、B<第2の閾値SB2)=1、仮想の緑部(R<第2の閾値SR2、G>第1の閾値SG1、B<第2の閾値SB2)=2、仮想の青部(R<第2の閾値SR2、G<第2の閾値SG2、B>第1の閾値SB1)その他=0として行う。
 すなわち、モーションスレッド用のマスクの作成と同様に、RGB毎の画像データ中、Rの出力値がRの第1の閾値SR1よりも大きくG,Bの出力値がそれぞれG,Bの第2の閾値SG2,SB2よりも小さい部分を赤部、Gの出力値がGの第1の閾値SG1よりも大きくR,Bの出力値がそれぞれR,Bの第2の閾値SR2,SB2よりも小さい部分を緑部、Bの出力値がBの第1の閾値SB1よりも大きくR,Gの出力値がそれぞれR,Gの第2の閾値SR2,SG2よりも小さい部分を青部、その他の部分を赤部,緑部,青部以外として仮の検査用マスクを作成する。
 次に、第十一の工程で、第十の工程で作成した仮の検査用マスク内の画素データに対して第二の工程で作成したモーションスレッド用マスクの画素データを用いてパターン・マッチングを行い、仮の検査用マスク内の各位置とモーションスレッド用マスクとの類似率を求めて、類似率が許容値以上の位置をモーションスレッド1cに対応する部分として記憶する(ステップU98~ステップU130)。
 すなわち、仮の検査用マスクに対しモーションスレッド用マスクをX方向、Y方向にずらしながら、パターン・マッチング法により、各位置ごとの類似率(異なる画素数)を求めることで、検査用マスク内におけるモーションスレッド1cの位置を特定する。このような処理を行うことにより、大判に施されたモーションスレッド1cの配置や状態によらず、検査用マスク内のモーションスレッド1cを確実に抽出する。
 次に、第十二の工程で、第十一の工程で求めたモーションスレッド部の位置に第二の工程で作成したモーションスレッド用マスクの画素データを書き込み、検査用マスクを作成する(ステップU131からステップU145)。
 次に、第十三の工程で、第十二の工程で作成した検査用マスクを参照し、モーションスレッドの赤部については第六の工程で記憶したRの基準画像データと第九の工程で記憶したRの検査画像データのみを比較し、モーションスレッドの緑部については第六の工程で記憶したGの基準画像データと第九の工程で記憶したGの検査画像データのみを比較し、モーションスレッドの青部については第六の工程で記憶したBの基準画像データと第九の工程で記憶したBの検査画像データのみを比較し、モーションスレッド部以外の部分については、従来と同じように、第六の工程で記憶した基準画像データのRの画像データ、Gの画像データ、Bの画像データのそれぞれを第九の工程で記憶した検査画像データのRの画像データ、Gの画像データ、Bの画像データのそれぞれと比較して、検査対象用の大判(モーションスレッド有り)のOK/NGを判断する(ステップU146からステップU165,ステップU208からステップU240)。
 以上の工程を具体的に説明すると、ステップU1でモーションスレッドの画素データ読込みスイッチ217がONとなっているか否かを判断し、モーションスレッドの画素データ読込みスイッチ217がOFFであれば(NO)当該ステップU1の処理を繰り返し、モーションスレッドの画素データ読込みスイッチ217がONとなっていれば(YES)ステップU2でCDドライブ24からモーションスレッド1cのX方向及びY方向の画素数を読込んでこれをメモリM211及びM212に記憶する。
 ステップU2に続いては、ステップU3でカウント値Y記憶用メモリM213に1を上書きし、ステップU4でカウント値X記憶用メモリM214に1を上書きする。続いて、ステップU5でCDドライブ24からモーションスレッド1cの画素データ(RGB)を読込んでこれをモーションスレッドの画素データ記憶用メモリM215の(X,Y)のアドレス位置に上書きする。
 続いて、ステップU6でカウント値Xに1を加算してこれをカウント値X記憶用メモリM214に上書きし、ステップU7でメモリM211からモーションスレッド1cのX方向の画素数を読込む。
 続いて、ステップU8でカウント値Xがモーションスレッド1cのX方向の画素数以下であれば(NO)ステップU5に戻り、カウント値Xがモーションスレッド1cのX方向の画素数よりも大きくなったら(YES)ステップU9に移行する。
 ステップU9では、カウント値Yに1を加算してこれをカウント値Y記憶用メモリM213に上書きし、続いて、ステップU10でメモリM212からモーションスレッド1cのY方向の画素数を読込む。
 続いて、ステップU11でカウント値Yがモーションスレッド1cのY方向の画素数以下であれば(NO)ステップU4に戻り、カウント値Yがモーションスレッド1cのY方向の画素数よりも大きくなったら(YES)ステップU12に移行する。
 ステップU12では、カウント値Y記憶用メモリM213に1を上書きし、続いて、ステップU13でカウント値X記憶用メモリM214に1を上書きする。続いて、ステップU14でモーションスレッドの画素データ記憶用メモリM215の(X,Y)のアドレス位置から(X,Y)のアドレス位置のRの画素データ(Rの出力値)を読込み、ステップU15でメモリM216からRの第1の閾値SR1を読込む。
 続いて、ステップU16で(X,Y)のアドレス位置のRの画素データがRの第1の閾値SR1よりも大きければ(YES)当該アドレス位置の画素データが赤系統である可能性があるとみなしてステップU17に移行し、(X,Y)のアドレス位置のRの画素データがRの第1の閾値SR1以下であれば(NO)当該アドレス位置の画素データが赤系統以外であるとみなして後述するステップU166に移行する。
 ステップU17では、モーションスレッドの画素データ記憶用メモリM215の(X,Y)のアドレス位置から(X,Y)のアドレス位置のGの画素データ(Gの出力値)を読込み、続いて、ステップU18でメモリM219からGの第2の閾値SG2を読込む。
 続いて、ステップU19で(X,Y)のアドレス位置のGの画素データがGの第2の閾値SG2よりも小さければ(YES)当該アドレス位置の画素データが赤系統である可能性があるとみなしてステップU20に移行し、(X,Y)のアドレス位置のGの画素データがGの第2の閾値SG2以上であれば(NO)当該アドレス位置の画素データが赤系統以外であるとみなして後述するステップU166に移行する。
 ステップU20では、モーションスレッドの画素データ記憶用メモリM215の(X,Y)のアドレス位置から(X,Y)のアドレス位置のBの画素データ(Bの出力値)を読込み、続いて、ステップU21でメモリM221からBの第2の閾値SB2を読込む。
 続いて、ステップU22で(X,Y)のアドレス位置のBの画素データがBの第2の閾値SB2よりも小さければ(YES)当該アドレス位置の画素データが赤系統であるとみなしてステップU23に移行し、(X,Y)のアドレス位置のBの画素データがBの第2の閾値SB2以上であれば(NO)当該アドレス位置の画素データが赤系統以外であるとみなして後述するステップU166に移行する。
 ステップU23では、モーションスレッド用マスク記憶用メモリM222の(X,Y)のアドレス位置に「1(R)」を上書きする。
 続いて、ステップU24でカウント値Xに1を加算してこれをカウント値X記憶用メモリM214に上書きし、ステップU25でメモリM211からモーションスレッド1cのX方向の画素数を読込む。
 続いて、ステップU26でカウント値Xがモーションスレッド1cのX方向の画素数以下であれば(NO)ステップU14に戻り、カウント値Xがモーションスレッド1cのX方向の画素数よりも大きくなったら(YES)ステップU27に移行する。
 ステップU27では、カウント値Yに1を加算してこれをカウント値Y記憶用メモリM213に上書きし、続いて、ステップU28でメモリM212からモーションスレッド1cのY方向の画素数を読込む。
 続いて、ステップU29でカウント値Yがモーションスレッド1cのY方向の画素数以下であれば(NO)ステップU13に戻り、カウント値Yがモーションスレッド1cのY方向の画素数よりも大きくなったら(YES)後述するステップU30に移行する。
 また、上述したステップU16、ステップU19,ステップU22からステップU166に移行した場合は、ステップU166でモーションスレッドの画素データ記憶用メモリM215の(X,Y)のアドレス位置から(X,Y)のアドレス位置のGの画素データを読込み、続いて、ステップU167でメモリM218からGの第1の閾値SG1を読込む。
 続いて、ステップU168で(X,Y)のアドレス位置のGの画素データがGの第1の閾値SG1よりも大きければ(YES)当該アドレス位置の画素データが緑系統である可能性があるとみなしてステップU169に移行し、(X,Y)のアドレス位置のGの画素データがGの第1の閾値SG1以下であれば(NO)当該アドレス位置の画素データが緑系統以外であるとみなして後述するステップU176に移行する。
 ステップU169では、モーションスレッドの画素データ記憶用メモリM215の(X,Y)のアドレス位置から(X,Y)のアドレス位置のBの画素データを読込み、続いて、ステップU170でメモリM221からBの第2の閾値SB2を読込む。
 続いて、ステップU171で(X,Y)のアドレス位置のBの画素データがBの第2の閾値SB2よりも小さければ(YES)当該アドレス位置の画素データが緑系統である可能性があるとみなしてステップU172に移行し、(X,Y)のアドレス位置のBの画素データがBの第2の閾値SB2以上であれば(NO)当該アドレス位置の画素データが緑系統以外であるとみなして後述するステップU176に移行する。
 ステップU172では、モーションスレッドの画素データ記憶用メモリM215の(X,Y)のアドレス位置から(X,Y)のアドレス位置のRの画素データを読込み、続いて、ステップU173でメモリM217からRの第2の閾値SR2を読込む。
 続いて、ステップU174で(X,Y)のアドレス位置のRの画素データがRの第2の閾値SR2よりも小さければ(YES)当該アドレス位置の画素データが緑系統であるとみなしてステップU175に移行し、(X,Y)のアドレス位置のRの画素データがRの第2の閾値SR2以上であれば(NO)当該アドレス位置の画素データが緑系統以外であるとみなして後述するステップU176に移行する。
 ステップU175では、モーションスレッド用マスク記憶用メモリM222の(X,Y)のアドレス位置に「2(G)」を上書きして、上述したステップU24に移行する。
 また、上述したステップU168,ステップU171,ステップU174からステップU176に移行した場合は、ステップU176でモーションスレッドの画素データ記憶用メモリM215の(X,Y)のアドレス位置から(X,Y)のアドレス位置のBの画素データを読込み、続いて、ステップU177でメモリM220からBの第1の閾値SB1を読込む。
 続いて、ステップU178で(X,Y)のアドレス位置のBの画素データがBの第1の閾値SB1よりも大きければ(YES)当該アドレス位置の画素データが青系統である可能性があるとみなしてステップU179に移行し、(X,Y)のアドレス位置のBの画素データがBの第1の閾値SB1以下であれば(NO)当該アドレス位置の画素データが青系統以外であるとみなして後述するステップU186に移行する。
 ステップU179ではモーションスレッドの画素データ記憶用メモリM215の(X,Y)のアドレス位置から(X,Y)のアドレス位置のRの画素データを読込み、続いて、ステップU180でメモリM217からRの第2の閾値SR2を読込む。
 続いて、ステップU181で(X,Y)のアドレス位置のRの画素データがRの第2の閾値SR2よりも小さければ(YES)当該アドレス位置の画素データが青系統である可能性があるとみなしてステップU182に移行し、(X,Y)のアドレス位置のRの画素データがRの第2の閾値SR2以上であれば(NO)当該アドレス位置の画素データが青系統以外であるとみなして後述するステップU186に移行する。
 ステップU182では、モーションスレッドの画素データ記憶用メモリM215の(X,Y)のアドレス位置から(X,Y)のアドレス位置のGの画素データを読込み、続いて、ステップU183でメモリM219からGの第2の閾値SG2を読込む。
 続いて、ステップU184で(X,Y)のアドレス位置のGの画素データがGの第2の閾値SG2よりも小さければ(YES)当該アドレス位置の画素データが青系統であるとみなしてステップU185に移行し、(X,Y)のアドレス位置のGの画素データがGの第2の閾値SG2以上であれば(NO)当該アドレス位置の画素データが青系統以外であるとみなして後述するステップU186に移行する。
 ステップU185では、モーションスレッド用マスク記憶用メモリM222の(X,Y)のアドレス位置に「3(B)」を上書きして上述したステップU24に移行する。
 上述したステップU178,ステップU181,ステップU184からステップU186に移行した場合は、ステップU186でモーションスレッド用マスク記憶用メモリM222の(X,Y)のアドレス位置に「0(=モーションスレッド以外)」を上書きして上述したステップU24に移行する。
 ステップU30では、印刷開始スイッチ218がONとなっているか否かを判断し、印刷開始スイッチ218がOFFであれば(NO)当該ステップU30の処理を繰り返し、印刷開始スイッチ218がONとなったら(YES)ステップU31に移行する。
 ステップU31ではメモリM223から印刷速度を読込み、続いて、ステップU32で印刷速度を原動モータ・ドライバ222に出力し、ステップU33で給紙装置2に給紙開始指令を出力し、ステップU34で印刷部3に印刷開始指令を出力する。これによりモーションスレッド1cが施されていない大判1に対する印刷を開始する。
 続いて、ステップU35で基準画像データ読込みスイッチ220がOFFであれば(NO)当該ステップU35の処理を繰り返し、基準画像データ読込みスイッチ220がONとなったら(YES)ステップU36に移行する。なお、基準画像データ読込みスイッチ220は、証券印刷機100のオペレータが印刷された印刷物を目視で確認し、正常な印刷物が印刷されていると判断した時に押される。
 ステップU36ではメモリM224から撮像回転位相を読込み、続いて、ステップU37で証券印刷機の回転位相検出用カウンタ36からカウント値を読込んでこれをメモリM225に記憶する。
 続いて、ステップU38で証券印刷機の回転位相検出用カウンタ36のカウント値が撮像回転位相と一致しなければ(NO)ステップU37の処理に戻り、ステップU38で証券印刷機の回転位相検出用カウンタ36のカウント値が撮像回転位相と一致すれば(YES)ステップU39に移行して入出力装置213からカメラ34に撮像指令を出力する。これにより印刷が施された大判1(モーションスレッド1c無し)をカメラ34により撮像する。
 ステップU39に続いては、ステップU40で入出力装置213からカメラ34に画像データ送信指令を出力し、続いて、ステップU41でカメラ34から入出力装置212へ撮像データが出力されていなければ(NO)当該ステップU41の処理を繰り返し、カメラ34から入出力装置212へ撮像データが出力されたら(YES)ステップU42に移行する。
 ステップU42ではカウント値Y記憶用メモリM213に1を上書きし、続いて、ステップU43でカウント値X記憶用メモリM214に1を上書きする。
 続いて、ステップU44でカメラ34からRの画素データを読み込んでこれをRの基準画像データ記憶用メモリM226の(X,Y)のアドレス位置に記憶し、ステップU45でカメラ34からGの画素データを読み込んでこれをGの検査画像データ記憶用メモリM227の(X,Y)のアドレス位置に記憶し、ステップU46でカメラ34からBの画素データを読み込んでこれをBの基準画像データ記憶用メモリM228の(X,Y)のアドレス位置に記憶する。
 続いて、ステップU47でカウント値Xに1を加算してこれをカウント値X記憶用メモリM214に上書きし、ステップU48でメモリM229からカメラ34のX方向の画素数を読込む。
 続いて、ステップU49でカウント値Xがカメラ34のX方向の画素数以下であれば(NO)ステップU44に戻り、カウント値Xがカメラ34のX方向の画素数よりも大きくなったら(YES)ステップU50に移行する。
 ステップU50ではカウント値Yに1を加算してこれをカウント値Y記憶用メモリM213に上書きし、続いて、ステップU51でメモリM230からカメラ34のY方向の画素数を読込む。
 続いて、ステップU52でカウント値Yがカメラ34のY方向の画素数以下であれば(NO)ステップU43に戻り、カウント値Yがカメラ34のY方向の画素数よりも大きくなったら(YES)ステップU53に移行する。
 ステップU53では印刷終了スイッチ219がONとなっているか否かを判断し、印刷終了スイッチ219がOFFとなっていれば(NO)当該ステップU53の処理を繰り返し、印刷終了スイッチがONとなったら(YES)ステップU54に移行する。
 ステップU54では給紙装置2に給紙停止指令を出力し、続いて、ステップU55で印刷部3に印刷停止指令を出力し、ステップU56で原動モータ・ドライバ222に停止指令を出力する。これにより証券印刷機100が停止する。
 ステップU56に続いては、ステップU57で印刷開始スイッチ218がONとなっているか否かを判断し、印刷開始スイッチ218がOFFとなっていれば(NO)当該ステップU57の処理を繰り返し、印刷開始スイッチ218がONとなったら(YES)ステップU58に移行する。
 ステップU58ではメモリM223から印刷速度を読込み、続いて、ステップU59で印刷速度を原動モータ・ドライバ222に出力する。続いて、ステップU60で給紙装置2に給紙開始指令を出力し、ステップU61で印刷部3に印刷開始指令を出力する。これによりモーションスレッド1cが施された大判1に対する印刷を開始する。
 続いて、ステップU62で検査開始スイッチ221がONとなっているか否かを判断し、検査開始スイッチ221がOFFとなっていれば(NO)当該ステップU62の処理を繰り返し、検査開始スイッチ221がONとなっていれば(YES)ステップU63に移行する。
 ステップU63ではメモリM224から撮像回転位相を読込み、続いて、ステップU64で証券印刷機の回転位相検出用カウンタ36からカウント値を読込んでこれをメモリM225に記憶する。
 続いて、ステップU65で証券印刷機の回転位相検出用カウンタ36のカウント値が撮像回転位相と一致しなければ(NO)ステップU64に戻り、証券印刷機の回転位相検出用カウンタ36のカウント値が撮像回転位相と一致すれば(YES)ステップU66に移行して入出力装置213からカメラ34に撮像指令を出力する。これにより印刷が施された大判1(モーションスレッド1c有り)をカメラ34により撮像する。
 ステップU66に続いては、ステップU67で入出力装置213からカメラ34に画像データ送信指令を出力し、続いて、ステップU68でカメラ34から入出力装置212へ撮像データが出力されていなければ(NO)当該ステップU68の処理を繰り返し、カメラ34から入出力装置212へ撮像データが出力されたら(YES)ステップU69に移行する。
 ステップU69ではカウント値Y記憶用メモリM213に1を上書きし、続いて、ステップU70でカウント値X記憶用メモリM214に1を上書きする。
 続いて、ステップU71でカメラ34からRの画素データを読み込んでこれをRの検査画像データ記憶用メモリM231の(X,Y)のアドレス位置に記憶し、ステップU72でカメラ34からGの画素データを読み込んでこれをGの検査画像データ記憶用メモリM232の(X,Y)のアドレス位置に記憶し、ステップU73でカメラ34からBの画素データを読み込んでこれをGの検査画像データ記憶用メモリM233の(X,Y)のアドレス位置に記憶する。
 続いて、ステップU74でカウント値Xに1を加算してこれをカウント値X記憶用メモリM214に上書きし、ステップU75でメモリM229からカメラ34のX方向の画素数を読込む。
 続いて、ステップU76でカウント値Xがカメラ34のX方向の画素数以下であれば(NO)ステップU71に戻り、カウント値Xがカメラ34のX方向の画素数よりも大きくなったら(YES)ステップU77に移行する。
 ステップU77ではカウント値Yに1を加算してこれをカウント値Y記憶用メモリM213に上書きし、続いて、ステップU78でメモリM230からカメラ34のY方向の画素数を読込む。
 続いて、ステップU79でカウント値YがカメラのY方向の画素数以下であれば(NO)ステップU70に戻り、カウント値YがカメラのY方向の画素数よりも大きくなったら(YES)ステップU80に移行する。
 ステップU80ではカウント値Y記憶用メモリM213に1を上書きし、ステップU81でカウント値X記憶用メモリM214に1を上書きする。
 続いて、ステップU82でRの検査画像データ記憶用メモリM231の(X,Y)のアドレス位置から(X,Y)のアドレス位置のRの検査画素データを読込み、ステップU83でメモリM216からRの第1の閾値SR1を読込む。
 続いて、ステップU84で(X,Y)のアドレス位置のRの検査画素データがRの第1の閾値SR1よりも大きければ(YES)当該アドレス位置の検査画素データが赤系統である可能性があるとみなしてステップU85に移行し、(X,Y)のアドレス位置のRの検査画素データがRの第1の閾値SR1以下であれば(NO)当該アドレス位置の検査画素データが赤系統以外であるとみなして後述するステップU187に移行する。
 ステップU85ではGの検査画像データ記憶用メモリM232の(X,Y)のアドレス位置から(X,Y)のアドレス位置のGの検査画素データを読込み、ステップU86でメモリM219からGの第2の閾値SG2を読込む。
 続いて、ステップU87で(X,Y)のアドレス位置のGの検査画素データがGの第2の閾値SG2よりも小さければ(YES)当該アドレス位置の検査画素データが赤系統である可能性があるとみなしてステップU88に移行し、(X,Y)のアドレス位置のGの検査画素データがGの第2の閾値SG2以上であれば(NO)当該アドレス位置の検査画素データが赤系統以外であるとみなして後述するステップU187に移行する。
 ステップU88ではBの検査画像データ記憶用メモリM233の(X,Y)のアドレス位置から(X,Y)のアドレス位置のBの検査画素データを読込み、ステップU89でメモリM221からBの第2の閾値SB2を読込む。
 続いて、ステップU90で(X,Y)のアドレス位置のBの検査画素データがBの第2の閾値SB2よりも小さければ(YES)当該アドレス位置の検査画素データが赤系統であるとみなしてステップU91に移行して仮の検査用マスク記憶用メモリM234の(X,Y)のアドレス位置に「1(R)」を上書きし、(X,Y)のアドレス位置のBの検査画素データがBの第2の閾値SB2以上であれば(NO)当該アドレス位置の検査画素データが赤系統以外であるとみなして後述するステップU187に移行する。
 ステップU91に続いては、ステップU92でカウント値Xに1を加算してこれをカウント値X記憶用メモリM214に上書きし、ステップU93でメモリM229からカメラ34のX方向の画素数を読込む。
 続いて、ステップU94でカウント値XがカメラのX方向の画素数以下であれば(NO)ステップU82に戻り、カウント値XがカメラのX方向の画素数よりも大きくなったら(YES)ステップU95に移行する。
 ステップU95ではカウント値Yに1を加算してこれをカウント値Y記憶用メモリM213に上書きし、続いて、ステップU96でメモリM230からカメラ34のY方向の画素数を読込む。
 続いて、ステップU97でカウント値Yがカメラ34のY方向の画素数以下であれば(NO)ステップU81に戻り、カウント値Yがカメラ34のY方向の画素数よりも大きくなったら(YES)ステップU98に移行する。
 また、ステップU84,ステップU87,ステップU90からステップU187に移行した場合は、ステップU187でGの検査画像データ記憶用メモリM232の(X,Y)のアドレス位置から(X,Y)のアドレス位置のGの検査画素データを読込み、続いて、ステップU188でメモリM218からGの第1の閾値SG1を読込む。
 続いて、ステップU189で(X,Y)のアドレス位置のGの検査画素データがGの第1の閾値SG1よりも大きければ(YES)当該アドレス位置の検査画素データが緑系統である可能性があるとみなしてステップU190に移行し、(X,Y)のアドレス位置のGの検査画素データがGの第1の閾値SG1以下であれば(NO)当該アドレス位置の検査画素データが緑系統以外であるとみなして後述するステップU197に移行する。
 ステップU190ではBの検査画像データ記憶用メモリM233の(X,Y)のアドレス位置から(X,Y)のアドレス位置のBの検査画素データを読込み、続いて、ステップU191でメモリM221からBの第2の閾値SB2を読込む。
 続いて、ステップU192で(X,Y)のアドレス位置のBの検査画素データがBの第2の閾値SB2よりも小さければ(YES)当該アドレス位置の検査画素データが緑系統である可能性があるとみなしてステップU193に移行し、(X,Y)のアドレス位置のBの検査画素データがBの第2の閾値SB2以上であれば(NO)当該アドレス位置の検査画素データが緑系統以外であるとみなして後述するステップU197に移行する。
 ステップU193ではRの検査画像データ記憶用メモリM231の(X,Y)のアドレス位置から(X,Y)のアドレス位置のRの検査画素データを読込み、続いて、ステップU194でメモリM217からRの第2の閾値SR2を読込む。
 続いて、ステップU195で(X,Y)のアドレス位置のRの検査画素データがRの第2の閾値SR2よりも小さければ(YES)当該アドレス位置の検査画素データが緑系統であるとみなしてステップU196に移行し、(X,Y)のアドレス位置のRの検査画素データがRの第2の閾値SR2以上であれば(NO)当該アドレス位置の検査画素データが緑系統以外であるとみなして後述するステップU197に移行する。
 ステップU196では仮の検査用マスク記憶用メモリM234の(X,Y)のアドレス位置に「2(G)」を上書きして上述したステップU92に移行する。
 また、ステップU189,ステップU192,ステップU195からステップU197に移行した場合は、ステップU197でBの検査画像データ記憶用メモリM233の(X,Y)のアドレス位置から(X,Y)のアドレス位置のBの検査画素データを読込み、続いて、ステップU198でメモリM220からBの第1の閾値SB1を読込む。
 続いて、ステップU199で(X,Y)のアドレス位置のBの検査画素データがBの第1の閾値SB1よりも大きければ(YES)当該アドレス位置の検査画素データが青系統である可能性があるとみなしてステップU200に移行し、(X,Y)のアドレス位置のBの検査画素データがBの第1の閾値SB1以下であれば(NO)当該アドレス位置の検査画素データが青系統以外であるとみなして後述するステップU207に移行する。
 ステップU200ではRの検査画像データ記憶用メモリM231の(X,Y)のアドレス位置から(X,Y)のアドレス位置のRの検査画素データを読込み、続いて、ステップU201でメモリM217からRの第2の閾値SR2を読込む。
 続いて、ステップU202で(X,Y)のアドレス位置のRの検査画素データがRの第2の閾値SR2よりも小さければ(YES)当該アドレス位置の検査画素データが青系統である可能性があるとみなしてステップU203に移行し、(X,Y)のアドレス位置のRの検査画素データがRの第2の閾値SR2以上であれば(NO)当該アドレス位置の検査画素データが青系統以外であるとみなして後述するステップU207に移行する。
 ステップU203ではGの検査画像データ記憶用メモリM232の(X,Y)のアドレス位置から(X,Y)のアドレス位置のGの検査画素データを読込み、続いて、ステップU204でメモリM219からGの第2の閾値SG2を読込む。
 続いて、ステップU205で(X,Y)のアドレス位置のGの検査画素データがGの第2の閾値SG2よりも小さければ(YES)当該アドレス位置の検査画素データが青系統であるとみなしてステップU206に移行し、(X,Y)のアドレス位置のGの検査画素データがGの第2の閾値SG2以上であれば(NO)当該アドレス位置の検査画素データが青系統以外であるとみなして後述するステップU207に移行する。
 ステップU206では仮の検査用マスク記憶用メモリM234の(X,Y)のアドレス位置に「3(B)」を上書きして上述したステップU92に移行する。
 また、ステップU199,ステップU202,ステップU205からステップU207に移行した場合は、ステップU207で仮の検査用マスク記憶用メモリM234の(X,Y)のアドレス位置に「0(=モーションスレッド以外)」を上書きして上述したステップU92に移行する。これにより、仮の検査用マスクを作成する。
 また、ステップU97に続くステップU98ではカウント値L記憶用メモリM235に0を上書きし、続いて、ステップU99でカウント値Y記憶用メモリM213に1を上書きし、ステップU100でカウント値X記憶用メモリM214に1を上書きする。
 続いて、ステップU101でモーションスレッドの類似画素数記憶用メモリM236に0を上書きし、ステップU102でカウント値N記憶用メモリM237に1を上書きし、ステップU103でカウント値M記憶用メモリM238に1を上書きする。
 続いて、ステップU104で仮の検査用マスク記憶用メモリM234の(X+M-1,Y+N-1)のアドレス位置のデータを読込み、ステップU105でモーションスレッド用マスク記憶用メモリM222の(M,N)のアドレス位置のデータを読込む。
 続いて、ステップU106で(X+M-1,Y+Nー1)のアドレス位置のデータが(M,N)のアドレス位置のデータと一致すれば(YES)ステップU107に移行し、(X+M-1,Y+Nー1)のアドレス位置のデータが(M,N)のアドレス位置のデータと一致しなければ(NO)後述するステップU108に移行する。
 ステップU107ではモーションスレッド1cの類似画素数に1を加算してモーションスレッドの類似画素数記憶用メモリM236に上書きし、ステップU108でカウント値Mに1を加算してこれをカウント値M記憶用メモリM238に上書きし、ステップU109でメモリM211からモーションスレッド1cのX方向の画素数を読込む。
 続いて、ステップU110でカウント値Mがモーションスレッド1cのX方向の画素数以下であれば(NO)上述したステップU104に戻り、カウント値Mがモーションスレッド1cのX方向の画素数よりも大きくなったら(YES)ステップU111に移行する。
 ステップU111ではカウント値Nに1を加算してこれをカウント値N記憶用メモリM237に上書きし、ステップU112でメモリM212からモーションスレッド1cのY方向の画素数を読込む。
 続いて、ステップU113でカウント値Nがモーションスレッド1cのY方向の画素数以下であれば(NO)上述したステップU103に戻り、カウント値Nがモーションスレッド1cのY方向の画素数よりも大きくなったら(YES)ステップU114に移行する。
 ステップU114ではメモリM236からモーションスレッド1cの類似画素数を読込み、ステップU115でメモリM211からモーションスレッド1cのX方向の画素数を読込み、ステップU116でメモリM212からモーションスレッド1cのY方向の画素数を読込む。
 続いて、ステップU117でモーションスレッド1cの類似画素数を『(モーションスレッドのX方向の画素数)×(モーションスレッドのY方向の画素数)』で除算し、モーションスレッド1cの類似率を演算してこれをメモリM239に記憶する。
 続いて、ステップU118でメモリM240からモーションスレッド1cの類似率の許容値を読込み、ステップU119でモーションスレッド1cの類似率がモーションスレッド1cの類似率の許容値よりも大きければ(YES)ステップU120に移行し、モーションスレッド1cの類似率がモーションスレッド1cの類似率の許容値以下であれば(NO)後述するステップU123に移行する。
 ステップU120ではカウント値Lに1を加算してこれをカウント値L記憶用メモリM235に上書きし、ステップU121でメモリM214及びM213からカウント値X及びカウント値Yを読込み、ステップU122でカウント値X及びカウント値Yをモーションスレッド1cの位置として、モーションスレッド位置記憶用メモリM241のL番目の位置に(X,Y)として記憶する。
 続いて、ステップU123でカウント値Xに1を加算してこれをカウント値X記憶用メモリM214に上書きし、ステップU124でメモリM229からカメラ34のX方向の画素数を読込み、ステップU125でメモリM211からモーションスレッド1cのX方向の画素数を読込む。
 続いて、ステップU126でカウント値Xが(カメラ34のX方向の画素数-モーションスレッド1cのX方向の画素数+1)以下であれば(NO)上述したステップU102に戻り、カウント値Xが(カメラ34のX方向の画素数-モーションスレッド1cのX方向の画素数+1)よりも大きくなったら(YES)ステップU127に移行する。
 ステップU127ではカウント値Yに1を加算してこれをカウント値Y記憶用メモリM213に上書きし、続いて、ステップU128でメモリM230からカメラのY方向の画素数を読込み、ステップU129でメモリM212からモーションスレッド1cのY方向の画素数を読込む。
 続いて、ステップU130でカウント値Yが(カメラ34のY方向の画素数-モーションスレッド1cのY方向の画素数+1)以下であれば(NO)上述したステップU100に戻り、カウント値Yが(カメラ34のY方向の画素数-モーションスレッド1cのY方向の画素数+1)よりも大きくなったら(YES)ステップU131に移行する。
 ステップU131では検査用マスク記憶用メモリM242を初期化(=0)し、ステップU132でカウント値K記憶用メモリM243に1を上書きし、ステップU133でカウント値N記憶用メモリM237に1を上書きし、ステップU134でカウント値M記憶用メモリM238に1を上書きする。
 続いて、ステップU135でモーションスレッド位置記憶用メモリM241のK番目の位置から(X,Y)を読込み、ステップU136でモーションスレッド用マスク記憶用メモリM222のアドレス(M,N)の位置から画素データを読込んでこれを検査用マスク記憶用メモリM242の(X+M-1,Y+N-1)の位置に上書きする。
 続いて、ステップU137でカウント値Mに1を加算してこれをカウント値M記憶用メモリM238に上書きし、ステップU138でメモリM211からモーションスレッド1cのX方向の画素数を読込む。
 続いて、ステップU139でカウント値Mがモーションスレッド1cのX方向の画素数以下であれば(NO)上述したステップU135に戻り、カウント値Mがモーションスレッド1cのX方向の画素数よりも大きければ(YES)ステップU140に移行する。
 ステップU140ではカウント値Nに1を加算してこれをカウント値N記憶用メモリM237に上書きし、続いて、ステップU141でメモリM212からモーションスレッド1cのY方向の画素数を読込む。
 続いて、ステップU142でカウント値Nがモーションスレッド1cのY方向の画素数以下であれば(NO)上述したステップU134に戻り、カウント値Nがモーションスレッド1cのY方向の画素数よりも大きければ(YES)ステップU143に移行する。
 ステップU143ではカウント値Kに1を加算してこれをカウント値K記憶用メモリM243に上書きし、続いて、ステップU144でメモリM235からカウント値Lを読込む。
 続いて、ステップU145でカウント値Kがカウント値L以下であれば(NO)上述したステップU133に戻り、カウント値Kがカウント値Lよりも大きくなったら(YES)ステップU146に移行する。
 ステップU146ではカウント値Y記憶用メモリM213に1を上書きし、続いて、ステップU147でカウント値X記憶用メモリM214に1を上書きし、ステップU148で検査用マスク記憶用メモリM242の(X,Y)のアドレス位置のデータを読込む。
 続いて、ステップU149で検査用マスク記憶用メモリM242の(X,Y)のアドレス位置のデータが1(R)であれば(YES)ステップU150に移行し、検査用マスク記憶用メモリM242の(X,Y)のアドレス位置のデータが1(R)でなければ(NO)後述するステップU208に移行する。
 ステップU150ではRの検査画像データ記憶用メモリM231の(X,Y)のアドレス位置のRの画素データを読込み、ステップU151でRの基準画像データ記憶用メモリM226の(X,Y)のアドレス位置のRの画素データを読込む。
 続いて、ステップU152でRの検査画像データ記憶用メモリM231の(X,Y)のアドレス位置のRの画素データからRの基準画像データ記憶用メモリM226の(X,Y)のアドレス位置のRの画素データを減算し、(X,Y)のアドレス位置のRの画素データの差を演算してこれをメモリM244に記憶する。
 続いて、ステップU153で(X,Y)のアドレス位置のRの画素データの差から(X,Y)のアドレス位置のRの画素データの差の絶対値を演算してこれをメモリM245に記憶し、ステップU154でメモリM246からRの画素データの許容値を読込む。
 続いて、ステップU155で(X,Y)のアドレス位置のRの画素データの差の絶対値がRの画素データの許容値よりも小さければ(YES)ステップU156に移行し、(X,Y)のアドレス位置のRの画素データの差の絶対値がRの画素データの許容値以上であれば(NO)ステップU240に移行して表示器22にNGを表示して後述するステップU162に移行する。
 ステップU156ではカウント値Xに1を加算してこれをカウント値X記憶用メモリM214に上書きし、続いて、ステップU157でメモリM229からカメラ34のX方向の画素数を読込む。
 続いて、ステップU158でカウント値Xがカメラ34のX方向の画素数以下であれば(NO)上述したステップU148に戻り、カウント値Xがカメラ34のX方向の画素数よりも大きくなったら(YES)ステップU159に移行する。
 ステップU159ではカウント値Yに1を加算してこれをカウント値Y記憶用メモリM213に上書きし、続いて、ステップU160でメモリM230からカメラ34のY方向の画素数を読込む。
 続いて、ステップU161でカウント値Yがカメラ34のY方向の画素数以下であれば(NO)上述したステップU147に戻り、カウント値Yがカメラ34のY方向の画素数よりも大きくなったら(YES)ステップU162に移行する。
 ステップU162では印刷終了スイッチ219がONとなっているか否かを判断し、印刷終了スイッチ219がOFFであれば(NO)上述したステップU63に戻り、印刷終了スイッチ219がONとなっていれば(YES)ステップU163に移行する。
 ステップU163では給紙装置2に給紙停止指令を出力し、ステップU164で印刷部3に印刷停止指令を出力し、ステップU165で原動モータ・ドライバ222に停止指令を出力する。これにより証券印刷機100が停止する。
 また、ステップU149からステップU208に移行した場合は、ステップU208で検査用マスク記憶用メモリM242の(X,Y)のアドレス位置のデータが2(G)であれば(YES)ステップU209に移行し、検査用マスク記憶用メモリM242の(X,Y)のアドレス位置の画素データが2(G)でなければ(NO)後述するステップU215に移行する。
 ステップU209ではGの検査画像データ記憶用メモリM232の(X,Y)のアドレス位置のGの画素データを読込み、ステップU210でGの基準画像データ記憶用メモリM227の(X,Y)のアドレス位置のGの画素データを読込む。
 続いて、ステップU211でGの検査画像データ記憶用メモリM232の(X,Y)のアドレス位置のGの画素データからGの基準画像データ記憶用メモリM227の(X,Y)のアドレス位置のGの画素データを減算し、(X,Y)のアドレス位置のGの画素データの差を演算してこれをメモリM247に記憶する。
 続いて、ステップU212で(X,Y)のアドレス位置のGの画素データの差から(X,Y)のアドレス位置のGの画素データの差の絶対値を演算してこれをメモリM248に記憶し、ステップU213でメモリM249からGの画素データの許容値を読込む。
 続いて、ステップU214で(X,Y)のアドレス位置のGの画素データの差の絶対値がGの画素データの許容値よりも小さければ(YES)上述したステップU156に移行し、(X,Y)のアドレス位置のGの画素データの差の絶対値がGの画素データの許容値以上であれば(NO)上述したステップU240に移行する。
 また、ステップU208からステップU215に移行した場合は、ステップU215で検査用マスク記憶用メモリM242の(X,Y)のアドレス位置のデータが3(B)であれば(YES)ステップU216に移行し、検査用マスク記憶用メモリM242の(X,Y)のアドレス位置の画素データが3(B)でなければ(NO)後述するステップU222に移行する。
 ステップU216ではBの検査画像データ記憶用メモリM233の(X,Y)のアドレス位置のBの画素データを読込み、続いて、ステップU217でBの基準画像データ記憶用メモリM228の(X,Y)のアドレス位置のBの画素データを読込む。
 続いて、ステップU218でBの検査画像データ記憶用メモリM233の(X,Y)のアドレス位置のBの画素データからBの基準画像データ記憶用メモリM228の(X,Y)のアドレス位置のBの画素データを減算し、(X,Y)のアドレス位置のBの画素データの差を演算してこれをメモリM250に記憶する。
 続いて、ステップU219で(X,Y)のアドレス位置のBの画素データの差から(X,Y)のアドレス位置のBの画素データの差の絶対値を演算してこれをメモリM251に記憶し、ステップU220でメモリM252からBの画素データの許容値を読込む。
 続いて、ステップU221で(X,Y)のアドレス位置のBの画素データの差の絶対値がBの画素データの許容値よりも小さければ(YES)上述したステップU156に移行し、(X,Y)のアドレス位置のBの画素データの差の絶対値がBの画素データの許容値以上であれば(NO)上述したステップU240に移行する。
 また、ステップU215からステップU222に移行した場合は、ステップU222でRの検査画像データ記憶用メモリM231の(X,Y)のアドレス位置のRの画素データを読込み、続いて、ステップU223でRの基準画像データ記憶用メモリM226の(X,Y)のアドレス位置のRの画素データを読込む。
 続いて、ステップU224でRの検査画像データ記憶用メモリM231の(X,Y)のアドレス位置のRの画素データからRの基準画像データ記憶用メモリM226の(X,Y)のアドレス位置のRの画素データを減算し、(X,Y)のアドレス位置のRの画素データの差を演算してこれをメモリM244に記憶する。
 続いて、ステップU225で(X,Y)のアドレス位置のRの画素データの差から(X,Y)のアドレス位置のRの画素データの差の絶対値を演算してこれをメモリM245に記憶し、ステップU226でメモリM246からRの画素データの許容値を読込む。
 続いて、ステップU227で(X,Y)のアドレス位置のRの画素データの差の絶対値がRの画素データの許容値よりも小さければ(YES)ステップU228に移行し、(X,Y)のアドレス位置のRの画素データの差の絶対値がRの画素データの許容値以上であれば(NO)上述したステップU240に移行する。
 ステップU228ではGの検査画像データ記憶用メモリM232の(X,Y)のアドレス位置のGの画素データを読込み、ステップU229でGの基準画像データ記憶用メモリM227の(X,Y)のアドレス位置のGの画素データを読込む。
 続いて、ステップU230でGの検査画像データ記憶用メモリM232の(X,Y)のアドレス位置のGの画素データからGの基準画像データ記憶用メモリM227の(X,Y)のアドレス位置のGの画素データを減算し、(X,Y)のアドレス位置のGの画素データの差を演算してこれをメモリM247に記憶する。
 続いて、ステップU231で(X,Y)のアドレス位置のGの画素データの差から(X,Y)のアドレス位置のGの画素データの差の絶対値を演算してこれをメモリM248に記憶し、ステップU232でメモリM249からGの画素データの許容値を読込む。
 続いて、ステップU233で(X,Y)のアドレス位置のGの画素データの差の絶対値がGの画素データの許容値よりも小さければ(YES)ステップU234に移行し、(X,Y)のアドレス位置のGの画素データの差の絶対値がGの画素データの許容値以上であれば(NO)上述したステップU240に移行する。
 ステップU234ではBの検査画像データ記憶用メモリM233の(X,Y)のアドレス位置のBの画素データを読込み、ステップU235でBの基準画像データ記憶用メモリM228の(X,Y)のアドレス位置のBの画素データを読込む。
 続いて、ステップU236でBの検査画像データ記憶用メモリM233の(X,Y)のアドレス位置のBの画素データからBの基準画像データ記憶用メモリM228の(X,Y)のアドレス位置のBの画素データを減算し、(X,Y)のアドレス位置のBの画素データの差を演算してこれをメモリM250に記憶する。
 続いて、ステップU237で(X,Y)のアドレス位置のBの画素データの差から(X,Y)のアドレス位置のBの画素データの差の絶対値を演算してこれをメモリM251に記憶し、ステップU238でメモリM252からBの画素データの許容値を読込む。
 続いて、ステップU239で(X,Y)のアドレス位置のBの画素データの差の絶対値がBの画素データの許容値よりも小さければ(YES)上述したステップU156に移行し、(X,Y)のアドレス位置のBの画素データの差の絶対値がBの画素データの許容値以上であれば(NO)上述したステップU240に移行する。
 以上に説明した本実施の形態に係る印刷品質検査装置及び印刷品質検査方法では、モーションスレッド1cの位置を求め、モーションスレッド1c部分についてはカメラ34により撮像したRGB毎の画像データのうちモーションスレッド1c(1cR,1cG,1cB)の色と同系統の色の画像データのみを用いて印刷品質の検査を行う一方、モーションスレッド1c以外の部分についてはRGB全ての画像データを用いて印刷品質の検査を行うようにした。
 ここで、上述した第1の実施の形態でも説明したように、例えば各色モーションスレッド1cR,1cG,1cBとそれぞれ異なる系統の色の画像データでは各色モーションスレッド1cR,1cG,1cBが濃色で現れるため、許容値を通常の値とした場合は少しの角度変化でモーションスレッド1cの絵柄が変化するとしてNGと判断される可能性がある。そのため、本実施の形態においても、各色モーションスレッド1cR,1cG,1cBの部分については異なる系統の色の画像データによる検査は行わないものとする。
 一方、各色モーションスレッド1cR,1cG,1cBの色と同系統の色の画像データでは各色モーションスレッド1cR,1cG,1cBが無色化されるか又は淡色で現れるため、通常の許容値を用いた検査において実質的にモーションスレッド1cを無視することができる。そのため、モーションスレッド1c部分については、各色モーションスレッド1cR,1cG,1cBの色と同系統の色の画像データのみを用いて、基準画像データに基づきOK/NGの判断を行う。
 これにより、本実施の形態では、モーションスレッド1cの絵柄の変化が印刷品質の検査に影響を及ぼすことを防止し、モーションスレッド1cの絵柄に影響されることなく印刷品質の検査を行うことが可能となり、モーションスレッド1cが設けられた大判印刷物1に施した印刷の品質を高精度に検査することができる。
 1…大判印刷物、1a…小切れ、1b…単色モーションスレッド、1c…多色モーションスレッド、1cR…赤色モーションスレッド、1cG…緑色モーションスレッド、1cB…青色モーションスレッド、1cM…多色モーションスレッド範囲、2…給紙装置、3…印刷部、3A~3F…印刷ユニット、4…コーティング部、5…排紙パイル、6…排紙装置、7…コータ胴、8…圧胴、10…印刷品質検査部、11…CPU、12…ROM、13…RAM、14~20,211~215…入出力装置、21…入力装置、22…表示器、22a…小切れ画像表示部、22b…大判印刷物表示部、22c…大判印刷物が撮像されている部分以外の領域、23…出力装置、24…CDドライブ、25…Rのボタン、26…Gのボタン、27…Bのボタン、28…モーションスレッドの色設定完了スイッチ、29…選択範囲確定スイッチ、30…基準画像データ読込みスイッチ、31…検査開始スイッチ、32…検査終了スイッチ、33…マウス、34,34B…カラーカメラ、34A…モノクロカメラ、35,35D…可視光照明器、35A…Rの照明器、35B…Gの照明器、35C…Bの照明器、36…証券印刷機の回転位相検出用カウンタ、37…証券印刷機駆動モータ用ロータリ・エンコーダ、38…遮光板、100…証券印刷機、216…インターフェース、217…モーションスレッドの画素データ読込スイッチ、218…印刷開始スイッチ、219…印刷終了スイッチ、220…基準画像データ読込みスイッチ、221…検査開始スイッチ、222…原動モータ・ドライバ、223…原動モータ、224…原動モータ用ロータリ・エンコーダ、A…モーションスレッド範囲、M11~M56,M139~M166,M211~M252…メモリ

Claims (14)

  1.  モーションスレッドが設けられた印刷物に光を照射する照明器と、
     前記印刷物を撮像する撮像装置と、
     前記撮像装置によって撮像された画像データに基づいて前記印刷物の印刷品質を検査する印刷品質検査部と
    を備えた印刷品質検査装置において、
     前記撮像装置が印刷物をRGB毎に撮像し、前記印刷品質検査部が前記モーションスレッドを含む範囲の印刷品質の検査を前記モーションスレッドの色と同系統の色の画像データに基づいて行う、
    または、
     前記照明器が前記モーションスレッドの色と同系統の色の光を照射し、前記撮像装置がモノクロ画像を撮像する
    ことを特徴とする印刷品質検査装置。
  2.  前記撮像装置が印刷物をRGB毎に撮像し、前記印刷品質検査部が前記モーションスレッドを含む範囲の印刷品質の検査を前記モーションスレッドの色と同系統の色の画像データに基づいて行う場合に、前記印刷品質検査部が、前記モーションスレッドを含む範囲以外の領域の印刷品質の検査をRGB全ての画像データを用いて行う
    ことを特徴とする請求項1記載の印刷品質検査装置。
  3.  前記印刷品質検査部が、前記モーションスレッドを含む範囲の印刷品質を検査する際に、前記モーションスレッドの色と異なる系統の色の画像データを用いた検査を、印刷が正常か否かを判断するための許容値を検査が無効化される値として実施する
    ことを特徴とする請求項2記載の印刷品質検査装置。
  4.  前記印刷物をRGB毎に撮像する第二の撮像装置を備え、
     前記照明器がモーションスレッドの色と同系統の色の光を照射し、前記撮像装置がモノクロ画像を撮像する場合に、前記印刷品質検査部が、前記モーションスレッドを含む範囲以外の領域の印刷品質の検査を前記第二の撮像装置によって撮像したRGB全ての画像データのうち、前記モーションスレッドの色とは異なる系統の色の画像データに基づいて行う
    ことを特徴とする請求項1記載の印刷品質検査装置。
  5.  前記印刷品質検査部が、前記第二の撮像装置によって取得した画像データに基づいて前記モーションスレッドを含む範囲の印刷品質を検査する際に、印刷が正常か否かを判断するための許容値を検査が無効化される値として実施する
    ことを特徴とする請求項4記載の印刷品質検査装置。
  6.  前記撮像装置が印刷物をRGB毎に撮像し、前記印刷品質検査部が前記モーションスレッドを含む範囲の印刷品質の検査を前記モーションスレッドの色と同系統の色の画像データに基づいて行う場合に、前記印刷品質検査部が、前記撮像装置によって取得したRGB全ての画像データに基づいて前記モーションスレッドの位置を求める
    ことを特徴とする請求項1から請求項3のいずれか1項に記載の印刷品質検査装置。
  7.  前記印刷品質検査部が、前記撮像装置によって取得したRGB全ての画像データと予め取得した前記モーションスレッドの画像データとのパターン・マッチングにより前記モーションスレッドの位置を求める
    ことを特徴とする請求項6記載の印刷品質検査装置。
  8.  モーションスレッドが設けられた印刷物に照明器により光を照射し、
     モーションスレッドが設けられた印刷物を撮像装置により撮像し、
     前記撮像装置によって撮像された画像データに基づいて前記印刷物の印刷品質を印刷品質検査部により検査する印刷品質検査方法において、
     前記撮像装置が印刷物をRGB毎に撮像し、前記印刷品質検査部が前記モーションスレッドを含む範囲の印刷品質の検査を前記モーションスレッドの色と同系統の色の画像データに基づいて行う、
    または
     前記照明器が前記モーションスレッドの色と同系統の色の光を照射し、前記撮像装置がモノクロ画像を撮像する
    ことを特徴とする印刷品質検査方法。
  9.  前記撮像装置が印刷物をRGB毎に撮像し、前記印刷品質検査部が前記モーションスレッドを含む範囲の印刷品質の検査を前記モーションスレッドの色と同系統の色の画像データに基づいて行う場合に、前記印刷品質検査部が、前記モーションスレッドを含む範囲以外の領域の印刷品質の検査をRGB全ての画像データを用いて行う
    ことを特徴とする請求項8記載の印刷品質検査方法。
  10.  前記印刷品質検査部が、前記モーションスレッドを含む範囲の印刷品質を検査する際に、前記モーションスレッドの色と異なる系統の色の画像データを用いた検査を、印刷が正常か否かを判断するための許容値を検査が無効化される値として実施する
    ことを特徴とする請求項9記載の印刷品質検査方法。
  11.  前記照明器が前記モーションスレッドの色と同系統の色の光を照射し、前記撮像装置がモノクロ画像を撮像する場合に、
     第二の撮像装置により印刷物をRGB毎に撮像し、
     前記印刷品質検査部が、前記モーションスレッドを含む範囲以外の領域の印刷品質の検査を前記第二の撮像装置によって撮像したRGB全ての画像データのうち、前記モーションスレッドの色とは異なる系統の色の画像データに基づいて行う
    ことを特徴とする請求項8記載の印刷品質検査方法。
  12.  前記印刷品質検査部が、前記第二の撮像装置によって取得した画像データに基づいて前記モーションスレッドを含む範囲の印刷品質を検査する際に、印刷が正常か否かを判断するための許容値を検査が無効化される値として実施する
    ことを特徴とする請求項11記載の印刷品質検査方法。
  13.  前記撮像装置が印刷物をRGB毎に撮像し、前記印刷品質検査部が前記モーションスレッドを含む範囲の印刷品質の検査を前記モーションスレッドの色と同系統の色の画像データに基づいて行う場合に、
     前記印刷品質検査部が、前記撮像装置によって取得したRGB全ての画像データに基づいて前記モーションスレッドの位置を求める
    ことを特徴とする請求項8から請求項10のいずれか1項に記載の印刷品質検査方法。
  14.  前記印刷品質検査部が、前記撮像装置によって取得したRGB全ての画像データと予め取得した前記モーションスレッドの画像データとのパターン・マッチングにより前記モーションスレッドの位置を求める
    ことを特徴とする請求項13記載の印刷品質検査方法。
PCT/JP2017/034022 2016-09-21 2017-09-21 印刷品質検査装置及び印刷品質検査方法 WO2018056341A1 (ja)

Priority Applications (5)

Application Number Priority Date Filing Date Title
EP17853110.9A EP3517300B1 (en) 2016-09-21 2017-09-21 Print quality inspection apparatus and print quality inspection method
JP2018540283A JP6893519B2 (ja) 2016-09-21 2017-09-21 印刷品質検査装置及び印刷品質検査方法
CN201780057570.6A CN109789697B (zh) 2016-09-21 2017-09-21 印刷品质检查装置和印刷品质检查方法
US16/335,141 US11151708B2 (en) 2016-09-21 2017-09-21 Print quality inspection apparatus and print quality inspection method
US16/891,514 US11094051B2 (en) 2016-09-21 2020-06-03 Print quality inspection apparatus and print quality inspection method

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2016184429 2016-09-21
JP2016-184429 2016-09-21
JP2016184428 2016-09-21
JP2016-184428 2016-09-21

Related Child Applications (2)

Application Number Title Priority Date Filing Date
US16/335,141 A-371-Of-International US11151708B2 (en) 2016-09-21 2017-09-21 Print quality inspection apparatus and print quality inspection method
US16/891,514 Division US11094051B2 (en) 2016-09-21 2020-06-03 Print quality inspection apparatus and print quality inspection method

Publications (1)

Publication Number Publication Date
WO2018056341A1 true WO2018056341A1 (ja) 2018-03-29

Family

ID=61689501

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2017/034022 WO2018056341A1 (ja) 2016-09-21 2017-09-21 印刷品質検査装置及び印刷品質検査方法

Country Status (5)

Country Link
US (2) US11151708B2 (ja)
EP (1) EP3517300B1 (ja)
JP (1) JP6893519B2 (ja)
CN (1) CN109789697B (ja)
WO (1) WO2018056341A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112219112A (zh) * 2018-06-08 2021-01-12 麦克赛尔新领域株式会社 印刷检查机

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109916848B (zh) * 2018-12-17 2021-09-07 西安航天化学动力有限公司 三氟化硼三乙醇胺中硼质量分数近红外检测方法

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4892336A (en) * 1986-03-18 1990-01-09 Gao Gesellschaft Fuer Automation Und Organisation Mbh Antifalsification document having a security thread embedded therein and a method for producing the same
JP2012066430A (ja) 2010-09-22 2012-04-05 Komori Corp 印刷品質検査装置
JP2015104832A (ja) * 2013-11-29 2015-06-08 株式会社小森コーポレーション シート状物の検査装置

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5653835A (en) * 1980-08-29 1981-05-13 Toyo Seikan Kaisha Ltd Can cap seaming tool
JPS649397A (en) * 1987-07-01 1989-01-12 Ngk Insulators Ltd Dry distillation treating device of radioactive waste
JP3948866B2 (ja) * 1999-11-02 2007-07-25 大日本印刷株式会社 印刷物検査方法及び装置
DE102004014532B3 (de) * 2004-03-23 2005-03-03 Koenig & Bauer Ag Optisches System zur Erzeugung eines beleuchteten Gebildes
JP4841819B2 (ja) * 2004-09-09 2011-12-21 大日本スクリーン製造株式会社 物体のカラー画像による欠陥検出
DE102005031957B4 (de) * 2005-07-08 2007-03-22 Koenig & Bauer Ag Vorrichtung zur Inspektion eines Bedruckstoffes mit uneinheitlich reflektierenden Oberflächen
JP4019397B1 (ja) * 2007-02-22 2007-12-12 洋 武井 物品検査装置
KR101118210B1 (ko) * 2009-03-12 2012-03-16 아주하이텍(주) 인쇄회로기판의 외관 검사 시스템 및 방법
JP5945386B2 (ja) * 2011-02-11 2016-07-05 名古屋電機工業株式会社 印刷半田検査装置
EP2505356A1 (en) * 2011-03-30 2012-10-03 KBA-NotaSys SA Device for offline inspection and color measurement of printed sheets
JP2013020540A (ja) * 2011-07-13 2013-01-31 Glory Ltd 紙葉類識別装置及び紙葉類識別方法
DE102012215114B4 (de) * 2012-08-24 2015-03-19 Koenig & Bauer Aktiengesellschaft Verfahren zur Inspektion eines Druckerzeugnisses
JP2014059794A (ja) * 2012-09-19 2014-04-03 Komori Corp シート状物の検査装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4892336A (en) * 1986-03-18 1990-01-09 Gao Gesellschaft Fuer Automation Und Organisation Mbh Antifalsification document having a security thread embedded therein and a method for producing the same
JP2012066430A (ja) 2010-09-22 2012-04-05 Komori Corp 印刷品質検査装置
JP2015104832A (ja) * 2013-11-29 2015-06-08 株式会社小森コーポレーション シート状物の検査装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3517300A4

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112219112A (zh) * 2018-06-08 2021-01-12 麦克赛尔新领域株式会社 印刷检查机

Also Published As

Publication number Publication date
US20200294223A1 (en) 2020-09-17
US20190228521A1 (en) 2019-07-25
US11094051B2 (en) 2021-08-17
EP3517300A1 (en) 2019-07-31
JPWO2018056341A1 (ja) 2019-07-04
US11151708B2 (en) 2021-10-19
CN109789697B (zh) 2021-04-02
EP3517300B1 (en) 2021-08-25
CN109789697A (zh) 2019-05-21
JP6893519B2 (ja) 2021-06-23
EP3517300A4 (en) 2020-05-06

Similar Documents

Publication Publication Date Title
JP6893519B2 (ja) 印刷品質検査装置及び印刷品質検査方法
CN107429890A (zh) 车辆用拍摄装置、车辆用灯具以及电子控制单元
US10486043B2 (en) Sensing device and sensing method used in baseball practice apparatus, baseball practice apparatus using the sensing device and the sensing method, and method of controlling the baseball practice apparatus
KR101757310B1 (ko) 카메라 센서를 이용한 스크린 야구 시스템 및 방법
CN109788281B (zh) 一种摄像模组的漏光检测方法及装置
JP2008035256A5 (ja)
CN103827626B (zh) 三维测量装置
JP4589897B2 (ja) 内部品質判定装置
KR20090112538A (ko) 조명 제어를 이용한 골프 영상 획득 장치, 및 그를 이용한 영상처리 기반의 골프 연습 시스템
JP6956004B2 (ja) 欠陥検査装置、及び、欠陥検査装置の製造方法
CN2623298Y (zh) 基于位置传感器的模拟激光射击系统
JP6262382B2 (ja) シーラー塗布装置
CN205749207U (zh) 基于ccd感光器件的雾霾浓度传感器
WO2020215302A1 (zh) 云台控制方法和移动平台
CN1869668A (zh) 用以检测光学元件品质的检测方法及装置
CN220508800U (zh) 一种芯片检测装置
CN1699948A (zh) 建筑物的漏水路径的检测方法
KR101807479B1 (ko) 야구 게임 시스템
JP2019049478A (ja) ワーク検査装置
KR101868971B1 (ko) 엘이디 조명이 구비된 스크린 야구 시스템의 타석 구조
CN202135213U (zh) 一种透雾型车载云台摄像机
JP2014003113A (ja) 部品検査装置
JP5205335B2 (ja) 検査装置
US11029189B2 (en) Liquid surface detecting apparatus and liquid surface detecting method using reflected light
TWI640344B (zh) 互動機器人

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17853110

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2018540283

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2017853110

Country of ref document: EP

Effective date: 20190423