JP6286919B2 - Image processing apparatus, image processing method, and program - Google Patents
Image processing apparatus, image processing method, and program Download PDFInfo
- Publication number
- JP6286919B2 JP6286919B2 JP2013164750A JP2013164750A JP6286919B2 JP 6286919 B2 JP6286919 B2 JP 6286919B2 JP 2013164750 A JP2013164750 A JP 2013164750A JP 2013164750 A JP2013164750 A JP 2013164750A JP 6286919 B2 JP6286919 B2 JP 6286919B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- code information
- reading
- unit
- marks
- 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.)
- Active
Links
Images
Description
本発明は、画像処理装置、画像処理方法及びプログラムに関する。 The present invention relates to an image processing apparatus, an image processing method, and a program.
従来、所定の情報が画素集合の規則的な配列に符号化されたコード情報を生成する装置が知られている(例えば、特許文献1参照)。
コード情報は、例えば、紙などの記録媒体上に形成された状態で、携帯電話機やスマートフォン等の撮像装置によって撮像される。撮像装置は、撮像されたコード情報の画像情報に対して所定の復号処理を施すことで、コード情報によって表される元の所定の情報を取得する。
2. Description of the Related Art Conventionally, an apparatus that generates code information in which predetermined information is encoded in a regular array of pixel sets is known (see, for example, Patent Document 1).
The code information is imaged by an imaging device such as a mobile phone or a smartphone while being formed on a recording medium such as paper. The imaging apparatus obtains original predetermined information represented by the code information by performing a predetermined decoding process on the image information of the captured code information.
ところで、コード情報を他の画像と組み合わせた場合、その外形を略円形状とすると、当該円形の被写体に対する撮像装置の相対的な位置関係によっては、当該円形の被写体を撮像した画像における円形の被写体に対応する部分が楕円形となってしまう。
また、コード情報が円の周方向に沿って付加されていると、コード情報から所定の情報を読み取る際の開始位置を特定することができず、当該読取処理を適正に行うことができない虞もある。
By the way, when the code information is combined with another image and the outer shape is substantially circular, depending on the relative positional relationship of the imaging device with respect to the circular subject, the circular subject in the image obtained by imaging the circular subject The part corresponding to will be oval.
Also, if code information is added along the circumferential direction of the circle, the start position when reading predetermined information from the code information cannot be specified, and there is a possibility that the reading process cannot be performed properly. is there.
本発明は、このような問題に鑑みてなされたものであり、本発明の課題は、被写体に付加されているコード情報からの所定の情報の読取処理を適正に行うことができる画像処理装置、画像処理方法及びプログラムを提供することである。 The present invention has been made in view of such problems, and an object of the present invention is to provide an image processing apparatus capable of appropriately performing predetermined information reading processing from code information added to a subject, An image processing method and program are provided.
上記課題を解決するため、本発明に係る画像処理装置は、
略円環状をなす円環部分に、複数のコード情報が付加されるとともに、複数の目印が形成された被写体を撮像した画像を取得する取得手段と、前記取得手段により取得された画像内で前記複数の目印を特定する特定手段と、前記特定手段により特定された前記複数の目印の位置を基準として、前記取得手段により取得された画像に対して射影変換処理を行うことで、前記円環部分を真円形状に変換した画像を生成する生成手段と、前記特定手段により特定された前記複数の目印に基づいて、前記取得手段により取得された画像内の前記複数のコード情報の各々から所定の情報を読み取る読取手段と、を備え、前記複数の目印のうち、前記円環部分の周方向に沿って連続して形成された2つの目印どうしの間には、前記コード情報が位置しており、前記読取手段は、前記複数の目印のうちの第1の目印を前記コード情報の読取処理の開始位置として読み取るとともに、前記第1の目印に隣接する、前記複数の目印のうちの第2の目印を前記コード情報の読取処理の終了位置として読み取ることによって、前記コード情報の読取処理を行う、ことを特徴としている。
In order to solve the above problems, an image processing apparatus according to the present invention provides:
In an annular portion forming a substantially annular, the plurality of code information is added Rutotomoni, acquisition means for acquiring a captured image of a subject in which a plurality of landmarks are formed, said in an image acquired by the acquisition unit The annular portion is obtained by performing projective transformation processing on an image acquired by the acquiring unit with reference to a specifying unit that specifies a plurality of landmarks and positions of the plurality of landmarks specified by the specifying unit and generating means for generating the converted image into a perfect circular shape based on said plurality of landmarks identified by the identification means, each from a predetermined of said plurality of code information in an image acquired by the acquisition unit comprising reading means for reading the information, the among the plurality of landmarks, between two marks each other which are formed continuously along the circumferential direction of the ring portion, contact the code information located The reading means reads a first mark of the plurality of marks as a start position of the code information reading process, and a second of the plurality of marks adjacent to the first mark. The code information reading process is performed by reading a mark as an end position of the code information reading process .
また、本発明に係る画像処理方法は、
画像処理装置を用いた画像処理方法であって、略円環状をなす円環部分に、複数のコード情報が付加されるとともに、複数の目印が形成された被写体を撮像した画像を取得するステップと、取得された画像内で前記複数の目印を特定するステップと、特定された前記複数の目印の位置を基準として、取得された画像に対して射影変換処理を行うことで、前記円環部分を真円形状に変換した画像を生成するステップと、特定された前記複数の目印に基づいて、取得された画像内の前記複数のコード情報の各々から所定の情報を読み取るステップと、を含み、前記複数の目印のうち、前記円環部分の周方向に沿って連続して形成された2つの目印どうしの間には、前記コード情報が位置しており、前記複数のコード情報の各々から所定の情報を読み取るステップにおいて、前記複数の目印のうちの第1の目印を前記コード情報の読取処理の開始位置として読み取るとともに、前記第1の目印に隣接する、前記複数の目印のうちの第2の目印を前記コード情報の読取処理の終了位置として読み取ることによって、前記コード情報の読取処理を行う、ことを特徴としている。
The image processing method according to the present invention includes:
An image processing method using the image processing apparatus, the annular portion having a substantially annular shape, a plurality of code information is added Rutotomoni, acquiring an image obtained by capturing an object in which a plurality of landmarks are formed , identifying a plurality of landmarks in the acquired image, based on the positions of the plurality of landmarks are identified, by performing projective transformation processing on the obtained image, the circular ring portion and generating an image converted into a perfect circular shape, based on the plurality of landmarks are identified, observed including the steps, the reading the predetermined information from each of a plurality of code information in the acquired image, Among the plurality of marks, the code information is located between two marks formed continuously along the circumferential direction of the annular portion, and each of the plurality of code information is predetermined. Read the information In the step of taking, the first mark of the plurality of marks is read as the start position of the code information reading process, and the second mark of the plurality of marks adjacent to the first mark is read. The code information reading process is performed by reading as an end position of the code information reading process .
また、本発明に係るプログラムは、
画像処理装置のコンピュータを、略円環状をなす円環部分に、複数のコード情報が付加されるとともに、複数の目印が形成された被写体を撮像した画像を取得する取得手段、前記取得手段により取得された画像内で前記複数の目印を特定する特定手段、前記特定手段により特定された前記複数の目印の位置を基準として、前記取得手段により取得された画像に対して射影変換処理を行うことで、前記円環部分を真円形状に変換した画像を生成する生成手段、前記特定手段により特定された前記複数の目印に基づいて、前記取得手段により取得された画像内の前記複数のコード情報の各々から所定の情報を読み取る読取手段、として機能させ、前記複数の目印のうち、前記円環部分の周方向に沿って連続して形成された2つの目印どうしの間には、前記コード情報が位置しており、前記読取手段により前記複数のコード情報の各々から所定の情報を読み取る場合に、前記複数の目印のうちの第1の目印を前記コード情報の読取処理の開始位置として読み取るとともに、前記第1の目印に隣接する、前記複数の目印のうちの第2の目印を前記コード情報の読取処理の終了位置として読み取ることによって、前記コード情報の読取処理を行う、ことを特徴としている。
The program according to the present invention is
The computer of the image processing apparatus acquires, in an annular portion forming a substantially annular, the plurality of code information is added Rutotomoni, obtaining means for obtaining an image of the captured subject more landmarks are formed, by the acquisition unit specifying means for specifying a plurality of landmarks in the image, the reference to the position of said plurality of landmarks specified by the specifying means, by performing the projection conversion processing on the image acquired by the acquisition unit , generating means for generating an image obtained by converting the circular ring portion into a perfect circular shape, based on the plurality of landmarks specified by the specifying means, said plurality of code information of which has been in an image acquired by the acquisition unit reading means for reading predetermined information from each, to function as, among the plurality of landmarks, between two marks each other which are formed continuously along the circumferential direction of the circular ring portion When the code information is located and predetermined information is read from each of the plurality of code information by the reading means, the first mark among the plurality of marks is started to read the code information. Reading the position of the code information, and reading the second mark of the plurality of marks adjacent to the first mark as the end position of the reading process of the code information. It is characterized by.
本発明によれば、被写体に付加されているコード情報からの所定の情報の読取処理を適正に行うことができる。 According to the present invention, it is possible to appropriately perform a process of reading predetermined information from code information added to a subject.
以下に、本発明について、図面を用いて具体的な態様を説明する。ただし、発明の範囲は、図示例に限定されない。 Hereinafter, specific embodiments of the present invention will be described with reference to the drawings. However, the scope of the invention is not limited to the illustrated examples.
図1は、本発明を適用した一実施形態の携帯端末100の概略構成を示すブロック図である。
図1に示すように、携帯端末100は、中央制御部1と、メモリ2と、撮像部3と、撮像制御部4と、画像データ生成部5と、コード処理部6と、動作処理部7と、表示部8と、表示制御部9と、送受話部10と、通信制御部11と、操作入力部12等を備えている。
また、中央制御部1、メモリ2、撮像部3、撮像制御部4、画像データ生成部5、コード処理部6、動作処理部7、表示制御部9、送受話部10及び通信制御部11は、バスライン13を介して接続されている。
FIG. 1 is a block diagram showing a schematic configuration of a
As shown in FIG. 1, the
The
なお、携帯端末100は、例えば、撮像装置、携帯電話やPHS(Personal Handy-phone System)などの移動体通信網で用いられる移動局、PDA(Personal Data Assistants)等から構成されている。
Note that the
中央制御部1は、携帯端末100の各部を制御するものである。具体的には、中央制御部1は、携帯端末100の各部を制御するCPU(Central Processing Unit;図示略)を具備し、携帯端末100用の各種処理プログラム(図示略)に従って各種の制御動作を行う。
The
メモリ2は、例えば、DRAM(Dynamic Random Access Memory)等により構成されている。また、メモリ2は、中央制御部1やコード処理部6等によって処理されるデータ等を一時的に記憶するバッファメモリや、中央制御部1などのワーキングメモリ、当該携帯端末100の機能に係る各種プログラムやデータが格納されたプログラムメモリ等(何れも図示略)を備えている。
The
撮像部3は、円形の被写体(例えば、印影Si;図3(a)参照)を撮像する。
ここで、円形の被写体とは、記録媒体Pに押印された印章Sの略円形状の印影Siを含む。具体的には、印影Siは、当該印影Siを形成するための印画像Spの周りに外形が略円環状の円環部分Srが付加されたものである。
円環部分Srには、所定の情報を画素集合の規則的な配列に符号化したコード情報Scが複数付加されている。即ち、円環部分Srは、所定の数(例えば、四つ等)で等分された略等しい長さの複数の円弧部Sa、…を有し、当該円環部分Srの外周及び内周の対向する部分が内側に凹むような形状に形成された切欠部(目印)Smにより隣合う円弧部Saどうしが区切られている。例えば、四つの切欠部Sm、…は、印章Sの印面にて、基準状態の印画像Spに対して上側、下側、左側及び右側となるように付加されているものとする。
そして、各円弧部Saに、当該円弧の延在方向(円環部分Srの周方向)に沿って同一のコード情報Scがそれぞれ付加されている。つまり、印影Siには、コード情報Scが多重的に埋め込まれている。
ここで、コード情報Scは、元の所定の情報(例えば、URL等)を所定の符号化形式(例えば、リードソロモン符号、ゴレイ符号等)に従って符号化したものである。例えば、コード情報Scは、画素値「1」の白画素の集合と画素値「0」の黒画素の集合が所定の次元数で規則的に配列されている。
The
Here, the circular subject includes a substantially circular imprint Si of the seal S stamped on the recording medium P. Specifically, the imprint Si is obtained by adding an annular portion Sr having a substantially annular outer shape around the stamp image Sp for forming the imprint Si.
A plurality of code information Sc obtained by encoding predetermined information into a regular array of pixel sets is added to the annular portion Sr. That is, the annular portion Sr has a plurality of arc portions Sa,... Of approximately equal length divided equally by a predetermined number (for example, four), and the outer periphery and inner periphery of the annular portion Sr. Adjacent arc portions Sa are separated from each other by a notch (mark) Sm formed in such a shape that the opposing portions are recessed inward. For example, it is assumed that the four cutout portions Sm,... Are added on the stamp face of the seal S so as to be on the upper side, the lower side, the left side, and the right side with respect to the stamp image Sp in the reference state.
The same code information Sc is added to each arc portion Sa along the extending direction of the arc (the circumferential direction of the annular portion Sr). That is, the code information Sc is embedded in the seal impression Si in a multiple manner.
Here, the code information Sc is obtained by encoding original predetermined information (for example, URL) according to a predetermined encoding format (for example, Reed-Solomon code, Golay code, etc.). For example, in the code information Sc, a set of white pixels having a pixel value “1” and a set of black pixels having a pixel value “0” are regularly arranged with a predetermined number of dimensions.
このように、複数の切欠部Sm、…の各々は、円環部分Srの一部分の形状を変更して形成された目印を構成し、これら切欠部Sm、…は、円環部分Srの隣合うコード情報Scどうしの間に略等しい間隔を空けて形成されている。 In this way, each of the plurality of cutout portions Sm,... Constitutes a mark formed by changing the shape of a part of the annular portion Sr, and these cutout portions Sm,... Are adjacent to the annular portion Sr. The code information Sc is formed with a substantially equal interval.
また、撮像部3は、レンズ部3aと、電子撮像部3bとを備えている。
レンズ部3aは、ズームレンズやフォーカスレンズ等の複数のレンズから構成されている。
電子撮像部3bは、例えば、CCD(Charge Coupled Device)やCMOS(Complementary Metal-oxide Semiconductor)等のイメージセンサから構成され、レンズ部3aの各種レンズを通過した光学像を二次元の画像信号に変換する。
なお、図示は省略するが、撮像部3は、レンズ部3aを通過する光の量を調整する絞りを備えていても良い。
The
The
The
In addition, although illustration is abbreviate | omitted, the
撮像制御部4は、撮像部3による被写体の撮像を制御する。即ち、撮像制御部4は、図示は省略するが、タイミング発生器、ドライバなどを備えている。そして、撮像制御部4は、タイミング発生器、ドライバにより電子撮像部3bを走査駆動して、所定周期毎に光学像を電子撮像部3bにより二次元の画像信号に変換させ、当該電子撮像部3bの撮像領域から1画面分ずつフレーム画像を読み出して画像データ生成部5に出力させる。
また、撮像制御部4は、AF(自動合焦処理)、AE(自動露出処理)、AWB(自動ホワイトバランス)等の被写体の撮像条件の調整制御を行う。
The
In addition, the
画像データ生成部5は、電子撮像部3bから転送されたフレーム画像のアナログ値の信号に対してRGBの各色成分毎に適宜ゲイン調整した後に、サンプルホールド回路(図示略)でサンプルホールドしてA/D変換器(図示略)でデジタルデータに変換し、カラープロセス回路(図示略)で画素補間処理及びγ補正処理を含むカラープロセス処理を行った後、デジタル値の輝度信号Y及び色差信号Cb,Cr(YUVデータ)を生成する。
The image
そして、画像データ生成部5は、生成された各フレーム画像のYUVデータをメモリ2に順次出力し、当該メモリ2に格納させる。
Then, the image
コード処理部6は、画像取得部6aと、二値化部6bと、目印特定部6cと、射影変換部6dと、情報読取部6eと、制御処理部6fとを具備している。
なお、コード処理部6の各部は、例えば、所定のロジック回路から構成されているが、当該構成は一例であってこれに限られるものではない。
The
Each unit of the
画像取得部6aは、円形の印影Siが撮像された撮像画像Ia(図4(a)参照)を逐次取得する。
即ち、画像取得部(画像取得手段)6aは、コード情報Scが複数付加されてなる円形の印影(円形の被写体)Siが所定の方向から撮像された画像を取得する。具体的には、画像取得部6aは、撮像部3により円形の印影Siが撮像されて画像データ生成部5により生成された撮像画像Iaの所定の解像度の画像データ(例えば、輝度データ)の複製をメモリ2から取得する。
ここで、記録媒体Pに押印された円形の印影Siは、レンズ部3aが正対するように配置された撮像部3により撮像されると、略円形状の画像として撮像されるが、円形の印影Siに対するレンズ部3aの相対的な位置関係によっては、楕円形状の画像となってしまう。
以下の説明では、円形の印影Siに対してレンズ部3aが所定の角度を有するように斜めに配置された状態で撮像され、撮像画像Ia内で円環部分Srが楕円形状をなしているものとする。
The
That is, the image acquisition unit (image acquisition unit) 6a acquires an image in which a circular imprint (circular subject) Si formed by adding a plurality of code information Sc is captured from a predetermined direction. Specifically, the
Here, the circular imprint Si imprinted on the recording medium P is picked up as a substantially circular image when picked up by the
In the following description, an image is taken in a state where the
二値化部6bは、撮像画像Iaの二値化画像Ib(図4(b)参照)を生成する。
即ち、二値化部6bは、画像取得部6aにより取得された撮像画像Iaの画像データに対して、所定の閾値で二値化する二値化処理を施して、二値化画像Ibの画像データを生成する。
なお、上記の二値化処理は、公知の技術であるので、ここでは詳細な説明を省略する。
The
In other words, the
Note that the above binarization process is a known technique, and thus detailed description thereof is omitted here.
目印特定部6cは、撮像画像Ia内で複数の切欠部Sm、…を特定する。
即ち、目印特定部(特定手段)6cは、画像取得部6aにより取得された撮像画像Ia内で印影Siの円環部分Srに所定の間隔で形成されている複数の切欠部(目印)Sm、…を特定する。
具体的には、目印特定部6cは、二値化部6bにより生成された二値化画像Ib内で印影Siの円環部分Srの外周に対応する楕円形状の輪郭部分Rを特定し(図4(b)参照)、当該輪郭部分Rを所定の基準位置(例えば、左端等)から周方向(具体的には、例えば、時計回り等)に走査して白画素が存する座標位置をそれぞれ特定する。つまり、目印特定部6cは、輪郭部分Rの周方向に沿って配設された画素値「0」の複数の黒画素が画素値「1」の白画素によって区切られている座標位置を特定する。そして、目印特定部6cは、二値化画像Ibにて特定された輪郭部分Rの白画素が存する座標位置を、円形の印影Siの円環部分Srに形成されている切欠部Smとしてそれぞれ特定する(図5(a)参照)。
The mark specifying unit 6c specifies a plurality of notches Sm,... In the captured image Ia.
That is, the mark specifying unit (specifying unit) 6c includes a plurality of notch portions (marks) Sm formed at predetermined intervals in the annular portion Sr of the imprint Si in the captured image Ia acquired by the
Specifically, the mark specifying unit 6c specifies an elliptical contour portion R corresponding to the outer periphery of the annular portion Sr of the imprint Si in the binarized image Ib generated by the
なお、印影Siの輪郭部分Rを特定する手法として、楕円形状のテンプレートを用いたテンプレートマッチングが挙げられるが、一例であってこれに限られるものではなく、適宜任意に変更可能である。 In addition, although the template matching using an elliptical template is mentioned as a method of specifying the outline part R of the seal impression Si, it is an example and is not limited to this, and can be arbitrarily changed as appropriate.
射影変換部6dは、射影変換済み画像Ic(図5(b)参照)を生成する射影変換処理を行う。
即ち、射影変換部(生成手段)6dは、目印特定部6cにより特定された複数の切欠部Sm、…の座標位置を基準として、画像取得部6aにより取得された撮像画像Iaの二値化画像Ibに対して射影変換処理を行って、楕円形状をなす印影Siの円環部分Srを真円形状に変換した射影変換済み画像Icを生成する。
具体的には、射影変換部6dは、時計の文字板の0時(12時)、3時、6時及び9時に対応する位置を真円の0°(360°)、90°、180°及び270°の位置とし、目印特定部6cにより特定された四つの切欠部Sm、…の座標位置が真円の0°、90°、180°及び270°の座標位置となるような座標変換式を算出する。つまり、射影変換部6dは、射影変換後の四つの切欠部Sm、…の座標位置により正方形が形成されるような座標変換式を算出する。
そして、射影変換部6dは、算出された座標変換式に従って、外形が楕円形状となる向きで撮像された印影Siの撮像画像Iaの二値化画像Ibに対して射影変換処理を施して、印影Siの円環部分Srの外形が真円形状に変換された射影変換済み画像Icを生成する。
なお、上記の射影変換処理は、公知の技術であるので、ここでは詳細な説明を省略する。
The
That is, the projective transformation unit (generation unit) 6d is a binarized image of the captured image Ia acquired by the
Specifically, the
Then, the
Note that the above-described projective transformation process is a known technique, and thus detailed description thereof is omitted here.
情報読取部6eは、印影Siのコード情報Scから元の所定の情報を読み取る読取処理を行う。
即ち、情報読取部(読取手段)6eは、目印特定部6cにより特定された複数の切欠部Sm、…の座標位置を基準として、撮像画像Ia内のコード情報Scから所定の情報を読み取る読取処理を行う。
具体的には、情報読取部6eは、射影変換部6dにより生成された印影Siの円環部分Srを真円形状に変換した射影変換済み画像Ic内で四つの切欠部Sm、…の存する座標位置(真円の0°、90°、180°及び270°の位置)を特定する。そして、情報読取部6eは、射影変換済み画像Ic内で、特定された各切欠部Smの座標位置を読取処理の開始位置として円環部分Srの周方向に沿って走査し、画素値「1」の白画素の集合と画素値「0」の黒画素の集合が存する座標位置をそれぞれ特定する。情報読取部6eは、特定された白画素の集合及び黒画素の集合の配列に対して、コード情報Scの符号化方式に応じた復号処理を施して、コード情報Scによって表される元の所定の情報(例えば、URL等)を読み取る。
つまり、情報読取部6eは、読取処理を射影変換済み画像Icの切欠部Smにより区切られているコード情報Scの数に応じた回数(例えば、4回)行って、これらのコード情報Sc、…から元の所定の情報を読み取る。ここで、印影Siの円環部分Srの各円弧部Saには同一のコード情報Scがそれぞれ付加されているので、情報読取部6eは、例えば、元の所定の情報が二箇所以上で検出されて複数読み取られた場合に、当該所定の情報を適正に読み取ることができたと判定するように構成しても良い。
なお、上記の読取処理は、公知の技術であるので、ここでは詳細な説明を省略する。
The information reading unit 6e performs a reading process of reading original predetermined information from the code information Sc of the seal imprint Si.
That is, the information reading unit (reading unit) 6e reads predetermined information from the code information Sc in the captured image Ia with reference to the coordinate positions of the plurality of notches Sm,... Specified by the mark specifying unit 6c. I do.
Specifically, the information reading unit 6e has coordinates in which the four cutouts Sm,... Exist in the projective transformed image Ic obtained by converting the ring portion Sr of the imprint Si generated by the projecting
That is, the information reading unit 6e performs the reading process a number of times (for example, four times) according to the number of code information Sc delimited by the cutout portion Sm of the projective transformed image Ic, and the code information Sc,. Read the original predetermined information. Here, since the same code information Sc is added to each arc portion Sa of the ring portion Sr of the seal imprint Si, the information reading unit 6e detects, for example, the original predetermined information at two or more locations. When a plurality of readings are read, the predetermined information may be determined to have been read properly.
Note that the above reading process is a known technique, and thus detailed description thereof is omitted here.
制御処理部6fは、射影変換処理及び読取処理のうち、少なくとも一方の処理の実行を制御する。
即ち、制御処理部(制御手段)6fは、目印特定部6cにより特定された複数の切欠部Sm、…の位置に基づいて、画像取得部6aにより取得された撮像画像Ia内で楕円形状をなす印影Siの円環部分Srを真円形状に変換するための射影変換処理と、撮像画像Ia内のコード情報Scから所定の情報を読み取る読取処理のうち、少なくとも一方の処理の実行を制御する。
The
That is, the control processing unit (control unit) 6f forms an elliptical shape in the captured image Ia acquired by the
動作処理部7は、情報読取部6eにより読み取られたコード情報Scの元の所定の情報に従って、所定の動作を実行する。
例えば、所定の情報としてURLが読み取られた場合には、動作処理部7は、通信制御部11を制御して、取得されたURLに規定されているインターネットにおける特定のページにアクセスする。そして、動作処理部7は、予め設定されている各種の処理(例えば、特定の音声や画像の再生等)の実行指示に従って、表示制御9や送受話部10等を制御して各種の処理を実行させる。
The operation processing unit 7 performs a predetermined operation according to the original predetermined information of the code information Sc read by the information reading unit 6e.
For example, when the URL is read as the predetermined information, the operation processing unit 7 controls the
表示部8は、例えば、液晶表示パネルから構成され、表示制御部9からのビデオ信号に基づいて撮像部3により撮像された画像(例えば、ライブビュー画像等)を表示画面に表示する。
The
表示制御部9は、メモリ2に一時的に記憶されている表示用の画像データを読み出して表示部8に表示させる制御を行う。
具体的には、表示制御部9は、VRAM(Video Random Access Memory)、VRAMコントローラ、デジタルビデオエンコーダなどを備えている。そして、デジタルビデオエンコーダは、中央制御部1の制御下にてメモリ2から読み出されてVRAM(図示略)に記憶されている輝度信号Y及び色差信号Cb,Crを、VRAMコントローラを介してVRAMから所定の再生フレームレート(例えば、30fps)で読み出して、これらのデータを元にビデオ信号を発生して表示部8に出力する。
例えば、表示制御部9は、撮像部3及び撮像制御部4により撮像され画像データ生成部5により生成された複数のフレーム画像、…を所定の表示フレームレートで逐次更新しながら表示部8にライブビュー表示させる。
The
Specifically, the
For example, the
送受話部10は、通信ネットワークNを介して接続された外部機器の外部ユーザとの通話を行う。
具体的には、送受話部10は、マイク10a、スピーカ10b、データ変換部10c等を備えている。そして、送受話部10は、マイク10aから入力されるユーザの送話音声をデータ変換部10cによりA/D変換処理して送話音声データを中央制御部1に出力するとともに、中央制御部1の制御下にて、通信制御部11から出力されて入力される受話音声データ等の音声データをデータ変換部10cによりD/A変換処理してスピーカ10bから出力する。
The transmitter /
Specifically, the transmission /
通信制御部11は、通信ネットワークN及び通信アンテナ11aを介してデータの送受信を行う。
即ち、通信アンテナ11aは、当該携帯端末100が無線基地局(図示略)との通信で採用している所定の通信方式(例えば、W−CDMA(Wideband Code Division Multiple Access)方式、GSM(Global System for Mobile Communications;登録商標)方式等)に対応したデータの送受信が可能なアンテナである。そして、通信制御部11は、所定の通信方式に対応する通信プロトコルに従って、この通信方式で設定される通信チャネルにより無線基地局との間で通信アンテナ11aを介してデータの送受信を行う。つまり、通信制御部11は、中央制御部1から出力されて入力される指示信号に基づいて、通信相手の外部機器に対して、当該外部機器の外部ユーザとの通話中の音声の送受信や、電子メールのデータの送受信を行う。
なお、通信制御部11の構成は一例であってこれに限られるものではなく、適宜任意に変更可能であり、例えば、図示は省略するが、無線LANモジュールを搭載し、アクセスポイント(Access Point)を介して通信ネットワークNにアクセス可能な構成としても良い。
The
That is, the
Note that the configuration of the
通信ネットワークNは、例えば、携帯端末100を無線基地局やゲートウェイサーバ(図示略)等を介して外部機器と接続する通信ネットワークである。
また、通信ネットワークNは、例えば、専用線や既存の一般公衆回線を利用して構築された通信ネットワークであり、LAN(Local Area Network)やWAN(Wide Area Network)等の様々な回線形態を適用することが可能である。また、通信ネットワークNには、例えば、電話回線網、ISDN回線網、専用線、移動体通信網、通信衛星回線、CATV回線網等の各種通信ネットワーク網と、IPネットワーク、VoIP(Voice over Internet Protocol)ゲートウェイ、インターネットサービスプロバイダ等が含まれる。
The communication network N is a communication network that connects the
The communication network N is a communication network constructed using, for example, a dedicated line or an existing general public line, and various line forms such as a LAN (Local Area Network) and a WAN (Wide Area Network) are applied. Is possible. The communication network N includes, for example, various communication network networks such as a telephone line network, ISDN line network, dedicated line, mobile communication network, communication satellite line, CATV line network, IP network, VoIP (Voice over Internet Protocol). ) Gateways, Internet service providers, etc. are included.
操作入力部12は、端末本体に対して各種指示を入力するためのものである。
具体的には、操作入力部12は、被写体の撮影指示に係るシャッタボタン、モードや機能等の選択指示に係る上下左右のカーソルボタンや決定ボタン、電話の発着信や電子メールの送受信等の実行指示に係る通信関連ボタン、テキストの入力指示に係る数字ボタンや記号ボタン等の各種ボタン(何れも図示略)を備えている。
そして、ユーザにより各種ボタンが操作されると、操作入力部12は、操作されたボタンに応じた操作指示を中央制御部1に出力する。中央制御部1は、操作入力部12から出力され入力された操作指示に従って所定の動作(例えば、被写体の撮像、電話の発着信、電子メールの送受信等)を各部に実行させる。
The
Specifically, the
When various buttons are operated by the user, the
なお、操作入力部12は、表示部8と一体となって設けられたタッチパネルを有していても良く、ユーザによるタッチパネルの所定操作に基づいて、当該所定操作に応じた操作指示を中央制御部1に出力しても良い。
The
<印影情報生成処理>
次に、携帯端末100によるコード読取処理について、図2〜図5を参照して説明する。
図2は、印影情報生成処理に係る動作の一例を示すフローチャートである。
なお、以下のコード読取処理にて撮像される円形の印影Siは、例えば、葉書等の記録媒体Pの所定位置に押印されているものとする(図3(a)参照)。また、印影Siの円環部分Srの各円弧部Saには同一のコード情報Scがそれぞれ付加されているものとする。
<Imprint information generation processing>
Next, code reading processing by the
FIG. 2 is a flowchart showing an example of an operation related to the seal stamp information generation process.
It is assumed that a circular imprint Si imaged in the following code reading process is stamped at a predetermined position of a recording medium P such as a postcard (see FIG. 3A). Further, it is assumed that the same code information Sc is added to each arc portion Sa of the ring portion Sr of the seal impression Si.
図2に示すように、先ず、ユーザによる操作入力部12の所定操作に基づいて撮像指示が入力されると、撮像制御部4は、撮像部3に円形の印影Siを撮像させ、画像データ生成部5は、電子撮像部3bから転送された撮像画像Iaの画像データを生成する(ステップS1)。このとき、円形の印影Siは、当該印影Siに対して撮像部3のレンズ部3aが所定の角度を有するように斜めに配置された状態で撮像されるものとする(図3(b)参照)。
そして、画像データ生成部5は、生成された撮像画像IaのYUVデータをメモリ2に出力し、当該メモリ2に格納させる。
As shown in FIG. 2, first, when an imaging instruction is input based on a predetermined operation of the
Then, the image
なお、印影Siをより円形に近い状態で撮像し易くするために、表示制御部9は、印影Siの外形に対応するガイド表示を表示部8に表示させても良い。
Note that the
次に、コード処理部6の画像取得部6aは、メモリ2から画像データ生成部5により生成された撮像画像Iaの所定の解像度の画像データ(例えば、輝度データ)を取得する(ステップS2;図4(a)参照)。続けて、二値化部6bは、画像取得部6aにより取得された撮像画像Iaの画像データに対して、所定の閾値で二値化する二値化処理を施して、二値化画像Ibの画像データを生成する(ステップS3)。
Next, the
次に、目印特定部6cは、二値化部6bにより生成された二値化画像Ib内で、例えば、長軸や短軸の長さを異ならせた各種の楕円形状のテンプレートを用いて、印影Siの円環部分Srの外周に対応する楕円形状の輪郭部分Rをテンプレートマッチングにより特定する(ステップS4;図4(b)参照)。続けて、目印特定部6cは、特定された輪郭部分Rを周方向に走査して画素値「1」の白画素が存する座標位置をそれぞれ特定し、特定された輪郭部分Rの白画素が存する座標位置を、円形の印影Siの円環部分Srに形成されている切欠部Smとしてそれぞれ特定する(ステップS5;図5(a)参照)。
Next, the landmark specifying unit 6c uses, for example, various elliptical templates with different major and minor axes in the binarized image Ib generated by the
その後、制御処理部6fは、射影変換部6dに射影変換処理を実行させる(ステップS6)。
即ち、射影変換部6dは、目印特定部6cにより特定された複数の切欠部Sm、…の座標位置を基準として、画像取得部6aにより取得された撮像画像Iaの二値化画像Ibに対して射影変換処理を行って、楕円形状をなす印影Siの円環部分Srを真円形状に変換した射影変換済み画像Ic(図5(b)参照)を生成する。具体的には、射影変換部6dは、目印特定部6cにより特定された四つの切欠部Sm、…の座標位置が真円の0°、90°、180°及び270°の座標位置となるような座標変換式を算出し、算出された座標変換式に従って射影変換処理を二値化画像Ibに対して施し、印影Siの円環部分Srの外形が真円形状に変換された射影変換済み画像Icを生成する。
Thereafter, the
That is, the
次に、制御処理部6fは、情報読取部6eに読取処理を実行させる(ステップS7)。
即ち、情報読取部6eは、射影変換部6dにより生成された印影Siの円環部分Srを真円形状に変換した射影変換済み画像Ic内で四つの切欠部Sm、…の座標位置を特定し、特定された複数の切欠部Sm、…の座標位置を基準として、各コード情報Scから所定の情報を読み取る読取処理を行う。具体的には、情報読取部6eは、射影変換済み画像Ic内で、特定された各切欠部Smの座標位置を読取処理の開始位置として円環部分Srの周方向に沿って走査し、画素値「1」の白画素の集合と画素値「0」の黒画素の集合が存する位置をそれぞれ特定する。そして、情報読取部6eは、特定された白画素の集合及び黒画素の集合の配列に対して、コード情報Scの符号化方式に応じた復号処理を施して元の所定の情報(例えば、URL等)を読み取る。
Next, the
That is, the information reading unit 6e specifies the coordinate positions of the four cutout portions Sm,... In the projective transformed image Ic obtained by converting the ring portion Sr of the imprint Si generated by the
続けて、情報読取部6eは、読取処理によりコード情報Scから元の所定の情報が複数回読み取られたか否かを判定する(ステップS8)。
ここで、元の所定の情報が複数回読み取られたと判定されると(ステップS8;YES)、情報読取部6eは、当該所定の情報を適正に読み取ることができたと判定し、動作処理部7は、情報読取部6eにより読み取られた所定の情報(例えば、URL等)に従って所定の動作(例えば、インターネットにアクセスして、特定の音声や画像の再生等)を実行する(ステップS9)。
Subsequently, the information reading unit 6e determines whether or not the original predetermined information has been read a plurality of times from the code information Sc by the reading process (step S8).
Here, when it is determined that the original predetermined information has been read a plurality of times (step S8; YES), the information reading unit 6e determines that the predetermined information has been properly read, and the operation processing unit 7 Performs a predetermined operation (for example, reproduction of a specific sound or image by accessing the Internet) according to predetermined information (for example, URL) read by the information reading unit 6e (step S9).
一方、ステップS8にて、元の所定の情報が複数回読み取られていないと判定されると(ステップS8;NO)、中央制御部1のCPUは、ステップS9の処理をスキップして、当該コード読取処理を終了させる。
On the other hand, when it is determined in step S8 that the original predetermined information has not been read a plurality of times (step S8; NO), the CPU of the
以上のように、本実施形態の携帯端末100によれば、円環部分Srにコード情報Scが複数付加されてなる円形の印影(円形の被写体)Siを所定の斜め方向から撮像した撮像画像Iaの二値化画像Ib内で特定された円環部分Srに所定の間隔で形成されている複数の切欠部(目印)Sm、…に基づいて、当該二値化画像Ib内で楕円形状をなす円環部分Srを真円形状に変換するための射影変換処理と、当該二値化画像Ib内のコード情報Scから所定の情報を読み取る読取処理のうち、少なくとも一方の処理の実行を制御するので、円形の印影Siを撮像した画像に対する射影変換処理やコード情報Scからの所定の情報の読取処理を適正に行うことができる。
即ち、複数の切欠部Sm、…の座標位置を基準として、撮像画像Iaの二値化画像Ibに対して射影変換処理を行って、印影Siの楕円形状をなす円環部分Srを真円形状に変換した射影変換済み画像Icを生成するので、円環部分Srが楕円形状をなす画像に対する射影変換処理であっても、円環部分Srに所定の間隔で形成されている複数の切欠部Sm、…を利用することで、当該射影変換処理を適正に行うことができる。また、印影Siの楕円形状をなす円環部分Srを真円形状に変換した射影変換済み画像Icにおける複数の切欠部Sm、…の座標位置を基準として、読取処理を行ってコード情報Scから所定の情報を読み取るので、円環部分Srに付加されている複数のコード情報Scからの元の所定の情報の読取処理にて、円環部分Srに所定の間隔で形成されている複数の切欠部Sm、…を利用することで、各コード情報Scの読み取りの開始位置を特定することができ、当該読取処理を適正に行うことができる。
As described above, according to the
That is, projective transformation processing is performed on the binarized image Ib of the captured image Ia with reference to the coordinate positions of the plurality of notches Sm,. Since the projection-converted image Ic converted into is generated, even if the projection conversion processing is performed on an image in which the annular portion Sr has an elliptical shape, a plurality of notches Sm formed in the annular portion Sr at a predetermined interval. ,... Can be appropriately performed. In addition, a reading process is performed on the basis of the coordinate positions of the plurality of cutout portions Sm,... In the projection-transformed image Ic obtained by converting the oval portion Sr having an elliptical shape of the seal imprint Si into a perfect circle shape. In the reading process of the original predetermined information from the plurality of code information Sc added to the annular portion Sr, a plurality of notches formed in the annular portion Sr at a predetermined interval By using Sm,..., The reading start position of each code information Sc can be specified, and the reading process can be appropriately performed.
また、複数の切欠部Sm、…は、円環部分Srの隣合うコード情報Scどうしの間に略等しい間隔で形成されているので、複数の切欠部Sm、…の座標位置を基準とする射影変換処理や読取処理を効率良く適正に行うことができる。即ち、円環部分Srに略等しい間隔で形成される複数の切欠部Sm、…により正多角形が形成されるので、射影変換処理の内容を当該正多角形に戻すような処理内容にすることができ、当該射影変換処理を効率的に行うことができる。さらに、複数の切欠部Sm、…の各々について、隣合うコード情報Scとの相対的な位置関係を全て等しいものとすることができ、各コード情報Scの読み取りの開始位置の特定を効率的に行うことができる。 Further, since the plurality of notches Sm,... Are formed at substantially equal intervals between the adjacent code information Sc of the annular portion Sr, the projection based on the coordinate positions of the plurality of notches Sm,. Conversion processing and reading processing can be performed efficiently and appropriately. That is, since the regular polygon is formed by the plurality of notches Sm formed at substantially equal intervals in the annular portion Sr, the content of the projective transformation process is set to the processing content that returns to the regular polygon. And the projective transformation process can be performed efficiently. Further, it is possible to make the relative positional relationship with the adjacent code information Sc all equal for each of the plurality of cutout portions Sm,... And efficiently specify the reading start position of each code information Sc. It can be carried out.
また、複数の切欠部Sm、…は、円環部分Srの一部分の形状を変更して形成されているので、円形の印影(円形の被写体)Siを所定の方向から撮像した撮像画像Ia内で印影Siの円環部分Srに対応する楕円形状の輪郭部分Rにて、複数の切欠部Sm、…の特定を簡便に行うことができる。 Further, since the plurality of cutout portions Sm,... Are formed by changing the shape of a part of the annular portion Sr, a circular imprint (circular subject) Si is captured in a captured image Ia captured from a predetermined direction. The plurality of notches Sm,... Can be easily identified in the elliptical contour portion R corresponding to the annular portion Sr of the imprint Si.
なお、本発明は、上記実施形態に限定されることなく、本発明の趣旨を逸脱しない範囲において、種々の改良並びに設計の変更を行っても良い。
例えば、上記実施形態では、射影変換処理及び読取処理の両方の処理を実行するようにしたが、一例であってこれに限られるものではなく、必ずしも両方の処理を実行する必要はない。即ち、携帯端末100は、少なくとも読取処理を実行するような構成であれば如何なる構成であっても良い。
The present invention is not limited to the above-described embodiment, and various improvements and design changes may be made without departing from the spirit of the present invention.
For example, in the above-described embodiment, both the projection conversion process and the reading process are executed. However, this is an example, and the present invention is not limited to this, and it is not always necessary to execute both processes. That is, the
また、上記実施形態では、読取処理として、印影Siの円環部分Srを真円形状に変換した射影変換済み画像Ic内のコード情報Scから所定の情報を読み取る処理を例示したが、一例であってこれに限られるものではなく、複数の切欠部Sm、…の座標位置を基準としてコード情報Scから元の所定の情報を読み取るものであれば処理内容は適宜任意に変更可能である。即ち、情報読取部6eは、目印特定部6cにより特定された複数の切欠部Sm、…の座標位置を基準(例えば、読み取りの開始位置)として、射影変換前の撮像画像Ia内のコード情報Scから所定の情報を読み取るような構成であっても良い。 In the above embodiment, as the reading process, the process of reading predetermined information from the code information Sc in the projective transformed image Ic obtained by converting the ring portion Sr of the imprint Si into a perfect circle shape is shown as an example. However, the present invention is not limited to this, and the processing content can be arbitrarily changed as long as the original predetermined information is read from the code information Sc with reference to the coordinate positions of the plurality of notches Sm,. That is, the information reading unit 6e uses the coordinate positions of the plurality of notches Sm,... Specified by the mark specifying unit 6c as a reference (for example, reading start position), and the code information Sc in the captured image Ia before projective conversion. It may be configured such that predetermined information is read from.
さらに、上記実施形態では、円形の被写体として、円形の印影Siを例示したが、一例であってこれに限られるものではなく、円環部分Srにコード情報Scが複数付加されたものであれば適宜任意に変更可能である。例えば、記録媒体Pに押印以外の手法(例えば、印刷等)により画像形成されている円形の画像であっても良い。 Furthermore, in the above-described embodiment, the circular imprint Si is illustrated as the circular subject. However, the circular imprint Si is an example, and the present invention is not limited to this. It can be arbitrarily changed as appropriate. For example, the image may be a circular image formed on the recording medium P by a method other than stamping (for example, printing).
また、上記実施形態では、印影Siの円環部分Srの各円弧部Saに、同一のコード情報Scをそれぞれ付加するようにしたが、一例であってこれに限られるものではなく、例えば、互いに異なるコード情報Scを付加しても良く、この場合には、印影情報に埋め込まれるコード情報(元の所定の情報)Scの量を増大させることができる。 Further, in the above embodiment, the same code information Sc is added to each arc portion Sa of the ring portion Sr of the imprint Si, but this is only an example and the present invention is not limited to this. Different code information Sc may be added. In this case, the amount of code information (original predetermined information) Sc embedded in the seal imprint information can be increased.
また、上記実施形態では、目印として、印影Siの複数の円弧部Sa、…どうしの間に円環部分Srの外周及び内周の対向する部分が内側に凹むような形状に形成された切欠部Smを配置する構成を例示したが、一例であってこれに限られるものではなく、目印の形状は適宜任意に変更可能である。例えば、円環部分Srの外周及び内周のうち、何れか一方(例えば、外周等)が内側に凹むような形状に形成された目印(切欠部)であっても良い。具体的には、円環部分Srの内周が内側(中心側)に凹むような形状に形成された目印の場合、目印特定部6cは、円環部分Srの内周に対応する輪郭部分を特定した後、当該輪郭部分にて白画素が存する位置を目印として特定する。
また、例えば、図示は省略するが、複数の円弧部どうしを所定の間隔を空けて付加し、当該円弧部どうしの間隙により目印が構成されていても良い。
Moreover, in the said embodiment, as a mark, the notch part formed in the shape where the outer peripheral part of the circular ring part Sr and the opposing part of an inner periphery dent inward between several circular arc part Sa of the impression Si, ... Although the configuration in which Sm is arranged has been illustrated, this is an example and the present invention is not limited to this, and the shape of the mark can be arbitrarily changed as appropriate. For example, it may be a mark (notch) formed in a shape in which either one of the outer periphery and the inner periphery of the annular portion Sr (for example, the outer periphery) is recessed inward. Specifically, in the case of a mark formed in such a shape that the inner periphery of the annular part Sr is recessed inward (center side), the mark specifying part 6c defines a contour part corresponding to the inner periphery of the annular part Sr. After specifying, the position where the white pixel exists in the contour portion is specified as a mark.
For example, although not shown, a plurality of arc portions may be added with a predetermined interval, and a mark may be configured by a gap between the arc portions.
さらに、上記実施形態では、画像処理装置として、携帯端末100を例示したが、一例であってこれに限られるものではなく、射影変換処理や読取処理の実行を制御可能なものであれば適宜任意に変更可能である。
Furthermore, in the above-described embodiment, the
加えて、上記実施形態にあっては、取得手段、特定手段、読取手段としての機能を、携帯端末100の中央制御部1の制御下にて、画像取得部6a、目印特定部6c、情報読取部6eが駆動することにより実現される構成としたが、これに限られるものではなく、中央制御部1のCPUによって所定のプログラム等が実行されることにより実現される構成としても良い。
即ち、プログラムを記憶するプログラムメモリに、取得処理ルーチン、特定処理ルーチン、読取処理ルーチンを含むプログラムを記憶しておく。そして、取得処理ルーチンにより中央制御部1のCPUを、略円環状をなす円環部分に、コード情報が付加されてなる被写体を撮像した画像を取得する手段として機能させるようにしても良い。また、特定処理ルーチンにより中央制御部1のCPUを、取得された画像内で円環部分に形成されている目印を特定する手段として機能させるようにしても良い。また、読取処理ルーチンにより中央制御部1のCPUを、特定された目印に基づいて、取得された画像内のコード情報から所定の情報を読み取る手段として機能させるようにしても良い。
In addition, in the above-described embodiment, the functions as the acquisition unit, the identification unit, and the reading unit are controlled under the control of the
That is, a program including an acquisition processing routine, a specific processing routine, and a reading processing routine is stored in a program memory that stores the program. Then, the CPU of the
同様に、生成手段についても、中央制御部1のCPUによって所定のプログラム等が実行されることにより実現される構成としても良い。
Similarly, the generation unit may be configured to be realized by executing a predetermined program or the like by the CPU of the
さらに、上記の各処理を実行するためのプログラムを格納したコンピュータ読み取り可能な媒体として、ROMやハードディスク等の他、フラッシュメモリ等の不揮発性メモリ、CD−ROM等の可搬型記録媒体を適用することも可能である。また、プログラムのデータを所定の通信回線を介して提供する媒体としては、キャリアウェーブ(搬送波)も適用される。 Furthermore, as a computer-readable medium storing a program for executing each of the above processes, a non-volatile memory such as a flash memory or a portable recording medium such as a CD-ROM is applied in addition to a ROM or a hard disk. Is also possible. A carrier wave is also used as a medium for providing program data via a predetermined communication line.
〔付記〕
本発明のいくつかの実施形態を説明したが、本発明の範囲は、上述の実施の形態に限定するものではなく、特許請求の範囲に記載された発明の範囲とその均等の範囲を含む。
以下に、この出願の願書に最初に添付した特許請求の範囲に記載した発明を付記する。付記に記載した請求項の項番は、この出願の願書に最初に添付した特許請求の範囲の通りである。
<請求項1>
略円環状をなす円環部分に、コード情報が付加されてなる被写体を撮像した画像を取得する取得手段と、
前記取得手段により取得された画像内で前記円環部分に形成されている目印を特定する特定手段と、
前記特定手段により特定された目印に基づいて、前記取得手段により取得された画像内の前記コード情報から所定の情報を読み取る読取手段と、
を備えたことを特徴とする画像処理装置。
<請求項2>
前記特定手段により特定された目印の位置を基準として、前記取得手段により取得された画像に対して射影変換処理を行って、前記円環部分を真円形状に変換した画像を生成する生成手段を更に備えることを特徴とする請求項1に記載の画像処理装置。
<請求項3>
前記円環部分に前記コード情報が複数付加され、前記目印は隣合うコード情報どうしの間に略等しい間隔で複数形成されていることを特徴とする請求項1又は2に記載の画像処理装置。
<請求項4>
前記目印は、前記円環部分の一部分の形状を変更して形成されてなることを特徴とする請求項1〜3の何れか一項に記載の画像処理装置。
<請求項5>
前記円環部分は、所定の数で等分された複数の円弧部を有してなり、
前記目印は、前記複数の円弧部どうしの間隙により複数形成されてなることを特徴とする請求項1〜4の何れか一項に記載の画像処理装置。
<請求項6>
前記被写体は、コード情報が略円環状の枠に付加された印影であることを特徴とする請求項1〜5の何れか一項に記載の画像処理装置。
<請求項7>
画像処理装置を用いた画像処理方法であって、
略円環状をなす円環部分に、コード情報が付加されてなる被写体を撮像した画像を取得するステップと、
取得された画像内で前記円環部分に形成されている目印を特定するステップと、
特定された目印に基づいて、取得された画像内の前記コード情報から所定の情報を読み取るステップと、
を含むことを特徴とする画像処理方法。
<請求項8>
画像処理装置のコンピュータを、
略円環状をなす円環部分に、コード情報が付加されてなる被写体を撮像した画像を取得する取得手段、
前記取得手段により取得された画像内で前記円環部分に形成されている目印を特定する特定手段、
前記特定手段により特定された目印に基づいて、前記取得手段により取得された画像内の前記コード情報から所定の情報を読み取る読取手段、
として機能させることを特徴とするプログラム。
[Appendix]
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.
<Claim 1>
An acquisition means for acquiring an image obtained by imaging a subject in which code information is added to an annular portion having a substantially annular shape;
Specifying means for specifying a mark formed on the annular portion in the image acquired by the acquiring means;
Reading means for reading predetermined information from the code information in the image acquired by the acquiring means based on the mark specified by the specifying means;
An image processing apparatus comprising:
<Claim 2>
Generation means for performing projective transformation processing on the image acquired by the acquisition means on the basis of the position of the mark specified by the specifying means, and generating an image obtained by converting the annular portion into a perfect circle shape; The image processing apparatus according to
<Claim 3>
The image processing apparatus according to
<Claim 4>
The image processing apparatus according to
<Claim 5>
The annular portion has a plurality of arc portions equally divided by a predetermined number,
The image processing apparatus according to
<Claim 6>
The image processing apparatus according to
<Claim 7>
An image processing method using an image processing apparatus,
Obtaining an image obtained by imaging a subject in which code information is added to an annular portion having a substantially annular shape;
Identifying a landmark formed on the annular portion in the acquired image;
Reading predetermined information from the code information in the acquired image based on the identified landmark;
An image processing method comprising:
<Claim 8>
The computer of the image processing device
An acquisition means for acquiring an image obtained by imaging a subject in which code information is added to an annular portion having a substantially annular shape;
A specifying means for specifying a mark formed on the annular portion in the image acquired by the acquiring means;
Reading means for reading predetermined information from the code information in the image acquired by the acquiring means based on the mark specified by the specifying means;
A program characterized by functioning as
100 携帯端末
1 中央制御部
6 コード処理部
6a 画像取得部
6c 目印特定部
6d 射影変換部
6e 情報読取部
6f 制御処理部
7 動作処理部
DESCRIPTION OF
Claims (10)
前記取得手段により取得された画像内で前記複数の目印を特定する特定手段と、
前記特定手段により特定された前記複数の目印の位置を基準として、前記取得手段により取得された画像に対して射影変換処理を行うことで、前記円環部分を真円形状に変換した画像を生成する生成手段と、
前記特定手段により特定された前記複数の目印に基づいて、前記取得手段により取得された画像内の前記複数のコード情報の各々から所定の情報を読み取る読取手段と、
を備え、
前記複数の目印のうち、前記円環部分の周方向に沿って連続して形成された2つの目印どうしの間には、前記コード情報が位置しており、
前記読取手段は、前記複数の目印のうちの第1の目印を前記コード情報の読取処理の開始位置として読み取るとともに、前記第1の目印に隣接する、前記複数の目印のうちの第2の目印を前記コード情報の読取処理の終了位置として読み取ることによって、前記コード情報の読取処理を行う、
ことを特徴とする画像処理装置。 In an annular portion forming a substantially annular, and a plurality of code information is added Rutotomoni, obtaining means for obtaining an image of the captured subject more landmarks are formed,
Specifying means for specifying the plurality of landmarks in the image acquired by the acquiring means;
By performing a projective transformation process on the image acquired by the acquisition unit on the basis of the positions of the plurality of landmarks specified by the specifying unit, an image in which the ring portion is converted into a perfect circle shape is generated. Generating means for
Reading means for reading predetermined information from each of the plurality of code information in the image acquired by the acquiring means based on the plurality of marks specified by the specifying means;
Equipped with a,
Among the plurality of marks, the code information is located between two marks formed continuously along the circumferential direction of the annular portion,
The reading unit reads a first mark of the plurality of marks as a start position of the code information reading process, and a second mark of the plurality of marks adjacent to the first mark. Is read as the end position of the code information reading process, to perform the code information reading process,
An image processing apparatus.
ことを特徴とする請求項1に記載の画像処理装置。The image processing apparatus according to claim 1.
前記射影変換処理により前記真円形状に変換された画像において前記4つの目印が正方形を形成するように、前記4つの目印が前記被写体に形成されているThe four marks are formed on the subject so that the four marks form a square in the image converted into the perfect circle shape by the projective transformation process.
ことを特徴とする請求項2に記載の画像処理装置。The image processing apparatus according to claim 2.
ことを特徴とする請求項1〜3の何れか一項に記載の画像処理装置。The image processing apparatus according to claim 1, wherein the image processing apparatus is an image processing apparatus.
前記複数の目印は、前記複数の円弧部どうしの間隙により形成されてなることを特徴とする請求項1〜5の何れか一項に記載の画像処理装置。 The annular portion has a plurality of arc portions equally divided by a predetermined number,
Wherein the plurality of indicia, the image processing apparatus according to any one of claim 1 to 5, characterized by comprising made Rikatachi by the plurality of gaps of the arc portion each other.
略円環状をなす円環部分に、複数のコード情報が付加されるとともに、複数の目印が形成された被写体を撮像した画像を取得するステップと、
取得された画像内で前記複数の目印を特定するステップと、
特定された前記複数の目印の位置を基準として、取得された画像に対して射影変換処理を行うことで、前記円環部分を真円形状に変換した画像を生成するステップと、
特定された前記複数の目印に基づいて、取得された画像内の前記複数のコード情報の各々から所定の情報を読み取るステップと、
を含み、
前記複数の目印のうち、前記円環部分の周方向に沿って連続して形成された2つの目印どうしの間には、前記コード情報が位置しており、
前記複数のコード情報の各々から所定の情報を読み取るステップにおいて、前記複数の目印のうちの第1の目印を前記コード情報の読取処理の開始位置として読み取るとともに、前記第1の目印に隣接する、前記複数の目印のうちの第2の目印を前記コード情報の読取処理の終了位置として読み取ることによって、前記コード情報の読取処理を行う、
ことを特徴とする画像処理方法。 An image processing method using an image processing apparatus,
In an annular portion forming a substantially annular, and obtaining a plurality of code information is added Rutotomoni, an image obtained by capturing an object in which a plurality of landmarks are formed,
Identifying the plurality of landmarks in the acquired image;
Generating an image obtained by converting the annular portion into a perfect circle by performing projective transformation processing on the acquired image with reference to the positions of the plurality of identified landmarks;
Reading predetermined information from each of the plurality of code information in the acquired image based on the plurality of identified landmarks;
Only including,
Among the plurality of marks, the code information is located between two marks formed continuously along the circumferential direction of the annular portion,
In the step of reading predetermined information from each of the plurality of code information, the first mark of the plurality of marks is read as a start position of the reading process of the code information, and adjacent to the first mark. The code information reading process is performed by reading a second mark of the plurality of marks as an end position of the code information reading process.
An image processing method.
略円環状をなす円環部分に、複数のコード情報が付加されるとともに、複数の目印が形成された被写体を撮像した画像を取得する取得手段、
前記取得手段により取得された画像内で前記複数の目印を特定する特定手段、
前記特定手段により特定された前記複数の目印の位置を基準として、前記取得手段により取得された画像に対して射影変換処理を行うことで、前記円環部分を真円形状に変換した画像を生成する生成手段、
前記特定手段により特定された前記複数の目印に基づいて、前記取得手段により取得された画像内の前記複数のコード情報の各々から所定の情報を読み取る読取手段、
として機能させ、
前記複数の目印のうち、前記円環部分の周方向に沿って連続して形成された2つの目印どうしの間には、前記コード情報が位置しており、
前記読取手段により前記複数のコード情報の各々から所定の情報を読み取る場合に、前記複数の目印のうちの第1の目印を前記コード情報の読取処理の開始位置として読み取るとともに、前記第1の目印に隣接する、前記複数の目印のうちの第2の目印を前記コード情報の読取処理の終了位置として読み取ることによって、前記コード情報の読取処理を行う、
ことを特徴とするプログラム。 The computer of the image processing device
In an annular portion forming a substantially annular, the plurality of code information is added Rutotomoni, obtaining means for obtaining an image of the captured subject more landmarks are formed,
Specifying means for specifying the plurality of landmarks in the image acquired by the acquiring means;
By performing a projective transformation process on the image acquired by the acquisition unit on the basis of the positions of the plurality of landmarks specified by the specifying unit, an image in which the ring portion is converted into a perfect circle shape is generated. Generating means,
Reading means for reading predetermined information from each of the plurality of code information in the image acquired by the acquisition means based on the plurality of landmarks specified by the specifying means;
To function as,
Among the plurality of marks, the code information is located between two marks formed continuously along the circumferential direction of the annular portion,
When reading predetermined information from each of the plurality of code information by the reading unit, the first mark of the plurality of marks is read as a start position of the code information reading process, and the first mark The code information reading process is performed by reading a second mark of the plurality of marks adjacent to the code mark as an end position of the code information reading process.
A program characterized by that.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013164750A JP6286919B2 (en) | 2013-08-08 | 2013-08-08 | Image processing apparatus, image processing method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013164750A JP6286919B2 (en) | 2013-08-08 | 2013-08-08 | Image processing apparatus, image processing method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2015035042A JP2015035042A (en) | 2015-02-19 |
JP6286919B2 true JP6286919B2 (en) | 2018-03-07 |
Family
ID=52543544
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013164750A Active JP6286919B2 (en) | 2013-08-08 | 2013-08-08 | Image processing apparatus, image processing method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6286919B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022030222A1 (en) | 2020-08-07 | 2022-02-10 | 株式会社ニデック | Ophthalmic apparatus |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS58211343A (en) * | 1982-05-31 | 1983-12-08 | Sony Corp | Disk recording medium |
AU693572B2 (en) * | 1994-08-26 | 1998-07-02 | Becton Dickinson & Company | Circular bar code analysis method |
US7621459B2 (en) * | 2005-04-25 | 2009-11-24 | Direct Measurements Inc. | Concentric-ring circular bar code |
JP5080949B2 (en) * | 2007-11-28 | 2012-11-21 | アイフォーコム株式会社 | Image information with two-dimensional code, its generation device, printing device, reading method, reading device, reading program, and recording medium |
-
2013
- 2013-08-08 JP JP2013164750A patent/JP6286919B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2015035042A (en) | 2015-02-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5775977B2 (en) | Image processing apparatus, imaging apparatus, image processing method, and image processing program | |
US10171803B2 (en) | Image capturing apparatus, calibration method, and non-transitory computer-readable medium for calculating parameter for a point image restoration process | |
JP6031587B2 (en) | Imaging apparatus, signal processing method, and signal processing program | |
CN104346613B (en) | Image processing apparatus and image processing method | |
US20140093128A1 (en) | Threshold setting device for setting threshold used in binarization process, object detection device, threshold setting method, and computer readable storage medium | |
US9462205B2 (en) | Image processing device, imaging device, image processing method, and non-transitory computer readable medium | |
JP5862623B2 (en) | Image processing apparatus, image processing method, and program | |
JP5749409B2 (en) | Imaging apparatus, image processing method, and program | |
US20180139471A1 (en) | Method and system to refine coding of p-phase data | |
US10044914B2 (en) | Imaging system, imaging device, information processing device, method, and program | |
JP6286919B2 (en) | Image processing apparatus, image processing method, and program | |
JPWO2014065004A1 (en) | Imaging apparatus and focus control method thereof | |
JP2015036644A (en) | Information communication device, information communication system, information communication method, and program | |
JP5798696B2 (en) | Image processing apparatus, method, recording medium, program, and imaging apparatus | |
JP5680803B2 (en) | Image processing apparatus and method, and imaging apparatus | |
JP5858012B2 (en) | Image processing apparatus, image processing method, and program | |
JP2015056772A (en) | Image processing device, image processing method, and program | |
JP2016015590A (en) | Imaging device, control method therefor, and program | |
JP2006319614A (en) | Image sensor, camera module, and image sensing device | |
JP5928228B2 (en) | Subject detection apparatus, subject detection method, and program | |
JP2012014311A (en) | E-mail creation device and program | |
JP2019164449A (en) | Image processing apparatus, image processing method and program | |
US20230328375A1 (en) | Imaging apparatus, focus control method, and focus control program | |
JP6672779B2 (en) | Imaging device, imaging method, and program | |
JP6729583B2 (en) | Image processing apparatus and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20160728 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170330 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170509 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170710 |
|
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: 20180109 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180122 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6286919 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |