[go: up one dir, main page]

JP2012151560A - Device for determining original document size, control method of the same, and program - Google Patents

Device for determining original document size, control method of the same, and program Download PDF

Info

Publication number
JP2012151560A
JP2012151560A JP2011007095A JP2011007095A JP2012151560A JP 2012151560 A JP2012151560 A JP 2012151560A JP 2011007095 A JP2011007095 A JP 2011007095A JP 2011007095 A JP2011007095 A JP 2011007095A JP 2012151560 A JP2012151560 A JP 2012151560A
Authority
JP
Japan
Prior art keywords
size
image
document
code
document size
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
JP2011007095A
Other languages
Japanese (ja)
Inventor
Fumiaki Hirose
史明 廣瀬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2011007095A priority Critical patent/JP2012151560A/en
Publication of JP2012151560A publication Critical patent/JP2012151560A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Facsimile Scanning Arrangements (AREA)

Abstract

PROBLEM TO BE SOLVED: To solve such a problem that, when determining a document size based on an image edge, there are cases where only a part of a sheet has an image depending on an image, and if an image size is determined based on a read image edge, an original document size may not be correctly detected.SOLUTION: The device for determining an original document size scans the document whole area, detects a QR code from a reference point, measures a main-scanning distance and a sub-scanning distance of the detected QR code from the reference point of an original platen, collates the measured values with a size table kept beforehand, and determines a document size based on the collation result.

Description

本発明は、原稿のサイズを判定する装置、その制御方法、プログラムに関する。   The present invention relates to an apparatus for determining a document size, a control method therefor, and a program.

画像処理装置において、画像読取装置で画像を読み取りデジタル画像データに変換して画像処理を行う際に、原稿画像の物理的なサイズを知る必要があった。例えば、あるサイズの用紙に描画された原稿画像を、変倍して別の用紙に出力する場合に、その出力用紙に収まる変倍率を知る必要があるが、原稿サイズが不明だと、ユーザに原稿サイズもしくは変倍率を明示的に入力してもらう必要があった。そのような処理はユーザにとって煩雑であるため、原稿サイズを検知できる原稿サイズセンサが、多くの画像読取装置には具備されている。   In an image processing apparatus, when an image is read by an image reading apparatus and converted into digital image data for image processing, it is necessary to know the physical size of the document image. For example, when a document image drawn on a certain size of paper is scaled and output to another paper, it is necessary to know the scaling factor that can be accommodated on the output paper. It was necessary to explicitly input the manuscript size or scaling ratio. Since such processing is complicated for the user, a document size sensor capable of detecting the document size is provided in many image reading apparatuses.

しかしながら、A4以下のサイズの出力に特化したような構成の安価な画像処理装置では、コスト削減の観点から原稿サイズ検知センサをその画像読取装置の構成から外す場合がある。その結果、画像処理装置は原稿サイズを検知する手段をもたないため、画像読取装置に原稿を読ませる際に、ユーザにその原稿サイズを毎回明示的に入力してもらう必要があり、煩雑な操作を強いていた。   However, in an inexpensive image processing apparatus having a configuration specialized for an output of A4 or smaller size, the document size detection sensor may be removed from the configuration of the image reading apparatus from the viewpoint of cost reduction. As a result, since the image processing apparatus does not have a means for detecting the document size, it is necessary for the user to explicitly input the document size every time when the image reading apparatus reads the document. Forced operation.

また、近年、情報セキュリティへの意識の高まりとともに、用紙に出力した画像に対して所定の情報を持たせ、スキャン時にその情報を読み取った上で所定の判定ロジックを通して複製の可否を判定することで、安易に複製をさせない技術が提案されている。例えば、出力用紙の四隅のいずれかに所定の情報を格納したQRコードを印刷し、スキャン時にそのQRコードを読み取って複製を許可するかどうかを判定する技術が提案されている。本技術はBMLinkSプロジェクトの一部として公知の技術であるためその詳細の説明は省略する。近年の情報セキュリティに対する意識の高まりから、今後多くの出力物が何らかのセキュリティ情報を埋め込んで出力されるとみられ、BMLinkS対応機では標準でQRコードが出力されるようになると期待されている。   Also, in recent years, as information security has been raised, given information is given to images output on paper, and the information is read at the time of scanning. A technique that does not allow easy copying is proposed. For example, a technique has been proposed in which a QR code storing predetermined information is printed at any of the four corners of the output paper, and the QR code is read during scanning to determine whether or not copying is permitted. Since this technology is a known technology as part of the BMLinkS project, a detailed description thereof will be omitted. Due to the recent increase in awareness of information security, it is expected that many output products will be output with some security information embedded in the future, and it is expected that QR codes will be output as standard on BMLinkS compatible machines.

画像読取装置にセットされた原稿サイズを、原稿サイズ検知センサなしに検知する手段としては、特許文献1や特許文献2のような、画像読取装置で読み取った画像を解析し、原稿サイズを決定する技術が提案されている。   As means for detecting the document size set in the image reading device without the document size detection sensor, an image read by the image reading device such as Patent Document 1 or Patent Document 2 is analyzed to determine the document size. Technology has been proposed.

特許文献1によれば、画像読取装置は読み取った画像を解析し、その画像中に存在する所定の閾値以上のデータ量をもつエッジ部分を検出する。エッジ部分が1本しか検出できなかった場合は原点とそのエッジを含む矩形を原稿のエッジと判定する。エッジ部分が2本以上検出された場合は、基準位置から最も遠いエッジと基準位置を含む矩形を原稿のエッジと判定し、それが所定のサイズより大きい場合は、検出したエッジ全てを含む矩形を原稿のエッジと判定する。   According to Patent Document 1, the image reading apparatus analyzes the read image and detects an edge portion having a data amount equal to or larger than a predetermined threshold existing in the image. When only one edge portion can be detected, the origin and the rectangle including the edge are determined as the edge of the document. When two or more edge portions are detected, the edge that is farthest from the reference position and the rectangle that includes the reference position are determined as the edges of the document. If the edge is larger than a predetermined size, the rectangle that includes all the detected edges is determined. Judged as the edge of the document.

特許文献2によれば、画像読取装置は、原稿サイズを検知するためにまずプレスキャンを行う。その上で読み取った画像を解析し、エッジ点群を抽出して直線近似を行い、その直線が原稿のエッジとして妥当かどうかを、所定の判定基準に基づいて判定する。妥当と判定された場合、その直線を用いて原稿画像サイズを決定した上で、その原稿サイズの領域を再度スキャンする。   According to Patent Document 2, the image reading apparatus first performs a pre-scan in order to detect the document size. Then, the read image is analyzed, an edge point group is extracted and straight line approximation is performed, and whether or not the straight line is appropriate as an edge of the document is determined based on a predetermined determination criterion. If it is determined to be appropriate, the original image size is determined using the straight line, and then the original size area is scanned again.

特開2008−35173JP 2008-35173 A 特開2009−164805JP 2009-164805 A

しかしながら、画像のエッジをもとに原稿サイズを決定する場合、画像によっては用紙の一部分にしか画像がない場合もあり、読み取った画像のエッジに基づいて画像サイズを判定すると、本来の原稿サイズを正しく検知できない場合があるという課題があった。   However, when the document size is determined based on the edge of the image, depending on the image, there may be an image on only a part of the paper. If the image size is determined based on the edge of the read image, the original document size is determined. There was a problem that it could not be detected correctly.

原稿を読み取る読み取り手段と、
前記読み取りにより得られた画像からコードの位置を検出する検出手段と、
前記検出された位置と読み取り基準点とに基づいて、前記原稿のサイズを判定する判定手段とを有することを特徴とする装置。
Reading means for reading an original;
Detecting means for detecting the position of the code from the image obtained by the reading;
An apparatus comprising: a determination unit that determines the size of the document based on the detected position and a reading reference point.

本発明によれば、QRコード等のコードが描画された原稿において、原稿サイズ検知センサを省いた構成の画像読取装置でも、ユーザに煩雑な操作を要求することなく、原稿サイズが検知できるようになる。 According to the present invention, in an original on which a code such as a QR code is drawn, an image reading apparatus having a configuration in which an original size detection sensor is omitted can detect the original size without requiring a complicated operation from the user. Become.

本発明における画像処理装置として用いられるMFP100のシステムブロック図である。1 is a system block diagram of an MFP 100 used as an image processing apparatus in the present invention. 本発明におけるMFP100にセットされる原稿とスキャナ130にセットされた状態を模式的に表した図である。3 is a diagram schematically illustrating a document set on MFP 100 and a state set on scanner 130 according to the present invention. FIG. 本発明における原稿読み取りフローを示したものである。2 shows a document reading flow in the present invention. 操作部150に表示されるUI画面の一例である。4 is an example of a UI screen displayed on the operation unit 150. 画像サイズとそれに相当する用紙サイズを関連付けた表の一例である。It is an example of the table | surface which linked | related image size and the paper size equivalent to it. ステップS310における原稿サイズ決定フローの一例である。It is an example of a document size determination flow in step S310. メモリ上に展開した画像データから原稿サイズを決定する流れを表した図である。FIG. 6 is a diagram illustrating a flow of determining a document size from image data developed on a memory. 測定値を照合して原稿サイズを決定するフローを表したものである。It shows the flow for collating the measured values and determining the document size.

以下、本発明を実施するための最良の形態について図面を用いて説明する。
図1は、本発明における画像処理装置として用いられるMFP100のシステムブロック図である。制御部110は、画像入力デバイスであるスキャナ130や画像出力デバイスであるプリンタ140と接続されており、画像情報の入出力を制御する。また、一方で、制御部110はLANやPSTN(公衆回線)に接続されることが可能で、動画データまたは静止画データを含む画像情報や、デバイス情報などの入出力を制御する。CPU111は、MFP100の動作を制御するものであり、RAM112に格納されたプログラムに基づいて動作する。RAM112はまた、画像データを一時的に記憶するための画像メモリでもある。ROM113はブートROMであり、システムのブートプログラムが格納されている。HDD(ハードディスクドライブ)114は、システムソフトウェア、画像データ、MFP100の動作を制御するためのプログラム等が格納されている。HDD114に格納されたプログラムがRAM112にロードされ、CPU111はこれに基づいてMFP100の動作を制御する。操作部I/F115は、操作部150と制御部110を接続するインタフェースであり、操作部150に表示するための画像データを操作部150に出力する。また、操作部150からユーザが入力した情報をCPU111に伝達する。LAN I/F116およびModem117はLANおよびPSTN(公衆回線)に接続されて、各種情報の入出力を司る。メモリ118は、HDD114と同様に静止画データやその他のデータを記憶する。ImageBus I/F119は、ImageBusを介して画像データの高速な入出力を制御するためのインタフェースである。コード処理部120は、QRコードをはじめとする各種セキュリティ情報をもつコードを処理する。本発明におけるQRコードの検出処理および解析処理は、コード処理部120で行われる。デバイスI/F121は、画像入出力デバイスであるスキャナ130やプリンタ140と制御部110とを接続し、画像データの同期系/非同期系の変換を行う。スキャナ画像処理部122は、スキャナ130において原稿から読み取られた画像データに対して画像補正を行う。プリンタ画像処理部123は、プリンタ140へ出力される画像データに対して画像補正を行う。画像変換処理部124は、RAM112に記憶された画像データに対して画像変換を行う。具体的には、画像に対して回転処理、解像度変換処理などの処理を行う。また、画像変換処理部124は、2値画像を多値画像に変換したり、逆に多値画像を2値画像に変換したりする処理も行う。スキャナ130は、セットされた原稿を光学的に読み取り画像データを制御部110に入力する。本発明においては原稿サイズを検知するセンサ機構が具備されていない。
The best mode for carrying out the present invention will be described below with reference to the drawings.
FIG. 1 is a system block diagram of an MFP 100 used as an image processing apparatus according to the present invention. The control unit 110 is connected to a scanner 130 as an image input device and a printer 140 as an image output device, and controls input / output of image information. On the other hand, the control unit 110 can be connected to a LAN or PSTN (public line), and controls input / output of image information including moving image data or still image data, device information, and the like. CPU 111 controls the operation of MFP 100, and operates based on a program stored in RAM 112. The RAM 112 is also an image memory for temporarily storing image data. A ROM 113 is a boot ROM, and stores a system boot program. An HDD (Hard Disk Drive) 114 stores system software, image data, a program for controlling the operation of the MFP 100, and the like. A program stored in the HDD 114 is loaded into the RAM 112, and the CPU 111 controls the operation of the MFP 100 based on the program. The operation unit I / F 115 is an interface that connects the operation unit 150 and the control unit 110, and outputs image data to be displayed on the operation unit 150 to the operation unit 150. In addition, information input by the user from the operation unit 150 is transmitted to the CPU 111. A LAN I / F 116 and a Modem 117 are connected to a LAN and a PSTN (public line) and control input / output of various information. The memory 118 stores still image data and other data similarly to the HDD 114. The ImageBus I / F 119 is an interface for controlling high-speed input / output of image data via the ImageBus. The code processing unit 120 processes a code having various security information including a QR code. The QR code detection process and analysis process in the present invention are performed by the code processing unit 120. The device I / F 121 connects the scanner 130 and the printer 140, which are image input / output devices, and the control unit 110, and performs synchronous / asynchronous conversion of image data. The scanner image processing unit 122 performs image correction on image data read from an original by the scanner 130. The printer image processing unit 123 performs image correction on the image data output to the printer 140. The image conversion processing unit 124 performs image conversion on the image data stored in the RAM 112. Specifically, processing such as rotation processing and resolution conversion processing is performed on the image. The image conversion processing unit 124 also performs processing of converting a binary image into a multi-valued image, or conversely converting a multi-valued image into a binary image. The scanner 130 optically reads a set original and inputs image data to the control unit 110. In the present invention, a sensor mechanism for detecting the document size is not provided.

図2は、本発明におけるMFP100にセットされる原稿とスキャナ130にセットされた状態を模式的に表した図である。図2(a)において、原稿201は所定の用紙に描画された画像で、QRコード202が描画されている。QRコード202は、原稿201の四隅のいずれか1箇所に描画されており、原稿201はその左下に描画された例である。図2(b)および図2(c)は原稿201がスキャナ130の原稿台210および原稿台220にセットされた状態を模式的に表した図である。このとき原稿201は画像が描画された面を下にしてセットされている。原稿台210および原稿台220の下部にはリーダが設置されており(図示しない)、スキャン開始指示と共にリーダが一定速度で動くことでスキャンを行う。基準点211および基準点221は、画像処理時に基準点として扱う位置であり、説明の都合上、図には基準点の位置に記号を記載したが、実際のスキャナでは視認できない。基準点211は原稿台210の主走査幅の中心位置にあり、この位置に基準点があるケースを「センター基準」と呼ぶこととする。また基準点221は原稿台220の角の位置、ユーザから見て左奥側にあり、この位置に基準点があるケースは「突き当て基準」と呼ぶこととする。図2(d)および図2(e)は原稿201がスキャナ130のADF(Auto Document Feeder)230およびADF240にセットされた状態を模式的に表した図である。このとき原稿201は描画された面を上にしてセットされている。ADF230およびADF240は、スキャン開始指示と共に、セットされた原稿201をリーダ231またはリーダ241に引き込み、スキャンを行う。ADF230およびADF240には任意の用紙サイズをもつ原稿をセットすることができ、可動アジャスタ233および可動アジャスタ243でそのサイズを物理的に合わせられることで、リーダ231またはリーダ241にまっすぐに引き込むことを補助される。基準点232および基準点242は、画像処理時に基準点として扱う位置であり、説明の都合上、図には基準点の位置に記号を記載したが、実際のスキャナでは視認できない。基準点232はADF230の主走査幅の中心位置にあり、センター基準である。基準点242はADF240の角の位置、ユーザから見て左奥側にあり、突き当て基準である。   FIG. 2 is a diagram schematically showing a document set on MFP 100 and a state set on scanner 130 according to the present invention. In FIG. 2A, an original 201 is an image drawn on a predetermined sheet, and a QR code 202 is drawn. The QR code 202 is drawn at any one of the four corners of the document 201, and the document 201 is drawn at the lower left. FIGS. 2B and 2C are diagrams schematically illustrating a state in which the document 201 is set on the document table 210 and the document table 220 of the scanner 130. At this time, the document 201 is set with the surface on which the image is drawn facing down. A reader (not shown) is installed below the document table 210 and the document table 220, and scanning is performed by the reader moving at a constant speed together with a scan start instruction. The reference point 211 and the reference point 221 are positions handled as reference points at the time of image processing. For convenience of explanation, a symbol is shown at the position of the reference point in the figure, but it cannot be visually recognized by an actual scanner. The reference point 211 is at the center position of the main scanning width of the document table 210, and a case where the reference point is at this position is referred to as “center reference”. Further, the reference point 221 is located at the corner position of the document table 220, on the left rear side when viewed from the user, and a case where the reference point is located at this position is referred to as “abutting reference”. 2D and 2E are diagrams schematically illustrating a state in which the document 201 is set on an ADF (Auto Document Feeder) 230 and an ADF 240 of the scanner 130. FIG. At this time, the document 201 is set with the drawn side up. The ADF 230 and the ADF 240 draw the set original 201 into the reader 231 or the reader 241 together with a scan start instruction, and perform scanning. A document having an arbitrary paper size can be set in the ADF 230 and the ADF 240, and the size can be physically adjusted by the movable adjuster 233 and the movable adjuster 243, thereby assisting in drawing straight into the reader 231 or the reader 241. Is done. The reference point 232 and the reference point 242 are positions handled as reference points at the time of image processing. For convenience of explanation, symbols are shown at the positions of the reference points in the figure, but they cannot be visually recognized by an actual scanner. The reference point 232 is at the center position of the main scanning width of the ADF 230 and is a center reference. The reference point 242 is located at the corner of the ADF 240, on the far left side when viewed from the user, and is an abutting reference.

図3は、本発明における原稿読み取りフローを示したものである。ステップS301において、コピーボタンの押下を受けて、MFP100は、図2(b)〜図2(e)のようにスキャナ130にセットされた原稿201のスキャン処理を開始する。MFP100は、ステップS302において、ユーザによって予め用紙サイズが入力されていない場合(NO)、ステップS303に進む。一方、ステップS302において、用紙サイズがすでに入力済みであった場合(YES)MFP100はステップS304の処理に進み、その入力された用紙サイズに基づくサイズ分のスキャンを行う。ステップS303において、MFP100は、ユーザまたはサービスマンなどによって別途指定される原稿サイズ自動検出機能がONになっているかどうかを判定する。その上で、原稿サイズ自動検出機能がONになっている場合(ステップS303YES)、ステップS305において、原稿を全面スキャンする。ステップS303において自動検出モードがOFFであった場合(NO)、ステップS306で用紙サイズ入力画面を表示し、用紙サイズの入力を受けた後にステップS304に進む。ステップS307において、MFP100は、ステップS304またはステップS305でスキャンした画像データを解析し、QRコードの検出処理を行う。このとき、原稿全面スキャンを行った場合はスキャンした画像全体に対してQRコード検出処理を行い、予め原稿サイズが入力されていた場合は、入力された原稿サイズの四隅に対して検出処理を行うようにしてもよい。また、スキャンサイズに関わらず、画像全体に対してQRコード検出処理を行うようにしてもよい。MFP100はステップS308で、ステップS307の画像解析結果に基づき、QRコードを検出したかどうかを判定する。さらに、ステップS309でそのQRコードがコピーを許可する内容のデータであるかどうかを判定する。ステップS308YES、ステップS309YESをすべて満たした場合、MFP100はステップS310において原稿サイズ決定処理を行い、ステップS311で原稿サイズの決定を確認した上で(YES)スキャン処理を終了する。また、ステップS308において、スキャンした画像にQRコードが検出されなかった場合(NO)ステップS312に進み、コピー不可画面を表示した上でコピー動作をキャンセルする。同様にして、ステップS309において検出したQRコードのデータがコピー不可を示していた場合(NO)、ステップS312に進み、コピー動作をキャンセルする。ステップS311において、原稿サイズが決定したかどうかを判定し、決定していなければ(NO)ステップS306に戻り、用紙サイズの入力を受け付けた上で再度スキャン処理を行う。   FIG. 3 shows a document reading flow in the present invention. In step S301, in response to pressing of the copy button, the MFP 100 starts scanning processing of the document 201 set on the scanner 130 as shown in FIGS. 2 (b) to 2 (e). In step S302, if the paper size has not been input in advance by the user (NO), the MFP 100 proceeds to step S303. On the other hand, if the paper size has already been input in step S302 (YES), the MFP 100 proceeds to the process of step S304, and scans for the size based on the input paper size. In step S <b> 303, the MFP 100 determines whether the document size automatic detection function separately designated by the user or service person is ON. In addition, if the document size automatic detection function is ON (step S303 YES), the entire document is scanned in step S305. If the automatic detection mode is OFF in step S303 (NO), the paper size input screen is displayed in step S306, and after receiving the paper size input, the process proceeds to step S304. In step S307, the MFP 100 analyzes the image data scanned in step S304 or step S305, and performs a QR code detection process. At this time, when the entire document is scanned, the QR code detection process is performed on the entire scanned image, and when the document size is input in advance, the detection process is performed on the four corners of the input document size. You may do it. Further, the QR code detection process may be performed on the entire image regardless of the scan size. In step S308, the MFP 100 determines whether a QR code is detected based on the image analysis result in step S307. Further, in step S309, it is determined whether or not the QR code is data whose content is permitted to be copied. If YES in steps S308 and YES in step S309, the MFP 100 performs document size determination processing in step S310, confirms the determination of document size in step S311 (YES), and ends the scan processing. If no QR code is detected in the scanned image in step S308 (NO), the process proceeds to step S312, and a copy operation screen is displayed and the copy operation is canceled. Similarly, if the QR code data detected in step S309 indicates that copying is not possible (NO), the process proceeds to step S312 to cancel the copying operation. In step S311, it is determined whether or not the document size has been determined. If it has not been determined (NO), the process returns to step S306, and after receiving the input of the paper size, the scanning process is performed again.

図4は、操作部150に表示されるUI画面の一例である。図4(a)に示す画面401は、コピーモードの初期画面である。原稿サイズ表示部402には、その設定のまま操作部150上のコピー開始ボタン(図示しない)が押下された場合にスキャナ130がスキャンする原稿サイズが表示される。本発明におけるステップS303の自動検出モードがONである場合は、原稿サイズ表示部402には、自動で原稿サイズを検知することを示す「自動」の文字が表示される。用紙選択ボタン403が押下されると、操作部150にはMFP100の各給紙段に格納されている用紙の一覧が表示され(図示しない)、給紙する用紙の選択を受け付ける。ユーザによって用紙が選択されると、原稿サイズ表示部402には、選択した用紙のサイズが表示される。用紙選択ボタン403から給紙する用紙が選択された後にコピー開始ボタンが押下された場合は、ステップS302の判定はYESとなる。図4(b)に示す画面411は、ステップS306において表示される用紙サイズ入力画面の一例である。画面411にはMFP100が対応している用紙サイズの一覧が表示され、ユーザは任意の用紙サイズを本画面から選択できる。図4(c)に示す画面421は、ステップS312において表示されるコピー不可画面の一例である。ステップS308とステップS309のいずれかにおいて、スキャンした原稿がコピー禁止であると判定された場合に、画面421を表示してスキャン処理を終了する。図4(d)に示す画面431は、ステップS303での判定のよりどころとなる自動検出モード設定画面の一例である。本画面はサービスマンのみアクセスできるサービスモード画面における例で、ボタン432には自動検出モードの現状のON/OFFが表示される。ボタン432が押下されると原稿サイズ自動検出モードの設定が変更される。本画面はサービスマン用の画面として例示したが、類似の画面をユーザ設定画面に用意し、ユーザがその設定を行う構成にしてもよい。   FIG. 4 is an example of a UI screen displayed on the operation unit 150. A screen 401 illustrated in FIG. 4A is an initial screen in the copy mode. The document size display unit 402 displays a document size that the scanner 130 scans when a copy start button (not shown) on the operation unit 150 is pressed with the setting. When the automatic detection mode in step S303 in the present invention is ON, the document size display unit 402 displays “automatic” characters indicating that the document size is automatically detected. When the paper selection button 403 is pressed, the operation unit 150 displays a list of paper stored in each paper feed stage of the MFP 100 (not shown), and accepts selection of paper to be fed. When the paper is selected by the user, the original size display unit 402 displays the size of the selected paper. If the copy start button is pressed after the paper to be fed is selected from the paper selection button 403, the determination in step S302 is YES. A screen 411 shown in FIG. 4B is an example of a paper size input screen displayed in step S306. A list of paper sizes supported by MFP 100 is displayed on screen 411, and the user can select an arbitrary paper size from this screen. A screen 421 shown in FIG. 4C is an example of a copy impossible screen displayed in step S312. If it is determined in either step S308 or step S309 that the scanned document is copy-prohibited, the screen 421 is displayed and the scanning process is terminated. A screen 431 shown in FIG. 4D is an example of an automatic detection mode setting screen as a basis for determination in step S303. This screen is an example of a service mode screen that can be accessed only by service personnel. The button 432 displays the current ON / OFF state of the automatic detection mode. When the button 432 is pressed, the setting of the automatic document size detection mode is changed. Although this screen is illustrated as a screen for a service person, a similar screen may be prepared on the user setting screen and the user may perform the setting.

図5は画像サイズとそれに相当する用紙サイズを関連付けた表の一例である。MFP100はステップS307での解析結果をもとに、ステップS310での処理において表501を参照し、原稿サイズを決定する。表501はセンター基準での検出サイズ例であり、突き当て基準時はまた異なる表を使用する(図示しない)。この表は実際には例えばプログラム上の配列データとしてプログラムと共にHDD114に電子データとして格納され、判定処理を行う際にデータが呼び出される。   FIG. 5 is an example of a table in which image sizes are associated with paper sizes corresponding to the image sizes. Based on the analysis result in step S307, the MFP 100 refers to the table 501 in the process in step S310 and determines the document size. Table 501 is an example of the detection size based on the center standard, and a different table is used (not shown) at the time of the abutting standard. This table is actually stored as electronic data in the HDD 114 together with the program, for example, as array data on the program, and the data is called when the determination process is performed.

図6は、ステップS310における原稿サイズ決定フローの一例である。ステップS307で行った画像解析の結果に基づき、ステップS601ではQRコードの位置を検出する。ステップS602で、基準位置211または基準位置221とQRコードとの距離を測定する。ステップS603で、ステップS602の測定結果と表501とを照合し、その照合結果に基づいてステップS604において原稿サイズを決定する。   FIG. 6 is an example of a document size determination flow in step S310. Based on the result of the image analysis performed in step S307, the position of the QR code is detected in step S601. In step S602, the distance between the reference position 211 or the reference position 221 and the QR code is measured. In step S603, the measurement result in step S602 is collated with the table 501, and the document size is determined in step S604 based on the collation result.

図7は、メモリ上に展開した画像データから原稿サイズを決定する流れを表した図である。図7(a)、(b)、および(c)は、図2(b)および図2(d)のようにセンター基準のスキャナでスキャンした画像データから原稿サイズを決定する流れを表した図である。図7(a)におけるメモリ画像700は、センター基準のスキャナで、ステップS305において原稿を全面スキャンした際にメモリ上に展開された画像のイメージ図である。説明の都合上基準位置211を図示しているが、実際のメモリ上には存在しない。主走査サイズ701および副走査サイズ702は、いずれもMFP100で処理しうる最大値分がスキャンされ、メモリ上に展開されている。図7(b)はステップS601およびステップS602におけるQRコード検出および基準位置からの距離測定を行った図である。主走査サイズ711は基準位置211とQRコード202の主走査方向の距離を表し、副走査サイズ712は基準位置211とQRコード202の副走査方向の距離を表す。MFP100はステップS603において主走査サイズ711と副走査サイズ712を表501と照合し、最も適当な用紙サイズを決定する。図7(c)はステップS604において原稿サイズが決定されたことを示すイメージ図である。画像枠721は決定された原稿サイズに基づき設定された原稿画像の枠であり、MFP100はメモリ画像700から画像枠721で切り出した画像を、原稿画像として処理する。同様にして、図7(d)、(e)、および(f)は、図2(c)および図2(e)のように突き当て基準のスキャナでスキャンした画像データから原稿サイズを決定する流れを表した図である。図7(d)におけるメモリ画像730は、突き当て基準のスキャナで、ステップS305において原稿を全面スキャンした際にメモリ上に展開された画像のイメージ図である。説明の都合上基準位置221を図示しているが、実際のメモリ上には存在しない。主走査サイズ731および副走査サイズ732は、いずれもMFP100で処理しうる最大値分がスキャンされ、メモリ上に展開されている。図7(e)はステップS601およびステップS602におけるQRコード検出および基準位置からの距離測定を行った図である。主走査サイズ741は基準位置221とQRコード202の主走査方向の距離を表し、副走査サイズ742は基準位置221とQRコード202の副走査方向の距離を表す。MFP100は主走査サイズ741と副走査サイズ742を表501と照合し、最も適当な用紙サイズを決定する。図7(f)はステップS604において原稿サイズが決定されたことを示すイメージ図である。画像枠751は決定された原稿サイズに基づき設定された原稿画像の枠であり、MFP100はメモリ画像700から画像枠751で切り出した画像を、原稿画像として処理する。図2(d)、図2(e)に示したADF230およびADF240で読み取った画像に対して原稿サイズを決定する処理は上記と同等であるため説明は省略する。   FIG. 7 is a diagram showing the flow of determining the document size from the image data developed on the memory. FIGS. 7A, 7B, and 7C show the flow of determining the document size from the image data scanned by the center reference scanner as shown in FIGS. 2B and 2D. It is. A memory image 700 in FIG. 7A is an image diagram of an image developed on the memory when the document is scanned on the entire surface in step S305 by the center reference scanner. Although the reference position 211 is illustrated for convenience of explanation, it does not exist on the actual memory. For the main scanning size 701 and the sub scanning size 702, the maximum value that can be processed by the MFP 100 is scanned and developed on the memory. FIG. 7B is a diagram in which QR code detection and distance measurement from the reference position are performed in steps S601 and S602. The main scanning size 711 represents the distance between the reference position 211 and the QR code 202 in the main scanning direction, and the sub scanning size 712 represents the distance between the reference position 211 and the QR code 202 in the sub scanning direction. In step S603, the MFP 100 compares the main scanning size 711 and the sub-scanning size 712 with the table 501, and determines the most suitable paper size. FIG. 7C is an image diagram showing that the document size is determined in step S604. An image frame 721 is a frame of a document image set based on the determined document size, and the MFP 100 processes an image cut out from the memory image 700 with the image frame 721 as a document image. Similarly, in FIGS. 7D, 7E, and 7F, the document size is determined from the image data scanned by the abutting reference scanner as shown in FIGS. 2C and 2E. It is a figure showing a flow. A memory image 730 in FIG. 7D is an image diagram of an image developed on the memory when the entire surface of the document is scanned in step S305 by the abutting reference scanner. Although the reference position 221 is shown for convenience of explanation, it does not exist on the actual memory. For the main scanning size 731 and the sub-scanning size 732, the maximum value that can be processed by the MFP 100 is scanned and developed on the memory. FIG. 7E is a diagram in which QR code detection and distance measurement from the reference position are performed in steps S601 and S602. The main scanning size 741 represents the distance between the reference position 221 and the QR code 202 in the main scanning direction, and the sub scanning size 742 represents the distance between the reference position 221 and the QR code 202 in the sub scanning direction. The MFP 100 compares the main scanning size 741 and the sub-scanning size 742 with the table 501 to determine the most suitable paper size. FIG. 7F is an image diagram showing that the document size is determined in step S604. An image frame 751 is a frame of a document image set based on the determined document size, and the MFP 100 processes an image cut out from the memory image 700 with the image frame 751 as a document image. Since the process for determining the document size for the images read by the ADF 230 and the ADF 240 shown in FIGS. 2D and 2E is the same as described above, the description thereof is omitted.

図8は、測定値を照合して原稿サイズを決定するフローを表したものである。図8(a)は、ステップS603において測定値を照合するフローの一例である。MFP100はまず、ステップS801において照合結果のデフォルトサイズ(例えばA4サイズ)を設定する。次にステップS802において測定値を呼び出す。本フロー内では主走査測定値をX、副走査測定値をYと表記する。ステップS803において、まず主走査測定値Xを、表501に該当するデータと照合し、マッチするかどうかをステップS804において判定する。判定の結果マッチした場合(YES)、ステップS805において、ステップS801で設定したデフォルトサイズに対し、照合結果でマッチしたサイズに更新し、処理を終了する。ステップS804の判定の結果マッチしなかった場合(NO)、ステップS806においてYを照合し、ステップS807でマッチするかどうかを判定する。判定の結果マッチした場合(YES)、ステップS805において、ステップS801で設定したデフォルトサイズに対し、照合結果でマッチしたサイズに更新し、処理を終了する。判定の結果マッチしなかった場合(NO)、そのまま処理を終了する。このとき、ステップS801で設定したデフォルトサイズが判定結果となる。すなわち、ステップS311での判定は常にYESとなる。しかしながら、ステップS801で設定したサイズがユーザの所望のサイズでない場合もあるため、以下のように、予めデフォルトサイズを設定しない構成にしてもよい。図8(b)は、デフォルトサイズを設定しない場合の、ステップS603における測定値照合フローの例である。まずステップS811において測定値を呼び出す。本フロー内では主走査測定値をX、副走査測定値をYと表記する。ステップS812において、まず主走査測定値Xを、表501に該当するデータと照合し、マッチするかどうかをステップS813において判定する。判定の結果マッチした場合(YES)、ステップS814において、照合結果でマッチしたサイズに設定し、処理を終了する。ステップS813の判定の結果マッチしなかった場合(NO)、ステップS815においてYを照合し、ステップS816でマッチするかどうかを判定する。判定の結果マッチした場合(YES)、ステップS814において、照合結果でマッチしたサイズに設定し、処理を終了する。このとき、ステップS311の判定はYESとなる。ステップS816において、判定の結果マッチしなかった場合(NO)、ステップS817においてエラー画面を表示し、処理を終了する。このとき、ステップS311の判定はNOとなるため、MFP100はステップS306へ処理を戻し、用紙サイズの入力を受け付けたうえで再度スキャン処理を行う。図8(c)はステップS817において表示される画面の一例である。画面821の表示後、ステップS306において画面411を表示する。   FIG. 8 shows a flow for determining the document size by collating the measurement values. FIG. 8A is an example of a flow for collating measured values in step S603. First, in step S801, the MFP 100 sets a default size (for example, A4 size) of the collation result. Next, a measured value is called in step S802. In this flow, the main scanning measurement value is expressed as X and the sub-scanning measurement value is expressed as Y. In step S803, first, the main scanning measurement value X is compared with data corresponding to the table 501, and it is determined in step S804 whether or not they match. If the result of the determination is a match (YES), in step S805, the default size set in step S801 is updated to a size that matches the collation result, and the process ends. If the result of determination in step S804 is that there is no match (NO), Y is checked in step S806, and it is determined whether or not there is a match in step S807. If the result of the determination is a match (YES), in step S805, the default size set in step S801 is updated to a size that matches the collation result, and the process ends. If there is no match as a result of the determination (NO), the processing is terminated as it is. At this time, the default size set in step S801 is the determination result. That is, the determination in step S311 is always YES. However, since the size set in step S801 may not be the size desired by the user, the default size may not be set in advance as follows. FIG. 8B is an example of the measurement value collation flow in step S603 when the default size is not set. First, in step S811, the measured value is called up. In this flow, the main scanning measurement value is expressed as X and the sub-scanning measurement value is expressed as Y. In step S812, first, the main scanning measurement value X is collated with data corresponding to the table 501, and it is determined in step S813 whether or not they match. If the result of the determination is a match (YES), in step S814, the matching size is set according to the collation result, and the process ends. If the result of determination in step S813 is that there is no match (NO), Y is checked in step S815, and it is determined whether or not there is a match in step S816. If the result of the determination is a match (YES), in step S814, the matching size is set according to the collation result, and the process ends. At this time, the determination in step S311 is YES. In step S816, if the result of determination is that there is no match (NO), an error screen is displayed in step S817, and the process ends. At this time, since the determination in step S311 is NO, the MFP 100 returns the process to step S306, and performs the scan process again after accepting the input of the paper size. FIG. 8C is an example of a screen displayed in step S817. After the screen 821 is displayed, the screen 411 is displayed in step S306.

また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。   The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, or the like) of the system or apparatus reads the program. It is a process to be executed.

100 MFP
130 スキャナ
201 原稿
202 QRコード
100 MFP
130 Scanner 201 Document 202 QR Code

Claims (4)

原稿を読み取る読み取り手段と、
前記読み取りにより得られた画像からコードの位置を検出する検出手段と、
前記検出された位置と原稿の読み取り基準点とに基づいて、前記原稿のサイズを判定する判定手段とを有することを特徴とする装置。
Reading means for reading an original;
Detecting means for detecting the position of the code from the image obtained by the reading;
An apparatus comprising: a determination unit that determines the size of the document based on the detected position and a reading reference point of the document.
ユーザにより用紙サイズが入力されている場合には、
前記判定手段による前記検出された位置と読み取り基準点とに基づいた原稿のサイズの判定を行わず、前記原稿のサイズを前記入力されている用紙サイズに基づいて判定することを特徴とする請求項1に記載の装置。
If the paper size is entered by the user,
The document size is determined based on the input paper size without determining the size of the document based on the detected position and the reading reference point by the determination unit. The apparatus according to 1.
原稿を読み取る読み取り工程と、
前記読み取りにより得られた画像からコードの位置を検出する検出工程と、
前記検出された位置と原稿の読み取り基準点とに基づいて、前記原稿のサイズを判定する判定工程とを有することを特徴とする装置の制御方法。
A reading process for reading a document;
A detection step of detecting the position of the code from the image obtained by the reading;
An apparatus control method comprising: a determination step of determining the size of the document based on the detected position and a document reading reference point.
請求項3に記載の装置の制御方法をコンピュータに実行させるためのコンピュータよみとり可能なプログラム。   A computer-readable program for causing a computer to execute the apparatus control method according to claim 3.
JP2011007095A 2011-01-17 2011-01-17 Device for determining original document size, control method of the same, and program Pending JP2012151560A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011007095A JP2012151560A (en) 2011-01-17 2011-01-17 Device for determining original document size, control method of the same, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011007095A JP2012151560A (en) 2011-01-17 2011-01-17 Device for determining original document size, control method of the same, and program

Publications (1)

Publication Number Publication Date
JP2012151560A true JP2012151560A (en) 2012-08-09

Family

ID=46793423

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011007095A Pending JP2012151560A (en) 2011-01-17 2011-01-17 Device for determining original document size, control method of the same, and program

Country Status (1)

Country Link
JP (1) JP2012151560A (en)

Similar Documents

Publication Publication Date Title
JP6332081B2 (en) Reading apparatus and image forming apparatus provided with the same
US8149478B2 (en) Image processing apparatus and method of controlling same
CN103581470B (en) Image processing apparatus and image processing method
CN101303564B (en) Image process apparatus and image process method
US8891107B2 (en) Image forming apparatus, control method thereof and computer-readable storage medium
US20120300240A1 (en) Image processing device receiving request to stop active job
JP2009296533A (en) Scanner apparatus and image forming apparatus
US8606049B2 (en) Image management apparatus, image management method, and storage medium
JP5247588B2 (en) Image processing apparatus, control method thereof, and program
US9798505B1 (en) System and method of printing using mixed paper sizes
US12022039B2 (en) Image reading apparatus and control method for determining a blank page
CN105467793B (en) Image processing system and blank sheet of paper output confirmation method
US20090073463A1 (en) Image processing apparatus, image processing method, and computer-readable recording medium
JP6264057B2 (en) Reader
US8184341B2 (en) Image reading apparatus, image reading method, and storage medium
JP6870649B2 (en) Image reader
JP2012151560A (en) Device for determining original document size, control method of the same, and program
JP5754096B2 (en) Image processing apparatus, image processing system, and program
JP2001350227A (en) Document detecting method and device
JP2022025767A (en) Program, system, and scanner
US11785152B2 (en) Image forming apparatus in which a desired function can be selectively executed, method of controlling the same, and storage medium
JP2015159508A (en) Image forming apparatus, control method of image forming apparatus, and program
JP5217796B2 (en) Image processing apparatus, program, and image processing method
JP4886639B2 (en) Image reading apparatus and image reading method
JP4056461B2 (en) Image processing apparatus, image processing method, and image processing program