WO2009136437A1 - Method of processing image data, image data processing equipment, and image data processing program - Google Patents

Method of processing image data, image data processing equipment, and image data processing program Download PDF

Info

Publication number
WO2009136437A1
WO2009136437A1 PCT/JP2008/058573 JP2008058573W WO2009136437A1 WO 2009136437 A1 WO2009136437 A1 WO 2009136437A1 JP 2008058573 W JP2008058573 W JP 2008058573W WO 2009136437 A1 WO2009136437 A1 WO 2009136437A1
Authority
WO
WIPO (PCT)
Prior art keywords
average level
level difference
image data
decoding
image acquisition
Prior art date
Application number
PCT/JP2008/058573
Other languages
French (fr)
Japanese (ja)
Inventor
千葉 広隆
酒井 憲一郎
Original Assignee
富士通株式会社
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 富士通株式会社 filed Critical 富士通株式会社
Priority to PCT/JP2008/058573 priority Critical patent/WO2009136437A1/en
Publication of WO2009136437A1 publication Critical patent/WO2009136437A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/44Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder

Definitions

  • the present invention relates to an image data processing method, an image data processing apparatus, and an image data processing program for extracting a code embedded in image data.
  • an image area (code area) in which a code is embedded is detected from an input image from an input device such as a camera, the detection area is divided into a plurality of blocks, and the average density of each block is determined. calculate. Then, the embedded data is extracted from the magnitude relationship (level difference) between the average levels of adjacent blocks (block pairs) (see Patent Document 1).
  • the decoding process is performed using one image using the default fixed setting value of the input device, there is a case where the average level difference disappears and the decoding cannot be performed correctly. That is, in some cases, the average level difference between adjacent blocks cannot be acquired due to the brightness of the shooting environment, the influence of the shadow on the shooting target image of the shooting camera, or an inappropriate shooting distance.
  • an object of the present invention is to perform decoding correctly, take out embedded data appropriately, and improve the accuracy of decoding processing.
  • this method selects, for each position, an average level difference having the largest average level difference among adjacent blocks at the same position among a plurality of image data. It is necessary to decode using the average level difference.
  • the disclosed method has the effect of improving the accuracy of the decoding process.
  • FIG. 1 is a block diagram illustrating the configuration of the decoder according to the first embodiment.
  • FIG. 2 is a diagram showing the acquired original image.
  • FIG. 3 is a diagram for explaining the process of calculating the average level difference.
  • FIG. 4 is a flowchart illustrating the processing operation of the decoder according to the first embodiment.
  • FIG. 5 is a block diagram illustrating the configuration of the decoder according to the second embodiment.
  • FIG. 6 is a diagram for explaining a process of decoding by changing the input / output characteristic setting value.
  • FIG. 7 is a diagram for explaining a process of decoding by changing the set value of the visual field range.
  • FIG. 8 is a flowchart illustrating the processing operation of the decoder according to the second embodiment.
  • FIG. 9 is a diagram illustrating a computer that executes a decoding processing program.
  • FIG. 10 is a diagram for explaining the prior art.
  • FIG. 11 is a diagram for explaining the prior art.
  • FIG. 1 is a block diagram illustrating a configuration of the decoder 100 according to the first embodiment.
  • FIG. 2 is a diagram showing the acquired original image.
  • FIG. 3 is a diagram for explaining the process of calculating the average level difference.
  • the decoder 100 is a device for decoding an embedded code from encoded image data. The processing of each of these units will be described below.
  • the decoder 100 includes an image acquisition unit 101, a block division unit 102, a block extraction unit 103, an averaging unit 104, registers 105l and 105r, an adjacent block average level difference calculation unit 106, an adjacent block average level difference holding unit 107, and a decoding unit 108. Is provided. The processing of each of these units will be described below.
  • the image acquisition unit 101 acquires a plurality of image data by capturing an image a plurality of times. Specifically, when receiving an image acquisition request, the image acquisition unit 101 first acquires one piece of image acquisition data (see FIG. 2) and outputs it to the block division unit 102. Thereafter, the image acquisition unit 101 repeats the process of acquiring one piece of image acquisition data every time it receives an image acquisition request transmitted when the decoding unit 108 described later fails in decoding.
  • the block dividing unit 102 divides each acquired image data into a plurality of blocks. Specifically, after extracting the code area from the image data, the block dividing unit 102 divides the code area of the image data into N rows ⁇ M columns (16 ⁇ 16 in this case) as shown in FIG. The block is divided into blocks, and output to the block extraction unit 103 as block division image data.
  • the block division image data, block B l11, B r11, ⁇ , B l18, B r18, B l21, B r21, ⁇ , B l168, B r168 of 256 (16 ⁇ 16) is composed of block ing.
  • One block has a size of 64 ⁇ 64 pixels.
  • a 1-bit code is embedded in a pair block (two adjacent blocks).
  • the subscript l indicates that it is the left block in the pair block.
  • the subscript x represents a row (N).
  • the subscript y represents the column (M).
  • the subscript r represents the right block in the pair block.
  • the subscript x represents a row (N).
  • the subscript y represents the column (M).
  • the average density (average gradation of each pixel in the block) as the feature quantity in the left block B lxy is set as the left average density data D l, and the average density (feature quantity) in the right block B rxy is used. Is the right average density data Dr.
  • the block extraction unit 103 extracts a pair block (two blocks) from the block divided image data. Specifically, the block extraction unit 103 sequentially extracts pair blocks (two blocks) from the block-divided image data, and averages the density distribution in the pair blocks (two blocks) as block density data (not shown). The data are sequentially output to the unit 104.
  • the averaging unit 104 calculates an average level that is an average value of feature amounts in each block. Specifically, the averaging unit 104 obtains a left average level (left average density data) corresponding to one block in the pair block and a right average level (right average density data) corresponding to the other block, These are sequentially stored in the register 105 l and the register 105 r .
  • the adjacent block average level difference calculation unit 106 calculates an average level difference between adjacent blocks composed of two adjacent blocks. Specifically, the adjacent block average level difference calculation unit 106 calculates an average level difference that is a difference between the left average level and the right average level stored in the register 105 l and the register 105 r , and calculates the adjacent block average.
  • the level difference holding unit 107 is notified.
  • the adjacent block average level difference calculation unit 106 determines whether or not the level difference of all blocks (N blocks) has been calculated, and performs decoding processing when the level difference of all blocks (N blocks) has been calculated.
  • the decoding unit 108 is notified of the request.
  • the adjacent block average level difference calculation unit 106 calculates the average level difference of the adjacent blocks that have not been calculated yet. The process is repeated until the level difference of (N blocks) is calculated.
  • the adjacent block average level difference calculation unit 106 determines that the left average density data D l28 is “125” and the right average density data D r28 is “125” in the pair block including the blocks B l28 and B r28. Since it is “115”, “10” is calculated as the average level difference.
  • the adjacent block average level difference holding unit 107 holds, in the plurality of image data, the average level difference having the largest calculated average level difference among adjacent blocks at the same place between the image data in the storage unit 107a.
  • the storage unit 107a and the adjacent block average level difference holding unit 107 hold an average level difference for N adjacent blocks included in one piece of image data.
  • the adjacent block average level difference holding unit 107 when receiving the average level difference from the adjacent block average level difference calculating unit 106, the average level difference received from the adjacent block average level difference calculating unit 106, The average level difference held in the storage unit 107a is compared with an absolute value, and the larger value is stored in the storage unit 107a.
  • the decoding unit 108 decodes the image data using the average level difference held in the adjacent block average level difference holding unit 108. Specifically, when receiving a request to perform decoding processing from the adjacent block average level difference calculation unit 106, the decoding unit 108 stores the left average density data held in the adjacent block average level difference holding unit 107. And the magnitude relation of the right average density data is compared.
  • the decoding unit 108 converts the comparison result into a code string of 0 and 1, and calculates a code string. As a result, the decoding unit 108 determines whether the decoding is successful. Then, when the decoding fails, the decoding unit 108 transmits an image acquisition request to the image acquisition unit 101 and repeats the process until the decoding is successful.
  • each component of the decoder 100 is interconnected via a control unit (not shown).
  • FIG. 4 is a flowchart illustrating the processing operation of the decoder 100 according to the first embodiment.
  • the decoder 100 initializes the average level difference for N adjacent blocks held by the storage unit 107a of the adjacent block average level difference holding unit 107 (step S101).
  • the decoder 100 acquires one piece of image acquisition data (step S102).
  • the decoder 100 divides the code area into a plurality of blocks and extracts pair blocks (two blocks) (step S103). Then, the decoder 100 calculates an average level that is an average value of the feature values in each block (step S104).
  • the decoder 100 calculates an average level difference between adjacent blocks composed of two adjacent blocks (step S105). Then, the decoder 100 compares the calculated calculated average level difference with the held average level difference held by the storage unit 107a using an absolute value, and determines whether the calculated average level difference is larger than the held average level difference (step S106). ).
  • the decoder 100 stores the calculated average level difference in the storage unit 107a (Step S107). If the calculated average level difference is smaller than the retained average level difference (No at Step S106), the decoder 100 maintains the retained average level difference stored in the storage unit 107a and proceeds to S108.
  • the decoder 100 determines whether or not the level difference of all the blocks (N blocks) has been calculated (step S108). If the level difference of all the blocks (N blocks) has not been calculated (No in step S108). S104 also returns to calculate the average level difference between adjacent blocks that have not yet been calculated, and repeat the process until the level differences between all the blocks (N blocks) are calculated.
  • the decoder 100 uses the average level difference held in the adjacent block average level difference holding unit 108 to convert the image data. Decode (step S109).
  • the decoder 100 determines whether or not the decoding is successful (step S110). If the decoding has failed (No at Step S110), the decoding unit 108 returns to S102 to acquire an image again, and repeats the process until the decoding is successful. If the decoding is successful (No at Step S110), the decoding unit 108 ends the process.
  • the decoder 100 selectively holds the maximum adjacent block average level difference in absolute value between images for the same adjacent block in the image from the plurality of image data, and holds the average Decoding is performed with the level difference as one image.
  • a maximum average level difference can be selectively collected from a plurality of images to obtain a correct average level difference. It is possible to improve the decoding accuracy over the above-described decoding.
  • the decoder 100 acquires an image again when decoding fails. However, after further performing a process of changing the input image acquisition condition, the decoder 100 acquires an image again. May be.
  • FIG. 5 is a block diagram illustrating the configuration of the decoder according to the second embodiment.
  • FIG. 6 is a diagram for explaining a process of decoding by changing the input / output characteristic setting value.
  • FIG. 7 is a diagram for explaining a process of decoding by changing the set value of the visual field range.
  • FIG. 8 is a flowchart illustrating the processing operation of the decoder according to the second embodiment.
  • the decoder 100a is different from the decode 100 shown in FIG. 1 in that an image acquisition condition setting unit 109 is newly provided.
  • the complementary image acquisition condition setting unit 109 changes and sets an image acquisition condition that is an image capturing condition for each image capturing.
  • the image acquisition condition setting unit 109 sets the image acquisition characteristics that are image acquisition conditions in advance (setting values that can be set as camera shooting conditions). ) Is changed and set. Then, the image acquisition unit 101 acquires image data using the set image acquisition conditions.
  • the decoder 100a changes input / output characteristics (brightness, contrast) setting values for each image data, and from each image data having different input / output characteristics, the decoder has the maximum average level difference between the blocks. Select and use values. That is, since the blocks included in the insensitive area change for each image, the blocks not included in the insensitive area are selected and decoded in combination, so that the decoding success rate is improved.
  • the decoder 100a changes the condition of the image acquisition characteristic at the time of image acquisition, and changes the set value of the visual field range (zoom) so that the extraction range of the code embedding area becomes a predetermined ratio. To do. As a result, the size of the code embedding area approaches the appropriate size, and the decoding success rate can be improved.
  • the decoding process of the decoder 100a according to the second embodiment is different from the decoding process of the decoder 100a according to the first embodiment illustrated in FIG. 4 in that the image acquisition characteristic is newly changed.
  • the image data is decoded using the average level difference held in the adjacent block average level difference holding unit 108, and after decoding fails (No in step S110), all set values to be stored are stored. It is determined whether it has been applied (step S211). As a result, when all the setting values have been applied (Yes at step S211), the decoder 100a ends the process.
  • the decoder 100a changes the image acquisition characteristic (Step S212), returns to S202, and converts the image data using the changed image acquisition characteristic. get.
  • the image acquisition condition is changed for each image. Therefore, the average level difference between adjacent blocks is changed for each image data, and the image data can be selectively selected from a plurality of images. As a result of collecting the maximum average level difference, it is possible to further improve the decoding accuracy rate.
  • the blocks included in the insensitive area are changed for each image, and the decoding success rate can be further improved.
  • the setting value of the visual field range (zoom) of the input device is changed so that the extraction range of the code embedding region becomes a predetermined ratio.
  • the size of the code embedding area approaches the appropriate size, and the decoding success rate can be improved.
  • the program for realizing the function of the decoder 100 is recorded in the computer-readable recording medium 700 shown in FIG. Then, each function may be realized by causing the computer 600 shown in the figure to read and execute the program recorded in the recording medium 700.
  • a computer 600 shown in the figure reads a program from a CPU 610 that executes a program, an input device 620 such as a keyboard and a mouse, a ROM 630 that stores various data, a RAM 640 that stores calculation parameters, and the like, and a recording medium 700.
  • a reading device 650 and an output device 660 such as a display are included.
  • the CPU 610 implements the above-described functions by reading a program recorded on the recording medium 700 via the reading device 650 and then executing the program.
  • Examples of the recording medium 700 include an optical disk, a flexible disk, and a hard disk.
  • the present invention is not limited to this, and images such as granularity, saturation, density centroid, and variance are used. Other feature amounts obtained from the above may be used. In this case, since the feature amount is granularity, saturation, density gravity center or dispersion, it is difficult to notice and the influence of image quality can be reduced.
  • the above-described feature amount converted into another feature amount based on a predetermined conversion rule may be used.

Abstract

A decoder (100) fetches a plurality of image data and divides each image data into a plurality of blocks, and extracts an average level which is an average value of characteristic quantities in each block. For each two adjacent blocks out of the divided blocks, the decoder (100) calculates an average level difference which is a difference of average level between the two blocks. From among the pairs of two adjacent blocks at the same position in the plurality of fetched image data, the decoder (100) selects the pair of two adjacent blocks which has the largest average level difference for each position, and decodes the data using the average level difference selected for each position.

Description

画像データ処理方法、画像データ処理装置および画像データ処理プログラムImage data processing method, image data processing apparatus, and image data processing program
 この発明は、画像データに埋め込まれたコードを抽出するための画像データ処理方法、画像データ処理装置および画像データ処理プログラムに関する。 The present invention relates to an image data processing method, an image data processing apparatus, and an image data processing program for extracting a code embedded in image data.
 従来より、隣接ブロックの平均濃度の差を使用して隣接ブロックのペアにコードを埋め込むコード埋め込み技術がある。そして、このようなコードが埋め込まれた画像をカメラ等の入力装置によって取得し、デコード処理を行う技術が実施されている(図10参照)。 Conventionally, there is a code embedding technique for embedding a code in a pair of adjacent blocks using a difference in average density of adjacent blocks. And the technique which acquires the image in which such a code was embedded with input devices, such as a camera, and performs a decoding process is implemented (refer FIG. 10).
 例えば、ステガノグラフィのデコードでは、カメラ等の入力機器による入力画像に対して、コードの埋め込まれた画像領域(コード領域)を検出し、検出領域を複数のブロックに分割し、各ブロックの平均濃度を算出する。そして、隣接ブロック(ブロックペア)の平均レベルの大小関係(レベル差)から埋め込まれたデータを取り出す(特許文献1参照)。 For example, in steganography decoding, an image area (code area) in which a code is embedded is detected from an input image from an input device such as a camera, the detection area is divided into a plurality of blocks, and the average density of each block is determined. calculate. Then, the embedded data is extracted from the magnitude relationship (level difference) between the average levels of adjacent blocks (block pairs) (see Patent Document 1).
 このようなデコードする処理について具体的に説明すると、入力機器のデフォルトの固定設定値を用いて、画像取得を1回行って画像を取得し、取得された1枚の画像を用いてデコード処理を行っていた。 A specific description will be given of such decoding processing. Using the default fixed setting value of the input device, image acquisition is performed once to acquire an image, and decoding processing is performed using the acquired single image. I was going.
特開2006-191665号公報JP 2006-191665 A
 しかしながら、上記の従来技術では、入力機器のデフォルトの固定設定値を用いて、1枚の画像を用いてデコード処理を行っていたので、平均レベル差が無くなってしまい正しくデコードできない場合がある。つまり、撮影環境の明るさ、撮影カメラの撮影対象画像への陰の影響、不適切な撮影距離などにより、隣接ブロックの平均レベル差が埋め込んでいる通りに取得することができない場合があった。 However, in the above prior art, since the decoding process is performed using one image using the default fixed setting value of the input device, there is a case where the average level difference disappears and the decoding cannot be performed correctly. That is, in some cases, the average level difference between adjacent blocks cannot be acquired due to the brightness of the shooting environment, the influence of the shadow on the shooting target image of the shooting camera, or an inappropriate shooting distance.
 具体的には、入力画像における隣接ブロック(ブロックペア)の平均レベルの差が撮影画像では平坦になってしまう領域(不感領域)や本来埋め込んでいる平均レベル差が正しく取得できず、本来あるはずの平均レベル差が無くなってしまう(図11参照)。この結果、本来あるはずの平均レベル差が無くなってしまい、コードが埋め込まれた画像に対して、正しくデコードができず、埋め込まれたデータを適切に取り出すことが出来ないという課題があった。 Specifically, the area where the average level difference between adjacent blocks (block pairs) in the input image becomes flat in the captured image (insensitive area), or the average level difference originally embedded cannot be acquired correctly, and should be there. (See FIG. 11). As a result, the average level difference that should have existed is eliminated, and the image in which the code is embedded cannot be correctly decoded, and the embedded data cannot be properly extracted.
 そこで、この発明は、正しくデコードを行い、埋め込まれたデータを適切に取り出して、デコード処理の精度を向上することを目的とする。 Therefore, an object of the present invention is to perform decoding correctly, take out embedded data appropriately, and improve the accuracy of decoding processing.
 上述した課題を解決し、目的を達成するため、この方法は、複数の画像データ間の同一位置の隣接ブロックのうち、平均レベル差が最も大きい平均レベル差を各位置ごとに選択し、選択された平均レベル差を用いて、デコードすることを要件とする。 In order to solve the above-described problems and achieve the object, this method selects, for each position, an average level difference having the largest average level difference among adjacent blocks at the same position among a plurality of image data. It is necessary to decode using the average level difference.
 開示の方法は、デコード処理の精度を向上するという効果を奏する。 The disclosed method has the effect of improving the accuracy of the decoding process.
図1は、実施例1に係るデコーダの構成を示すブロック図である。FIG. 1 is a block diagram illustrating the configuration of the decoder according to the first embodiment. 図2は、取得された原画像を示す図である。FIG. 2 is a diagram showing the acquired original image. 図3は、平均レベル差を算出する処理を説明するための図である。FIG. 3 is a diagram for explaining the process of calculating the average level difference. 図4は、実施例1に係るデコーダの処理動作を示すフローチャートである。FIG. 4 is a flowchart illustrating the processing operation of the decoder according to the first embodiment. 図5は、実施例2に係るデコーダの構成を示すブロック図である。FIG. 5 is a block diagram illustrating the configuration of the decoder according to the second embodiment. 図6は、入出力特性設定値を変更してデコードする処理を説明するための図である。FIG. 6 is a diagram for explaining a process of decoding by changing the input / output characteristic setting value. 図7は、視野範囲の設定値を変更してデコードする処理を説明するための図である。FIG. 7 is a diagram for explaining a process of decoding by changing the set value of the visual field range. 図8は、実施例2に係るデコーダの処理動作を示すフローチャートである。FIG. 8 is a flowchart illustrating the processing operation of the decoder according to the second embodiment. 図9は、デコード処理プログラムを実行するコンピュータを示す図である。FIG. 9 is a diagram illustrating a computer that executes a decoding processing program. 図10は、従来技術を説明するための図である。FIG. 10 is a diagram for explaining the prior art. 図11は、従来技術を説明するための図である。FIG. 11 is a diagram for explaining the prior art.
符号の説明Explanation of symbols
 100、100a デコーダ
 101 画像取得部
 102 ブロック分割部
 103 ブロック抽出部
 104 平均化部
 105l、105r レジスタ
 106 隣接ブロック平均レベル差算出部
 107 隣接ブロック平均レベル差保持部
 108 デコード部
 109 入力条件設定部
100, 100a Decoder 101 Image acquisition unit 102 Block division unit 103 Block extraction unit 104 Averaging unit 105l, 105r Register 106 Adjacent block average level difference calculation unit 107 Adjacent block average level difference holding unit 108 Decoding unit 109 Input condition setting unit
 以下に添付図面を参照して、この発明に係る画像データ処理方法、画像データ処理装置および画像データ処理プログラムの実施例を詳細に説明する。 Embodiments of an image data processing method, an image data processing apparatus, and an image data processing program according to the present invention will be described below in detail with reference to the accompanying drawings.
 以下の実施例1では、実施例1に係るデコーダの構成、処理の流れを順に説明し、最後に実施例1による効果を説明する。なお、以下では、隣接ブロックの平均濃度の差を使用して隣接ブロックのペアにコードを埋め込むコード埋め込み技術によりステガノグラフィコードが埋め込まれた画像の画像データをデコードする場合に適用する例を説明する。 In the following first embodiment, the configuration and processing flow of the decoder according to the first embodiment will be described in order, and finally the effects of the first embodiment will be described. Hereinafter, an example will be described in which the present invention is applied to decoding image data of an image in which a steganography code is embedded by a code embedding technique for embedding a code in a pair of adjacent blocks using a difference in average density of adjacent blocks.
[デコーダの構成]
 まず最初に、図1~図3を用いて、実施例1に係るデコーダの構成を説明する。図1は、実施例1に係るデコーダ100の構成を示すブロック図である。図2は、取得された原画像を示す図である。図3は、平均レベル差を算出する処理を説明するための図である。   
[Decoder configuration]
First, the configuration of the decoder according to the first embodiment will be described with reference to FIGS. FIG. 1 is a block diagram illustrating a configuration of the decoder 100 according to the first embodiment. FIG. 2 is a diagram showing the acquired original image. FIG. 3 is a diagram for explaining the process of calculating the average level difference.
 図1に示すように、デコーダ100は、エンコードされた画像データから、埋め込まれたコードをデコードするための装置である。以下にこれらの各部の処理を説明する。デコーダ100は、画像取得部101、ブロック分割部102、ブロック抽出部103、平均化部104、レジスタ105l、105r、隣接ブロック平均レベル差算出部106、隣接ブロック平均レベル差保持部107、デコード部108を備える。以下にこれらの各部の処理を説明する。 As shown in FIG. 1, the decoder 100 is a device for decoding an embedded code from encoded image data. The processing of each of these units will be described below. The decoder 100 includes an image acquisition unit 101, a block division unit 102, a block extraction unit 103, an averaging unit 104, registers 105l and 105r, an adjacent block average level difference calculation unit 106, an adjacent block average level difference holding unit 107, and a decoding unit 108. Is provided. The processing of each of these units will be described below.
 デコーダ100において、画像取得部101は、画像を複数回撮影して複数の画像データを取得する。具体的には、画像取得部101は、画像取得要求を受け付けると、画像取得データをまず1枚取得し(図2参照)、ブロック分割部102に出力する。その後、画像取得部101は、後述するデコード部108がデコードに失敗した場合に送信する画像取得要求を受信するたびに、画像取得データを再度1枚取得する処理を繰り返す。 In the decoder 100, the image acquisition unit 101 acquires a plurality of image data by capturing an image a plurality of times. Specifically, when receiving an image acquisition request, the image acquisition unit 101 first acquires one piece of image acquisition data (see FIG. 2) and outputs it to the block division unit 102. Thereafter, the image acquisition unit 101 repeats the process of acquiring one piece of image acquisition data every time it receives an image acquisition request transmitted when the decoding unit 108 described later fails in decoding.
 ブロック分割部102は、取得された各画像データを複数のブロックに分割する。具体的には、ブロック分割部102は、画像データからコード領域を抽出した後、図3に示すように、画像データのコード領域をN行×M列(同図の場合、16×16)のブロックに分割し、ブロック分割画像データとしてブロック部抽出部103に出力する。 The block dividing unit 102 divides each acquired image data into a plurality of blocks. Specifically, after extracting the code area from the image data, the block dividing unit 102 divides the code area of the image data into N rows × M columns (16 × 16 in this case) as shown in FIG. The block is divided into blocks, and output to the block extraction unit 103 as block division image data.
 このブロック分割画像データは、ブロックBl11、Br11、・・・、Bl18、Br18、Bl21、Br21、・・・、Bl168、Br168という256(16×16)ブロックから構成されている。一つのブロックは、64×64画素サイズとされている。 The block division image data, block B l11, B r11, ···, B l18, B r18, B l21, B r21, ···, B l168, B r168 of 256 (16 × 16) is composed of block ing. One block has a size of 64 × 64 pixels.
 ここで、ブロック分割画像データにおいては、ペアブロック(隣接する2つのブロック)に1ビットのコードが埋め込まれている。 Here, in the block-divided image data, a 1-bit code is embedded in a pair block (two adjacent blocks).
 具体的には、ペアブロックは、ブロックBl11およびBr11、ブロックBl12およびBr12、・・・、ブロックBl18およびBr18(ここまで1行目)、ブロックBl21およびBr21、・・・、ブロックBl28およびBr28(ここまで2行目)、・・・、ブロックBl161およびBr161、・・・、ブロックBl168およびBr168(ここまで16行目)という2つのブロックから構成されている。 Specifically, the pair of blocks, the block B l11 and B r11, block B l12 and B r12, · · ·, blocks B l18 and B r18 (1 row far), the block B l21 and B r21, · · .. , Blocks B l28 and B r28 (the second row so far),..., Blocks B l161 and B r161 ,..., Blocks B l168 and B r168 (the 16th row so far) Has been.
 ここで、ペアブロックの一方のブロックBlxyにおいて、添字lは、ペアブロックにおいて左側のブロックであることを表す。添字xは、行(N)を表す。また、添字yは、列(M)を表す。他方、ペアブロックのブロックBrxyにおいて、添字rは、ペアブロックにおいて右側のブロックであることを表す。添字xは、行(N)を表す。また、添字yは、列(M)を表す。 Here, in one block B lxy of the pair block, the subscript l indicates that it is the left block in the pair block. The subscript x represents a row (N). The subscript y represents the column (M). On the other hand, in the block B rxy of the pair block, the subscript r represents the right block in the pair block. The subscript x represents a row (N). The subscript y represents the column (M).
 また、ペアブロックにおいて、左側のブロックBlxyにおける特徴量としての平均濃度(ブロック内の各画素の平均階調)を左側平均濃度データDlとし、右側のブロックBrxyの平均濃度(特徴量)を右側平均濃度データDrとする。 In the pair block, the average density (average gradation of each pixel in the block) as the feature quantity in the left block B lxy is set as the left average density data D l, and the average density (feature quantity) in the right block B rxy is used. Is the right average density data Dr.
 ブロック抽出部103は、ブロック分割画像データからペアブロック(2つのブロック)を抽出する。具体的には、ブロック抽出部103は、ブロック分割画像データからペアブロック(2つのブロック)を順次抽出し、ペアブロック(2つのブロック)における濃度分布をブロック濃度データ(図示略)として、平均化部104に順次出力する。 The block extraction unit 103 extracts a pair block (two blocks) from the block divided image data. Specifically, the block extraction unit 103 sequentially extracts pair blocks (two blocks) from the block-divided image data, and averages the density distribution in the pair blocks (two blocks) as block density data (not shown). The data are sequentially output to the unit 104.
 平均化部104は、各ブロックにおける特徴量の平均値である平均レベルを算出する。具体的には、平均化部104は、ペアブロックにおける一方のブロックに対応する左側平均レベル(左側平均濃度データ)と、他方のブロックに対応する右側平均レベル(右側平均濃度データ)とを求め、これらをレジスタ105lおよびレジスタ105rに順次格納する。 The averaging unit 104 calculates an average level that is an average value of feature amounts in each block. Specifically, the averaging unit 104 obtains a left average level (left average density data) corresponding to one block in the pair block and a right average level (right average density data) corresponding to the other block, These are sequentially stored in the register 105 l and the register 105 r .
 隣接ブロック平均レベル差算出部106は、隣接する2つのブロックからなる隣接ブロック間における平均レベル差を算出する。具体的には、隣接ブロック平均レベル差算出部106は、レジスタ105lおよびレジスタ105rに格納されている左側平均レベルと、右側平均レベルとの差である平均レベル差を算出し、隣接ブロック平均レベル差保持部107に通知する。 The adjacent block average level difference calculation unit 106 calculates an average level difference between adjacent blocks composed of two adjacent blocks. Specifically, the adjacent block average level difference calculation unit 106 calculates an average level difference that is a difference between the left average level and the right average level stored in the register 105 l and the register 105 r , and calculates the adjacent block average. The level difference holding unit 107 is notified.
 その後、隣接ブロック平均レベル差算出部106は、全てのブロック(Nブロック)のレベル差を計算したか判定し、全てのブロック(Nブロック)のレベル差を計算した場合には、デコード処理を行う旨の要求をデコード部108に通知する。 After that, the adjacent block average level difference calculation unit 106 determines whether or not the level difference of all blocks (N blocks) has been calculated, and performs decoding processing when the level difference of all blocks (N blocks) has been calculated. The decoding unit 108 is notified of the request.
 また、隣接ブロック平均レベル差算出部106は、全てのブロック(Nブロック)のレベル差を計算していない場合には、まだ算出していない隣接ブロックの平均レベル差を算出し、全てのブロック(Nブロック)のレベル差を計算するまで処理を繰り返す。 In addition, when the adjacent block average level difference calculation unit 106 has not calculated the level difference of all the blocks (N blocks), the adjacent block average level difference calculation unit 106 calculates the average level difference of the adjacent blocks that have not been calculated yet. The process is repeated until the level difference of (N blocks) is calculated.
 図3の例を用いて説明すると、隣接ブロック平均レベル差算出部106は、ブロックBl28およびBr28からなるペアブロックでは、左側平均濃度データDl28が「125」、右側平均濃度データDr28が「115」であるため、平均レベル差として「10」を算出する。 Referring to the example of FIG. 3, the adjacent block average level difference calculation unit 106 determines that the left average density data D l28 is “125” and the right average density data D r28 is “125” in the pair block including the blocks B l28 and B r28. Since it is “115”, “10” is calculated as the average level difference.
 隣接ブロック平均レベル差保持部107は、複数の画像データにおいて、各画像データ間の同一場所の隣接ブロックのうち、算出された平均レベル差が最も大きい平均レベル差を記憶部107aに保持させる。ここで、記憶部107aは、隣接ブロック平均レベル差保持部107は、1枚の画像データに含まれる隣接ブロックN個分の平均レベル差を保持する。 The adjacent block average level difference holding unit 107 holds, in the plurality of image data, the average level difference having the largest calculated average level difference among adjacent blocks at the same place between the image data in the storage unit 107a. Here, the storage unit 107a and the adjacent block average level difference holding unit 107 hold an average level difference for N adjacent blocks included in one piece of image data.
 具体的には、隣接ブロック平均レベル差保持部107は、隣接ブロック平均レベル差算出部106から平均レベル差を受信した場合には、隣接ブロック平均レベル差算出部106から受信した平均レベル差と、記憶部107aが保持する平均レベル差とを絶対値で比較し、大きな値の方を記憶部107aに保存する。 Specifically, the adjacent block average level difference holding unit 107, when receiving the average level difference from the adjacent block average level difference calculating unit 106, the average level difference received from the adjacent block average level difference calculating unit 106, The average level difference held in the storage unit 107a is compared with an absolute value, and the larger value is stored in the storage unit 107a.
 デコード部108は、隣接ブロック平均レベル差保持部108に保持された平均レベル差を用いて、画像データをデコードする。具体的には、デコード部108は、デコード処理を行う旨の要求を隣接ブロック平均レベル差算出部106から受信した場合には、隣接ブロック平均レベル差保持部107に保持されている左側平均濃度データおよび右側平均濃度データの大小関係を比較する。 The decoding unit 108 decodes the image data using the average level difference held in the adjacent block average level difference holding unit 108. Specifically, when receiving a request to perform decoding processing from the adjacent block average level difference calculation unit 106, the decoding unit 108 stores the left average density data held in the adjacent block average level difference holding unit 107. And the magnitude relation of the right average density data is compared.
 そして、デコード部108は、デコード処理として、比較結果から0と1のコード列に変換し、コード列を算出する。その結果、デコード部108は、デコードが成功したか否かを判定する。そして、デコード部108は、デコードが失敗した場合には、画像取得部101に画像取得要求を送信し、デコードに成功するまで処理を繰り返す。 Then, as a decoding process, the decoding unit 108 converts the comparison result into a code string of 0 and 1, and calculates a code string. As a result, the decoding unit 108 determines whether the decoding is successful. Then, when the decoding fails, the decoding unit 108 transmits an image acquisition request to the image acquisition unit 101 and repeats the process until the decoding is successful.
 また、デコーダ100の各構成要素は、図示しない制御部を介して相互接続されている。 Further, each component of the decoder 100 is interconnected via a control unit (not shown).
[デコーダによる処理]
 次に、図4を用いて、実施例1に係るデコーダ100による処理を説明する。図4は、実施例1に係るデコーダ100の処理動作を示すフローチャートである。
[Processing by decoder]
Next, processing performed by the decoder 100 according to the first embodiment is described with reference to FIG. FIG. 4 is a flowchart illustrating the processing operation of the decoder 100 according to the first embodiment.
 同図に示すように、デコーダ100は、隣接ブロック平均レベル差保持部107の記憶部107aが保持する隣接ブロックN個分の平均レベル差を初期化する(ステップS101)。そして、デコーダ100は、画像取得要求を受け付けると、画像取得データを1枚取得する(ステップS102)。 As shown in the figure, the decoder 100 initializes the average level difference for N adjacent blocks held by the storage unit 107a of the adjacent block average level difference holding unit 107 (step S101). When receiving the image acquisition request, the decoder 100 acquires one piece of image acquisition data (step S102).
 続いて、デコーダ100は、画像データからコード領域を抽出した後、複数のブロックに分割し、ペアブロック(2つのブロック)を抽出する(ステップS103)。そして、デコーダ100は、各ブロックにおける特徴量の平均値である平均レベルを算出する(ステップS104)。 Subsequently, after extracting the code area from the image data, the decoder 100 divides the code area into a plurality of blocks and extracts pair blocks (two blocks) (step S103). Then, the decoder 100 calculates an average level that is an average value of the feature values in each block (step S104).
 その後、デコーダ100は、隣接する2つのブロックからなる隣接ブロック間における平均レベル差を算出する(ステップS105)。そして、デコーダ100は、算出された算出平均レベル差と、記憶部107aが保持する保持平均レベル差とを絶対値で比較し、算出平均レベル差が保持平均レベル差より大きいか判定する(ステップS106)。 Thereafter, the decoder 100 calculates an average level difference between adjacent blocks composed of two adjacent blocks (step S105). Then, the decoder 100 compares the calculated calculated average level difference with the held average level difference held by the storage unit 107a using an absolute value, and determines whether the calculated average level difference is larger than the held average level difference (step S106). ).
 その結果、デコーダ100は、算出平均レベル差が保持平均レベル差より大きい場合には(ステップS106肯定)、算出平均レベル差を記憶部107aに保存する(ステップS107)。また、デコーダ100は、算出平均レベル差が保持平均レベル差より小さい場合には(ステップS106否定)、記憶部107aに記憶された保持平均レベル差のまま維持してS108に進む。 As a result, when the calculated average level difference is larger than the retained average level difference (Yes at Step S106), the decoder 100 stores the calculated average level difference in the storage unit 107a (Step S107). If the calculated average level difference is smaller than the retained average level difference (No at Step S106), the decoder 100 maintains the retained average level difference stored in the storage unit 107a and proceeds to S108.
 そして、デコーダ100は、全てのブロック(Nブロック)のレベル差を計算したか判定し(ステップS108)、全てのブロック(Nブロック)のレベル差を計算していない場合には(ステップS108否定)、S104も戻って、まだ算出していない隣接ブロックの平均レベル差を算出し、全てのブロック(Nブロック)のレベル差を計算するまで処理を繰り返す。 Then, the decoder 100 determines whether or not the level difference of all the blocks (N blocks) has been calculated (step S108). If the level difference of all the blocks (N blocks) has not been calculated (No in step S108). S104 also returns to calculate the average level difference between adjacent blocks that have not yet been calculated, and repeat the process until the level differences between all the blocks (N blocks) are calculated.
 また、デコーダ100は、全てのブロック(Nブロック)のレベル差を計算した場合には(ステップS108肯定)、隣接ブロック平均レベル差保持部108に保持された平均レベル差を用いて、画像データをデコードする(ステップS109)。 When the decoder 100 calculates the level difference of all the blocks (N blocks) (Yes at step S108), the decoder 100 uses the average level difference held in the adjacent block average level difference holding unit 108 to convert the image data. Decode (step S109).
 そして、デコーダ100は、デコードが成功したか否かを判定する(ステップS110)。そして、デコード部108は、デコードが失敗した場合には(ステップS110否定)、S102に戻って再度画像を取得し、デコードに成功するまで処理を繰り返す。また、デコード部108は、デコードが成功した場合には(ステップS110否定)、処理を終了する。 Then, the decoder 100 determines whether or not the decoding is successful (step S110). If the decoding has failed (No at Step S110), the decoding unit 108 returns to S102 to acquire an image again, and repeats the process until the decoding is successful. If the decoding is successful (No at Step S110), the decoding unit 108 ends the process.
[実施例1の効果]
 上述してきたように、デコーダ100は、複数毎の画像データから画像内の同一の隣接ブロックを対象に画像間で絶対値で最大の隣接ブロック平均レベル差を選択的に保持し、保持させた平均レベル差を1枚の画像としてデコード処理を行う。これにより、1枚の画像では正しい平均レベル差が取得できないような場合でも、複数枚の画像から選択的に最大の平均レベル差を集めて正しい平均レベル差が取得できる結果、1枚を対象にしたデコードよりもデコードの精度を向上すること可能となる。
[Effect of Example 1]
As described above, the decoder 100 selectively holds the maximum adjacent block average level difference in absolute value between images for the same adjacent block in the image from the plurality of image data, and holds the average Decoding is performed with the level difference as one image. As a result, even when a single image cannot obtain a correct average level difference, a maximum average level difference can be selectively collected from a plurality of images to obtain a correct average level difference. It is possible to improve the decoding accuracy over the above-described decoding.
 ところで、上記の実施例1では、デコーダ100は、デコードに失敗した場合に、再度画像を取得しているが、さらに入力画像取得条件を変更する処理を行った後、再度画像を取得するようにしてもよい。 By the way, in the above-described first embodiment, the decoder 100 acquires an image again when decoding fails. However, after further performing a process of changing the input image acquisition condition, the decoder 100 acquires an image again. May be.
 そこで、以下の実施例2では、入力画像取得条件を変更した後、変更された画像取得条件を用いて、再度画像を取得する場合として、図5~図8を用いて、実施例2におけるデコーダ100aの構成と処理について説明する。図5は、実施例2に係るデコーダの構成を示すブロック図である。図6は、入出力特性設定値を変更してデコードする処理を説明するための図である。図7は、視野範囲の設定値を変更してデコードする処理を説明するための図である。図8は、実施例2に係るデコーダの処理動作を示すフローチャートである。 Therefore, in the following second embodiment, as a case where an image is acquired again using the changed image acquisition condition after the input image acquisition condition is changed, the decoder in the second embodiment is used with reference to FIGS. The configuration and processing of 100a will be described. FIG. 5 is a block diagram illustrating the configuration of the decoder according to the second embodiment. FIG. 6 is a diagram for explaining a process of decoding by changing the input / output characteristic setting value. FIG. 7 is a diagram for explaining a process of decoding by changing the set value of the visual field range. FIG. 8 is a flowchart illustrating the processing operation of the decoder according to the second embodiment.
 図5に示すように、デコーダ100aは、図1に示したデコード100と比較して、画像取得条件設定部109を新たに備える点が相違する。デコーダ100aにおいて、補画像取得条件設定部109は、画像の撮影条件である画像取得条件を撮影ごとに変更して設定する。 As shown in FIG. 5, the decoder 100a is different from the decode 100 shown in FIG. 1 in that an image acquisition condition setting unit 109 is newly provided. In the decoder 100a, the complementary image acquisition condition setting unit 109 changes and sets an image acquisition condition that is an image capturing condition for each image capturing.
 具体的には、画像取得条件設定部109は、デコード部108がデコードを失敗した場合には、画像の取得条件である画像取得特性を予め準備した設定値(カメラの撮影条件として設定できる設定値)を変更して設定する。そして、画像取得部101は、設定された画像取得条件を用いて、画像データを取得する。 Specifically, when the decoding unit 108 fails to decode, the image acquisition condition setting unit 109 sets the image acquisition characteristics that are image acquisition conditions in advance (setting values that can be set as camera shooting conditions). ) Is changed and set. Then, the image acquisition unit 101 acquires image data using the set image acquisition conditions.
 ここで、画像取得特性の例として、例えば、撮影時の明るさやコントラストの設定値である入出力特性や撮影時のズームの設定値であるズーム値を変更して設定する。ここで、図6および図7の例を用いて、入出力特性設定値を変更してデコードする処理、視野範囲の設定値を変更してデコードする処理についてそれぞれ説明する。 Here, as an example of the image acquisition characteristics, for example, input / output characteristics that are setting values of brightness and contrast at the time of shooting and zoom values that are setting values of zoom at the time of shooting are changed and set. Here, the processing for changing the input / output characteristic setting value and decoding, and the processing for changing the setting value of the visual field range and decoding will be described using the example of FIGS.
 図6に示すように、デコーダ100aは、入出力特性(明るさ、コントラスト)設定値を画像データごとに変更し、入出力特性が異なる各画像データから、ブロックの平均レベル差が最大のブロックの値を選択し組み合わせて使用する。つまり、画像毎で不感領域に含まれるブロックが変化するので、不感領域に含まれていないブロックを選択し、組み合わせてデコードする結果、デコード成功率が向上する。 As shown in FIG. 6, the decoder 100a changes input / output characteristics (brightness, contrast) setting values for each image data, and from each image data having different input / output characteristics, the decoder has the maximum average level difference between the blocks. Select and use values. That is, since the blocks included in the insensitive area change for each image, the blocks not included in the insensitive area are selected and decoded in combination, so that the decoding success rate is improved.
 また、図7に示すように、デコーダ100aは、画像取得時の画像取得時特性の条件変更を、コード埋め込み領域の抽出範囲が所定の割合になるように視野範囲(ズーム)の設定値を変更する。これにより、コード埋め込み領域の大きさが適正サイズに近づき、デコード成功率の向上が可能となる。 Further, as shown in FIG. 7, the decoder 100a changes the condition of the image acquisition characteristic at the time of image acquisition, and changes the set value of the visual field range (zoom) so that the extraction range of the code embedding area becomes a predetermined ratio. To do. As a result, the size of the code embedding area approaches the appropriate size, and the decoding success rate can be improved.
 次に、実施例2に係るデコーダ100aの処理動作について説明する。実施例2のデコーダ100aのデコード処理は、図4に示した実施例1にかかるデコーダ100aのデコード処理と比較して、画像取得特性の変更を新たに行う点が相違する。 Next, the processing operation of the decoder 100a according to the second embodiment will be described. The decoding process of the decoder 100a according to the second embodiment is different from the decoding process of the decoder 100a according to the first embodiment illustrated in FIG. 4 in that the image acquisition characteristic is newly changed.
 すなわち、図8に示すように、隣接ブロック平均レベル差保持部108に保持された平均レベル差を用いて画像データをデコードし、デコードを失敗した後(ステップS110否定)、記憶する全設定値を適用済みであるかを判定する(ステップS211)。この結果、デコーダ100aは、全設定値を適用済みである場合には(ステップS211肯定)、処理を終了する。 That is, as shown in FIG. 8, the image data is decoded using the average level difference held in the adjacent block average level difference holding unit 108, and after decoding fails (No in step S110), all set values to be stored are stored. It is determined whether it has been applied (step S211). As a result, when all the setting values have been applied (Yes at step S211), the decoder 100a ends the process.
 また、デコーダ100aは、全設定値を適用済みでない場合には(ステップS211否定)、画像取得特性を変更し(ステップS212)、S202に戻って、変更された画像取得特性を用いて画像データを取得する。 If all the set values have not been applied (No at Step S211), the decoder 100a changes the image acquisition characteristic (Step S212), returns to S202, and converts the image data using the changed image acquisition characteristic. get.
 このように実施例2によれば、画像データを取得する時点で、画像取得条件を画像毎に変更させるので、隣接ブロックの平均レベル差を画像データごとに変化させ、複数枚の画像から選択的に最大の平均レベル差を集める結果、デコードの正解率をさらに向上することが可能である。 As described above, according to the second embodiment, when the image data is acquired, the image acquisition condition is changed for each image. Therefore, the average level difference between adjacent blocks is changed for each image data, and the image data can be selectively selected from a plurality of images. As a result of collecting the maximum average level difference, it is possible to further improve the decoding accuracy rate.
 また、実施例2によれば、画像入力条件を画像毎に変更するので、画像毎で不感領域に含まれるブロックが変化し、デコード成功率をさらに向上させることが可能である。 Further, according to the second embodiment, since the image input condition is changed for each image, the blocks included in the insensitive area are changed for each image, and the decoding success rate can be further improved.
 また、実施例2によれば、コード埋め込み領域の抽出範囲が所定の割合になるように入力機器の視野範囲(ズーム)の設定値を変更する。これにより,コード埋め込み領域の大きさが適正サイズに近づき、デコード成功率の向上が可能となる。 Also, according to the second embodiment, the setting value of the visual field range (zoom) of the input device is changed so that the extraction range of the code embedding region becomes a predetermined ratio. As a result, the size of the code embedding area approaches the appropriate size, and the decoding success rate can be improved.
 以上本発明にかかる実施例1、2について図面を参照して詳述してきたが、具体的な構成例はこれらの実施例1、2に限られるものではなく、本発明の要旨を逸脱しない範囲の設計変更等があっても本発明に含まれる。 As described above, the first and second embodiments according to the present invention have been described in detail with reference to the drawings. However, specific configuration examples are not limited to the first and second embodiments and do not depart from the gist of the present invention. Such design changes are included in the present invention.
 例えば、前述した実施例1、2においては、デコーダ100の機能を実現するためのプログラムを図9に示したコンピュータ読み取り可能な記録媒体700に記録している。そして、記録媒体700に記録されたプログラムを同図に示したコンピュータ600に読み込ませ、実行することにより各機能を実現してもよい。 For example, in the first and second embodiments, the program for realizing the function of the decoder 100 is recorded in the computer-readable recording medium 700 shown in FIG. Then, each function may be realized by causing the computer 600 shown in the figure to read and execute the program recorded in the recording medium 700.
 同図に示したコンピュータ600は、プログラムを実行するCPU610と、キーボード、マウス等の入力装置620と、各種データを記憶するROM630と、演算パラメータ等を記憶するRAM640と、記録媒体700からプログラムを読み取る読取装置650と、ディスプレイ等の出力装置660とから構成されている。 A computer 600 shown in the figure reads a program from a CPU 610 that executes a program, an input device 620 such as a keyboard and a mouse, a ROM 630 that stores various data, a RAM 640 that stores calculation parameters, and the like, and a recording medium 700. A reading device 650 and an output device 660 such as a display are included.
 CPU610は、読取装置650を経由して記録媒体700に記録されているプログラムを読み込んだ後、プログラムを実行することにより、前述した機能を実現する。なお、記録媒体700としては、光ディスク、フレキシブルディスク、ハードディスク等が挙げられる。 The CPU 610 implements the above-described functions by reading a program recorded on the recording medium 700 via the reading device 650 and then executing the program. Examples of the recording medium 700 include an optical disk, a flexible disk, and a hard disk.
 また、実施例1、2においては、画像(ブロック)の特徴量として平均濃度を用いた例について説明したが、これに限定されることなく、粒状度、彩度、濃度重心、分散等の画像から求められる他の特徴量を用いてもよい。この場合、特徴量を、粒状度、彩度、濃度重心または分散としたので、目立ちにくく、画質の影響を低減することができる。 In the first and second embodiments, the example in which the average density is used as the feature amount of the image (block) has been described. However, the present invention is not limited to this, and images such as granularity, saturation, density centroid, and variance are used. Other feature amounts obtained from the above may be used. In this case, since the feature amount is granularity, saturation, density gravity center or dispersion, it is difficult to notice and the influence of image quality can be reduced.
 また、実施例1、2においては、上記特徴量を所定の変換ルールに基づいて、別の特徴量に変換したものを用いてもよい。 Further, in the first and second embodiments, the above-described feature amount converted into another feature amount based on a predetermined conversion rule may be used.

Claims (15)

  1.  画像を複数回撮影して複数の画像データを取得する画像取得工程と、
     前記画像取得工程によって取得された各画像データを複数のブロックに分割する分割工程と、
     前記分割工程によって分割されたブロックごとに、各ブロックにおける特徴量の平均値である平均レベルを抽出する平均レベル抽出工程と、
     前記分割工程によって分割されたブッロクのうち、隣接する二つのブロックからなる隣接ブロックについて、当該二つのブロックそれぞれの平均レベルの差分である平均レベル差を算出する隣接ブロック平均レベル差算出工程と、
     前記複数の画像データ間の同一位置の隣接ブロックのうち、前記隣接ブロック平均レベル差算出工程によって算出された平均レベル差が最も大きい平均レベル差を各位置ごとに選択する隣接ブロック平均レベル差保持工程と、
     前記隣接ブロック平均レベル差保持工程によって選択された平均レベル差を用いて、デコードするデコード工程と、
     を含んだことを特徴とする画像データ処理方法。
    An image acquisition step of acquiring a plurality of image data by capturing an image a plurality of times;
    A division step of dividing each image data acquired by the image acquisition step into a plurality of blocks;
    For each block divided by the division step, an average level extraction step for extracting an average level that is an average value of feature values in each block;
    An adjacent block average level difference calculating step for calculating an average level difference, which is a difference between average levels of the two blocks, of adjacent blocks composed of two adjacent blocks among the blocks divided by the dividing step;
    An adjacent block average level difference holding step for selecting, for each position, an average level difference having the largest average level difference calculated by the adjacent block average level difference calculation step among adjacent blocks at the same position between the plurality of image data. When,
    A decoding step of decoding using the average level difference selected by the adjacent block average level difference holding step;
    The image data processing method characterized by including.
  2.  前記画像の撮影条件である画像取得条件を撮影ごとに変更して設定する画像取得条件設定工程をさらに含み、
     前記画像取得工程は、前記画像取得条件設定工程によって設定された画像取得条件を用いて、画像データを取得することを特徴とする請求項1に記載の画像データ処理方法。
    Further including an image acquisition condition setting step of changing and setting the image acquisition condition, which is a shooting condition of the image, for each shooting,
    The image data processing method according to claim 1, wherein the image acquisition step acquires image data using the image acquisition condition set by the image acquisition condition setting step.
  3.  前記画像取得条件設定工程は、前記画像取得条件として、入出力特性を撮影ごとに変更して設定することを特徴とする請求項2に記載の画像データ処理方法。 3. The image data processing method according to claim 2, wherein in the image acquisition condition setting step, the input / output characteristics are changed and set for each photographing as the image acquisition condition.
  4.  前記画像取得条件設定工程は、前記画像取得条件として、ズーム値を撮影ごとに変更して設定することを特徴とする請求項2に記載の画像データ処理方法。 3. The image data processing method according to claim 2, wherein in the image acquisition condition setting step, the zoom value is changed and set for each photographing as the image acquisition condition.
  5.  画像を撮影して画像データを取得する画像取得工程と、
     前記画像取得工程によって取得された画像データを複数のブロックに分割する分割工程と、
     前記分割工程によって分割されたブロックごとに、各ブロックにおける特徴量の平均値である平均レベルを抽出する平均レベル抽出工程と、
     前記分割工程によって分割されたブッロクのうち、隣接する二つのブロックからなる隣接ブロックについて、当該二つのブロックそれぞれの平均レベルの差分である平均レベル差を算出する隣接ブロック平均レベル差算出工程と、
     前記隣接ブロック平均レベル差算出工程によって算出された平均レベル差を隣接ブロック平均レベル差保持部に保持する隣接ブロック平均レベル差保持工程と、
     前記隣接ブロック平均レベル差保持部に保持された平均レベル差を用いて、デコードするデコード工程と、
     前記デコード工程によってデコードが成功したか失敗したかを判定するデコード判定工程と、
     前記デコード判定工程によってデコードが失敗したと判定された場合には、成功と判定されるまで、新たな画像データについて、前記画像取得工程、前記分割工程、前記平均レベル抽出工程および前記隣接ブロック平均レベル差算出工程による処理を実行させ、前記隣接ブロック平均レベル差保持工程に算出された平均レベル差と、前記隣接ブロック平均レベル差保持部に保持された同一位置の平均レベル差とを比較して、各位置ごとに大きい平均レベル差のみを隣接ブロック平均レベル差保持部に保持させ、新たに保持された平均値レベル差について、前記デコード工程および前記デコード判定工程による処理を実行させるように制御する制御工程と、
     を含んだことを特徴とする画像データ処理方法。
    An image acquisition step of taking an image and acquiring image data;
    A division step of dividing the image data acquired by the image acquisition step into a plurality of blocks;
    For each block divided by the dividing step, an average level extracting step of extracting an average level that is an average value of feature amounts in each block;
    An adjacent block average level difference calculating step for calculating an average level difference, which is a difference between average levels of the two blocks, of adjacent blocks composed of two adjacent blocks among the blocks divided by the dividing step;
    An adjacent block average level difference holding step for holding the average level difference calculated by the adjacent block average level difference calculating step in an adjacent block average level difference holding unit;
    A decoding step of decoding using the average level difference held in the adjacent block average level difference holding unit;
    A decoding determination step of determining whether the decoding has succeeded or failed by the decoding step;
    If it is determined that decoding has failed in the decoding determination step, the image acquisition step, the division step, the average level extraction step, and the adjacent block average level for new image data until it is determined to be successful. The processing by the difference calculation step is executed, the average level difference calculated in the adjacent block average level difference holding step is compared with the average level difference at the same position held in the adjacent block average level difference holding unit, Control for controlling only the large average level difference for each position to be held in the adjacent block average level difference holding unit, and for the newly held average value level difference to be processed by the decoding step and the decoding determination step Process,
    The image data processing method characterized by including.
  6.  画像を複数回撮影して複数の画像データを取得する画像取得手段と、
     前記画像取得手段によって取得された各画像データを複数のブロックに分割する分割手段と、
     前記分割手段によって分割されたブロックごとに、各ブロックにおける特徴量の平均値である平均レベルを抽出する平均レベル抽出手段と、
     前記分割手段によって分割されたブッロクのうち、隣接する二つのブロックからなる隣接ブロックについて、当該二つのブロックそれぞれの平均レベルの差分である平均レベル差を算出する隣接ブロック平均レベル差算出手段と、
     前記複数の画像データ間の同一位置の隣接ブロックのうち、前記隣接ブロック平均レベル差算出手段によって算出された平均レベル差が最も大きい平均レベル差を各位置ごとに選択する隣接ブロック平均レベル差保持手段と、
     前記隣接ブロック平均レベル差保持手段によって選択された平均レベル差を用いて、デコードするデコード手段と、
     を備えたことを特徴とする画像データ処理装置。
    Image acquisition means for acquiring a plurality of image data by capturing an image a plurality of times;
    Dividing means for dividing each image data obtained by the image obtaining means into a plurality of blocks;
    For each block divided by the dividing means, an average level extracting means for extracting an average level that is an average value of feature values in each block;
    Among adjacent blocks divided by the dividing means, adjacent block average level difference calculating means for calculating an average level difference, which is a difference between average levels of the two blocks, of adjacent blocks consisting of two adjacent blocks;
    An adjacent block average level difference holding unit that selects, for each position, an average level difference having the largest average level difference calculated by the adjacent block average level difference calculation unit among adjacent blocks at the same position between the plurality of image data. When,
    Decoding means for decoding using the average level difference selected by the adjacent block average level difference holding means;
    An image data processing apparatus comprising:
  7.  前記画像の撮影条件である画像取得条件を撮影ごとに変更して設定する画像取得条件設定手段をさらに備え、
     前記画像取得手段は、前記画像取得条件設定手段によって設定された画像取得条件を用いて、画像データを取得することを特徴とする請求項6に記載の画像データ処理装置。
    The image acquisition condition setting means for changing and setting the image acquisition condition, which is the image capturing condition for each image, is further provided.
    The image data processing apparatus according to claim 6, wherein the image acquisition unit acquires image data using an image acquisition condition set by the image acquisition condition setting unit.
  8.  前記画像取得条件設定手段は、前記画像取得条件として、入出力特性を撮影ごとに変更して設定することを特徴とする請求項7に記載の画像データ処理装置。 8. The image data processing apparatus according to claim 7, wherein the image acquisition condition setting means sets the input / output characteristics for each image capture as the image acquisition condition.
  9.  前記画像取得条件設定手段は、前記画像取得条件として、ズーム値を撮影ごとに変更して設定することを特徴とする請求項7に記載の画像データ処理装置。 8. The image data processing apparatus according to claim 7, wherein the image acquisition condition setting means sets the zoom value as the image acquisition condition by changing for each photographing.
  10.  画像を撮影して画像データを取得する画像取得手段と、
     前記画像取得手段によって取得された画像データを複数のブロックに分割する分割手段と、
     前記分割手段によって分割されたブロックごとに、各ブロックにおける特徴量の平均値である平均レベルを抽出する平均レベル抽出手段と、
     前記分割手段によって分割されたブッロクのうち、隣接する二つのブロックからなる隣接ブロックについて、当該二つのブロックそれぞれの平均レベルの差分である平均レベル差を算出する隣接ブロック平均レベル差算出手段と、
     前記隣接ブロック平均レベル差算出手段によって算出された平均レベル差を隣接ブロック平均レベル差保持部に保持する隣接ブロック平均レベル差保持手段と、
     前記隣接ブロック平均レベル差保持部に保持された平均レベル差を用いて、デコードするデコード手段と、
     前記デコード手段によってデコードが成功したか失敗したかを判定するデコード判定手段と、
     前記デコード判定手段によってデコードが失敗したと判定された場合には、成功と判定されるまで、新たな画像データについて、前記画像取得手段、前記分割手段、前記平均レベル抽出手段および前記隣接ブロック平均レベル差算出手段による処理を実行させ、前記隣接ブロック平均レベル差保持手段に算出された平均レベル差と、前記隣接ブロック平均レベル差保持部に保持された同一位置の平均レベル差とを比較して、各位置ごとに大きい平均レベル差のみを隣接ブロック平均レベル差保持部に保持させ、新たに保持された平均値レベル差について、前記デコード手段および前記デコード判定手段による処理を実行させるように制御する制御手段と、
     を備えたことを特徴とする画像データ処理装置。
    Image acquisition means for taking an image and acquiring image data;
    A dividing unit for dividing the image data acquired by the image acquiring unit into a plurality of blocks;
    For each block divided by the dividing means, an average level extracting means for extracting an average level that is an average value of feature values in each block;
    Among adjacent blocks divided by the dividing means, adjacent block average level difference calculating means for calculating an average level difference, which is a difference between average levels of the two blocks, of adjacent blocks consisting of two adjacent blocks;
    Adjacent block average level difference holding means for holding the average level difference calculated by the adjacent block average level difference calculating means in an adjacent block average level difference holding unit;
    Decoding means for decoding using the average level difference held in the adjacent block average level difference holding unit;
    Decoding determination means for determining whether the decoding means succeeded or failed decoding; and
    When it is determined that the decoding has failed by the decoding determining means, the image acquisition means, the dividing means, the average level extracting means, and the adjacent block average level for new image data until it is determined to be successful. The processing by the difference calculating means is executed, and the average level difference calculated by the adjacent block average level difference holding means is compared with the average level difference at the same position held by the adjacent block average level difference holding section, Control for controlling only the large average level difference for each position to be held in the adjacent block average level difference holding unit, and for the newly held average value level difference to be processed by the decoding means and the decoding determining means Means,
    An image data processing apparatus comprising:
  11.  画像を複数回撮影して複数の画像データを取得する画像取得手順と、
     前記画像取得手順によって取得された各画像データを複数のブロックに分割する分割手順と、
     前記分割手順によって分割されたブロックごとに、各ブロックにおける特徴量の平均値である平均レベルを抽出する平均レベル抽出手順と、
     前記分割手順によって分割されたブッロクのうち、隣接する二つのブロックからなる隣接ブロックについて、当該二つのブロックそれぞれの平均レベルの差分である平均レベル差を算出する隣接ブロック平均レベル差算出手順と、
     前記複数の画像データ間の同一位置の隣接ブロックのうち、前記隣接ブロック平均レベル差算出手順によって算出された平均レベル差が最も大きい平均レベル差を各位置ごとに選択する隣接ブロック平均レベル差保持手順と、
     前記隣接ブロック平均レベル差保持手順によって選択された平均レベル差を用いて、デコードするデコード手順と、
     をコンピュータに実行させることを特徴とする画像データ処理プログラム。
    An image acquisition procedure for acquiring a plurality of image data by photographing an image multiple times,
    A division procedure for dividing each image data acquired by the image acquisition procedure into a plurality of blocks;
    For each block divided by the division procedure, an average level extraction procedure for extracting an average level that is an average value of feature amounts in each block;
    An adjacent block average level difference calculation procedure for calculating an average level difference, which is a difference between average levels of the two blocks, among adjacent blocks composed of two adjacent blocks among the blocks divided by the division procedure;
    An adjacent block average level difference holding procedure for selecting, for each position, an average level difference having the largest average level difference calculated by the adjacent block average level difference calculation procedure among adjacent blocks at the same position between the plurality of image data. When,
    A decoding procedure for decoding using the average level difference selected by the adjacent block average level difference holding procedure;
    An image data processing program for causing a computer to execute the above.
  12.  前記画像の撮影条件である画像取得条件を撮影ごとに変更して設定する画像取得条件設定手順をさらにコンピュータに実行させ、
     前記画像取得手順は、前記画像取得条件設定手順によって設定された画像取得条件を用いて、画像データを取得することを特徴とする請求項11に記載の画像データ処理プログラム。
    Causing the computer to further execute an image acquisition condition setting procedure for changing and setting the image acquisition condition, which is the imaging condition of the image, for each shooting;
    12. The image data processing program according to claim 11, wherein the image acquisition procedure acquires image data using the image acquisition condition set by the image acquisition condition setting procedure.
  13.  前記画像取得条件設定手順は、前記画像取得条件として、入出力特性を撮影ごとに変更して設定することを特徴とする請求項12に記載の画像データ処理プログラム。 13. The image data processing program according to claim 12, wherein in the image acquisition condition setting procedure, the input / output characteristics are changed and set for each photographing as the image acquisition condition.
  14.  前記画像取得条件設定手順は、前記画像取得条件として、ズーム値を撮影ごとに変更して設定することを特徴とする請求項12に記載の画像データ処理プログラム。 13. The image data processing program according to claim 12, wherein in the image acquisition condition setting procedure, the zoom value is changed and set for each photographing as the image acquisition condition.
  15.  画像を撮影して画像データを取得する画像取得手順と、
     前記画像取得手順によって取得された画像データを複数のブロックに分割する分割手順と、
     前記分割手順によって分割されたブロックごとに、各ブロックにおける特徴量の平均値である平均レベルを抽出する平均レベル抽出手順と、
     前記分割手順によって分割されたブッロクのうち、隣接する二つのブロックからなる隣接ブロックについて、当該二つのブロックそれぞれの平均レベルの差分である平均レベル差を算出する隣接ブロック平均レベル差算出手順と、
     前記隣接ブロック平均レベル差算出手順によって算出された平均レベル差を隣接ブロック平均レベル差保持部に保持する隣接ブロック平均レベル差保持手順と、
     前記隣接ブロック平均レベル差保持部に保持された平均レベル差を用いて、デコードするデコード手順と、
     前記デコード手順によってデコードが成功したか失敗したかを判定するデコード判定手順と、
     前記デコード判定手順によってデコードが失敗したと判定された場合には、成功と判定されるまで、新たな画像データについて、前記画像取得手順、前記分割手順、前記平均レベル抽出手順および前記隣接ブロック平均レベル差算出手順による処理を実行させ、前記隣接ブロック平均レベル差保持手順に算出された平均レベル差と、前記隣接ブロック平均レベル差保持部に保持された同一位置の平均レベル差とを比較して、各位置ごとに大きい平均レベル差のみを隣接ブロック平均レベル差保持部に保持させ、新たに保持された平均値レベル差について、前記デコード手順および前記デコード判定手順による処理を実行させるように制御する制御手順と、
     を含コンピュータに実行させることを特徴とする画像データ処理プログラム。
    An image acquisition procedure for taking an image and acquiring image data;
    A division procedure for dividing the image data acquired by the image acquisition procedure into a plurality of blocks;
    For each block divided by the division procedure, an average level extraction procedure for extracting an average level that is an average value of feature amounts in each block;
    An adjacent block average level difference calculation procedure for calculating an average level difference, which is a difference between average levels of the two blocks, among adjacent blocks composed of two adjacent blocks among the blocks divided by the division procedure;
    An adjacent block average level difference holding procedure for holding an average level difference calculated by the adjacent block average level difference calculation procedure in an adjacent block average level difference holding unit;
    A decoding procedure for decoding using the average level difference held in the adjacent block average level difference holding unit;
    A decoding determination procedure for determining whether the decoding has succeeded or failed by the decoding procedure;
    If it is determined that the decoding has failed by the decoding determination procedure, the image acquisition procedure, the division procedure, the average level extraction procedure, and the adjacent block average level are determined for new image data until it is determined to be successful. The processing by the difference calculation procedure is executed, the average level difference calculated in the adjacent block average level difference holding procedure is compared with the average level difference at the same position held in the adjacent block average level difference holding unit, Control for controlling only the large average level difference for each position to be held in the adjacent block average level difference holding unit, and for the newly held average value level difference to execute the processing according to the decoding procedure and the decoding determination procedure Procedure and
    An image data processing program that causes a computer to be executed.
PCT/JP2008/058573 2008-05-08 2008-05-08 Method of processing image data, image data processing equipment, and image data processing program WO2009136437A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2008/058573 WO2009136437A1 (en) 2008-05-08 2008-05-08 Method of processing image data, image data processing equipment, and image data processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2008/058573 WO2009136437A1 (en) 2008-05-08 2008-05-08 Method of processing image data, image data processing equipment, and image data processing program

Publications (1)

Publication Number Publication Date
WO2009136437A1 true WO2009136437A1 (en) 2009-11-12

Family

ID=41264499

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2008/058573 WO2009136437A1 (en) 2008-05-08 2008-05-08 Method of processing image data, image data processing equipment, and image data processing program

Country Status (1)

Country Link
WO (1) WO2009136437A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011097752A1 (en) * 2010-02-11 2011-08-18 Thomson Licensing Method for processing image

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006060856A (en) * 2005-09-22 2006-03-02 Fujitsu Ltd Device, method and program for image data processing
JP2007074471A (en) * 2005-09-08 2007-03-22 Fuji Xerox Co Ltd Image processor, image processing method and image processing program
JP2008085634A (en) * 2006-09-27 2008-04-10 Konica Minolta Holdings Inc Imaging apparatus and image processing method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007074471A (en) * 2005-09-08 2007-03-22 Fuji Xerox Co Ltd Image processor, image processing method and image processing program
JP2006060856A (en) * 2005-09-22 2006-03-02 Fujitsu Ltd Device, method and program for image data processing
JP2008085634A (en) * 2006-09-27 2008-04-10 Konica Minolta Holdings Inc Imaging apparatus and image processing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011097752A1 (en) * 2010-02-11 2011-08-18 Thomson Licensing Method for processing image
US8724899B2 (en) 2010-02-11 2014-05-13 Thomson Licensing Method of processing an image and corresponding device

Similar Documents

Publication Publication Date Title
CN1870715B (en) Means for correcting hand shake
US9344638B2 (en) Constant bracket high dynamic range (cHDR) operations
JP5980294B2 (en) Data processing apparatus, imaging apparatus, and data processing method
US8036457B2 (en) Image processing apparatus with noise reduction capabilities and a method for removing noise from a captured image
CN108668093B (en) HDR image generation method and device
CN108419028B (en) Image processing method, image processing device, computer-readable storage medium and electronic equipment
US8436910B2 (en) Image processing apparatus and image processing method
JP6129119B2 (en) Image processing apparatus, image processing system, imaging apparatus, and image processing method
WO2011121760A1 (en) Image processing apparatus and image capturing apparatus using same
CN102724400A (en) Image processing apparatus and method of controlling the same
CN107395991B (en) Image synthesis method, image synthesis device, computer-readable storage medium and computer equipment
CN102629976A (en) Image processing apparatus, and control method thereof
CN111028165B (en) High-dynamic image recovery method for resisting camera shake based on RAW data
JP7253634B2 (en) High dynamic range image generation by pre-combination denoising
WO2019056549A1 (en) Image enhancement method, and image processing device
Kodovský et al. Effect of image downsampling on steganographic security
JP2005354685A (en) Smoothing device of an image signal by pattern adaptive filtering, and its smoothing method
JP2018142852A5 (en)
KR101336240B1 (en) Method and apparatus for image processing using saved image
JP5970012B2 (en) Image processing apparatus and control method thereof
JP2009088935A (en) Image recording apparatus, image correcting apparatus, and image pickup apparatus
JP2009187548A (en) Method for generating thumbnail image and device for it
CN104919806B (en) Image processing apparatus and method
WO2009136437A1 (en) Method of processing image data, image data processing equipment, and image data processing program
JP7463640B2 (en) Method, apparatus and storage medium for spatially multiplexed exposure

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 08752459

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 08752459

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP