JP2007004330A - Portable information terminal and control method thereof - Google Patents
Portable information terminal and control method thereof Download PDFInfo
- Publication number
- JP2007004330A JP2007004330A JP2005181509A JP2005181509A JP2007004330A JP 2007004330 A JP2007004330 A JP 2007004330A JP 2005181509 A JP2005181509 A JP 2005181509A JP 2005181509 A JP2005181509 A JP 2005181509A JP 2007004330 A JP2007004330 A JP 2007004330A
- Authority
- JP
- Japan
- Prior art keywords
- image data
- unit
- correction
- storage unit
- correction pattern
- 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
Links
Abstract
【課題】 携帯情報端末において、煩雑な作業を必要とすることなく、画像データを正確に復元できるようにする。
【解決手段】 携帯電話装置では、画像データ取込部1が取込んだ画像が、メモリ4に記録される。画像データ補正部7は、画像データ読出部5を介してメモリ4から画像を読込み、また、補正パターン読出部6を介してメモリ4に格納された補正パターンデータを読込む。そして、画像データ補正部7は、読込んだ補正パターンデータによって特定されるアルゴリズムで、読込んだ画像データを補正する。暗号化コード読取部10は、補正後の画像データを暗号化コードとして読込むことによって復元し、復元によって得られた情報(読取結果)を表示部11へ出力する。
【選択図】 図1PROBLEM TO BE SOLVED: To accurately restore image data in a portable information terminal without requiring complicated work.
In a mobile phone device, an image captured by an image data capturing unit 1 is recorded in a memory 4. The image data correction unit 7 reads an image from the memory 4 through the image data reading unit 5, and reads correction pattern data stored in the memory 4 through the correction pattern reading unit 6. Then, the image data correction unit 7 corrects the read image data with an algorithm specified by the read correction pattern data. The encrypted code reading unit 10 restores the corrected image data by reading it as an encrypted code, and outputs information (read result) obtained by the restoration to the display unit 11.
[Selection] Figure 1
Description
本発明は、携帯情報端末およびその制御方法に関し、特に、画像データを暗号化コードとして読込むことによって復元することのできる携帯情報端末およびその制御方法に関する。 The present invention relates to a portable information terminal and a control method thereof, and more particularly to a portable information terminal that can be restored by reading image data as an encrypted code and a control method thereof.
従来から、図形パターンとして物体や紙面に刻印された文字や数字などのデータを、当該画像パターンを解析することによって読取る技術が利用されている。 2. Description of the Related Art Conventionally, a technique for reading data such as characters and numbers engraved on an object or paper as a graphic pattern by analyzing the image pattern has been used.
また、近年、上記のような画像データとして、多くの情報を正確に刻印するために、2次元の画像データを利用する技術が利用されている。特に、小さな正方形の点を縦横同じ数だけ並べたマトリックス型の2次元コードであるQRコード(Quick Response code)は、携帯電話装置のアドレス読取機能などに採用されること等により一般に普及している。 In recent years, a technique using two-dimensional image data has been used in order to accurately mark a large amount of information as the image data as described above. In particular, a QR code (Quick Response code), which is a matrix type two-dimensional code in which the same number of small square points are arranged in the vertical and horizontal directions, is widely used because it is used for an address reading function of a cellular phone device. .
そして、2次元コードの利用に関しても、種々の技術が開示されている。
たとえば、特許文献1には、携帯端末間の交信に2次元コードを利用する技術が開示されている。具体的には、特許文献1には、送信側の端末の表示部に送信データが変換されることによって生成された2次元データを表示させ、受信側の端末が、当該表示された2次元データを直接(公共の通信ネットワークをすることなく)読取ることにより、送信側から送信される情報を受取る技術が開示されている。
Various techniques have also been disclosed regarding the use of two-dimensional codes.
For example, Patent Document 1 discloses a technology that uses a two-dimensional code for communication between portable terminals. Specifically, in Patent Document 1, two-dimensional data generated by converting transmission data is displayed on a display unit of a transmission-side terminal, and the reception-side terminal displays the displayed two-dimensional data. A technique for receiving information transmitted from a transmission side by directly reading (without using a public communication network) is disclosed.
また、特許文献2には、携帯電話装置等の携帯情報端末において斜めに撮影された2次元コードを、奥行き情報を考慮して画像の傾きを補正することにより、2次元コードの画像情報を画像変換する技術が開示されている。
上記のように受信側の携帯情報端末において2次元コードが読取られる場合、当該端末において、2次元コードの画像データが撮影されることによって、当該画像データの取込が行なわれる場合が多い。なお、撮影等によって取り込まれた画像データは、刻印された画像データに対して、劣化することが考えられる。そして、従来、画像データが劣化した場合、当該画像データを正確に元のデータに復元するには、当該画像データをパーソナルコンピュータ等の別の端末に移動させて補正等を行なった後で復元の処理を行なうという煩雑な作業を必要としていた。 As described above, when a two-dimensional code is read by a portable information terminal on the receiving side, the image data is often captured by photographing the image data of the two-dimensional code at the terminal. Note that image data captured by photographing or the like may be deteriorated with respect to stamped image data. Conventionally, when image data is deteriorated, in order to accurately restore the image data to the original data, the image data is moved to another terminal such as a personal computer and corrected, etc. The complicated work of processing was required.
つまり、従来の形態情報端末は、2次元コードを読取ることによって取込まれた画像データを元のデータに復元することはできたものの、場合によっては、画像データを正確に復元するために煩雑な作業を必要としていた。 That is, the conventional form information terminal can restore the image data captured by reading the two-dimensional code to the original data, but in some cases, it is complicated to accurately restore the image data. I needed work.
しかしながら、近年、携帯情報端末にカメラが搭載される場合が多く、そして、当該カメラの性能(特に、画素数に関する点)が向上している。このため、携帯情報端末に読取られることを目的として生成されるコードの画像が精細なものとなってきている。このようなことから、上記してきたような画像データの正確な復元に対する要望は高まっていると考えられる。 However, in recent years, a camera is often mounted on a portable information terminal, and the performance of the camera (particularly in terms of the number of pixels) is improved. For this reason, an image of a code generated for the purpose of being read by a portable information terminal has become fine. For this reason, it is considered that there is an increasing demand for accurate restoration of image data as described above.
また、W−CDMA(Wideband Code Division Multiple Access)などの高速通信技術の発展に伴い、今後、携帯情報端末において画像を添付したメールの送受信が増えると予想され、ますます、上記してきたような画像データの正確な復元に対する要望は高まるものと考えられる。 In addition, with the development of high-speed communication technology such as W-CDMA (Wideband Code Division Multiple Access), it is expected that the number of e-mails attached with images will increase in the future in mobile information terminals. The demand for accurate restoration of data is expected to increase.
本発明はかかる実情に鑑み考え出されたものであり、その目的は、煩雑な作業を必要とすることなく、画像データを正確に復元できる携帯情報端末およびその制御方法を提供することである。 The present invention has been conceived in view of such circumstances, and an object of the present invention is to provide a portable information terminal capable of accurately restoring image data and a control method thereof without requiring complicated work.
本発明に従った携帯情報端末は、画像データを記憶する画像データ記憶部と、前記画像データ記憶部に記憶された画像データに対する補正パターンに関するデータを記憶する補正パターンデータ記憶部と、前記画像データ記憶部に記憶された画像データを、前記補正パターンデータ記憶部に記憶されたデータに基づいた補正パターンで補正する補正部と、前記補正部によって補正された画像データを暗号化コードとして読込むことによって復元する復元部とを含むことを特徴とする。 A portable information terminal according to the present invention includes an image data storage unit that stores image data, a correction pattern data storage unit that stores data relating to a correction pattern for the image data stored in the image data storage unit, and the image data A correction unit that corrects the image data stored in the storage unit with a correction pattern based on the data stored in the correction pattern data storage unit, and the image data corrected by the correction unit is read as an encryption code. And a restoration unit to restore by the above.
また、本発明に従った携帯情報端末は、操作されることによって情報の入力を受付ける操作部をさらに含み、前記補正パターンデータ記憶部は、複数の補正パターンに関するデータを記憶し、前記補正部は、前記操作部に入力された情報に基づいて、前記補正パターンデータ記憶部に記憶された複数の補正パターンに関するデータから1つの補正パターンに関するデータを選択して、前記画像データ記憶部に記憶された画像データを補正することが好ましい。 In addition, the portable information terminal according to the present invention further includes an operation unit that receives input of information by being operated, the correction pattern data storage unit stores data relating to a plurality of correction patterns, and the correction unit includes: Based on information input to the operation unit, data related to one correction pattern is selected from data related to a plurality of correction patterns stored in the correction pattern data storage unit, and stored in the image data storage unit It is preferable to correct the image data.
また、本発明に従った携帯情報端末は、前記復元部による画像データの復元が成功したか否かを判断する判断部をさらに含み、前記補正パターンデータ記憶部は、複数の補正パターンに関するデータを記憶し、前記補正部は、前記判断部が前記復元部による画像データの復元が成功したと判断するまで、前記補正パターンデータ記憶部に記憶されたデータの中から補正パターンを1つずつ選択して、前記画像データ記憶部に記憶された画像データを補正することが好ましい。 The portable information terminal according to the present invention further includes a determination unit that determines whether or not the restoration of the image data by the restoration unit is successful, and the correction pattern data storage unit stores data regarding a plurality of correction patterns. The correction unit selects one correction pattern from the data stored in the correction pattern data storage unit one by one until the determination unit determines that the restoration of the image data by the restoration unit is successful. It is preferable to correct the image data stored in the image data storage unit.
また、本発明に従った携帯情報端末は、ネットワークを介して画像データを取得して、前記画像データ記憶部に画像データを記憶させる画像データ取得部をさらに含むことが好ましい。 The portable information terminal according to the present invention preferably further includes an image data acquisition unit that acquires image data via a network and stores the image data in the image data storage unit.
また、本発明に従った携帯情報端末は、画像を撮影することによって画像データを生成して、前記画像データ記憶部に画像データを記憶させる画像データ生成部をさらに含むことが好ましい。 The portable information terminal according to the present invention preferably further includes an image data generation unit that generates image data by taking an image and stores the image data in the image data storage unit.
本発明に従った携帯情報端末の制御方法は、画像データを記憶するメモリを含む携帯情報端末の制御方法であって、前記画像データ記憶部に記憶された画像データに対する補正パターンに関するデータを記憶するステップと、前記画像データ記憶部に記憶された画像データを、前記記憶されたデータに基づいた補正パターンで補正するステップと、前記補正された画像データを暗号化コードとして読込むことによって復元するステップとを含むことを特徴とする。 A portable information terminal control method according to the present invention is a portable information terminal control method including a memory for storing image data, and stores data related to a correction pattern for the image data stored in the image data storage unit. A step of correcting the image data stored in the image data storage unit with a correction pattern based on the stored data, and a step of restoring by reading the corrected image data as an encryption code It is characterized by including.
本発明によれば、携帯情報端末において、画像データ記憶部に記憶されている画像データが、当該携帯情報端末の補正部において補正を行なわれた後に、復元される。 According to the present invention, in the portable information terminal, the image data stored in the image data storage unit is restored after being corrected in the correction unit of the portable information terminal.
これによって、携帯情報端末において、画像データを他の装置に移動させる等の煩雑な処理が行なわれることなく、画像データからデータの復元を行なう際の認識率を向上させることができる。 Thereby, in the portable information terminal, it is possible to improve the recognition rate when data is restored from the image data without performing complicated processing such as moving the image data to another device.
特に、携帯情報端末が通信機能を有する場合には、メールの受信やWEBの閲覧によって携帯情報端末において格納された、QRコード等の二次元バーコードの画像データが、容易な操作で、復元されることになる。 In particular, when the portable information terminal has a communication function, the image data of a two-dimensional barcode such as a QR code stored in the portable information terminal by receiving mail or browsing the WEB is restored with an easy operation. Will be.
また、携帯情報端末がカメラを搭載している場合には、QRコード等の二次元バーコードを撮影することによって携帯情報端末において格納された画像データが、容易な操作で、復元されることになる。 In addition, when the portable information terminal is equipped with a camera, image data stored in the portable information terminal can be restored by an easy operation by photographing a two-dimensional barcode such as a QR code. Become.
以下、本発明の一実施の形態である携帯電話装置について、図面を参照して説明する。
図1は、携帯電話装置の構成を概略的に示す図である。
Hereinafter, a mobile phone device according to an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a diagram schematically showing a configuration of a mobile phone device.
図1を参照して、携帯電話装置は、画像データ取込部1と、画像処理制御部2と、記録デバイスであるメモリ4と、外部からの操作を受付ける操作部8と、LCD(Liquid Crystal Display)等からなる表示部11とを含む。 Referring to FIG. 1, a mobile phone device includes an image data capturing unit 1, an image processing control unit 2, a memory 4 that is a recording device, an operation unit 8 that accepts an external operation, and an LCD (Liquid Crystal). And a display unit 11 including a display).
画像データ読込部1は、携帯電話装置の外部から画像データを取込むための装置であり、画像を撮影することによって画像データを生成するカメラから構成されても良いし、ネットワークを利用した通信や赤外線通信等によって他の装置と情報通信を行なうためのインターフェイスから構成されても良い。 The image data reading unit 1 is a device for capturing image data from the outside of the mobile phone device, and may be composed of a camera that generates image data by taking an image, You may comprise from the interface for performing information communication with another apparatus by infrared communication etc.
画像処理制御部2は、画像データ取込部1から入力される画像データの処理を行なうための装置である。 The image processing control unit 2 is a device for processing image data input from the image data capturing unit 1.
画像処理制御部2に入力された画像データは、まず、画像データ記録部3によって、メモリ4に記録される。 The image data input to the image processing control unit 2 is first recorded in the memory 4 by the image data recording unit 3.
なお、メモリ4には、補正パターンが記録されている。
画像データ補正部7は、画像データ読出部5にメモリ4に記録された画像データを読出させるとともに、補正パターン読出部6にメモリ4に記録された補正パターンを読出させる。そして、画像データ補正部7は、補正パターンとを利用して、画像データを補正することができる。また、画像データ補正部7は、操作部8が操作されることによって入力される補正データを利用して、画像データを補正することができる。操作部8は、たとえば複数のキーによって構成される。
Note that a correction pattern is recorded in the memory 4.
The image data correction unit 7 causes the image data reading unit 5 to read the image data recorded in the memory 4 and causes the correction pattern reading unit 6 to read the correction pattern recorded in the memory 4. Then, the image data correction unit 7 can correct the image data using the correction pattern. The image data correction unit 7 can correct the image data by using correction data input by operating the operation unit 8. The operation unit 8 is constituted by a plurality of keys, for example.
なお、画像データ読出部5は、メモリ4に記録された画像データを読出して、表示部11に表示させることもできる。 The image data reading unit 5 can also read the image data recorded in the memory 4 and display it on the display unit 11.
補正値データ通知部9は、操作部8が操作されることによって入力された補正データを画像データ補正部7へと出力する。 The correction value data notification unit 9 outputs correction data input by operating the operation unit 8 to the image data correction unit 7.
画像データ補正部7は、補正した画像データを、暗号化コード読取部10に入力する。
暗号化コード読取部10は、補正後の画像データを、暗号化コードとして読込むことによって復元し、復元によって得られた情報(読取結果)を表示部11へ出力する。
The image data correction unit 7 inputs the corrected image data to the encryption code reading unit 10.
The encrypted code reading unit 10 restores the corrected image data by reading it as an encrypted code, and outputs information (read result) obtained by the restoration to the display unit 11.
図2に、メモリ4に記録されている補正パターンを模式的に示す。
図2を参照して、各補正パターンのデータは、読出される際に指定されるために利用されるパターン番号と関連付けられて記録されている。
FIG. 2 schematically shows a correction pattern recorded in the memory 4.
Referring to FIG. 2, the data of each correction pattern is recorded in association with a pattern number used for designating when it is read out.
具体的には、たとえば、パターン番号のパターン1には、補正パターンデータ「0000 0001」が関連付けられている。なお、この補正パターンデータは、モノクロ補正を行なうアルゴリズムを示している。 Specifically, for example, correction pattern data “0000 0001” is associated with pattern 1 of pattern number. The correction pattern data indicates an algorithm for performing monochrome correction.
また、パターン番号のパターン2には、補正パターンデータ「0000 0010」が関連付けられている。この補正パターンデータは、シャープ補正を行なうアルゴリズムを示している。 Further, the correction pattern data “0000 0010” is associated with the pattern 2 of the pattern number. This correction pattern data indicates an algorithm for performing sharp correction.
なお、メモリ4では、「0x0101」等の各補正パターンが格納されるアドレスが、各パターン番号に関連付けられて、格納されている。 In the memory 4, an address where each correction pattern such as “0x0101” is stored is stored in association with each pattern number.
補正パターン読出部6は、パターン番号を指定することによって、当該パターン番号によって特定される補正パターンデータを読出すことができる。 The correction pattern reading unit 6 can read the correction pattern data specified by the pattern number by designating the pattern number.
次に、本実施の形態の携帯電話装置の、画像データの取込、および、取込まれた画像データの復元の際の動作を説明する。 Next, operations of the cellular phone device according to the present embodiment at the time of capturing image data and restoring the captured image data will be described.
図3は、画像データの取込および復元の際に画像処理制御部2において実行される処理(復元処理)のフローチャートである。なお、画像処理制御部2は、マイクロコントローラによる疑似マルチタスク制御によって動作する。なお、図3に示されたフローチャートに従った処理は、操作部8に対して、補正の対象となる画像が指定され、かつ、画像の補正値に関するデータが入力されることによって、開始される。 FIG. 3 is a flowchart of a process (restoration process) executed in the image processing control unit 2 at the time of taking in and restoring the image data. The image processing control unit 2 operates by pseudo multitask control by the microcontroller. The process according to the flowchart shown in FIG. 3 is started when an image to be corrected is designated and data related to the correction value of the image is input to the operation unit 8. .
ステップSA10では、使用者が操作部8に対してキー操作をすることによって発生した信号を補正値データ通知部9が受信する。 In step SA10, the correction value data notification unit 9 receives a signal generated when the user performs a key operation on the operation unit 8.
次に、ステップSA20では、補正値データ通知部9が、ステップSA10で受信した信号を、画像データ補正部7へ補正値データとして送出する。画像データ補正部7は、受信したデータを補正値データとして記憶する。なお、補正値データとは、たとえばパターン番号のような、補正パターンデータを指定するための情報である。また、画像データ補正部7において、メモリ4に格納された各補正パターンデータが操作部8に備えられた各操作キーが関連付けられている場合には、補正値データ通知部9は、ステップSA20において、操作されたキーに関する情報を画像データ補正部7へ送信する。 Next, in step SA20, the correction value data notification unit 9 sends the signal received in step SA10 to the image data correction unit 7 as correction value data. The image data correction unit 7 stores the received data as correction value data. The correction value data is information for specifying correction pattern data such as a pattern number. In the image data correction unit 7, when each correction pattern data stored in the memory 4 is associated with each operation key provided in the operation unit 8, the correction value data notification unit 9 determines in step SA 20. Information about the operated key is transmitted to the image data correction unit 7.
また、ステップSA10では、操作部8に対するキー操作として、メモリ4に格納されたか各補正パターンデータそのもの(「0000 0001」等)が入力される操作がなされる場合も考えられる。このような場合には、補正値データ通知部9は、画像データ補正部7に対して、補正パターンデータそのものを送信する。また、このような場合には、後述するステップSA30およびステップSA40の処理は省略される。 In step SA10, as a key operation on the operation unit 8, an operation may be performed in which the correction pattern data itself ("0000 0001" or the like) stored in the memory 4 is input. In such a case, the correction value data notifying unit 9 transmits the correction pattern data itself to the image data correcting unit 7. In such a case, the processes of Step SA30 and Step SA40 described later are omitted.
ステップSA30では、画像データ補正部7が、ステップSA20で受信した補正値データを補正パターン読出部6に出力し、これに応じて、補正パターン読出部6は、補正値データを、対応するアドレス(図2に示したパターン番号)に変換する。なお、補正パターン読出部6には、補正値データとアドレスとの対応関係が格納されている。 In step SA30, the image data correction unit 7 outputs the correction value data received in step SA20 to the correction pattern reading unit 6, and the correction pattern reading unit 6 responds to the corresponding address ( (Pattern number shown in FIG. 2). The correction pattern reading unit 6 stores a correspondence relationship between correction value data and addresses.
次に、ステップSA40では、補正パターン読出部6が、ステップSA30で得たアドレスに基づいて、メモリ4から補正パターンデータを読出す。なお、補正パターン読出部6は、読出した補正パターンデータを画像データ補正部7に送出する。 Next, in step SA40, the correction pattern reading unit 6 reads correction pattern data from the memory 4 based on the address obtained in step SA30. The correction pattern reading unit 6 sends the read correction pattern data to the image data correction unit 7.
次に、ステップSA50では、画像データ補正部7が、補正パターン読出部6から送出された補正パターンデータを利用して、画像データの補正を行なう。なお、図3に示したフローチャートに従った処理が実行される際には予め補正の対象となる画像が指定されていることから、画像データ補正部7は、補正の対象となる画像データを、ステップSA50の処理の前に、画像データ読出部5を介してメモリ4から読込んでいる。 Next, in step SA50, the image data correction unit 7 corrects the image data using the correction pattern data sent from the correction pattern reading unit 6. Since the image to be corrected is designated in advance when the processing according to the flowchart shown in FIG. 3 is executed, the image data correction unit 7 converts the image data to be corrected into Before the process of step SA50, the image data is read from the memory 4 via the image data reading unit 5.
なお、ステップSA50では、画像データ補正部7は、補正パターン読出部6から補正パターンデータによって特定されるアルゴリズムを利用して、画像データの補正を行なう。また、補正とは、具体的には、たとえば、一般的な画像処理系ソフトなどに搭載されているモノクロ補正(カラー画像から白黒画像2値への変換アルゴリズム)や、シャープ補正、輪郭補正(輪郭のエッジをはっきりさせる)、アンシャープマスク(ピクセル毎に周辺との濃淡の差を一定の比率で増大させるコントラスト調整)など、画像ボケを解消する補正が考えられる。また、補正処理そのものがどのようなアルゴリズムで行なわれるかについては、周知の技術を利用することができるため、ここでは説明を繰り返さない。 In step SA50, the image data correction unit 7 corrects the image data using an algorithm specified by the correction pattern data from the correction pattern reading unit 6. Specifically, the correction is, for example, monochrome correction (a conversion algorithm from a color image to a monochrome image binary), sharp correction, or contour correction (contour), which is installed in general image processing system software or the like. Corrections that eliminate image blur are conceivable, such as unsharp masking (contrast adjustment that increases the difference in density from the surroundings at a certain ratio for each pixel). In addition, as to what algorithm the correction process itself is performed, since a known technique can be used, description thereof will not be repeated here.
次に、ステップSA60では、画像データ補正手段7は、ステップSA50で補正した画像データをコード解析するために、当該補正後の画像データを暗号化コード読取部10に送信する。これにより、暗号化コード読取部10は、受信した画像データを、二次元バーコードとして読取る。 Next, in step SA60, the image data correction unit 7 transmits the corrected image data to the encrypted code reading unit 10 in order to analyze the code of the image data corrected in step SA50. As a result, the encrypted code reading unit 10 reads the received image data as a two-dimensional barcode.
次に、ステップSA70では、暗号化コード読取部10が、ステップSA60における読取の結果に応じて表示部11の表示内容を決定する。具体的には、暗号化コード読取部10は、読取が成功すれば、ステップSA80で、読取った内容、つまり、ステップSA60の処理で得られた復元データに対応する内容を表示部11に表示させ、処理を終了させる。 Next, in step SA70, the encrypted code reading unit 10 determines the display content of the display unit 11 according to the reading result in step SA60. Specifically, if the reading is successful, the encrypted code reading unit 10 causes the display unit 11 to display the content read in step SA80, that is, the content corresponding to the restored data obtained in the process of step SA60. The process is terminated.
一方、暗号化コード読取部10は、読取が失敗すれば、ステップSA90で、表示部11に読取が失敗した旨の表示(たとえば、図4に示す画面500)を行なった後、ステップSA100へ処理が進められる。なお、画面500は、再度別の補正パターンデータを指定するための「再入力」メニューと、読取を中止させるための「中止」メニューのいずれかを選択するための画面である。 On the other hand, if the reading fails, the encrypted code reading unit 10 displays a message indicating that the reading has failed (for example, the screen 500 shown in FIG. 4) on the display unit 11 in step SA90, and then proceeds to step SA100. Is advanced. Note that the screen 500 is a screen for selecting either a “re-input” menu for designating another correction pattern data again or a “cancel” menu for canceling reading.
そして、ステップS100では、画面500において「再入力」メニューが選択されたか否かの判断がなされ、そうであると判断されればステップSA10に処理が戻される。これにより、使用者は、表示された内容を元に再度操作部8に対して別の補正パターンを入力することができる。一方、「中止」メニューが選択されたと判断されると、暗号化コード読取部10は、処理を終了させる。 In step S100, it is determined whether or not the “re-input” menu is selected on the screen 500. If it is determined that this is the case, the process returns to step SA10. Accordingly, the user can input another correction pattern to the operation unit 8 again based on the displayed content. On the other hand, if it is determined that the “Cancel” menu has been selected, the encrypted code reading unit 10 ends the process.
図5は、携帯電話装置において、取込んだ画像データを表示部11に表示させている状態における使用者からの特定の操作によって、自動的に画像データの補正が行なわれる際の処理(自動復元処理)のフローチャートである。なお、この処理では、画像データは、予め画像データ読出部5によってメモリ4から読出されて、表示部11に表示されている。また、画像データの補正は、補正パターンデータに基づいて行なわれる。 FIG. 5 shows a process (automatic restoration) when image data is automatically corrected by a specific operation from the user in a state where the captured image data is displayed on the display unit 11 in the mobile phone device. It is a flowchart of a process. In this process, the image data is read from the memory 4 in advance by the image data reading unit 5 and displayed on the display unit 11. Further, the image data is corrected based on the correction pattern data.
図5を参照して、使用者が操作部8に対して上記した特定の操作を実行すると、まずステップSB10では、画像データ補正部7が、補正パターン読出部6に対して、補正パターンデータの読出のためのアドレス(パターン番号)の初期化を行なう。 Referring to FIG. 5, when the user performs the specific operation described above with respect to operation unit 8, first, in step SB 10, image data correction unit 7 sends correction pattern data to correction pattern reading unit 6. An address (pattern number) for reading is initialized.
次に、ステップSB20で、画像データ補正部7は、補正パターン読出部6に補正パターンデータを読出させる。これにより、補正パターン読出部6は、メモリ4から、その時点で設定されているアドレス(パターン番号)に対応する補正パターンデータを読出す。なお、補正パターン読出部6において設定されるアドレスは、上記したようにステップSB10で初期化され、また、後述するようにステップSB90で加算される。 Next, in step SB20, the image data correction unit 7 causes the correction pattern reading unit 6 to read correction pattern data. Thereby, the correction pattern reading unit 6 reads the correction pattern data corresponding to the address (pattern number) set at that time from the memory 4. The address set in the correction pattern reading unit 6 is initialized at step SB10 as described above, and is added at step SB90 as described later.
次に、ステップSB30で、画像データ補正部7は、ステップSB20で補正パターン読出部6に読出させた補正パターンデータを利用して、画像データの補正を行なう。なお、ここで補正の対象となる画像データは、この処理が実行される際に表示部11に表示させている画像データであり、予め画像データ読出部5を介してメモリ4から読出されているものである。また、ここでの補正とは、補正パターンデータによって特定されるアルゴリズムを利用したものであり、たとえば、一般的に画像処理系ソフトなどに搭載されているモノクロ補正(カラー画像から白黒画像2値への変換アルゴリズム)、シャープ補正、輪郭補正(輪郭のエッジをはっきりさせる)、アンシャープマスク(ピクセル毎に周辺との濃淡の差を一定の比率で増大させるコントラスト調整)などの、画像ボケを解消する補正である。また、補正処理そのものがどのようなアルゴリズムで行なわれるかについては、周知の技術を利用することができるため、ここでは説明を繰り返さない。 Next, in step SB30, the image data correction unit 7 corrects the image data using the correction pattern data read by the correction pattern reading unit 6 in step SB20. Here, the image data to be corrected is image data displayed on the display unit 11 when this processing is executed, and is read from the memory 4 via the image data reading unit 5 in advance. Is. Further, the correction here uses an algorithm specified by correction pattern data. For example, a monochrome correction (from a color image to a monochrome image binary) generally installed in image processing system software or the like is used. Image blurring), sharpening correction, outline correction (to make the edges of the outline clear), unsharp mask (contrast adjustment that increases the difference in density from the surroundings at a certain ratio for each pixel), etc. It is a correction. In addition, as to what algorithm the correction process itself is performed, since a known technique can be used, description thereof will not be repeated here.
補正が完了すると、画像データ補正部7は、補正後の画像データをコード解析するために、暗号化コード読取部10へ送る。 When the correction is completed, the image data correction unit 7 sends the corrected image data to the encrypted code reading unit 10 for code analysis.
次に、ステップSB40で、暗号化コード読取部10は、画像データ補正部7から送られた画像データを復元するために、当該画像データを二次元バーコードとして読取る。 Next, in step SB40, the encryption code reading unit 10 reads the image data as a two-dimensional barcode in order to restore the image data sent from the image data correction unit 7.
そして、ステップSB50で、暗号化コード読取部10は、ステップSB40における画像データの復元が成功したか否かを判断し、そして、成功していると判断すると、ステップSB60で、読取った内容、つまり、ステップSB40のコード解析によって得られた復元データに対応した内容を表示部11に表示させ、処理を終了させる。一方、失敗したと判断すると、ステップSB70に処理を進める。 In step SB50, the encrypted code reading unit 10 determines whether or not the restoration of the image data in step SB40 is successful, and if it is determined that it is successful, the read content in step SB60, that is, Then, the contents corresponding to the restoration data obtained by the code analysis in step SB40 are displayed on the display unit 11, and the process is terminated. On the other hand, if it is determined that the process has failed, the process proceeds to step SB70.
ステップSB70では、画像データ補正部7が、補正パターン読出部6において現在設定されているアドレスが、メモリ4に格納されている最後の補正パターンデータに対応するアドレスであるか否か、つまり、図2に示したようなテーブルが現在補正パターン読出部6で設定されているアドレスで終了しているか否かを判断する。そして、補正パターン読出部6において現在設定されているアドレスがメモリ4において最後の補正パターンデータに対応したアドレスであると判断すると、ステップSB80に処理を進め、そうではないと判断すると、ステップSB90で、補正パターン読出部6で設定されているアドレスを、メモリ4における次の補正パターンデータを読出すように加算して、ステップSB20に処理を戻す。 In step SB70, the image data correction unit 7 determines whether or not the address currently set in the correction pattern reading unit 6 is an address corresponding to the last correction pattern data stored in the memory 4, that is, FIG. It is determined whether or not the table as shown in FIG. 2 ends at the address currently set by the correction pattern reading unit 6. If it is determined that the currently set address in the correction pattern reading unit 6 is the address corresponding to the last correction pattern data in the memory 4, the process proceeds to step SB80. If not, the process proceeds to step SB90. Then, the address set in the correction pattern reading unit 6 is added so as to read the next correction pattern data in the memory 4, and the process returns to step SB20.
ステップSB80では、暗号化コード読取部10は、表示部11に読取が失敗した旨の表示(メッセージ等の表示)を行ない、処理を終了させる。 In step SB80, the encrypted code reading unit 10 displays on the display unit 11 that the reading has failed (displays a message or the like) and ends the process.
以上説明した本実施の形態によると、携帯情報端末の一例である携帯電話装置において、画像を読取ることによって生成された画像データの復元が、当該画像データが補正を行なわれた後に、行なわれる。これによって、携帯情報端末において、画像データを他の装置に移動させる等の煩雑な処理が行なわれることなく、画像データからデータの復元を行なう際の認識率を向上させることができる。 According to the present embodiment described above, in the mobile phone device that is an example of the mobile information terminal, the image data generated by reading the image is restored after the image data is corrected. Thereby, in the portable information terminal, it is possible to improve the recognition rate when data is restored from the image data without performing complicated processing such as moving the image data to another device.
また、以上説明した本実施の形態では、画像データの補正に関してどのような補正を行なうか、具体的には、メモリ4に格納された複数の補正パターンデータの中のどれを利用して補正を行なうかは、図3を用いて説明したように、使用者が補正値として入力した情報に基づいて決定されても良いし、または、図5を用いて説明したように、画像処理制御部2がメモリ4に格納されている順に決定していっても良い。 In the present embodiment described above, what correction is performed regarding the correction of image data, specifically, which of a plurality of correction pattern data stored in the memory 4 is used for correction. Whether to do this may be determined based on information input as a correction value by the user as described with reference to FIG. 3, or as described with reference to FIG. 5, the image processing control unit 2. May be determined in the order stored in the memory 4.
なお、本実施の形態によれば、画像データの補正により、たとえば図6(A)に示すようなQRコードの画像100に対応する画像データが、図6(B)に示すような画像200に対応するような画像データに補正される。また、画像100の一部である領域101内の画像が図7(A)に、また、画像200の一部である領域201内の画像が図7(B)に、それぞれ拡大されて示されている。図6および図7から理解されるように、本実施の形態における補正により、画像データが、その輪郭を強調されるように補正される。そして、復元の対象となる画像データがこのように補正されることにより、復元が困難であった画像データが、復元が可能な画像データにされる。 According to the present embodiment, by correcting the image data, for example, image data corresponding to the QR code image 100 as shown in FIG. 6A becomes an image 200 as shown in FIG. The corresponding image data is corrected. Further, an image in the region 101 that is a part of the image 100 is shown in FIG. 7A, and an image in the region 201 that is a part of the image 200 is shown in an enlarged manner in FIG. ing. As can be understood from FIGS. 6 and 7, the image data is corrected so that the outline is enhanced by the correction in the present embodiment. Then, by correcting the image data to be restored in this way, the image data that has been difficult to restore is made image data that can be restored.
本発明では、復元に利用される画像データは、たとえば携帯情報端末がカメラを備え、当該カメラで画像を撮影することによって生成されるデータであっても良い。 In the present invention, the image data used for restoration may be data generated by, for example, a portable information terminal including a camera and capturing an image with the camera.
ただし、本発明において復元に利用される画像データは、携帯情報端末において生成されるものに限定されない。たとえば、携帯情報端末がネットワークに接続可能に構成され、そして、WEBアクセスやメールの受信等、ネットワークを介して得られた画像データであっても良い。 However, the image data used for restoration in the present invention is not limited to that generated in the portable information terminal. For example, the mobile information terminal may be configured to be connectable to a network, and may be image data obtained via the network such as WEB access or mail reception.
今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。 The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.
1 画像データ取込部、2 画像処理制御部、3 画像データ記録部、4 メモリ、5
画像データ読出部、6 補正パターン読出部、7 画像データ補正部、8 操作部、9
補正値データ通知部、10 暗号化コード読取部、11 表示部。
1 image data capturing unit, 2 image processing control unit, 3 image data recording unit, 4 memory, 5
Image data reading unit, 6 correction pattern reading unit, 7 image data correcting unit, 8 operation unit, 9
Correction value data notification unit, 10 encrypted code reading unit, 11 display unit.
Claims (6)
前記画像データ記憶部に記憶された画像データに対する補正パターンに関するデータを記憶する補正パターンデータ記憶部と、
前記画像データ記憶部に記憶された画像データを、前記補正パターンデータ記憶部に記憶されたデータに基づいた補正パターンで補正する補正部と、
前記補正部によって補正された画像データを暗号化コードとして読込むことによって復元する復元部とを含む、携帯情報端末。 An image data storage unit for storing image data;
A correction pattern data storage unit for storing data relating to a correction pattern for the image data stored in the image data storage unit;
A correction unit that corrects the image data stored in the image data storage unit with a correction pattern based on the data stored in the correction pattern data storage unit;
A portable information terminal comprising: a restoration unit that restores the image data corrected by the correction unit by reading it as an encrypted code.
前記補正パターンデータ記憶部は、複数の補正パターンに関するデータを記憶し、
前記補正部は、前記操作部に入力された情報に基づいて、前記補正パターンデータ記憶部に記憶された複数の補正パターンに関するデータから1つの補正パターンに関するデータを選択して、前記画像データ記憶部に記憶された画像データを補正する、請求項1に記載の携帯情報端末。 It further includes an operation unit that receives input of information by being operated,
The correction pattern data storage unit stores data relating to a plurality of correction patterns,
The correction unit selects data related to one correction pattern from data related to a plurality of correction patterns stored in the correction pattern data storage unit based on information input to the operation unit, and the image data storage unit The portable information terminal according to claim 1, wherein the image data stored in is corrected.
前記補正パターンデータ記憶部は、複数の補正パターンに関するデータを記憶し、
前記補正部は、前記判断部が前記復元部による画像データの復元が成功したと判断するまで、前記補正パターンデータ記憶部に記憶されたデータの中から補正パターンを1つずつ選択して、前記画像データ記憶部に記憶された画像データを補正する、請求項1に記載の携帯情報端末。 A judgment unit for judging whether the restoration of the image data by the restoration unit is successful,
The correction pattern data storage unit stores data relating to a plurality of correction patterns,
The correction unit selects correction patterns one by one from the data stored in the correction pattern data storage unit until the determination unit determines that the restoration of the image data by the restoration unit is successful, and The portable information terminal according to claim 1, wherein the image data stored in the image data storage unit is corrected.
前記画像データ記憶部に記憶された画像データに対する補正パターンに関するデータを記憶するステップと、
前記画像データ記憶部に記憶された画像データを、前記記憶されたデータに基づいた補正パターンで補正するステップと、
前記補正された画像データを暗号化コードとして読込むことによって復元するステップとを含む、携帯情報端末の制御方法。 A method for controlling a portable information terminal including an image data storage unit for storing image data,
Storing data relating to a correction pattern for the image data stored in the image data storage unit;
Correcting the image data stored in the image data storage unit with a correction pattern based on the stored data;
And a step of restoring the corrected image data by reading it as an encrypted code.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2005181509A JP2007004330A (en) | 2005-06-22 | 2005-06-22 | Portable information terminal and control method thereof |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2005181509A JP2007004330A (en) | 2005-06-22 | 2005-06-22 | Portable information terminal and control method thereof |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2007004330A true JP2007004330A (en) | 2007-01-11 |
Family
ID=37689918
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2005181509A Pending JP2007004330A (en) | 2005-06-22 | 2005-06-22 | Portable information terminal and control method thereof |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2007004330A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2014115811A (en) * | 2012-12-10 | 2014-06-26 | Hitachi Omron Terminal Solutions Corp | Optical reading apparatus, method of reading optical symbols, program, and recording paper sheets |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH05219408A (en) * | 1991-12-19 | 1993-08-27 | Keyence Corp | Light/dark correction device for picture recognition device |
| JPH11296615A (en) * | 1998-04-09 | 1999-10-29 | Seiko Epson Corp | Two-dimensional barcode reader and its reading state detecting method |
| JP2002117360A (en) * | 2000-10-11 | 2002-04-19 | Sharp Corp | Payment system, method for account settlement, ordering device, and information providing device |
| JP2005063142A (en) * | 2003-08-12 | 2005-03-10 | Casio Comput Co Ltd | Code reader |
-
2005
- 2005-06-22 JP JP2005181509A patent/JP2007004330A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH05219408A (en) * | 1991-12-19 | 1993-08-27 | Keyence Corp | Light/dark correction device for picture recognition device |
| JPH11296615A (en) * | 1998-04-09 | 1999-10-29 | Seiko Epson Corp | Two-dimensional barcode reader and its reading state detecting method |
| JP2002117360A (en) * | 2000-10-11 | 2002-04-19 | Sharp Corp | Payment system, method for account settlement, ordering device, and information providing device |
| JP2005063142A (en) * | 2003-08-12 | 2005-03-10 | Casio Comput Co Ltd | Code reader |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2014115811A (en) * | 2012-12-10 | 2014-06-26 | Hitachi Omron Terminal Solutions Corp | Optical reading apparatus, method of reading optical symbols, program, and recording paper sheets |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9037993B2 (en) | System and method for using a visual password scheme | |
| US20040169892A1 (en) | Device and method for generating a print, device and method for detecting information, and program for causing a computer to execute the information detecting method | |
| JP2006505862A (en) | Method and system for performing image processing from mobile client device | |
| JP3938775B2 (en) | Mobile communication terminal, server, and data processing method thereof | |
| US20040003052A1 (en) | Data detection method, apparatus, and program | |
| US20030210420A1 (en) | Print system, portable information device, print apparatus, print data source apparatus, print execution method, program, and storage medium | |
| JP2002140265A (en) | Mobile terminal | |
| US20050060341A1 (en) | Attachment file processing system and attachment file processing method | |
| JP2004152036A (en) | Cellular phone with character recognizing function, correction method of recognized character, and program | |
| KR101865197B1 (en) | Apparatus and method for recognizing code image in portable terminal | |
| JP2007004330A (en) | Portable information terminal and control method thereof | |
| JP2019024175A (en) | Image processing apparatus and program | |
| JP6268950B2 (en) | Image processing system, image processing apparatus, image processing method, and image processing program | |
| KR20120054748A (en) | Method and apparatus for transmitting message in mobile communication system | |
| JP2008079092A (en) | Information communication equipment | |
| US7986444B2 (en) | Image processing device, control method therefor, image processing system, and computer readable medium storing a program | |
| JP3708768B2 (en) | Reader and data processing system | |
| JP6413450B2 (en) | Image processing apparatus, image forming apparatus, and program | |
| JP2004126942A (en) | Portable terminal device, information providing system, recording medium recording information providing program, and print medium | |
| US20180314469A1 (en) | Content management system, content management method, and content management program | |
| JP2012014311A (en) | E-mail creation device and program | |
| JP5036022B2 (en) | mobile phone | |
| KR100805294B1 (en) | Communication terminal and method for creating font therein | |
| JP4192792B2 (en) | Document processing apparatus and document output program | |
| JP2024133924A (en) | Information processing device, information processing system, information processing method, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070822 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100122 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100202 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20100601 |