JP2017208626A - Image processing apparatus and image reading device and image reading system - Google Patents

Image processing apparatus and image reading device and image reading system Download PDF

Info

Publication number
JP2017208626A
JP2017208626A JP2016098338A JP2016098338A JP2017208626A JP 2017208626 A JP2017208626 A JP 2017208626A JP 2016098338 A JP2016098338 A JP 2016098338A JP 2016098338 A JP2016098338 A JP 2016098338A JP 2017208626 A JP2017208626 A JP 2017208626A
Authority
JP
Japan
Prior art keywords
mark
image
image data
margin
unit
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
JP2016098338A
Other languages
Japanese (ja)
Inventor
繁 小須田
Shigeru Kosuda
繁 小須田
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 Electronics Inc
Original Assignee
Canon Electronics 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 Electronics Inc filed Critical Canon Electronics Inc
Priority to JP2016098338A priority Critical patent/JP2017208626A/en
Publication of JP2017208626A publication Critical patent/JP2017208626A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Facsimile Scanning Arrangements (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Exposure Or Original Feeding In Electrophotography (AREA)
  • Optical Systems Of Projection Type Copiers (AREA)
  • Control Or Security For Electrophotography (AREA)
  • Image Input (AREA)
  • Facsimiles In General (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a technique for generating user friendly image data, even from irregular-sized documents.SOLUTION: An image processing device includes acquisition means for acquiring front image data and back image data of a document, marking means for marking more than one of four corners of each image data acquired by the acquisition means, and mark position setting means for setting the marking position by the marking means. The mark position setting means can set so that the position of a front mark given to the front image data, and the position of a back mark given to the back image data are different on the front and back.SELECTED DRAWING: Figure 3

Description

本発明は、例えば、スキャナや複合機やファックスのように、原稿の画像を読み取り、画像データを作成する画像読取装置や、画像データを処理するための画像処理装置、画像処理方法、あるいは画像読取システムに関する。   The present invention provides an image reading apparatus that reads an image of a document and creates image data, such as a scanner, a multifunction peripheral, or a fax machine, an image processing apparatus that processes image data, an image processing method, or an image reading apparatus. About the system.

スキャナ等の画像読取装置のユーザーが、書籍を裁断してスキャンし、画像データに変換する「自炊」が注目されている。また、携帯型画像表示端末が普及したことにより、自炊で作成した画像データを端末で持ち出し、外出先で利用するユーザーも増えている。   “Self-catering”, in which a user of an image reading apparatus such as a scanner cuts and scans a book and converts it into image data, has attracted attention. In addition, with the spread of portable image display terminals, there are an increasing number of users who take out image data created by self-cooking with a terminal and use it on the go.

特開平7−314844号公報JP-A-7-314844 特開平11−235549号公報JP 11-235549 A

従来のように、書籍を裁断する場合、表裏で左右の余白サイズが異なってしまうことが多く、書籍裁断により分離した紙の表裏を読み取って画像データに変換すると、左右不揃いな画像データが生成されてしまうため、そのままディスプレイ等に表示すると見難い表示形態となる。   When cutting a book as in the past, the left and right margin sizes often differ between the front and back, and when the front and back of the paper separated by the book cutting is read and converted to image data, image data that is not right and left is generated. For this reason, when displayed on a display or the like as it is, the display form becomes difficult to see.

なお、書籍を裁断するにあたり、従来公知のトンボマーク(特許文献1、2参照)を紙面に印刷することにより、不揃いな画像データの生成を防ぐことができるかもしれないが、裁断前にトンボマークを印刷するか、予めトンボマークを印刷しておかなければならず、手間がかかる。   When cutting a book, it may be possible to prevent generation of irregular image data by printing a conventionally known registration mark (see Patent Documents 1 and 2) on a paper surface. Or a registration mark must be printed in advance, which is troublesome.

本発明は、不揃いな原稿から得た画像データであっても、ユーザーにとって見易い表示が可能な画像データを生成する技術を提供する。   The present invention provides a technique for generating image data that can be easily viewed by a user even if the image data is obtained from an irregular document.

本発明は、原稿の表画像データ及び裏画像データを取得する取得手段と、前記取得手段が取得する各画像データの四隅のうち2つ以上の隅部にマークを付与するマーク付与手段と、前記マーク付与手段によるマーク付与の位置を設定するマーク位置設定手段と、を備え、前記マーク位置設定手段は、前記表画像データに付与する表マークの位置と、前記裏画像データに付与する裏マークの位置とが表裏で異なるように設定可能であることを特徴とする画像処理装置にある。   The present invention includes an acquisition unit that acquires front image data and back image data of a document, a mark application unit that applies marks to two or more corners of the four corners of each image data acquired by the acquisition unit, Mark position setting means for setting the position of mark application by the mark application means, and the mark position setting means includes a position of a front mark to be applied to the front image data and a back mark to be applied to the back image data. The image processing apparatus is characterized in that the position can be set differently between the front and back sides.

本発明によれば、不揃いな原稿から得た画像データであっても、ユーザーにとって見易い表示が可能な画像データを生成する画像処理装置及び画像読取装置並びに画像読取システムを実現できる。   According to the present invention, it is possible to realize an image processing apparatus, an image reading apparatus, and an image reading system that generate image data that can be easily viewed by a user even if the image data is obtained from an irregular document.

本発明の実施形態1に係る画像読取装置の構成例を示す平面図。1 is a plan view illustrating a configuration example of an image reading apparatus according to a first embodiment of the present invention. 本発明の実施形態1に係る画像読取装置の別の構成例を示す平面図。FIG. 5 is a plan view showing another configuration example of the image reading apparatus according to the first embodiment of the present invention. 本発明の実施形態1に係る画像読取装置の機能ブロック図。1 is a functional block diagram of an image reading apparatus according to Embodiment 1 of the present invention. 本発明の実施形態1に係るマーク追加システムの構成例を示すブロック図。1 is a block diagram showing a configuration example of a mark addition system according to Embodiment 1 of the present invention. 本発明の実施形態1に係るマーク追加システムの動作例を示すフローチャート、The flowchart which shows the operation example of the mark addition system which concerns on Embodiment 1 of this invention, 本発明のマーク形状例を示す概略図。Schematic which shows the mark shape example of this invention. 本発明の実施形態2にマーク追加システムの構成例を示すブロック図。The block diagram which shows the structural example of the mark addition system in Embodiment 2 of this invention. 本発明の実施形態2に係るマーク追加システムの動作例を示すフローチャート。The flowchart which shows the operation example of the mark addition system which concerns on Embodiment 2 of this invention. 本発明の実施形態2に係るマーク追加システムの構成例を示すブロック図。The block diagram which shows the structural example of the mark addition system which concerns on Embodiment 2 of this invention. 本発明の実施形態3に係るマーク追加システムの動作例を示すフローチャート。The flowchart which shows the operation example of the mark addition system which concerns on Embodiment 3 of this invention.

以下、添付図面を参照し、本発明の好適な実施形態について説明する。なお、以下説明する実施形態は、本発明を具体的に実施した場合の一例を示すもので、特許請求の範囲に記載の構成の具体的な実施例の1つである。
<実施形態1>
先ず、本実施形態に係る画像読取装置の構成例について、図1及び図2を用いて説明する。
Preferred embodiments of the present invention will be described below with reference to the accompanying drawings. The embodiment described below shows an example when the present invention is specifically implemented, and is one of the specific examples of the configurations described in the claims.
<Embodiment 1>
First, a configuration example of the image reading apparatus according to the present embodiment will be described with reference to FIGS. 1 and 2.

本実施形態では、例えば、図1又は図2に示すような画像読取装置を例示して説明するが、その他の画像読取装置において取得した画像データの処理についても本発明の処理対象とすることが可能である。   In the present embodiment, for example, an image reading apparatus as illustrated in FIG. 1 or FIG. 2 will be described as an example. However, processing of image data acquired by other image reading apparatuses may be a processing target of the present invention. Is possible.

図1に示す画像読取装置1は、複数枚の原稿を一枚ずつ分離搬送して画像を読み取るシートフィード型スキャナである。   An image reading apparatus 1 shown in FIG. 1 is a sheet feed type scanner that reads and separates a plurality of documents one by one.

2は原稿を積載する原稿台である。3は原稿を搬送路に取り込む給紙ローラである。4は原稿を一枚ずつ分離する分離パッドである。この分離パッド4が二枚目以降の原稿を抑えて搬送路に入らないようにすることで、原稿を1枚ずつ搬送することができる。   Reference numeral 2 denotes a document table on which documents are stacked. Reference numeral 3 denotes a paper feed roller for taking a document into the conveyance path. Reference numeral 4 denotes a separation pad for separating documents one by one. By separating the second and subsequent originals so that the separation pad 4 does not enter the conveyance path, the originals can be conveyed one by one.

5は搬送路である。6は搬送ローラ対である。原稿は搬送ローラ対6によって搬送路5を1枚ずつ搬送されていく。   Reference numeral 5 denotes a conveyance path. Reference numeral 6 denotes a conveyance roller pair. The original is conveyed one by one on the conveyance path 5 by the conveyance roller pair 6.

また、7は画像読取部である。原稿に光を照射し、その反射光をレンズで集光して光電変換素子にて受光することで、アナログ画像データを作成する。   Reference numeral 7 denotes an image reading unit. The original is irradiated with light, and the reflected light is collected by a lens and received by a photoelectric conversion element, thereby generating analog image data.

また、このような画像読取部7を搬送路の上下に配置することで、一度の搬送で原稿両面の画像を読み取ることができる。   Further, by arranging such image reading units 7 above and below the conveyance path, it is possible to read images on both sides of the document with one conveyance.

8は排紙ローラ対である。原稿は排紙ローラ対8によって搬送路5から排出される。   Reference numeral 8 denotes a paper discharge roller pair. The document is discharged from the conveyance path 5 by the discharge roller pair 8.

なお、画像読取部7が読み取った画像データは、1ページまたは複数ページで構成されている。なお、画像処理部10は、一部または全ての機能を、画像読取装置1の中ではなく、パソコン等の外部装置の中に設けても良い。   The image data read by the image reading unit 7 is composed of one page or a plurality of pages. Note that the image processing unit 10 may have some or all of the functions in an external device such as a personal computer instead of in the image reading device 1.

この画像読取装置1は、画像読取部7を搬送路の上下に二個配置することで、一度の搬送で原稿両面の画像を読み取ることができる1パス両面読取スキャナである。   This image reading apparatus 1 is a one-pass double-sided reading scanner that can read images on both sides of a document with a single conveyance by arranging two image reading units 7 above and below the conveyance path.

このような画像読取装置1の場合、一度の搬送で原稿の両面画像を読み取れるが、画像読取部7を2つ設けなければならない。これに対し、図2に示す画像読取装置21は、1つの画像読取部7を搬送路の片側だけに配置し、原稿を一度搬送してまず片面を読み取った後、裏返して再び搬送させることで両面を読み取る2パス両面読取スキャナである。   In the case of such an image reading apparatus 1, the double-sided image of the document can be read by one transport, but two image reading units 7 must be provided. On the other hand, the image reading apparatus 21 shown in FIG. 2 has one image reading unit 7 arranged only on one side of the conveyance path, conveys the document once, reads one side first, turns it over, and conveys it again. This is a two-pass duplex scanner that scans both sides.

図2を用いて、この2パス両面読取スキャナの動作を説明する。図1の画像読取装置1と同じ構成には、同じ番号を付けることで説明を省略する。   The operation of this two-pass duplex scanning scanner will be described with reference to FIG. The same components as those in the image reading apparatus 1 in FIG.

21は、2パス両面読取方式のシートフィード型画像読取装置の平面図である。原稿の通過する順に沿って動作を説明する。22は、搬送路切替手段である。搬送路内を上下に移動することができる。   21 is a plan view of a sheet-feed type image reading apparatus of a two-pass double-sided reading method. The operation will be described along the order in which the document passes. Reference numeral 22 denotes a conveyance path switching unit. It can move up and down in the transport path.

図中下側に移動すると搬送路の図中左側から搬送される原稿を図中右側に搬送させる。   When moved downward in the figure, the original conveyed from the left side of the conveyance path is conveyed to the right side in the figure.

原稿は、画像読取手段7の上を通過し、表面の画像を読み取る。23は、表裏反転搬送手段である。   The document passes over the image reading means 7 and reads the image on the surface. Reference numeral 23 denotes a front / back reversing conveying means.

搬送路の左側から来た原稿は、表裏反転手段23を反時計回りに通過することで表裏が逆転し、再び搬送路を右から左に通過する。   The document coming from the left side of the transport path passes through the front / back reversing means 23 in the counterclockwise direction, so that the front and back are reversed, and again passes through the transport path from right to left.

そして、原稿は、再び画像読取手段7の上を通過し、先ほど読み取った面と逆側の面を画像読取手段7で読み取る。   Then, the original passes again over the image reading unit 7, and the image reading unit 7 reads the surface opposite to the previously read surface.

搬送路切替手段22は、図中下側移動することで、搬送路の図中右側から来た原稿を下側に搬送する。24は、排紙トレイである。図中下側に排紙された原稿は、排紙トレイ24に順次積載される。   The conveyance path switching means 22 moves downward in the figure to convey the document coming from the right side of the conveyance path in the figure downward. Reference numeral 24 denotes a paper discharge tray. Documents discharged to the lower side in the figure are sequentially stacked on the discharge tray 24.

なお、2パス両面読取スキャナでは、原稿の表裏を反転させる動作は、表裏反転手段を設けて行わせても良いし、表裏反転装置を設けずにユーザーが手動で置き直しても良い。   In the two-pass double-sided scanning scanner, the operation of reversing the front and back of the document may be performed by providing a front / back reversing unit, or may be manually repositioned by a user without providing a front / back reversing device.

他にも、フラットベッドスキャナのように1度に読み取れる画像は1ページのみだが、順次読み取った画像から複数ページの画像データを作成するなどの方法でもよく、原稿の両面を読み取る方法は様々な方法がある。   In addition, although the image that can be read at a time is only one page as in the flatbed scanner, a method such as creating image data of a plurality of pages from sequentially read images may be used, and there are various methods for reading both sides of the document. There is.

このため、本発明を適応させる画像読取装置は、上述した図1又は図2のような形態に限定されず、複数ページの画像データを作成出来るものであれば、方式は問わない。   For this reason, the image reading apparatus to which the present invention is applied is not limited to the form as shown in FIG. 1 or 2 described above, and any system can be used as long as it can create image data of a plurality of pages.

ここで、図3を参照し、上述した画像読取装置の機能を説明する。なお、図3は、上述した画像読取装置1,21の機能ブロック図である。   Here, the function of the image reading apparatus described above will be described with reference to FIG. FIG. 3 is a functional block diagram of the image reading apparatuses 1 and 21 described above.

図3において、制御部115は、RAM116をワークメモリとして、不揮発性メモリ111に格納された各種制御プログラムを実行して、画像読取装置の様々な制御を行う。また、制御部115は、通信インターフェース117を介して、コンピュータ118などの外部装置との間で通信を行う。   In FIG. 3, the control unit 115 performs various controls of the image reading apparatus by executing various control programs stored in the nonvolatile memory 111 using the RAM 116 as a work memory. The control unit 115 communicates with an external device such as the computer 118 via the communication interface 117.

画像読取制御部112は、画像読取部7に対し原稿画像の読み取りを指示し、読み込まれた画像を画像データに変換し、画像データをRAM116に格納する。画像処理部114は、RAM16に格納された画像データに種々の画像処理を施す。RAM116は、原稿画像の画像データのほかに各種設定値を格納する。   The image reading control unit 112 instructs the image reading unit 7 to read a document image, converts the read image into image data, and stores the image data in the RAM 116. The image processing unit 114 performs various image processing on the image data stored in the RAM 16. The RAM 116 stores various setting values in addition to the image data of the document image.

次に、画像読取処理の一例について説明する。制御部1115は、コンピュータ118から原稿画像の読取処理が指示されると、図示しないモータにより搬送駆動系を駆動する。   Next, an example of image reading processing will be described. When instructed to read the original image from the computer 118, the control unit 1115 drives the transport drive system by a motor (not shown).

制御部115は、画像読取部7前のセンサによって原稿の先端を検知すると、画像読取部112に読取開始を指示する。画像読取制御112は、読取開始が指示されると、画像読取部7によって原稿の両面画像の画像データを取得し、取得した画像データをRAM116に保存する。制御部115は、排出センサによって原稿の末端を検知し、原稿を装置外へ排出するよう搬送系を制御する。   When the front of the document is detected by the sensor in front of the image reading unit 7, the control unit 115 instructs the image reading unit 112 to start reading. When the image reading control 112 is instructed to start reading, the image reading unit 7 acquires the image data of the double-sided image of the document, and stores the acquired image data in the RAM 116. The control unit 115 detects the end of the document with a discharge sensor, and controls the conveyance system to discharge the document to the outside of the apparatus.

制御部115は、RAM116に画像データが保存されると、画像処理部114に画像データの画像処理を指示する。画像処理部114は、画像処理が指示されるとシェーディング補正、色補正などの種々の画像処理を画像データに施す。制御部115は、画像処理部114による画像処理が終わると、RAM116に格納された画像データを、通信インターフェース117を介してコンピュータ118に送信し、読取処理を終了する。   When the image data is stored in the RAM 116, the control unit 115 instructs the image processing unit 114 to perform image processing on the image data. When image processing is instructed, the image processing unit 114 performs various image processing such as shading correction and color correction on the image data. When the image processing by the image processing unit 114 is completed, the control unit 115 transmits the image data stored in the RAM 116 to the computer 118 via the communication interface 117, and ends the reading process.

ここで、画像読取部7で作成したアナログ画像データをA/D変換部により変換されたデジタル画像データが、上述した画像処理部114に入力され、この画像処理部114にて、後述するマークを付加したり、OCR文字データを付加したり、画像データを圧縮したりする。   Here, the digital image data obtained by converting the analog image data created by the image reading unit 7 by the A / D conversion unit is input to the image processing unit 114 described above. Append, add OCR character data, compress image data.

次に、上述した画像処理部114の一部を構成するマーク追加システムの構成例について、図4のブロック図を用いて説明する。   Next, a configuration example of the mark addition system that constitutes a part of the above-described image processing unit 114 will be described with reference to the block diagram of FIG.

マーク追加システム100は先出の画像処理部114の一部であり、画像データ入力部101と、画像データの四隅を検出する四隅検出部102と、隅もしくは隅より内側の位置に特定のマークを付加するマーク付加部103と、マークの形状や追加位置を登録するマーク情報登録部104と、画像データ出力部105と、を備える。   The mark addition system 100 is a part of the above-described image processing unit 114, and includes an image data input unit 101, a four-corner detection unit 102 that detects four corners of image data, and a specific mark at a corner or a position inside the corner. A mark adding unit 103 to add, a mark information registration unit 104 for registering a mark shape and an additional position, and an image data output unit 105 are provided.

ここで、マーク情報登録部104は、原稿の両面を読み取って取得した表画像データ及び裏画像データに対して付与するマークの付与位置を設定するマーク位置設定手段の一例であり、表画像データに付与する表マークの位置と、裏画像データに付与する裏マークの位置とが表裏で異なるように設定可能である。ここでいう設定とは、例えば、ユーザーがコンピュータ等のディスプレイに表示されたユーザインターフェース画面から指定する設定行為を含む。   Here, the mark information registration unit 104 is an example of a mark position setting unit that sets a mark application position to be applied to the front image data and the back image data acquired by reading both sides of the document. The position of the front mark to be applied and the position of the back mark to be applied to the back image data can be set differently on the front and back sides. The setting here includes, for example, a setting action specified by a user from a user interface screen displayed on a display such as a computer.

次いで、各部の動作を、図5のフローチャートを用いて説明する。   Next, the operation of each unit will be described with reference to the flowchart of FIG.

ステップS101では、本システムで処理を行いたい画像データを、画像データ入力部101に入力する。   In step S <b> 101, image data to be processed by this system is input to the image data input unit 101.

ここで、画像データは単一ページの場合と複数ページの場合が考えられるが、複数ページの場合について説明を行えば単一ページの説明も含むことが出来ることと、本システムの効果をより得られるのは複数ベージの場合であることから、これ以降画像データは複数ページとして説明する。   Here, the image data may be a single page or multiple pages. However, if the description is made for multiple pages, the description of a single page can be included, and the effect of this system can be obtained more. Since a plurality of pages are used, image data will be described as a plurality of pages.

画像データ入力部101に入力された画像データは、四隅検出部102に送られる。   The image data input to the image data input unit 101 is sent to the four corner detection unit 102.

ステップS102では、画像データの四隅を四隅検出部102で検出する。四隅の検出方法の一例として、画像データと背景データの境界部分のエッジを利用する方法などが知られている。   In step S102, the four corners of the image data are detected by the four corner detector 102. As an example of a method for detecting the four corners, a method using an edge of a boundary portion between image data and background data is known.

四隅検出部で四隅を検出した画像データは、マーク付加部103に送られる。   The image data in which the four corners are detected by the four corner detection unit is sent to the mark adding unit 103.

ステップS103では、マーク付加部103が、マーク登録部104に登録されたマーク情報を参照する。ここで、マーク情報とは、ユーザーによって登録されたマークの情報であり、マーク形状、マーク追加位置、マーク追加個数、マーク追加位置周辺の画像処理方法、表面ページ裏面ページでのマーク変更内容、などが含まれる。   In step S <b> 103, the mark adding unit 103 refers to the mark information registered in the mark registration unit 104. Here, the mark information is information of the mark registered by the user, such as mark shape, mark addition position, number of marks added, image processing method around the mark addition position, contents of mark changes on the front page back page, etc. Is included.

ステップS104では、マーク付加部103が、マーク情報と四隅検出部102の検出結果をもとにして、画像データにマークを追加する。続いて、追加するマーク形状、追加位置、追加個数、追加位置周辺の画像処理方法について説明する。   In step S104, the mark adding unit 103 adds a mark to the image data based on the mark information and the detection result of the four corner detection unit 102. Next, a mark shape to be added, an added position, an added number, and an image processing method around the added position will be described.

マークの形状は、図6に示すようなカギカッコ型や三角形型、裁断位置を表わすために広く用いられているトンボ型などから選択出来るようにしても良く、ユーザーが作成したマークを用いても良い。   The mark shape may be selected from a square bracket shape, a triangle shape, a dragonfly shape widely used for representing the cutting position, or a mark created by the user may be used. .

マークの追加位置は、カギカッコ型などは画像データの隅に配置することが可能だが、トンボ型などは隅に配置出来ずに内側に配置することになる。内側に配置する場合は、どの程度内側に配置するかをユーザーが設定することが出来るようにしても良い。   As for the mark addition position, the square bracket type or the like can be arranged at the corner of the image data, but the registration mark type or the like cannot be arranged at the corner and is arranged inside. When arranged inside, the user may be able to set how much the inside is arranged.

マークの追加位置周辺の画像処理方法として、トンボ型などのように、画像データの隅ではなく内側にマークを追加する場合、追加する位置の画像データの濃度が濃いときには、マークを追加しても見えない場合が考えられる。   As an image processing method around the mark addition position, such as a registration mark type, when adding a mark inside the image data instead of the corner, if the density of the image data at the addition position is high, the mark may be added. It may be invisible.

そこで、追加する位置の画像データの濃度を薄くしてから、マークを追加する処理を行う。別の例として、マークを追加する位置の画像データの濃度が濃い場合には、マークの色を淡色、例えば白色や、黒縁白抜きにして、追加しても良い。   Therefore, the process of adding a mark is performed after reducing the density of the image data at the position to be added. As another example, when the density of the image data at the position where the mark is added is high, the mark may be added with a light color, for example, white or black border white.

マークの個数は、四隅に追加する以外に三隅や対角二隅でも良い。端末の表示部は長方形の場合が多いため、少なくとも対角二隅にマークが追加されていれば、自動拡大表示した時の拡大率を揃える事が出来るので、個数は二個以上であれば良い。   The number of marks may be three corners or two diagonal corners in addition to being added to the four corners. Since the display part of the terminal is often rectangular, if the mark is added at least at the two corners, the enlargement ratio can be adjusted when auto-enlarged display is performed. .

次に、表面ページ裏面ページでのマークの追加位置と、形状の変更について説明する。これより、原稿が書籍の場合を例に挙げて説明を行うため、表面ページ裏面ページを、偶数ページ奇数ページと表現することにする。   Next, the mark addition position and the shape change on the front page back page will be described. Thus, in order to explain the case where the document is a book, the front page and the back page are expressed as even pages and odd pages.

ここで、原稿が書籍を裁断したものの場合などは、綴じしろがあるため、偶数ページと奇数ページで綴じしろ分の余白量が異なる場合がある。このため、スキャンした画像データを端末で表示させると、偶数ページと奇数ページで画像が寄る方向が変わってしまい、見づらい場合がある。   Here, when the original is a book cut out, there are binding margins, so there are cases where the margin amounts for the even margins and odd pages differ. For this reason, when the scanned image data is displayed on the terminal, the direction in which the images are shifted between the even-numbered pages and the odd-numbered pages changes, which may be difficult to see.

そこで、綴じしろ側の、余白の長いぶんを削除して表示させるために、偶数ページと奇数ページでマークの追加位置を変更する。   Therefore, in order to delete and display the long margin on the binding side, the mark addition position is changed between the even page and the odd page.

綴じしろ側に追加するマークをどれだけ内側に移動させるかは、ユーザーが設定することが出来る。移動量は、偶数ページと奇数ページそれぞれ設定出来るようにしても良く、片方を設定すると他方は対象な値を用いるようにしても良い。   The user can set how much the mark to be added to the binding side is moved inward. The moving amount may be set for each of the even-numbered page and the odd-numbered page, and when one is set, a target value may be used for the other.

また、原稿となった書籍がどの方向から開く書籍かを登録しておくことが出来る。書籍は左右方向に読み進める物が多いので左右方向を例に説明する。   In addition, it is possible to register in which direction the book that has been a manuscript opens. Since many books are read in the left-right direction, the left-right direction will be described as an example.

端末の表示画面が長方形で、横長に使用した場合、2ページを同時に表示させることで、画像データを本のように見開き表示させることが出来るようになる。   When the display screen of the terminal is rectangular and is used horizontally, by displaying two pages at the same time, the image data can be displayed in a spread like a book.

左から開く書籍の場合は、左側に偶数ページ,右側に奇数ページを表示させる。右から開く書籍の場合は、右側に偶数ページ,左側に奇数ページを表示させる。結果、書籍のような見開き状態で端末に画像データを表示させることが出来る。   For books that open from the left, display even pages on the left and odd pages on the right. For books that open from the right, display even pages on the right and odd pages on the left. As a result, the image data can be displayed on the terminal in a spread state like a book.

例えば左から開く書籍の場合は右上のマークに右向きの矢印を追加し、右から開く書籍の場合は左上のマークに左向きの矢印を追加することで、端末に認識させるようにしても良い。これには端末側にも認識ソフトを導入すればよい。   For example, in the case of a book opened from the left, a right-pointing arrow may be added to the upper right mark, and in the case of a book opened from the right, a left-pointing arrow may be added to the upper left mark so that the terminal recognizes it. For this purpose, recognition software may be introduced on the terminal side.

また、追加するマークの形状を、偶数ページと奇数ページで変えても良い。もし書籍を裁断して画像を読み取ったときに、白紙ページを保存しない白紙スキップ機能を使用して画像データを作成した場合には、各ページの画像データがもともと偶数ページだったのか、奇数ページだったのかがわからなくなってしまう。   Further, the shape of the mark to be added may be changed between even pages and odd pages. If the image data is created using the blank page skip function that does not save the blank page when the book is cut and scanned, the image data on each page was originally an even page or an odd page. I don't know what happened.

このため、右から開く書籍,左から開く書籍を登録しただけでは、見開き状態で正しく表示させることが出来ない場合がある。   For this reason, there are cases where it is not possible to display correctly in a spread state only by registering a book opened from the right and a book opened from the left.

そこで、追加するマークを偶数ページと奇数ページで変更する。例えば偶数ページは右下の隅を三角形マーク,他の隅をカギカッコマークにし、奇数ページは左下の隅を三角形マーク,他の隅をカギカッコマークにする。   Therefore, the mark to be added is changed between even pages and odd pages. For example, in the even page, the lower right corner is a triangle mark and the other corner is a bracket mark, and in the odd page, the lower left corner is a triangle mark and the other corner is a bracket mark.

他には、偶数ページは右下の隅のマークをなくして他の隅をカギカッコマークにし、奇数ページは左下の隅のマークをなくして他の隅をカギカッコマークにする。   Otherwise, the even-numbered page has the lower-right corner mark removed and the other corners become a bracketed mark, and the odd-numbered page has the lower-left corner mark removed and the other corners become a bracketed mark.

すると、偶数ページもしくは奇数ページが連続した場合は、間に白紙ページがあったと考えられるため、見開き表示させた場合に白紙スキップで削除された画像データを補完して表示させることで、もとの書籍のような見開き表示をさせることが出来る。   Then, if even pages or odd pages continue, it is considered that there was a blank page between them, so when displaying in a spread, the image data deleted by skipping blank pages is complemented and displayed, A spread display like a book can be made.

これまでマークの形状を変更する例を挙げて来たが、形状の代わりに色を変更することでも、同等の効果を得ることが出来る。ただし表示端末がカラー情報を識別出来る必要がある。   The example of changing the shape of the mark has been given so far, but the same effect can be obtained by changing the color instead of the shape. However, the display terminal needs to be able to identify the color information.

また、原稿が書籍の場合には、原稿のサイズが全ページでほぼ一定であることを利用して、検知した原稿長・幅の中に極端に異なる原稿長・幅があった場合にスキャンを中止させ、ユーザーに知らせるようにしても良い。   If the document is a book, use the fact that the size of the document is almost constant on all pages, and scan when there is an extremely different document length / width in the detected document length / width. You may make it cancel and inform a user.

これには、通常の混載文書スキャンモードとは別に、本機能を実施する為の書籍スキャンモードを切り替え可能に設け、書籍スキャンモードがユーザーによって選択された場合に限り、実施するようにしても良い。   For this purpose, in addition to the normal mixed document scan mode, a book scan mode for implementing this function is provided to be switchable, and may be implemented only when the book scan mode is selected by the user. .

他にも、原稿が書籍の場合には、全ページをスキャンしてから四隅検知処理をするようにしても良い。原稿のサイズが全ページでほぼ一定であることを利用して、全ページの原稿長・幅の検知結果を使い、各ページの原稿長・幅を修正することが出来る。   In addition, when the document is a book, the four corner detection processing may be performed after all pages are scanned. By utilizing the fact that the document size is almost constant for all pages, the document length / width of each page can be corrected using the document length / width detection results for all pages.

例えば、他のページと比較して極端に原稿長や幅が大きいと検出されたページに対しては、サイズ検知に失敗したと判断して、前後のページの原稿長・幅のちょうど中間値になるように修正する。   For example, for a page that is detected to have an extremely long document length or width compared to other pages, it is determined that the size detection has failed, and it is set to an intermediate value between the document length and width of the previous and next pages. Modify to be.

こうすることで、書籍のページごとの微妙な原稿幅の違いや、裁断時に斜めに裁断してしまった事による原稿幅の違いなどをうまく吸収し、連続するページの原稿幅に違和感を覚えさせない画像を出力する事ができる。   By doing this, subtle differences in document width for each page of the book and differences in document width due to being cut obliquely during cutting can be absorbed well, and the original page width of consecutive pages will not feel strange. An image can be output.

なお、本発明を画像読取装置ではなく画像処理装置に適応した場合などにおいて、白紙スキップ機能を使用して作成された画像データは、各ページがもとの原稿で表面画像だったのか裏面画像だったのか、わからない場合がある。   Note that when the present invention is applied to an image processing apparatus rather than an image reading apparatus, the image data created using the blank page skip function is a front image or a back image for each page. Sometimes you do n’t know.

この場合、例えば画像データの左右の余白量を検出し、右側の余白が多いページを表面画像、左側の余白が多いページを裏面画像と判断して、表面画像用の画像処理と裏面画像用の画像処理のどちらを行うか決めても良い。   In this case, for example, the left and right margins of the image data are detected, a page with a large right margin is determined as a front image, and a page with a large left margin is determined as a back image. You may decide which image processing to perform.

<実施形態2>
本実施形態では、画像データを携帯型表示端末に表示させるとき、ユーザーが望んだ方向に寄せて表示出来る画像データを作成する。
<Embodiment 2>
In this embodiment, when displaying image data on a portable display terminal, image data that can be displayed in the direction desired by the user is created.

本実施形態に係るシステムの構成例について、図7のブロック図を用いて説明する。   A configuration example of the system according to the present embodiment will be described with reference to the block diagram of FIG.

システム200は、実施形態1のシステム100に加えて、画像データを寄せたい方向を登録する寄せ方向登録部201と、画像データを表示させる端末画面の縦横比情報を登録する縦横比登録部202と、余白付加量算出部203と、余白付加部204を有することが特徴である。   In addition to the system 100 of the first embodiment, the system 200 includes a registration direction registration unit 201 that registers a direction in which image data is desired to be registered, and an aspect ratio registration unit 202 that registers aspect ratio information of a terminal screen on which image data is displayed. The margin addition amount calculation unit 203 and the margin addition unit 204 are characterized.

余白付加部204は、実施形態1の構成の、四隅検出部102とマーク追加部103の間に入る。   The margin adding unit 204 enters between the four corner detecting unit 102 and the mark adding unit 103 in the configuration of the first embodiment.

寄せ方向登録部201には、ユーザーが画像データを寄せたい方向を予め登録しておく。   A direction in which the user wants to gather image data is registered in advance in the registration direction registration unit 201.

例えば、表示端末の下側を持って使用するユーザーが、画像を上に寄せたいと思っている場合には、上側と登録する。   For example, when the user who uses the lower side of the display terminal wants to move the image upward, the user registers it as the upper side.

上下左右の四種類の中から一種類を選択して登録出来るようにしても良い。   It may be possible to select and register one of four types, top, bottom, left and right.

縦横比登録部202には、画像データを表示させる端末画面の縦横比を登録する。複数種類登録しておき、その中から選択出来るようにしても良い。   The aspect ratio registration unit 202 registers the aspect ratio of the terminal screen on which image data is displayed. A plurality of types may be registered and selected from the list.

余白付加量算出部203は、画像データに余白を付加した後の縦横比が、縦横比登録部202に登録された端末画面の縦横比と同じになるように、余白の付加量を計算する。   The margin addition amount calculation unit 203 calculates the margin addition amount so that the aspect ratio after adding the margin to the image data is the same as the aspect ratio of the terminal screen registered in the aspect ratio registration unit 202.

余白付加部204は、寄せ方向登録部201に登録された方向と反対側に、余白付加量算出部203で算出した余白を付加する。結果、寄せたい方向に寄せられた画像データを作成出来る。   The margin adding unit 204 adds the margin calculated by the margin addition amount calculating unit 203 on the side opposite to the direction registered in the registration direction registering unit 201. As a result, it is possible to create image data arranged in the desired direction.

さらにマーク追加部103によって画像データの隅にマークを追加することで、自動拡大表示させても付加した余白が削除されず、見やすい画像を作成出来る。   Further, by adding a mark to the corner of the image data by the mark adding unit 103, the added margin is not deleted even when the image is automatically enlarged and displayed, and an easy-to-view image can be created.

各部の動作手順を、図8のフローチャートを用いて説明する。   The operation procedure of each part will be described with reference to the flowchart of FIG.

ステップS201で、画像処理を行いたい画像データを読み込む。次にステップS202で、予めユーザーが登録した寄せ方向を、寄せ方向登録部201から読み出す。   In step S201, image data to be subjected to image processing is read. In step S <b> 202, the moving direction registered in advance by the user is read from the moving direction registration unit 201.

ステップS203で、予めユーザーが登録した、表示画面の縦横比を、縦横比登録部202から読みだす。   In step S 203, the aspect ratio of the display screen registered by the user in advance is read from the aspect ratio registration unit 202.

ステップS204で、余白付加量算出部203は、登録された縦横比と読みだした画像データの縦横比から画像データに追加する余白の長さを計算する。   In step S204, the margin addition amount calculation unit 203 calculates the length of the margin to be added to the image data from the registered aspect ratio and the aspect ratio of the read image data.

ここで、余白付加量算出部203の余白量算出手順について説明する。例えば上寄せで表示させたい場合には、画像の下側に余白を付加する。余白の付加量は、画像データの縦横比をA:Bとし、端末の縦横比をC:Dとし、画像データに付加する余白量をα(アルファ)とすると、αは以下の計算で求めることが出来る。
(A+α):B=C:D
⇒ (A+α)×D=B×C
⇒ A+α=(B×C)/D
⇒ α=((B×C)/D)−A
Here, a margin amount calculation procedure of the margin addition amount calculation unit 203 will be described. For example, when it is desired to display the image in a top-aligned manner, a margin is added to the lower side of the image. The amount of margin added is determined by the following calculation, where A: B is the aspect ratio of the image data, C: D is the aspect ratio of the terminal, and α (alpha) is the amount of margin added to the image data. I can do it.
(A + α): B = C: D
⇒ (A + α) x D = B x C
⇒ A + α = (B × C) / D
⇒ α = ((B × C) / D) −A

画像の下側に余白をαだけ付加して、四隅にマークを追加することで、端末に表示させたときに上寄せで、かつ端末画面の縦横比が同じ画像サイズで表示させることが出来る。   By adding a margin to the lower side of the image and adding marks at the four corners, it is possible to display the image with the same image size with the same aspect ratio of the terminal screen when displayed on the terminal.

ここでは寄せ方向が上寄せで、余白を下側に追加する計算例を示したが、寄せ方向が下側で、余白を上側に追加する場合にも同じ式から計算出来る。   Here, a calculation example is shown in which the alignment direction is top alignment and the margin is added to the lower side. However, when the alignment direction is lower and the margin is added to the upper side, the same calculation can be performed.

同様に、右寄せで表示させたい場合には、左側に余白を付加する。余白の付加量は、画像データの縦横比をA:Bとし、端末の縦横比をC:Dとし、画像データに付加する余白量をβ(ベータ)として、βは以下の計算で求めることが出来る。
A:(B+β)=C:D
⇒ (B+β)×C=A×D
⇒ B+β=(A×D)/C
⇒ β=(A×D)/C−B
Similarly, if you want to display it right-justified, add a margin on the left side. The added amount of margin is obtained by the following calculation, where the aspect ratio of the image data is A: B, the aspect ratio of the terminal is C: D, the amount of margin added to the image data is β (beta). I can do it.
A: (B + β) = C: D
⇒ (B + β) x C = A x D
⇒ B + β = (A × D) / C
⇒ β = (A × D) / CB

画像の左側に余白をβだけ付加して、四隅にマークを追加することで、端末に表示させたときに右寄せで、かつ端末画面の縦横比と同じ画像サイズで表示させることが出来る。   By adding a margin β to the left side of the image and adding marks to the four corners, it is possible to display the image with the same image size as the aspect ratio of the terminal screen when it is displayed on the terminal.

ここでは寄せ方向が右寄せで、余白を左側に追加する計算例を示したが、寄せ方向が左側で、余白を右側に追加する場合にも同じ式から計算出来る。   Here, a calculation example in which the alignment direction is right alignment and the margin is added to the left side is shown, but the same formula can be used when the alignment direction is left side and the margin is added to the right side.

ステップS205で、ユーザーが登録した寄せ情報の逆端側に、ステップS203で計算した長さの余白を付加する。例えば寄せたい方向が上であった場合は、下側に余白を追加する。   In step S205, a margin of the length calculated in step S203 is added to the opposite end of the registration information registered by the user. For example, if the desired direction is up, a margin is added on the lower side.

結果、表示装置には上寄りの画像が表示される。ここからは実施形態1と同じである。   As a result, an upper image is displayed on the display device. From here, it is the same as the first embodiment.

ステップS206で、画像の隅を検出する。ステップS207で、画像の隅にマークを追加する。   In step S206, a corner of the image is detected. In step S207, a mark is added to the corner of the image.

こうして作成された画像データは、携帯型表示端末で自動拡大表示させた場合でも余白を削除されずに表示出来るだけでなく、ユーザーの希望する方向に寄せることが出来、表示画面と同じ縦横比の最大限大きな画像を表示することが出来る。   The image data created in this way can be displayed without being deleted even if it is automatically enlarged on a portable display device, and can be moved in the direction desired by the user, and has the same aspect ratio as the display screen. The largest image can be displayed.

本実施形態では画像を上に寄せる場合を示したが、ユーザーが端末を持って使用する場合、下側を持つ人,左側を持つ人など、持つ位置は様々である。   In the present embodiment, the case where the image is brought up is shown. However, when the user uses the terminal, the positions of the person such as the person having the lower side and the person having the left side are various.

そこで、下側を持つ人にとつては画面下側が指で隠れ易いので、画像が上寄せで表示された方が見易いと考えられ、同様に、左側を持つ人にとつては画面左側が指で隠れ易いので、画像が右寄せで表示された方が見易いと考えられる。そこで、ユーザーの望む方向に画像を寄せてから余白を追加し、画像の隅にマークを追加することで、見易い画像を提供出来る。   Therefore, for the person with the lower side, the lower side of the screen is easier to hide with the finger, so it is considered easier to see the image displayed with the upper side. Similarly, for the person with the left side, the left side of the screen is It is considered that it is easier to see if the image is displayed right-justified. Therefore, it is possible to provide an easy-to-see image by adding a blank after adding the image in the direction desired by the user and adding a mark at the corner of the image.

なお、本実施形態の構成は実施形態1の構成に追加することが出来るため、実施形態1で記載した効果に実施形態2で記載した効果を追加させることが出来る。例えば、実施形態1で、元の画像データの偶数ページ、奇数ページでマークを追加する位置を変更し、綴じしろを表示させないようにすることで、画像の表示位置を揃えた例では、先ず綴じしろのぶんの余白を削除した画像データを作成してから、実施形態2を実施することで、偶数ページ、奇数ページで表示位置が同じで、さらにユーザーの希望する方向に寄せた見易い画像を作成することが出来る。   In addition, since the structure of this embodiment can be added to the structure of Embodiment 1, the effect described in Embodiment 2 can be added to the effect described in Embodiment 1. FIG. For example, in the example in which the display position of the image is aligned by changing the position where the mark is added in the even page and the odd page of the original image data and not displaying the binding margin in the first embodiment, first, the binding is performed. After creating the image data with the white space removed, create the easy-to-read image with the same display position on the even and odd pages, and in the direction desired by the user, by implementing the second embodiment. I can do it.

<実施形態3>
小説などを裁断してスキャンした画像データなどは、全てのページに共通量の余白がついている場合がある。共通量の余白であれば全てのページから削除して表示させた方が、中央部分の画像が拡大表示されて見易いと考えられる。そこで、画像の端部から共通量の余白ぶんだけ内側にマークを追加することで、端末で自動拡大表示させた時に中央部分が大きく拡大され見易い画像を作成する。
<Embodiment 3>
Image data scanned by cutting novels or the like may have a common amount of margins on all pages. If it is a common amount of blank space, it is considered that if the image is deleted from all pages and displayed, the image in the central portion is enlarged and displayed. Therefore, by adding a mark inward from the edge of the image by a common amount of blank space, the center portion is greatly enlarged when the image is automatically enlarged and displayed on the terminal, thereby creating an easy-to-view image.

なお、綴じしろの影響で、偶数ページと奇数ページの余白量が異なる場合がある。例えば横方向にページを送る書籍であれば、左右方向の余白量は偶数ページと奇数ページで別に求めて、上下方向の余白量は偶数ページと奇数ページを共通にしても良い。   Note that the margin amount of even-numbered pages and odd-numbered pages may differ due to the binding margin. For example, in the case of a book that sends pages in the horizontal direction, the left and right margins may be obtained separately for even and odd pages, and the vertical and vertical margins may be shared between even and odd pages.

本実施形態に係るシステムの構成例について、図9のブロック図を用いて説明する。図9に示すように、本実施形態に係るシステム300は、実施形態1のシステム100に加えて、余白量検出部301を有することが特徴となる。余白量検出部301は、実施形態1の構成の四隅検出部102とマーク追加部103の間に入る。   A configuration example of the system according to the present embodiment will be described with reference to the block diagram of FIG. As shown in FIG. 9, the system 300 according to the present embodiment is characterized by having a margin amount detection unit 301 in addition to the system 100 of the first embodiment. The margin amount detection unit 301 enters between the four corner detection unit 102 and the mark addition unit 103 of the configuration of the first embodiment.

余白量検出部301が余白量を検出する動作を、図10のフローチャートを用いて説明する。余白が淡色で,画像データが濃色といったように、余白と画像データの濃度は異なる。   An operation in which the margin amount detection unit 301 detects the margin amount will be described with reference to the flowchart of FIG. The density of the margin and the image data is different such that the margin is light and the image data is dark.

そこで、ステップS301で、画像端部から中央部に向かって濃度を調べる。ステップS302で、濃度がある既定値以上変化したかを判断する。変化した場合は、ステップS303で位置を濃度変化点として記録する。   Therefore, in step S301, the density is checked from the image edge toward the center. In step S302, it is determined whether the density has changed by a predetermined value or more. If changed, the position is recorded as a density change point in step S303.

この濃度変化点を収集し、画像端からの距離が最小の位置が、そのページの余白量を表わす位置となる。しかし、ノイズ成分やゴミが写ってしまった場合にそれらを画像データと誤検知してしまうことが考えられるので、例えば最小値から一定数のデータは無視する方法が考えられる。   The position where the density change points are collected and the distance from the image edge is the minimum is the position representing the margin amount of the page. However, when noise components and dust are captured, it may be erroneously detected as image data. For example, a method of ignoring a certain number of data from the minimum value can be considered.

他には、変化点のデータがあるばらつき範囲内に一定数以上ある場合(例えば文字1個ぶんのデータがある場合)に、余白量を表わす位置とする方法も考えられる。余白はページの上下左右に存在するため、濃度変化点も上下左右それぞれ求め、余白量を求めることになる。   In addition, when there is a certain number or more of change point data within a certain variation range (for example, when there is data of one character), a method of setting the position representing the amount of margin can be considered. Since the margins exist on the top, bottom, left, and right of the page, the density change points are obtained on the top, bottom, left, and right, respectively, and the amount of margin is obtained.

余白量は複数ページに亘って検出する。検出するページ数はユーザーがあらかじめ設定出来るようにしておき、例えば10ページぶんだけ余白量を検出するようにしておくことで、処理時間を短縮出来るようにしても良い。もちろん、全てのページの余白量を検出することで、処理時間はかかるが余白量の検出精度を向上させても良い。   The amount of margin is detected over a plurality of pages. The number of pages to be detected can be set in advance by the user, and for example, the processing time can be shortened by detecting the amount of blank space by 10 pages. Of course, by detecting the margin amount of all pages, the processing time is required, but the accuracy of detecting the margin amount may be improved.

各ページの上下左右にある余白量を、複数ページに亘って検出した結果から、全ページ共通の余白量を求める。例えば上下左右それぞれの最小値を用いて、共通の余白量としても良い。他にはヒストグラムを作成し、最も出現回数が多い値を共通の余白量として用いても良いし、その値から一定量端部に移動した位置を共通の余白量としても良い。   The amount of margin common to all pages is obtained from the result of detecting the amount of margin on the top, bottom, left and right of each page over a plurality of pages. For example, a common margin amount may be used by using the minimum values of the top, bottom, left, and right. Alternatively, a histogram may be created, and the value with the highest number of appearances may be used as the common margin amount, or the position moved from that value to the fixed amount end may be used as the common margin amount.

マーク追加部103は、余白量検出部31が求めた共通の余白量を用いて、全てのページに端部から余白量だけ内側の位置にマークを追加する。結果、端末で自動拡大表示させた時に、共通量の余白を削除してから表示させることが出来るので、各ページで拡大率が変わらず、且つ中央の画像部分を大きく表示出来る見易い画像を作成することが出来る。   The mark adding unit 103 uses the common margin amount obtained by the margin amount detection unit 31 to add a mark to a position on the inner side from the end portion by the margin amount on all pages. As a result, when auto-enlarged display is performed on the terminal, it is possible to display after deleting a common amount of white space, so that an easy-to-view image that can display the central image portion large without changing the enlargement ratio on each page is created. I can do it.

なお、挿絵ページなどは、他の文章ページとは余白量が大きく異なる場合もある。このため、例えば余白部分に他のページと大きく異なる画像データがある場合には挿絵ページだと判断し、余白を削除せずにマークを追加するようにしても良い。もしくは、ユーザーが挿絵ページを指定出来るようにしておき、マーク追加位置を変更出来るようにしても良い。   Note that there are cases in which the amount of blank space for an illustration page or the like differs greatly from other text pages. For this reason, for example, when there is image data that is significantly different from other pages in the margin portion, it may be determined that the page is an illustration page, and a mark may be added without deleting the margin. Alternatively, the user may be able to specify the illustration page and change the mark addition position.

<実施形態4>
画像読取装置で画像を読み取る時に原稿が傾いてしまったために、読み取った画像も傾いている場合がある。
<Embodiment 4>
Since the document is tilted when the image is read by the image reading apparatus, the read image may also be tilted.

読取画像サイズを定型(A4など)に指定している場合は、原稿が傾いてしまった場合、原稿の画像がはみ出し、余白量が他のページと異なってしまう場合がある。傾いたままの画像の隅にマークを追加してしまうと、端末で自動拡大表示させたときに小さい画像になってしまうといったような、意図しない拡大率で表示されてしまう可能性がある。   When the read image size is designated as a fixed size (A4 or the like), if the document is tilted, the image of the document may protrude and the amount of blank space may differ from other pages. If a mark is added to a corner of an image that is tilted, the image may be displayed at an unintentional enlargement ratio, such as a small image when automatically enlarged and displayed on a terminal.

また、読取画像サイズを自動サイズ(原稿のサイズに合わせて画像のサイズを決定する)に設定している場合は、原稿が傾いていると、画像が大きくなり、余白量が他のページと比べて非常に多くなってしまう場合がある。こちらも、傾いたままの画像の隅にマークを追加してしまうと、端末で自動拡大表示させたときに非常に小さい画像になってしまうといったような、意図しない拡大率で表示されてしまう可能性がある。   Also, when the scanned image size is set to automatic size (the image size is determined according to the size of the document), if the document is tilted, the image will be larger and the amount of margin will be smaller than that of other pages. May become very large. Again, if you add a mark to the corner of an image that is tilted, it may be displayed at an unintended enlargement rate, such as a very small image when automatically enlarged on the terminal There is sex.

そこで先ず、本実施例の構成では、画像の傾きを検知して補正する(斜行補正処理と呼ぶことにする)を行う。   Therefore, first, in the configuration of the present embodiment, the inclination of the image is detected and corrected (referred to as skew correction processing).

画像の傾きを補正してから、画像の隅にマークを追加することで、傾いていない画像と同様の余白量になり、自動拡大表示させても見易い画像を作ることが出来る。   By correcting the tilt of the image and then adding a mark to the corner of the image, the amount of margin is the same as that of an image that is not tilted, and an image that is easy to view can be created even if the image is automatically enlarged.

<実施形態5>
実施形態1や実施形態3で、画像の隅よりも内側にマークを追加する例を示した。マークより外側は余白であり、端末の自動拡大表示によって削除される。しかし、マークより外側にゴミなどの画像データがあった場合には、端末で自動拡大表示させた時にゴミを画像と認識してしまい、端末で自動拡大表示させたときに小さい画像になってしまうといったような、意図しない拡大率で表示されてしまう可能性がある。
<Embodiment 5>
In the first embodiment and the third embodiment, the example in which the mark is added inside the corner of the image is shown. The outside of the mark is a margin, which is deleted by automatic enlargement display of the terminal. However, if there is image data such as dust outside the mark, it will be recognized as an image when automatically enlarged and displayed on the terminal, and will become a small image when automatically enlarged and displayed on the terminal. It may be displayed at an unintended enlargement rate.

そこで、追加したマークより外側の余白部分に対して、ゴミなどの画像データを除去するために、孤立点除去処理を行う。   Therefore, an isolated point removal process is performed to remove image data such as dust from the margin part outside the added mark.

結果、ゴミなどの突発的に入った画像データを除去出来るので、ゴミを画像と認識されることが無くなり、意図しない拡大率で表示されてしまうことを防止することが出来る。   As a result, since image data that has entered suddenly such as dust can be removed, dust is not recognized as an image and can be prevented from being displayed at an unintended enlargement rate.

以上本発明を実施形態1〜5に基づいて詳細に説明したが、本発明は上述した実施形態1〜5に限定されるものではない。   As mentioned above, although this invention was demonstrated in detail based on Embodiment 1-5, this invention is not limited to Embodiment 1-5 mentioned above.

例えば、本発明は次のような形態も含まれる。   For example, the present invention includes the following forms.

本発明の一態様としては、原稿の表画像データ及び裏画像データを取得する取得手段と、前記取得手段が取得する各画像データの四隅のうち2つ以上の隅部にマークを付与するマーク付与手段と、前記マーク付与手段によるマーク付与の位置を設定するマーク位置設定手段と、を備え、前記マーク位置設定手段は、前記表画像データに付与する表マークの位置と、前記裏画像データに付与する裏マークの位置とが表裏で異なるように設定可能であることを特徴とする画像処理装置にある。
かかる本発明の態様によれば、表裏画像に付与するマーク位置を任意に設定できるため、その後の表示をマークに基づいて行えば、不揃いな表示を回避できる。
As an aspect of the present invention, an acquisition unit that acquires front image data and back image data of a document, and a mark application that adds marks to two or more corners of the four corners of each image data acquired by the acquisition unit And mark position setting means for setting the position of mark application by the mark application means. The mark position setting means provides the position of the front mark to be applied to the front image data and the back image data. The image processing apparatus is characterized in that the position of the back mark to be set can be set differently on the front and back sides.
According to this aspect of the present invention, since the mark position to be applied to the front and back images can be arbitrarily set, if the subsequent display is performed based on the mark, irregular display can be avoided.

また、上記本発明では、前記取得手段が取得する各画像データに対して余白領域を追加する余白追加手段を更に備え、前記マーク付与手段は、前記余白追加手段により余白が追加された後の画像データに対し、前記マーク位置設定手段の設定に基づく位置にマークを付与することを特徴としてもよい。
かかる本発明の態様によれば、余白を付けた後の画像データに対する任意の位置にマークを付与することができる。
In the present invention described above, the image forming apparatus further includes a margin adding unit that adds a margin area to each image data acquired by the acquiring unit, and the mark providing unit includes the image after the margin is added by the margin adding unit. A mark may be added to the data at a position based on the setting of the mark position setting means.
According to this aspect of the present invention, it is possible to add a mark to an arbitrary position with respect to image data after adding a margin.

また、上記本発明では、前記マーク付与手段は、前記取得手段が取得する各画像データの余白量に基づいて、前記各画像データの隅から内側の位置であって、前記マーク位置設定手段の設定に基づく位置にマークを付与することを特徴としてもよい。
かかる本発明の態様によれば、余白量を考慮してマークを付与することができる。
In the present invention, the mark applying means is a position inside the corner of each image data based on a margin amount of each image data acquired by the acquiring means, and is set by the mark position setting means. It is good also as giving a mark to the position based on.
According to this aspect of the present invention, it is possible to add a mark in consideration of the amount of margin.

また、上記本発明では、前記取得手段が取得する各画像データの傾きに基づいて斜行補正を行う斜行補正手段を更に備え、前記マーク付与手段は、前記斜行補正手段の補正後の画像データに対し、前記マーク位置設定手段の設定に基づく位置にマークを付与することを特徴としてもよい。
かかる本発明の態様によれば、斜行補正後の画像に対して適切なマークを付与することができる。
Further, in the present invention described above, the image processing apparatus further includes a skew correction unit that performs skew correction based on the inclination of each image data acquired by the acquisition unit, and the mark providing unit includes the image corrected by the skew correction unit. A mark may be added to the data at a position based on the setting of the mark position setting means.
According to this aspect of the present invention, it is possible to give an appropriate mark to an image after skew correction.

また、上記本発明では、前記取得手段が取得する各画像データに含まれる孤立点を除去する孤立点除去手段を更に備え、前記孤立点除去手段は、前記マーク付与手段が付与したマークを基準としてマークの外側の領域に存在する孤立点を除去することを特徴としてもよい。
かかる本発明の態様によれば、マークの外側にある孤立点を効率よく除去できる。なお、マークの内側にある孤立点のみを除去するようにしてもよい。
The present invention further includes an isolated point removing unit that removes an isolated point included in each image data acquired by the acquiring unit, and the isolated point removing unit uses the mark provided by the mark applying unit as a reference. An isolated point existing in a region outside the mark may be removed.
According to such an aspect of the present invention, isolated points outside the mark can be efficiently removed. Note that only isolated points inside the mark may be removed.

なお、本発明は、上記画像処理装置を備え、原稿を搬送しながら画像を読み取って得た画像データに対して前記画像処理装置により画像処理を施すことを特徴とする画像読取装置についても広く対象とする。
かかる本発明の態様によれば、画像読取装置においてマークを付与できるため、画像を取得した外部端末(スマートフォンやコンピュータ)のディスプレイにおいて画像表示が見やすくできる。
The present invention is also broadly applicable to an image reading apparatus comprising the above-described image processing apparatus and performing image processing by the image processing apparatus on image data obtained by reading an image while conveying a document. And
According to this aspect of the present invention, since the mark can be given in the image reading apparatus, the image display can be easily seen on the display of the external terminal (smart phone or computer) that acquired the image.

なお、本発明は、原稿から画像を読み取る画像読取装置と、前記画像読取装置に接続された情報処理装置とから構成され、上記画像処理装置が前記情報処理装置により構成されることを特徴とする画像読取システムについても広く対象とする。
かかる本発明の態様によれば、情報処理装置で表示前の画像データにマークを付与し、そのマークを指標としてサイズ調整された画像データをディスプレイ等で表示することが可能となる。
The present invention includes an image reading device that reads an image from a document and an information processing device connected to the image reading device, and the image processing device includes the information processing device. The image reading system is also widely targeted.
According to this aspect of the present invention, it is possible to add a mark to image data before being displayed by the information processing apparatus, and to display the image data whose size has been adjusted using the mark as an index on a display or the like.

Claims (7)

原稿の表画像データ及び裏画像データを取得する取得手段と、
前記取得手段が取得する各画像データの四隅のうち2つ以上の隅部にマークを付与するマーク付与手段と、
前記マーク付与手段によるマーク付与の位置を設定するマーク位置設定手段と、を備え、
前記マーク位置設定手段は、前記表画像データに付与する表マークの位置と、前記裏画像データに付与する裏マークの位置とが表裏で異なるように設定可能であることを特徴とする画像処理装置。
An acquisition means for acquiring front image data and back image data of a document;
Mark providing means for applying marks to two or more corners of the four corners of each image data acquired by the acquisition means;
Mark position setting means for setting the mark application position by the mark application means,
The image processing apparatus, wherein the mark position setting means can set the position of the front mark to be applied to the front image data and the position of the back mark to be applied to the back image data so that they are different on the front and back sides. .
前記取得手段が取得する各画像データに対して余白領域を追加する余白追加手段を更に備え、
前記マーク付与手段は、前記余白追加手段により余白が追加された後の画像データに対し、前記マーク位置設定手段の設定に基づく位置にマークを付与することを特徴とする請求項1に記載の画像処理装置。
Further comprising a margin adding means for adding a margin area to each image data acquired by the acquiring means;
2. The image according to claim 1, wherein the mark adding unit adds a mark to a position based on a setting of the mark position setting unit with respect to the image data after the margin is added by the margin adding unit. Processing equipment.
前記マーク付与手段は、前記取得手段が取得する各画像データの余白量に基づいて、前記各画像データの隅から内側の位置であって、前記マーク位置設定手段の設定に基づく位置にマークを付与することを特徴とする請求項1に記載の画像処理装置。   The mark assigning means assigns a mark to a position inside the corner of each image data based on a margin amount of each image data acquired by the acquiring means and based on the setting of the mark position setting means The image processing apparatus according to claim 1, wherein: 前記取得手段が取得する各画像データの傾きに基づいて斜行補正を行う斜行補正手段を更に備え、
前記マーク付与手段は、前記斜行補正手段の補正後の画像データに対し、前記マーク位置設定手段の設定に基づく位置にマークを付与することを特徴とする請求項1に記載の画像処理装置。
Further comprising skew correction means for performing skew correction based on the inclination of each image data acquired by the acquisition means;
The image processing apparatus according to claim 1, wherein the mark applying unit applies a mark to a position based on the setting of the mark position setting unit with respect to the image data corrected by the skew feeding correcting unit.
前記取得手段が取得する各画像データに含まれる孤立点を除去する孤立点除去手段を更に備え、
前記孤立点除去手段は、前記マーク付与手段が付与したマークを基準としてマークの外側の領域に存在する孤立点を除去することを特徴とする請求項1乃至4のいずれか1項に記載の画像処理装置。
Further comprising isolated point removing means for removing isolated points included in each image data obtained by the obtaining means,
The image according to any one of claims 1 to 4, wherein the isolated point removing unit removes an isolated point existing in a region outside the mark with reference to the mark provided by the mark providing unit. Processing equipment.
請求項1乃至5のいずれか1項に記載の画像処理装置を備え、原稿を搬送しながら画像を読み取って得た画像データに対して前記画像処理装置により画像処理を施すことを特徴とする画像読取装置。   An image comprising the image processing apparatus according to claim 1, wherein the image processing apparatus performs image processing on image data obtained by reading an image while conveying a document. Reader. 原稿から画像を読み取る画像読取装置と、前記画像読取装置に接続された情報処理装置とから構成され、請求項1乃至5のいずれか1項に記載の画像処理装置が前記情報処理装置により構成されることを特徴とする画像読取システム。   6. The image processing apparatus according to claim 1, further comprising: an image reading apparatus that reads an image from a document; and an information processing apparatus connected to the image reading apparatus. An image reading system.
JP2016098338A 2016-05-17 2016-05-17 Image processing apparatus and image reading device and image reading system Pending JP2017208626A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016098338A JP2017208626A (en) 2016-05-17 2016-05-17 Image processing apparatus and image reading device and image reading system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016098338A JP2017208626A (en) 2016-05-17 2016-05-17 Image processing apparatus and image reading device and image reading system

Publications (1)

Publication Number Publication Date
JP2017208626A true JP2017208626A (en) 2017-11-24

Family

ID=60416602

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016098338A Pending JP2017208626A (en) 2016-05-17 2016-05-17 Image processing apparatus and image reading device and image reading system

Country Status (1)

Country Link
JP (1) JP2017208626A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021039285A (en) * 2019-09-04 2021-03-11 株式会社リコー Image forming apparatus and image forming method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021039285A (en) * 2019-09-04 2021-03-11 株式会社リコー Image forming apparatus and image forming method

Similar Documents

Publication Publication Date Title
US11386046B2 (en) Apparatus for setting file name for scan image, method of controlling same, and storage medium
US8438478B2 (en) Displaying an overlapped print preview for multiple pages with different finishing options
JP6562823B2 (en) Image reading device
JP4552993B2 (en) Image processing apparatus and control program for image processing apparatus
JP6562822B2 (en) Image reading device
US9110435B2 (en) Device capable of extracting output control information, control method thereof, and storage medium
US9307115B2 (en) Image processing device generating rectangular image data from intermediate image data
JP5183587B2 (en) Image processing apparatus, image processing method, and program for executing image processing method
US20150215493A1 (en) Image processing apparatus, image processing method, and computer-readable, non-transitory medium
JP6580965B2 (en) Image reading device
US20180091671A1 (en) Image Reading Apparatus and Image Reading Method That Simply Detect Document Direction in Reading of Book Document, and Recording Medium Therefor
US20150160895A1 (en) Image processing apparatus, image processing method, and storage medium
JP2017208626A (en) Image processing apparatus and image reading device and image reading system
JP2009077068A (en) Image processing apparatus, image processing method, and program
JP2005354654A (en) Photographic image area extraction apparatus and copying machine
KR101511818B1 (en) Image processing apparatus, method for controlling the same, and storage medium
EP4007249A1 (en) Image reading device and image reading method
US9628666B2 (en) Image processing device generating combined imaged data by using first image data and second image data
US10623602B2 (en) Image reading apparatus for recognizing, correcting and arraying card image data
JP2012160873A (en) Image reading device, image forming apparatus, control method of image reading device, and control program of image reading device
JP5474222B2 (en) Image processing apparatus, image processing method, and program
JP6561732B2 (en) Reader and program
JP2007174479A (en) Read control system
JP2016111614A (en) Image processing device and image processing method
JP2004235680A (en) Manuscript reader