JP2015119430A - Image reading apparatus, image reading method and program - Google Patents
Image reading apparatus, image reading method and program Download PDFInfo
- Publication number
- JP2015119430A JP2015119430A JP2013263169A JP2013263169A JP2015119430A JP 2015119430 A JP2015119430 A JP 2015119430A JP 2013263169 A JP2013263169 A JP 2013263169A JP 2013263169 A JP2013263169 A JP 2013263169A JP 2015119430 A JP2015119430 A JP 2015119430A
- Authority
- JP
- Japan
- Prior art keywords
- page
- parameter
- image reading
- image
- predetermined area
- 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.)
- Granted
Links
Images
Abstract
Description
本発明は、画像読み取り装置、画像読み取り方法及びプログラムに関する。 The present invention relates to an image reading apparatus, an image reading method, and a program.
従来、例えば図27に示すように、見開いた状態の本Bの上方に撮像手段201を配置し、当該撮像手段201によって本Bの頁Pを一頁ずつ画像として読み取る画像読み取り装置200が知られている。ここで、本Bによってはサイズが異なるために、そのサイズに応じた読み取り処理を行うべく、画像読み取り装置200には図28に示すように撮像手段201で取得した画像G10から必要な領域だけを切り取るように、原稿サイズR10を指定できる機能が搭載されている(例えば特許文献1参照)。
そして、近年においては、撮影時に頁を押さえる手指が読み取り画像中に存在した場合、その手指部分を画像中から指定して削除する画像読み取り装置の開発も進んでいる。
Conventionally, as shown in FIG. 27, for example, an
In recent years, development of an image reading apparatus has been advanced that designates and deletes a finger portion from the image when a finger holding the page at the time of shooting is present in the read image.
ところで、すでに周知となっている手指部分などの所定部分を画像中から削除する画像読み取り装置の場合、所定部分を画像毎に逐一指定しなければならず、ユーザーにとっては煩雑な作業となる。
そこで本発明の課題は、多数の読み取り画像における所定部分の削除処理の効率化を図ることである。
By the way, in the case of an image reading apparatus that deletes a predetermined part such as a finger part already known from the image, it is necessary to designate the predetermined part for each image one by one, which is troublesome for the user.
Accordingly, an object of the present invention is to improve the efficiency of deletion processing of a predetermined portion in a large number of read images.
以上の課題を解決するため、本発明の一の態様によれば、
本を頁毎にめくり、当該本の頁を撮像手段によって頁毎に撮像し、撮像された画像のうち所定領域を補正して取り込む画像読み取り装置であって、
前記頁のめくり始め近傍の頁での前記所定領域に関する第一パラメータを指定する初期パラメータ指定手段と、
前記頁のめくり終わり近傍の頁での前記所定領域に関する第一パラメータを指定する終期パラメータ指定手段と、
前記初期パラメータ指定手段及び前記終期パラメータ指定手段により指定された前記第一パラメータに基づいて、任意の頁での前記第一パラメータを決定する決定手段と、
前記決定手段で決定された前記任意の頁の第一パラメータに基づいて、前記任意の頁の画像を補正する補正手段とを備え、
前記補正手段は、前記任意の頁の前記所定領域の少なくとも一部を、前記任意の頁の第一パラメータに基づいて削除する削除手段を含むことを特徴とする画像読み取り装置が提供される。
In order to solve the above problems, according to one aspect of the present invention,
An image reading device that turns a book page by page, images the page of the book for each page by an imaging means, corrects and captures a predetermined area of the captured image,
Initial parameter designating means for designating a first parameter related to the predetermined area in a page near the beginning of turning the page;
An end parameter specifying means for specifying a first parameter relating to the predetermined area in a page near the end of turning of the page;
Determining means for determining the first parameter in an arbitrary page based on the first parameter specified by the initial parameter specifying means and the final parameter specifying means;
Correction means for correcting the image of the arbitrary page based on the first parameter of the arbitrary page determined by the determination means,
An image reading apparatus is provided, wherein the correction unit includes a deletion unit that deletes at least a part of the predetermined area of the arbitrary page based on a first parameter of the arbitrary page.
本発明によれば、多数の読み取り画像における所定部分の削除処理を効率化することができる。 According to the present invention, it is possible to improve the efficiency of deleting a predetermined portion in a large number of read images.
以下に、本発明を実施するための最良の形態について図面を用いて説明する。ただし、以下に述べる実施形態には、本発明を実施するために技術的に好ましい種々の限定が付されているが、発明の範囲を以下の実施形態及び図示例に限定するものではない。 The best mode for carrying out the present invention will be described below with reference to the drawings. However, although various technically preferable limitations for implementing the present invention are given to the embodiments described below, the scope of the invention is not limited to the following embodiments and illustrated examples.
図1は本発明に係る画像読み取り装置としての書画カメラシステムの概略構成を示す斜視図である。図1に示すように、書画カメラシステム1には、本Bの頁Pを撮像する撮像手段としての書画カメラ2と、本Bが載置される載置台3と、書画カメラ2に通信自在に接続されたパソコン4とを備えている。なお、本発明に係る本Bとしては一般的な本の他にも、綴じられた書類等も含むこととする。
FIG. 1 is a perspective view showing a schematic configuration of a document camera system as an image reading apparatus according to the present invention. As shown in FIG. 1, the
書画カメラ2には、スタンド部21と、スタンド部21の上端に取り付けられたカメラ22とが設けられている。スタンド部21は本Bとカメラ22との相対的な位置関係を調整できるように、前後方向、左右方向に傾倒自在であるとともに、上下方向に伸縮自在となっている。カメラ22は、その画角内に本Bが収まるようにレンズが下方を向いている。カメラ22とスタンド部21との接合部には位置調整機構が設けられており、これによってカメラ22のレンズが向く方向も調整できるようになっている。
The
図2は、載置台3、本B及びカメラ22の位置関係を示す説明図であり、図3は載置台3及び本Bの上面視図である。
図2及び図3に示すように、載置台3は、図示しないヒンジにより折り畳み自在な左右一対の保持板31,32を備えている。これら一対の保持板31,32の上面で、開いた状態の本Bを保持する。一対の保持板31,32には、本Bの表紙及び裏表紙をそれぞれ保持するバンド状の保持部33が設けられている。また、保持板31,32の外側の縁部には、頁Pを押さえる手指の位置の基準となるマーク34が設けられている。
FIG. 2 is an explanatory diagram showing the positional relationship between the mounting table 3, the book B, and the
2 and 3, the mounting table 3 includes a pair of left and
ここで、開きやすい本Bの場合には、図2に示すように一対の保持板31,32を平坦に配置する。そして、カメラ22は左右両方の頁Pを撮像するように、左右両方の頁Pの綴じ目の上方に配置する。これにより、一回の撮影で2頁分の画像を取得することができる。
また、完全に開くことが容易でない本Bの場合には、図4に示すように、一対の保持板31,32をV字状となるように傾ける。そして、カメラ22は左右両方の頁Pを撮像するように、左右両方の頁Pの綴じ目の上方に配置する。これにより、一回の撮影で2頁分の画像を取得することができる。
また、大きく開くのが困難である本Bの場合には、図5に示すように、一方の頁Pのみを平坦とし、他方の頁Pは傾くように一対の保持板31,32を調整する。そして、カメラ22は、平坦な頁Pの上方に配置する。これにより、一回の撮影で1頁分の画像を取得することができる。以下の説明では、図2に示した場合を例示して説明する。
なお、いずれの場合においても、カメラ22が頁Pに正対しない場合があり、取得した各頁Pの画像に対して画像処理のどこかの段階で台形補正を施すことが好ましい。
Here, in the case of the book B which is easy to open, as shown in FIG. 2, a pair of
In the case of Book B which is not easy to open completely, as shown in FIG. 4, the pair of
In the case of Book B, which is difficult to open greatly, as shown in FIG. 5, the pair of
In either case, the
次に、本実施形態の書画カメラシステム1の主制御構成について説明する。図6は書画カメラシステム1の主制御構成を示すブロック図である。図6に示すように、パソコン4には、カメラ22で撮像された基準画像G(図9等参照)及び当該基準画像Gからトリミングして得られたトリミング画像等を記録する記録部41と、種々の操作指示がパソコン4自体に入力されるキーボード、タッチパネル、マウス等の操作手段42と、各種プログラムが記録されたROM43と、ROM43中のプログラムの実行時に当該プログラムが展開されるRAM44と、操作手段42からの指示に基づいてROM43中のプログラムをRAM44に展開し実行するCPU45とが備えられている。
パソコン4のCPU45にて画像読み取り用のプログラムが実行されると、操作手段42の所定のボタンが撮影ボタンとして対応付けされる。この撮影ボタンを操作することに連動してカメラ22が本Bの画像を撮影するようになっている。
Next, the main control configuration of the
When the image reading program is executed by the
以下、書画カメラシステム1による画像読み取り方法について説明する。
まず、ユーザーは、操作手段42を操作して画像読み取り用のプログラムをパソコン4に実行させる。これにより、まずは画像撮影モードが実行される。画像撮影モードにおいては、まずユーザーは、本Bの最初の頁Pを開いて、マーク34に合わせて手指を置き、頁Pを押さえる。
図7は、左右の手指h1,h2によって頁Pを押さえた状態を示す説明図である。図7中、点線で囲まれた領域はカメラ22の撮影エリアPaである。
そして、この状態の左右の頁Pをカメラ22によって一画像として撮影されるようにする。具体的には、例えば撮影ボタンを操作してから所定時間(例えば3秒)後に撮像されるような設定(セルフタイマー設定)をしておき、撮影毎に撮影ボタンを操作し、その3秒の間に頁Pをめくり、頁Pを手で押さえるようにすればよい。あるいは、カメラ22でマーク34付近の領域を監視して、その領域に手指が存在し、静止したと判断される場合に静止画が取り込まれるようにしてもよい。
これを本Bの最後の頁Pまで繰り返すことにより、一冊の本Bの全ての頁Pの基準画像Gがパソコン4の記録部41に記録されることになる。
最後の頁Pの撮影が終了すると、ユーザーは操作手段42を操作して、画像撮影モードの終了をパソコン4に促す。パソコン4は、画像撮影モードの終了に伴って、画像処理モードに切り替える。
なお、以下の説明においては、左右の二頁分を含んだ一画像毎に頁番号を割り振っている。
Hereinafter, an image reading method by the
First, the user operates the operation means 42 to cause the
FIG. 7 is an explanatory diagram showing a state where the page P is pressed by the left and right fingers h1 and h2. In FIG. 7, a region surrounded by a dotted line is a shooting area Pa of the
Then, the left and right pages P in this state are photographed as one image by the
By repeating this until the last page P of the book B, the reference images G of all the pages P of one book B are recorded in the
When the shooting of the last page P is completed, the user operates the operation means 42 to prompt the
In the following description, page numbers are assigned to each image including two left and right pages.
図8は画像処理モードの処理の流れを示すフローチャートである。
ステップS1ではCPU45は最初の頁Pにおける第一パラメータ及び第二パラメータを指定する。つまり、CPU45が本発明に係る初期パラメータ指定手段である。具体的には、まずCPU45は図9に示すように最初の基準画像Gを画面上に表示する。本実施形態の場合、左開きの本Bが撮影対象であるため、一頁目の基準画像G内においては、左側の頁Pが薄く、右側の頁Pが厚くなっている。つまり、左側の頁Pはカメラ22から遠いために比較的小さく撮影されており、右側の頁Pはカメラ22に近いため比較的大きく撮影されている。
FIG. 8 is a flowchart showing the flow of processing in the image processing mode.
In step S1, the
第一パラメータの指定時においては、ユーザーは操作手段42を操作して、図10に示すように、頁Pに対して重なった手指h1,h2を囲むように矩形状の所定領域K,Lを指定する。操作手段42がマウスである場合には所定領域K,Lを形成するようにドラッグすることで、CPU45が所定領域K,Lを特定する。この所定領域K,Lの各角部の座標値が、めくり始めでの第一パラメータとなる。
At the time of designating the first parameter, the user operates the operating means 42 to set the rectangular predetermined areas K and L so as to surround the fingers h1 and h2 overlapping the page P as shown in FIG. specify. When the operation means 42 is a mouse, the
他方、第二パラメータの指定時においては、ユーザーは操作手段42を操作して、図11に示すように、頁Pから切り出したい領域を囲むように矩形状のトリミング領域Q,Rを指定する。このトリミング領域Q,Rの各角部の座標値が、めくり始めでの第二パラメータとなる。 On the other hand, when specifying the second parameter, the user operates the operating means 42 to specify rectangular trimming areas Q and R so as to surround the area to be cut out from the page P as shown in FIG. The coordinate values of the corners of the trimming areas Q and R become the second parameter at the beginning of turning.
ステップS2では、CPU45は最後の頁Pにおける第一パラメータ及び第二パラメータを指定する。つまり、CPU45が本発明に係る終期パラメータ指定手段である。具体的には、まずCPU45は図12に示すように最後の基準画像Gを画面上に表示する。本実施形態の場合、左開きの本Bが撮影対象であるため、最後の基準画像G内においては、左側の頁Pが厚く、右側の頁Pが薄くなっている。
In step S2, the
第一パラメータの指定時においては、ユーザーは操作手段42を操作して、図13に示すように、頁Pに対して重なった手指h1,h2を囲むように矩形状の所定領域K,Lを指定する。この所定領域K,Lの各角部の座標値が、めくり終わりでの第一パラメータとなる。 At the time of designating the first parameter, the user operates the operating means 42 to set the rectangular predetermined areas K and L so as to surround the fingers h1 and h2 overlapping the page P as shown in FIG. specify. The coordinate values of the corners of the predetermined areas K and L are the first parameters at the end of turning.
他方、第二パラメータの指定時においては、ユーザーは操作手段42を操作して、図14に示すように、頁Pから切り出したい領域を囲むように矩形状のトリミング領域Q,Rを指定する。このトリミング領域Q,Rの各角部の座標値が、めくり終わりでの第二パラメータとなる。 On the other hand, when the second parameter is designated, the user operates the operation means 42 to designate rectangular trimming areas Q and R so as to surround the area to be cut out from the page P as shown in FIG. The coordinate values of the corners of the trimming areas Q and R become the second parameter at the end of turning.
ステップS3では、CPU45は、所定領域K,L内から削除対象色及び背景色を指定する。つまり、CPU45が本発明に係る第一指定手段及び第二指定手段である。
削除対象色の指定においては、例えば所定領域K内の手指部分h1の所定箇所をユーザーが操作手段42で指定することで、その所定箇所の色をCPU45が削除対象色として設定する。なお、手指部分h1においても場所によって色が微妙に異なるために、削除対象色としては、ある程度の許容範囲を予め含んで設定されていることが好ましい。
また、削除対象色を逐一設定しなくとも、肌色と同程度の色を削除対象色として予め設定しておくことも可能である。なお、肌色と言っても白人、黒人、黄色人種等のように人種によって肌の色が異なる場合もあれば、個人差による違いもあり、さらには同一人物であっても季節によって肌の色が異なる。このため、これらを包含するように肌色として認識する許容範囲を予め設定していてもよいし、人種毎の許容範囲が個別に登録されていて、使用する人種によって該当する許容範囲を選択するようにしてもよい。
In step S3, the
In the designation of the color to be deleted, for example, when the user designates a predetermined location of the finger portion h1 in the predetermined area K with the operation means 42, the
Further, even if the deletion target color is not set one by one, it is also possible to set in advance a color similar to the skin color as the deletion target color. The skin color may vary depending on the race, such as white, black, or yellow races, or may vary depending on the individual. The color is different. For this reason, the permissible range recognized as skin color may be set in advance to include these, or the permissible range for each race is individually registered, and the permissible range selected according to the race used is selected. You may make it do.
また、背景色の指定においても、例えば基準画像Gにおける手指部分h1以外の所定箇所をユーザーが操作手段42で指定することで、その所定箇所の色をCPU45が背景色として設定する。
Also in the background color designation, for example, when the user designates a predetermined location other than the finger portion h1 in the reference image G by the operation means 42, the
ステップS4では、CPU45は、i=1と設定する。
ステップS5では、CPU45は、i頁目の基準画像Gに対する第一パラメータ及び第二パラメータを決定する。つまり、CPU45が本発明に係る決定手段である。
In step S4, the
In step S5, the
まず、第一パラメータの決定方法について説明する。まず左側の頁Pにおける第一パラメータの決定方法を例示して説明する。 First, a method for determining the first parameter will be described. First, a method for determining the first parameter on the left page P will be described as an example.
図15は左側の最初の頁Pにおける所定領域K1を示す説明図であり、図16は左側のi番目の頁Pにおける所定領域Kiを示す説明図であり、図17は左側の最後(m番目)の頁Pにおける所定領域Kmを示す説明図である。
所定領域K1の各角部をKa(1),Kb(1),Kc(1),Kd(1)とし、所定領域Kmの各角部をKa(m),Kb(m),Kc(m),Kd(m)とし、i番目の頁Pにおける所定領域Kiの各角部をKa(i),Kb(i),Kc(i),Kd(i)とすると、i番目の頁Pにおける所定領域Kiの各角部の座標値は、所定領域K1の各角部の座標値と、所定領域Kmの各角部の座標値と、頁番号とを用いて線形補間する以下の式(1)〜(4)により求められる。
FIG. 15 is an explanatory diagram showing the predetermined area K1 on the left first page P, FIG. 16 is an explanatory diagram showing the predetermined area Ki on the i-th page P on the left side, and FIG. ) Is an explanatory diagram showing a predetermined area Km on the page P.
Each corner of the predetermined region K1 is Ka (1), Kb (1), Kc (1), Kd (1), and each corner of the predetermined region Km is Ka (m), Kb (m), Kc (m ), Kd (m), and Ka (i), Kb (i), Kc (i), and Kd (i) are the corners of the predetermined area Ki on the i-th page P, the i-th page P The coordinate value of each corner of the predetermined area Ki is expressed by the following equation (1) that performs linear interpolation using the coordinate value of each corner of the predetermined area K1, the coordinate value of each corner of the predetermined area Km, and the page number. ) To (4).
Ka(i)=Ka(1)・{(m−i)/(m−1)}+Ka(m)・{i/(m−1)}…(1)
Kb(i)=Kb(1)・{(m−i)/(m−1)}+Kb(m)・{i/(m−1)}…(2)
Kc(i)=Kc(1)・{(m−i)/(m−1)}+Kc(m)・{i/(m−1)}…(3)
Kd(i)=Kd(1)・{(m−i)/(m−1)}+Kd(m)・{i/(m−1)}…(4)
Ka (i) = Ka (1). {(Mi) / (m-1)} + Ka (m). {I / (m-1)} (1)
Kb (i) = Kb (1). {(Mi) / (m-1)} + Kb (m). {I / (m-1)} (2)
Kc (i) = Kc (1). {(Mi) / (m-1)} + Kc (m). {I / (m-1)} (3)
Kd (i) = Kd (1). {(Mi) / (m-1)} + Kd (m). {I / (m-1)} (4)
この式によって、各頁Pの第一パラメータ、つまり所定領域Kiの各角部の座標値が決定される。
また、右側の頁PにおけるLについても同様の式、
La(i)=La(1)・{(m−i)/(m−1)}+La(m)・{i/(m−1)}…(5)
Lb(i)=Lb(1)・{(m−i)/(m−1)}+Lb(m)・{i/(m−1)}…(6)
Lc(i)=Lc(1)・{(m−i)/(m−1)}+Lc(m)・{i/(m−1)}…(7)
Ld(i)=Ld(1)・{(m−i)/(m−1)}+Ld(m)・{i/(m−1)}…(8)
によって各頁Pの第一パラメータ、つまり所定領域Liの各角部の座標値が決定される。
なお、各角部の座標値は、X座標値、Y座標値ともに以下の式(1)〜(8)に個別に代入することにより求められる。
By this formula, the first parameter of each page P, that is, the coordinate value of each corner of the predetermined area Ki is determined.
The same formula applies to L on page P on the right side,
La (i) = La (1). {(Mi) / (m-1)} + La (m). {I / (m-1)} (5)
Lb (i) = Lb (1) · {(m−i) / (m−1)} + Lb (m) · {i / (m−1)} (6)
Lc (i) = Lc (1). {(Mi) / (m-1)} + Lc (m). {I / (m-1)} (7)
Ld (i) = Ld (1). {(Mi) / (m-1)} + Ld (m). {I / (m-1)} (8)
Thus, the first parameter of each page P, that is, the coordinate value of each corner of the predetermined region Li is determined.
In addition, the coordinate value of each corner | angular part is calculated | required by substituting into the following formula | equation (1)-(8) separately for both X coordinate value and Y coordinate value.
次に、第二パラメータの決定方法について説明する。 Next, a method for determining the second parameter will be described.
図18は最初の頁Pにおけるトリミング領域Q1,R1を示す説明図であり、図19はi番目の頁Pにおけるトリミング領域Qi,Riを示す説明図であり、図20は最後(m番目)の頁Pにおけるトリミング領域Qm,Rmを示す説明図である。
左側の頁Pのトリミング領域Q1の各角部をQa(1),Qb(1),Qc(1),Qd(1)とし、トリミング領域Qmの各角部をQa(m),Qb(m),Qc(m),Qd(m)とし、i番目の頁Pにおけるトリミング領域Qiの各角部をQa(i),Qb(i),Qc(i),Qd(i)とすると、i番目の頁Pにおけるトリミング領域Qiの各角部の座標値は、トリミング領域Q1の各角部の座標値と、トリミング領域Qmの各角部の座標値と、頁番号とを用いて線形補間する以下の式(9)〜(12)により求められる。
18 is an explanatory diagram showing trimming areas Q1 and R1 on the first page P, FIG. 19 is an explanatory diagram showing trimming areas Qi and Ri on the i-th page P, and FIG. 20 is the last (m-th) page. 5 is an explanatory diagram showing trimming areas Qm and Rm on a page P. FIG.
The corners of the trimming region Q1 on the left page P are Qa (1), Qb (1), Qc (1), Qd (1), and the corners of the trimming region Qm are Qa (m), Qb (m ), Qc (m), Qd (m), and the corners of the trimming region Qi on the i-th page P are Qa (i), Qb (i), Qc (i), Qd (i), i The coordinate value of each corner of the trimming area Qi on the second page P is linearly interpolated using the coordinate value of each corner of the trimming area Q1, the coordinate value of each corner of the trimming area Qm, and the page number. It calculates | requires by the following formula | equation (9)-(12).
Qa(i)=Qa(1)・{(m−i)/(m−1)}+Qa(m)・{i/(m−1)}…(9)
Qb(i)=Qb(1)・{(m−i)/(m−1)}+Qb(m)・{i/(m−1)}…(10)
Qc(i)=Qc(1)・{(m−i)/(m−1)}+Qc(m)・{i/(m−1)}…(11)
Qd(i)=Qd(1)・{(m−i)/(m−1)}+Qd(m)・{i/(m−1)}…(12)
Qa (i) = Qa (1). {(Mi) / (m-1)} + Qa (m). {I / (m-1)} (9)
Qb (i) = Qb (1). {(Mi) / (m-1)} + Qb (m). {I / (m-1)} (10)
Qc (i) = Qc (1). {(Mi) / (m-1)} + Qc (m). {I / (m-1)} (11)
Qd (i) = Qd (1). {(Mi) / (m-1)} + Qd (m). {I / (m-1)} (12)
他方、右側の頁Pのトリミング領域R1の各角部をRa(1),Rb(1),Rc(1),Rd(1)とし、トリミング領域Rmの各角部をRa(m),Rb(m),Rc(m),Rd(m)とし、i番目の頁Pにおけるトリミング領域Riの各角部をRa(i),Rb(i),Rc(i),Rd(i)とすると、i番目の頁Pにおけるトリミング領域Riの各角部の座標値は、トリミング領域R1の各角部の座標値と、トリミング領域Rmの各角部の座標値と、頁番号とを用いて線形補間する以下の式(13)〜(16)により求められる。 On the other hand, the corners of the trimming region R1 of the right page P are Ra (1), Rb (1), Rc (1), Rd (1), and the corners of the trimming region Rm are Ra (m), Rb. (M), Rc (m), Rd (m), and the corners of the trimming region Ri on the i-th page P are Ra (i), Rb (i), Rc (i), Rd (i). The coordinate value of each corner of the trimming region Ri on the i-th page P is linear using the coordinate value of each corner of the trimming region R1, the coordinate value of each corner of the trimming region Rm, and the page number. It calculates | requires by the following formula | equation (13)-(16) to interpolate.
Ra(i)=Ra(1)・{(m−i)/(m−1)}+Ra(m)・{i/(m−1)}…(13)
Rb(i)=Rb(1)・{(m−i)/(m−1)}+Rb(m)・{i/(m−1)}…(14)
Rc(i)=Rc(1)・{(m−i)/(m−1)}+Rc(m)・{i/(m−1)}…(15)
Rd(i)=Rd(1)・{(m−i)/(m−1)}+Rd(m)・{i/(m−1)}…(16)
なお、各角部の座標値は、X座標値、Y座標値ともに上記の式(9)〜(16)に個別に代入することにより求められる。
Ra (i) = Ra (1). {(Mi) / (m-1)} + Ra (m). {I / (m-1)} (13)
Rb (i) = Rb (1). {(Mi) / (m-1)} + Rb (m). {I / (m-1)} (14)
Rc (i) = Rc (1). {(Mi) / (m-1)} + Rc (m). {I / (m-1)} (15)
Rd (i) = Rd (1). {(Mi) / (m-1)} + Rd (m). {I / (m-1)} (16)
In addition, the coordinate value of each corner | angular part is calculated | required by substituting separately to said Formula (9)-(16) for both X coordinate value and Y coordinate value.
これらの式によって、各頁Pの第二パラメータ、つまりトリミング領域Qi,Riの各角部の座標値が決定する。 By these equations, the second parameter of each page P, that is, the coordinate value of each corner of the trimming areas Qi and Ri is determined.
ステップS6では、CPU45は削除処理を実行する。
図21は削除処理の流れを示すフローチャートである。
ステップS61では、CPU45はi頁目の基準画像Gを記録部41から読み出す。
ステップS62では、CPU45は、i頁目の基準画像Gの所定領域Ki,Liを上記の式(1)〜(8)により決定する。
図22は基準画像Gに対して所定領域Ki,Liが指定された状態を示す説明図である。
そして、CPU45は、ステップS3で指定した削除対象色を所定領域Ki,Liから検出する。
図23は、所定領域Ki内で検出された削除対象色(例えば肌色等)の検出エリアを示す模式図である。この図23の場合では、所定領域Ki内に二つの検出エリアU1,U2が存在しており、検出エリアU1の方が大きい面積となっている。
In step S6, the
FIG. 21 is a flowchart showing the flow of deletion processing.
In step S <b> 61, the
In step S62, the
FIG. 22 is an explanatory diagram showing a state in which predetermined areas Ki and Li are designated for the reference image G.
Then, the
FIG. 23 is a schematic diagram showing a detection area of a color to be deleted (for example, skin color) detected in the predetermined area Ki. In the case of FIG. 23, there are two detection areas U1, U2 in the predetermined area Ki, and the detection area U1 has a larger area.
ステップS63では、CPU45は、所定領域Ki,Li内における最も大きな削除対象色の塊(図23の場合では検出エリアU1)を手指部分として特定する。
ステップS64では、CPU45は、手指部分として特定した部分を、ステップS3で指定した背景色(頁の色、白に近い灰色、白に近いアイボリー色等)に置き換える。
図24は、所定領域Ki,Li内の手指部分を背景色に置換した後の基準画像Gを示す説明図である。
ステップS65では、CPU45は、置換後の基準画像Gを手指削除画像として記録部41に保存し、ステップS7に移行する。
このように削除処理では、CPU45が、第一パラメータに基づいて所定領域Ki,Li内の少なくとも一部を削除することで、基準画像Gを補正するようになっている。つまり、CPU45が本発明に係る補正手段及び削除手段である。
In step S63, the
In step S64, the
FIG. 24 is an explanatory diagram showing the reference image G after the finger portions in the predetermined areas Ki and Li are replaced with the background color.
In step S65, the
Thus, in the deletion process, the
図8に示すようにステップS7では、CPU45は切出処理を実行する。
図25は切出処理の流れを示すフローチャートである。
ステップS71では、CPU45はi頁目の手指削除画像G1(図26参照)を記録部41から読み出す。
ステップS72では、CPU45はi頁目の手指削除画像G1のトリミング領域Qi,Riを上記の式(9)〜(16)により決定する。
図26は手指削除画像G1に対してトリミング領域Qi,Riが指定された状態を示す説明図である。
そして、CPU45は、トリミング領域Qi,Riを手指削除画像G1から切り出す。つまり、CPU45が本発明に係る切出手段である。
As shown in FIG. 8, in step S7, the
FIG. 25 is a flowchart showing the flow of the cutting process.
In step S71, the
In step S72, the
FIG. 26 is an explanatory diagram showing a state in which the trimming areas Qi and Ri are designated for the finger deletion image G1.
Then, the
ステップS73では、CPU45は、切り出した二つの画像のうち、頁順の先の画像を2×i−1頁とし、後の画像を2×i頁としてナンバリングする。本実施形態の場合、左開きの本Bが撮影対象であるため、左側の画像(トリミング領域Qi)が頁順の先の画像となり、右側の画像(トリミング領域Ri)が頁順の後の画像となる。右開きの本が撮影対象である場合は逆となる。
In step S <b> 73, the
ステップS74では、CPU45は、ナンバリングされた頁番号と、切出画像とを対応付けして、トリミング画像として記録部41に保存し、ステップS8に移行する。
In step S74, the
図8に示すようにステップS8では、CPU45はi値が最後の頁番号(m)であるか否かを判断し、異なると判断した場合にはステップS5に移行し、同じと判断した場合には画像処理モードを終了する。
As shown in FIG. 8, in step S8, the
以上のように、本実施形態によれば、めくり始めの頁Pでの所定領域K,Lに関する第一パラメータと、めくり終わりの頁Pでの所定領域K,Lに関する第一パラメータに基づいて、任意の頁Pでの第一パラメータが決定されているので、全ての頁Pに対する第一パラメータを手動で個別に設定しなくとも、全ての頁Pに対する第一パラメータが自動で設定されることとなる。このように第一パラメータに基づいて任意の頁Pの所定領域K,Lが設定されると、全ての頁Pに対して手指h1,h2を含んだ所定領域K,Lを自動で最適に設定することができる。そして、全ての頁Pにおける所定領域K,Lの少なくとも一部が自動で削除されるので、多数の読み取り画像における手指h1,h2(所定部分)の削除処理を効率化することができる。 As described above, according to the present embodiment, based on the first parameter relating to the predetermined areas K and L on the page P at the beginning of turning and the first parameter relating to the predetermined areas K and L on the page P at the end of turning, Since the first parameter for any page P is determined, the first parameter for all pages P is automatically set without manually setting the first parameters for all pages P individually. Become. Thus, when the predetermined areas K and L of an arbitrary page P are set based on the first parameter, the predetermined areas K and L including the fingers h1 and h2 are automatically and optimally set for all the pages P. can do. Since at least a part of the predetermined areas K and L in all the pages P is automatically deleted, it is possible to improve the efficiency of deleting the fingers h1 and h2 (predetermined parts) in a large number of read images.
また、手指h1,h2に対応する削除対象色が予め指定されているので、その削除対象色を基準として削除する領域を決定することになる。したがって、削除領域の検出が容易となり、処理を軽く高速にすることができる。 In addition, since the deletion target colors corresponding to the fingers h1 and h2 are designated in advance, the area to be deleted is determined based on the deletion target colors. Therefore, the deletion area can be easily detected, and the processing can be performed lightly and at high speed.
また、背景色が予め指定されているので、その背景色を単に削除された領域に置き換えるだけで処理後の画像の見栄えを良くすることができる。背景色が予め指定されていれば背景色の選別の容易となり、処理を軽く高速にすることができる。 In addition, since the background color is designated in advance, the appearance of the processed image can be improved by simply replacing the background color with the deleted area. If the background color is designated in advance, the background color can be easily selected, and the processing can be lightened and speeded up.
めくり始めの頁Pでのトリミング領域Q,Rに関する第二パラメータと、めくり終わりの頁Pでのトリミング領域Q,Rに関する第二パラメータに基づいて、任意の頁Pでの第二パラメータが決定されているので、全ての頁Pに対する第二パラメータを手動で個別に設定しなくとも、全ての頁Pに対する第二パラメータが自動で設定されることとなる。そして、全ての頁Pに対して、トリミング領域Q,Rに基づく切出処理が行われるため、頁P毎に揃った画像を取り込むことが可能となる。 Based on the second parameter related to the trimming areas Q and R on the first page P and the second parameter related to the trimming areas Q and R on the last page P, the second parameter on an arbitrary page P is determined. Therefore, even if the second parameters for all the pages P are not manually set individually, the second parameters for all the pages P are automatically set. Since all the pages P are cut out based on the trimming areas Q and R, it is possible to capture images that are aligned for each page P.
また、削除処理の前に切出処理を行う場合、切り出された画像内にある手指部分を囲むように所定領域を設定することになるが、すでに不要な部分のほとんどが取り除かれた状態であるために画像内に残存する手指部分は小さく、その位置や大きさも頁毎におおきくばらついてしまう。ばらつきが大きいと、上述した削除処理の確実性も不安定なものとなる。
しかしながら、上述したように削除処理の後に切出処理が実行されれば、手指h1,h2の頁毎のばらつきも抑えられるために、手指h1,h2に対する削除処理の確実性を高めることができる。
In addition, when the clipping process is performed before the deletion process, a predetermined area is set so as to surround the finger part in the clipped image, but most of the unnecessary parts are already removed. For this reason, the finger portion remaining in the image is small, and its position and size vary greatly from page to page. When the variation is large, the certainty of the above-described deletion process becomes unstable.
However, if the clipping process is performed after the deletion process as described above, the variation of the fingers h1 and h2 for each page can be suppressed, so that the reliability of the deletion process for the fingers h1 and h2 can be improved.
また、第一パラメータ及び第二パラメータの補間方法として線形補間が用いられているので、簡単な計算で各頁Pの第一パラメータ及び第二パラメータを補間することができる。したがって、補間にかかるパソコン4の処理を軽減化することが可能である。なお、正確性を求めるのであればより高度な補間方法を用いることも可能である。
In addition, since linear interpolation is used as an interpolation method for the first parameter and the second parameter, the first parameter and the second parameter of each page P can be interpolated with a simple calculation. Therefore, it is possible to reduce the processing of the
また、本Bが載置される載置台3が設けられているので、安定して頁をめくることができるとともに、開いた頁Pを安定して保持することができる。 Further, since the mounting table 3 on which the book B is mounted is provided, it is possible to turn the page stably and to hold the opened page P stably.
また、頁を押さえる手指の位置の基準となるマーク34が載置台3に設けられているので、いずれの頁Pに対してもマーク34を基準とすることでほぼ同じ位置に手指をおくことが可能となる。このように手指の位置が安定すれば、削除処理の正確性も高まることになる。
Further, since the
なお、本発明は上記実施形態に限らず適宜変更可能である。
例えば、本実施形態では、所定領域Ki,Li内における最も大きな削除対象色の塊を手指として特定し、当該部分を背景色に置換する場合を例示して説明したが、所定領域Ki,Li内の全ての削除対象色部分を背景色に置換することも可能である。
Note that the present invention is not limited to the above embodiment, and can be modified as appropriate.
For example, in the present embodiment, the case where the largest deletion target color block in the predetermined area Ki, Li is specified as a finger and the part is replaced with the background color has been described as an example. However, in the predetermined area Ki, Li, It is also possible to replace all the color portions to be deleted with the background color.
また、上記実施形態では、ユーザーが操作手段42を操作することでトリミング領域Q1,R1,Qm,Rmを指定している場合を例示しているが、パソコン4によって最初の頁P及び最後の頁Pのそれぞれの基準画像Gに対して周知の画像処理を行うことで、文書領域と余白部分との境界を抽出し、その抽出結果からトリミング領域Q1,R1,Qm,Rmを特定することも可能である。パソコン4は、最初の頁Pの基準画像Gから特定されたトリミング領域Q1,R1から、頁Pのめくり始め時点での第二パラメータを指定する。他方、パソコン4は、最後の頁Pの基準画像Gから指定されたトリミング領域Qm,Rmから、頁Pのめくり終わり時点での第二パラメータを指定する。これにより、自動でパラメータを指定することが可能となる。
In the above embodiment, the case where the user designates the trimming areas Q1, R1, Qm, and Rm by operating the operation means 42 is illustrated. However, the first page P and the last page are specified by the
なお、自動でパラメータの指定を行った場合、ユーザーにとっては好ましくない指定結果となる場合も考えられる。このため、パソコン4は、画像処理によるトリミング領域Q1,R1,Qm,Rmの特定が行われた後に、画面上にそのトリミング領域Q1,R1,Qm,Rmを表示させることで、当該トリミング領域Q1,R1,Qm,Rmの良否を判断するようにユーザーに問い合わせる。ユーザーは、操作手段42を操作することで良否を入力する。パソコン4は、操作手段42を介して入力されたユーザーの応答結果が「良」である場合には、画像処理によるトリミング領域Q1,R1,Qm,Rmに基づいて第二パラメータを指定する。他方、操作手段42を介して入力されたユーザーの応答結果が「否」である場合には、パソコン4は、画像処理によるトリミング領域Q1,R1,Qm,Rmを調整し、その調整後のトリミング領域Q1,R1,Qm,Rmに基づいて第二パラメータを指定する。
トリミング領域Q1,R1,Qm,Rmの調整方式としては、例えば、別の条件で画像処理を行って再度トリミング領域Q1,R1,Qm,Rmを特定する方式や、ユーザーが操作手段42を操作して画面上のトリミング領域Q1,R1,Qm,Rmを微調整する方式などが挙げられる。
When parameters are automatically specified, there may be a case where a specification result that is undesirable for the user is obtained. For this reason, the
As a method for adjusting the trimming areas Q1, R1, Qm, and Rm, for example, a method in which image processing is performed under different conditions and the trimming areas Q1, R1, Qm, and Rm are specified again, or the user operates the
また、上記実施形態では、第一パラメータや第二パラメータを、頁Pのめくり始め時点及び頁Pのめくり終わり時点で決定している場合を例示して説明したが、この決定範囲としては多少の許容範囲を持たせてもよい。つまり、パソコン4は、頁Pのめくり始め近傍となる複数の頁Pからパラメータ決定に適した頁Pを選択し、当該選択された頁Pでの第一パラメータ及び第二パラメータを決定する。同様に、パソコン4は、頁Pのめくり終わり近傍となる複数の頁Pからパラメータ決定に適した頁Pを選択し、当該選択された頁Pでの第一パラメータ及び第二パラメータを決定する。これにより、パラメータ決定の正確性を高めることができる。
例えば、めくり始めやめくり終わりの頁には、トリミング領域Q1,R1,Qm,Rm内に文字や画像が含まれていない可能性もある。この場合、正確なパラメータの決定が行われない可能性が高い。しかしながら、上述したようにパラメータ決定用の頁Pが複数の頁Pから選択されていれば、トリミング領域Q1,R1,Qm,Rm内に文字が含まれている可能性も高くなり、パラメータ決定の正確性が高くなる。
具体的な処理としては、パソコン4は、パラメータ決定用の候補である各頁P内に文字を含む領域が存在しているか否かを判別し、存在している頁Pをパラメータ決定用の頁Pとして選択する。このとき、文字を含む領域がパラメータ決定用として最適な領域(範囲)に位置している頁Pを優先して選択する。これにより、パラメータ決定の正確性をより一層高めることが可能である。
そして、上述の補間式と同様の式を用い、めくり始め近傍の頁Pとのめくり終わり近傍の頁Pの間の頁Pだけでなくその外側の頁のパラメータを決定できることは言うまでもない。
In the above embodiment, the case where the first parameter and the second parameter are determined at the start time of turning the page P and the end time of turning the page P has been described as an example. An allowable range may be given. That is, the
For example, the page at the beginning or end of turning may not include characters or images in the trimming areas Q1, R1, Qm, and Rm. In this case, there is a high possibility that accurate parameters are not determined. However, if the parameter determination page P is selected from a plurality of pages P as described above, there is a high possibility that characters are included in the trimming areas Q1, R1, Qm, and Rm. Increases accuracy.
As a specific process, the
It goes without saying that the parameters of not only the page P between the page P near the start of turning and the page P near the end of turning but also the page outside the same can be determined using the same formula as the above-described interpolation formula.
本発明のいくつかの実施形態を説明したが、本発明の範囲は、上述の実施の形態に限定するものではなく、特許請求の範囲に記載された発明の範囲とその均等の範囲を含む。
以下に、この出願の願書に最初に添付した特許請求の範囲に記載した発明を付記する。付記に記載した請求項の項番は、この出願の願書に最初に添付した特許請求の範囲の通りである。
Although several embodiments of the present invention have been described, the scope of the present invention is not limited to the above-described embodiments, but includes the scope of the invention described in the claims and equivalents thereof.
The invention described in the scope of claims attached to the application of this application will be added below. The item numbers of the claims described in the appendix are as set forth in the claims attached to the application of this application.
〔付記〕
<請求項1>
本を頁毎にめくり、当該本の頁を撮像手段によって頁毎に撮像し、撮像された画像のうち所定領域を補正して取り込む画像読み取り装置であって、
前記頁のめくり始め近傍の頁での前記所定領域に関する第一パラメータを指定する初期パラメータ指定手段と、
前記頁のめくり終わり近傍の頁での前記所定領域に関する第一パラメータを指定する終期パラメータ指定手段と、
前記初期パラメータ指定手段及び前記終期パラメータ指定手段により指定された前記第一パラメータに基づいて、任意の頁での前記第一パラメータを決定する決定手段と、
前記決定手段で決定された前記任意の頁の第一パラメータに基づいて、前記任意の頁の画像を補正する補正手段とを備え、
前記補正手段は、前記任意の頁の前記所定領域の少なくとも一部を、前記任意の頁の第一パラメータに基づいて削除する削除手段を含むことを特徴とする画像読み取り装置。
<請求項2>
請求項1記載の画像読み取り装置において、
前記削除手段は、前記所定領域内から削除対象色を指定する第一指定手段を含み、
前記削除手段は、前記第一指定手段によって指定された前記削除対象色を前記所定領域から削除することを特徴とする画像読み取り装置。
<請求項3>
請求項2記載の画像読み取り装置において、
前記削除手段は、前記所定領域内から背景色を指定する第二指定手段を含み、
前記削除手段は、前記第二指定手段によって指定された前記背景色で前記削除対象色を置き換えることを特徴とする画像読み取り装置。
<請求項4>
請求項1〜3のいずれか一項に記載の画像読み取り装置において、
前記初期パラメータ指定手段は、前記撮像された画像から切り出されるトリミング領域に関する第二パラメータを、前記頁のめくり始め近傍の頁から指定し、
前記終期パラメータ指定手段は、前記第二パラメータを前記頁のめくり終わり近傍の頁から指定し、
前記決定手段は、前記初期パラメータ指定手段及び前記終期パラメータ指定手段により指定された前記第二パラメータに基づいて、任意の頁での前記第二パラメータを決定し、
前記補正手段は、前記撮像された画像から前記任意の頁の第二パラメータに基づいて前記トリミング領域をトリミング画像として切り出す切出手段を有することを特徴とする画像読み取り装置。
<請求項5>
請求項4記載の画像読み取り装置において、
前記補正手段は、前記削除手段による削除処理の後に前記切出手段による切出処理を実行することを特徴とする画像読み取り装置。
<請求項6>
請求項1〜5の何れか一項に記載の画像読み取り装置において、
前記決定手段は、
前記初期パラメータ指定手段で指定された前記パラメータと、前記終期パラメータ指定手段で指定された前記パラメータと、頁番号とを用いて線形補間を行うことで、前記任意の頁における前記パラメータを決定することを特徴とする画像読み取り装置。
<請求項7>
請求項1〜6のいずれか一項に記載の画像読み取り装置において、
前記本が載置される載置台を前記撮像手段の下方に備えることを特徴とする画像読み取り装置。
<請求項8>
請求項7記載の画像読み取り装置において、
前記載置台には、前記頁を押さえる手指の位置の基準となるマークが設けられていることを特徴とする画像読み取り装置。
<請求項9>
本を頁毎にめくり、当該本の頁を撮像手段によって頁毎に撮像し、撮像された画像のうち所定領域を補正して取り込む画像読み取り方法であって、
前記頁のめくり始め近傍の頁での前記所定領域に関する第一パラメータを指定する初期パラメータ指定工程と、
前記頁のめくり終わり近傍の頁での前記所定領域に関する第一パラメータを指定する終期パラメータ指定工程と、
前記初期パラメータ指定工程及び前記終期パラメータ指定工程により指定された前記第一パラメータに基づいて、任意の頁での前記第一パラメータを決定する決定工程と、
前記決定工程で決定された前記任意の頁の第一パラメータに基づいて、前記任意の頁の画像を補正する補正工程とを含み、
前記補正工程は、前記任意の頁の前記所定領域の少なくとも一部を、前記任意の頁の第一パラメータに基づいて削除する削除工程を含むことを特徴とする画像読み取り方法。
<請求項10>
頁毎にめくられた本の頁を撮像手段によって頁毎に撮像し、撮像された画像のうち所定領域を補正して取り込むコンピュータを、
前記頁のめくり始め近傍の頁での前記所定領域に関する第一パラメータを指定する初期パラメータ指定手段と、
前記頁のめくり終わり近傍の頁での前記所定領域に関する第一パラメータを指定する終期パラメータ指定手段と、
前記初期パラメータ指定手段及び前記終期パラメータ指定手段により指定された前記第一パラメータに基づいて、任意の頁での前記第一パラメータを決定する決定手段と、
前記決定手段で決定された前記任意の頁の第一パラメータに基づいて、前記任意の頁の画像を補正する補正手段として機能させ、
前記補正手段は、前記任意の頁の前記所定領域の少なくとも一部を、前記任意の頁の第一パラメータに基づいて削除する削除手段を含むことを特徴とするプログラム。
[Appendix]
<Claim 1>
An image reading device that turns a book page by page, images the page of the book for each page by an imaging means, corrects and captures a predetermined area of the captured image,
Initial parameter designating means for designating a first parameter related to the predetermined area in a page near the beginning of turning the page;
An end parameter specifying means for specifying a first parameter relating to the predetermined area in a page near the end of turning of the page;
Determining means for determining the first parameter in an arbitrary page based on the first parameter specified by the initial parameter specifying means and the final parameter specifying means;
Correction means for correcting the image of the arbitrary page based on the first parameter of the arbitrary page determined by the determination means,
The image reading apparatus according to
<Claim 2>
The image reading apparatus according to
The deleting means includes first specifying means for specifying a color to be deleted from within the predetermined area,
The image reading apparatus, wherein the deletion unit deletes the deletion target color designated by the first designation unit from the predetermined area.
<Claim 3>
The image reading apparatus according to
The deleting means includes second specifying means for specifying a background color from within the predetermined area,
The image reading apparatus according to
<Claim 4>
In the image reading device according to any one of
The initial parameter designating means designates a second parameter related to a trimming region cut out from the captured image from a page near the start of turning the page,
The end parameter specifying means specifies the second parameter from a page near the end of turning the page,
The determining means determines the second parameter in an arbitrary page based on the second parameter specified by the initial parameter specifying means and the end parameter specifying means,
The image reading apparatus according to
<Claim 5>
The image reading apparatus according to
The image reading apparatus according to
<Claim 6>
In the image reading device according to any one of
The determining means includes
Determining the parameter in the arbitrary page by performing linear interpolation using the parameter specified by the initial parameter specifying means, the parameter specified by the final parameter specifying means, and a page number; An image reading apparatus characterized by the above.
<Claim 7>
In the image reading apparatus according to any one of
An image reading apparatus comprising a mounting table on which the book is mounted below the imaging means.
<Claim 8>
The image reading apparatus according to claim 7.
The image reading apparatus according to
<Claim 9>
An image reading method in which a book is turned page by page, a page of the book is imaged for each page by an imaging means, and a predetermined area is corrected and captured.
An initial parameter designating step of designating a first parameter related to the predetermined area in a page near the beginning of turning the page;
An end parameter designating step of designating a first parameter relating to the predetermined area on a page near the end of turning of the page;
A determination step of determining the first parameter at an arbitrary page based on the first parameter specified by the initial parameter specifying step and the final parameter specifying step;
A correction step of correcting an image of the arbitrary page based on the first parameter of the arbitrary page determined in the determination step,
The image reading method according to
<Claim 10>
A computer that captures a page of a book that has been turned page by page by the image capturing unit and corrects and captures a predetermined area of the captured image.
Initial parameter designating means for designating a first parameter related to the predetermined area in a page near the beginning of turning the page;
An end parameter specifying means for specifying a first parameter relating to the predetermined area in a page near the end of turning of the page;
Determining means for determining the first parameter in an arbitrary page based on the first parameter specified by the initial parameter specifying means and the final parameter specifying means;
Based on the first parameter of the arbitrary page determined by the determination means, function as a correction means for correcting the image of the arbitrary page,
The correction unit includes a deletion unit that deletes at least a part of the predetermined area of the arbitrary page based on a first parameter of the arbitrary page.
1 書画カメラシステム(画像読み取り装置)
2 書画カメラ(撮像手段)
3 載置台
4 パソコン
21 スタンド部
22 カメラ
31 保持板
32 保持板
33 保持部
34 マーク
41 記録部
42 操作手段
43 ROM
44 RAM
45 CPU(初期パラメータ指定手段、終期パラメータ指定手段、決定手段、補正手段、削除手段、第一指定手段、第二指定手段、切出手段)
B 本
G 基準画像
G1 手指削除画像
K,L 所定領域
P 頁
Q,R トリミング領域
U1,U2 検出エリア
1. Document camera system (image reading device)
2. Document camera (imaging means)
DESCRIPTION OF
44 RAM
45 CPU (initial parameter designation means, final parameter designation means, determination means, correction means, deletion means, first designation means, second designation means, extraction means)
B book G reference image G1 finger deletion image K, L predetermined area P page Q, R trimming area U1, U2 detection area
Claims (10)
前記頁のめくり始め近傍の頁での前記所定領域に関する第一パラメータを指定する初期パラメータ指定手段と、
前記頁のめくり終わり近傍の頁での前記所定領域に関する第一パラメータを指定する終期パラメータ指定手段と、
前記初期パラメータ指定手段及び前記終期パラメータ指定手段により指定された前記第一パラメータに基づいて、任意の頁での前記第一パラメータを決定する決定手段と、
前記決定手段で決定された前記任意の頁の第一パラメータに基づいて、前記任意の頁の画像を補正する補正手段とを備え、
前記補正手段は、前記任意の頁の前記所定領域の少なくとも一部を、前記任意の頁の第一パラメータに基づいて削除する削除手段を含むことを特徴とする画像読み取り装置。 An image reading device that turns a book page by page, images the page of the book for each page by an imaging means, corrects and captures a predetermined area of the captured image,
Initial parameter designating means for designating a first parameter related to the predetermined area in a page near the beginning of turning the page;
An end parameter specifying means for specifying a first parameter relating to the predetermined area in a page near the end of turning of the page;
Determining means for determining the first parameter in an arbitrary page based on the first parameter specified by the initial parameter specifying means and the final parameter specifying means;
Correction means for correcting the image of the arbitrary page based on the first parameter of the arbitrary page determined by the determination means,
The image reading apparatus according to claim 1, wherein the correcting unit includes a deleting unit that deletes at least a part of the predetermined area of the arbitrary page based on a first parameter of the arbitrary page.
前記削除手段は、前記所定領域内から削除対象色を指定する第一指定手段を含み、
前記削除手段は、前記第一指定手段によって指定された前記削除対象色を前記所定領域から削除することを特徴とする画像読み取り装置。 The image reading apparatus according to claim 1,
The deleting means includes first specifying means for specifying a color to be deleted from within the predetermined area,
The image reading apparatus, wherein the deletion unit deletes the deletion target color designated by the first designation unit from the predetermined area.
前記削除手段は、前記所定領域内から背景色を指定する第二指定手段を含み、
前記削除手段は、前記第二指定手段によって指定された前記背景色で前記削除対象色を置き換えることを特徴とする画像読み取り装置。 The image reading apparatus according to claim 2.
The deleting means includes second specifying means for specifying a background color from within the predetermined area,
The image reading apparatus according to claim 1, wherein the deleting unit replaces the deletion target color with the background color specified by the second specifying unit.
前記初期パラメータ指定手段は、前記撮像された画像から切り出されるトリミング領域に関する第二パラメータを、前記頁のめくり始め近傍の頁から指定し、
前記終期パラメータ指定手段は、前記第二パラメータを前記頁のめくり終わり近傍の頁から指定し、
前記決定手段は、前記初期パラメータ指定手段及び前記終期パラメータ指定手段により指定された前記第二パラメータに基づいて、任意の頁での前記第二パラメータを決定し、
前記補正手段は、前記撮像された画像から前記任意の頁の第二パラメータに基づいて前記トリミング領域をトリミング画像として切り出す切出手段を有することを特徴とする画像読み取り装置。 In the image reading device according to any one of claims 1 to 3,
The initial parameter designating means designates a second parameter related to a trimming region cut out from the captured image from a page near the start of turning the page,
The end parameter specifying means specifies the second parameter from a page near the end of turning the page,
The determining means determines the second parameter in an arbitrary page based on the second parameter specified by the initial parameter specifying means and the end parameter specifying means,
The image reading apparatus according to claim 1, wherein the correction unit includes a cutting unit that cuts out the trimming region as a trimming image based on the second parameter of the arbitrary page from the captured image.
前記補正手段は、前記削除手段による削除処理の後に前記切出手段による切出処理を実行することを特徴とする画像読み取り装置。 The image reading apparatus according to claim 4.
The image reading apparatus according to claim 1, wherein the correction unit executes a cutting process by the cutting unit after a deleting process by the deleting unit.
前記決定手段は、
前記初期パラメータ指定手段で指定された前記パラメータと、前記終期パラメータ指定手段で指定された前記パラメータと、頁番号とを用いて線形補間を行うことで、前記任意の頁における前記パラメータを決定することを特徴とする画像読み取り装置。 In the image reading device according to any one of claims 1 to 5,
The determining means includes
Determining the parameter on the arbitrary page by performing linear interpolation using the parameter specified by the initial parameter specifying means, the parameter specified by the final parameter specifying means, and a page number; An image reading apparatus characterized by the above.
前記本が載置される載置台を前記撮像手段の下方に備えることを特徴とする画像読み取り装置。 In the image reading apparatus according to any one of claims 1 to 6,
An image reading apparatus comprising a mounting table on which the book is mounted below the imaging means.
前記載置台には、前記頁を押さえる手指の位置の基準となるマークが設けられていることを特徴とする画像読み取り装置。 The image reading apparatus according to claim 7.
The image reading apparatus according to claim 1, wherein the placement table is provided with a mark serving as a reference of a finger position for pressing the page.
前記頁のめくり始め近傍の頁での前記所定領域に関する第一パラメータを指定する初期パラメータ指定工程と、
前記頁のめくり終わり近傍の頁での前記所定領域に関する第一パラメータを指定する終期パラメータ指定工程と、
前記初期パラメータ指定工程及び前記終期パラメータ指定工程により指定された前記第一パラメータに基づいて、任意の頁での前記第一パラメータを決定する決定工程と、
前記決定工程で決定された前記任意の頁の第一パラメータに基づいて、前記任意の頁の画像を補正する補正工程とを含み、
前記補正工程は、前記任意の頁の前記所定領域の少なくとも一部を、前記任意の頁の第一パラメータに基づいて削除する削除工程を含むことを特徴とする画像読み取り方法。 An image reading method in which a book is turned page by page, a page of the book is imaged for each page by an imaging means, and a predetermined area is corrected and captured.
An initial parameter designating step of designating a first parameter related to the predetermined area in a page near the beginning of turning the page;
An end parameter designating step of designating a first parameter relating to the predetermined area on a page near the end of turning of the page;
A determination step of determining the first parameter at an arbitrary page based on the first parameter specified by the initial parameter specifying step and the final parameter specifying step;
A correction step of correcting an image of the arbitrary page based on the first parameter of the arbitrary page determined in the determination step,
The image reading method according to claim 1, wherein the correcting step includes a deleting step of deleting at least a part of the predetermined area of the arbitrary page based on a first parameter of the arbitrary page.
前記頁のめくり始め近傍の頁での前記所定領域に関する第一パラメータを指定する初期パラメータ指定手段と、
前記頁のめくり終わり近傍の頁での前記所定領域に関する第一パラメータを指定する終期パラメータ指定手段と、
前記初期パラメータ指定手段及び前記終期パラメータ指定手段により指定された前記第一パラメータに基づいて、任意の頁での前記第一パラメータを決定する決定手段と、
前記決定手段で決定された前記任意の頁の第一パラメータに基づいて、前記任意の頁の画像を補正する補正手段として機能させ、
前記補正手段は、前記任意の頁の前記所定領域の少なくとも一部を、前記任意の頁の第一パラメータに基づいて削除する削除手段を含むことを特徴とするプログラム。 A computer that captures a page of a book that has been turned page by page by the image capturing unit and corrects and captures a predetermined area of the captured image.
Initial parameter designating means for designating a first parameter related to the predetermined area in a page near the beginning of turning the page;
An end parameter specifying means for specifying a first parameter relating to the predetermined area in a page near the end of turning of the page;
Determining means for determining the first parameter in an arbitrary page based on the first parameter specified by the initial parameter specifying means and the final parameter specifying means;
Based on the first parameter of the arbitrary page determined by the determination means, function as a correction means for correcting the image of the arbitrary page,
The correction unit includes a deletion unit that deletes at least a part of the predetermined area of the arbitrary page based on a first parameter of the arbitrary page.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013263169A JP6201727B2 (en) | 2013-12-20 | 2013-12-20 | Image reading apparatus, image reading method and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013263169A JP6201727B2 (en) | 2013-12-20 | 2013-12-20 | Image reading apparatus, image reading method and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2015119430A true JP2015119430A (en) | 2015-06-25 |
JP6201727B2 JP6201727B2 (en) | 2017-09-27 |
Family
ID=53531767
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013263169A Expired - Fee Related JP6201727B2 (en) | 2013-12-20 | 2013-12-20 | Image reading apparatus, image reading method and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6201727B2 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102373960B1 (en) * | 2021-09-10 | 2022-03-15 | (주)웅진씽크빅 | Apparatus for supporting a reading and method for detecting a user input using the same |
KR102373961B1 (en) * | 2021-09-10 | 2022-03-15 | (주)웅진씽크빅 | Apparatus for supporting a reading and method for detecting a user input using the same |
WO2022259375A1 (en) * | 2021-06-08 | 2022-12-15 | 日本電信電話株式会社 | Information sharing system, image processing device, information sharing method, and program |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07307860A (en) * | 1994-05-13 | 1995-11-21 | Nikon Corp | Image input device |
JPH10210265A (en) * | 1997-01-21 | 1998-08-07 | Minolta Co Ltd | Image reader |
JPH1196338A (en) * | 1997-09-22 | 1999-04-09 | Minolta Co Ltd | Image reader |
JP2001069332A (en) * | 1999-08-30 | 2001-03-16 | Minolta Co Ltd | Picture reader |
JP2002027198A (en) * | 2000-07-04 | 2002-01-25 | Oki Electric Ind Co Ltd | Image correction method and image reader for utilizing the method |
-
2013
- 2013-12-20 JP JP2013263169A patent/JP6201727B2/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07307860A (en) * | 1994-05-13 | 1995-11-21 | Nikon Corp | Image input device |
JPH10210265A (en) * | 1997-01-21 | 1998-08-07 | Minolta Co Ltd | Image reader |
JPH1196338A (en) * | 1997-09-22 | 1999-04-09 | Minolta Co Ltd | Image reader |
JP2001069332A (en) * | 1999-08-30 | 2001-03-16 | Minolta Co Ltd | Picture reader |
JP2002027198A (en) * | 2000-07-04 | 2002-01-25 | Oki Electric Ind Co Ltd | Image correction method and image reader for utilizing the method |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022259375A1 (en) * | 2021-06-08 | 2022-12-15 | 日本電信電話株式会社 | Information sharing system, image processing device, information sharing method, and program |
KR102373960B1 (en) * | 2021-09-10 | 2022-03-15 | (주)웅진씽크빅 | Apparatus for supporting a reading and method for detecting a user input using the same |
KR102373961B1 (en) * | 2021-09-10 | 2022-03-15 | (주)웅진씽크빅 | Apparatus for supporting a reading and method for detecting a user input using the same |
US11409372B1 (en) | 2021-09-10 | 2022-08-09 | Woongjin Thinkbig Co., Ltd. | Apparatus for supporting a reading and method for detecting a user input using the same |
US11614836B1 (en) | 2021-09-10 | 2023-03-28 | Woongjin Thinkbig Co., Ltd. | Apparatus for supporting a reading and method for detecting a user input using the same |
Also Published As
Publication number | Publication date |
---|---|
JP6201727B2 (en) | 2017-09-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6902886B2 (en) | Image processing equipment, methods and programs | |
CN109196852B (en) | Shooting composition guiding method and device | |
US20100238325A1 (en) | Image processor and recording medium | |
JP6201727B2 (en) | Image reading apparatus, image reading method and program | |
JP2014140146A5 (en) | ||
JP4929631B2 (en) | Image generating apparatus and image generating method | |
JP5562149B2 (en) | IMAGING DEVICE, ITS CONTROL METHOD, AND PROGRAM | |
JP5441799B2 (en) | Electronic camera | |
KR20080021519A (en) | Image processing apparatus and image processing method, computer program and imaging apparatus | |
JP6594666B2 (en) | Imaging auxiliary device, imaging device, and imaging auxiliary method | |
JP2008078802A (en) | Photographing device and photographing method | |
JP6304609B2 (en) | Data amount estimation method, program, and information processing apparatus | |
KR101517829B1 (en) | Book scanning system using smart device | |
CN109886266A (en) | Method, relevant apparatus and the system of image procossing | |
WO2014034137A1 (en) | Image processing device, image processing method, and image processing program | |
JP2011227692A (en) | Size measurement device | |
JP6406044B2 (en) | Camera calibration unit, camera calibration method, and camera calibration program | |
JP6497030B2 (en) | Imaging system, information processing apparatus, imaging method, program, storage medium | |
JP5928902B2 (en) | Image processing apparatus and program | |
JP5278483B2 (en) | Imaging apparatus, imaging method, and imaging program | |
JP2013074451A (en) | Image pickup apparatus | |
JP2008028890A (en) | Imaging apparatus, imaging method, and imaging program | |
JP2015185870A (en) | Image processing apparatus, image processing method, and program of image processing apparatus | |
JP2008187256A (en) | Motion image creating device, method and program | |
JP3869635B2 (en) | Image processing apparatus, image processing method, recording medium, and print system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20160927 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170628 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170704 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170714 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20170801 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20170814 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6201727 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313117 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
LAPS | Cancellation because of no payment of annual fees |