JP2007141290A - Data reproducing device, method, and program - Google Patents

Data reproducing device, method, and program Download PDF

Info

Publication number
JP2007141290A
JP2007141290A JP2005330105A JP2005330105A JP2007141290A JP 2007141290 A JP2007141290 A JP 2007141290A JP 2005330105 A JP2005330105 A JP 2005330105A JP 2005330105 A JP2005330105 A JP 2005330105A JP 2007141290 A JP2007141290 A JP 2007141290A
Authority
JP
Japan
Prior art keywords
dimensional image
data
detailed position
marker
pixel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005330105A
Other languages
Japanese (ja)
Inventor
Manabu Yamamoto
学 山本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tokyo University of Science
Original Assignee
Tokyo University of Science
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tokyo University of Science filed Critical Tokyo University of Science
Priority to JP2005330105A priority Critical patent/JP2007141290A/en
Publication of JP2007141290A publication Critical patent/JP2007141290A/en
Pending legal-status Critical Current

Links

Landscapes

  • Holo Graphy (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To highly accurately reproduce data without being affected by distortion of a recording medium. <P>SOLUTION: When deviation between positions of respective pixels of a reproduced image obtained from transmission light of a recording medium and positions of respective pixels of a CCD image sensor is present, as shown in (C), a luminance value becomes a smaller value (e.g. 204) than the maximum value 255 for a black color, it becomes a larger value (e.g. 51) than the minimum value 0 for a white color, and the luminance value is deviated from an original luminance value. Then a data position detecting part calculates deviation quantity according to following expression. Where, B<SB>MAX</SB>is the maximum luminance value, B<SB>NEW</SB>is the luminance value of a pixel being adjacent to the edge of a line marker, and a luminance value generated newly by deviation. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、記録媒体から読み出された画像に基づいてデータを再生するデータ再生装置に関する。   The present invention relates to a data reproducing apparatus that reproduces data based on an image read from a recording medium.

近年、ホログラムメモリを用いてディジタル情報を2次元画像として記録すると共にこれを再生するホログラム記録媒体の記録再生装置が提案されている。このような記録再生装置では、ホログラムメモリの記録密度を上げるために、ホログラムメモリに記録された2次元画像の解像度と、CCDイメージセンサ等の受光素子の解像度が対応するようになっている。   In recent years, a recording / reproducing apparatus for a hologram recording medium has been proposed in which digital information is recorded as a two-dimensional image using a hologram memory and reproduced. In such a recording / reproducing apparatus, in order to increase the recording density of the hologram memory, the resolution of the two-dimensional image recorded in the hologram memory corresponds to the resolution of the light receiving element such as a CCD image sensor.

上記記録再生装置の再生時では、ホログラムメモリを透過した透過光は、CCDイメージセンサにより取り込まれて再生画像となる。ここで、ホログラムメモリ自体に歪みが生じた場合、又はホログラムメモリとCCDイメージセンサとの相対的な位置にずれが生じた場合、再生画像に歪みが生じる。   At the time of reproduction by the recording / reproducing apparatus, the transmitted light that has passed through the hologram memory is captured by the CCD image sensor to become a reproduced image. Here, when distortion occurs in the hologram memory itself or when a relative position between the hologram memory and the CCD image sensor is shifted, distortion occurs in the reproduced image.

そこで、歪んで読み取られた再生画像に対して、効率的に歪みを補正する技術が提案されている(例えば特許文献1参照。)。特許文献1に記載された技術は、歪み補正の対象となる補正対象画像の所定位置に設けられた画素の座標と、歪み補正の基準とされる原画像の所定位置に設けられた基準画素の座標とを比較して歪み補正を行い、補正対象画像の画素の座標についての変形率を検出し、この変形率を用いて補正対象画像の全体に歪み補正を施す。
特開2003−78746号公報
Therefore, a technique for efficiently correcting distortion with respect to a reproduced image read with distortion has been proposed (see, for example, Patent Document 1). The technique described in Patent Document 1 is based on the coordinates of a pixel provided at a predetermined position of a correction target image to be a distortion correction target and a reference pixel provided at a predetermined position of an original image used as a reference for the distortion correction. The distortion is compared with the coordinates to detect the deformation rate of the pixel coordinates of the correction target image, and the entire correction target image is subjected to distortion correction using the deformation rate.
JP 2003-78746 A

ところで、CCDイメージセンサの所定の画素に正確に光が照射されてその画素の輝度値が最大値(8ビットの場合は255)になる場合において、再生画像に歪みが生じると、その画素に隣接する画素にも光が照射されてしまう。このため、所定の画素の輝度値が分散して、所定の画素の輝度値が低下すると共にそれに隣接する画素の輝度値が上がってしまい、輝度値の変動が生じてしまう。   By the way, when a predetermined pixel of the CCD image sensor is accurately irradiated with light and the luminance value of the pixel reaches the maximum value (255 in the case of 8 bits), if the reproduced image is distorted, the pixel is adjacent to the pixel. The light is also irradiated to the pixels that do. For this reason, the luminance value of a predetermined pixel is dispersed, the luminance value of the predetermined pixel is lowered, and the luminance value of a pixel adjacent to the predetermined pixel is increased, resulting in fluctuation of the luminance value.

このような1ピクセル未満のずれが生じた場合、再生画像の各画素の位置を高精度に検出して再生画像を補正しなければならない。しかし、特許文献1に記載された技術は、再生画像の各画素の位置を高精度に検出ことができないため、再生画像を十分に補正することができず、この結果、高精度にデータを再生することができなかった。   When such a shift of less than one pixel occurs, the position of each pixel in the reproduced image must be detected with high accuracy to correct the reproduced image. However, since the technique described in Patent Document 1 cannot accurately detect the position of each pixel of the reproduced image, the reproduced image cannot be sufficiently corrected. As a result, the data is reproduced with high accuracy. I couldn't.

本発明は、上述した課題を解決するために提案されたものであり、記録媒体の歪みの影響を受けることなく高精度にデータを再生するデータ再生装置、方法及びプログラムを提供することを目的とする。   The present invention has been proposed to solve the above-described problems, and an object thereof is to provide a data reproducing apparatus, method, and program for reproducing data with high accuracy without being affected by distortion of a recording medium. To do.

本発明に係るデータ再生装置は、2次元画像と、当該2次元画像近傍に配置された1ピクセル以上の幅を有するマーカと、が記録された記録媒体からの透過光に基づいて、前記2次元画像と前記マーカとを読み取る読取手段と、前記読取手段により読み取られた前記マーカの幅方向の各ピクセルの輝度値に基づいて、前記マーカの幅方向におけるずれ量を検出するずれ量検出手段と、前記ずれ量検出手段により検出されたずれ量に基づいて、前記読取手段により読み取られた2次元画像の詳細位置を検出する第1の詳細位置検出手段と、前記第1の詳細位置検出手段により詳細位置が検出された2次元画像からデータを再生するデータ再生手段と、を備えている。   The data reproduction apparatus according to the present invention is based on the transmitted light from a recording medium on which a two-dimensional image and a marker having a width of one pixel or more arranged in the vicinity of the two-dimensional image are recorded. A reading unit that reads an image and the marker, and a deviation amount detection unit that detects a deviation amount in the width direction of the marker based on the luminance value of each pixel in the width direction of the marker read by the reading unit; Based on the deviation amount detected by the deviation amount detection means, the first detailed position detection means for detecting the detailed position of the two-dimensional image read by the reading means, and the details by the first detailed position detection means. Data reproducing means for reproducing data from the two-dimensional image whose position is detected.

記録媒体には、2次元画像と、当該2次元画像近傍に配置された1ピクセル以上の幅を有するマーカが記録されている。なお、マーカの形状や個数は特に限定されるものではない。読取手段は、記録媒体からの透過光に基づいて、2次元画像とマーカとを読み取る。   In the recording medium, a two-dimensional image and a marker having a width of one pixel or more arranged in the vicinity of the two-dimensional image are recorded. Note that the shape and number of markers are not particularly limited. The reading unit reads the two-dimensional image and the marker based on the transmitted light from the recording medium.

ずれ量検出手段は、マーカの幅方向の各ピクセルの輝度値に基づいて、マーカの幅方向におけるずれ量を検出する。第1の詳細位置検出手段は、検出されたずれ量に基づいて、マーカの幅方向について2次元画像の詳細位置を検出する。そして、データ再生手段は、詳細位置が検出された2次元画像からデータを再生する。   The deviation amount detection means detects the deviation amount in the width direction of the marker based on the luminance value of each pixel in the width direction of the marker. The first detailed position detecting means detects the detailed position of the two-dimensional image in the width direction of the marker based on the detected shift amount. Then, the data reproduction means reproduces data from the two-dimensional image from which the detailed position is detected.

したがって、上記発明は、2次元画像のずれを検出して2次元画像からデータを再生するので、ずれの影響を受けることなく、高精度にデータを再生することができる。また、本発明は、ホログラム再生方法及びプログラムにも適用可能である。   Therefore, in the above invention, since the deviation of the two-dimensional image is detected and the data is reproduced from the two-dimensional image, the data can be reproduced with high accuracy without being affected by the deviation. The present invention is also applicable to a hologram reproduction method and program.

本発明に係るホログラム再生装置、方法及びプログラムは、記録媒体に記録された2次元画像のずれを検出して、2次元画像から高精度にデータを再生することができる。   The hologram reproducing apparatus, method, and program according to the present invention can detect a deviation of a two-dimensional image recorded on a recording medium and reproduce data from the two-dimensional image with high accuracy.

以下、本発明の好ましい実施の形態について図面を参照しながら詳細に説明する。   Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings.

図1は、本発明の実施の形態に係るホログラム記録媒体の記録再生装置の構成を示す図である。記録再生装置は、入力されるデータを符号化する符号化装置11と、符号化されたデータに基づいて後述する液晶パネル26を駆動させるドライバ12と、を備えている。   FIG. 1 is a diagram showing a configuration of a hologram recording medium recording / reproducing apparatus according to an embodiment of the present invention. The recording / reproducing apparatus includes an encoding device 11 that encodes input data, and a driver 12 that drives a liquid crystal panel 26 to be described later based on the encoded data.

図2は、符号化装置11の構成を示すブロック図である。符号化装置11は、入力されたデータに対して2次元符号化処理を行って2次元画像を生成する2次元符号化部51と、マーカ(位置検出マーカ及びラインマーカ)を追加するマーカ追加部52と、を備えている。   FIG. 2 is a block diagram illustrating a configuration of the encoding device 11. The encoding device 11 performs a two-dimensional encoding process on input data to generate a two-dimensional image, and a marker addition unit that adds markers (position detection markers and line markers). 52.

また、記録再生装置は、図1に示すように、レーザ光を出射するレーザ装置21と、レーザ光に位相差πを与えるλ/2板22と、レーザ光をP偏向(信号光)とS偏向(参照光)とに分離する偏向ビームスプリッタ23と、光の所定方向の振動成分をカットする検光子24、27と、光ビームを拡大するビームエキスパンダ25と、記録用の2次元画像を表示する液晶パネル26と、記録媒体100にビームを集束させるレンズ28と、を備えている。   Further, as shown in FIG. 1, the recording / reproducing apparatus includes a laser device 21 that emits laser light, a λ / 2 plate 22 that gives a phase difference π to the laser light, P-polarization (signal light), and S A deflection beam splitter 23 that separates the light into a deflection (reference light), analyzers 24 and 27 that cut vibration components in a predetermined direction of the light, a beam expander 25 that expands the light beam, and a two-dimensional image for recording. A liquid crystal panel 26 for display and a lens 28 for focusing the beam on the recording medium 100 are provided.

さらに、記録再生装置は、偏向ビームスプリッタ23からの参照光の進行方向を所定の方向に変えるミラー31と、参照光に位相差πを与えるλ/2板32と、光の所定方向の振動成分をカットする検光子33と、参照光の進行方向を記録媒体100に向けるミラー34と、いわゆるホログラムメモリである記録媒体100と、を備えている。   Further, the recording / reproducing apparatus includes a mirror 31 that changes the traveling direction of the reference light from the deflection beam splitter 23 to a predetermined direction, a λ / 2 plate 32 that gives a phase difference π to the reference light, and a vibration component in a predetermined direction of the light. And a mirror 34 that directs the traveling direction of the reference light toward the recording medium 100, and a recording medium 100 that is a so-called hologram memory.

さらに、記録再生装置は、記録媒体100からの透過光をほぼ平行光にするレンズ41と、レンズ41からの光を検出するCCDイメージセンサ42と、CCDイメージセンサ42で検出された光の信号をディジタル信号に変換するA/D変換器43と、ディジタル信号を復号する復号装置44と、を備えている。なお、液晶パネル26に表示されるイメージパターンの各々画素は、CCDイメージセンサ42の各々の画素に対応している。   Further, the recording / reproducing apparatus includes a lens 41 that makes the transmitted light from the recording medium 100 substantially parallel light, a CCD image sensor 42 that detects light from the lens 41, and a light signal detected by the CCD image sensor 42. An A / D converter 43 for converting into a digital signal and a decoding device 44 for decoding the digital signal are provided. Each pixel of the image pattern displayed on the liquid crystal panel 26 corresponds to each pixel of the CCD image sensor 42.

図3は、復号装置44の構成を示すブロック図である。復号装置44は、2次元画像及びマーカの位置を検出するデータ位置検出部61と、2次元画像の歪みを補正する歪み補正部62と、補正された2次元画像からデータを取り出すデータ取出し部63と、取り出されたデータを復号する復号部64と、を備えている。   FIG. 3 is a block diagram illustrating a configuration of the decoding device 44. The decoding device 44 includes a data position detection unit 61 that detects the positions of the two-dimensional image and the marker, a distortion correction unit 62 that corrects distortion of the two-dimensional image, and a data extraction unit 63 that extracts data from the corrected two-dimensional image. And a decoding unit 64 for decoding the extracted data.

以上のように構成された記録再生装置は、記録時、再生時では、それぞれ次のように動作する。   The recording / reproducing apparatus configured as described above operates as follows during recording and reproduction.

[記録動作]
符号化装置11の2次元符号化部51は、データが入力されると、そのデータに2次元符号化処理を施して2次元画像を生成する。マーカ追加部52は、2次元符号化部51で生成された四角形状の2次元画像の四隅の近傍にそれぞれ位置検出マーカを追加すると共に、位置検出マーカ間にライン状のラインマーカを追加する。そして、マーカ追加部52は、2次元画像及び各マーカのデータをドライバ12に供給する。ドライバ12は、符号化装置11から供給されたデータに基づいて液晶パネル26を駆動させる。このため、液晶パネル26には、イメージパターンが表示されている。
[Recording operation]
When the data is input, the two-dimensional encoding unit 51 of the encoding device 11 performs a two-dimensional encoding process on the data to generate a two-dimensional image. The marker adding unit 52 adds position detection markers near the four corners of the rectangular two-dimensional image generated by the two-dimensional encoding unit 51, and adds a line-shaped line marker between the position detection markers. Then, the marker adding unit 52 supplies the two-dimensional image and each marker data to the driver 12. The driver 12 drives the liquid crystal panel 26 based on the data supplied from the encoding device 11. Therefore, an image pattern is displayed on the liquid crystal panel 26.

一方、レーザ装置21から出射されたレーザ光は、λ/2板22を介して、偏向ビームスプリッタ23で信号レーザ光と参照レーザ光とに分けられる。   On the other hand, the laser beam emitted from the laser device 21 is divided into a signal laser beam and a reference laser beam by the deflection beam splitter 23 via the λ / 2 plate 22.

偏向ビームスプリッタ23により得られた信号レーザ光は、検光子24を介して、ビームエキスパンダ25により広げられ、液晶パネル26を透過して、レンズ28で集光され、ホログラム記録媒体100に照射する。   The signal laser beam obtained by the deflecting beam splitter 23 is spread by the beam expander 25 through the analyzer 24, passes through the liquid crystal panel 26, is collected by the lens 28, and is applied to the hologram recording medium 100. .

また、偏向ビームスプリッタ23により得られた参照レーザ光は、ミラー31で反射された後、λ/2板32、検光子33を介して、再びミラー34で反射され、ホログラム記録媒体100に入射する。   The reference laser beam obtained by the deflecting beam splitter 23 is reflected by the mirror 31, then reflected again by the mirror 34 via the λ / 2 plate 32 and the analyzer 33, and enters the hologram recording medium 100. .

信号レーザ光と参照レーザ光とは、ホログラム記録媒体100の記録層中で光干渉を起こす。このため、液晶パネル26で形成されたイメージパターンが干渉縞として記録媒体100に記録される。この干渉縞がホログラム画像(再生時は再生画像)となる。   The signal laser beam and the reference laser beam cause optical interference in the recording layer of the hologram recording medium 100. Therefore, the image pattern formed by the liquid crystal panel 26 is recorded on the recording medium 100 as interference fringes. This interference fringe becomes a hologram image (reproduced image at the time of reproduction).

図4(A)は記録媒体100に記録されたホログラム画像を示す図、(B)はホログラム画像の要部拡大図である。液晶パネル26で形成されたイメージパターンが、そのままホログラム記録媒体100に記録されている。同図(A)に示すように、2次元画像の四隅近傍には、それぞれ正方形状の位置検出マーカが設けられている。位置検出マーカの画像サイズは、例えば9×9ピクセルである。各位置検出マーカ間には、2次元画像の各辺に平行なラインマーカが設けられている。同図(B)に示すように、ラインマーカの幅は3ピクセルである。   4A is a diagram showing a hologram image recorded on the recording medium 100, and FIG. 4B is an enlarged view of a main part of the hologram image. The image pattern formed by the liquid crystal panel 26 is recorded on the hologram recording medium 100 as it is. As shown in FIG. 4A, square position detection markers are provided in the vicinity of the four corners of the two-dimensional image. The image size of the position detection marker is 9 × 9 pixels, for example. Between each position detection marker, a line marker parallel to each side of the two-dimensional image is provided. As shown in FIG. 5B, the width of the line marker is 3 pixels.

[再生動作]
再生時においては、信号レーザ光は図示しないシャッターによって遮られる。このため、参照レーザ光のみがホログラム記録媒体100に入射する。
[Playback operation]
During reproduction, the signal laser beam is blocked by a shutter (not shown). For this reason, only the reference laser beam is incident on the hologram recording medium 100.

ホログラム記録媒体100のホログラム記録層に記録されたホログラム画像に参照レーザ光が入射すると、記録時の信号レーザ光の集束球面波が発散球面波として再生され、その再生波面がレンズ41を通過する。そして、記録時に液晶パネル26で形成されたイメージパターン(再生画像)がCCDイメージセンサ16の撮像面上に結像する。CCDイメージセンサ16は、この再生画像を電気信号に変換し、A/D変換器43を介して、復号装置44に供給する。   When the reference laser beam is incident on the hologram image recorded on the hologram recording layer of the hologram recording medium 100, the focused spherical wave of the signal laser beam at the time of recording is reproduced as a divergent spherical wave, and the reproduced wavefront passes through the lens 41. Then, an image pattern (reproduced image) formed on the liquid crystal panel 26 during recording forms an image on the imaging surface of the CCD image sensor 16. The CCD image sensor 16 converts the reproduced image into an electric signal and supplies it to the decoding device 44 via the A / D converter 43.

復号装置44のデータ位置検出部61は、再生画像に含まれる2次元画像及びマーカの位置を検出すべく、次の処理を行う。   The data position detection unit 61 of the decoding device 44 performs the following processing to detect the positions of the two-dimensional image and the marker included in the reproduced image.

図5は、データ位置検出部61のデータ検出ルーチンを示すフローチャートである。すなわち、データ位置検出部61は、A/D変換器43から再生画像のデータが供給されると、次のステップS1移行の処理を実行する。   FIG. 5 is a flowchart showing a data detection routine of the data position detection unit 61. That is, when the data of the reproduced image is supplied from the A / D converter 43, the data position detection unit 61 executes the next step S1 transition process.

ステップS1では、データ位置検出部61は、再生画像から2次元画像付近の画像を切り出して、ステップS2に移行する。   In step S1, the data position detection unit 61 cuts out an image near the two-dimensional image from the reproduced image, and proceeds to step S2.

図6(A)は再生画像、(B)は2次元画像の付近の画像、(C)は位置検出マーカ付近の画像を示す図である。再生画像は、CCDイメージセンサ42により検出された画像全体であり、同図(A)に示すように、その中心部に2次元画像やマーカを含んでいる。2次元画像付近の画像は、同図(B)に示すように、4つの位置検出マーカで囲まれ、かつ2次元画像の存在する領域を含んでいる。   6A is a reproduced image, FIG. 6B is an image near the two-dimensional image, and FIG. 6C is a diagram showing an image near the position detection marker. The reproduced image is the entire image detected by the CCD image sensor 42 and includes a two-dimensional image and a marker at the center thereof as shown in FIG. The image in the vicinity of the two-dimensional image includes an area where the two-dimensional image exists, as shown in FIG.

ステップS2では、データ位置検出部61は、2次元画像付近の画像から4つのマーカ付近の画像を切り出して、ステップS3に移行する。マーカ付近の画像は、図6(C)に示すように、中心部に位置検出マーカを含んだ例えば60×60ピクセルの画像であり、2次元画像付近の画像から4つに切り出される。  In step S2, the data position detection unit 61 cuts out images near the four markers from the image near the two-dimensional image, and proceeds to step S3. As shown in FIG. 6C, the image near the marker is, for example, an image of 60 × 60 pixels including a position detection marker at the center, and is cut out into four from the image near the two-dimensional image.

ステップ3では、データ位置検出部61は、4つの位置検出マーカについて各々の整数座標を示す粗位置を検出して、ステップS3に移行する。ステップS3では、テンプレートマッチング処理が行われる。   In step 3, the data position detection unit 61 detects coarse positions indicating the respective integer coordinates for the four position detection markers, and proceeds to step S3. In step S3, template matching processing is performed.

図7は、位置検出マーカのテンプレート画像を示す図である。図8は、テンプレートマッチング処理を説明するための図である。テンプレート画像の画像サイズは、9×9ピクセルである。   FIG. 7 is a diagram illustrating a template image of the position detection marker. FIG. 8 is a diagram for explaining the template matching process. The image size of the template image is 9 × 9 pixels.

データ位置検出部61は、図6(C)に示すマーカ付近の画像に対して、図7に示すテンプレート画像を1画素ずつずらしながら、テンプレートマッチング処理を行い、ラスタースキャンしたすべての点において評価尺度を求める。ここで、評価尺度は、例えば、テンプレート画像の各画素の輝度値と、各画素に対応するマーカ付近の画像の各画素の輝度値と、の差分の総和とする。なお、本実施形態では、輝度値は、0から255の8ビットで表されるものとする。   The data position detection unit 61 performs template matching processing on the image near the marker shown in FIG. 6C while shifting the template image shown in FIG. 7 pixel by pixel, and evaluates the evaluation scale at all raster scanned points. Ask for. Here, the evaluation scale is, for example, the sum of the differences between the luminance value of each pixel of the template image and the luminance value of each pixel of the image near the marker corresponding to each pixel. In the present embodiment, the luminance value is represented by 8 bits from 0 to 255.

具体的には、マーカ付近の画像の濃度値(画素値)をf(i,j)(i及びjは座標)、テンプレート画像の画素値をt(k,l)(k及びlは座標)、テンプレートの画像サイズをm×nとすると、マーカ付近の画像とテンプレート画像の類似度を表す差分総和の評価尺度d(i,j)は式(1)となる。   Specifically, the density value (pixel value) of the image near the marker is f (i, j) (i and j are coordinates), and the pixel value of the template image is t (k, l) (k and l are coordinates). When the image size of the template is m × n, the evaluation scale d (i, j) for the sum of differences representing the degree of similarity between the image near the marker and the template image is expressed by Equation (1).

式(1)において、f(i+k,j+1)はマーカ付近の画像の輝度値(0から255)、t(k,l)はテンプレート画像の輝度値(0から255)である。この評価尺度は、マーカ付近の画像のある座標(i,j)において、テンプレート画像の重なっている範囲で、輝度値の差の絶対値を合計したものであり、
データ位置検出部61は、式(1)を演算して、マーカ付近の画像のすべてのピクセルに対して評価尺度を求める。そして、データ位置検出部61は、評価尺度が最も小さくなったときのマーカ付近の画像に対するテンプレート画像の位置をマッチング位置として、そのマッチング位置の粗位置(整数座標)を求める。さらに、データ位置検出部61は、その他の3つの位置検出マーカについても同様にして粗位置を求める。
In Expression (1), f (i + k, j + 1) is the luminance value (0 to 255) of the image near the marker, and t (k, l) is the luminance value (0 to 255) of the template image. This evaluation scale is a sum of absolute values of luminance value differences in a range where template images overlap at a certain coordinate (i, j) of an image near the marker,
The data position detection unit 61 calculates Equation (1) to obtain an evaluation scale for all pixels in the image near the marker. Then, the data position detection unit 61 obtains the rough position (integer coordinates) of the matching position, using the position of the template image with respect to the image near the marker when the evaluation scale is the smallest as the matching position. Further, the data position detection unit 61 obtains a coarse position in the same manner for the other three position detection markers.

なお、データ位置検出部61は、評価尺度として、式(2)で表される相関総和を用いてもよい。   Note that the data position detection unit 61 may use the correlation sum represented by the expression (2) as an evaluation scale.

式(2)は、輝度値の積の絶対値を合計したものであり、値が大きいほど類似性が高いことを示す。すなわち、データ位置検出部61は、式(2)で表されるd(i,j)のうち最も値の大きい座標を検出すればよい。   Equation (2) is the sum of the absolute values of the products of the luminance values, and the larger the value, the higher the similarity. That is, the data position detection unit 61 may detect the coordinate having the largest value among d (i, j) represented by the equation (2).

ステップS4では、データ位置検出部61は、2次元画像付近の画像に含まれる各ラインマーカの各々の幅方向のずれ量を検出する。ずれ量とは、記録媒体100の透過光より得られる再生画像の各ピクセルの位置と、透過光を受光するCCDイメージセンサ42の各ピクセルの位置とのずれ量をいう。   In step S4, the data position detection unit 61 detects the amount of shift in the width direction of each line marker included in the image near the two-dimensional image. The shift amount is the shift amount between the position of each pixel of the reproduced image obtained from the transmitted light of the recording medium 100 and the position of each pixel of the CCD image sensor 42 that receives the transmitted light.

図9(A)はずれ量がないときにCCDイメージセンサ42で検出されるラインマーカの各ピクセルの輝度値を示す図、(B)はずれ量が0.2ピクセルであるときのラインマーカの状態を示す図、(C)はずれ量が0.2ピクセルのときにCCDイメージセンサ42で検出されるラインマーカの各ピクセルの輝度値を示す図である。   FIG. 9A shows the luminance value of each pixel of the line marker detected by the CCD image sensor 42 when there is no deviation amount, and FIG. 9B shows the state of the line marker when the deviation amount is 0.2 pixel. FIG. 8C is a diagram showing the luminance value of each pixel of the line marker detected by the CCD image sensor 42 when the shift amount is 0.2 pixels.

記録媒体100の透過光より得られる再生画像の各ピクセルの位置とCCDイメージセンサ42の各ピクセルの位置がそれぞれ完全に対応しているときは、図9(A)に示すように、ラインマーカのピクセルの輝度値は、黒色に対しては最小値0、白色に対しては最大値255になる。   When the position of each pixel of the reproduced image obtained from the transmitted light of the recording medium 100 completely corresponds to the position of each pixel of the CCD image sensor 42, as shown in FIG. The luminance value of the pixel has a minimum value of 0 for black and a maximum value of 255 for white.

しかし、ずれ量がある場合は、同図(C)に示すように、輝度値が黒色に対しては最大値255より小さな値(本実施形態では例えば204)になったり、白色に対しては最小値0より大きな値(本実施形態では例えば51)になったりして、本来の輝度値からずれてしまう。   However, if there is a deviation amount, the luminance value is smaller than the maximum value 255 (eg, 204 in the present embodiment) for black as shown in FIG. It becomes a value larger than the minimum value 0 (for example, 51 in this embodiment), and deviates from the original luminance value.

そこで、データ位置検出部61は、次の式(3)に従ってずれ量を演算する。   Therefore, the data position detection unit 61 calculates a deviation amount according to the following equation (3).

ここで、BMAXは、最大輝度値であり、本実施形態では255である。図9(C)に示すように、BNEWは、ラインマーカのエッジに隣接するピクセルの輝度値であり、ずれによって新たに生じた輝度値である。なお、データ位置検出部61は、1箇所のみでラインマーカの幅方向のずれ量を検出するのではなく、ずれ量検出に十分なサンプル数を得ることができるまで当該ラインマーカの様々な箇所で、ずれ量を検出する。 Here, B MAX is the maximum luminance value, and is 255 in this embodiment. As shown in FIG. 9C, B NEW is a luminance value of a pixel adjacent to the edge of the line marker, and is a luminance value newly generated due to a shift. Note that the data position detection unit 61 does not detect the shift amount in the width direction of the line marker at only one location, but at various locations on the line marker until a sufficient number of samples can be obtained for detection of the shift amount. The amount of deviation is detected.

ステップS5では、データ位置検出部61は、検出されたすれ量に基づいて、最初にマーカ付近の画像のずれを戻し、次に再生画像のずれを戻す処理を行う。ここでは主に、マーカ付近の画像のずれを戻すことについて説明する。   In step S5, the data position detection unit 61 performs a process of first returning the shift of the image near the marker and then returning the shift of the reproduced image based on the detected amount of blur. Here, the description will be mainly given of returning the shift of the image near the marker.

図10は、再生画像のピクセルとCCDイメージセンサ42のピクセルとのずれを示す図である。A1、A2、A3、A4は、CCDイメージセンサ42の各ピクセル(点線で囲まれた領域)の輝度値を示す。B1、B2、B3、B4は、再生画像の各ピクセル(実線で囲まれた領域)の輝度値を示す。fxはx方向のずれ量、fyはy方向のずれ量である。そこで、データ位置検出部61は、次の式(4)に従って、B4の輝度値を演算する。   FIG. 10 is a diagram showing a deviation between the pixel of the reproduced image and the pixel of the CCD image sensor 42. A 1, A 2, A 3, and A 4 indicate the luminance value of each pixel (area surrounded by a dotted line) of the CCD image sensor 42. B1, B2, B3, and B4 indicate the luminance value of each pixel (region surrounded by a solid line) of the reproduced image. fx is a shift amount in the x direction, and fy is a shift amount in the y direction. Therefore, the data position detection unit 61 calculates the luminance value of B4 according to the following equation (4).

なお、A4の座標を(i,j)とすると、
A1(i−1,j−1)、A2( i ,j−1)、A3(i−1, j )
となる。
If the coordinates of A4 are (i, j),
A1 (i-1, j-1), A2 (i, j-1), A3 (i-1, j)
It becomes.

ここで、得られた再生画像よりB4の輝度値が得られる。A1、A2、A3、fx、fyも既知の値である。そして、データ位置検出部61は、式(5)に従って、A4を演算する。   Here, a luminance value of B4 is obtained from the obtained reproduced image. A1, A2, A3, fx, and fy are also known values. Then, the data position detection unit 61 calculates A4 according to the equation (5).

これにより、データ位置検出部61は、切り出したマーカ付近の画像の位置ずれを戻すことができる。更に同様にして、データ位置検出部61は、再生画像についても位置ずれを戻す処理を行って、ステップS6に移行する。   Thereby, the data position detection part 61 can return the position shift of the image near the clipped marker. Further, similarly, the data position detection unit 61 performs a process for returning the positional deviation for the reproduced image, and proceeds to step S6.

ステップS6では、データ位置検出部61は、再生画像の統計的詳細位置を検出する。統計的詳細位置とは、ピクセルの小数点単位の位置をいう。具体的には、データ位置検出部61は、再生画像に対して、1ピクセルをn×nの画素数で表現するピクセル数の拡大(高解像度化)を行う。ただし、n×nの画素値は、元の画素の画素値とする。データ位置検出部61は、位置検出マーカについても同様に統計的詳細位置を検出する。これにより、例えばn=10の場合、データ位置検出部61は、1/10ピクセル単位で、再生画像及び位置検出マーカの各ピクセルの座標位置を検出できる。   In step S6, the data position detector 61 detects the statistical detailed position of the reproduced image. Statistical detail position refers to the position of the pixel in decimal units. Specifically, the data position detection unit 61 performs enlargement (higher resolution) of the number of pixels expressing one pixel by the number of pixels of n × n with respect to the reproduced image. However, the pixel value of n × n is the pixel value of the original pixel. The data position detector 61 similarly detects the statistical detailed position for the position detection marker. Thereby, for example, when n = 10, the data position detection unit 61 can detect the coordinate position of each pixel of the reproduced image and the position detection marker in units of 1/10 pixel.

ここで、データ位置検出部61は、統計的な手法を用いることによって詳細座標位置を求める。例えば式(1)の評価尺度を用いたときの類似度の集合をAとする。データ位置検出部61は、この集合Aから類似度の高い座標点をk個選び出し(評価尺度が最も小さい座標点から順にk個選び出し)、その集合をBとし、次の式(6)及び(7)に従って集合Bの座標分布から平均座標値を算出する。   Here, the data position detection unit 61 obtains the detailed coordinate position by using a statistical method. For example, let A be a set of similarities when using the evaluation scale of equation (1). The data position detection unit 61 selects k coordinate points having a high similarity from the set A (k coordinate points having the smallest evaluation scale are selected in order), and sets the set B as the following equations (6) and (6). 7) The average coordinate value is calculated from the coordinate distribution of set B according to 7).

なお、P’は集合Bの各座標位置のx座標を表し、P’は集合Bの各座標位置のy座標を表す。このようにして算出された平均座標値は、統計的理論により、詳細位置座標として確からしい値になる。 P x ′ represents the x coordinate of each coordinate position of the set B, and P y ′ represents the y coordinate of each coordinate position of the set B. The average coordinate value calculated in this way is a probable value as the detailed position coordinate by statistical theory.

図11は、再生画像においてn=10、k=100としたときの類似度分布を示す図である。白色の部分は、類似度が最も高い座標を示す。そして、白色から黒色になるに従って、類似度が低くなっている。(a、a)は、類似度がもっとも高い座標であり、粗位置座標とほぼ一致する。(p、p)は、詳細座標位置を示している。 FIG. 11 is a diagram showing a similarity distribution when n = 10 and k = 100 in a reproduced image. A white part shows the coordinate with the highest similarity. The degree of similarity decreases as the color changes from white to black. (A x , a y ) are coordinates having the highest degree of similarity and substantially coincide with the coarse position coordinates. (P x , p y ) indicates the detailed coordinate position.

図12は、詳細位置検出法の有効性を示す図である。ここでは、画素拡大率n=10、類似度の選出個数k=100とした。そして、いくつかの異なった評価サンプル(再生画像)を用意し、(a)粗位置検出だけを行った後に歪み補正を行った場合と、(b)粗位置検出及び詳細位置検出の両方を行った後に歪み補正を行った場合のエラー数を比較した。同図に示すように、粗位置検出及び詳細位置検出の両方を行った場合は、粗位置検出だけを行った場合よりもエラー数を1/200から1/100までに低減することができた。これは、詳細位置を検出することにより小数点以下の値まで座標位置が求められ、歪み補正がより正確に行われたためである。   FIG. 12 is a diagram showing the effectiveness of the detailed position detection method. Here, the pixel enlargement ratio n = 10 and the number of selected similarity k = 100. Then, several different evaluation samples (reproduced images) are prepared, and (a) distortion correction is performed after only coarse position detection, and (b) both coarse position detection and detailed position detection are performed. After that, the number of errors when the distortion correction was performed was compared. As shown in the figure, when both the coarse position detection and the detailed position detection are performed, the number of errors can be reduced from 1/200 to 1/100, compared with the case where only the coarse position detection is performed. . This is because by detecting the detailed position, the coordinate position is obtained to a value below the decimal point, and distortion correction is performed more accurately.

ステップS7では、データ位置検出部61は、すべての位置検出マーカについてステップS3からステップS6までの処理を行ったかを判定する。そして、データ位置検出部61は、否定判定のときはステップS3に戻って未処理の位置検出マーカについてステップS3以降の処理を実行し、肯定判定のときはステップS8に移行する。この結果、データ位置検出部61は、切り出した再生画像に対してずれを戻す処理を4回繰り返し行うので、より正確に再生画像のずれを戻すことができる。   In step S7, the data position detection unit 61 determines whether the processes from step S3 to step S6 have been performed for all the position detection markers. Then, the data position detection unit 61 returns to step S3 when a negative determination is made, executes the processes after step S3 for an unprocessed position detection marker, and proceeds to step S8 when a positive determination is made. As a result, the data position detection unit 61 repeatedly performs the process of returning the shift on the cut out reproduced image four times, so that the shift of the reproduced image can be returned more accurately.

ステップS8では、データ位置検出部61は、上述したずれ量を用いて位置検出マーカの中心座標を検出して、一連の処理を終了する。データ位置検出部61は、上述した処理を終了すると、その処理結果を歪み補正部62に供給する。   In step S8, the data position detection unit 61 detects the center coordinates of the position detection marker using the above-described shift amount, and ends the series of processes. When the data position detection unit 61 ends the above-described processing, the data position detection unit 61 supplies the processing result to the distortion correction unit 62.

歪み補正部62は、データ位置検出部61によってずれが戻された再生画像の位置と、ずれが戻された4つの位置検出マーカとに基づいて、再生画像の歪み量を検出し、再生画像の歪みを補正する。   The distortion correction unit 62 detects the distortion amount of the reproduced image based on the position of the reproduced image whose deviation has been returned by the data position detection unit 61 and the four position detection markers whose deviation has been restored. Correct distortion.

データ取出し部63は、歪みが補正された再生画像からデータを取り出し、取り出したデータを復号部64に供給する。復号部64は、データ取出し部63から供給されたデータを復号する。   The data extraction unit 63 extracts data from the reproduced image whose distortion has been corrected, and supplies the extracted data to the decoding unit 64. The decryption unit 64 decrypts the data supplied from the data extraction unit 63.

以上のように、本発明の実施形態に係るホログラム再生装置は、2次元画像とその近傍に配置されたラインマーカとが記録された記録媒体100からの透過光に基づいて、再生画像を生成する。そして、ホログラム再生装置は、再生画像に含まれるラインマーカのエッジの輝度値に基づいて、再生画像のピクセル位置とCCDイメージセンサ42のピクセル位置のずれ量を検出し、そのずれ量に基づいて2次元画像を元の位置に戻し、歪み補正を行い、復号処理を行う。このため、上記ホログラム再生装置は、2次元画像のずれを戻してから、歪み補正等を行うので、従来に比べて高精度にデータを復号することができる。   As described above, the hologram reproduction apparatus according to the embodiment of the present invention generates a reproduction image based on the transmitted light from the recording medium 100 on which the two-dimensional image and the line marker arranged in the vicinity thereof are recorded. . Then, the hologram reproducing device detects the amount of deviation between the pixel position of the reproduced image and the pixel position of the CCD image sensor 42 based on the luminance value of the edge of the line marker included in the reproduced image, and 2 based on the amount of deviation. The dimensional image is returned to the original position, distortion correction is performed, and decoding processing is performed. For this reason, since the hologram reproducing apparatus performs distortion correction after restoring the shift of the two-dimensional image, data can be decoded with higher accuracy than in the past.

上記ホログラム再生装置は、特に、ラインマーカのエッジに隣接するピクセルの輝度値に基づいてずれ量を検出するので、ピクセル未満のずれ量を正確に検出することができ、その結果、従来に比べて大幅にエラー数を減らして、高精度にデータを復号することができる。   In particular, the hologram reproducing apparatus detects the amount of deviation based on the luminance value of the pixel adjacent to the edge of the line marker, and thus can accurately detect the amount of deviation less than the pixel. Data can be decoded with high accuracy by greatly reducing the number of errors.

なお、本発明は、上述した実施の形態に限定されるものではなく、特許請求の範囲に記載された範囲内で設計上の変更をされたものにも適用可能であるのは勿論である。   Note that the present invention is not limited to the above-described embodiment, and it is needless to say that the present invention can also be applied to a design modified within the scope of the claims.

上述した実施の形態では、ずれ量を検出するために記録媒体100にラインマーカを設けたが、本発明はこれに限定されるものではない。すなわち、記録媒体100に、N(Nは奇数。)ピクセルの幅を二値(白及び黒)で表したマーカがあればよい。よって、このようなマーカはライン状に限られるものではなく、例えば複数のマーカであってもよい。また、本実施形態では、マーカ部分が白色でその周囲は黒色であったが、これに限定されるものではなく、マーカ部分が黒色でその周囲が白色であってもよい。   In the above-described embodiment, the line marker is provided on the recording medium 100 in order to detect the shift amount, but the present invention is not limited to this. In other words, the recording medium 100 only needs to have a marker that represents the width of N (N is an odd number) pixel in binary (white and black). Therefore, such a marker is not limited to a line shape, and may be a plurality of markers, for example. In the present embodiment, the marker portion is white and the surrounding area is black. However, the present invention is not limited to this, and the marker portion may be black and the surrounding area may be white.

また、上述した実施形態では、ラインマーカの幅(白色部分)は3ピクセルであったが、1以上のピクセルであればよい。   In the above-described embodiment, the width (white portion) of the line marker is 3 pixels, but it may be one or more pixels.

さらに、本発明は、ホログラム記録媒体からデータを再生するホログラム再生装置だけでなく、2次元バーコード(例えばQRコード)からデータを再生する2次元バーコード再生装置にも適用可能である。すなわち、記録媒体100を紙媒体にし、2次元画像を2次元バーコードにしてもよい。   Furthermore, the present invention can be applied not only to a hologram reproducing apparatus that reproduces data from a hologram recording medium, but also to a two-dimensional barcode reproducing apparatus that reproduces data from a two-dimensional barcode (for example, QR code). That is, the recording medium 100 may be a paper medium, and the two-dimensional image may be a two-dimensional barcode.

例えば、2次元バーコードの1つであるQRコードは、位置検出パターンである3つの切出しシンボルと、各セルの中心位置を求めるためのタイミングパターンと、コード化されたデータであるデータセルと、余白スペースであるマージンとで構成されており、上述した2次元画像及び位置検出マーカと容易に置換可能である。   For example, a QR code, which is one of two-dimensional barcodes, includes three extracted symbols that are position detection patterns, a timing pattern for determining the center position of each cell, a data cell that is encoded data, The margin is a margin space, and can be easily replaced with the above-described two-dimensional image and position detection marker.

本発明の実施の形態に係るホログラム記録媒体の記録再生装置の構成を示す図である。It is a figure which shows the structure of the recording / reproducing apparatus of the hologram recording medium which concerns on embodiment of this invention. 符号化装置の構成を示すブロック図である。It is a block diagram which shows the structure of an encoding apparatus. 復号装置の構成を示すブロック図である。It is a block diagram which shows the structure of a decoding apparatus. (A)は記録媒体に記録されたホログラム画像を示す図、(B)はホログラム画像の要部拡大図である。(A) is a figure which shows the hologram image recorded on the recording medium, (B) is a principal part enlarged view of a hologram image. データ位置検出部のデータ検出ルーチンを示すフローチャートである。It is a flowchart which shows the data detection routine of a data position detection part. (A)は再生画像、(B)は2次元画像の付近の画像、(C)は位置検出マーカ付近の画像を示す図である。(A) is a reproduced image, (B) is an image near the two-dimensional image, and (C) is an image near the position detection marker. 位置検出マーカのテンプレート画像を示す図である。It is a figure which shows the template image of a position detection marker. テンプレートマッチング処理を説明するための図である。It is a figure for demonstrating a template matching process. (A)はずれ量がないときにCCDイメージセンサで検出されるラインマーカの各ピクセルの輝度値を示す図、(B)はずれ量が0.2ピクセルであるときのラインマーカの状態を示す図、(C)はずれ量が0.2ピクセルのときにCCDイメージセンサで検出されるラインマーカの各ピクセルの輝度値を示す図である。(A) is a diagram showing the luminance value of each pixel of the line marker detected by the CCD image sensor when there is no deviation amount, (B) is a diagram showing the state of the line marker when the deviation amount is 0.2 pixels, (C) is a figure which shows the luminance value of each pixel of the line marker detected by a CCD image sensor when deviation | shift amount is 0.2 pixel. 再生画像のピクセルとCCDイメージセンサのピクセルとのずれを示す図である。It is a figure which shows the shift | offset | difference of the pixel of a reproduced image, and the pixel of a CCD image sensor. 再生画像においてn=10、k=100としたときの類似度分布を示す図である。It is a figure which shows similarity distribution when n = 10 and k = 100 in a reproduction | regeneration image. 詳細位置検出法の有効性を示す図である。It is a figure which shows the effectiveness of a detailed position detection method.

符号の説明Explanation of symbols

61 データ位置検出部
62 歪み補正部
63 データ取出し部
64 復号部
100 記録媒体
61 Data position detection unit 62 Distortion correction unit 63 Data extraction unit 64 Decoding unit 100 Recording medium

Claims (7)

2次元画像と、当該2次元画像近傍に配置された1ピクセル以上の幅を有するマーカと、が記録された記録媒体からの透過光に基づいて、前記2次元画像と前記マーカとを読み取る読取手段と、
前記読取手段により読み取られた前記マーカの幅方向の各ピクセルの輝度値に基づいて、前記マーカの幅方向におけるずれ量を検出するずれ量検出手段と、
前記ずれ量検出手段により検出されたずれ量に基づいて、前記読取手段により読み取られた2次元画像の詳細位置を検出する第1の詳細位置検出手段と、
前記第1の詳細位置検出手段により詳細位置が検出された2次元画像からデータを再生するデータ再生手段と、
を備えたデータ再生装置。
Reading means for reading the two-dimensional image and the marker based on transmitted light from a recording medium on which a two-dimensional image and a marker having a width of 1 pixel or more arranged in the vicinity of the two-dimensional image are recorded When,
A deviation amount detection means for detecting a deviation amount in the width direction of the marker based on the luminance value of each pixel in the width direction of the marker read by the reading means;
First detailed position detecting means for detecting a detailed position of the two-dimensional image read by the reading means based on the amount of deviation detected by the deviation amount detecting means;
Data reproducing means for reproducing data from the two-dimensional image whose detailed position is detected by the first detailed position detecting means;
A data reproducing apparatus comprising:
前記ずれ量検出手段は、前記マーカのエッジに隣接するピクセルの輝度値に基づいて、前記ずれ量を検出する
請求項1に記載のデータ再生装置。
The data reproducing apparatus according to claim 1, wherein the shift amount detection unit detects the shift amount based on a luminance value of a pixel adjacent to an edge of the marker.
前記第1の詳細位置検出手段により詳細位置が検出された2次元画像を拡大して、当該2次元画像の詳細位置を検出する第2の詳細位置検出手段を更に備え、
前記データ再生手段は、前記第2の詳細位置検出手段により詳細位置が検出された2次元画像からデータを再生する
請求項1または請求項2に記載のデータ再生装置。
A second detailed position detecting means for enlarging the two-dimensional image in which the detailed position is detected by the first detailed position detecting means and detecting the detailed position of the two-dimensional image;
The data reproducing apparatus according to claim 1, wherein the data reproducing unit reproduces data from the two-dimensional image whose detailed position is detected by the second detailed position detecting unit.
2次元画像と、当該2次元画像近傍に配置された1ピクセル以上の幅を有するマーカと、が記録された記録媒体からの透過光に基づいて、前記2次元画像と前記マーカとを読み取る読取工程と、
前記読取工程で読み取られた前記マーカの幅方向の各ピクセルの輝度値に基づいて、前記マーカの幅方向におけるずれ量を検出するずれ量検出工程と、
前記ずれ量検出工程で検出されたずれ量に基づいて、前記読取工程で読み取られた2次元画像の詳細位置を検出する第1の詳細位置検出工程と、
前記第1の詳細位置検出工程で詳細位置が検出された2次元画像からデータを再生するデータ再生工程と、
を備えたデータ再生方法。
A reading step of reading the two-dimensional image and the marker based on transmitted light from a recording medium on which a two-dimensional image and a marker having a width of 1 pixel or more arranged in the vicinity of the two-dimensional image are recorded When,
A deviation amount detection step of detecting a deviation amount in the width direction of the marker based on the luminance value of each pixel in the width direction of the marker read in the reading step;
A first detailed position detection step of detecting a detailed position of the two-dimensional image read in the reading step based on the shift amount detected in the shift amount detection step;
A data reproduction step of reproducing data from the two-dimensional image in which the detailed position is detected in the first detailed position detection step;
A data reproduction method comprising:
前記ずれ量検出工程では、前記マーカのエッジに隣接するピクセルの輝度値に基づいて、前記ずれ量を検出する
請求項4に記載のデータ再生方法。
The data reproduction method according to claim 4, wherein in the shift amount detection step, the shift amount is detected based on a luminance value of a pixel adjacent to an edge of the marker.
前記第1の詳細位置検出工程で詳細位置が検出された2次元画像を拡大して、当該2次元画像の詳細位置を検出する第2の詳細位置検出工程を更に備え、
前記データ再生工程では、前記第2の詳細位置検出工程で詳細位置が検出された2次元画像からデータを再生する
請求項4または請求項5に記載のデータ再生方法。
A second detailed position detecting step of enlarging the two-dimensional image in which the detailed position is detected in the first detailed position detecting step and detecting the detailed position of the two-dimensional image;
The data reproduction method according to claim 4 or 5, wherein, in the data reproduction step, data is reproduced from the two-dimensional image whose detailed position is detected in the second detailed position detection step.
コンピュータを、
2次元画像と、当該2次元画像近傍に配置された1ピクセル以上の幅を有するマーカと、が記録された記録媒体からの透過光から、読取手段により読み取られたデータに対して、前記マーカの幅方向の各ピクセルの輝度値に基づいて、前記マーカの幅方向におけるずれ量を検出するずれ量検出手段と、
前記ずれ量検出手段により検出されたずれ量に基づいて、前記読取手段により読み取られた2次元画像の詳細位置を検出する第1の詳細位置検出手段と、
前記第1の詳細位置検出手段により詳細位置が検出された2次元画像からデータを再生するデータ再生手段と、
して機能させるデータ再生プログラム。
Computer
With respect to the data read by the reading means from the transmitted light from the recording medium on which the two-dimensional image and the marker having a width of 1 pixel or more arranged in the vicinity of the two-dimensional image are recorded, A displacement amount detecting means for detecting a displacement amount in the width direction of the marker based on a luminance value of each pixel in the width direction;
First detailed position detecting means for detecting a detailed position of the two-dimensional image read by the reading means based on the amount of deviation detected by the deviation amount detecting means;
Data reproducing means for reproducing data from the two-dimensional image whose detailed position is detected by the first detailed position detecting means;
A data reproduction program that makes it function.
JP2005330105A 2005-11-15 2005-11-15 Data reproducing device, method, and program Pending JP2007141290A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005330105A JP2007141290A (en) 2005-11-15 2005-11-15 Data reproducing device, method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005330105A JP2007141290A (en) 2005-11-15 2005-11-15 Data reproducing device, method, and program

Publications (1)

Publication Number Publication Date
JP2007141290A true JP2007141290A (en) 2007-06-07

Family

ID=38203984

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005330105A Pending JP2007141290A (en) 2005-11-15 2005-11-15 Data reproducing device, method, and program

Country Status (1)

Country Link
JP (1) JP2007141290A (en)

Similar Documents

Publication Publication Date Title
US6786412B2 (en) Two-dimensional code reading method, two-dimensional code reading program, recording medium with two-dimensional code reading program, two-dimensional code reading device, digital camera and portable terminal with digital camera
JP4911340B2 (en) Two-dimensional code detection system and two-dimensional code detection program
EP1981025B1 (en) Method and apparatus for compensating data image reproduced from holographic system
US6970600B2 (en) Apparatus and method for image processing of hand-written characters using coded structured light and time series frame capture
JP2017223687A (en) Design of code in affine-invariant spatial mask
US20160275690A1 (en) Systems and methods for enhanced depth map retrieval for moving objects using active sensing technology
JP2006295606A (en) Image processor, its processing method, program, and storage medium
JP2004199548A (en) Image processor, image processing method, image processing program, printed matter inspection device, printed matter inspection method, and printed matter inspection program
JP6413542B2 (en) Image processing apparatus and image processing program
JP4060815B2 (en) Apparatus and method for processing holographic data reproduced from a holographic medium
US20130272615A1 (en) Image processing device and pixel interpolation method
JP2006252701A (en) Viterbi decoder, viterbi decoding method, and viterbi decoding program
JP5742367B2 (en) Image processing apparatus and image processing program
JP2007141290A (en) Data reproducing device, method, and program
WO2012127639A1 (en) Image-processing device and image-processing method
JP2009175845A (en) Image processor, pen device, and program
JP6515946B2 (en) Image processing apparatus, image processing method, program
JP4812873B2 (en) Hologram reproduction image position detection method and hologram apparatus
JP2003150898A (en) Method for detecting patten position in image, device, program and recording medium recorded with program
JP5255335B2 (en) Bar code recognition device and bar code recognition program
JP3070535B2 (en) Patent application title: Pattern matching encoding device, pattern matching encoding method, and medium recording control program for pattern matching encoding device
JP2007279813A (en) Image processor and program
JP2008206037A (en) Image processing apparatus and image processing program
JP4517667B2 (en) Document image collation device, document image alignment method and program
JP4337745B2 (en) Image processing apparatus and method