WO2018229903A1 - Image processing device, image processing system, image processing method and image processing program - Google Patents

Image processing device, image processing system, image processing method and image processing program Download PDF

Info

Publication number
WO2018229903A1
WO2018229903A1 PCT/JP2017/021979 JP2017021979W WO2018229903A1 WO 2018229903 A1 WO2018229903 A1 WO 2018229903A1 JP 2017021979 W JP2017021979 W JP 2017021979W WO 2018229903 A1 WO2018229903 A1 WO 2018229903A1
Authority
WO
WIPO (PCT)
Prior art keywords
document
image
bundle
reading
images
Prior art date
Application number
PCT/JP2017/021979
Other languages
French (fr)
Japanese (ja)
Inventor
夕貴 松田
克仁 島▲崎▼
雅彦 小箱
Original Assignee
株式会社Pfu
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 株式会社Pfu filed Critical 株式会社Pfu
Priority to PCT/JP2017/021979 priority Critical patent/WO2018229903A1/en
Publication of WO2018229903A1 publication Critical patent/WO2018229903A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/21Intermediate information storage

Definitions

  • the present invention relates to an image processing apparatus, an image processing system, an image processing method, and an image processing program.
  • a document bound with a binder also includes a bundle of documents bound with staples.
  • staple removing apparatus an apparatus that automatically removes staples bound to a bundle of documents to be converted into electronic data. If the staples bound to the bundle of documents can be automatically removed, the burden on the operator is reduced when the document managed by binding with the binder is converted to electronic data.
  • the staple removal may fail even when the staple removal device is used.
  • the staple removing device it is difficult for the staple removing device to automatically remove all the staples from the original bundle. If automatic removal of the staples using the staple removing device fails, the operator manually removes the staples from the original bundle, and the original bundle after the staples are removed (that is, after being separated into individual originals). The document bundle is again read by the scanner. At this time, conventionally, since the operator manually specifies the insertion position of the original document additionally read by the scanner with respect to the original document, the operation efficiency of the operator is poor.
  • the disclosed technology has been made in view of the above, and aims to improve the work efficiency of the operator.
  • the image processing apparatus includes a storage unit, a determination unit, and an insertion unit.
  • the storage unit is a group of documents formed by a plurality of documents, and includes a plurality of first documents read by a first reading on the document group including a document bundle that is a bundle of a plurality of documents.
  • the determination unit is a plurality of second images that are images of each document of the document bundle, and the plurality of second images read by a second reading subsequent to the first reading.
  • the insertion position for the first image is determined.
  • the insertion unit inserts the plurality of second images between the plurality of first images according to the determined insertion position.
  • the operator's work efficiency can be improved.
  • FIG. 1 is a diagram illustrating a configuration example of an image processing system according to the first embodiment.
  • FIG. 2 is a diagram for explaining an operation example of the image processing system according to the first embodiment.
  • FIG. 3 is a diagram for explaining an operation example of the image processing system according to the first embodiment.
  • FIG. 4 is a diagram for explaining an operation example of the image processing system according to the first embodiment.
  • FIG. 5 is a diagram for explaining an operation example of the image processing system according to the first embodiment.
  • FIG. 6 is a diagram for explaining an operation example of the image processing system according to the first embodiment.
  • FIG. 7 is a diagram for explaining an operation example of the image processing system according to the first embodiment.
  • FIG. 8 is a diagram for explaining an operation example of the image processing system according to the first embodiment.
  • FIG. 9 is a diagram illustrating an example of a processing flow during first reading according to the first embodiment.
  • FIG. 10 is a diagram illustrating an example of a document table at the time of first reading according to the first embodiment.
  • FIG. 11 is a diagram illustrating an example of area division according to the first embodiment.
  • FIG. 12 is a diagram illustrating an example of a pixel density table according to the first embodiment.
  • FIG. 13 is a diagram illustrating an example of a processing flow during second reading according to the first embodiment.
  • FIG. 14 is a diagram illustrating an example of the pixel density acquired at the time of the second reading for the document bundle BC according to the first embodiment.
  • FIG. 15 is a diagram illustrating an example of a distance value calculated at the time of the second reading for the document bundle BC according to the first embodiment.
  • FIG. 16 is a diagram illustrating an example of a document table at the time of second reading of the document bundle BC according to the first embodiment.
  • FIG. 17 is a diagram illustrating an example of the pixel density acquired at the time of the second reading for the document bundle BE according to the first embodiment.
  • FIG. 18 is a diagram illustrating an example of a distance value calculated at the time of the second reading for the document bundle BE according to the first embodiment.
  • FIG. 19 is a diagram illustrating an example of a document table at the time of second reading of the document bundle BE according to the first embodiment.
  • FIG. 20 is a diagram illustrating an example of a pixel density table according to the third embodiment.
  • FIG. 21 is a diagram illustrating an example of the pixel density acquired at the time of the second reading for the document bundle BC according to the third embodiment.
  • FIG. 22 is a diagram illustrating an example of a distance value calculated at the time of second reading for the document bundle BC according to the third embodiment.
  • FIG. 23 is a diagram illustrating an example of the pixel density acquired at the time of the second reading for the document bundle BE of the third embodiment.
  • FIG. 24 is a diagram illustrating an example of a distance value calculated at the time of the second reading for the document bundle BE according to the third embodiment.
  • Embodiments of an image processing apparatus, an image processing system, an image processing method, and an image processing program disclosed in the present application will be described below with reference to the drawings. Note that the image processing apparatus, the image processing system, the image processing method, and the image processing program disclosed in the present application are not limited by this embodiment. In addition, in the embodiment, the same reference numerals are given to configurations having the same functions and steps for performing the same processing.
  • FIG. 1 is a diagram illustrating a configuration example of an image processing system according to the first embodiment.
  • the image processing system 1 includes an image processing device 10, a control unit 11, a document reading unit 12, a document bundle detection unit 13, a staple detection unit 14, a staple removal unit 15, and an offset discharge unit 16. And have.
  • the image processing apparatus 10, the document reading unit 12, the document bundle detection unit 13, the staple detection unit 14, the staple removal unit 15, and the offset discharge unit 16 operate under the control of the control unit 11.
  • the image processing apparatus 10 includes a storage unit 101, an insertion position determination unit 102, an image insertion unit 103, and a file generation unit 104.
  • the storage unit 101 stores an image of a document read by the document reading unit 12 (hereinafter sometimes referred to as “document image”).
  • the storage unit 101 stores a document image (hereinafter also referred to as “first document image”) read by the first reading of the document reading unit 12 with respect to the document group GR.
  • the document group GR is formed of 14 documents A1, A2, B1, B2, B3, B4, C1, C2, C3, D1, D2, E1, E2, and F1.
  • the number of documents forming the document group GR to be processed by the image processing apparatus 10 is not limited to 14 sheets.
  • FIG. 2 is a diagram for explaining an operation example of the image processing system according to the first embodiment. As shown in FIG.
  • the document group GR includes a document bundle BA, BB, BC, BD, BE, which is a bundle of a plurality of documents, as a part of the document group GR. Therefore, the number of originals forming the original bundles BA, BB, BC, BD, BE is smaller than the number of originals forming the original group GR. That is, the original bundle BA is a bundle of originals in which two originals A1 and A2 are bound together by a staple SP, and the original bundle BB is a four-part original B1, B2, B3, and B4.
  • the original bundle BC is a bundle of originals, which are three originals C1, C2, and C3 bound together by staples SP, and the original bundle BD is the originals D1, D2.
  • the two originals are a bundle of originals bound together by staples SP
  • the original bundle BE is a bundle of originals obtained by binding two originals E1 and E2 together.
  • the insertion position determination unit 102 determines the insertion position of the document image (hereinafter, also referred to as “second document image”) read by the second reading of the document reading unit 12 with respect to the first document image.
  • the second reading by the document reading unit 12 is a reading subsequent to the first reading by the document reading unit 12. For example, when the first reading is the first reading, the second reading is the second reading. Reading. However, other readings may exist between the first reading and the second reading.
  • the first reading is a reading on the document group GR
  • the second reading is a reading on any one or a plurality of document bundles BA, BB, BC, BD, BE included in the document group GR. .
  • the second document image is an image of each document included in one of the document bundles BA, BB, BC, BD, and BE.
  • the second document image is an image of each of the documents C1, C2, and C3.
  • the image insertion unit 103 inserts the second document image into the first document image according to the insertion position determined by the insertion position determination unit 102.
  • the file generation unit 104 generates an image file including the second document image inserted into the first document image according to a predetermined file format.
  • a predetermined file format is PDF (Portable Document Format).
  • the original reading unit 12 reads the original group GR by the first reading, and any one or a plurality of original bundles BA, BB, BC, BD, BE included in the original group GR by the second reading. Is read.
  • the staple detection unit 14 detects the position of each staple SP binding the original bundles BA, BB, BC, BD, BE.
  • the position of the staple SP binding the bundle of documents may be referred to as “staple position”.
  • the staple removing unit 15 tries to remove the staple SP from each original bundle BA, BB, BC, BD, BE according to the staple position detected by the staple detecting unit 14.
  • the removal of the staple SP by the staple removing unit 15 may be successful or unsuccessful.
  • a document bundle in which the staple SP has been successfully removed by the staple removing unit 15 is referred to as a “removed successful document bundle”
  • a document bundle in which the staple SP has failed to be removed by the staple removing unit 15 is referred to as a “removal failed document bundle”.
  • the document bundle detection unit 13 detects a removal failure document bundle among the document bundles BA, BB, BC, BD, BE in the document group GR. For example, the document bundle detection unit 13 detects a document bundle in which the staple SP still exists even after the staple removal unit 15 tries to remove the staple SP as a removal failure document bundle.
  • the offset discharge unit 16 offsets the removal failure original bundle in the original group GR and discharges it to a stacker (not shown). Thereby, in the document group GR which is discharged and stacked on the stacker after the first reading, the unsuccessful removal document bundle is offset and stacked with respect to the removal success document bundle.
  • ⁇ Operation of image processing system> 3 to 8 are diagrams for explaining an operation example of the image processing system according to the first embodiment.
  • a document group GR formed from the document bundles BA, BB, BC, BD, BE and the document F1 is shot by a shooter (not shown). Placed in.
  • the document group GR placed on the shooter is taken into the image processing system 1 by ADF (Auto Document Feeder).
  • ADF Auto Document Feeder
  • the originals B1, B2, B3, and B4 bound together by the staple SP are conveyed to the staple detection unit 14 as a unit, and the originals C1, C2, and C3 bound together by the staple SP are integrated as a staple detection unit.
  • the originals D1 and D2 bound together by the staple SP are transported together to the staple detection unit 14
  • the originals E1 and E2 bound together by the staple SP are transported together to the staple detection unit 14.
  • the document F1 not bound by the staple SP is conveyed to the staple detection unit 14 by one sheet. Therefore, the staple detection unit 14 detects the staple position for each of the document bundles BA, BB, BC, BD, BE, and the staple removal unit 15 detects the document bundles BA, BB, BC, BD, BE. An attempt is made to remove the staples SP for each original bundle.
  • the staple SP has been successfully removed from all the original bundles BA, BB, BC, BD, and BE. Therefore, the originals A1, A2, B1, B2, B3, B4, C1, C2, C3, D1, D2, E1, E2, and F1 are fed one by one from the staple removing unit 15 via the original bundle detecting unit 13. It is conveyed to the document reading unit 12. At this time, since the staple SP has been successfully removed from all the document bundles BA, BB, BC, BD, and BE, the document bundle detection unit 13 does not detect the removal failure document bundle.
  • the original reading unit 12 has the originals A1, A2, B1, B2, B3, B4. Read each original of C1, C2, C3, D1, D2, E1, E2, and F1 one by one.
  • the document reading unit 12 can read both sides of each document.
  • the first original image read by the first reading and stored in the storage unit 101 is 3, the image A1f on the front surface of the document A1, the image A1b on the back surface of the document A1, the image A2f on the front surface of the document A2, the image A2b on the back surface of the document A2, the image B1f on the surface of the document B1, and the document B1.
  • the images A1f, A1b, A2f, A2b, B1f, B1b, B2f, B2b, B3f, B3b, B4f, B4b, C1f, C1b, C2f, C2b, C3f, C3b, D1f, D1b, D2f, D2b, E1b, E1b , E2f, E2b, F1f, and F1b correspond to the first original image.
  • the first document image is stored in the storage unit 101 in the order of images A1f to F1b.
  • the file generation unit 104 outputs an image file corresponding to the document bundle BA (that is, an image file including all the images A1f, A1b, A2f, and A2b) and an image file corresponding to the document bundle BB (that is, the image B1f, B1b, B2f, B2b, B3f, B3b, B4f, B4b) and an image file corresponding to the original bundle BC (that is, an image including all of the images C1f, C1b, C2f, C2b, C3f, C3b).
  • an image file corresponding to the document bundle BD that is, an image file including all of the images D1f, D1b, D2f, and D2b
  • an image file corresponding to the document bundle BE that is, the images E1f, E1b, E2f,
  • An image file including all of E2b) and an image file corresponding to the document F1 that is, an image 1f, an image file
  • the above is an operation example when the staple SP is successfully removed from all the document bundles of the document bundles BA, BB, BC, BD, and BE.
  • the originals C1, C2, and C3 are transported together from the staple removing unit 15 to the original reading unit 12 via the original bundle detection unit 13 while being bound together by the staples SP (that is, as the original bundle BC), and the original E1. , E2 are conveyed together from the staple removal unit 15 to the document reading unit 12 via the document bundle detection unit 13 while being bound together by the staple SP (that is, as the document bundle BE). Therefore, the document bundle detection unit 13 detects the document bundles BC and BE as the removal failure document bundle.
  • the original reading unit 12 determines each of the originals A1, A2, B1, B2, B3, B4, D1, D2, and F1. Scan one original at a time.
  • the original reading unit 12 reads the original bundles BC and BE that are still bound by the staple SP. It is difficult to read the image C1b, the image C2f, the image C2b, and the image C3f in the document bundle BC that has been bound by the staple SP.
  • the document reading unit 12 when the document reading unit 12 reads the document bundle BC that has been bound by the staple SP, the image C1f that is the uppermost image of the document bundle BC and the image that is the lowermost image of the document bundle BC. C3b is read.
  • the document reading unit 12 when the document reading unit 12 reads the document bundle BE that has been bound by the staple SP, the document reading unit 12 includes an image E1f that is an uppermost image of the document bundle BE and an image of the lowermost surface of the document bundle BE. The image E2b is read.
  • the first original image read by the first reading and stored in the storage unit 101 includes images A1f, A1b, A2f, A2b, images B1f, B1b, B2f, B2b, B3f. , B3b, B4f, B4b, images C1f, C3b, images D1f, D1b, D2f, D2b, images E1f, E2b, and images F1f, F1b.
  • the images C1f and C3b and the images E1f and E2b include the image SPI of the staple SP.
  • the first document image is stored in the storage unit 101 in the order of images A1f to F1b.
  • the file generation unit 104 outputs an image file corresponding to the document bundle BA (that is, an image file including all the images A1f, A1b, A2f, and A2b) and an image file corresponding to the document bundle BB (that is, the image B1f, B1b, B2f, B2b, B3f, B3b, B4f, B4b), an image file corresponding to the original bundle BD (that is, an image file including all of the images D1f, D1b, D2f, D2b),
  • An image file corresponding to the document F1 (that is, an image file including all of the images F1f and F1b) is generated according to a predetermined file format.
  • each of the document bundles BA, BB, and BD is a successfully removed document bundle.
  • the offset discharge unit 16 offsets the original bundles BC and BE, which are the removal failure original bundles, and discharges them to the stacker.
  • the second reading is performed subsequent to the first reading.
  • the document bundles BC and BE from which the staple SP has been removed by the operator's manual work are sequentially placed on the shooter by the operator.
  • the document bundles BC and BE sequentially placed on the shooter by the operator are taken into the image processing system 1 by the ADF.
  • the documents C1, C2, and C3 are one by one for the staple detection unit 14 and the staple removal unit 15 at the time of the second reading of the document bundle BC.
  • it is conveyed to the document reading unit 12 via the document bundle detection unit 13. Therefore, the document reading unit 12 reads each document of the documents C1, C2, and C3 one by one during the second reading of the document bundle BC.
  • the document reading unit 12 can read both sides of each document. Therefore, as shown in FIG.
  • the second original image read by the second reading with respect to the original bundle BC includes an image C1f ′ on the front side of the original C1, an image C1b ′ on the back side of the original C1, and an image on the front side of the original C2.
  • the staple SP since the staple SP has already been removed from the document bundle BE placed on the shooter by the operator, the documents E1 and E2 are scanned one by one when the document bundle BE is read. Then, it is conveyed to the document reading unit 12 via the staple removing unit 15 and the document bundle detecting unit 13. Therefore, the document reading unit 12 reads each document of the documents E1 and E2 one by one in the second reading of the document bundle BE. Therefore, as shown in FIG. 7, the second document image read by the second reading with respect to the document bundle BE is the image E1f ′ on the front surface of the document E1, the image E1b ′ on the back surface of the document E1, and the image on the surface of the document E2. E2f ′ and the image E2b ′ on the back side of the document E2.
  • each of the images C1f ', C1b', C2f ', C2b', C3f ', C3b', E1f ', E1b', E2f ', E2b' corresponds to a second original image.
  • the insertion position determination unit 102 reads the image C1f read by the first reading (that is, the uppermost image of the document bundle BC (FIG. 4)) and the image E1f (that is, the uppermost image of the document bundle BE (FIG. 4). )) And each of the images C1f ′, C1b ′, C2f ′, C2b ′, C3f ′, C3b ′, E1f ′, E1b ′, E2f ′, and E2b ′ read by the second reading are compared. The degree of coincidence is calculated.
  • both the image C1f and the image C1f ′ are images of the surface of the original C1
  • the degree of coincidence between the image C1f and the image C1f ′ is maximized.
  • both the image E1f and the image E1f ′ are images of the surface of the document E1
  • the image E1f and the images C1f ′, C1b ′, C2f ′, C2b ′, C3f ′, C3b ′, E1f ′, E1b ′, E2f In comparison with each of ', E2b', the degree of coincidence between the image E1f and the image E1f 'is maximized.
  • the insertion position determination unit 102 determines the insertion positions of the images C1f ′, C1b ′, C2f ′, C2b ′, C3f ′, C3b ′ with respect to the first document image of the first document image stored in the storage unit 101. It is determined that this is the position of the image C1f (FIG. 4). Further, the insertion position determination unit 102 indicates the insertion position of the images E1f ′, E1b ′, E2f ′, E2b ′ with respect to the first document image, among the first document images stored in the storage unit 101, the image E1f (FIG. It is determined that the position is 4).
  • the image insertion unit 103 converts the images C1f and C3b into images C1f ′, C1b ′, C2f ′, C2b ′, C3f ′, and C3b ′ in the first document image (FIG. 4) stored in the storage unit 101.
  • the images C1f ′, C1b ′, C2f ′, C2b ′, C3f ′, C3b ′ are inserted into the first document image.
  • the image insertion unit 103 replaces the images E1f and E2b with the images E1f ′, E1b ′, E2f ′, and E2b ′ in the first document image (FIG.
  • all the images C1f ′, C1b ′, C2f ′, and B2b ′ of the document bundle BC are between the image B4b that is the image on the bottom surface of the document bundle BB and the image D1f that is the image on the top surface of the document bundle BD.
  • C2b ′, C3f ′, and C3b ′ are inserted.
  • all the images E1f ′, E1b ′, E2f ′, E2f ′ of the document bundle BE are placed between the image D2b which is an image on the lowermost surface of the document bundle BD and the image F1f which is an image on the surface of the document F1.
  • E2b ′ is inserted.
  • the file generation unit 104 generates an image file corresponding to the document bundle BC (that is, an image file including all of the images C1f ′, C1b ′, C2f ′, C2b ′, C3f ′, and C3b ′) and the document bundle BE.
  • Corresponding image files that is, image files including all of the images E1f ′, E1b ′, E2f ′, E2b ′
  • each of the document bundles BC and BE is a removal failure document bundle.
  • the above is an operation example when the removal of the staple SP from the original bundle BC, BE among the original bundles BA, BB, BC, BD, BE has failed.
  • FIG. 9 is a diagram illustrating an example of a processing flow during first reading according to the first embodiment.
  • step ST01 the control unit 11 resets the document ID to “0”.
  • step ST03 a plurality of documents included in the document group GR placed on the shooter are sequentially conveyed to the staple detection unit 14 by the ADF.
  • step ST05 the staple detection unit 14 tries to detect the staple position on the document. If the staple position is detected on the document (step ST05: Yes), the process proceeds to step ST17. If the staple position is not detected on the document (step ST05: No), the process proceeds to step ST07. .
  • step ST07 one original is conveyed to the original reading unit 12.
  • step ST09 the document reading unit 12 reads the document and stores the read image in the storage unit 101 as the first document image.
  • step ST11 the control unit 11 increments the document ID.
  • step ST13 the file generation unit 104 generates an image file including all the images read in step ST09, and stores the generated image file in the storage unit 101.
  • step ST15 the control unit 11 determines whether there is a document remaining on the shooter, that is, whether the document is not finished. If there is a document remaining on the shooter, that is, if the document is not finished (step ST15: No), the process returns to step ST03. On the other hand, when there is no document remaining on the shooter, that is, when the document is finished (step ST15: Yes), the control unit 11 finishes the first reading.
  • step ST17 the staple removing unit 15 attempts to remove the staple SP from the document according to the staple position detected in step ST05.
  • step ST19 the document bundle detection unit 13 detects a removal failure document bundle by determining whether the staple removal unit 15 has successfully removed the staple SP. If the removal of the staple SP in step ST17 is successful (step ST19: Yes), the process proceeds to step ST21, and if the removal of the staple SP in step ST17 has failed (step ST19: No). The process proceeds to step ST31.
  • step ST21 only one original is conveyed from the original bundle detection unit 13 to the original reading unit 12.
  • step ST23 the document reading unit 12 reads the document, and stores the read image in the storage unit 101 as a first document image.
  • step ST25 the control unit 11 determines whether or not conveyance of the document bundle from the document bundle detection unit 13 to the document reading unit 12 is completed. If no document remains in the document bundle detection unit 13, the control unit 11 determines that the conveyance of the document bundle from the document bundle detection unit 13 to the document reading unit 12 has been completed, and causes the document bundle detection unit 13 to send a document. Is left, it is determined that the conveyance of the document bundle from the document bundle detection unit 13 to the document reading unit 12 is not completed. If the conveyance of the document bundle from the document bundle detection unit 13 to the document reading unit 12 is not completed (step ST25: No), the process returns to step ST21, and the document from the document bundle detection unit 13 to the document reading unit 12 is returned. When the conveyance of the bundle is completed (step ST25: Yes), the process proceeds to step ST27.
  • step ST27 the control unit 11 increments the document ID.
  • step ST29 the file generation unit 104 generates an image file including all the images read in step ST23, and stores the generated image file in the storage unit 101. After the process of step ST29, the process proceeds to step ST15.
  • step ST31 the original is conveyed from the original bundle detection unit 13 to the original reading unit 12 with the original bundle bound with the staple SP.
  • step ST33 the document reading unit 12 reads the uppermost surface and the lowermost surface of the document bundle, reads the image of the uppermost surface (hereinafter sometimes referred to as “the uppermost image”), and the read lowermost surface.
  • the uppermost image is stored in the storage unit 101 as the first original image (hereinafter referred to as “lowermost image”).
  • step ST35 the control unit 11 increments the document ID.
  • step ST37 the insertion position determination unit 102 acquires the pixel density of the uppermost image.
  • the pixel density is an example of an image feature amount.
  • step ST39 the offset discharge unit 16 offsets the document bundle bound with the staple SP and discharges it to the stacker. After the process of step ST39, the process proceeds to step ST15.
  • the staple SP is successfully removed from the document bundles BA, BB, BC, BD, BE and the document F1 forming the document group GR, the staple SP is successfully removed from the document bundles BA, BB, BD, but the document. Assume that the removal of the staple SP from the bundles BC and BE has failed.
  • the processing of steps ST21 to ST29 is executed for the document bundle BA, BB, BD, and the steps ST31 to ST29 are performed for the document bundle BC, BE.
  • the process of ST39 is executed, and the processes of steps ST07 to ST13 are executed for the document F1.
  • FIG. 10 is a diagram illustrating an example of a document table at the time of first reading according to the first embodiment. This document table is stored in the storage unit 101.
  • the image file “20171212_01_001.pdf” includes all images A1f, A1b, A2f, and A2b of the originals A1 and A2 that form the original bundle BA.
  • the image file “20171212_01_002.pdf” includes all the images B1f, B1b, B2f, B2b, B3f, B3b, B4f, and B4b of the originals B1, B2, B3, and B4 that form the original bundle BB.
  • the document bundle BC is a removal failure document bundle.
  • the image file “20171212_01_004.pdf” includes all the images D1f, D1b, D2f, and D2b of the documents D1 and D2 that form the document bundle BD.
  • the document bundle BE is a removal failure document bundle.
  • the status corresponding to “” is set to “bundle”.
  • the image file “20171212_01_006.pdf” includes all the images F1f and F1b of the document F1.
  • the number “nnn” at the end of the file name “YYYYMMDD_mm_nnn.pdf” of the image file matches the document ID value. For this reason, the image files generated by the file generation unit 104 are sorted in ascending order of the document names by sorting in ascending order of the file names.
  • FIG. 11 is a diagram illustrating an example of area division according to the first embodiment
  • FIG. 12 is a diagram illustrating an example of a pixel density table according to the first embodiment. This pixel density table is stored in the storage unit 101.
  • the insertion position determination unit 102 In acquiring the pixel density in step ST37 in the first reading, the insertion position determination unit 102 first binarizes the top surface image.
  • the insertion position determination unit 102 acquires the pixel density for each of the regions RE1 to RE8.
  • the pixel density of each region is calculated by, for example, “the number of black pixels in each region / the area of each region”. Further, the area of each region is calculated by “m ⁇ l”.
  • the pixel density of the region RE1 is “0.32”
  • the pixel density of the region RE2 is “0.11”
  • the pixel density of the region RE3 is “0.07”
  • the pixel density of the region RE4 is “0.01”.
  • the pixel density of the region RE5 is calculated as “0.23”
  • the pixel density of the region RE6 is “0.07”
  • the pixel density of the region RE7 is “0.11”
  • the pixel density of the region RE8 is “0.16”.
  • the pixel density of the region RE1 is “0.12”
  • the pixel density of the region RE2 is “0.05”
  • the pixel density of the region RE3 is “0.23”
  • the pixel density of the region RE4 is “0.26”.
  • the pixel density of the region RE5 is calculated as “0.17”
  • the pixel density of the region RE6 is “0.17”
  • the pixel density of the region RE7 is “0.12”
  • the pixel density of the region RE8 is “0.11”.
  • FIG. 13 is a diagram illustrating an example of a processing flow during second reading according to the first embodiment.
  • the staple SP has already been removed from the original bundle that has been offset and discharged in step ST39 at the time of the first reading by the operator's manual work, and the original bundle after the staple SP has been removed becomes the shooter. Already put in.
  • step ST41 one of the plurality of documents forming the bundle of documents placed on the shooter is conveyed to the document reading unit 12.
  • step ST43 the document reading unit 12 reads the document and stores the read image in the storage unit 101 as a second document image.
  • step ST45 the insertion position determination unit 102 acquires the pixel density of the image read in step ST43 in the same manner as the acquisition of the pixel density in step ST37 in the first reading.
  • step S47 the control unit 11 determines whether or not there is a document remaining on the shooter, that is, whether or not the document is not finished. If there is a document remaining on the shooter, that is, if the document is not finished (step ST47: No), the process returns to step ST41. On the other hand, when there is no document remaining in the shooter, that is, when the document is finished (step ST47: Yes), the process proceeds to step ST49.
  • step ST49 the insertion position determination unit 102 refers to the document table (FIG. 10) stored in the storage unit 101, and acquires the document ID whose status is “bundle”.
  • step ST51 the insertion position determination unit 102 obtains the pixel density acquired in step ST37 (FIG. 9) at the time of the first reading (hereinafter sometimes referred to as “first reading pixel density”), the first The pixel density acquired in step ST45 during the second reading (hereinafter, sometimes referred to as “second reading pixel density”) is compared.
  • the insertion position determination unit 102 determines the difference between the first reading pixel density and the second reading pixel density over the regions RE1 to RE8.
  • the total absolute value is calculated as a distance value between the first document image and the second document image. Calculation of the distance value between the first document image and the second document image is equivalent to calculating the degree of coincidence between the first document image and the second document image.
  • the insertion position determination unit 102 specifies the minimum distance value (hereinafter, sometimes referred to as “minimum distance value”) in the plurality of second document images.
  • step ST55 the insertion position determination unit 102 determines whether or not the minimum distance value is less than the threshold value TH. Determining whether or not the minimum distance value is less than the threshold value TH corresponds to determining whether or not the degree of coincidence between the first document image and the second document image is greater than or equal to the threshold value.
  • step ST55: Yes the process proceeds to step ST57.
  • step ST57 the insertion position determination unit 102 determines the second document image to be stored in the image file generated in step ST59 based on the minimum distance value specified in step ST53, and the first document image of the second document image. Determine the insertion position for.
  • step ST59 the file generation unit 104 generates an image file including the second document image to be inserted into the first document image.
  • step ST61 the image insertion unit 103 inserts the image file generated in step ST59 according to the insertion position determined in step ST57. After the process of step ST61, the process proceeds to step ST63.
  • step ST55: No when the minimum distance value is greater than or equal to the threshold value TH (that is, when the matching degree is less than the threshold value) (step ST55: No), the process proceeds to step ST63 without performing the processes of steps ST57 to ST61.
  • step ST63 the control unit 11 determines whether there is an image (hereinafter, referred to as “residual image”) that is not stored in the image file among the images read by the second reading. When there is no remaining image (step ST63: No), the control unit 11 ends the second reading.
  • residual image an image that is not stored in the image file among the images read by the second reading.
  • step ST65 the control unit 11 displays a warning that the insertion position of the second document image relative to the first document image is unknown (not shown). To display. In accordance with the warning, the operator manually designates the insertion position of the second document image with respect to the first document image to the image processing system 1.
  • step ST67 the image insertion unit 103 inserts the second original image at the insertion position manually designated by the operator.
  • the control unit 11 ends the second reading.
  • the staple SP is successfully removed from the document bundles BA, BB, BD, but the document.
  • the original bundle BC is first placed on the shooter among the original bundles BC and BE after the staple SP is removed by the manual operation of the operator, and the original bundle BC is read for the second reading. It becomes. Further, after the second reading with respect to the document bundle BC is completed, the document bundle BE is then placed on the shooter, and the document bundle BE becomes a reading target for the second reading.
  • FIG. 14 is a diagram illustrating an example of the pixel density acquired at the time of the second reading for the document bundle BC of Embodiment 1
  • FIG. 15 is calculated at the time of the second reading for the document bundle BC of Embodiment 1.
  • FIG. 16 is a diagram illustrating an example of a distance value
  • FIG. 16 is a diagram illustrating an example of a document table at the time of second reading of the document bundle BC according to the first embodiment.
  • FIG. 17 is a diagram illustrating an example of the pixel density acquired at the time of the second reading for the document bundle BE of the first embodiment
  • FIG. 18 is a calculation at the time of the second reading for the document bundle BE of the first embodiment.
  • FIG. 19 is a diagram illustrating an example of a document table at the time of second reading of the document bundle BE according to the first embodiment.
  • the pixel density is calculated for each of the regions RE1, RE2, RE3, RE4, RE5, RE6, RE7, and RE8.
  • the pixel density of the region RE1 is “0.31”
  • the pixel density of the region RE2 is “0.11”
  • the pixel density of the region RE3 is “0.06”
  • the pixel density of the region RE4 is “0.01”.
  • the pixel density of the region RE5 is calculated as “0.23”, the pixel density of the region RE6 is “0.08”, the pixel density of the region RE7 is “0.11”, and the pixel density of the region RE8 is “0.15”.
  • the pixel density of the region RE1 is “0.35”
  • the pixel density of the region RE2 is “0.52”
  • the pixel density of the region RE3 is “0.25”
  • the pixel density of the region RE4 is “0.31”
  • the pixel density of the region RE6 is “0.20”
  • the pixel density of the region RE7 is “0.25”
  • the pixel density of the region RE8 is “0.67”.
  • the pixel density is calculated for each of the regions RE1, RE2, RE3, RE4, RE5, RE6, RE7, and RE8.
  • step ST51 the insertion position determination unit 102 compares the first reading pixel density (FIG. 12) with the second reading pixel density of the document bundle BC (FIG. 14), and the document acquired in step ST49. For each ID, the sum of the absolute values of the differences between the first reading pixel density over the regions RE1 to RE8 and the second reading pixel density of the document bundle BC is calculated as the second document of the first document image and the document bundle BC. It is calculated as the distance value between the images.
  • the document IDs acquired in step ST49 with reference to the document table (FIG. 10) are “3” and “5”. Therefore, for example, as illustrated in FIG.
  • 0.04 ”.
  • 1.83 ”.
  • 1.56 ”.
  • the distance values of the images C2f ', C2b', C3f ', C3b' are calculated in the same way (FIG. 15).
  • the minimum distance value among the plurality of distance values of 0.04, 1.83, 1.41, 1.59, 2.88, 0.48, 0.87, 1.56, 1.36, 1.10, 2.43, 0.97 is set to “0.04” of the image C1f ′. "" (FIG. 15).
  • step ST55 determines that the minimum distance value “0.04” specified in step ST53 is less than the threshold value TH. . That is, for the document bundle BC, the insertion position determination unit 102 sets the image C1f ′ having the minimum distance value among the plurality of second document images to be equal to the image C1f that is the uppermost image of the first document images. Judge that you are doing.
  • An image file “20171212_01_003.pdf” including a series of images C1f ′, C1b ′, C2f ′, C2b ′, C3f ′, and C3b ′ is generated.
  • the images C1f ', C1b', C2f ', C2b', C3f ', and C3b' are all images of the originals C1, C2, and C3 that form the original bundle BC to be read in the second reading.
  • step ST61 the image insertion unit 103 deletes the images C1f and C3b that are the first document images stored in the storage unit 101, and then, as shown in FIG. 16, the images C1f ′, C1b ′, and C2f.
  • the image file “20171212_01_003.pdf” is inserted between the image file “20171212_01_002.pdf” and the image file “20171212_01_004.pdf”. That is, the images C1f ′, C1b ′, C2f ′, C2b ′, C3f ′, and C3b ′ that are the second document images of the document bundle BC are replaced with the images C1f and C3b that are the first document images of the document bundle BC. In the plurality of first document images, the images are inserted between the image B4b and the image D1f.
  • the pixel density of the region RE1 is “0.11”
  • the pixel density of the region RE2 is “0.05”
  • the pixel density of the region RE3 is “0.22”
  • the pixel density of the region RE4 is “0.26”.
  • the pixel density of the region RE5 is calculated as “0.17”, the pixel density of the region RE6 is “0.16”, the pixel density of the region RE7 is “0.12”, and the pixel density of the region RE8 is “0.11”.
  • the pixel density of the region RE1 is “0.54”
  • the pixel density of the region RE2 is “0.32”
  • the pixel density of the region RE3 is “0.10”
  • the pixel density of the region RE4 is “0.40”
  • the region RE5 The pixel density of “0.68”
  • the pixel density of the region RE6 is “0.21”
  • the pixel density of the region RE7 is “0.55”
  • the pixel density of the region RE8 is “0.77”.
  • the pixel density is calculated for each of the regions RE1, RE2, RE3, RE4, RE5, RE6, RE7, and RE8.
  • the insertion position determination unit 102 compares the first reading pixel density (FIG. 12) with the second reading pixel density of the document bundle BE (FIG. 17), and the document acquired in step ST49. For each ID, the sum of absolute values of differences between the first reading pixel density over the regions RE1 to RE8 and the second reading pixel density of the document bundle BE is calculated as the second document of the first document image and the document bundle BE. It is calculated as the distance value between the images.
  • the document IDs acquired in step ST49 with reference to the document table (FIG. 10) are “3” and “5”. Therefore, for example, as illustrated in FIG.
  • 0.88 ”.
  • the insertion position determination unit 102 associates the distance value of the image E1b ′ with respect to the image C1f “
  • ” in association with the “top surface” of “document ID 3”. 0.07-0.10
  • 2.60 ”.
  • the distance value between the images E2f 'and E2b' is calculated in the same manner (FIG. 18).
  • the minimum distance value is specified as “0.03” of the image E1f ′ from among a plurality of distance values 0.88, 2.49, 2.23, 1.02, 0.03, 2.60, 2.26, 0.65 (FIG. 18). .
  • step ST55 determines that the minimum distance value “0.03” specified in step ST53 is less than the threshold value TH. . That is, for the document bundle BE, the insertion position determination unit 102 sets the image E1f ′ having the minimum distance value among the plurality of second document images to be equal to the image E1f that is the uppermost image of the first document images. Judge that you are doing.
  • An image file “20171212_01_005.pdf” including a series of images E1f ′, E1b ′, E2f ′, E2b ′ is generated.
  • the images E1f ', E1b', E2f ', and E2b' are all images of the documents E1 and E2 that form the document bundle BE to be read in the second reading.
  • step ST61 the image insertion unit 103 deletes the images E1f and E2b that are the first document images stored in the storage unit 101, and then, as shown in FIG. 19, the images E1f ′, E1b ′, and E2f.
  • the image file “20171212_01_005.pdf” is inserted between the image file “20171212_01_004.pdf” and the image file “20171212_01_006.pdf”. That is, the images E1f ′, E1b ′, E2f ′, E2b ′, which are the second document images of the document bundle BE, are replaced with the images E1f, E2b, which are the first document images of the document bundle BE, and a plurality of first document images. In this case, the image is inserted between the image D2b and the image F1f.
  • the image processing apparatus 10 includes the storage unit 101, the insertion position determination unit 102, and the image insertion unit 103.
  • the storage unit 101 stores the first original image read by the first reading on the original group GR including the original bundles BA, BB, BC, BD, BE.
  • the insertion position determination unit 102 determines the insertion position of the second document image that is an image of each document of the document bundles BC and BE read by the second reading with respect to the first document image.
  • the image insertion unit 103 inserts the second document image between the first document images according to the insertion position determined by the insertion position determination unit 102.
  • the second document image is automatically inserted at an appropriate position of the first document image, so that the operator's work efficiency can be improved.
  • the insertion position determination unit 102 determines the second document image based on the comparison result between the top image of the document bundle BC or BE and the second document image. The insertion position for one document image is determined.
  • the image processing apparatus 10 includes the file generation unit 104.
  • the file generation unit 104 generates an image file for each original bundle of the original bundles BA, BB, BC, BD, BE according to a predetermined file format such as PDF.
  • the image processing system 1 includes the image processing apparatus 10, the document bundle detection unit 13, and the document reading unit 12.
  • the document bundle detection unit 13 detects document bundles BC and BE that are document bundles that have failed to be removed in the document group GR.
  • the document reading unit 12 follows the first reading of the document group GR and the document that is the removal failure document bundle. A second reading is performed on the bundles BC and BE.
  • the image processing apparatus 10, the document bundle detection unit 13, and the document reading unit 12 can be linked to insert the second document image of the removal failure document bundle into an appropriate position of the first document image. it can.
  • the image processing system 1 includes the offset discharge unit 16.
  • the offset discharge unit 16 offsets and discharges the document bundles BC and BE, which are unremoved document bundles, in the document group GR.
  • the unsuccessful removal document bundles BC, BE are offset with respect to the removal success document bundles BA, BB, BD and the document F1 and stacked on the stacker. It is possible to easily identify a bundle of documents that have failed to be removed.
  • the comparison target of the second document image is the uppermost image of the first document image.
  • the comparison target of the second document image is the lowermost image of the first document image instead of the uppermost image of the first document image.
  • Example 2 the pixel density of the lowermost image of the document bundle BC and the pixel density of the lowermost image of the document bundle BE are the first reading pixel density.
  • the image having the minimum distance value among the plurality of second document images is the image C3b ′. Therefore, in step ST55 (FIG. 13), the insertion position determination unit 102, for the document bundle BC, the image C3b ′ having the minimum distance value among the plurality of second document images is the highest of the first document images. It is determined that the image matches the image C3b which is the bottom image.
  • an image having the minimum distance value among the plurality of second document images is an image E2b ′. Therefore, in step ST55 (FIG. 13), for the document bundle BE, the insertion position determination unit 102 determines that the image E2b ′ having the minimum distance value among the plurality of second document images is the highest of the first document images. It is determined that it matches the image E2b which is the lower surface image.
  • the insertion position determination unit 102 determines the second original based on the comparison result between the lowermost image of the original bundle BC and BE and the second original image in the first original image. The insertion position of the image with respect to the first document image is determined.
  • the insertion position of the second document image with respect to the first document image can be accurately determined as in the first embodiment.
  • the comparison target of the second document image is the uppermost image of the first document image.
  • the second original image is compared with the lowermost image of the first original image.
  • the comparison target of the second document image is both the uppermost image and the lowermost image of the first document image.
  • FIG. 20 is a diagram illustrating an example of a pixel density table according to the third embodiment. This pixel density table is stored in the storage unit 101.
  • the corresponding surface type is set to “uppermost surface” and “lowermost surface”.
  • the insertion position determination unit 102 includes a region RE1 of the uppermost image (that is, the image C1f (FIG. 4)) and the lowermost image (that is, the image C3b (FIG. 4)) of the document bundle BC.
  • the pixel density of the region RE1 is “0.01”
  • the pixel density of the region RE2 is “0.27”
  • the pixel density of the region RE3 is “0.24”
  • the pixel density of the region RE4 is “0.12”. It is assumed that the pixel density of the region RE5 is “0.19”, the pixel density of the region RE6 is “0.07”, the pixel density of the region RE7 is “0.24”, and the pixel density of the region RE8 is “0.32”.
  • the pixel density of the region RE1 is “0.07”, the pixel density of the region RE2 is “0.01”, the pixel density of the region RE3 is “0.27”, and the pixel density of the region RE4 is “0.01”, Assume that the pixel density of the region RE5 is calculated as “0.25”, the pixel density of the region RE6 is “0.30”, the pixel density of the region RE7 is “0.24”, and the pixel density of the region RE8 is “0.01”.
  • Set the surface type to “Top” and “Bottom”.
  • the insertion position determination unit 102 includes a region RE1 of the uppermost image (that is, the image E1f (FIG. 4)) and the lowermost image (that is, the image E2b (FIG. 4)) of the document bundle BE.
  • the pixel density of the region RE1 is “0.01”
  • the pixel density of the region RE2 is “0.26”
  • the pixel density of the region RE3 is “0.26”
  • the pixel density of the region RE4 is “0.10”. It is assumed that the pixel density of the region RE5 is “0.18”, the pixel density of the region RE6 is “0.08”, the pixel density of the region RE7 is “0.24”, and the pixel density of the region RE8 is “0.33”.
  • the pixel density of the region RE1 is “0.32”
  • the pixel density of the region RE2 is “0.11”
  • the pixel density of the region RE3 is “0.07”
  • the pixel density of the region RE4 is “0.01”
  • the pixel density of the region RE5 is calculated as “0.20”
  • the pixel density of the region RE6 is “0.23”
  • the pixel density of the region RE7 is “0.11”
  • the pixel density of the region RE8 is “0.16”.
  • FIG. 21 is a diagram illustrating an example of the pixel density acquired at the time of the second reading for the document bundle BC of Embodiment 3, and FIG. 22 is calculated at the time of the second reading for the document bundle BC of Embodiment 3. It is a figure which shows an example of a distance value.
  • FIG. 23 is a diagram illustrating an example of the pixel density acquired at the time of the second reading for the document bundle BE of the third embodiment, and FIG. 24 is a calculation at the time of the second reading for the document bundle BE of the third embodiment. It is a figure which shows an example of the distance value performed.
  • the processing of steps ST41 to ST47 is performed on the document bundle BC, for example, as shown in FIG. 21, the images C1f ′ and C1b ′ of the documents C1, C2, and C3 that form the document bundle BC. , C2f ′, C2b ′, C3f ′, and C3b ′, the pixel density is calculated for each of the regions RE1, RE2, RE3, RE4, RE5, RE6, RE7, and RE8.
  • the pixel density of the region RE1 is “0.01”
  • the pixel density of the region RE2 is “0.26”
  • the pixel density of the region RE3 is “0.25”
  • the pixel density of the region RE4 is “0.01”. It is assumed that the pixel density of the region RE5 is “0.18”, the pixel density of the region RE6 is “0.07”, the pixel density of the region RE7 is “0.24”, and the pixel density of the region RE8 is “0.32”.
  • the pixel density of the region RE1 is “0.25”
  • the pixel density of the region RE2 is “0.02”
  • the pixel density of the region RE3 is “0.47”
  • the pixel density of the region RE4 is “0.28”
  • the region RE5 The pixel density of the region RE6 is calculated to be “0.24”
  • the pixel density of the region RE7 is “0.09”
  • the pixel density of the region RE8 is “0.12”.
  • the pixel density is calculated for each of the regions RE1, RE2, RE3, RE4, RE5, RE6, RE7, and RE8.
  • the insertion position determination unit 102 compares the first reading pixel density (FIG. 20) with the second reading pixel density of the document bundle BC (FIG. 21), and the document acquired in step ST49. For each ID, on both the uppermost surface and the lowermost surface, the sum of absolute values of differences between the first reading pixel density over the regions RE1 to RE8 and the second reading pixel density of the document bundle BC is calculated as the first document. This is calculated as a distance value between the image and the second original image of the original bundle BC.
  • the document IDs acquired in step ST49 with reference to the document table (FIG. 10) are “3” and “5”.
  • 0.04 ”.
  • 1.41 ”.
  • the insertion position determination unit 102 associates the distance value of the image C1b ′ with respect to the image C3b “
  • ” in association with “bottom surface” of “document ID 3”. 0.27-0.47
  • 1.05 ”.
  • 0.04 ”.
  • 1.39 ”.
  • the insertion position determination unit 102 sets the distance value of the image C1b ′ with respect to the image E2b to “
  • ” in association with “bottom surface” of “document ID 5”. 0.07-0.47
  • 0.92 ”.
  • the distance values of the images C2f ′, C2b ′, C3f ′, C3b ′ are calculated in the same manner (FIG. 22).
  • C1f ′ is specified as “0.04”.
  • step ST55 the insertion position determination unit 102 calculates the total distance among the total distance values “0.09” and “0.64” calculated in step ST53. It is determined that the value “0.09” is less than the threshold value TH.
  • the pixel density of the region RE1 is “0.01”
  • the pixel density of the region RE2 is “0.25”
  • the pixel density of the region RE3 is “0.27”
  • the pixel density of the region RE4 is “0.09”.
  • the pixel density of the region RE5 is calculated as “0.17”, the pixel density of the region RE6 is “0.08”, the pixel density of the region RE7 is “0.24”, and the pixel density of the region RE8 is “0.33”.
  • the pixel density of the region RE1 is “0.54”
  • the pixel density of the region RE2 is “0.32”
  • the pixel density of the region RE3 is “0.10”
  • the pixel density of the region RE4 is “0.40”
  • the region RE5 The pixel density of “0.68”
  • the pixel density of the region RE6 is “0.21”
  • the pixel density of the region RE7 is “0.55”
  • the pixel density of the region RE8 is “0.77”.
  • the pixel density is calculated for each of the regions RE1, RE2, RE3, RE4, RE5, RE6, RE7, and RE8.
  • the insertion position determination unit 102 compares the first reading pixel density (FIG. 20) with the second reading pixel density of the document bundle BE (FIG. 23), and the document acquired in step ST49. For each ID, on both the uppermost surface and the lowermost surface, the sum of the absolute values of the differences between the first reading pixel density and the second reading pixel density of the document bundle BE over the regions RE1 to RE8 is calculated as the first document. A distance value between the image and the second original image of the original bundle BE is calculated.
  • the document IDs acquired in step ST49 with reference to the document table (FIG. 10) are “3” and “5”.
  • 0.12 ”.
  • 2.39 ”.
  • the insertion position determination unit 102 associates the distance value of the image E1b ′ with respect to the image C3b “
  • in association with the“ bottom surface ”of“ document ID 3 ”.
  • 2.93 ”.
  • 0.04 ”.
  • 2.43 ".
  • the insertion position determination unit 102 associates the distance value of the image E1b ′ with respect to the image E2b “
  • ” in association with “bottom surface” of “document ID 5”. 0.07-0.10
  • 2.40 ”.
  • the distance value between the images E2f ′ and E2b ′ is calculated in the same manner (FIG. 24).
  • step ST55 the insertion position determination unit 102 calculates the total distance among the total distance values “1.06” and “0.09” calculated in step ST53. It is determined that the value “0.09” is less than the threshold value TH.
  • the insertion position determination unit 102 compares the top image of the document bundle BC or BE with the second document image in the first document image, and the first document image.
  • the insertion position of the second original image with respect to the first original image is determined based on the comparison result of both the lowermost image of the original bundle BC and BE and the comparison result of each of the second original image.
  • the insertion position of the second document image with respect to the first document image can be determined more accurately than in the first and second embodiments.
  • the storage unit 101 is realized by hardware, for example, as a memory.
  • the memory include a RAM (Random Access Memory) such as SDRAM (Synchronous Dynamic Random Access Memory), a ROM (Read Only Memory), a flash memory, and the like.
  • RAM Random Access Memory
  • SDRAM Synchronous Dynamic Random Access Memory
  • ROM Read Only Memory
  • flash memory and the like.
  • the insertion position determination unit 102, the image insertion unit 103, the file generation unit 104, and the control unit 11 can be realized as hardware by, for example, a processor.
  • the processor include a CPU (Central Processing Unit), a DSP (Digital Signal Processor), and an FPGA (Field Programmable Gate Array).
  • the insertion position determination unit 102, the image insertion unit 103, the file generation unit 104, and the control unit 11 may be realized by an LSI (Large Scale Integrated circuit) including a processor and peripheral circuits.
  • the insertion position determination unit 102, the image insertion unit 103, the file generation unit 104, and the control unit 11 may be realized using a GPU (Graphics Processing Unit), an ASIC (Application Specific Integrated Circuit), or the like.
  • All or a part of each process in the above description in the image processing system 1 may be realized by causing a processor included in the image processing system 1 to execute a program corresponding to each process.
  • a program corresponding to each process in the above description may be stored in the memory, and the program may be read from the memory by the processor and executed.
  • the program is stored in a program server connected to the image processing system 1 via an arbitrary network, downloaded from the program server to the image processing system 1 and executed, or recorded by the image processing system 1.
  • the program may be stored in a medium, read from the recording medium, and executed.
  • Examples of the recording medium readable by the image processing system 1 include a memory card, USB memory, SD card, flexible disk, magneto-optical disk, CD-ROM, DVD, and Blu-ray (registered trademark) disk.
  • a portable storage medium is included.
  • the program is a data processing method described in an arbitrary language or an arbitrary description method, and may be in any format such as a source code or a binary code.
  • the program is not necessarily limited to a single configuration, and the functions are achieved in cooperation with a plurality of modules, a configuration that is distributed as a plurality of libraries, and a separate program represented by the OS. Including things.
  • the specific form of distribution / integration of the image processing system 1 is not limited to the one shown in the figure, and the whole or a part of the three-dimensional shape measuring apparatus 2 may be arbitrarily selected according to various additions or according to functional loads. It can be configured to be functionally or physically distributed and integrated in units.
  • the pixel density is adopted as an example of the image feature amount.
  • the feature amount applicable to the disclosed technology is not limited to the pixel density.
  • an average luminance value, a pixel spatial dispersion value, a luminance dispersion value, or the like in each of the regions RE1 to RE8 may be used as the image feature amount.
  • the predetermined format of the image file generated by the file generation unit 104 is not limited to PDF, and may be, for example, JPEG (Joint Photographic Experts Group), TIFF (Tagged Image File Format), or the like.
  • the file generation unit 104 When the file generation unit 104 generates an image file, if the image to be included in the image file includes a blank image (hereinafter sometimes referred to as “blank image”), the file The generation unit 104 may create an image file after removing the blank image.
  • blank image a blank image
  • the original bundle to be read in the second reading is a removal failure original bundle
  • the original bundle to be read in the second reading is not limited to the unremoved original bundle.
  • a document bundle to be read in the second reading is a document bundle that has been double-fed (multifeed) in the first reading although it is not bound by the staple SP at the time of the first reading. It may be.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Facsimiles In General (AREA)

Abstract

Provided is an image processing device that allows the operator work efficiency to be improved. In the image processing device (10): a storage unit (101) stores a plurality of first images read by a first reading performed for an original document group consisting of a plurality of original documents and partially including an original document bundle that is a bundle of a plurality of original documents; an insertion position determination unit (102) determines an insertion position, with respect to the plurality of first images, of a plurality of second images that are the images of the original documents of the original document bundle and that are read by a second reading following the first reading; and an image insertion unit (103) inserts the plurality of second images among the plurality of first images according to the determined insertion position.

Description

画像処理装置、画像処理システム、画像処理方法及び画像処理プログラムImage processing apparatus, image processing system, image processing method, and image processing program
 本発明は、画像処理装置、画像処理システム、画像処理方法及び画像処理プログラムに関する。 The present invention relates to an image processing apparatus, an image processing system, an image processing method, and an image processing program.
 バインダーに綴じられて管理されている文書をスキャナを用いて電子データ化することが広く行われている。バインダーに綴じられた文書に中には、ステープルで綴じられた原稿の束も存在する。そこで、電子データ化の対象となる原稿束を綴じているステープルを自動的に除去する装置(以下では「ステープル除去装置」と呼ぶことがある)が検討されている。原稿束を綴じているステープルを自動的に除去できれば、バインダーに綴じられて管理されている文書の電子データ化にあたり、オペレータの作業負担が軽減される。 Documents that are bound and managed by a binder are widely converted to electronic data using a scanner. A document bound with a binder also includes a bundle of documents bound with staples. In view of this, an apparatus that automatically removes staples bound to a bundle of documents to be converted into electronic data (hereinafter may be referred to as a “staple removing apparatus”) has been studied. If the staples bound to the bundle of documents can be automatically removed, the burden on the operator is reduced when the document managed by binding with the binder is converted to electronic data.
特開2004-280691号公報JP 2004-280691 A 特開2014-199507号公報JP 2014-199507 A
 しかし、ステープル除去装置を用いてもステープルの除去に失敗する場合がある。例えば、原稿束がステープルで二重に綴じられている場合には、ステープル除去装置が原稿束からすべてのステープルを自動的に除去することは難しい。ステープル除去装置を用いたステープルの自動除去に失敗した場合には、オペレータが手作業で原稿束からステープルを除去し、ステープル除去後の原稿束(つまり、一枚ずつの原稿に分離された後の原稿束)を再度スキャナに追加で読み込ませることになる。この際、従来は、スキャナに追加で読み込ませた原稿の、元の文書に対する挿入位置を、オペレータがマニュアルで指定していたため、オペレータの作業効率が悪かった。 However, the staple removal may fail even when the staple removal device is used. For example, when the original bundle is double-bound with staples, it is difficult for the staple removing device to automatically remove all the staples from the original bundle. If automatic removal of the staples using the staple removing device fails, the operator manually removes the staples from the original bundle, and the original bundle after the staples are removed (that is, after being separated into individual originals). The document bundle is again read by the scanner. At this time, conventionally, since the operator manually specifies the insertion position of the original document additionally read by the scanner with respect to the original document, the operation efficiency of the operator is poor.
 開示の技術は、上記に鑑みてなされたものであって、オペレータの作業効率を向上することを目的とする。 The disclosed technology has been made in view of the above, and aims to improve the work efficiency of the operator.
 開示の態様では、画像処理装置は、記憶部と、判断部と、挿入部とを有する。前記記憶部は、複数枚の原稿で形成される原稿群であって、複数枚の原稿の束である原稿束を一部に含む前記原稿群に対する第一の読取によって読み取られた複数の第一画像を記憶する。前記判断部は、前記原稿束の各原稿の画像である複数の第二画像であって、前記第一の読取に後続する第二の読取によって読み取られた前記複数の第二画像の前記複数の第一画像に対する挿入位置を判断する。前記挿入部は、判断された前記挿入位置に従って、前記複数の第二画像を前記複数の第一画像の間に挿入する。 In the disclosed aspect, the image processing apparatus includes a storage unit, a determination unit, and an insertion unit. The storage unit is a group of documents formed by a plurality of documents, and includes a plurality of first documents read by a first reading on the document group including a document bundle that is a bundle of a plurality of documents. Store the image. The determination unit is a plurality of second images that are images of each document of the document bundle, and the plurality of second images read by a second reading subsequent to the first reading. The insertion position for the first image is determined. The insertion unit inserts the plurality of second images between the plurality of first images according to the determined insertion position.
 開示の態様によれば、オペレータの作業効率を向上することができる。 According to the disclosed aspect, the operator's work efficiency can be improved.
図1は、実施例1の画像処理システムの構成例を示す図である。FIG. 1 is a diagram illustrating a configuration example of an image processing system according to the first embodiment. 図2は、実施例1の画像処理システムの動作例の説明に供する図である。FIG. 2 is a diagram for explaining an operation example of the image processing system according to the first embodiment. 図3は、実施例1の画像処理システムの動作例の説明に供する図である。FIG. 3 is a diagram for explaining an operation example of the image processing system according to the first embodiment. 図4は、実施例1の画像処理システムの動作例の説明に供する図である。FIG. 4 is a diagram for explaining an operation example of the image processing system according to the first embodiment. 図5は、実施例1の画像処理システムの動作例の説明に供する図である。FIG. 5 is a diagram for explaining an operation example of the image processing system according to the first embodiment. 図6は、実施例1の画像処理システムの動作例の説明に供する図である。FIG. 6 is a diagram for explaining an operation example of the image processing system according to the first embodiment. 図7は、実施例1の画像処理システムの動作例の説明に供する図である。FIG. 7 is a diagram for explaining an operation example of the image processing system according to the first embodiment. 図8は、実施例1の画像処理システムの動作例の説明に供する図である。FIG. 8 is a diagram for explaining an operation example of the image processing system according to the first embodiment. 図9は、実施例1の第一の読取時の処理フローの一例を示す図である。FIG. 9 is a diagram illustrating an example of a processing flow during first reading according to the first embodiment. 図10は、実施例1の第一の読取時のドキュメントテーブルの一例を示す図である。FIG. 10 is a diagram illustrating an example of a document table at the time of first reading according to the first embodiment. 図11は、実施例1の領域分割の一例を示す図である。FIG. 11 is a diagram illustrating an example of area division according to the first embodiment. 図12は、実施例1の画素密度テーブルの一例を示す図である。FIG. 12 is a diagram illustrating an example of a pixel density table according to the first embodiment. 図13は、実施例1の第二の読取時の処理フローの一例を示す図である。FIG. 13 is a diagram illustrating an example of a processing flow during second reading according to the first embodiment. 図14は、実施例1の原稿束BCに対する第二の読取時に取得される画素密度の一例を示す図である。FIG. 14 is a diagram illustrating an example of the pixel density acquired at the time of the second reading for the document bundle BC according to the first embodiment. 図15は、実施例1の原稿束BCに対する第二の読取時に算出される距離値の一例を示す図である。FIG. 15 is a diagram illustrating an example of a distance value calculated at the time of the second reading for the document bundle BC according to the first embodiment. 図16は、実施例1の原稿束BCの第二の読取時のドキュメントテーブルの一例を示す図である。FIG. 16 is a diagram illustrating an example of a document table at the time of second reading of the document bundle BC according to the first embodiment. 図17は、実施例1の原稿束BEに対する第二の読取時に取得される画素密度の一例を示す図である。FIG. 17 is a diagram illustrating an example of the pixel density acquired at the time of the second reading for the document bundle BE according to the first embodiment. 図18は、実施例1の原稿束BEに対する第二の読取時に算出される距離値の一例を示す図である。FIG. 18 is a diagram illustrating an example of a distance value calculated at the time of the second reading for the document bundle BE according to the first embodiment. 図19は、実施例1の原稿束BEの第二の読取時のドキュメントテーブルの一例を示す図である。FIG. 19 is a diagram illustrating an example of a document table at the time of second reading of the document bundle BE according to the first embodiment. 図20は、実施例3の画素密度テーブルの一例を示す図である。FIG. 20 is a diagram illustrating an example of a pixel density table according to the third embodiment. 図21は、実施例3の原稿束BCに対する第二の読取時に取得される画素密度の一例を示す図である。FIG. 21 is a diagram illustrating an example of the pixel density acquired at the time of the second reading for the document bundle BC according to the third embodiment. 図22は、実施例3の原稿束BCに対する第二の読取時に算出される距離値の一例を示す図である。FIG. 22 is a diagram illustrating an example of a distance value calculated at the time of second reading for the document bundle BC according to the third embodiment. 図23は、実施例3の原稿束BEに対する第二の読取時に取得される画素密度の一例を示す図である。FIG. 23 is a diagram illustrating an example of the pixel density acquired at the time of the second reading for the document bundle BE of the third embodiment. 図24は、実施例3の原稿束BEに対する第二の読取時に算出される距離値の一例を示す図である。FIG. 24 is a diagram illustrating an example of a distance value calculated at the time of the second reading for the document bundle BE according to the third embodiment.
 以下に、本願の開示する画像処理装置、画像処理システム、画像処理方法及び画像処理プログラムの実施例を図面に基づいて説明する。なお、この実施例により本願の開示する画像処理装置、画像処理システム、画像処理方法及び画像処理プログラムが限定されるものではない。また、実施例において同一の機能を有する構成、及び、同一の処理を行うステップには同一の符号を付す。 Embodiments of an image processing apparatus, an image processing system, an image processing method, and an image processing program disclosed in the present application will be described below with reference to the drawings. Note that the image processing apparatus, the image processing system, the image processing method, and the image processing program disclosed in the present application are not limited by this embodiment. In addition, in the embodiment, the same reference numerals are given to configurations having the same functions and steps for performing the same processing.
 [実施例1]
 <画像処理システムの構成>
 図1は、実施例1の画像処理システムの構成例を示す図である。図1において、画像処理システム1は、画像処理装置10と、制御部11と、原稿読取部12と、原稿束検出部13と、ステープル検出部14と、ステープル除去部15と、オフセット排出部16とを有する。画像処理装置10、原稿読取部12、原稿束検出部13、ステープル検出部14、ステープル除去部15、及び、オフセット排出部16は、制御部11による制御の下で動作する。画像処理装置10は、記憶部101と、挿入位置判断部102と、画像挿入部103と、ファイル生成部104とを有する。
[Example 1]
<Configuration of image processing system>
FIG. 1 is a diagram illustrating a configuration example of an image processing system according to the first embodiment. In FIG. 1, the image processing system 1 includes an image processing device 10, a control unit 11, a document reading unit 12, a document bundle detection unit 13, a staple detection unit 14, a staple removal unit 15, and an offset discharge unit 16. And have. The image processing apparatus 10, the document reading unit 12, the document bundle detection unit 13, the staple detection unit 14, the staple removal unit 15, and the offset discharge unit 16 operate under the control of the control unit 11. The image processing apparatus 10 includes a storage unit 101, an insertion position determination unit 102, an image insertion unit 103, and a file generation unit 104.
 画像処理装置10において、記憶部101は、原稿読取部12によって読み取られた原稿の画像(以下では「原稿画像」と呼ぶことがある)を記憶する。記憶部101は、原稿群GRに対する原稿読取部12の第一の読取によって読み取られた原稿画像(以下では「第一原稿画像」と呼ぶことがある)を記憶する。原稿群GRは、例えば図2に示すように、原稿A1,A2,B1,B2,B3,B4,C1,C2,C3,D1,D2,E1,E2,F1の14枚の原稿で形成される。但し、画像処理装置10が処理の対象とする原稿群GRを形成する原稿の枚数は14枚に限定されない。図2は、実施例1の画像処理システムの動作例の説明に供する図である。また、原稿群GRは、図2に示すように、複数枚の原稿の束である原稿束BA,BB,BC,BD,BEを原稿群GRの一部に含む。よって、原稿束BA,BB,BC,BD,BEの各原稿束を形成する原稿の枚数は、原稿群GRを形成する原稿の枚数よりも少ない。すなわち、原稿束BAは原稿A1,A2の2枚の原稿がステープルSPにより一纏めに綴じられた原稿の束であり、原稿束BBは原稿B1,B2,B3,B4の4枚の原稿がステープルSPにより一纏めに綴じられた原稿の束であり、原稿束BCは原稿C1,C2,C3の3枚の原稿がステープルSPにより一纏めに綴じられた原稿の束であり、原稿束BDは原稿D1,D2の2枚の原稿がステープルSPにより一纏めに綴じられた原稿の束であり、原稿束BEは原稿E1,E2の2枚の原稿がステープルSPにより一纏めに綴じられた原稿の束である。 In the image processing apparatus 10, the storage unit 101 stores an image of a document read by the document reading unit 12 (hereinafter sometimes referred to as “document image”). The storage unit 101 stores a document image (hereinafter also referred to as “first document image”) read by the first reading of the document reading unit 12 with respect to the document group GR. For example, as shown in FIG. 2, the document group GR is formed of 14 documents A1, A2, B1, B2, B3, B4, C1, C2, C3, D1, D2, E1, E2, and F1. . However, the number of documents forming the document group GR to be processed by the image processing apparatus 10 is not limited to 14 sheets. FIG. 2 is a diagram for explaining an operation example of the image processing system according to the first embodiment. As shown in FIG. 2, the document group GR includes a document bundle BA, BB, BC, BD, BE, which is a bundle of a plurality of documents, as a part of the document group GR. Therefore, the number of originals forming the original bundles BA, BB, BC, BD, BE is smaller than the number of originals forming the original group GR. That is, the original bundle BA is a bundle of originals in which two originals A1 and A2 are bound together by a staple SP, and the original bundle BB is a four-part original B1, B2, B3, and B4. The original bundle BC is a bundle of originals, which are three originals C1, C2, and C3 bound together by staples SP, and the original bundle BD is the originals D1, D2. The two originals are a bundle of originals bound together by staples SP, and the original bundle BE is a bundle of originals obtained by binding two originals E1 and E2 together.
 挿入位置判断部102は、原稿読取部12の第二の読取によって読み取られた原稿画像(以下では「第二原稿画像」と呼ぶことがある)の第一原稿画像に対する挿入位置を判断する。原稿読取部12による第二の読取は、原稿読取部12による第一の読取に後続する読取であり、例えば、第一の読取が一回目の読取である場合は、第二の読取は二回目の読取である。但し、第一の読取と第二の読取との間に、他の読取が存在しても良い。また、第一の読取は、原稿群GRに対する読取であり、第二の読取は、原稿群GRに含まれる原稿束BA,BB,BC,BD,BEの何れか一つまたは複数に対する読取である。つまり、第二原稿画像は、原稿束BA,BB,BC,BD,BEの何れかに含まれる各原稿の画像となる。例えば、第二の読取の対象が原稿束BCであった場合は、第二原稿画像は、原稿C1,C2,C3の各原稿の画像となる。 The insertion position determination unit 102 determines the insertion position of the document image (hereinafter, also referred to as “second document image”) read by the second reading of the document reading unit 12 with respect to the first document image. The second reading by the document reading unit 12 is a reading subsequent to the first reading by the document reading unit 12. For example, when the first reading is the first reading, the second reading is the second reading. Reading. However, other readings may exist between the first reading and the second reading. The first reading is a reading on the document group GR, and the second reading is a reading on any one or a plurality of document bundles BA, BB, BC, BD, BE included in the document group GR. . That is, the second document image is an image of each document included in one of the document bundles BA, BB, BC, BD, and BE. For example, when the second reading target is the document bundle BC, the second document image is an image of each of the documents C1, C2, and C3.
 画像挿入部103は、挿入位置判断部102によって判断された挿入位置に従って、第二原稿画像を第一原稿画像に挿入する。 The image insertion unit 103 inserts the second document image into the first document image according to the insertion position determined by the insertion position determination unit 102.
 ファイル生成部104は、第一原稿画像に挿入された第二原稿画像を含む画像ファイルを所定のファイルフォーマットに従って生成する。所定のファイルフォーマットの一例として、PDF(Portable Document Format)が挙げられる。 The file generation unit 104 generates an image file including the second document image inserted into the first document image according to a predetermined file format. An example of the predetermined file format is PDF (Portable Document Format).
 原稿読取部12は、第一の読取によって、原稿群GRに対する読取を行い、第二の読取によって、原稿群GRに含まれる原稿束BA,BB,BC,BD,BEの何れか一つまたは複数に対する読取を行う。 The original reading unit 12 reads the original group GR by the first reading, and any one or a plurality of original bundles BA, BB, BC, BD, BE included in the original group GR by the second reading. Is read.
 ステープル検出部14は、原稿束BA,BB,BC,BD,BEの各原稿束を綴じている各ステープルSPの位置を検出する。以下では、原稿束を綴じているステープルSPの位置を「ステープル位置」と呼ぶことがある。 The staple detection unit 14 detects the position of each staple SP binding the original bundles BA, BB, BC, BD, BE. Hereinafter, the position of the staple SP binding the bundle of documents may be referred to as “staple position”.
 ステープル除去部15は、ステープル検出部14によって検出されたステープル位置に従って、原稿束BA,BB,BC,BD,BEの各原稿束からのステープルSPの除去を試みる。ステープル除去部15によるステープルSPの除去は、成功する場合と失敗する場合とがある。以下では、ステープル除去部15によるステープルSPの除去に成功した原稿束を「除去成功原稿束」と呼び、ステープル除去部15によるステープルSPの除去に失敗した原稿束を「除去失敗原稿束」と呼ぶことがある。 The staple removing unit 15 tries to remove the staple SP from each original bundle BA, BB, BC, BD, BE according to the staple position detected by the staple detecting unit 14. The removal of the staple SP by the staple removing unit 15 may be successful or unsuccessful. In the following, a document bundle in which the staple SP has been successfully removed by the staple removing unit 15 is referred to as a “removed successful document bundle”, and a document bundle in which the staple SP has failed to be removed by the staple removing unit 15 is referred to as a “removal failed document bundle”. Sometimes.
 原稿束検出部13は、原稿群GRにおける原稿束BA,BB,BC,BD,BEのうち、除去失敗原稿束を検出する。例えば、原稿束検出部13は、ステープル除去部15によってステープルSPの除去が試みられた後も未だステープルSPが存在する原稿束を除去失敗原稿束として検出する。 The document bundle detection unit 13 detects a removal failure document bundle among the document bundles BA, BB, BC, BD, BE in the document group GR. For example, the document bundle detection unit 13 detects a document bundle in which the staple SP still exists even after the staple removal unit 15 tries to remove the staple SP as a removal failure document bundle.
 オフセット排出部16は、原稿群GRにおいて、除去失敗原稿束をオフセットしてスタッカー(図示省略)に排出する。これにより、第一の読取後にスタッカーに排出されてスタックされる原稿群GRにおいて、除去成功原稿束に対して除去失敗原稿束がオフセットしてスタックされる。 The offset discharge unit 16 offsets the removal failure original bundle in the original group GR and discharges it to a stacker (not shown). Thereby, in the document group GR which is discharged and stacked on the stacker after the first reading, the unsuccessful removal document bundle is offset and stacked with respect to the removal success document bundle.
 <画像処理システムの動作>
 図3~図8は、実施例1の画像処理システムの動作例の説明に供する図である。
<Operation of image processing system>
3 to 8 are diagrams for explaining an operation example of the image processing system according to the first embodiment.
 原稿読取部12による第一の読取の際には、図2に示すように、原稿束BA,BB,BC,BD,BE及び原稿F1から形成される原稿群GRがオペレータによってシューター(図示省略)に置かれる。シューターに置かれた原稿群GRは、ADF(Auto Document Feeder)によって画像処理システム1の中に取り込まれる。この際、原稿束BA,BB,BC,BD,BEの各原稿束はステープルSPにより綴じられているため、ステープルSPにより一纏めに綴じられた原稿A1,A2は一体としてステープル検出部14まで搬送される。原稿の搬送は、画像処理システム1が有する搬送機構(図示省略)によって行われる。同様に、ステープルSPにより一纏めに綴じられた原稿B1,B2,B3,B4は一体としてステープル検出部14まで搬送され、ステープルSPにより一纏めに綴じられた原稿C1,C2,C3は一体としてステープル検出部14まで搬送され、ステープルSPにより一纏めに綴じられた原稿D1,D2は一体としてステープル検出部14まで搬送され、ステープルSPにより一纏めに綴じられた原稿E1,E2は一体としてステープル検出部14まで搬送される。また、ステープルSPにより綴じられていない原稿F1は一枚でステープル検出部14まで搬送される。よって、ステープル検出部14では、原稿束BA,BB,BC,BD,BEの各原稿束に対してステープル位置が検出され、ステープル除去部15では、原稿束BA,BB,BC,BD,BEの各原稿束に対してステープルSPの除去が試みられる。 At the time of the first reading by the document reading unit 12, as shown in FIG. 2, a document group GR formed from the document bundles BA, BB, BC, BD, BE and the document F1 is shot by a shooter (not shown). Placed in. The document group GR placed on the shooter is taken into the image processing system 1 by ADF (Auto Document Feeder). At this time, since the original bundles BA, BB, BC, BD, and BE are bound by the staple SP, the originals A1 and A2 bound together by the staple SP are conveyed to the staple detecting unit 14 as a unit. The The document is transported by a transport mechanism (not shown) included in the image processing system 1. Similarly, the originals B1, B2, B3, and B4 bound together by the staple SP are conveyed to the staple detection unit 14 as a unit, and the originals C1, C2, and C3 bound together by the staple SP are integrated as a staple detection unit. 14, the originals D1 and D2 bound together by the staple SP are transported together to the staple detection unit 14, and the originals E1 and E2 bound together by the staple SP are transported together to the staple detection unit 14. The Further, the document F1 not bound by the staple SP is conveyed to the staple detection unit 14 by one sheet. Therefore, the staple detection unit 14 detects the staple position for each of the document bundles BA, BB, BC, BD, BE, and the staple removal unit 15 detects the document bundles BA, BB, BC, BD, BE. An attempt is made to remove the staples SP for each original bundle.
 ここで、原稿束BA,BB,BC,BD,BEのすべての原稿束からステープルSPの除去が成功したものとする。よって、原稿A1,A2,B1,B2,B3,B4,C1,C2,C3,D1,D2,E1,E2, F1の各原稿が一枚ずつステープル除去部15から原稿束検出部13を介して原稿読取部12へ搬送される。この際、原稿束BA,BB,BC,BD,BEのすべての原稿束からのステープルSPの除去が成功しているため、原稿束検出部13では、除去失敗原稿束は検出されない。また、原稿束BA,BB,BC,BD,BEのすべての原稿束からのステープルSPの除去が成功しているため、原稿読取部12は、原稿A1,A2,B1,B2,B3,B4,C1,C2,C3,D1,D2,E1,E2, F1の各原稿を一枚ずつ読み取る。原稿読取部12は、各原稿の両面を読取可能である。よって、原稿束BA,BB,BC,BD,BEのすべての原稿束からステープルSPの除去が成功した場合には、第一の読取により読み取られて記憶部101に記憶される第一原稿画像は、図3に示すように、原稿A1の表面の画像A1f、原稿A1の裏面の画像A1b、原稿A2の表面の画像A2f、原稿A2の裏面の画像A2b、原稿B1の表面の画像B1f、原稿B1の裏面の画像B1b、原稿B2の表面の画像B2f、原稿B2の裏面の画像B2b、原稿B3の表面の画像B3f、原稿B3の裏面の画像B3b、原稿B4の表面の画像B4f、原稿B4の裏面の画像B4b、原稿C1の表面の画像C1f、原稿C1の裏面の画像C1b、原稿C2の表面の画像C2f、原稿C2の裏面の画像C2b、原稿C3の表面の画像C3f、原稿C3の裏面の画像C3b、原稿D1の表面の画像D1f、原稿D1の裏面の画像D1b、原稿D2の表面の画像D2f、原稿D2の裏面の画像D2b、原稿E1の表面の画像E1f、原稿E1の裏面の画像E1b、原稿E2の表面の画像E2f、原稿E2の裏面の画像E2b、原稿F1の表面の画像F1f、及び、原稿F1の裏面の画像F1bとなる。つまり、画像A1f,A1b,A2f,A2b,B1f,B1b,B2f,B2b,B3f,B3b,B4f,B4b,C1f,C1b,C2f,C2b,C3f,C3b,D1f,D1b,D2f,D2b,E1f,E1b,E2f,E2b,F1f,F1bの各々は、第一原稿画像に相当する。第一原稿画像は、画像A1f~F1bの順で記憶部101に記憶される。 Here, it is assumed that the staple SP has been successfully removed from all the original bundles BA, BB, BC, BD, and BE. Therefore, the originals A1, A2, B1, B2, B3, B4, C1, C2, C3, D1, D2, E1, E2, and F1 are fed one by one from the staple removing unit 15 via the original bundle detecting unit 13. It is conveyed to the document reading unit 12. At this time, since the staple SP has been successfully removed from all the document bundles BA, BB, BC, BD, and BE, the document bundle detection unit 13 does not detect the removal failure document bundle. Further, since the staple SP has been successfully removed from all the original bundles of the original bundles BA, BB, BC, BD, and BE, the original reading unit 12 has the originals A1, A2, B1, B2, B3, B4. Read each original of C1, C2, C3, D1, D2, E1, E2, and F1 one by one. The document reading unit 12 can read both sides of each document. Therefore, when the staple SP is successfully removed from all the original bundles of the original bundles BA, BB, BC, BD, and BE, the first original image read by the first reading and stored in the storage unit 101 is 3, the image A1f on the front surface of the document A1, the image A1b on the back surface of the document A1, the image A2f on the front surface of the document A2, the image A2b on the back surface of the document A2, the image B1f on the surface of the document B1, and the document B1. Image B1b on the back side of document B2, image B2f on the front side of document B2, image B2b on the back side of document B2, image B3f on the front side of document B3, image B3b on the back side of document B3, image B4f on the front side of document B4, and back side of document B4 Image B4b, image C1f on the front surface of document C1, image C1b on the back surface of document C1, image C2f on the surface of document C2, image C2b on the back surface of document C2, image C3f on the surface of document C3, original image C3 back image C3b, document D1 front image D1f, document D1 back image D1b, document D2 front image D2f, document D2 back image D2b, document E1 surface image E1f, document E1 The back image E1b, the front image E2f of the document E2, the back image E2b of the document E2, the front image F1f of the document F1, and the back image F1b of the document F1. That is, the images A1f, A1b, A2f, A2b, B1f, B1b, B2f, B2b, B3f, B3b, B4f, B4b, C1f, C1b, C2f, C2b, C3f, C3b, D1f, D1b, D2f, D2b, E1b, E1b , E2f, E2b, F1f, and F1b correspond to the first original image. The first document image is stored in the storage unit 101 in the order of images A1f to F1b.
 そして、ファイル生成部104は、原稿束BAに対応する画像ファイル(つまり、画像A1f,A1b,A2f,A2bのすべてを含む画像ファイル)と、原稿束BBに対応する画像ファイル(つまり、画像B1f,B1b,B2f,B2b,B3f,B3b,B4f,B4bのすべてを含む画像ファイル)と、原稿束BCに対応する画像ファイル(つまり、画像C1f,C1b,C2f,C2b,C3f,C3bのすべてを含む画像ファイル)と、原稿束BDに対応する画像ファイル(つまり、画像D1f,D1b,D2f,D2bのすべてを含む画像ファイル)と、原稿束BEに対応する画像ファイル(つまり、画像E1f,E1b,E2f,E2bのすべてを含む画像ファイル)と、原稿F1に対応する画像ファイル(つまり、画像F1f,F1bのすべてを含む画像ファイル)とを、所定のファイルフォーマットに従って生成する。 Then, the file generation unit 104 outputs an image file corresponding to the document bundle BA (that is, an image file including all the images A1f, A1b, A2f, and A2b) and an image file corresponding to the document bundle BB (that is, the image B1f, B1b, B2f, B2b, B3f, B3b, B4f, B4b) and an image file corresponding to the original bundle BC (that is, an image including all of the images C1f, C1b, C2f, C2b, C3f, C3b). File), an image file corresponding to the document bundle BD (that is, an image file including all of the images D1f, D1b, D2f, and D2b), and an image file corresponding to the document bundle BE (that is, the images E1f, E1b, E2f, An image file including all of E2b) and an image file corresponding to the document F1 (that is, an image) 1f, an image file) and containing all the F1b, generates in accordance with a predetermined file format.
 以上が、原稿束BA,BB,BC,BD,BEのすべての原稿束からステープルSPの除去が成功した場合の動作例である。 The above is an operation example when the staple SP is successfully removed from all the document bundles of the document bundles BA, BB, BC, BD, and BE.
 次いで、第一の読取の際に、原稿束BA,BB,BC,BD,BEのうちの一部の原稿束からのステープルSPの除去が失敗した場合の動作例について説明する。ここでは、例えば、原稿束BA,BB,BC,BD,BEのうち、原稿束BC,BEからのステープルSPの除去が失敗したものとする。よって、原稿A1,A2,B1,B2,B3,B4,D1,D2,F1の各原稿が一枚ずつステープル除去部15から原稿束検出部13を介して原稿読取部12へ搬送される一方で、原稿C1,C2,C3はステープルSPによって綴じられたまま一纏めで(つまり、原稿束BCのままで)ステープル除去部15から原稿束検出部13を介して原稿読取部12へ搬送され、原稿E1,E2はステープルSPによって綴じられたまま一纏めで(つまり、原稿束BEのままで)ステープル除去部15から原稿束検出部13を介して原稿読取部12へ搬送される。よって、原稿束検出部13では、原稿束BC,BEが除去失敗原稿束として検出される。 Next, an example of operation when the removal of the staple SP from a part of the original bundles BA, BB, BC, BD, BE in the first reading is unsuccessful will be described. Here, for example, it is assumed that the removal of the staple SP from the original bundles BC and BE among the original bundles BA, BB, BC, BD, and BE has failed. Accordingly, the originals A1, A2, B1, B2, B3, B4, D1, D2, and F1 are conveyed one by one from the staple removing unit 15 to the original reading unit 12 via the original bundle detecting unit 13. The originals C1, C2, and C3 are transported together from the staple removing unit 15 to the original reading unit 12 via the original bundle detection unit 13 while being bound together by the staples SP (that is, as the original bundle BC), and the original E1. , E2 are conveyed together from the staple removal unit 15 to the document reading unit 12 via the document bundle detection unit 13 while being bound together by the staple SP (that is, as the document bundle BE). Therefore, the document bundle detection unit 13 detects the document bundles BC and BE as the removal failure document bundle.
 原稿束BA,BB,BDの各原稿束からのステープルSPの除去が成功しているため、原稿読取部12は、原稿A1,A2,B1,B2,B3,B4,D1,D2,F1の各原稿を一枚ずつ読み取る。一方で、原稿束BC,BEの各原稿束からのステープルSPの除去は失敗しているため、原稿読取部12は、ステープルSPで綴じられたままの原稿束BC,BEを読み取る。ステープルSPで綴じられたままの原稿束BCにおいて、画像C1b、画像C2f、画像C2b、及び、画像C3fを読み取ることは困難である。同様に、ステープルSPで綴じられたままの原稿束BEにおいて、画像E1b及び画像E2fを読み取ることは困難である。そこで、原稿読取部12は、ステープルSPで綴じられたままの原稿束BCを読み取る際には、原稿束BCの最上面の画像である画像C1fと、原稿束BCの最下面の画像である画像C3bとを読み取る。同様に、原稿読取部12は、ステープルSPで綴じられたままの原稿束BEを読み取る際には、原稿束BEの最上面の画像である画像E1fと、原稿束BEの最下面の画像である画像E2bとを読み取る。よって、原稿束BA,BB,BC,BD,BEのうち、原稿束BA,BB,BDからのステープルSPの除去が成功する一方で、原稿束BC,BEからのステープルSPの除去が失敗した場合には、第一の読取により読み取られて記憶部101に記憶される第一原稿画像は、図4に示すように、画像A1f,A1b,A2f,A2b、画像B1f,B1b,B2f,B2b,B3f,B3b、B4f,B4b、画像C1f,C3b、画像D1f,D1b,D2f,D2b、画像E1f,E2b、及び、画像F1f,F1bとなる。画像C1f,C3b及び画像E1f,E2bには、ステープルSPの画像SPIが含まれる。第一原稿画像は、画像A1f~F1bの順で記憶部101に記憶される。 Since the removal of the staple SP from each original bundle of the original bundles BA, BB, and BD has succeeded, the original reading unit 12 determines each of the originals A1, A2, B1, B2, B3, B4, D1, D2, and F1. Scan one original at a time. On the other hand, since the removal of the staple SP from the original bundles of the original bundles BC and BE has failed, the original reading unit 12 reads the original bundles BC and BE that are still bound by the staple SP. It is difficult to read the image C1b, the image C2f, the image C2b, and the image C3f in the document bundle BC that has been bound by the staple SP. Similarly, it is difficult to read the image E1b and the image E2f in the document bundle BE that has been bound by the staple SP. Therefore, when the document reading unit 12 reads the document bundle BC that has been bound by the staple SP, the image C1f that is the uppermost image of the document bundle BC and the image that is the lowermost image of the document bundle BC. C3b is read. Similarly, when the document reading unit 12 reads the document bundle BE that has been bound by the staple SP, the document reading unit 12 includes an image E1f that is an uppermost image of the document bundle BE and an image of the lowermost surface of the document bundle BE. The image E2b is read. Therefore, among the original bundles BA, BB, BC, BD, BE, when the removal of the staple SP from the original bundle BA, BB, BD is successful, but the removal of the staple SP from the original bundle BC, BE fails. As shown in FIG. 4, the first original image read by the first reading and stored in the storage unit 101 includes images A1f, A1b, A2f, A2b, images B1f, B1b, B2f, B2b, B3f. , B3b, B4f, B4b, images C1f, C3b, images D1f, D1b, D2f, D2b, images E1f, E2b, and images F1f, F1b. The images C1f and C3b and the images E1f and E2b include the image SPI of the staple SP. The first document image is stored in the storage unit 101 in the order of images A1f to F1b.
 そして、ファイル生成部104は、原稿束BAに対応する画像ファイル(つまり、画像A1f,A1b,A2f,A2bのすべてを含む画像ファイル)と、原稿束BBに対応する画像ファイル(つまり、画像B1f,B1b,B2f,B2b,B3f,B3b,B4f,B4bのすべてを含む画像ファイル)と、原稿束BDに対応する画像ファイル(つまり、画像D1f,D1b,D2f,D2bのすべてを含む画像ファイル)と、原稿F1に対応する画像ファイル(つまり、画像F1f,F1bのすべてを含む画像ファイル)とを、所定のファイルフォーマットに従って生成する。ここでは、原稿束BA,BB,BDの各原稿束は、除去成功原稿束である。 Then, the file generation unit 104 outputs an image file corresponding to the document bundle BA (that is, an image file including all the images A1f, A1b, A2f, and A2b) and an image file corresponding to the document bundle BB (that is, the image B1f, B1b, B2f, B2b, B3f, B3b, B4f, B4b), an image file corresponding to the original bundle BD (that is, an image file including all of the images D1f, D1b, D2f, D2b), An image file corresponding to the document F1 (that is, an image file including all of the images F1f and F1b) is generated according to a predetermined file format. Here, each of the document bundles BA, BB, and BD is a successfully removed document bundle.
 また、オフセット排出部16は、図5に示すように、除去失敗原稿束である原稿束BC,BEをオフセットしてスタッカーに排出する。 Further, as shown in FIG. 5, the offset discharge unit 16 offsets the original bundles BC and BE, which are the removal failure original bundles, and discharges them to the stacker.
 そして、原稿群GRにおいて除去失敗原稿束が発生した場合には、第一の読取に後続して第二の読取が行われる。第一の読取に後続する第二の読取の際には、オペレータの手作業によりステープルSPが除去された原稿束BC,BEが、オペレータによって順次シューターに置かれる。 Then, when a removal failure original bundle occurs in the original group GR, the second reading is performed subsequent to the first reading. In the second reading subsequent to the first reading, the document bundles BC and BE from which the staple SP has been removed by the operator's manual work are sequentially placed on the shooter by the operator.
 オペレータにより順次シューターに置かれた原稿束BC,BEは、ADFによって画像処理システム1の中に取り込まれる。この際、既に原稿束BCからはステープルSPが除去されているため、原稿束BCに対する第二の読取の際には、原稿C1,C2,C3は一枚ずつステープル検出部14、ステープル除去部15及び原稿束検出部13を介して原稿読取部12まで搬送される。よって、原稿読取部12は、原稿束BCに対する第二の読取の際には、原稿C1,C2,C3の各原稿を一枚ずつ読み取る。原稿読取部12は、各原稿の両面を読取可能である。よって、原稿束BCに対する第二の読取により読み取られる第二原稿画像は、図6に示すように、原稿C1の表面の画像C1f’、原稿C1の裏面の画像C1b’、原稿C2の表面の画像C2f’、原稿C2の裏面の画像C2b’、原稿C3の表面の画像C3f’、原稿C3の裏面の画像C3b’となる。 The document bundles BC and BE sequentially placed on the shooter by the operator are taken into the image processing system 1 by the ADF. At this time, since the staple SP has already been removed from the document bundle BC, the documents C1, C2, and C3 are one by one for the staple detection unit 14 and the staple removal unit 15 at the time of the second reading of the document bundle BC. Then, it is conveyed to the document reading unit 12 via the document bundle detection unit 13. Therefore, the document reading unit 12 reads each document of the documents C1, C2, and C3 one by one during the second reading of the document bundle BC. The document reading unit 12 can read both sides of each document. Therefore, as shown in FIG. 6, the second original image read by the second reading with respect to the original bundle BC includes an image C1f ′ on the front side of the original C1, an image C1b ′ on the back side of the original C1, and an image on the front side of the original C2. C2f ′, an image C2b ′ on the back side of the document C2, an image C3f ′ on the front surface of the document C3, and an image C3b ′ on the back surface of the document C3.
 同様に、オペレータによりシューターに置かれた原稿束BEからは既にステープルSPが除去されているため、原稿束BEに対する第二の読取の際には、原稿E1,E2は一枚ずつステープル検出部14、ステープル除去部15及び原稿束検出部13を介して原稿読取部12まで搬送される。よって、原稿読取部12は、原稿束BEに対する第二の読取の際には、原稿E1,E2の各原稿を一枚ずつ読み取る。よって、原稿束BEに対する第二の読取により読み取られる第二原稿画像は、図7に示すように、原稿E1の表面の画像E1f’、原稿E1の裏面の画像E1b’、原稿E2の表面の画像E2f’、原稿E2の裏面の画像E2b’となる。 Similarly, since the staple SP has already been removed from the document bundle BE placed on the shooter by the operator, the documents E1 and E2 are scanned one by one when the document bundle BE is read. Then, it is conveyed to the document reading unit 12 via the staple removing unit 15 and the document bundle detecting unit 13. Therefore, the document reading unit 12 reads each document of the documents E1 and E2 one by one in the second reading of the document bundle BE. Therefore, as shown in FIG. 7, the second document image read by the second reading with respect to the document bundle BE is the image E1f ′ on the front surface of the document E1, the image E1b ′ on the back surface of the document E1, and the image on the surface of the document E2. E2f ′ and the image E2b ′ on the back side of the document E2.
 つまり、画像C1f’,C1b’,C2f’,C2b’,C3f’,C3b’,E1f’,E1b’,E2f’,E2b’の各々は、第二原稿画像に相当する。 That is, each of the images C1f ', C1b', C2f ', C2b', C3f ', C3b', E1f ', E1b', E2f ', E2b' corresponds to a second original image.
 挿入位置判断部102は、第一の読取によって読み取られた画像C1f(つまり、原稿束BCの最上面の画像(図4))及び画像E1f(つまり、原稿束BEの最上面の画像(図4))の各々と、第二の読取によって読み取られた画像C1f’,C1b’,C2f’,C2b’,C3f’,C3b’,E1f’,E1b’,E2f’,E2b’の各々とを比較して、一致度合を算出する。ここでは、画像C1fも画像C1f’も共に原稿C1の表面の画像であるため、画像C1fと、画像C1f’,C1b’,C2f’,C2b’,C3f’,C3b’,E1f’,E1b’,E2f’,E2b’の各々との比較では、画像C1fと画像C1f’との間の一致度合が最大になる。また、画像E1fも画像E1f’も共に原稿E1の表面の画像であるため、画像E1fと、画像C1f’,C1b’,C2f’,C2b’,C3f’,C3b’,E1f’,E1b’,E2f’,E2b’の各々との比較では、画像E1fと画像E1f’との間の一致度合が最大になる。 The insertion position determination unit 102 reads the image C1f read by the first reading (that is, the uppermost image of the document bundle BC (FIG. 4)) and the image E1f (that is, the uppermost image of the document bundle BE (FIG. 4). )) And each of the images C1f ′, C1b ′, C2f ′, C2b ′, C3f ′, C3b ′, E1f ′, E1b ′, E2f ′, and E2b ′ read by the second reading are compared. The degree of coincidence is calculated. Here, since both the image C1f and the image C1f ′ are images of the surface of the original C1, the image C1f and the images C1f ′, C1b ′, C2f ′, C2b ′, C3f ′, C3b ′, E1f ′, E1b ′, In the comparison with each of E2f ′ and E2b ′, the degree of coincidence between the image C1f and the image C1f ′ is maximized. Since both the image E1f and the image E1f ′ are images of the surface of the document E1, the image E1f and the images C1f ′, C1b ′, C2f ′, C2b ′, C3f ′, C3b ′, E1f ′, E1b ′, E2f In comparison with each of ', E2b', the degree of coincidence between the image E1f and the image E1f 'is maximized.
 そこで、挿入位置判断部102は、画像C1f’,C1b’,C2f’,C2b’,C3f’,C3b’の第一原稿画像に対する挿入位置を、記憶部101に記憶されている第一原稿画像のうちの画像C1f(図4)の位置であると判断する。また、挿入位置判断部102は、画像E1f’,E1b’,E2f’,E2b’の第一原稿画像に対する挿入位置を、記憶部101に記憶されている第一原稿画像のうちの画像E1f(図4)の位置であると判断する。 Therefore, the insertion position determination unit 102 determines the insertion positions of the images C1f ′, C1b ′, C2f ′, C2b ′, C3f ′, C3b ′ with respect to the first document image of the first document image stored in the storage unit 101. It is determined that this is the position of the image C1f (FIG. 4). Further, the insertion position determination unit 102 indicates the insertion position of the images E1f ′, E1b ′, E2f ′, E2b ′ with respect to the first document image, among the first document images stored in the storage unit 101, the image E1f (FIG. It is determined that the position is 4).
 よって、画像挿入部103は、記憶部101に記憶されている第一原稿画像(図4)において、画像C1f,C3bを画像C1f’,C1b’,C2f’,C2b’,C3f’,C3b’に置き換えることにより、第一原稿画像に対して画像C1f’,C1b’,C2f’,C2b’,C3f’,C3b’を挿入する。また、画像挿入部103は、記憶部101に記憶されている第一原稿画像(図4)において、画像E1f,E2bを画像E1f’,E1b’,E2f’,E2b’に置き換えることにより、第一原稿画像に対して画像E1f’,E1b’,E2f’,E2b’を挿入する。よって、画像C1f’,C1b’,C2f’,C2b’,C3f’,C3b’及び画像E1f’,E1b’,E2f’,E2b’の挿入後に記憶部101に記憶される画像群は、図8に示すようになる。図8では、原稿束BBの最下面の画像である画像B4bと原稿束BDの最上面の画像である画像D1fとの間に、原稿束BCのすべての画像C1f’,C1b’,C2f’,C2b’,C3f’,C3b’が挿入されている。また、図8では、原稿束BDの最下面の画像である画像D2bと原稿F1の表面の画像である画像F1fとの間に、原稿束BEのすべての画像E1f’,E1b’,E2f’,E2b’が挿入されている。 Therefore, the image insertion unit 103 converts the images C1f and C3b into images C1f ′, C1b ′, C2f ′, C2b ′, C3f ′, and C3b ′ in the first document image (FIG. 4) stored in the storage unit 101. By replacing, the images C1f ′, C1b ′, C2f ′, C2b ′, C3f ′, C3b ′ are inserted into the first document image. The image insertion unit 103 replaces the images E1f and E2b with the images E1f ′, E1b ′, E2f ′, and E2b ′ in the first document image (FIG. 4) stored in the storage unit 101, thereby Images E1f ′, E1b ′, E2f ′, E2b ′ are inserted into the original image. Therefore, the image group stored in the storage unit 101 after inserting the images C1f ′, C1b ′, C2f ′, C2b ′, C3f ′, C3b ′ and the images E1f ′, E1b ′, E2f ′, E2b ′ is shown in FIG. As shown. In FIG. 8, all the images C1f ′, C1b ′, C2f ′, and B2b ′ of the document bundle BC are between the image B4b that is the image on the bottom surface of the document bundle BB and the image D1f that is the image on the top surface of the document bundle BD. C2b ′, C3f ′, and C3b ′ are inserted. Further, in FIG. 8, all the images E1f ′, E1b ′, E2f ′, E2f ′ of the document bundle BE are placed between the image D2b which is an image on the lowermost surface of the document bundle BD and the image F1f which is an image on the surface of the document F1. E2b ′ is inserted.
 また、ファイル生成部104は、原稿束BCに対応する画像ファイル(つまり、画像C1f’,C1b’,C2f’,C2b’,C3f’,C3b’のすべてを含む画像ファイル)と、原稿束BEに対応する画像ファイル(つまり、画像E1f’,E1b’,E2f’,E2b’のすべてを含む画像ファイル)とを、所定のファイルフォーマットに従って生成する。ここでは、原稿束BC,BEの各原稿束は、除去失敗原稿束である。 Further, the file generation unit 104 generates an image file corresponding to the document bundle BC (that is, an image file including all of the images C1f ′, C1b ′, C2f ′, C2b ′, C3f ′, and C3b ′) and the document bundle BE. Corresponding image files (that is, image files including all of the images E1f ′, E1b ′, E2f ′, E2b ′) are generated according to a predetermined file format. Here, each of the document bundles BC and BE is a removal failure document bundle.
 以上が、原稿束BA,BB,BC,BD,BEのうち、原稿束BC,BEからのステープルSPの除去に失敗した場合の動作例である。 The above is an operation example when the removal of the staple SP from the original bundle BC, BE among the original bundles BA, BB, BC, BD, BE has failed.
 <画像処理システムの処理>
 以下、画像処理システムの処理を、第一の読取時の処理と、第二の読取時の処理とに分けて説明する。
<Processing of image processing system>
Hereinafter, the processing of the image processing system will be described separately for the first reading process and the second reading process.
 <第一の読取時の処理>
 図9は、実施例1の第一の読取時の処理フローの一例を示す図である。
<Processing at first reading>
FIG. 9 is a diagram illustrating an example of a processing flow during first reading according to the first embodiment.
 まず、ステップST01では、制御部11が、ドキュメントIDを“0”にリセットする。 First, in step ST01, the control unit 11 resets the document ID to “0”.
 次いで、ステップST03では、シューターに置かれた原稿群GRに含まれる複数の原稿がADFによって順次ステープル検出部14まで搬送される。 Next, in step ST03, a plurality of documents included in the document group GR placed on the shooter are sequentially conveyed to the staple detection unit 14 by the ADF.
 次いで、ステップST05では、ステープル検出部14が、原稿上のステープル位置の検出を試みる。原稿上にステープル位置が検出された場合は(ステップST05:Yes)、処理はステップST17へ進み、原稿上にステープル位置が検出されなかった場合は(ステップST05:No)、処理はステップST07へ進む。 Next, in step ST05, the staple detection unit 14 tries to detect the staple position on the document. If the staple position is detected on the document (step ST05: Yes), the process proceeds to step ST17. If the staple position is not detected on the document (step ST05: No), the process proceeds to step ST07. .
 ステップST07では、一枚の原稿が原稿読取部12まで搬送される。 In step ST07, one original is conveyed to the original reading unit 12.
 次いで、ステップST09では、原稿読取部12が、原稿を読み取り、読み取った画像を第一原稿画像として記憶部101に記憶させる。 Next, in step ST09, the document reading unit 12 reads the document and stores the read image in the storage unit 101 as the first document image.
 次いで、ステップST11では、制御部11が、ドキュメントIDをインクリメントする。 Next, in step ST11, the control unit 11 increments the document ID.
 次いで、ステップST13では、ファイル生成部104が、ステップST09で読み取られたすべての画像を含む画像ファイルを生成し、生成した画像ファイルを記憶部101に記憶させる。 Next, in step ST13, the file generation unit 104 generates an image file including all the images read in step ST09, and stores the generated image file in the storage unit 101.
 次いで、ステップST15では、制御部11が、シューターに残っている原稿があるか否か、つまり、原稿が終了していないか否かを判断する。シューターに残っている原稿がある場合、つまり、原稿が終了していない場合は(ステップST15:No)、処理はステップST03に戻る。一方で、シューターに残っている原稿がない場合、つまり、原稿が終了した場合は(ステップST15:Yes)、制御部11が、第一の読取を終了させる。 Next, in step ST15, the control unit 11 determines whether there is a document remaining on the shooter, that is, whether the document is not finished. If there is a document remaining on the shooter, that is, if the document is not finished (step ST15: No), the process returns to step ST03. On the other hand, when there is no document remaining on the shooter, that is, when the document is finished (step ST15: Yes), the control unit 11 finishes the first reading.
 一方、ステップST17では、ステープル除去部15が、ステップST05で検出されたステープル位置に従って、原稿からのステープルSPの除去を試みる。 On the other hand, in step ST17, the staple removing unit 15 attempts to remove the staple SP from the document according to the staple position detected in step ST05.
 次いで、ステップST19では、原稿束検出部13が、ステープル除去部15によるステープルSPの除去が成功したか否かを判断することにより除去失敗原稿束を検出する。ステップST17でのステープルSPの除去に成功している場合は(ステップST19:Yes)、処理はステップST21へ進み、ステップST17でのステープルSPの除去に失敗している場合は(ステップST19:No)、処理はステップST31へ進む。 Next, in step ST19, the document bundle detection unit 13 detects a removal failure document bundle by determining whether the staple removal unit 15 has successfully removed the staple SP. If the removal of the staple SP in step ST17 is successful (step ST19: Yes), the process proceeds to step ST21, and if the removal of the staple SP in step ST17 has failed (step ST19: No). The process proceeds to step ST31.
 ステップST21では、原稿が一枚だけ原稿束検出部13から原稿読取部12まで搬送される。 In step ST21, only one original is conveyed from the original bundle detection unit 13 to the original reading unit 12.
 次いで、ステップST23では、原稿読取部12が、原稿を読み取り、読み取った画像を第一原稿画像として記憶部101に記憶させる。 Next, in step ST23, the document reading unit 12 reads the document, and stores the read image in the storage unit 101 as a first document image.
 次いで、ステップST25では、制御部11は、原稿束検出部13から原稿読取部12への原稿束の搬送が終了したか否かを判断する。制御部11は、原稿束検出部13に原稿が残っていない場合には、原稿束検出部13から原稿読取部12への原稿束の搬送が終了したと判断し、原稿束検出部13に原稿が残っている場合には、原稿束検出部13から原稿読取部12への原稿束の搬送が終了していないと判断する。原稿束検出部13から原稿読取部12への原稿束の搬送が終了していない場合は(ステップST25:No)、処理はステップST21に戻り、原稿束検出部13から原稿読取部12への原稿束の搬送が終了した場合は(ステップST25:Yes)、処理はステップST27へ進む。 Next, in step ST25, the control unit 11 determines whether or not conveyance of the document bundle from the document bundle detection unit 13 to the document reading unit 12 is completed. If no document remains in the document bundle detection unit 13, the control unit 11 determines that the conveyance of the document bundle from the document bundle detection unit 13 to the document reading unit 12 has been completed, and causes the document bundle detection unit 13 to send a document. Is left, it is determined that the conveyance of the document bundle from the document bundle detection unit 13 to the document reading unit 12 is not completed. If the conveyance of the document bundle from the document bundle detection unit 13 to the document reading unit 12 is not completed (step ST25: No), the process returns to step ST21, and the document from the document bundle detection unit 13 to the document reading unit 12 is returned. When the conveyance of the bundle is completed (step ST25: Yes), the process proceeds to step ST27.
 ステップST27では、制御部11が、ドキュメントIDをインクリメントする。 In step ST27, the control unit 11 increments the document ID.
 次いで、ステップST29では、ファイル生成部104が、ステップST23で読み取られたすべての画像を含む画像ファイルを生成し、生成した画像ファイルを記憶部101に記憶させる。ステップST29の処理後、処理はステップST15へ進む。 Next, in step ST29, the file generation unit 104 generates an image file including all the images read in step ST23, and stores the generated image file in the storage unit 101. After the process of step ST29, the process proceeds to step ST15.
 一方、ステップST31では、原稿がステープルSPで綴じられた原稿束のままで原稿束検出部13から原稿読取部12まで搬送される。 On the other hand, in step ST31, the original is conveyed from the original bundle detection unit 13 to the original reading unit 12 with the original bundle bound with the staple SP.
 次いで、ステップST33では、原稿読取部12が、原稿束の最上面及び最下面を読み取り、読み取った最上面の画像(以下では「最上面画像」と呼ぶことがある)、及び、読み取った最下面の画像(以下では「最下面画像」と呼ぶことがある)を第一原稿画像として記憶部101に記憶させる。 Next, in step ST33, the document reading unit 12 reads the uppermost surface and the lowermost surface of the document bundle, reads the image of the uppermost surface (hereinafter sometimes referred to as “the uppermost image”), and the read lowermost surface. Are stored in the storage unit 101 as the first original image (hereinafter referred to as “lowermost image”).
 次いで、ステップST35では、制御部11が、ドキュメントIDをインクリメントする。 Next, in step ST35, the control unit 11 increments the document ID.
 次いで、ステップST37では、挿入位置判断部102が、最上面画像の画素密度を取得する。画素密度は、画像の特徴量の一例である。 Next, in step ST37, the insertion position determination unit 102 acquires the pixel density of the uppermost image. The pixel density is an example of an image feature amount.
 次いで、ステップST39では、オフセット排出部16が、ステープルSPで綴じられた原稿束をオフセットしてスタッカーに排出する。ステップST39の処理後、処理は、ステップST15へ進む。 Next, in step ST39, the offset discharge unit 16 offsets the document bundle bound with the staple SP and discharges it to the stacker. After the process of step ST39, the process proceeds to step ST15.
 ここで、上記と同様に、原稿群GRを形成する原稿束BA,BB,BC,BD,BE及び原稿F1において、原稿束BA,BB,BDからのステープルSPの除去が成功する一方で、原稿束BC,BEからのステープルSPの除去が失敗した場合を想定する。 Here, in the same way as described above, in the document bundles BA, BB, BC, BD, BE and the document F1 forming the document group GR, the staple SP is successfully removed from the document bundles BA, BB, BD, but the document. Assume that the removal of the staple SP from the bundles BC and BE has failed.
 よって、原稿群GRに対する第一の読取の際には、原稿束BA,BB,BDに対しては、ステップST21~ST29の処理が実行され、原稿束BC,BEに対しては、ステップST31~ST39の処理が実行され、原稿F1に対しては、ステップST07~ST13の処理が実行される。 Therefore, at the time of the first reading with respect to the document group GR, the processing of steps ST21 to ST29 is executed for the document bundle BA, BB, BD, and the steps ST31 to ST29 are performed for the document bundle BC, BE. The process of ST39 is executed, and the processes of steps ST07 to ST13 are executed for the document F1.
 原稿束BAに対してステップST21~ST29の処理が実行されると、例えば図10に示すように、“ドキュメントID=1”に対応する画像ファイル“20171212_01_001.pdf”が生成される。図10は、実施例1の第一の読取時のドキュメントテーブルの一例を示す図である。このドキュメントテーブルは、記憶部101に記憶される。画像ファイル“20171212_01_001.pdf”には、原稿束BAを形成する原稿A1,A2のすべての画像A1f,A1b,A2f,A2bが含まれる。ファイル生成部104は、画像ファイル“20171212_01_001.pdf”を“ドキュメントID=1”に対応付けてドキュメントテーブルに登録する。また、原稿束BAは除去成功原稿束であるため、制御部11は、“ドキュメントID=1”に対応するステータスを“OK”に設定する。 When the processing of steps ST21 to ST29 is executed for the document bundle BA, for example, as shown in FIG. 10, an image file “20171212_01_001.pdf” corresponding to “document ID = 1” is generated. FIG. 10 is a diagram illustrating an example of a document table at the time of first reading according to the first embodiment. This document table is stored in the storage unit 101. The image file “20171212_01_001.pdf” includes all images A1f, A1b, A2f, and A2b of the originals A1 and A2 that form the original bundle BA. The file generation unit 104 registers the image file “20171212_01_001.pdf” in the document table in association with “document ID = 1”. Further, since the document bundle BA is a successfully removed document bundle, the control unit 11 sets the status corresponding to “document ID = 1” to “OK”.
 また、原稿束BBに対してステップST21~ST29の処理が実行されると、例えば図10に示すように、“ドキュメントID=2”に対応する画像ファイル“20171212_01_002.pdf”が生成される。画像ファイル“20171212_01_002.pdf”には、原稿束BBを形成する原稿B1,B2,B3,B4のすべての画像B1f,B1b,B2f,B2b,B3f,B3b,B4f,B4bが含まれる。ファイル生成部104は、画像ファイル“20171212_01_002.pdf”を“ドキュメントID=2”に対応付けてドキュメントテーブルに登録する。また、原稿束BBは除去成功原稿束であるため、制御部11は、“ドキュメントID=2”に対応するステータスを“OK”に設定する。 Further, when the processing of steps ST21 to ST29 is executed for the document bundle BB, for example, as shown in FIG. 10, an image file “20171212_01_002.pdf” corresponding to “document ID = 2” is generated. The image file “20171212_01_002.pdf” includes all the images B1f, B1b, B2f, B2b, B3f, B3b, B4f, and B4b of the originals B1, B2, B3, and B4 that form the original bundle BB. The file generation unit 104 registers the image file “20171212_01_002.pdf” in the document table in association with “document ID = 2”. Further, since the document bundle BB is a successfully removed document bundle, the control unit 11 sets the status corresponding to “document ID = 2” to “OK”.
 また、原稿束BCに対してステップST31~ST39の処理が実行されると、原稿束BCは除去失敗原稿束であるため、例えば図10に示すように、制御部11は、“ドキュメントID=3”に対応するステータスを“束”に設定する。また、原稿束BCは除去失敗原稿束であるため、第一の読取の際には、“ドキュメントID=3”に対応する画像ファイルは生成されない。 Further, when the processing of steps ST31 to ST39 is performed on the document bundle BC, the document bundle BC is a removal failure document bundle. For example, as shown in FIG. The status corresponding to “” is set to “bundle”. Since the original bundle BC is a removal failure original bundle, an image file corresponding to “document ID = 3” is not generated at the time of the first reading.
 また、原稿束BDに対してステップST21~ST29の処理が実行されると、例えば図10に示すように、“ドキュメントID=4”に対応する画像ファイル“20171212_01_004.pdf”が生成される。画像ファイル“20171212_01_004.pdf”には、原稿束BDを形成する原稿D1,D2のすべての画像D1f,D1b,D2f,D2bが含まれる。ファイル生成部104は、画像ファイル“20171212_01_004.pdf”を“ドキュメントID=4”に対応付けてドキュメントテーブルに登録する。また、原稿束BDは除去成功原稿束であるため、制御部11は、“ドキュメントID=4”に対応するステータスを“OK”に設定する。 Further, when the processing of steps ST21 to ST29 is performed on the document bundle BD, for example, as shown in FIG. 10, an image file “20171212_01_004.pdf” corresponding to “document ID = 4” is generated. The image file “20171212_01_004.pdf” includes all the images D1f, D1b, D2f, and D2b of the documents D1 and D2 that form the document bundle BD. The file generation unit 104 registers the image file “20171212_01_004.pdf” in the document table in association with “document ID = 4”. Since the original bundle BD is a successfully removed original bundle, the control unit 11 sets the status corresponding to “document ID = 4” to “OK”.
 また、原稿束BEに対してステップST31~ST39の処理が実行されると、原稿束BEは除去失敗原稿束であるため、例えば図10に示すように、制御部11は、“ドキュメントID=5”に対応するステータスを“束”に設定する。また、原稿束BEは除去失敗原稿束であるため、第一の読取の際には、“ドキュメントID=5”に対応する画像ファイルは生成されない。 Further, when the processing of steps ST31 to ST39 is performed on the document bundle BE, the document bundle BE is a removal failure document bundle. For example, as shown in FIG. The status corresponding to “” is set to “bundle”. Further, since the original bundle BE is a removal failure original bundle, an image file corresponding to “document ID = 5” is not generated in the first reading.
 また、原稿F1に対してステップST07~ST13の処理が実行されると、例えば図10に示すように、“ドキュメントID=6”に対応する画像ファイル“20171212_01_006.pdf”が生成される。画像ファイル“20171212_01_006.pdf”には、原稿F1のすべての画像F1f,F1bが含まれる。ファイル生成部104は、画像ファイル“20171212_01_006.pdf”を“ドキュメントID=6”に対応付けてドキュメントテーブルに登録する。また、原稿F1には、そもそもステープルSPが検出されないため、制御部11は、“ドキュメントID=6”に対応するステータスを“OK”に設定する。 Further, when the processing of steps ST07 to ST13 is performed on the document F1, for example, as shown in FIG. 10, an image file “20171212_01_006.pdf” corresponding to “document ID = 6” is generated. The image file “20171212_01_006.pdf” includes all the images F1f and F1b of the document F1. The file generation unit 104 registers the image file “20171212_01_006.pdf” in the document table in association with “document ID = 6”. In addition, since the staple SP is not detected in the original document F1, the control unit 11 sets the status corresponding to “document ID = 6” to “OK”.
 画像ファイルのファイル名“YYYYMMDD_mm_nnn.pdf”の末尾の数字“nnn”は、ドキュメントIDの値に一致する。このため、ファイル生成部104によって生成される画像ファイルは、ファイル名の昇順にソートされることにより、ドキュメントIDの昇順にソートされることになる。 The number “nnn” at the end of the file name “YYYYMMDD_mm_nnn.pdf” of the image file matches the document ID value. For this reason, the image files generated by the file generation unit 104 are sorted in ascending order of the document names by sorting in ascending order of the file names.
 図11は、実施例1の領域分割の一例を示す図であり、図12は、実施例1の画素密度テーブルの一例を示す図である。この画素密度テーブルは、記憶部101に記憶される。 FIG. 11 is a diagram illustrating an example of area division according to the first embodiment, and FIG. 12 is a diagram illustrating an example of a pixel density table according to the first embodiment. This pixel density table is stored in the storage unit 101.
 第一の読取におけるステップST37での画素密度の取得にあたり、挿入位置判断部102は、まず、最上面画像を二値化する。 In acquiring the pixel density in step ST37 in the first reading, the insertion position determination unit 102 first binarizes the top surface image.
 次いで、挿入位置判断部102は、図11に示すように、原稿の全領域を複数の領域に分割する。図11では、一例として、“縦×横=4m×4l”の面積を有する原稿の全領域が互いに等しい大きさの面積を有する領域RE1~RE8に8分割される場合を示す。 Next, as shown in FIG. 11, the insertion position determination unit 102 divides the entire area of the document into a plurality of areas. FIG. 11 shows, as an example, a case where an entire area of an original having an area of “vertical × horizontal = 4 m × 4 l” is divided into eight regions RE1 to RE8 having the same size.
 次いで、挿入位置判断部102は、領域RE1~RE8の各領域毎に、画素密度を取得する。各領域の画素密度は、例えば“各領域における黒色画素の画素数/各領域の面積”によって算出される。また、各領域の面積は“m×l”によって算出される。 Next, the insertion position determination unit 102 acquires the pixel density for each of the regions RE1 to RE8. The pixel density of each region is calculated by, for example, “the number of black pixels in each region / the area of each region”. Further, the area of each region is calculated by “m × l”.
 よって、原稿束BCに対してステップST31~ST39の処理が実行されると、挿入位置判断部102は、ステップST37において、図12に示すように、画素密度テーブルの“ドキュメントID=3”に対応する面種別を“最上面”に設定する。また、挿入位置判断部102は、図12に示すように、原稿束BCの最上面画像(つまり、画像C1f(図4))の領域RE1~RE8の各領域毎に画素密度を算出し、算出した各画素密度を“ドキュメントID=3”に対応付けて記録する。ここでは、原稿束BCの最上面において、領域RE1の画素密度が“0.32”、領域RE2の画素密度が“0.11”、領域RE3の画素密度が“0.07”、領域RE4の画素密度が“0.01”、領域RE5の画素密度が“0.23”、領域RE6の画素密度が“0.07”、領域RE7の画素密度が“0.11”、領域RE8の画素密度が“0.16”と算出されたものとする。 Therefore, when the processing of steps ST31 to ST39 is performed on the document bundle BC, the insertion position determination unit 102 corresponds to “document ID = 3” in the pixel density table as shown in FIG. 12 in step ST37. Set the surface type to be “top”. Further, as shown in FIG. 12, the insertion position determination unit 102 calculates the pixel density for each of the regions RE1 to RE8 of the uppermost image (that is, the image C1f (FIG. 4)) of the document bundle BC. Each pixel density is recorded in association with “Document ID = 3”. Here, on the top surface of the document bundle BC, the pixel density of the region RE1 is “0.32”, the pixel density of the region RE2 is “0.11”, the pixel density of the region RE3 is “0.07”, and the pixel density of the region RE4 is “0.01”. Assume that the pixel density of the region RE5 is calculated as “0.23”, the pixel density of the region RE6 is “0.07”, the pixel density of the region RE7 is “0.11”, and the pixel density of the region RE8 is “0.16”.
 また、原稿束BEに対してステップST31~ST39の処理が実行されると、挿入位置判断部102は、ステップST37において、図12に示すように、画素密度テーブルの“ドキュメントID=5”に対応する面種別を“最上面”に設定する。また、挿入位置判断部102は、図12に示すように、原稿束BEの最上面画像(つまり、画像E1f(図4))の領域RE1~RE8の各領域毎に画素密度を算出し、算出した各画素密度を“ドキュメントID=5”に対応付けて記録する。ここでは、原稿束BEの最上面において、領域RE1の画素密度が“0.12”、領域RE2の画素密度が“0.05”、領域RE3の画素密度が“0.23”、領域RE4の画素密度が“0.26”、領域RE5の画素密度が“0.17”、領域RE6の画素密度が“0.17”、領域RE7の画素密度が“0.12”、領域RE8の画素密度が“0.11”と算出されたものとする。 When the processing of steps ST31 to ST39 is performed on the document bundle BE, the insertion position determining unit 102 corresponds to “document ID = 5” in the pixel density table in step ST37 as shown in FIG. Set the surface type to be “top”. Further, as shown in FIG. 12, the insertion position determination unit 102 calculates the pixel density for each of the regions RE1 to RE8 of the uppermost image (that is, the image E1f (FIG. 4)) of the document bundle BE. Each pixel density is recorded in association with “Document ID = 5”. Here, on the top surface of the original bundle BE, the pixel density of the region RE1 is “0.12”, the pixel density of the region RE2 is “0.05”, the pixel density of the region RE3 is “0.23”, and the pixel density of the region RE4 is “0.26”. Assume that the pixel density of the region RE5 is calculated as “0.17”, the pixel density of the region RE6 is “0.17”, the pixel density of the region RE7 is “0.12”, and the pixel density of the region RE8 is “0.11”.
 <第二の読取時の処理>
 図13は、実施例1の第二の読取時の処理フローの一例を示す図である。図13に示す処理フローの開始時点では、第一の読取時にステップST39においてオフセット排出された原稿束からオペレータの手作業によりステープルSPが既に除去され、ステープルSPが除去された後の原稿束がシューターに既に置かれている。
<Second reading process>
FIG. 13 is a diagram illustrating an example of a processing flow during second reading according to the first embodiment. At the start of the processing flow shown in FIG. 13, the staple SP has already been removed from the original bundle that has been offset and discharged in step ST39 at the time of the first reading by the operator's manual work, and the original bundle after the staple SP has been removed becomes the shooter. Already put in.
 まず、ステップST41では、シューターに置かれた原稿束を形成する複数枚の原稿のうち一枚の原稿が原稿読取部12まで搬送される。 First, in step ST41, one of the plurality of documents forming the bundle of documents placed on the shooter is conveyed to the document reading unit 12.
 次いで、ステップST43では、原稿読取部12が、原稿を読み取り、読み取った画像を第二原稿画像として記憶部101に記憶させる。 Next, in step ST43, the document reading unit 12 reads the document and stores the read image in the storage unit 101 as a second document image.
 次いで、ステップST45では、挿入位置判断部102が、ステップST43で読み取られた画像の画素密度を、第一の読取におけるステップST37での画素密度の取得と同様にして取得する。 Next, in step ST45, the insertion position determination unit 102 acquires the pixel density of the image read in step ST43 in the same manner as the acquisition of the pixel density in step ST37 in the first reading.
 次いで、ステップS47では、制御部11が、シューターに残っている原稿があるか否か、つまり、原稿が終了していないか否かを判断する。シューターに残っている原稿がある場合、つまり、原稿が終了していない場合は(ステップST47:No)、処理はステップST41に戻る。一方で、シューターに残っている原稿がない場合、つまり、原稿が終了した場合は(ステップST47:Yes)、処理はステップST49へ進む。 Next, in step S47, the control unit 11 determines whether or not there is a document remaining on the shooter, that is, whether or not the document is not finished. If there is a document remaining on the shooter, that is, if the document is not finished (step ST47: No), the process returns to step ST41. On the other hand, when there is no document remaining in the shooter, that is, when the document is finished (step ST47: Yes), the process proceeds to step ST49.
 ステップST49では、挿入位置判断部102が、記憶部101に記憶されているドキュメントテーブル(図10)を参照し、ステータスが“束”であるドキュメントIDを取得する。 In step ST49, the insertion position determination unit 102 refers to the document table (FIG. 10) stored in the storage unit 101, and acquires the document ID whose status is “bundle”.
 次いで、ステップST51では、挿入位置判断部102が、第一の読取時におけるステップST37(図9)で取得した画素密度(以下では「第一読取時画素密度」と呼ぶことがある)と、第二の読取時におけるステップST45で取得した画素密度(以下では「第二読取時画素密度」と呼ぶことがある)とを比較する。挿入位置判断部102は、第一読取時画素密度と第二読取時画素密度との比較において、例えば、領域RE1~RE8に渡る第一読取時画素密度と第二読取時画素密度との差の絶対値の合計値を、第一原稿画像と第二原稿画像との間の距離値として算出する。第一原稿画像と第二原稿画像との間の距離値を算出することは、第一原稿画像と第二原稿画像との間の一致度合を算出することに相当する。 Next, in step ST51, the insertion position determination unit 102 obtains the pixel density acquired in step ST37 (FIG. 9) at the time of the first reading (hereinafter sometimes referred to as “first reading pixel density”), the first The pixel density acquired in step ST45 during the second reading (hereinafter, sometimes referred to as “second reading pixel density”) is compared. In the comparison between the first reading pixel density and the second reading pixel density, for example, the insertion position determination unit 102 determines the difference between the first reading pixel density and the second reading pixel density over the regions RE1 to RE8. The total absolute value is calculated as a distance value between the first document image and the second document image. Calculation of the distance value between the first document image and the second document image is equivalent to calculating the degree of coincidence between the first document image and the second document image.
 次いで、ステップST53では、挿入位置判断部102が、複数の第二原稿画像における最小の距離値(以下では「最小距離値」と呼ぶことがある)を特定する。 Next, in step ST53, the insertion position determination unit 102 specifies the minimum distance value (hereinafter, sometimes referred to as “minimum distance value”) in the plurality of second document images.
 次いで、ステップST55では、挿入位置判断部102が、最小距離値が閾値TH未満であるか否かを判断する。最小距離値が閾値TH未満であるか否かを判断することは、第一原稿画像と第二原稿画像との間の一致度合が閾値以上であるか否かを判断することに相当する。最小距離値が閾値TH未満である場合(つまり、一致度合が閾値以上である場合)は(ステップST55:Yes)、処理はステップST57へ進む。 Next, in step ST55, the insertion position determination unit 102 determines whether or not the minimum distance value is less than the threshold value TH. Determining whether or not the minimum distance value is less than the threshold value TH corresponds to determining whether or not the degree of coincidence between the first document image and the second document image is greater than or equal to the threshold value. When the minimum distance value is less than the threshold value TH (that is, when the matching degree is greater than or equal to the threshold value) (step ST55: Yes), the process proceeds to step ST57.
 ステップST57では、挿入位置判断部102が、ステップST53で特定した最小距離値に基づいて、ステップST59で生成される画像ファイルに収める第二原稿画像を決定して第二原稿画像の第一原稿画像に対する挿入位置を判断する。 In step ST57, the insertion position determination unit 102 determines the second document image to be stored in the image file generated in step ST59 based on the minimum distance value specified in step ST53, and the first document image of the second document image. Determine the insertion position for.
 次いで、ステップST59では、ファイル生成部104が、第一原稿画像に挿入される第二原稿画像を含む画像ファイルを生成する。 Next, in step ST59, the file generation unit 104 generates an image file including the second document image to be inserted into the first document image.
 次いで、ステップST61では、画像挿入部103が、ステップST57で判断された挿入位置に従って、ステップST59で生成された画像ファイルを挿入する。ステップST61の処理後、処理はステップST63へ進む。 Next, in step ST61, the image insertion unit 103 inserts the image file generated in step ST59 according to the insertion position determined in step ST57. After the process of step ST61, the process proceeds to step ST63.
 一方、最小距離値が閾値TH以上である場合(つまり、一致度合が閾値未満である場合)は(ステップST55:No)、ステップST57~ST61の処理は行われずに、処理はステップST63へ進む。 On the other hand, when the minimum distance value is greater than or equal to the threshold value TH (that is, when the matching degree is less than the threshold value) (step ST55: No), the process proceeds to step ST63 without performing the processes of steps ST57 to ST61.
 ステップST63では、制御部11が、第二の読取によって読み取られた画像のうち画像ファイルに収められていない画像(以下では「残画像」と呼ぶことがある)があるか否かを判断する。残画像がない場合は(ステップST63:No)、制御部11が、第二の読取を終了させる。 In step ST63, the control unit 11 determines whether there is an image (hereinafter, referred to as “residual image”) that is not stored in the image file among the images read by the second reading. When there is no remaining image (step ST63: No), the control unit 11 ends the second reading.
 一方で、残画像がある場合は(ステップST63:Yes)、ステップST65において、制御部11が、第二原稿画像の第一原稿画像に対する挿入位置が不明である旨の警告をディスプレイ(図示省略)に表示させる。その警告に従って、オペレータは、マニュアルで、第二原稿画像の第一原稿画像に対する挿入位置を画像処理システム1に対して指定する。 On the other hand, if there is a remaining image (step ST63: Yes), in step ST65, the control unit 11 displays a warning that the insertion position of the second document image relative to the first document image is unknown (not shown). To display. In accordance with the warning, the operator manually designates the insertion position of the second document image with respect to the first document image to the image processing system 1.
 そして、ステップST67では、画像挿入部103が、オペレータによってマニュアルで指定された挿入位置に第二原稿画像を挿入する。ステップST67の処理後、制御部11が、第二の読取を終了させる。 In step ST67, the image insertion unit 103 inserts the second original image at the insertion position manually designated by the operator. After the process of step ST67, the control unit 11 ends the second reading.
 ここで、上記と同様に、原稿群GRを形成する原稿束BA,BB,BC,BD,BE及び原稿F1において、原稿束BA,BB,BDからのステープルSPの除去が成功する一方で、原稿束BC,BEからのステープルSPの除去が失敗した場合を想定する。よって、第二の読取時には、オペレータの手作業によってステープルSPを除去された後の原稿束BC,BEのうち、まず原稿束BCがシューターに置かれ、原稿束BCが第二の読取の読取対象となる。また、原稿束BCに対する第二の読取が終了した後に、次に原稿束BEがシューターに置かれ、原稿束BEが第二の読取の読取対象となる。 Here, in the same way as described above, in the document bundles BA, BB, BC, BD, BE and the document F1 forming the document group GR, the staple SP is successfully removed from the document bundles BA, BB, BD, but the document. Assume that the removal of the staple SP from the bundles BC and BE has failed. Therefore, at the time of the second reading, the original bundle BC is first placed on the shooter among the original bundles BC and BE after the staple SP is removed by the manual operation of the operator, and the original bundle BC is read for the second reading. It becomes. Further, after the second reading with respect to the document bundle BC is completed, the document bundle BE is then placed on the shooter, and the document bundle BE becomes a reading target for the second reading.
 図14は、実施例1の原稿束BCに対する第二の読取時に取得される画素密度の一例を示す図であり、図15は、実施例1の原稿束BCに対する第二の読取時に算出される距離値の一例を示す図であり、図16は、実施例1の原稿束BCの第二の読取時のドキュメントテーブルの一例を示す図である。また、図17は、実施例1の原稿束BEに対する第二の読取時に取得される画素密度の一例を示す図であり、図18は、実施例1の原稿束BEに対する第二の読取時に算出される距離値の一例を示す図であり、図19は、実施例1の原稿束BEの第二の読取時のドキュメントテーブルの一例を示す図である。 FIG. 14 is a diagram illustrating an example of the pixel density acquired at the time of the second reading for the document bundle BC of Embodiment 1, and FIG. 15 is calculated at the time of the second reading for the document bundle BC of Embodiment 1. FIG. 16 is a diagram illustrating an example of a distance value, and FIG. 16 is a diagram illustrating an example of a document table at the time of second reading of the document bundle BC according to the first embodiment. FIG. 17 is a diagram illustrating an example of the pixel density acquired at the time of the second reading for the document bundle BE of the first embodiment, and FIG. 18 is a calculation at the time of the second reading for the document bundle BE of the first embodiment. FIG. 19 is a diagram illustrating an example of a document table at the time of second reading of the document bundle BE according to the first embodiment.
 原稿束BCに対してステップST41~ST47の処理が実行されると、例えば図14に示すように、原稿束BCを形成する原稿C1,C2,C3の各画像C1f’,C1b’,C2f’,C2b’,C3f’,C3b’において、各領域RE1,RE2,RE3,RE4,RE5,RE6,RE7,RE8毎に画素密度が算出される。図14では、例えば、画像C1f’において、領域RE1の画素密度が“0.31”、領域RE2の画素密度が“0.11”、領域RE3の画素密度が“0.06”、領域RE4の画素密度が“0.01”、領域RE5の画素密度が“0.23”、領域RE6の画素密度が“0.08”、領域RE7の画素密度が“0.11”、領域RE8の画素密度が“0.15”と算出されたものとする。また例えば、画像C1b’において、領域RE1の画素密度が“0.35”、領域RE2の画素密度が“0.52”、領域RE3の画素密度が“0.25”、領域RE4の画素密度が“0.31”、領域RE5の画素密度が“0.10”、領域RE6の画素密度が“0.20”、領域RE7の画素密度が“0.25”、領域RE8の画素密度が“0.67”と算出されたものとする。画像C2f’,C2b’,C3f’,C3b’においても、同様に、各領域RE1,RE2,RE3,RE4,RE5,RE6,RE7,RE8毎に画素密度が算出される。 When the processing of steps ST41 to ST47 is performed on the document bundle BC, for example, as shown in FIG. 14, the images C1f ′, C1b ′, C2f ′, and the like of the documents C1, C2, and C3 that form the document bundle BC. In C2b ′, C3f ′, and C3b ′, the pixel density is calculated for each of the regions RE1, RE2, RE3, RE4, RE5, RE6, RE7, and RE8. In FIG. 14, for example, in the image C1f ′, the pixel density of the region RE1 is “0.31”, the pixel density of the region RE2 is “0.11”, the pixel density of the region RE3 is “0.06”, and the pixel density of the region RE4 is “0.01”. Assume that the pixel density of the region RE5 is calculated as “0.23”, the pixel density of the region RE6 is “0.08”, the pixel density of the region RE7 is “0.11”, and the pixel density of the region RE8 is “0.15”. Further, for example, in the image C1b ′, the pixel density of the region RE1 is “0.35”, the pixel density of the region RE2 is “0.52”, the pixel density of the region RE3 is “0.25”, the pixel density of the region RE4 is “0.31”, and the region RE5 Is calculated as “0.10”, the pixel density of the region RE6 is “0.20”, the pixel density of the region RE7 is “0.25”, and the pixel density of the region RE8 is “0.67”. Similarly, in the images C2f ′, C2b ′, C3f ′, and C3b ′, the pixel density is calculated for each of the regions RE1, RE2, RE3, RE4, RE5, RE6, RE7, and RE8.
 そこで、ステップST51において、挿入位置判断部102は、第一読取時画素密度(図12)と原稿束BCの第二読取時画素密度(図14)とを比較して、ステップST49で取得したドキュメントID毎に、領域RE1~RE8に渡る第一読取時画素密度と原稿束BCの第二読取時画素密度との差の絶対値の合計値を、第一原稿画像と原稿束BCの第二原稿画像との間の距離値として算出する。ここで、ドキュメントテーブル(図10)を参照してステップST49で取得されるドキュメントIDは“3”と“5”とである。よって例えば、図15に示すように、挿入位置判断部102は、画素密度テーブル(図12)に合わせて、“ドキュメントID=3”の“最上面”に対応付けて、画像C1f(つまり、第一の読取における“ドキュメントID=3”の最上面画像)に対する画像C1f’の距離値を“|0.32-0.31|+|0.11-0.11|+|0.07-0.06|+|0.01-0.01|+|0.23-0.23|+|0.07-0.08|+|0.11-0.11|+|0.16-0.15|=0.04”と算出する。また例えば、挿入位置判断部102は、“ドキュメントID=3”の“最上面”に対応付けて、画像C1fに対する画像C1b’の距離値を“|0.32-0.35|+|0.11-0.52|+|0.07-0.25|+|0.01-0.31|+|0.23-0.10|+|0.07-0.20|+|0.11-0.25|+|0.16-0.67|=1.83”と算出する。また例えば、挿入位置判断部102は、“ドキュメントID=5”の“最上面”に対応付けて、画像E1f(つまり、第一の読取における“ドキュメントID=5”の最上面画像)に対する画像C1f’の距離値を“|0.12-0.31|+|0.05-0.11|+|0.23-0.06|+|0.26-0.01|+|0.17-0.23|+|0.17-0.08|+|0.12-0.11|+|0.11-0.15|=0.87”と算出する。また例えば、挿入位置判断部102は、“ドキュメントID=5”の“最上面”に対応付けて、画像E1fに対する画像C1b’の距離値を“|0.12-0.35|+|0.05-0.52|+|0.23-0.25|+|0.26-0.31|+|0.17-0.10|+|0.17-0.20|+|0.12-0.25|+|0.11-0.67|=1.56”と算出する。画像C2f’,C2b’,C3f’,C3b’の距離値も同様にして算出される(図15)。 In step ST51, the insertion position determination unit 102 compares the first reading pixel density (FIG. 12) with the second reading pixel density of the document bundle BC (FIG. 14), and the document acquired in step ST49. For each ID, the sum of the absolute values of the differences between the first reading pixel density over the regions RE1 to RE8 and the second reading pixel density of the document bundle BC is calculated as the second document of the first document image and the document bundle BC. It is calculated as the distance value between the images. Here, the document IDs acquired in step ST49 with reference to the document table (FIG. 10) are “3” and “5”. Therefore, for example, as illustrated in FIG. 15, the insertion position determination unit 102 associates the image C1f (that is, the first image) with the “top surface” of “document ID = 3” in accordance with the pixel density table (FIG. 12). The distance value of the image C1f ′ with respect to “the top image of“ document ID = 3 ”in one reading) is set to“ | 0.32-0.31 | + | 0.11-0.11 | + | 0.07-0.06 | + | 0.01-0.01 | + | 0.23 -0.23 | + | 0.07-0.08 | + | 0.11-0.11 | + | 0.16-0.15 | = 0.04 ”. Further, for example, the insertion position determination unit 102 associates the distance value of the image C1b ′ with the image C1f in association with the “top surface” of “document ID = 3” by “| 0.32-0.35 | + | 0.11-0.52 | + | 0.07-0.25 | + | 0.01-0.31 | + | 0.23-0.10 | + | 0.07-0.20 | + | 0.11-0.25 | + | 0.16-0.67 | = 1.83 ”. Further, for example, the insertion position determination unit 102 associates the “top ID” of “document ID = 5” with the image C1f for the image E1f (that is, the topmost image of “document ID = 5” in the first reading). The distance value of “| 0.12-0.31 | + | 0.05-0.11 | + | 0.23-0.06 | + | 0.26-0.01 | + | 0.17-0.23 | + | 0.17-0.08 | + | 0.12-0.11 | + | 0.11 -0.15 | = 0.87 ” Further, for example, the insertion position determination unit 102 associates the distance value of the image C1b ′ with the image E1f in association with the “top surface” of “document ID = 5” by “| 0.12-0.35 | + | 0.05-0.52 | + | 0.23-0.25 | + | 0.26-0.31 | + | 0.17-0.10 | + | 0.17-0.20 | + | 0.12-0.25 | + | 0.11-0.67 | = 1.56 ”. The distance values of the images C2f ', C2b', C3f ', C3b' are calculated in the same way (FIG. 15).
 また、ステップST49で取得されたドキュメントIDが“3”と“5”とであることから、ステップST53では、挿入位置判断部102は、図15の“ドキュメントID=3”及び“ドキュメントID=5”の双方に渡って、複数の距離値である0.04,1.83,1.41,1.59,2.88,0.48,0.87,1.56,1.36,1.10,2.43,0.97の中から、最小距離値を画像C1f’の“0.04”と特定する(図15)。 Further, since the document IDs acquired in step ST49 are “3” and “5”, in step ST53, the insertion position determination unit 102 determines “document ID = 3” and “document ID = 5” in FIG. The minimum distance value among the plurality of distance values of 0.04, 1.83, 1.41, 1.59, 2.88, 0.48, 0.87, 1.56, 1.36, 1.10, 2.43, 0.97 is set to “0.04” of the image C1f ′. "" (FIG. 15).
 また、例えばステップST55で用いられる閾値THが“0.30”であるとすると、ステップST55では、挿入位置判断部102は、ステップST53で特定した最小距離値“0.04”が閾値TH未満であると判断する。つまり、挿入位置判断部102は、原稿束BCについては、複数の第二原稿画像のうちで最小距離値を有する画像C1f’が、第一原稿画像のうちの最上面画像である画像C1fに一致していると判断する。 For example, if the threshold value TH used in step ST55 is “0.30”, in step ST55, the insertion position determination unit 102 determines that the minimum distance value “0.04” specified in step ST53 is less than the threshold value TH. . That is, for the document bundle BC, the insertion position determination unit 102 sets the image C1f ′ having the minimum distance value among the plurality of second document images to be equal to the image C1f that is the uppermost image of the first document images. Judge that you are doing.
 そして、ステップST57では、ステップST53で特定した最小距離値“0.04”が“ドキュメントID=3”に対応するため(図15)、挿入位置判断部102は、原稿束BCの第二原稿画像C1f’,C1b’,C2f’,C2b’,C3f’,C3b’を“ドキュメントID=3”の画像ファイルに収める第二原稿画像として決定する。 In step ST57, since the minimum distance value “0.04” specified in step ST53 corresponds to “document ID = 3” (FIG. 15), the insertion position determination unit 102 determines the second original image C1f ′ of the original bundle BC. , C1b ′, C2f ′, C2b ′, C3f ′, and C3b ′ are determined as second document images to be stored in the image file of “document ID = 3”.
 ここで、第一の読取時のステップST33~ST37の処理により、“ドキュメントID=3”の“最上面”は、原稿束BCの最上面(つまり、画像C1fの読取面)に対応する。よって、ステップST59で生成される画像ファイルに収める第二原稿画像をドキュメントIDに基づいて決定することは、第一原稿画像に対する第二原稿画像の挿入位置を判断することに相当する。例えば、ステップST57で画像C1f’から画像C3b’までの一連の画像を“ドキュメントID=3”の画像ファイルに収める第二原稿画像として決定することは、第一原稿画像に対する画像C1f’から画像C3b’までの一連の第二原稿画像の挿入位置を、第一原稿画像における画像C1f(図4)の位置であると判断することに相当する。 Here, the “top surface” of “document ID = 3” corresponds to the top surface of the document bundle BC (that is, the reading surface of the image C1f) by the processing of steps ST33 to ST37 during the first reading. Therefore, determining the second document image to be stored in the image file generated in step ST59 based on the document ID corresponds to determining the insertion position of the second document image with respect to the first document image. For example, it is determined in step ST57 that a series of images from the image C1f ′ to the image C3b ′ is determined as the second document image to be stored in the image file with “document ID = 3” from the image C1f ′ to the image C3b for the first document image. This corresponds to determining that the insertion position of the series of second document images up to 'is the position of the image C1f (FIG. 4) in the first document image.
 次いで、ステップST59では、ファイル生成部104は、ステップST57での挿入位置判断部102の決定に従って、“ドキュメントID=3”に対応する画像ファイルとして、第一原稿画像における画像C1fの位置に挿入される一連の画像C1f’,C1b’,C2f’,C2b’,C3f’,C3b’を含む画像ファイル“20171212_01_003.pdf”を生成する。画像C1f’,C1b’,C2f’,C2b’,C3f’,C3b’は、第二の読取の読取対象となった原稿束BCを形成する原稿C1,C2,C3のすべての画像である。 Next, in step ST59, the file generation unit 104 is inserted at the position of the image C1f in the first document image as an image file corresponding to “document ID = 3” according to the determination of the insertion position determination unit 102 in step ST57. An image file “20171212_01_003.pdf” including a series of images C1f ′, C1b ′, C2f ′, C2b ′, C3f ′, and C3b ′ is generated. The images C1f ', C1b', C2f ', C2b', C3f ', and C3b' are all images of the originals C1, C2, and C3 that form the original bundle BC to be read in the second reading.
 次いで、ステップST61では、画像挿入部103は、記憶部101に記憶されている第一原稿画像である画像C1f,C3bを削除した後、図16に示すように、画像C1f’,C1b’,C2f’,C2b’,C3f’,C3b’を含む画像ファイル“20171212_01_003.pdf”を“ドキュメントID=3”に対応付けてドキュメントテーブルに登録してドキュメントテーブルを更新する。また、画像挿入部103は、“ドキュメントID=3”に対応するステータスを、“束”(図10)から“挿入”に更新する。これにより、画像ファイル“20171212_01_003.pdf”が画像ファイル“20171212_01_002.pdf”と画像ファイル“20171212_01_004.pdf”との間に挿入される。つまり、原稿束BCの第二原稿画像である画像C1f’,C1b’,C2f’,C2b’,C3f’,C3b’が、原稿束BCの第一原稿画像である画像C1f,C3bに代えて、複数の第一原稿画像において、画像B4bと画像D1fとの間に挿入されることになる。 Next, in step ST61, the image insertion unit 103 deletes the images C1f and C3b that are the first document images stored in the storage unit 101, and then, as shown in FIG. 16, the images C1f ′, C1b ′, and C2f. The image file “20171212_01_003.pdf” including “, C2b”, C3f ′, and C3b ′ is registered in the document table in association with “document ID = 3” to update the document table. Further, the image insertion unit 103 updates the status corresponding to “document ID = 3” from “bundle” (FIG. 10) to “insertion”. As a result, the image file “20171212_01_003.pdf” is inserted between the image file “20171212_01_002.pdf” and the image file “20171212_01_004.pdf”. That is, the images C1f ′, C1b ′, C2f ′, C2b ′, C3f ′, and C3b ′ that are the second document images of the document bundle BC are replaced with the images C1f and C3b that are the first document images of the document bundle BC. In the plurality of first document images, the images are inserted between the image B4b and the image D1f.
 次に、原稿束BCに対する第二の読取が終了した後にシューターに置かれた原稿束BEに対してステップST41~ST47の処理が実行されると、例えば図17に示すように、原稿束BEを形成する原稿E1,E2の各画像E1f’,E1b’,E2f’,E2b’において、各領域RE1,RE2,RE3,RE4,RE5,RE6,RE7,RE8毎に画素密度が算出される。図17では、例えば、画像E1f’において、領域RE1の画素密度が“0.11”、領域RE2の画素密度が“0.05”、領域RE3の画素密度が“0.22”、領域RE4の画素密度が“0.26”、領域RE5の画素密度が“0.17”、領域RE6の画素密度が“0.16”、領域RE7の画素密度が“0.12”、領域RE8の画素密度が“0.11”と算出されたものとする。また例えば、画像E1b’において、領域RE1の画素密度が“0.54”、領域RE2の画素密度が“0.32”、領域RE3の画素密度が“0.10”、領域RE4の画素密度が“0.40”、領域RE5の画素密度が“0.68”、領域RE6の画素密度が“0.21”、領域RE7の画素密度が“0.55”、領域RE8の画素密度が“0.77”と算出されたものとする。画像E2f’,E2b’においても、同様に、各領域RE1,RE2,RE3,RE4,RE5,RE6,RE7,RE8毎に画素密度が算出される。 Next, when the processing of steps ST41 to ST47 is performed on the document bundle BE placed on the shooter after the second reading with respect to the document bundle BC is completed, for example, as shown in FIG. In each image E1f ′, E1b ′, E2f ′, E2b ′ of the originals E1, E2 to be formed, the pixel density is calculated for each region RE1, RE2, RE3, RE4, RE5, RE6, RE7, RE8. In FIG. 17, for example, in the image E1f ′, the pixel density of the region RE1 is “0.11”, the pixel density of the region RE2 is “0.05”, the pixel density of the region RE3 is “0.22”, and the pixel density of the region RE4 is “0.26”. Assume that the pixel density of the region RE5 is calculated as “0.17”, the pixel density of the region RE6 is “0.16”, the pixel density of the region RE7 is “0.12”, and the pixel density of the region RE8 is “0.11”. Further, for example, in the image E1b ′, the pixel density of the region RE1 is “0.54”, the pixel density of the region RE2 is “0.32”, the pixel density of the region RE3 is “0.10”, the pixel density of the region RE4 is “0.40”, and the region RE5 The pixel density of “0.68”, the pixel density of the region RE6 is “0.21”, the pixel density of the region RE7 is “0.55”, and the pixel density of the region RE8 is “0.77”. Similarly, in the images E2f 'and E2b', the pixel density is calculated for each of the regions RE1, RE2, RE3, RE4, RE5, RE6, RE7, and RE8.
 そこで、ステップST51において、挿入位置判断部102は、第一読取時画素密度(図12)と原稿束BEの第二読取時画素密度(図17)とを比較して、ステップST49で取得したドキュメントID毎に、領域RE1~RE8に渡る第一読取時画素密度と原稿束BEの第二読取時画素密度との差の絶対値の合計値を、第一原稿画像と原稿束BEの第二原稿画像との間の距離値として算出する。ここで、ドキュメントテーブル(図10)を参照してステップST49で取得されるドキュメントIDは“3”と“5”とである。よって例えば、図18に示すように、挿入位置判断部102は、画素密度テーブル(図12)に合わせて、“ドキュメントID=3”の“最上面”に対応付けて、画像C1f(つまり、第一の読取における“ドキュメントID=3”の最上面画像)に対する画像E1f’の距離値を“|0.32-0.11|+|0.11-0.05|+|0.07-0.02|+|0.01-0.26|+|0.23-0.17|+|0.07-0.16|+|0.11-0.12|+|0.16-0.01|=0.88”と算出する。また例えば、挿入位置判断部102は、“ドキュメントID=3”の“最上面”に対応付けて、画像C1fに対する画像E1b’の距離値を“|0.32-0.54|+|0.11-0.32|+|0.07-0.10|+|0.01-0.40|+|0.23-0.68|+|0.07-0.21|+|0.11-0.55|+|0.16-0.77|=2.49”と算出する。また例えば、挿入位置判断部102は、“ドキュメントID=5”の“最上面”に対応付けて、画像E1f(つまり、第一の読取における“ドキュメントID=5”の最上面画像)に対する画像 E1f’の距離値を“|0.12-0.11|+|0.05-0.05|+|0.23-0.22|+|0.26-0.26|+|0.17-0.17|+|0.17-0.16|+|0.12-0.12|+|0.11-0.11|=0.03”と算出する。また例えば、挿入位置判断部102は、“ドキュメントID=5”の“最上面”に対応付けて、画像E1fに対する画像 E1b’の距離値を“|0.12-0.54|+|0.05-0.32|+|0.23-0.10|+|0.26-0.40|+|0.17-0.68|+|0.17-0.21|+|0.12-0.55|+|0.11-0.77|=2.60”と算出する。画像E2f’,E2b’の距離値も同様にして算出される(図18)。 Therefore, in step ST51, the insertion position determination unit 102 compares the first reading pixel density (FIG. 12) with the second reading pixel density of the document bundle BE (FIG. 17), and the document acquired in step ST49. For each ID, the sum of absolute values of differences between the first reading pixel density over the regions RE1 to RE8 and the second reading pixel density of the document bundle BE is calculated as the second document of the first document image and the document bundle BE. It is calculated as the distance value between the images. Here, the document IDs acquired in step ST49 with reference to the document table (FIG. 10) are “3” and “5”. Therefore, for example, as illustrated in FIG. 18, the insertion position determination unit 102 associates the image C1f (that is, the first image) in association with the “top surface” of “document ID = 3” in accordance with the pixel density table (FIG. The distance value of the image E1f ′ with respect to “the top image of“ document ID = 3 ”in one reading) is set to“ | 0.32-0.11 | + | 0.11-0.05 | + | 0.07-0.02 | + | 0.01-0.26 | + | 0.23 -0.17 | + | 0.07-0.16 | + | 0.11-0.12 | + | 0.16-0.01 | = 0.88 ”. Further, for example, the insertion position determination unit 102 associates the distance value of the image E1b ′ with respect to the image C1f “| 0.32-0.54 | + | 0.11-0.32 | + |” in association with the “top surface” of “document ID = 3”. 0.07-0.10 | + | 0.01-0.40 | + | 0.23-0.68 | + | 0.07-0.21 | + | 0.11-0.55 | + | 0.16-0.77 | = 2.49 ”. Further, for example, the insertion position determination unit 102 associates with the “uppermost surface” of “document ID = 5”, the image E1f for the image E1f (that is, the uppermost image of “document ID = 5” in the first reading). The distance value of “| 0.12-0.11 | + | 0.05-0.05 | + | 0.23-0.22 | + | 0.26-0.26 | + | 0.17-0.17 | + | 0.17-0.16 | + | 0.12-0.12 | + | 0.11 -0.11 | = 0.03 ” Further, for example, the insertion position determination unit 102 associates the distance value of the image E1b ′ with the image E1f in association with the “top surface” of “document ID = 5” “| 0.12-0.54 | + | 0.05-0.32 | + | 0.23-0.10 | + | 0.26-0.40 | + | 0.17-0.68 | + | 0.17-0.21 | + | 0.12-0.55 | + | 0.11-0.77 | = 2.60 ”. The distance value between the images E2f 'and E2b' is calculated in the same manner (FIG. 18).
 また、ステップST49で取得されたドキュメントIDが“3”と“5”とであることから、ステップST53では、挿入位置判断部102は、図18の“ドキュメントID=3”及び“ドキュメントID=5”の双方に渡って、複数の距離値である0.88,2.49,2.23,1.02,0.03,2.60,2.26,0.65の中から、最小距離値を画像E1f’の“0.03”と特定する(図18)。 Further, since the document IDs acquired in step ST49 are “3” and “5”, in step ST53, the insertion position determination unit 102 determines “document ID = 3” and “document ID = 5” in FIG. The minimum distance value is specified as “0.03” of the image E1f ′ from among a plurality of distance values 0.88, 2.49, 2.23, 1.02, 0.03, 2.60, 2.26, 0.65 (FIG. 18). .
 また、例えばステップST55で用いられる閾値THが“0.30”であるとすると、ステップST55では、挿入位置判断部102は、ステップST53で特定した最小距離値“0.03”が閾値TH未満であると判断する。つまり、挿入位置判断部102は、原稿束BEについては、複数の第二原稿画像のうちで最小距離値を有する画像E1f’が、第一原稿画像のうちの最上面画像である画像E1fに一致していると判断する。 For example, if the threshold value TH used in step ST55 is “0.30”, in step ST55, the insertion position determination unit 102 determines that the minimum distance value “0.03” specified in step ST53 is less than the threshold value TH. . That is, for the document bundle BE, the insertion position determination unit 102 sets the image E1f ′ having the minimum distance value among the plurality of second document images to be equal to the image E1f that is the uppermost image of the first document images. Judge that you are doing.
 そして、ステップST57では、ステップST53で特定した最小距離値“0.03”が“ドキュメントID=5”に対応するため(図18)、挿入位置判断部102は、原稿束BEの第二原稿画像E1f’,E1b’,E2f’,E2b’を“ドキュメントID=5”の画像ファイルに収める第二原稿画像として決定する。 In step ST57, since the minimum distance value “0.03” specified in step ST53 corresponds to “document ID = 5” (FIG. 18), the insertion position determination unit 102 determines the second document image E1f ′ of the document bundle BE. , E1b ′, E2f ′, and E2b ′ are determined as second document images to be stored in the image file of “document ID = 5”.
 ここで、第一の読取時のステップST33~ST37の処理により、“ドキュメントID=5”の“最上面”は、原稿束BEの最上面(つまり、画像E1fの読取面)に対応する。よって、ステップST59で生成される画像ファイルに収める第二原稿画像をドキュメントIDに基づいて決定することは、第一原稿画像に対する第二原稿画像の挿入位置を判断することに相当する。例えば、ステップST57で画像E1f’から画像E2b’までの一連の画像を“ドキュメントID=5”の画像ファイルに収める第二原稿画像として決定することは、第一原稿画像に対する画像E1f’から画像E2b’までの一連の第二原稿画像の挿入位置を、第一原稿画像における画像E1f(図4)の位置であると判断することに相当する。 Here, the “top surface” of “document ID = 5” corresponds to the top surface of the document bundle BE (that is, the reading surface of the image E1f) by the processing of steps ST33 to ST37 during the first reading. Therefore, determining the second document image to be stored in the image file generated in step ST59 based on the document ID corresponds to determining the insertion position of the second document image with respect to the first document image. For example, in step ST57, determining a series of images from the image E1f ′ to the image E2b ′ as the second document image to be stored in the image file with “document ID = 5” is from the image E1f ′ to the image E2b for the first document image. This corresponds to determining that the insertion position of the series of second document images up to 'is the position of the image E1f (FIG. 4) in the first document image.
 次いで、ステップST59では、ファイル生成部104は、ステップST57での挿入位置判断部102の決定に従って、“ドキュメントID=5”に対応する画像ファイルとして、第一原稿画像における画像E1fの位置に挿入される一連の画像E1f’,E1b’,E2f’,E2b’を含む画像ファイル“20171212_01_005.pdf”を生成する。画像E1f’,E1b’,E2f’,E2b’は、第二の読取の読取対象となった原稿束BEを形成する原稿E1,E2のすべての画像である。 Next, in step ST59, the file generation unit 104 is inserted at the position of the image E1f in the first document image as an image file corresponding to “document ID = 5” according to the determination of the insertion position determination unit 102 in step ST57. An image file “20171212_01_005.pdf” including a series of images E1f ′, E1b ′, E2f ′, E2b ′ is generated. The images E1f ', E1b', E2f ', and E2b' are all images of the documents E1 and E2 that form the document bundle BE to be read in the second reading.
 次いで、ステップST61では、画像挿入部103は、記憶部101に記憶されている第一原稿画像である画像E1f,E2bを削除した後、図19に示すように、画像E1f’,E1b’,E2f’,E2b’を含む画像ファイル“20171212_01_005.pdf”を“ドキュメントID=5”に対応付けてドキュメントテーブルに登録してドキュメントテーブルを更新する。また、画像挿入部103は、“ドキュメントID=5”に対応するステータスを、“束”(図10)から“挿入”に更新する。これにより、画像ファイル“20171212_01_005.pdf”が画像ファイル“20171212_01_004.pdf”と画像ファイル“20171212_01_006.pdf”との間に挿入される。つまり、原稿束BEの第二原稿画像である画像E1f’,E1b’,E2f’,E2b’が、原稿束BEの第一原稿画像である画像E1f,E2bに代えて、複数の第一原稿画像において、画像D2bと画像F1fとの間に挿入されることになる。 Next, in step ST61, the image insertion unit 103 deletes the images E1f and E2b that are the first document images stored in the storage unit 101, and then, as shown in FIG. 19, the images E1f ′, E1b ′, and E2f. The image file “20171212_01_005.pdf” including “, E2b” is registered in the document table in association with “document ID = 5”, and the document table is updated. Further, the image insertion unit 103 updates the status corresponding to “document ID = 5” from “bundle” (FIG. 10) to “insertion”. As a result, the image file “20171212_01_005.pdf” is inserted between the image file “20171212_01_004.pdf” and the image file “20171212_01_006.pdf”. That is, the images E1f ′, E1b ′, E2f ′, E2b ′, which are the second document images of the document bundle BE, are replaced with the images E1f, E2b, which are the first document images of the document bundle BE, and a plurality of first document images. In this case, the image is inserted between the image D2b and the image F1f.
 以上のように、実施例1では、画像処理装置10は、記憶部101と、挿入位置判断部102と、画像挿入部103とを有する。記憶部101は、原稿束BA,BB,BC,BD,BEを一部に含む原稿群GRに対する第一の読取によって読み取られた第一原稿画像を記憶する。挿入位置判断部102は、第二の読取によって読み取られた原稿束BC,BEの各原稿の画像である第二原稿画像の第一原稿画像に対する挿入位置を判断する。画像挿入部103は、挿入位置判断部102によって判断された挿入位置に従って、第二原稿画像を第一原稿画像の間に挿入する。 As described above, in the first embodiment, the image processing apparatus 10 includes the storage unit 101, the insertion position determination unit 102, and the image insertion unit 103. The storage unit 101 stores the first original image read by the first reading on the original group GR including the original bundles BA, BB, BC, BD, BE. The insertion position determination unit 102 determines the insertion position of the second document image that is an image of each document of the document bundles BC and BE read by the second reading with respect to the first document image. The image insertion unit 103 inserts the second document image between the first document images according to the insertion position determined by the insertion position determination unit 102.
 こうすることで、第二原稿画像が第一原稿画像の適切な位置に自動的に挿入されるため、オペレータの作業効率を向上することができる。 In this way, the second document image is automatically inserted at an appropriate position of the first document image, so that the operator's work efficiency can be improved.
 また、実施例1では、挿入位置判断部102は、第一原稿画像のうち原稿束BC,BEの最上面画像と第二原稿画像の各々との比較結果に基づいて、第二原稿画像の第一原稿画像に対する挿入位置を判断する。 In the first embodiment, the insertion position determination unit 102 determines the second document image based on the comparison result between the top image of the document bundle BC or BE and the second document image. The insertion position for one document image is determined.
 こうすることで、第二原稿画像の第一原稿画像に対する挿入位置を精度良く判断することができる。 By doing so, it is possible to accurately determine the insertion position of the second document image with respect to the first document image.
 また、実施例1では、画像処理装置10は、ファイル生成部104を有する。ファイル生成部104は、原稿束BA,BB,BC,BD,BEの各原稿束毎の画像ファイルを、例えばPDF等の所定のファイルフォーマットに従って生成する。 In the first embodiment, the image processing apparatus 10 includes the file generation unit 104. The file generation unit 104 generates an image file for each original bundle of the original bundles BA, BB, BC, BD, BE according to a predetermined file format such as PDF.
 こうすることで、オペレータのファイル管理の手間を軽減することができる。 By doing so, it is possible to reduce the trouble of operator file management.
 また、実施例1では、画像処理システム1は、画像処理装置10と、原稿束検出部13と、原稿読取部12とを有する。原稿束検出部13は、原稿群GRにおいて除去失敗原稿束である原稿束BC,BEを検出する。原稿読取部12は、原稿束検出部13により除去失敗原稿束である原稿束BC,BEが検出された場合に、原稿群GRに対する第一の読取に後続して、除去失敗原稿束である原稿束BC,BEに対する第二の読取を行う。 In the first embodiment, the image processing system 1 includes the image processing apparatus 10, the document bundle detection unit 13, and the document reading unit 12. The document bundle detection unit 13 detects document bundles BC and BE that are document bundles that have failed to be removed in the document group GR. When the document bundle detection unit 13 detects the document bundles BC and BE that are unsuccessful removal document bundles, the document reading unit 12 follows the first reading of the document group GR and the document that is the removal failure document bundle. A second reading is performed on the bundles BC and BE.
 こうすることで、画像処理装置10と、原稿束検出部13及び原稿読取部12とを連係させて、除去失敗原稿束の第二原稿画像を第一原稿画像の適切な位置に挿入することができる。 In this way, the image processing apparatus 10, the document bundle detection unit 13, and the document reading unit 12 can be linked to insert the second document image of the removal failure document bundle into an appropriate position of the first document image. it can.
 また、実施例1では、画像処理システム1は、オフセット排出部16を有する。オフセット排出部16は、原稿群GRにおいて、除去失敗原稿束である原稿束BC,BEをオフセットして排出する。 In the first embodiment, the image processing system 1 includes the offset discharge unit 16. The offset discharge unit 16 offsets and discharges the document bundles BC and BE, which are unremoved document bundles, in the document group GR.
 こうすることで、原稿群GRにおいて、除去失敗原稿束BC,BEが除去成功原稿束BA,BB,BD及び原稿F1に対してオフセットしてスタッカーにスタックされるので、オペレータは、原稿群GRにおいて除去失敗原稿束を容易に見分けることが可能になる。 By doing so, in the document group GR, the unsuccessful removal document bundles BC, BE are offset with respect to the removal success document bundles BA, BB, BD and the document F1 and stacked on the stacker. It is possible to easily identify a bundle of documents that have failed to be removed.
 [実施例2]
 実施例1では、第二原稿画像の比較対象を第一原稿画像のうちの最上面画像とした。これに対し、実施例2では、第二原稿画像の比較対象を、第一原稿画像のうちの最上面画像に代えて、第一原稿画像のうちの最下面画像とする。以下、実施例1と異なる点を説明する。
[Example 2]
In the first embodiment, the comparison target of the second document image is the uppermost image of the first document image. On the other hand, in the second embodiment, the comparison target of the second document image is the lowermost image of the first document image instead of the uppermost image of the first document image. Hereinafter, differences from the first embodiment will be described.
 <第一の読取時の処理>
 原稿束BCに対してステップST31~ST39(図9)の処理が実行されると、挿入位置判断部102は、ステップST37において、ドキュメントテーブルの“ドキュメントID=3”に対応する面種別を“最下面”に設定する。また、挿入位置判断部102は、原稿束BCの最下面画像(つまり、画像C3b(図4))の領域RE1~RE8の各領域毎に画素密度を算出し、算出した各画素密度を“ドキュメントID=3”に対応付けて記録する。
<Processing at first reading>
When the processing of steps ST31 to ST39 (FIG. 9) is performed on the document bundle BC, the insertion position determination unit 102 sets the surface type corresponding to “document ID = 3” in the document table to “highest” in step ST37. Set to “Bottom”. Further, the insertion position determination unit 102 calculates the pixel density for each of the regions RE1 to RE8 of the lowermost image (that is, the image C3b (FIG. 4)) of the document bundle BC, and calculates the calculated pixel density as “document”. Record in association with ID = 3 ″.
 また、原稿束BEに対してステップST31~ST39の処理が実行されると、挿入位置判断部102は、ステップST37において、ドキュメントテーブルの“ドキュメントID=5”に対応する面種別を“最下面”に設定する。また、挿入位置判断部102は、原稿束BEの最下面画像(つまり、画像E2b(図4))の領域RE1~RE8の各領域毎に画素密度を算出し、算出した各画素密度を“ドキュメントID=5”に対応付けて記録する。 When the processing of steps ST31 to ST39 is executed for the document bundle BE, the insertion position determination unit 102 sets the surface type corresponding to “document ID = 5” in the document table to “bottom surface” in step ST37. Set to. Further, the insertion position determination unit 102 calculates the pixel density for each of the regions RE1 to RE8 of the lowermost image (that is, the image E2b (FIG. 4)) of the document bundle BE, and calculates the calculated pixel density as “document”. Record in association with ID = 5 ″.
 つまり、実施例2では、原稿束BCの最下面画像の画素密度、及び、原稿束BEの最下面画像の画素密度が、第一読取時画素密度となる。 That is, in Example 2, the pixel density of the lowermost image of the document bundle BC and the pixel density of the lowermost image of the document bundle BE are the first reading pixel density.
 <第二の読取時の処理>
 原稿束BCに対する第二の読取時には、複数の第二原稿画像のうちで最小距離値を有する画像は画像C3b’となる。そこで、ステップST55(図13)では、挿入位置判断部102は、原稿束BCについては、複数の第二原稿画像のうちで最小距離値を有する画像C3b’が、第一原稿画像のうちの最下面画像である画像C3bに一致していると判断する。
<Second reading process>
At the time of the second reading with respect to the document bundle BC, the image having the minimum distance value among the plurality of second document images is the image C3b ′. Therefore, in step ST55 (FIG. 13), the insertion position determination unit 102, for the document bundle BC, the image C3b ′ having the minimum distance value among the plurality of second document images is the highest of the first document images. It is determined that the image matches the image C3b which is the bottom image.
 そして、ステップST57では、ステップST53で特定された最小距離値が“ドキュメントID=3”に対応することになるため、挿入位置判断部102は、原稿束BCの第二原稿画像C1f’,C1b’,C2f’,C2b’,C3f’,C3b’を“ドキュメントID=3”の画像ファイルに収める第二原稿画像として決定する。 In step ST57, since the minimum distance value specified in step ST53 corresponds to “document ID = 3”, the insertion position determination unit 102 determines the second document images C1f ′ and C1b ′ of the document bundle BC. , C2f ′, C2b ′, C3f ′, and C3b ′ are determined as second document images to be stored in the image file of “document ID = 3”.
 ここで、第一の読取時のステップST33~ST37の処理により、“ドキュメントID=3”の“最下面”は、原稿束BCの最下面(つまり、画像C3bの読取面)に対応する。よって、ステップST57で画像C1f’から画像C3b’までの一連の画像を“ドキュメントID=3”の画像ファイルに収める第二原稿画像として決定することは、第一原稿画像に対する画像C1f’から画像C3b’までの一連の第二原稿画像の挿入位置を、第一原稿画像における画像C3b(図4)の位置であると判断することに相当する。 Here, the “lowermost surface” of “document ID = 3” corresponds to the lowermost surface of the document bundle BC (that is, the reading surface of the image C3b) by the processing of steps ST33 to ST37 during the first reading. Therefore, in step ST57, determining a series of images from the image C1f ′ to the image C3b ′ as the second document image to be stored in the image file of “document ID = 3” is from the image C1f ′ to the image C3b for the first document image. This corresponds to determining that the insertion position of the series of second document images up to 'is the position of the image C3b (FIG. 4) in the first document image.
 また、原稿束BEに対する第二の読取時には、複数の第二原稿画像のうちで最小距離値を有する画像は画像E2b’となる。そこで、ステップST55(図13)では、挿入位置判断部102は、原稿束BEについては、複数の第二原稿画像のうちで最小距離値を有する画像E2b’が、第一原稿画像のうちの最下面画像である画像E2bに一致していると判断する。 In the second reading of the document bundle BE, an image having the minimum distance value among the plurality of second document images is an image E2b ′. Therefore, in step ST55 (FIG. 13), for the document bundle BE, the insertion position determination unit 102 determines that the image E2b ′ having the minimum distance value among the plurality of second document images is the highest of the first document images. It is determined that it matches the image E2b which is the lower surface image.
 そして、ステップST57では、ステップST53で特定された最小距離値が“ドキュメントID=5”に対応することになるため、挿入位置判断部102は、原稿束BEの第二原稿画像E1f’,E1b’,E2f’,E2b’を“ドキュメントID=5”の画像ファイルに収める第二原稿画像として決定する。 In step ST57, since the minimum distance value specified in step ST53 corresponds to “document ID = 5”, the insertion position determination unit 102 determines the second document images E1f ′ and E1b ′ of the document bundle BE. , E2f ′, E2b ′ are determined as second document images to be stored in the image file of “document ID = 5”.
 ここで、第一の読取時のステップST33~ST37の処理により、“ドキュメントID=5”の“最下面”は、原稿束BEの最下面(つまり、画像E2bの読取面)に対応する。よって、ステップST57で画像E1f’から画像E2b’までの一連の画像を“ドキュメントID=5”の画像ファイルに収める第二原稿画像として決定することは、第一原稿画像に対する画像E1f’から画像E2b’までの一連の第二原稿画像の挿入位置を、第一原稿画像における画像E2b(図4)の位置であると判断することに相当する。 Here, the “lowermost surface” of “document ID = 5” corresponds to the lowermost surface of the document bundle BE (that is, the reading surface of the image E2b) by the processing of steps ST33 to ST37 during the first reading. Therefore, the determination of the series of images from the image E1f ′ to the image E2b ′ as the second document image to be stored in the image file with “document ID = 5” in step ST57 is from the image E1f ′ to the image E2b for the first document image. This corresponds to determining that the insertion position of the series of second document images up to 'is the position of the image E2b (FIG. 4) in the first document image.
 以上のように、実施例2では、挿入位置判断部102は、第一原稿画像のうち原稿束BC,BEの最下面画像と第二原稿画像の各々との比較結果に基づいて、第二原稿画像の第一原稿画像に対する挿入位置を判断する。 As described above, in the second embodiment, the insertion position determination unit 102 determines the second original based on the comparison result between the lowermost image of the original bundle BC and BE and the second original image in the first original image. The insertion position of the image with respect to the first document image is determined.
 こうすることで、実施例1と同様に、第二原稿画像の第一原稿画像に対する挿入位置を精度良く判断することができる。 By doing so, the insertion position of the second document image with respect to the first document image can be accurately determined as in the first embodiment.
 [実施例3]
 実施例1では、第二原稿画像の比較対象を第一原稿画像のうちの最上面画像とした。また、実施例2では、第二原稿画像の比較対象を第一原稿画像のうちの最下面画像とした。しかし、第一の読取時に発生した除去失敗原稿束である原稿束BC,BEにおいて、各原稿束間で最上面画像が近似していたり、または、各原稿束間で最下面画像が近似していたりする場合がある。そこで、実施例3では、第二原稿画像の比較対象を、第一原稿画像のうちの最上面画像及び最下面画像の双方とする。以下、実施例1,2と異なる点を説明する。
[Example 3]
In the first embodiment, the comparison target of the second document image is the uppermost image of the first document image. In the second embodiment, the second original image is compared with the lowermost image of the first original image. However, in the document bundles BC and BE, which are unremoved document bundles generated at the time of the first reading, the uppermost image is approximated between the respective document bundles, or the lowermost image is approximated between the respective document bundles. Sometimes. Therefore, in the third embodiment, the comparison target of the second document image is both the uppermost image and the lowermost image of the first document image. Hereinafter, differences from the first and second embodiments will be described.
 <第一の読取時の処理>
 図20は、実施例3の画素密度テーブルの一例を示す図である。この画素密度テーブルは、記憶部101に記憶される。
<Processing at first reading>
FIG. 20 is a diagram illustrating an example of a pixel density table according to the third embodiment. This pixel density table is stored in the storage unit 101.
 原稿束BCに対してステップST31~ST39(図9)の処理が実行されると、挿入位置判断部102は、ステップST37において、図20に示すように、ドキュメントテーブルの“ドキュメントID=3”に対応する面種別を“最上面”及び“最下面”に設定する。また、挿入位置判断部102は、図20に示すように、原稿束BCの最上面画像(つまり、画像C1f(図4))及び最下面画像(つまり、画像C3b(図4))の領域RE1~RE8の各領域毎に画素密度を算出し、算出した各画素密度を“ドキュメントID=3”に対応付けて記録する。ここでは、原稿束BCの最上面において、領域RE1の画素密度が“0.01”、領域RE2の画素密度が“0.27”、領域RE3の画素密度が“0.24”、領域RE4の画素密度が“0.12”、領域RE5の画素密度が“0.19”、領域RE6の画素密度が“0.07”、領域RE7の画素密度が“0.24”、領域RE8の画素密度が“0.32”と算出されたものとする。また、原稿束BCの最下面において、領域RE1の画素密度が“0.07”、領域RE2の画素密度が“0.01”、領域RE3の画素密度が“0.27”、領域RE4の画素密度が“0.01”、領域RE5の画素密度が“0.25”、領域RE6の画素密度が“0.30”、領域RE7の画素密度が“0.24”、領域RE8の画素密度が“0.01”と算出されたものとする。 When the processing of steps ST31 to ST39 (FIG. 9) is performed on the document bundle BC, the insertion position determination unit 102 sets “document ID = 3” in the document table as shown in FIG. 20 in step ST37. The corresponding surface type is set to “uppermost surface” and “lowermost surface”. Further, as shown in FIG. 20, the insertion position determination unit 102 includes a region RE1 of the uppermost image (that is, the image C1f (FIG. 4)) and the lowermost image (that is, the image C3b (FIG. 4)) of the document bundle BC. The pixel density is calculated for each area of RE8, and the calculated pixel density is recorded in association with “document ID = 3”. Here, on the top surface of the document bundle BC, the pixel density of the region RE1 is “0.01”, the pixel density of the region RE2 is “0.27”, the pixel density of the region RE3 is “0.24”, and the pixel density of the region RE4 is “0.12”. It is assumed that the pixel density of the region RE5 is “0.19”, the pixel density of the region RE6 is “0.07”, the pixel density of the region RE7 is “0.24”, and the pixel density of the region RE8 is “0.32”. On the lowermost surface of the document bundle BC, the pixel density of the region RE1 is “0.07”, the pixel density of the region RE2 is “0.01”, the pixel density of the region RE3 is “0.27”, and the pixel density of the region RE4 is “0.01”, Assume that the pixel density of the region RE5 is calculated as “0.25”, the pixel density of the region RE6 is “0.30”, the pixel density of the region RE7 is “0.24”, and the pixel density of the region RE8 is “0.01”.
 また、原稿束BEに対してステップST31~ST39の処理が実行されると、挿入位置判断部102は、ステップST37において、図18に示すように、ドキュメントテーブルの“ドキュメントID=5”に対応する面種別を“最上面” 及び“最下面”に設定する。また、挿入位置判断部102は、図18に示すように、原稿束BEの最上面画像(つまり、画像E1f(図4))及び最下面画像(つまり、画像E2b(図4))の領域RE1~RE8の各領域毎に画素密度を算出し、算出した各画素密度を“ドキュメントID=5”に対応付けて記録する。ここでは、原稿束BEの最上面において、領域RE1の画素密度が“0.01”、領域RE2の画素密度が“0.26”、領域RE3の画素密度が“0.26”、領域RE4の画素密度が“0.10”、領域RE5の画素密度が“0.18”、領域RE6の画素密度が“0.08”、領域RE7の画素密度が“0.24”、領域RE8の画素密度が“0.33”と算出されたものとする。また、原稿束BEの最下面において、領域RE1の画素密度が“0.32”、領域RE2の画素密度が“0.11”、領域RE3の画素密度が“0.07”、領域RE4の画素密度が“0.01”、領域RE5の画素密度が“0.20”、領域RE6の画素密度が“0.23”、領域RE7の画素密度が“0.11”、領域RE8の画素密度が“0.16”と算出されたものとする。 When the processing of steps ST31 to ST39 is performed on the document bundle BE, the insertion position determination unit 102 corresponds to “document ID = 5” in the document table as shown in FIG. 18 in step ST37. Set the surface type to “Top” and “Bottom”. Further, as shown in FIG. 18, the insertion position determination unit 102 includes a region RE1 of the uppermost image (that is, the image E1f (FIG. 4)) and the lowermost image (that is, the image E2b (FIG. 4)) of the document bundle BE. The pixel density is calculated for each area of RE8, and the calculated pixel density is recorded in association with “document ID = 5”. Here, on the top surface of the document bundle BE, the pixel density of the region RE1 is “0.01”, the pixel density of the region RE2 is “0.26”, the pixel density of the region RE3 is “0.26”, and the pixel density of the region RE4 is “0.10”. It is assumed that the pixel density of the region RE5 is “0.18”, the pixel density of the region RE6 is “0.08”, the pixel density of the region RE7 is “0.24”, and the pixel density of the region RE8 is “0.33”. Further, on the lowermost surface of the document bundle BE, the pixel density of the region RE1 is “0.32”, the pixel density of the region RE2 is “0.11”, the pixel density of the region RE3 is “0.07”, and the pixel density of the region RE4 is “0.01”, Assume that the pixel density of the region RE5 is calculated as “0.20”, the pixel density of the region RE6 is “0.23”, the pixel density of the region RE7 is “0.11”, and the pixel density of the region RE8 is “0.16”.
 <第二の読取時の処理>
 図21は、実施例3の原稿束BCに対する第二の読取時に取得される画素密度の一例を示す図であり、図22は、実施例3の原稿束BCに対する第二の読取時に算出される距離値の一例を示す図である。また、図23は、実施例3の原稿束BEに対する第二の読取時に取得される画素密度の一例を示す図であり、図24は、実施例3の原稿束BEに対する第二の読取時に算出される距離値の一例を示す図である。
<Second reading process>
FIG. 21 is a diagram illustrating an example of the pixel density acquired at the time of the second reading for the document bundle BC of Embodiment 3, and FIG. 22 is calculated at the time of the second reading for the document bundle BC of Embodiment 3. It is a figure which shows an example of a distance value. FIG. 23 is a diagram illustrating an example of the pixel density acquired at the time of the second reading for the document bundle BE of the third embodiment, and FIG. 24 is a calculation at the time of the second reading for the document bundle BE of the third embodiment. It is a figure which shows an example of the distance value performed.
 原稿束BCに対してステップST41~ST47(図13)の処理が実行されると、例えば図21に示すように、原稿束BCを形成する原稿C1,C2,C3の各画像C1f’,C1b’,C2f’,C2b’,C3f’,C3b’において、各領域RE1,RE2,RE3,RE4,RE5,RE6,RE7,RE8毎に画素密度が算出される。図21では、例えば、画像C1f’において、領域RE1の画素密度が“0.01”、領域RE2の画素密度が“0.26”、領域RE3の画素密度が“0.25”、領域RE4の画素密度が“0.01”、領域RE5の画素密度が“0.18”、領域RE6の画素密度が“0.07”、領域RE7の画素密度が“0.24”、領域RE8の画素密度が“0.32”と算出されたものとする。また例えば、画像C1b’において、領域RE1の画素密度が“0.25”、領域RE2の画素密度が“0.02”、領域RE3の画素密度が“0.47”、領域RE4の画素密度が“0.28”、領域RE5の画素密度が“0.18”、領域RE6の画素密度が“0.24”、領域RE7の画素密度が“0.09”、領域RE8の画素密度が“0.12”と算出されたものとする。画像C2f’,C2b’,C3f’,C3b’においても、同様に、各領域RE1,RE2,RE3,RE4,RE5,RE6,RE7,RE8毎に画素密度が算出される。 When the processing of steps ST41 to ST47 (FIG. 13) is performed on the document bundle BC, for example, as shown in FIG. 21, the images C1f ′ and C1b ′ of the documents C1, C2, and C3 that form the document bundle BC. , C2f ′, C2b ′, C3f ′, and C3b ′, the pixel density is calculated for each of the regions RE1, RE2, RE3, RE4, RE5, RE6, RE7, and RE8. In FIG. 21, for example, in the image C1f ′, the pixel density of the region RE1 is “0.01”, the pixel density of the region RE2 is “0.26”, the pixel density of the region RE3 is “0.25”, and the pixel density of the region RE4 is “0.01”. It is assumed that the pixel density of the region RE5 is “0.18”, the pixel density of the region RE6 is “0.07”, the pixel density of the region RE7 is “0.24”, and the pixel density of the region RE8 is “0.32”. Further, for example, in the image C1b ′, the pixel density of the region RE1 is “0.25”, the pixel density of the region RE2 is “0.02”, the pixel density of the region RE3 is “0.47”, the pixel density of the region RE4 is “0.28”, and the region RE5 , The pixel density of the region RE6 is calculated to be “0.24”, the pixel density of the region RE7 is “0.09”, and the pixel density of the region RE8 is “0.12”. Similarly, in the images C2f ′, C2b ′, C3f ′, and C3b ′, the pixel density is calculated for each of the regions RE1, RE2, RE3, RE4, RE5, RE6, RE7, and RE8.
 そこで、ステップST51において、挿入位置判断部102は、第一読取時画素密度(図20)と原稿束BCの第二読取時画素密度(図21)とを比較して、ステップST49で取得したドキュメントID毎に、最上面及び最下面の双方において、領域RE1~RE8に渡る第一読取時画素密度と原稿束BCの第二読取時画素密度との差の絶対値の合計値を、第一原稿画像と原稿束BCの第二原稿画像との間の距離値として算出する。ここで、ドキュメントテーブル(図10)を参照してステップST49で取得されるドキュメントIDは“3”と“5”とである。 Therefore, in step ST51, the insertion position determination unit 102 compares the first reading pixel density (FIG. 20) with the second reading pixel density of the document bundle BC (FIG. 21), and the document acquired in step ST49. For each ID, on both the uppermost surface and the lowermost surface, the sum of absolute values of differences between the first reading pixel density over the regions RE1 to RE8 and the second reading pixel density of the document bundle BC is calculated as the first document. This is calculated as a distance value between the image and the second original image of the original bundle BC. Here, the document IDs acquired in step ST49 with reference to the document table (FIG. 10) are “3” and “5”.
 よって例えば、図22に示すように、挿入位置判断部102は、画素密度テーブル(図20)に合わせて、“ドキュメントID=3”の“最上面”に対応付けて、画像C1f(つまり、第一の読取における“ドキュメントID=3”の最上面画像)に対する画像C1f’の距離値を“|0.01-0.01|+|0.27-0.26|+|0.24-0.25|+|0.12-0.11|+|0.19-0.18|+|0.07-0.07|+|0.24-0.24|+|0.32-0.32|=0.04”と算出する。また例えば、挿入位置判断部102は、“ドキュメントID=3”の“最上面”に対応付けて、画像C1fに対する画像C1b’の距離値を“|0.01-0.25|+|0.27-0.02|+|0.24-0.47|+|0.12-0.28|+|0.19-0.18|+|0.07-0.24|+|0.24-0.09|+|0.32-0.12|=1.41”と算出する。また例えば、挿入位置判断部102は、“ドキュメントID=3”の“最下面”に対応付けて、画像C3b(つまり、第一の読取における“ドキュメントID=3”の最下面画像)に対する画像C1f’の距離値を“|0.07-0.01|+|0.01-0.26|+|0.27-0.25|+|0.01-0.11|+|0.25-0.18|+|0.30-0.07|+|0.24-0.24|+|0.01-0.32|=1.04”と算出する。また例えば、挿入位置判断部102は、“ドキュメントID=3”の“最下面”に対応付けて、画像C3bに対する画像C1b’の距離値を“|0.07-0.25|+|0.01-0.02|+|0.27-0.47|+|0.01-0.28|+|0.25-0.18|+|0.30-0.24|+|0.24-0.09|+|0.01-0.12|=1.05”と算出する。 Therefore, for example, as illustrated in FIG. 22, the insertion position determination unit 102 associates the image C1f (that is, the first image) in association with the “top surface” of “document ID = 3” in accordance with the pixel density table (FIG. 20). The distance value of the image C1f ′ with respect to “the uppermost image of“ document ID = 3 ”in one reading) is set to“ | 0.01-0.01 | + | 0.27-0.26 | + | 0.24-0.25 | + | 0.12-0.11 | + | 0.19 -0.18 | + | 0.07-0.07 | + | 0.24-0.24 | + | 0.32-0.32 | = 0.04 ”. Further, for example, the insertion position determination unit 102 associates the distance value of the image C1b ′ with the image C1f in association with the “top surface” of “document ID = 3” by “| 0.01-0.25 | + | 0.27-0.02 | + | 0.24-0.47 | + | 0.12-0.28 | + | 0.19-0.18 | + | 0.07-0.24 | + | 0.24-0.09 | + | 0.32-0.12 | = 1.41 ”. Further, for example, the insertion position determination unit 102 associates the “lowermost surface” of “document ID = 3” with the image C1b for the image C3b (that is, the lowermost image of “document ID = 3” in the first reading). The distance value of “| 0.07-0.01 | + | 0.01-0.26 | + | 0.27-0.25 | + | 0.01-0.11 | + | 0.25-0.18 | + | 0.30-0.07 | + | 0.24-0.24 | + | 0.01 -0.32 | = 1.04 ”. Further, for example, the insertion position determination unit 102 associates the distance value of the image C1b ′ with respect to the image C3b “| 0.07−0.25 | + | 0.01−0.02 | + |” in association with “bottom surface” of “document ID = 3”. 0.27-0.47 | + | 0.01-0.28 | + | 0.25-0.18 | + | 0.30-0.24 | + | 0.24-0.09 | + | 0.01-0.12 | = 1.05 ”.
 また例えば、挿入位置判断部102は、“ドキュメントID=5”の“最上面”に対応付けて、画像E1f(つまり、第一の読取における“ドキュメントID=5”の最上面画像)に対する画像C1f’の距離値を“|0.01-0.01|+|0.26-0.26|+|0.26-0.25|+|0.10-0.11|+|0.18-0.18|+|0.08-0.07|+|0.24-0.24|+|0.33-0.32|=0.04”と算出する。また例えば、挿入位置判断部102は、“ドキュメントID=5”の“最上面”に対応付けて、画像E1fに対する画像C1b’の距離値を“|0.01-0.25|+|0.26-0.02|+|0.26-0.47|+|0.10-0.28|+|0.18-0.18|+|0.08-0.24|+|0.24-0.09|+|0.33-0.12|=1.39”と算出する。また例えば、挿入位置判断部102は、“ドキュメントID=5”の“最下面”に対応付けて、画像E2b(つまり、第一の読取における“ドキュメントID=5”の最下面画像)に対する画像C1f’の距離値を“|0.32-0.01|+|0.11-0.26|+|0.07-0.25|+|0.01-0.11|+|0.20-0.18|+|0.23-0.07|+|0.11-0.24|+|0.16-0.32|=1.21”と算出する。また例えば、挿入位置判断部102は、“ドキュメントID=5”の“最下面”に対応付けて、画像E2bに対する画像C1b’の距離値を“|0.32-0.25|+|0.11-0.02|+|0.07-0.47|+|0.01-0.28|+|0.20-0.18|+|0.23-0.24|+|0.11-0.09|+|0.16-0.12|=0.92”と算出する。 Further, for example, the insertion position determination unit 102 associates the “top ID” of “document ID = 5” with the image C1f for the image E1f (that is, the topmost image of “document ID = 5” in the first reading). The distance value of “| 0.01-0.01 | + | 0.26-0.26 | + | 0.26-0.25 | + | 0.10-0.11 | + | 0.18-0.18 | + | 0.08-0.07 | + | 0.24-0.24 | + | 0.33 -0.32 | = 0.04 ”. Further, for example, the insertion position determination unit 102 associates the distance value of the image C1b ′ with the image E1f in association with the “top surface” of “document ID = 5” by “| 0.01-0.25 | + | 0.26-0.02 | + | 0.26-0.47 | + | 0.10-0.28 | + | 0.18-0.18 | + | 0.08-0.24 | + | 0.24-0.09 | + | 0.33-0.12 | = 1.39 ”. Further, for example, the insertion position determination unit 102 associates with the “lowermost surface” of “document ID = 5”, the image C1f for the image E2b (that is, the lowermost image of “document ID = 5” in the first reading). The distance value of “| 0.32-0.01 | + | 0.11-0.26 | + | 0.07-0.25 | + | 0.01-0.11 | + | 0.20-0.18 | + | 0.23-0.07 | + | 0.11-0.24 | + | 0.16 -0.32 | = 1.21 ” Further, for example, the insertion position determination unit 102 sets the distance value of the image C1b ′ with respect to the image E2b to “| 0.32-0.25 | + | 0.11-0.02 | + |” in association with “bottom surface” of “document ID = 5”. 0.07-0.47 | + | 0.01-0.28 | + | 0.20-0.18 | + | 0.23-0.24 | + | 0.11-0.09 | + | 0.16-0.12 | = 0.92 ”.
 画像C2f’,C2b’,C3f’,C3b’の距離値も同様にして算出される(図22)。 The distance values of the images C2f ′, C2b ′, C3f ′, C3b ′ are calculated in the same manner (FIG. 22).
 また、ステップST49で取得されたドキュメントIDが“3”と“5”とであることから、ステップST53では、挿入位置判断部102は、図22の“ドキュメントID=3”と“ドキュメントID=5”とのそれぞれにおいて、面種別毎に、最小距離値を特定する。例えば、挿入位置判断部102は、“ドキュメントID=3”の“最上面”については、複数の距離値である0.04,1.41,1.22,0.57,0.79,1.07の中から、最小距離値を画像C1f’の“0.04”と特定する。また例えば、挿入位置判断部102は、“ドキュメントID=3”の“最下面”については、複数の距離値である1.04,1.05,1.12,0.99,0.75,0.05の中から、最小距離値を画像C3b’の“0.05”と特定する。また例えば、挿入位置判断部102は、“ドキュメントID=5”の“最上面”については、複数の距離値である0.04,1.39,1.24,0.57,0.79,1.03の中から、最小距離値を画像C1f’の“0.04”と特定する。また例えば、挿入位置判断部102は、“ドキュメントID=5”の“最下面”については、複数の距離値である1.21,0.92,0.75,1.20,0.60,0.98の中から、最小距離値を画像C3f’の“0.60”と特定する。 Further, since the document IDs acquired in step ST49 are “3” and “5”, in step ST53, the insertion position determination unit 102 determines “document ID = 3” and “document ID = 5” in FIG. ", The minimum distance value is specified for each surface type. For example, for the “top surface” of “document ID = 3”, the insertion position determination unit 102 sets the minimum distance value from among a plurality of distance values 0.04, 1.41, 1.22, 0.57, 0.79, and 1.07 to the image C1f. Specify “0.04” of '. In addition, for example, the insertion position determination unit 102 sets the minimum distance value from the plurality of distance values 1.04, 1.05, 1.12, 0.99, 0.75, and 0.05 for the “bottom surface” of “document ID = 3”. It is specified as “0.05” of C3b ′. For example, the insertion position determination unit 102 sets the minimum distance value for the “top surface” of “document ID = 5” from the plurality of distance values 0.04, 1.39, 1.24, 0.57, 0.79, and 1.03. C1f ′ is specified as “0.04”. For example, the insertion position determination unit 102 sets the minimum distance value from the plurality of distance values 1.21, 0.92, 0.75, 1.20, 0.60, and 0.98 for “document ID = 5” as the image. It is specified as “0.60” of C3f ′.
 さらに、ステップST53では、挿入位置判断部102は、図22の“ドキュメントID=3”と“ドキュメントID=5”とのそれぞれにおいて、最上面の最小距離値と最下面の最小距離値とを合計する。以下では、最上面の最小距離値と最下面の最小距離値との合計値を「合計距離値」と呼ぶことがある。よって、例えば、図22において、“ドキュメントID=3”の合計距離値は“0.04+0.05=0.09”と算出され、“ドキュメントID=5”の合計距離値は“0.04+0.60=0.64”と算出される。 Further, in step ST53, the insertion position determination unit 102 adds the minimum distance value of the uppermost surface and the minimum distance value of the lowermost surface in each of “document ID = 3” and “document ID = 5” in FIG. To do. Hereinafter, the total value of the minimum distance value on the top surface and the minimum distance value on the bottom surface may be referred to as a “total distance value”. Therefore, for example, in FIG. 22, the total distance value of “document ID = 3” is calculated as “0.04 + 0.05 = 0.09”, and the total distance value of “document ID = 5” is calculated as “0.04 + 0.60 = 0.64”. Is done.
 また、例えばステップST55で用いられる閾値THが“0.50”であるとすると、ステップST55では、挿入位置判断部102は、ステップST53で算出した合計距離値“0.09”及び“0.64”のうち、合計距離値“0.09”が閾値TH未満であると判断する。 For example, if the threshold value TH used in step ST55 is “0.50”, in step ST55, the insertion position determination unit 102 calculates the total distance among the total distance values “0.09” and “0.64” calculated in step ST53. It is determined that the value “0.09” is less than the threshold value TH.
 そして、ステップST57では、閾値TH未満である合計距離値“0.09”が“ドキュメントID=3”に対応するため(図22)、挿入位置判断部102は、原稿束BCの第二原稿画像C1f’,C1b’,C2f’,C2b’,C3f’,C3b’を“ドキュメントID=3”の画像ファイルに収める第二原稿画像として決定する。 In step ST57, since the total distance value “0.09” that is less than the threshold TH corresponds to “document ID = 3” (FIG. 22), the insertion position determination unit 102 determines the second document image C1f ′ of the document bundle BC. , C1b ′, C2f ′, C2b ′, C3f ′, and C3b ′ are determined as second document images to be stored in the image file of “document ID = 3”.
 ここで、第一の読取時のステップST33~ST37の処理により、“ドキュメントID=3”の“最上面”は、原稿束BCの最上面(つまり、画像C1fの読取面)に対応し、“ドキュメントID=3”の“最下面”は、原稿束BCの最下面(つまり、画像C3bの読取面)に対応する。よって、ステップST57で画像C1f’から画像C3b’までの一連の画像を“ドキュメントID=3”の画像ファイルに収める第二原稿画像として決定することは、第一原稿画像に対する画像C1f’から画像C3b’までの一連の第二原稿画像の挿入位置を、第一原稿画像における画像C1f及び画像C3b(図4)の位置であると判断することに相当する。 Here, by the processing of steps ST33 to ST37 at the time of the first reading, the “uppermost surface” of “document ID = 3” corresponds to the uppermost surface of the document bundle BC (that is, the reading surface of the image C1f). The “lowermost surface” of the document ID = 3 ”corresponds to the lowermost surface of the document bundle BC (that is, the reading surface of the image C3b). Therefore, in step ST57, determining a series of images from the image C1f ′ to the image C3b ′ as the second document image to be stored in the image file of “document ID = 3” is from the image C1f ′ to the image C3b for the first document image. This corresponds to determining that the insertion position of the series of second document images up to 'is the position of the image C1f and the image C3b (FIG. 4) in the first document image.
 また、原稿束BEに対してステップST41~ST47(図13)の処理が実行されると、例えば図23に示すように、原稿束BEを形成する原稿E1,E2の各画像E1f’,E1b’,E2f’,E2b’において、各領域RE1,RE2,RE3,RE4,RE5,RE6,RE7,RE8毎に画素密度が算出される。図23では、例えば、画像E1f’において、領域RE1の画素密度が“0.01”、領域RE2の画素密度が“0.25”、領域RE3の画素密度が“0.27”、領域RE4の画素密度が“0.09”、領域RE5の画素密度が“0.17”、領域RE6の画素密度が“0.08”、領域RE7の画素密度が“0.24”、領域RE8の画素密度が“0.33”と算出されたものとする。また例えば、画像E1b’において、領域RE1の画素密度が“0.54”、領域RE2の画素密度が“0.32”、領域RE3の画素密度が“0.10”、領域RE4の画素密度が“0.40”、領域RE5の画素密度が“0.68”、領域RE6の画素密度が“0.21”、領域RE7の画素密度が“0.55”、領域RE8の画素密度が“0.77”と算出されたものとする。画像E2f’,E2b’においても、同様に、各領域RE1,RE2,RE3,RE4,RE5,RE6,RE7,RE8毎に画素密度が算出される。 When the processing of steps ST41 to ST47 (FIG. 13) is performed on the document bundle BE, as shown in FIG. 23, for example, the images E1f ′ and E1b ′ of the documents E1 and E2 forming the document bundle BE. , E2f ′, E2b ′, the pixel density is calculated for each of the regions RE1, RE2, RE3, RE4, RE5, RE6, RE7, and RE8. In FIG. 23, for example, in the image E1f ′, the pixel density of the region RE1 is “0.01”, the pixel density of the region RE2 is “0.25”, the pixel density of the region RE3 is “0.27”, and the pixel density of the region RE4 is “0.09”. Assume that the pixel density of the region RE5 is calculated as “0.17”, the pixel density of the region RE6 is “0.08”, the pixel density of the region RE7 is “0.24”, and the pixel density of the region RE8 is “0.33”. Further, for example, in the image E1b ′, the pixel density of the region RE1 is “0.54”, the pixel density of the region RE2 is “0.32”, the pixel density of the region RE3 is “0.10”, the pixel density of the region RE4 is “0.40”, and the region RE5 The pixel density of “0.68”, the pixel density of the region RE6 is “0.21”, the pixel density of the region RE7 is “0.55”, and the pixel density of the region RE8 is “0.77”. Similarly, in the images E2f 'and E2b', the pixel density is calculated for each of the regions RE1, RE2, RE3, RE4, RE5, RE6, RE7, and RE8.
 そこで、ステップST51において、挿入位置判断部102は、第一読取時画素密度(図20)と原稿束BEの第二読取時画素密度(図23)とを比較して、ステップST49で取得したドキュメントID毎に、最上面及び最下面の双方において、領域RE1~RE8に渡る第一読取時画素密度と原稿束BEの第二読取時画素密度との差の絶対値の合計値を、第一原稿画像と原稿束BEの第二原稿画像との間の距離値として算出する。ここで、ドキュメントテーブル(図10)を参照してステップST49で取得されるドキュメントIDは“3”と“5”とである。 Therefore, in step ST51, the insertion position determination unit 102 compares the first reading pixel density (FIG. 20) with the second reading pixel density of the document bundle BE (FIG. 23), and the document acquired in step ST49. For each ID, on both the uppermost surface and the lowermost surface, the sum of the absolute values of the differences between the first reading pixel density and the second reading pixel density of the document bundle BE over the regions RE1 to RE8 is calculated as the first document. A distance value between the image and the second original image of the original bundle BE is calculated. Here, the document IDs acquired in step ST49 with reference to the document table (FIG. 10) are “3” and “5”.
 よって例えば、図24に示すように、挿入位置判断部102は、画素密度テーブル(図20)に合わせて、“ドキュメントID=3”の“最上面”に対応付けて、画像C1f(つまり、第一の読取における“ドキュメントID=3”の最上面画像)に対する画像E1f’の距離値を“|0.01-0.01|+|0.27-0.25|+|0.24-0.27|+|0.12-0.09|+|0.19-0.17|+|0.07-0.08|+|0.24-0.24|+|0.32-0.33|=0.12”と算出する。また例えば、挿入位置判断部102は、“ドキュメントID=3”の“最上面”に対応付けて、画像C1fに対する画像E1b’の距離値を“|0.01-0.54|+|0.27-0.32|+|0.24-0.10|+|0.12-0.40|+|0.19-0.68|+|0.07-0.21|+|0.24-0.55|+|0.32-0.77|=2.39”と算出する。また例えば、挿入位置判断部102は、“ドキュメントID=3”の“最下面”に対応付けて、画像C3b(つまり、第一の読取における“ドキュメントID=3”の最下面画像)に対する画像E1f’の距離値を“|0.07-0.01|+|0.01-0.25|+|0.27-0.27|+|0.01-0.09|+|0.25-0.17|+|0.30-0.08|+|0.24-0.24|+|0.01-0.33|=1.00”と算出する。また例えば、挿入位置判断部102は、“ドキュメントID=3”の“最下面”に対応付けて、画像C3bに対する画像E1b’の距離値を“|0.07-0.54|+|0.01-0.32|+|0.27-0.10|+|0.01-0.40|+|0.25-0.68|+|0.30-0.21|+|0.24-0.55|+|0.01-0.77|=2.93”と算出する。 Therefore, for example, as illustrated in FIG. 24, the insertion position determination unit 102 associates with the “top surface” of “document ID = 3” in accordance with the pixel density table (FIG. 20), so The distance value of the image E1f ′ with respect to “the top image of“ document ID = 3 ”in one reading) is set to“ | 0.01-0.01 | + | 0.27-0.25 | + | 0.24-0.27 | + | 0.12-0.09 | + | 0.19 -0.17 | + | 0.07-0.08 | + | 0.24-0.24 | + | 0.32-0.33 | = 0.12 ”. For example, the insertion position determination unit 102 associates the distance value of the image E1b 'with the image C1f in association with the "top surface" of "document ID = 3" as "| 0.01-0.54 | + | 0.27-0.32 | + | 0.24-0.10 | + | 0.12-0.40 | + | 0.19-0.68 | + | 0.07-0.21 | + | 0.24-0.55 | + | 0.32-0.77 | = 2.39 ”. In addition, for example, the insertion position determination unit 102 associates with the “lowermost surface” of “document ID = 3”, the image E1f for the image C3b (that is, the lowermost image of “document ID = 3” in the first reading). The distance value of “| 0.07-0.01 | + | 0.01-0.25 | + | 0.27-0.27 | + | 0.01-0.09 | + | 0.25-0.17 | + | 0.30-0.08 | + | 0.24-0.24 | + | 0.01 -0.33 | = 1.00 ” Also, for example, the insertion position determination unit 102 associates the distance value of the image E1b ′ with respect to the image C3b “| 0.07−0.54 | + | 0.01−0.32 | + | in association with the“ bottom surface ”of“ document ID = 3 ”. 0.27-0.10 | + | 0.01-0.40 | + | 0.25-0.68 | + | 0.30-0.21 | + | 0.24-0.55 | + | 0.01-0.77 | = 2.93 ”.
 また例えば、挿入位置判断部102は、“ドキュメントID=5”の“最上面”に対応付けて、画像E1f(つまり、第一の読取における“ドキュメントID=5”の最上面画像)に対する画像E1f’の距離値を“|0.01-0.01|+|0.26-0.25|+|0.26-0.27|+|0.10-0.09|+|0.18-0.17|+|0.08-0.08|+|0.24-0.24|+|0.33-0.33|=0.04”と算出する。また例えば、挿入位置判断部102は、“ドキュメントID=5”の“最上面”に対応付けて、画像E1fに対する画像E1b’の距離値を“|0.01-0.54|+|0.26-0.32|+|0.26-0.10|+|0.10-0.40|+|0.18-0.68|+|0.08-0.21|+|0.24-0.55|+|0.33-0.77|=2.43”と算出する。また例えば、挿入位置判断部102は、“ドキュメントID=5”の“最下面”に対応付けて、画像E2b(つまり、第一の読取における“ドキュメントID=5”の最下面画像)に対する画像E1f’の距離値を“|0.32-0.01|+|0.11-0.25|+|0.07-0.27|+|0.01-0.09|+|0.20-0.17|+|0.23-0.08|+|0.11-0.24|+|0.16-0.33|=1.21”と算出する。また例えば、挿入位置判断部102は、“ドキュメントID=5”の“最下面”に対応付けて、画像E2bに対する画像E1b’の距離値を“|0.32-0.54|+|0.11-0.32|+|0.07-0.10|+|0.01-0.40|+|0.20-0.68|+|0.23-0.21|+|0.11-0.55|+|0.16-0.77|=2.40”と算出する。 Further, for example, the insertion position determination unit 102 associates with the “uppermost surface” of “document ID = 5”, the image E1f for the image E1f (that is, the uppermost image of “document ID = 5” in the first reading). The distance value of “| 0.01-0.01 | + | 0.26-0.25 | + | 0.26-0.27 | + | 0.10-0.09 | + | 0.18-0.17 | + | 0.08-0.08 | + | 0.24-0.24 | + | 0.33 -0.33 | = 0.04 ”. Further, for example, the insertion position determination unit 102 associates the distance value of the image E1b ′ with the image E1f in association with the “top surface” of “document ID = 5” by “| 0.01-0.54 | + | 0.26-0.32 | + | 0.26-0.10 | + | 0.10-0.40 | + | 0.18-0.68 | + | 0.08-0.21 | + | 0.24-0.55 | + | 0.33-0.77 | = 2.43 ". Further, for example, the insertion position determination unit 102 associates with the “lowermost surface” of “document ID = 5”, and the image E1f for the image E2b (that is, the lowermost image of “document ID = 5” in the first reading). The distance value of “| 0.32-0.01 | + | 0.11-0.25 | + | 0.07-0.27 | + | 0.01-0.09 | + | 0.20-0.17 | + | 0.23-0.08 | + | 0.11-0.24 | + | 0.16 -0.33 | = 1.21 ” Further, for example, the insertion position determination unit 102 associates the distance value of the image E1b ′ with respect to the image E2b “| 0.32-0.54 | + | 0.11-0.32 | + |” in association with “bottom surface” of “document ID = 5”. 0.07-0.10 | + | 0.01-0.40 | + | 0.20-0.68 | + | 0.23-0.21 | + | 0.11-0.55 | + | 0.16-0.77 | = 2.40 ”.
 画像E2f’,E2b’の距離値も同様にして算出される(図24)。 The distance value between the images E2f ′ and E2b ′ is calculated in the same manner (FIG. 24).
 また、ステップST49で取得されたドキュメントIDが“3”と“5”とであることから、ステップST53では、挿入位置判断部102は、図24の“ドキュメントID=3”と“ドキュメントID=5”とのそれぞれにおいて、面種別毎に、最小距離値を特定する。例えば、挿入位置判断部102は、“ドキュメントID=3”の“最上面”については、複数の距離値である0.12,2.39,2.07,1.20の中から、最小距離値を画像E1f’の“0.12”と特定する。また例えば、挿入位置判断部102は、“ドキュメントID=3”の“最下面”については、複数の距離値である1.00,2.93,2.11,0.94の中から、最小距離値を画像E2b’の“0.94”と特定する。また例えば、挿入位置判断部102は、“ドキュメントID=5”の“最上面”については、複数の距離値である0.04,2.43,2.09,1.20の中から、最小距離値を画像E1f’の“0.04”と特定する。また例えば、挿入位置判断部102は、“ドキュメントID=5”の“最下面”については、複数の距離値である1.21,2.40,2.10,0.05の中から、最小距離値を画像E2b’の“0.05”と特定する。 Further, since the document IDs acquired in step ST49 are “3” and “5”, in step ST53, the insertion position determination unit 102 determines “document ID = 3” and “document ID = 5” in FIG. ", The minimum distance value is specified for each surface type. For example, for the “top surface” of “document ID = 3”, the insertion position determination unit 102 sets the minimum distance value from “0.12, 2, 39, 2.07, and 1.20” that are the plurality of distance values to “0.12” of the image E1f ′. " Further, for example, the insertion position determination unit 102 sets the minimum distance value among the plurality of distance values 1.00, 2.93, 2.11 and 0.94 for the “bottom surface” of “document ID = 3” to “ Specify 0.94 ”. Further, for example, the insertion position determination unit 102 sets the minimum distance value among the plurality of distance values 0.04, 2.43, 2.09, and 1.20 for the “top surface” of “document ID = 5” to “ Specify 0.04 ”. In addition, for example, the insertion position determination unit 102 sets the minimum distance value for “bottom surface” of “document ID = 5” from the plurality of distance values 1.21, 2.40, 2.10, and 0.05 in the image E2b ′. Specify 0.05 ”.
 さらに、ステップST53では、挿入位置判断部102は、図24の“ドキュメントID=3”と“ドキュメントID=5”とのそれぞれにおいて、最上面の最小距離値と最下面の最小距離値とを合計する。よって、例えば、図24において、“ドキュメントID=3”の合計距離値は“0.12+0.94=1.06”と算出され、“ドキュメントID=5”の合計距離値は“0.04+0.05=0.09”と算出される。 Further, in step ST53, the insertion position determination unit 102 adds the minimum distance value on the uppermost surface and the minimum distance value on the lowermost surface in each of “document ID = 3” and “document ID = 5” in FIG. To do. Therefore, for example, in FIG. 24, the total distance value of “document ID = 3” is calculated as “0.12 + 0.94 = 1.06”, and the total distance value of “document ID = 5” is calculated as “0.04 + 0.05 = 0.09”. Is done.
 また、例えばステップST55で用いられる閾値THが“0.50”であるとすると、ステップST55では、挿入位置判断部102は、ステップST53で算出した合計距離値“1.06”及び“0.09”のうち、合計距離値“0.09”が閾値TH未満であると判断する。 For example, if the threshold value TH used in step ST55 is “0.50”, in step ST55, the insertion position determination unit 102 calculates the total distance among the total distance values “1.06” and “0.09” calculated in step ST53. It is determined that the value “0.09” is less than the threshold value TH.
 そして、ステップST57では、閾値TH未満である合計距離値“0.09”が“ドキュメントID=5”に対応するため(図24)、挿入位置判断部102は、原稿束BEの第二原稿画像E1f’,E1b’,E2f’,E2b’を“ドキュメントID=5”の画像ファイルに収める第二原稿画像として決定する。 In step ST57, since the total distance value “0.09” that is less than the threshold TH corresponds to “document ID = 5” (FIG. 24), the insertion position determination unit 102 determines the second original image E1f ′ of the original bundle BE. , E1b ′, E2f ′, and E2b ′ are determined as second document images to be stored in the image file of “document ID = 5”.
 ここで、第一の読取時のステップST33~ST37の処理により、“ドキュメントID=5”の“最上面”は、原稿束BEの最上面(つまり、画像E1fの読取面)に対応し、“ドキュメントID=5”の“最下面”は、原稿束BEの最下面(つまり、画像E2bの読取面)に対応する。よって、ステップST57で画像E1f’から画像E2b’までの一連の画像を“ドキュメントID=5”の画像ファイルに収める第二原稿画像として決定することは、第一原稿画像に対する画像E1f’から画像E2b’までの一連の第二原稿画像の挿入位置を、第一原稿画像における画像E1f及び画像E2b(図4)の位置であると判断することに相当する。 Here, by the processing of steps ST33 to ST37 at the time of the first reading, the “uppermost surface” of “document ID = 5” corresponds to the uppermost surface of the document bundle BE (that is, the reading surface of the image E1f). The “lowermost surface” of the document ID = 5 ”corresponds to the lowermost surface of the document bundle BE (that is, the reading surface of the image E2b). Therefore, the determination of the series of images from the image E1f ′ to the image E2b ′ as the second document image to be stored in the image file with “document ID = 5” in step ST57 is from the image E1f ′ to the image E2b for the first document image. This corresponds to determining that the insertion position of the series of second document images up to 'is the position of the image E1f and the image E2b (FIG. 4) in the first document image.
 以上のように、実施例3では、挿入位置判断部102は、第一原稿画像のうち原稿束BC,BEの最上面画像と第二原稿画像の各々との比較結果、及び、第一原稿画像のうち原稿束BC,BEの最下面画像と第二原稿画像の各々との比較結果の双方の比較結果に基づいて、第二原稿画像の第一原稿画像に対する挿入位置を判断する。 As described above, in the third embodiment, the insertion position determination unit 102 compares the top image of the document bundle BC or BE with the second document image in the first document image, and the first document image. The insertion position of the second original image with respect to the first original image is determined based on the comparison result of both the lowermost image of the original bundle BC and BE and the comparison result of each of the second original image.
 こうすることで、第二原稿画像の第一原稿画像に対する挿入位置を、実施例1,2に比べ、さらに精度良く判断することができる。 In this way, the insertion position of the second document image with respect to the first document image can be determined more accurately than in the first and second embodiments.
 [実施例4]
 記憶部101は、ハードウェアとして、例えば、メモリにより実現される。メモリの一例として、SDRAM(Synchronous Dynamic Random Access Memory)等のRAM(Random Access Memory)、ROM(Read Only Memory)、フラッシュメモリ等が挙げられる。
[Example 4]
The storage unit 101 is realized by hardware, for example, as a memory. Examples of the memory include a RAM (Random Access Memory) such as SDRAM (Synchronous Dynamic Random Access Memory), a ROM (Read Only Memory), a flash memory, and the like.
 挿入位置判断部102、画像挿入部103、ファイル生成部104、及び、制御部11は、ハードウェアとして、例えばプロセッサにより実現することができる。プロセッサの一例として、CPU(Central Processing Unit)、DSP(Digital Signal Processor)、FPGA(Field Programmable Gate Array)等が挙げられる。また、挿入位置判断部102、画像挿入部103、ファイル生成部104、及び、制御部11は、プロセッサと周辺回路とを含むLSI(Large Scale Integrated circuit)によって実現されても良い。さらに、挿入位置判断部102、画像挿入部103、ファイル生成部104、及び、制御部11は、GPU(Graphics Processing Unit)、ASIC(Application Specific Integrated Circuit)等を用いて実現されても良い。 The insertion position determination unit 102, the image insertion unit 103, the file generation unit 104, and the control unit 11 can be realized as hardware by, for example, a processor. Examples of the processor include a CPU (Central Processing Unit), a DSP (Digital Signal Processor), and an FPGA (Field Programmable Gate Array). The insertion position determination unit 102, the image insertion unit 103, the file generation unit 104, and the control unit 11 may be realized by an LSI (Large Scale Integrated circuit) including a processor and peripheral circuits. Furthermore, the insertion position determination unit 102, the image insertion unit 103, the file generation unit 104, and the control unit 11 may be realized using a GPU (Graphics Processing Unit), an ASIC (Application Specific Integrated Circuit), or the like.
 画像処理システム1での上記説明における各処理の全部または一部は、各処理に対応するプログラムを画像処理システム1が有するプロセッサに実行させることによって実現しても良い。例えば、上記説明における各処理に対応するプログラムがメモリに記憶され、プログラムがプロセッサによってメモリから読み出されて実行されても良い。また、プログラムは、任意のネットワークを介して画像処理システム1に接続されたプログラムサーバに記憶され、そのプログラムサーバから画像処理システム1にダウンロードされて実行されたり、画像処理システム1が読み取り可能な記録媒体に記憶され、その記録媒体から読み出されて実行されても良い。画像処理システム1が読み取り可能な記録媒体には、例えば、メモリカード、USBメモリ、SDカード、フレキシブルディスク、光磁気ディスク、CD-ROM、DVD、及び、Blu-ray(登録商標)ディスク等の可搬の記憶媒体が含まれる。また、プログラムは、任意の言語や任意の記述方法にて記述されたデータ処理方法であり、ソースコードやバイナリコード等の形式を問わない。また、プログラムは必ずしも単一的に構成されるものに限られず、複数のモジュールや複数のライブラリとして分散構成されるものや、OSに代表される別個のプログラムと協働してその機能を達成するものも含む。 All or a part of each process in the above description in the image processing system 1 may be realized by causing a processor included in the image processing system 1 to execute a program corresponding to each process. For example, a program corresponding to each process in the above description may be stored in the memory, and the program may be read from the memory by the processor and executed. The program is stored in a program server connected to the image processing system 1 via an arbitrary network, downloaded from the program server to the image processing system 1 and executed, or recorded by the image processing system 1. The program may be stored in a medium, read from the recording medium, and executed. Examples of the recording medium readable by the image processing system 1 include a memory card, USB memory, SD card, flexible disk, magneto-optical disk, CD-ROM, DVD, and Blu-ray (registered trademark) disk. A portable storage medium is included. The program is a data processing method described in an arbitrary language or an arbitrary description method, and may be in any format such as a source code or a binary code. In addition, the program is not necessarily limited to a single configuration, and the functions are achieved in cooperation with a plurality of modules, a configuration that is distributed as a plurality of libraries, and a separate program represented by the OS. Including things.
 画像処理システム1の分散・統合の具体的形態は図示するものに限られず、三次元形状測定装置2の全部または一部を、各種の付加等に応じて、または、機能負荷に応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。 The specific form of distribution / integration of the image processing system 1 is not limited to the one shown in the figure, and the whole or a part of the three-dimensional shape measuring apparatus 2 may be arbitrarily selected according to various additions or according to functional loads. It can be configured to be functionally or physically distributed and integrated in units.
 [他の実施例]
 [1]上記の実施例では、画像の特徴量の一例として画素密度を採用した。しかし、開示の技術に適用可能な特徴量は画素密度に限定されない。例えば、領域RE1~RE8の各領域における平均輝度値、画素の空間分散値、輝度の分散値等を画像の特徴量として採用しても良い。
[Other embodiments]
[1] In the above embodiment, the pixel density is adopted as an example of the image feature amount. However, the feature amount applicable to the disclosed technology is not limited to the pixel density. For example, an average luminance value, a pixel spatial dispersion value, a luminance dispersion value, or the like in each of the regions RE1 to RE8 may be used as the image feature amount.
 [2]上記の実施例では、一例として、原稿の全領域を領域RE1~RE8に8分割した場合について説明した。しかし、領域の分割数は8つに限定されない。例えば、原稿の全領域を4分割、16分割または32分割しても良い。 [2] In the above embodiment, as an example, the case where the entire area of the document is divided into the areas RE1 to RE8 has been described. However, the number of area divisions is not limited to eight. For example, the entire area of the document may be divided into 4, 16, or 32.
 [3]ファイル生成部104が生成する画像ファイルの所定のフォーマットはPDFに限定されず、例えば、JPEG(Joint Photographic Experts Group)やTIFF(Tagged Image File Format)等であっても良い。 [3] The predetermined format of the image file generated by the file generation unit 104 is not limited to PDF, and may be, for example, JPEG (Joint Photographic Experts Group), TIFF (Tagged Image File Format), or the like.
 [4]ファイル生成部104が画像ファイルを生成する際に、画像ファイルに含める画像の中に全面が白紙の画像(以下では「白紙画像」と呼ぶことがある)が存在する場合には、ファイル生成部104は、その白紙画像を除いた上で画像ファイルを作成しても良い。 [4] When the file generation unit 104 generates an image file, if the image to be included in the image file includes a blank image (hereinafter sometimes referred to as “blank image”), the file The generation unit 104 may create an image file after removing the blank image.
 [5]上記の実施例では、第二の読取の読取対象となる原稿束が除去失敗原稿束である場合を一例として説明した。しかし、第二の読取の読取対象となる原稿束は除去失敗原稿束に限定されない。例えば、第二の読取の読取対象となる原稿束は、第一の読取時にステープルSPで綴じられていないにも関わらず、第一の読取において重送(マルチフィード)が生じてしまった原稿束であっても良い。 [5] In the above embodiment, the case where the original bundle to be read in the second reading is a removal failure original bundle has been described as an example. However, the original bundle to be read in the second reading is not limited to the unremoved original bundle. For example, a document bundle to be read in the second reading is a document bundle that has been double-fed (multifeed) in the first reading although it is not bound by the staple SP at the time of the first reading. It may be.
1 画像処理システム
10 画像処理装置
11 制御部
12 原稿読取部
13 原稿束検出部
14 ステープル検出部
15 ステープル除去部
16 オフセット排出部
101 記憶部
102 挿入位置判断部
103 画像挿入部
104 ファイル生成部
DESCRIPTION OF SYMBOLS 1 Image processing system 10 Image processing apparatus 11 Control part 12 Document reading part 13 Document bundle detection part 14 Staple detection part 15 Staple removal part 16 Offset discharge part 101 Storage part 102 Insertion position judgment part 103 Image insertion part 104 File generation part

Claims (8)

  1.  複数枚の原稿で形成される原稿群であって、複数枚の原稿の束である原稿束を一部に含む前記原稿群に対する第一の読取によって読み取られた複数の第一画像を記憶する記憶部と、
     前記原稿束の各原稿の画像である複数の第二画像であって、前記第一の読取に後続する第二の読取によって読み取られた前記複数の第二画像の前記複数の第一画像に対する挿入位置を判断する判断部と、
     判断された前記挿入位置に従って、前記複数の第二画像を前記複数の第一画像の間に挿入する挿入部と、
     を具備する画像処理装置。
    A storage for storing a plurality of first images read by a first reading of a group of documents formed of a plurality of documents, the document group including a bundle of documents as a bundle of a plurality of documents. And
    Inserting a plurality of second images, which are images of each document of the document bundle, read by a second reading subsequent to the first reading into the plurality of first images A determination unit for determining a position;
    An insertion unit for inserting the plurality of second images between the plurality of first images according to the determined insertion position;
    An image processing apparatus comprising:
  2.  前記判断部は、前記第一の読取によって読み取られた前記複数の第一画像のうち前記原稿束の最上面の画像と、前記第二の読取によって読み取られた前記複数の第二画像の各々との比較結果、または、前記第一の読取によって読み取られた前記複数の第一画像のうち前記原稿束の最下面の画像と、前記第二の読取によって読み取られた前記複数の第二画像の各々との比較結果の何れか一方の比較結果に基づいて、前記挿入位置を判断する、
     請求項1に記載の画像処理装置。
    The determination unit includes an uppermost image of the bundle of documents among the plurality of first images read by the first reading, and each of the plurality of second images read by the second reading. Each of the plurality of first images read by the first reading and the plurality of second images read by the second reading. The insertion position is determined based on one of the comparison results of
    The image processing apparatus according to claim 1.
  3.  前記判断部は、前記第一の読取によって読み取られた前記複数の第一画像のうち前記原稿束の最上面の画像と、前記第二の読取によって読み取られた前記複数の第二画像の各々との比較結果、及び、前記第一の読取によって読み取られた前記複数の第一画像のうち前記原稿束の最下面の画像と、前記第二の読取によって読み取られた前記複数の第二画像の各々との比較結果の双方の比較結果に基づいて、前記挿入位置を判断する、
     請求項1に記載の画像処理装置。
    The determination unit includes an uppermost image of the bundle of documents among the plurality of first images read by the first reading, and each of the plurality of second images read by the second reading. And the lowermost image of the bundle of documents among the plurality of first images read by the first reading and the plurality of second images read by the second reading. And determining the insertion position based on both comparison results of
    The image processing apparatus according to claim 1.
  4.  前記原稿束毎の画像ファイルを所定のファイルフォーマットに従って生成する生成部、
     をさらに具備する請求項1に記載の画像処理装置。
    A generating unit that generates an image file for each bundle of documents according to a predetermined file format;
    The image processing apparatus according to claim 1, further comprising:
  5.  前記原稿群において前記原稿束を検出する検出部と、
     前記原稿群において前記原稿束が検出された場合に、前記原稿群に対する前記第一の読取に後続して、前記原稿束に対する前記第二の読取を行う読取部と、
     請求項1に記載の画像処理装置と、
     を具備する画像処理システム。
    A detection unit for detecting the document bundle in the document group;
    A reading unit that performs the second reading on the document bundle subsequent to the first reading on the document group when the document bundle is detected in the document group;
    An image processing apparatus according to claim 1;
    An image processing system comprising:
  6.  前記原稿群において前記原稿束をオフセットして排出する排出部、
     をさらに具備する請求項5に記載の画像処理システム。
    A discharge unit that offsets and discharges the bundle of documents in the document group;
    The image processing system according to claim 5, further comprising:
  7.  複数枚の原稿で形成される原稿群であって、複数枚の原稿の束である原稿束を一部に含む前記原稿群に対する第一の読取によって読み取られた複数の第一画像を記憶し、
     前記原稿束の各原稿の画像である複数の第二画像であって、前記第一の読取に後続する第二の読取によって読み取られた前記複数の第二画像の前記複数の第一画像に対する挿入位置を判断し、
     判断した前記挿入位置に従って、前記複数の第二画像を前記複数の第一画像の間に挿入する、
     画像処理方法。
    Storing a plurality of first images read by a first reading of a group of documents formed of a plurality of documents, the document group including a bundle of documents as a bundle of a plurality of documents;
    Inserting a plurality of second images, which are images of each document of the document bundle, read by a second reading subsequent to the first reading into the plurality of first images Determine the position,
    According to the determined insertion position, the plurality of second images are inserted between the plurality of first images.
    Image processing method.
  8.  複数枚の原稿で形成される原稿群であって、複数枚の原稿の束である原稿束を一部に含む前記原稿群に対する第一の読取によって読み取られた複数の第一画像を記憶部に記憶させ、
     前記原稿束の各原稿の画像である複数の第二画像であって、前記第一の読取に後続する第二の読取によって読み取られた前記複数の第二画像の前記複数の第一画像に対する挿入位置を判断し、
     判断した前記挿入位置に従って、前記複数の第二画像を前記複数の第一画像の間に挿入する、
     処理をプロセッサに実行させるための画像処理プログラム。
    A plurality of first images read by a first reading on a group of documents formed of a plurality of documents, each of which includes a bundle of documents that is a bundle of a plurality of documents, are stored in a storage unit. Remember,
    Inserting a plurality of second images, which are images of each document of the document bundle, read by a second reading subsequent to the first reading into the plurality of first images Determine the position,
    According to the determined insertion position, the plurality of second images are inserted between the plurality of first images.
    An image processing program for causing a processor to execute processing.
PCT/JP2017/021979 2017-06-14 2017-06-14 Image processing device, image processing system, image processing method and image processing program WO2018229903A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2017/021979 WO2018229903A1 (en) 2017-06-14 2017-06-14 Image processing device, image processing system, image processing method and image processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2017/021979 WO2018229903A1 (en) 2017-06-14 2017-06-14 Image processing device, image processing system, image processing method and image processing program

Publications (1)

Publication Number Publication Date
WO2018229903A1 true WO2018229903A1 (en) 2018-12-20

Family

ID=64660247

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2017/021979 WO2018229903A1 (en) 2017-06-14 2017-06-14 Image processing device, image processing system, image processing method and image processing program

Country Status (1)

Country Link
WO (1) WO2018229903A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001063910A (en) * 1999-08-27 2001-03-13 Minolta Co Ltd Automatic document conveying device
JP2002027171A (en) * 2000-07-11 2002-01-25 Murata Mach Ltd Original reading recording device
JP2010034734A (en) * 2008-07-28 2010-02-12 Kyocera Mita Corp Image processing apparatus
JP2012217147A (en) * 2011-04-01 2012-11-08 Konica Minolta Business Technologies Inc Document reading device, method for controlling the same, and image forming device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001063910A (en) * 1999-08-27 2001-03-13 Minolta Co Ltd Automatic document conveying device
JP2002027171A (en) * 2000-07-11 2002-01-25 Murata Mach Ltd Original reading recording device
JP2010034734A (en) * 2008-07-28 2010-02-12 Kyocera Mita Corp Image processing apparatus
JP2012217147A (en) * 2011-04-01 2012-11-08 Konica Minolta Business Technologies Inc Document reading device, method for controlling the same, and image forming device

Similar Documents

Publication Publication Date Title
JP5002497B2 (en) Image processing apparatus, image processing method, and image processing program
US7729536B2 (en) Boundary extracting method, program, and device using the same
US7295680B2 (en) Embedding and detecting digital watermark in image
JP5934174B2 (en) Method and program for authenticating a printed document
US8064705B2 (en) Image processing apparatus and control method thereof
WO2005071939A1 (en) Unauthorized copy preventing device and method thereof, and program
WO2009094446A1 (en) Method and apparatus for cropping images
CN105654609A (en) Paper money processing method and paper money processing system
US20060279767A1 (en) Method and apparatus for detecting specific pattern and copying machine including the same
WO2018229903A1 (en) Image processing device, image processing system, image processing method and image processing program
JP6481957B2 (en) Image processing apparatus and program
US20090154812A1 (en) Method for Identifying Objects and Object Identification System
JP2003162723A (en) Image processing program
WO2019106832A1 (en) Image processing device, feature quantity generation method, and program
KR101492486B1 (en) Identification system and method for scaned comics insensitive to composition method
JP4064677B2 (en) Image processing apparatus, image processing method, and program causing computer to execute the method
JP3806704B2 (en) Image processing device
JPWO2019116426A1 (en) Staple processing apparatus and staple processing method
JP3055484B2 (en) Character recognition apparatus and method
JP6716980B2 (en) Printed matter identification device, processing method, and program
Abdullah et al. X_myKarve: Non-contiguous JPEG file carver
JP7287125B2 (en) Information processing device, file defect coping method, and computer program
Abdullah et al. Carving linearly JPEG images using unique hex patterns (UHP)
JPH11112796A (en) Image processor
CN113286053A (en) File scanning method, equipment, medium and product

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: 17913995

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17913995

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP