JP2006166144A - Image processing apparatus and method, program and recording medium - Google Patents

Image processing apparatus and method, program and recording medium Download PDF

Info

Publication number
JP2006166144A
JP2006166144A JP2004356034A JP2004356034A JP2006166144A JP 2006166144 A JP2006166144 A JP 2006166144A JP 2004356034 A JP2004356034 A JP 2004356034A JP 2004356034 A JP2004356034 A JP 2004356034A JP 2006166144 A JP2006166144 A JP 2006166144A
Authority
JP
Japan
Prior art keywords
image data
rectangular block
image
code stream
encoding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2004356034A
Other languages
Japanese (ja)
Other versions
JP4729913B2 (en
Inventor
Takahiro Fukuhara
隆浩 福原
Kazuhisa Hosaka
和寿 保坂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP2004356034A priority Critical patent/JP4729913B2/en
Publication of JP2006166144A publication Critical patent/JP2006166144A/en
Application granted granted Critical
Publication of JP4729913B2 publication Critical patent/JP4729913B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Storing Facsimile Image Data (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processing apparatus capable of reducing the capacity of a memory storing image data and performing random access to a desired part of the image data stored in the memory further, its method, a program and a recording medium. <P>SOLUTION: An imaging device 13 converts the light information of an object to electric signals (image signals), and an A-D conversion part 14 converts the image signals to digital image data. An image compression part 15 divides the image data into a plurality of rectangular blocks in prescribed sizes, and encodes the image data for each rectangular block according to a JPEG2000 system or a JPEG system while executing control so that the size of a code stream obtained after encoding becomes the same in all the rectangular blocks. Then, the image compression part 15 stores the code stream for each rectangular block in the prescribed address of the memory 16 in one-to-one correspondence with a position on the image data of the rectangular block. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、撮像素子で撮像されデジタルデータに変換された画像データに対して所定の処理を施す画像処理装置及びその方法、並びにそのような画像処理をコンピュータに実行させることが可能なプログラム及びそのプログラムが記録された記録媒体に関する。   The present invention relates to an image processing apparatus and method for performing predetermined processing on image data captured by an image sensor and converted into digital data, a program capable of causing a computer to execute such image processing, and the program The present invention relates to a recording medium on which a program is recorded.

従来、撮像素子で撮像されデジタルデータに変換された画像データに対して所定の処理を施す画像処理装置として代表的なものに、デジタルスチルカメラやカムコーダがある。従来の画像処理装置の概略構成を図17に示す。   Conventionally, there are a digital still camera and a camcorder as typical image processing apparatuses that perform predetermined processing on image data captured by an image sensor and converted into digital data. FIG. 17 shows a schematic configuration of a conventional image processing apparatus.

図17に示す画像処理装置100において、撮像素子104は、例えばCCD(Charge Coupled Device)センサやCMOS(Complementary Metal Oxide Semiconductor)センサであり、レンズ101、光学ローパスフィルタ102及び色補正部103を経た被写体の光情報を電気信号に変換し、変換後の画像信号をA/D(Analogue / Digital)変換部105に供給する。A/D変換部105は、撮像素子104から供給されたアナログの画像信号をデジタルの画像データに変換し、この画像データを一時的にSDRAM(Synchronous Dynamic Random Access Memory)等のメモリ106に格納する。信号処理部107は、メモリ106から読み出した画像データに対して例えばレベル調整、ホワイトバランス、色空間変換、解像度変換、ガンマ補正等の各種デジタル信号処理を施し、輝度信号と色差信号とを生成する。そして、画像圧縮部108は、デジタル信号処理後の画像データを例えばJPEG(Joint Photographic Experts Group)方式に従って符号化し、得られたコードストリームを出力する。   In the image processing apparatus 100 shown in FIG. 17, the imaging element 104 is, for example, a CCD (Charge Coupled Device) sensor or a CMOS (Complementary Metal Oxide Semiconductor) sensor, and a subject that has passed through the lens 101, the optical low-pass filter 102, and the color correction unit 103. Is converted into an electrical signal, and the converted image signal is supplied to an analog / digital (A / D) converter 105. The A / D converter 105 converts the analog image signal supplied from the image sensor 104 into digital image data, and temporarily stores the image data in a memory 106 such as an SDRAM (Synchronous Dynamic Random Access Memory). . The signal processing unit 107 performs various digital signal processing such as level adjustment, white balance, color space conversion, resolution conversion, and gamma correction on the image data read from the memory 106 to generate a luminance signal and a color difference signal. . Then, the image compression unit 108 encodes the image data after the digital signal processing according to, for example, a JPEG (Joint Photographic Experts Group) method, and outputs the obtained code stream.

上述の通り、従来の画像処理装置100においては、デジタル信号処理を施す前に、画像データが一時的にメモリ106に格納される。しかしながら、近年の高画素数のデジタルカメラ等では、画像データを格納するために大容量のメモリが必要となるため、コストや消費電力が増加してしまうという問題があった。また、このような大容量メモリを用いる場合には、画像圧縮部108を含んだカメラ信号処理用のLSI(Large Scale Integration)を構築したときに、コスト上の問題から当該大容量メモリを外部に置くことが通常である。したがって、この場合にはカメラ信号処理用LSIとメモリとの間のバスの転送速度を画素数に比例して高速化させる必要が生じ、消費電力が増加してしまうという問題がある。   As described above, in the conventional image processing apparatus 100, the image data is temporarily stored in the memory 106 before the digital signal processing is performed. However, in recent digital cameras having a large number of pixels, a large-capacity memory is required to store image data, and thus there is a problem that costs and power consumption increase. When such a large-capacity memory is used, when a camera signal processing LSI (Large Scale Integration) including the image compression unit 108 is constructed, the large-capacity memory is externally provided due to cost problems. It is normal to put. Therefore, in this case, it is necessary to increase the transfer speed of the bus between the camera signal processing LSI and the memory in proportion to the number of pixels, and there is a problem that power consumption increases.

そこで、下記特許文献1には、メモリに格納する前に画像データを圧縮する技術が開示されている。   Therefore, Patent Document 1 below discloses a technique for compressing image data before storing it in a memory.

特開平8−294086号公報JP-A-8-294086

ところで、特許文献1のように画像データを圧縮する場合には、画像全体で所定の圧縮率となるように圧縮するのが通常である。したがって、例えば4000×3000画素(1200万画素)といった非常に高画素数の画像があり、その中央の例えば720×480画素の画像のみが必要である場合であっても、その部分に対してランダムアクセスを行い、メモリから読み出すことができなかった。   Incidentally, when compressing image data as in Patent Document 1, it is usual to compress the entire image so that a predetermined compression rate is obtained. Therefore, even if there is an image with a very high number of pixels, for example, 4000 × 3000 pixels (12 million pixels) and only an image of, for example, 720 × 480 pixels at the center is required, the image is randomly selected for that portion. Access was not possible and could not be read from memory.

本発明は、このような従来の実情に鑑みて提案されたものであり、画像データを格納するメモリの容量を削減し、さらに、メモリに記憶された画像データの所望の部分に対してランダムアクセスを行うことが可能な画像処理装置及びその方法、並びにプログラム及び記録媒体を提供することを目的とする。   The present invention has been proposed in view of such a conventional situation, and reduces the capacity of a memory for storing image data, and further randomly accesses a desired portion of the image data stored in the memory. An object of the present invention is to provide an image processing apparatus and method, a program, and a recording medium.

上述した目的を達成するために、本発明に係る画像処理装置は、撮像素子で撮像されデジタルデータに変換された画像データを所定の大きさの複数の矩形ブロックに分割し、各矩形ブロックの画像データを固定符号量で符号化してコードストリームを生成する符号化手段と、上記コードストリームが矩形ブロック毎に格納される記憶手段とを備え、上記符号化手段は、各矩形ブロックについて得られたコードストリームを当該矩形ブロックの上記画像データ上での位置と1対1に対応付けられた上記記憶手段のメモリ番地に格納するものである。   In order to achieve the above-described object, an image processing apparatus according to the present invention divides image data captured by an image sensor and converted into digital data into a plurality of rectangular blocks of a predetermined size, and images of the respective rectangular blocks. An encoding unit that encodes data with a fixed code amount to generate a code stream; and a storage unit that stores the code stream for each rectangular block. The encoding unit includes a code obtained for each rectangular block. The stream is stored in the memory address of the storage means in a one-to-one correspondence with the position of the rectangular block on the image data.

また、上述した目的を達成するために、本発明に係る画像処理方法は、撮像素子で撮像されデジタルデータに変換された画像データを所定の大きさの複数の矩形ブロックに分割し、各矩形ブロックの画像データを固定符号量で符号化してコードストリームを生成する符号化工程と、上記コードストリームを矩形ブロック毎に記憶手段に格納する記憶工程とを有し、上記記憶工程では、各矩形ブロックについて得られたコードストリームを当該矩形ブロックの上記画像データ上での位置と1対1に対応付けられた上記記憶手段のメモリ番地に格納するものである。   In order to achieve the above-described object, an image processing method according to the present invention divides image data captured by an image sensor and converted into digital data into a plurality of rectangular blocks of a predetermined size, and each rectangular block An encoding process for encoding the image data with a fixed code amount to generate a code stream, and a storage process for storing the code stream in a storage unit for each rectangular block. In the storage process, for each rectangular block The obtained code stream is stored in the memory address of the storage means in a one-to-one correspondence with the position of the rectangular block on the image data.

また、本発明に係るプログラムは、上述した画像処理をコンピュータに実行させるものであり、本発明に係る記録媒体は、そのようなプログラムが記録されたコンピュータ読み取り可能なものである。   A program according to the present invention causes a computer to execute the above-described image processing, and a recording medium according to the present invention is a computer-readable medium on which such a program is recorded.

本発明に係る画像処理装置及びその方法、並びにプログラム及び記録媒体によれば、撮像素子で撮像されデジタルデータに変換された画像データを符号化してから記憶手段に格納するため、記憶手段の容量が少なくて済み、コストや消費電力を抑えることができる。さらに、符号化手段と記憶手段との間のデータレートは、圧縮率の倍数分だけ少なくなっているため、ハードウェア化した際のバス幅が小さくて済み、コストや消費電力を抑えることができる。   According to the image processing apparatus and method, the program, and the recording medium according to the present invention, the image data captured by the image sensor and converted into digital data is encoded and stored in the storage means. Less cost is required and costs and power consumption can be reduced. Furthermore, since the data rate between the encoding unit and the storage unit is reduced by a multiple of the compression rate, the bus width when implemented in hardware can be reduced, and cost and power consumption can be reduced. .

また、符号化後に得られるコードストリームのサイズが全ての矩形ブロックで同一となるように固定符号量で符号化されており、且つ、矩形ブロック毎のコードストリームがその矩形ブロックの画像データ上での位置と1対1に対応した記憶手段のメモリ番地に格納されるため、容易にランダムアクセスを行い、記憶手段から所望の矩形ブロックに対応したコードストリームを読み出すことができる。   In addition, the code stream obtained after encoding is encoded with a fixed code amount so that the size is the same for all rectangular blocks, and the code stream for each rectangular block is encoded on the image data of the rectangular block. Since the data is stored in the memory address of the storage unit corresponding to the position one-to-one, random access can be easily performed and the code stream corresponding to the desired rectangular block can be read from the storage unit.

以下、本発明を適用した具体的な実施の形態について、図面を参照しながら詳細に説明する。   Hereinafter, specific embodiments to which the present invention is applied will be described in detail with reference to the drawings.

(第1の実施の形態)
先ず、第1の実施の形態における画像処理装置の概略構成を図1に示す。図1に示すように、第1の実施の形態における画像処理装置1は、レンズ10と、光学ローパスフィルタ11と、色補正部12と、撮像素子13と、AD変換部14と、画像圧縮部15と、メモリ16とから構成されている。
(First embodiment)
First, FIG. 1 shows a schematic configuration of an image processing apparatus according to the first embodiment. As shown in FIG. 1, an image processing apparatus 1 according to the first embodiment includes a lens 10, an optical low-pass filter 11, a color correction unit 12, an image sensor 13, an AD conversion unit 14, and an image compression unit. 15 and a memory 16.

この画像処理装置1において、撮像素子13は、例えばCCDセンサやCMOSセンサであり、レンズ10、光学ローパスフィルタ11及び色補正部12を経た被写体の光情報を電気信号に変換し、変換後の画像信号をAD変換部14に供給する。AD変換部14は、撮像素子13から供給されたアナログの画像信号をデジタルの画像データ(以下、RAW画像とも称する。)に変換し、この画像データを画像圧縮部15に供給する。   In this image processing apparatus 1, the image sensor 13 is a CCD sensor or a CMOS sensor, for example, converts light information of a subject that has passed through the lens 10, the optical low-pass filter 11, and the color correction unit 12 into an electrical signal, and then converts the image The signal is supplied to the AD conversion unit 14. The AD conversion unit 14 converts the analog image signal supplied from the image sensor 13 into digital image data (hereinafter also referred to as a RAW image), and supplies the image data to the image compression unit 15.

画像圧縮部15は、先ず図2に示すように画像データを所定の大きさの複数の矩形ブロックに分割する。この矩形ブロックの大きさは、AD変換部14が画像圧縮部15に画像データを供給する際の供給単位の大きさと一致させることが好ましく、そのサイズは、符号化する際にローカルメモリで保持できる範囲内のサイズとすることが好ましい。なお、画像の端で矩形ブロックの大きさに満たない場合には、画素を補填すればよい。続いて画像圧縮部15は、符号化後に得られるコードストリームのサイズが全ての矩形ブロックで同一となるように制御しながら、矩形ブロック毎の画像データをJPEG2000方式又はJPEG方式に従って符号化する。そして画像圧縮部15は、矩形ブロック毎のコードストリームを、その矩形ブロックの画像データ上での位置と1対1に対応したSDRAM等のメモリ16の所定番地に格納する。   The image compression unit 15 first divides the image data into a plurality of rectangular blocks having a predetermined size as shown in FIG. The size of the rectangular block preferably matches the size of the supply unit used when the AD conversion unit 14 supplies the image data to the image compression unit 15, and the size can be held in the local memory when encoding. A size within the range is preferable. Note that if the edge of the image is less than the size of the rectangular block, the pixels may be compensated. Subsequently, the image compression unit 15 encodes the image data for each rectangular block in accordance with the JPEG2000 method or the JPEG method while controlling the size of the code stream obtained after encoding to be the same for all the rectangular blocks. Then, the image compression unit 15 stores the code stream for each rectangular block in a predetermined address of the memory 16 such as an SDRAM corresponding one-to-one with the position of the rectangular block on the image data.

例えば図2のように画像データを分割した場合、画像圧縮部15は、図3に示すように矩形ブロック毎のコードストリームをメモリ16の所定番地に格納する。すなわち、画像圧縮部15は、例えば矩形ブロック(0,0)を符号化して生成されたコードストリームをメモリ16の番地(0,0)に格納する。同様に、画像圧縮部15は、矩形ブロック(m,n)を符号化して生成されたコードストリームをメモリ16の番地(m,n)に格納する。   For example, when the image data is divided as shown in FIG. 2, the image compression unit 15 stores the code stream for each rectangular block in a predetermined address of the memory 16 as shown in FIG. 3. That is, the image compression unit 15 stores, for example, a code stream generated by encoding a rectangular block (0, 0) at the address (0, 0) of the memory 16. Similarly, the image compression unit 15 stores the code stream generated by encoding the rectangular block (m, n) at the address (m, n) of the memory 16.

このように、本実施の形態では、符号化後に得られるコードストリームのサイズが全ての矩形ブロックで同一となるように制御されており、且つ、矩形ブロック毎のコードストリームがその矩形ブロックの画像データ上での位置と1対1に対応したメモリ16の所定番地に格納されるため、メモリ16のどの番地からデータを読み出せば、どの矩形ブロックのコードストリームが読み出せるかが判別でき、矩形ブロック単位でのランダムアクセスが可能となる。   Thus, in this embodiment, the size of the code stream obtained after encoding is controlled to be the same for all rectangular blocks, and the code stream for each rectangular block is the image data of that rectangular block. Since the data is stored in a predetermined address of the memory 16 corresponding to the above position, it can be determined from which address of the memory 16 the data stream of the rectangular block can be read. Random access in units is possible.

上述した画像圧縮装置1の処理について、図4のフローチャートを用いて説明する。先ずステップS1において、撮像素子13で被写体の画像を撮像し、ステップS2において、アナログの画像情報をAD変換してRAW画像を生成し、ステップS3において、RAW画像を所定の大きさの複数の矩形ブロックに分割する。次にステップS4において、矩形ブロック毎の画像データを固定サイズに符号化し、ステップS5において、矩形ブロック毎のコードストリームをメモリ16の所定番地に格納する。そしてステップS6では、全ての矩形ブロックを符号化したか否かが判別され、符号化していない矩形ブロックがある場合にはステップS4に戻り、全ての矩形ブロックを符号化している場合には処理を終了する。   The processing of the image compression apparatus 1 described above will be described using the flowchart of FIG. First, in step S1, an image of a subject is picked up by the image sensor 13, and in step S2, analog image information is AD-converted to generate a RAW image. In step S3, the RAW image is converted into a plurality of rectangles having a predetermined size. Divide into blocks. Next, in step S4, the image data for each rectangular block is encoded to a fixed size, and in step S5, the code stream for each rectangular block is stored in a predetermined address of the memory 16. In step S6, it is determined whether or not all rectangular blocks have been encoded. If there are unencoded rectangular blocks, the process returns to step S4, and if all rectangular blocks are encoded, the process is performed. finish.

ここで、上述した画像圧縮部15の内部構成の一例を図5に示す。この図5は、画像データをJPEG2000方式に従って符号化する場合の構成を示したものである。図5に示すように、画像圧縮部15は、矩形ブロック化部30と、ウェーブレット変換部31と、量子化部32と、ビットプレーン化部33と、エントロピー符号化部34と、レート制御部35とから構成されている。   Here, an example of the internal configuration of the image compression unit 15 described above is shown in FIG. FIG. 5 shows a configuration when image data is encoded according to the JPEG2000 system. As shown in FIG. 5, the image compression unit 15 includes a rectangular block unit 30, a wavelet transform unit 31, a quantization unit 32, a bit plane conversion unit 33, an entropy encoding unit 34, and a rate control unit 35. It consists of and.

この画像圧縮部15において、矩形ブロック化部30は、A/D変換部14から供給された画像データを上述のように所定の大きさの複数の矩形ブロックに分割する。なお、以降の符号化処理は、この矩形ブロック毎に行われる。ウェーブレット変換部31は、矩形ブロック毎の画像データをウェーブレット変換してウェーブレット変換係数を生成し、量子化部32は、ウェーブレット変換係数を量子化して量子化係数を生成する。そして、ビットプレーン化部33は、矩形ブロック毎の量子化係数をビットプレーンに展開する。   In the image compression unit 15, the rectangular block forming unit 30 divides the image data supplied from the A / D conversion unit 14 into a plurality of rectangular blocks having a predetermined size as described above. The subsequent encoding process is performed for each rectangular block. The wavelet transform unit 31 performs wavelet transform on the image data for each rectangular block to generate wavelet transform coefficients, and the quantization unit 32 quantizes the wavelet transform coefficients to generate quantization coefficients. Then, the bit plane conversion unit 33 expands the quantization coefficient for each rectangular block into the bit plane.

このビットプレーンの概念について、図6を用いて説明する。図中(a)は、縦4個、横4個の計16個の量子化係数からなる矩形ブロックを仮定したものである。この量子化係数を図中(b)に示すように5ビット(ビット4〜ビット0)のビットプレーンに展開した場合、MSB(Most significant bit:最上位ビット)からLSB(Least significant bit:最下位ビット)に至るビットビットプレーンの集合が形成される。このとき、1ビット分に相当する各ビットプレーンには16個の「0」又は「1」の係数が存在する。例えば、量子化係数の1つである「3」は、5ビットの2進数表現で表すと「00011」になる。また、量子化係数の1つである「6」は、5ビットの2進数表現で表すと「00110」になる。このように、図中(a)に示す全ての量子化係数を2進数表現で表したものが図中(b)に示す5ビットのビットプレーンになる。   The concept of this bit plane will be described with reference to FIG. In the figure, (a) assumes a rectangular block consisting of a total of 16 quantized coefficients, 4 vertically and 4 horizontally. When this quantized coefficient is expanded on a bit plane of 5 bits (bit 4 to bit 0) as shown in (b) in the figure, MSB (Most significant bit) to LSB (Least significant bit: least significant bit) A set of bit planes leading to (bit) is formed. At this time, there are 16 “0” or “1” coefficients in each bit plane corresponding to one bit. For example, “3”, which is one of the quantization coefficients, becomes “00011” when expressed in a 5-bit binary number. Also, “6”, which is one of the quantization coefficients, becomes “00110” when expressed in a 5-bit binary number. In this way, all the quantized coefficients shown in (a) in the figure are expressed in binary notation as a 5-bit bit plane shown in (b) in the figure.

図5に戻って、エントロピー符号化部34は、ビットプレーン毎の係数をエントロピー符号化し、得られた符号語をレート制御部35に供給する。レート制御部35は、目標符号量に合うように、画質に与える影響が最も大きいMSB側のビットプレーンに対応した符号語から順にコードストリームに含め、目標符号量に達した時点でコードストリームを出力する。   Returning to FIG. 5, the entropy encoding unit 34 entropy encodes the coefficient for each bit plane and supplies the obtained code word to the rate control unit 35. The rate control unit 35 sequentially includes codewords corresponding to the MSB side bit plane having the greatest influence on image quality so as to match the target code amount, and outputs the code stream when the target code amount is reached. To do.

なお、図5では画像データをJPEG2000方式に従って符号化するものとして説明したが、上述したようにJPEG方式に従って符号化してもよい。但し、本実施の形態では、圧縮符号化後のコードストリームのサイズを全ての矩形ブロックで同一にしなければならないため、非常に高精度のレート制御が必要になる。この点、JPEG2000方式は、ビットプレーン単位でのエントロピー符号化によって非常に高精度のレート制御が可能であるため、好適である。   In addition, although FIG. 5 demonstrated as what encodes image data according to a JPEG2000 system, you may encode according to a JPEG system as mentioned above. However, in this embodiment, since the size of the code stream after compression encoding must be the same for all rectangular blocks, very high-accuracy rate control is required. In this regard, the JPEG2000 system is preferable because very high-accuracy rate control is possible by entropy encoding in bit plane units.

以上のように、本実施の形態における画像処理装置1によれば、撮像素子13で撮像しA/D変換したRAW画像の画像データを画像圧縮部15で圧縮してからメモリ16に記録するため、メモリ16の容量が少なくて済み、コストや消費電力を抑えることができる。さらに、画像圧縮部15とメモリ16との間のデータレートは、圧縮率の倍数分だけ少なくなっている。例えば、画像圧縮部15で画像データを10分の1に圧縮した場合、データレートも10分の1となっている。したがって、ハードウェア化した際のバス幅が小さくて済み、コストや消費電力を抑えることができる。   As described above, according to the image processing apparatus 1 in the present embodiment, the image data of the RAW image captured by the image sensor 13 and A / D converted is compressed by the image compression unit 15 and then recorded in the memory 16. The capacity of the memory 16 can be reduced, and the cost and power consumption can be reduced. Furthermore, the data rate between the image compression unit 15 and the memory 16 is reduced by a multiple of the compression rate. For example, when the image compression unit 15 compresses the image data to 1/10, the data rate is also 1/10. Therefore, the bus width when hardware is realized can be small, and the cost and power consumption can be suppressed.

また、符号化後に得られるコードストリームのサイズが全ての矩形ブロックで同一となるように制御されており、且つ、矩形ブロック毎のコードストリームがその矩形ブロックの画面上での位置と1対1に対応したメモリ16の所定番地に格納されるため、容易にランダムアクセスを行い、メモリ16から所望の矩形ブロックに対応したコードストリームを読み出すことができる。   In addition, the size of the code stream obtained after encoding is controlled to be the same for all rectangular blocks, and the code stream for each rectangular block has a one-to-one correspondence with the position of the rectangular block on the screen. Since the data is stored at a predetermined address of the corresponding memory 16, random access can be easily performed and a code stream corresponding to a desired rectangular block can be read from the memory 16.

ここで、撮像素子13の一例について説明する。撮像素子13としては、例えば本件出願人が先に提案した特開2003−31785号公報のCMOSセンサを用いることができる。CMOSセンサは、CCDセンサと比べて高速撮像ができる等の優れた特徴を有しているが、1番の利点は、A/D変換部14、画像圧縮部15、メモリ16等のロジック部分などを1つのCMOS半導体で作成することができる点である。   Here, an example of the image sensor 13 will be described. As the image sensor 13, for example, a CMOS sensor disclosed in Japanese Patent Application Laid-Open No. 2003-31785 previously proposed by the present applicant can be used. The CMOS sensor has excellent characteristics such as high-speed imaging as compared with the CCD sensor, but the first advantage is the logic part such as the A / D conversion unit 14, the image compression unit 15, the memory 16, and the like. Can be made of one CMOS semiconductor.

このCMOSセンサの断面図を図7に示す。このCMOSセンサは、フォトダイオード41が形成されるシリコン層42の一方の面側に配線層43が形成され、シリコン層42の反対の面(裏面)側から画素毎に対応付けられたマイクロレンズ40を介してフォトダイオード41へと可視光を取り込む画素構造を有している。したがって、受光面を考慮した配線が不要であり配線の自由度が格段に向上するため、配線層43にAD変換部14、画像圧縮部15、メモリ16等の構成部位を全て配置することが可能になる。   A sectional view of this CMOS sensor is shown in FIG. In this CMOS sensor, a wiring layer 43 is formed on one surface side of a silicon layer 42 on which a photodiode 41 is formed, and a microlens 40 associated with each pixel from the opposite surface (back surface) side of the silicon layer 42. A pixel structure for capturing visible light into the photodiode 41 via Therefore, wiring considering the light receiving surface is unnecessary, and the degree of freedom of wiring is remarkably improved. Therefore, all the components such as the AD conversion unit 14, the image compression unit 15, and the memory 16 can be arranged in the wiring layer 43. become.

これらの構成部位を配置した斜視図を図8に示す。図8で構成される1チップ型CMOS半導体は、シリコン層42の下部の配線層43にAD変換部14、画像圧縮部15、メモリ16を配置した3次元構造となっているため、従来の2次元空間にこれらの構成部位を配置する場合と比べて表面積が格段に小さくなり、コストや消費電力を抑えることができる。   A perspective view in which these components are arranged is shown in FIG. The one-chip type CMOS semiconductor configured in FIG. 8 has a three-dimensional structure in which the AD conversion unit 14, the image compression unit 15, and the memory 16 are arranged in the wiring layer 43 below the silicon layer 42. Compared with the case where these constituent parts are arranged in the dimensional space, the surface area is remarkably reduced, and cost and power consumption can be suppressed.

(第2の実施の形態)
上述した第1の実施の形態では、RAW画像の画像データが1つのコンポーネントで構成されているものとして説明したが、本実施の形態では、この画像データが複数のコンポーネントで構成されている場合について説明する。
(Second Embodiment)
In the first embodiment described above, it has been described that the image data of the RAW image is composed of one component. However, in the present embodiment, the case where the image data is composed of a plurality of components. explain.

例えば、画像データがR、G、Bの3つのコンポーネントで構成されている場合、画像圧縮部15は、図9に示すように、各矩形ブロックの3つのコンポーネントの画像データを統合して符号化し、得られたコードストリームをメモリ16の所定番地に格納することができる。   For example, when the image data is composed of three components R, G, and B, the image compression unit 15 integrates and encodes the image data of the three components of each rectangular block as shown in FIG. The obtained code stream can be stored in a predetermined address of the memory 16.

また、画像圧縮部15は、図10に示すように、各矩形ブロックのコンポーネント毎の画像データを別個に符号化し、得られたコードストリームをメモリ16の別番地に格納することもできる。この場合、コンポーネント毎のコードストリームのサイズが同一となり、且つ、矩形ブロック毎のコードストリームのサイズが同一となるように符号化することにより、すなわち、以下の関係式、
(0,0)R=(0,0)G=(0,0)B=・・・=(m,n)R=(m,n)G=(m,n)B
を満たすように符号化することにより、全ての矩形ブロックの全てのコンポーネントのコードストリームのサイズが同一となるため、各矩形ブロックのコンポーネント単位でメモリ16へのランダムアクセスが可能となる。
Further, as shown in FIG. 10, the image compression unit 15 can separately encode the image data for each component of each rectangular block, and store the obtained code stream in another address of the memory 16. In this case, by encoding so that the size of the code stream for each component is the same, and the size of the code stream for each rectangular block is the same, that is,
(0,0) R = (0,0) G = (0,0) B = ... = (m, n) R = (m, n) G = (m, n) B
By encoding so as to satisfy the conditions, the size of the code stream of all the components of all the rectangular blocks becomes the same, so that random access to the memory 16 becomes possible in units of components of each rectangular block.

しかしながら、このようにコンポーネント毎のコードストリームのサイズを同一としたとき、コンポーネント間でコードストリームのサイズに偏りがある場合には、メモリ16の利用効率が悪くなってしまうという欠点がある。例えば、RAW画像の画像データに青色の成分しか存在しない場合、Bのコンポーネントのコードストリームのみが存在し、G及びRのコンポーネントのコードストリームは存在しないため、メモリ16におけるG及びRのコンポーネントのコードストリームを保持する部分は空白となり、無駄が生じる。なお、一般的にコンポーネント間でコードストリームのサイズには偏りが存在する。   However, when the size of the code stream for each component is the same as described above, there is a disadvantage that the use efficiency of the memory 16 is deteriorated when the size of the code stream is uneven among the components. For example, when only the blue component exists in the image data of the RAW image, only the code stream of the B component exists, and the code stream of the G and R components does not exist. Therefore, the code of the G and R components in the memory 16 The part that holds the stream is blank and wasteful. In general, there is a bias in the size of the code stream between components.

そこで、画像圧縮部15は、コンポーネント毎のコードストリームのサイズを同一とするのではなく、図11に示すように、コンポーネント毎のコードストリームのサイズの総和が同一となるように、すなわち、以下の関係式、
(0,0)R+(0,0)G+(0,0)B=・・・=(m,n)R+(m,n)G+(m,n)B
を満たすように符号化しても構わない。この場合、コンポーネント単位でのメモリ16へのランダムアクセスはできないが、コンポーネント間でのコードストリームのサイズの偏りの影響を受けないという利点がある。
Therefore, the image compression unit 15 does not make the size of the code stream for each component the same, but as shown in FIG. 11, so that the sum of the sizes of the code streams for each component becomes the same, that is, Relational expression,
(0,0) R + (0,0) G + (0,0) B = ... = (m, n) R + (m, n) G + (m, n) B
It may be encoded so as to satisfy. In this case, although random access to the memory 16 in units of components is not possible, there is an advantage that the components are not affected by the deviation of the code stream size between components.

ここで、図9乃至図11に示したコンポーネント毎のRAW画像は、複数のコンポーネントで構成されている画像データを画像圧縮部15の前段でコンポーネント毎に分割することにより得られる。例えば、R、G、B、Eの4つのコンポーネントで構成された128画素×8ラインの画像データの場合、図12に示すように、各コンポーネントがそれぞれ64画素×4ラインである4つの画像データに分割される。   Here, the RAW image for each component shown in FIG. 9 to FIG. 11 is obtained by dividing image data composed of a plurality of components for each component in the previous stage of the image compression unit 15. For example, in the case of 128 pixels × 8 lines of image data composed of four components of R, G, B, and E, as shown in FIG. 12, each of the components has four pieces of image data of 64 pixels × 4 lines. It is divided into.

(第3の実施の形態)
次に、第3の実施の形態として図13に示す画像処理装置2は、基本構造を図1に示した画像処理装置1と同様とするが、画像伸張部17を有し、メモリ16からコードストリームを読み出して復号する点に特徴を有している。したがって、先に図1に示した画像処理装置1と同様の構成については同一符号を付して詳細な説明を省略する。
(Third embodiment)
Next, an image processing apparatus 2 shown in FIG. 13 as a third embodiment has the same basic structure as that of the image processing apparatus 1 shown in FIG. It is characterized in that the stream is read and decoded. Therefore, the same components as those of the image processing apparatus 1 previously shown in FIG.

この画像処理装置2において、画像伸張部17は、メモリ16から矩形ブロック毎のコードストリームを読み出し、JPEG2000方式又はJPEG方式に従って復号して、復号画像データを出力する。なお、画像圧縮部15における圧縮が可逆圧縮でない場合には、符号化前の画像データと復号後の復号画像データとは一致しないが、本実施の形態では、可逆圧縮であっても非可逆圧縮であっても構わない。   In this image processing apparatus 2, the image decompression unit 17 reads out the code stream for each rectangular block from the memory 16, decodes it according to the JPEG2000 system or the JPEG system, and outputs decoded image data. When the compression in the image compression unit 15 is not lossless compression, the image data before encoding and the decoded image data after decoding do not match, but in this embodiment, lossy compression is performed even if lossless compression is performed. It does not matter.

この画像伸張部17の内部構成の一例を図14に示す。この図14は、コードストリームをJPEG2000方式に従って復号する場合の構成を示したものである。図14に示すように、画像伸張部17は、エントロピー復号部50と、ビットプレーン合成部51と、逆量子化部52と、逆ウェーブレット変換部53と、矩形ブロック合成部54とから構成されている。   An example of the internal configuration of the image expansion unit 17 is shown in FIG. FIG. 14 shows a configuration when a code stream is decoded according to the JPEG2000 system. As shown in FIG. 14, the image expansion unit 17 includes an entropy decoding unit 50, a bit plane synthesis unit 51, an inverse quantization unit 52, an inverse wavelet transform unit 53, and a rectangular block synthesis unit 54. Yes.

この画像伸張部17において、エントロピー復号部50は、メモリ16から読み出した矩形ブロック毎のコードストリームをエントロピー復号し、ビットプレーンに展開された量子化係数を生成する。上述した通り、量子化係数はビットプレーンに展開された状態ではMSBからLSBまでの2進数表現になっているため、ビットプレーン合成部51は、ビットプレーンを合成して10進数表現の量子化係数に変換する。逆量子化部52は、この量子化係数を逆量子化してウェーブレット変換係数を生成し、逆ウェーブレット変換部53は、このウェーブレット変換係数を逆ウェーブレット変換して矩形ブロック毎の画像データを生成する。そして、矩形ブロック合成部54は、画面を構成する全ての矩形ブロックの画像データを合成し、最終的な復号画像データを出力する。   In the image expansion unit 17, the entropy decoding unit 50 performs entropy decoding on the code stream for each rectangular block read from the memory 16, and generates quantized coefficients developed on the bit plane. As described above, since the quantization coefficient is expressed in a binary number from MSB to LSB in a state where the quantization coefficient is expanded on the bit plane, the bit plane synthesis unit 51 combines the bit planes to express the quantization coefficient in decimal number expression. Convert to The inverse quantization unit 52 inversely quantizes the quantized coefficient to generate a wavelet transform coefficient, and the inverse wavelet transform unit 53 performs inverse wavelet transform on the wavelet transform coefficient to generate image data for each rectangular block. Then, the rectangular block combining unit 54 combines the image data of all the rectangular blocks constituting the screen and outputs the final decoded image data.

なお、上述した第2の実施の形態のようにRAW画像の画像データが複数のコンポーネントで構成されている場合には、画像伸張部17の後段でコンポーネント毎の画像データを合成する必要がある。   In addition, when the image data of the RAW image is composed of a plurality of components as in the second embodiment described above, it is necessary to synthesize the image data for each component after the image expansion unit 17.

以上説明した画像処理装置2によれば、撮像素子13で撮像しA/D変換したRAW画像の画像データを画像圧縮部15で圧縮してからメモリ16に書き込んでいるため、メモリ16と画像伸張部17との間のデータレートが圧縮率の倍数分だけ少なくなっており、ハードウェア化した際のバス幅が小さくて済むため、コストや消費電力を抑えることができる。   According to the image processing apparatus 2 described above, the image data of the RAW image captured by the image sensor 13 and A / D converted is compressed by the image compression unit 15 and then written to the memory 16. The data rate with the unit 17 is reduced by a multiple of the compression rate, and the bus width when implemented in hardware can be reduced, so that cost and power consumption can be suppressed.

(第4の実施の形態)
次に、第4の実施の形態として図15に示す画像処理装置3は、基本構造を図13に示した画像処理装置2と同様とするが、信号処理部18及び画像圧縮部19を有し、復号画像データに対して所定の信号処理を施し、圧縮する点に特徴を有している。したがって、先に図13に示した画像処理装置2と同様の構成については同一符号を付して詳細な説明を省略する。
(Fourth embodiment)
Next, the image processing apparatus 3 shown in FIG. 15 as the fourth embodiment has the same basic structure as the image processing apparatus 2 shown in FIG. 13, but includes a signal processing unit 18 and an image compression unit 19. The method is characterized in that the decoded image data is subjected to predetermined signal processing and compressed. Therefore, the same components as those of the image processing apparatus 2 shown in FIG. 13 are denoted by the same reference numerals, and detailed description thereof is omitted.

この画像処理装置3において、信号処理部18は、画像伸張部17から供給された復号画像データに対して、レベル調整、ホワイトバランス、色空間変換、解像度変換、ガンマ補正等の各種デジタル信号処理を施し、信号処理後の画像データを画像圧縮部19に供給する。画像圧縮部19は、信号処理部18から供給された画像データをJPEG2000方式又はJPEG方式に従って符号化し、得られたコードストリームを出力する。   In the image processing apparatus 3, the signal processing unit 18 performs various digital signal processing such as level adjustment, white balance, color space conversion, resolution conversion, and gamma correction on the decoded image data supplied from the image expansion unit 17. The image data after the signal processing is supplied to the image compression unit 19. The image compression unit 19 encodes the image data supplied from the signal processing unit 18 according to the JPEG2000 system or the JPEG system, and outputs the obtained code stream.

ここで、画像伸長部17までの構成を処理ブロック60としてハードウェア(LSIを含む)で実現し、この処理ブロック60を既存の構成部である信号処理部18及び画像圧縮部19と接続するようにしても構わない。このように本実施の形態における特徴部分である処理ブロック60と既存の信号処理部18及び画像圧縮部19とを切り離すことによりリソースを流用することができ、開発工数やコストを削減することができる。   Here, the configuration up to the image decompression unit 17 is realized by hardware (including LSI) as the processing block 60, and the processing block 60 is connected to the signal processing unit 18 and the image compression unit 19 which are existing configuration units. It doesn't matter. As described above, resources can be diverted by separating the processing block 60 that is a characteristic part of the present embodiment from the existing signal processing unit 18 and the image compression unit 19, and the development man-hours and costs can be reduced. .

(第5の実施の形態)
次に、第4の実施の形態として図16に示す画像処理装置4は、基本構造を図15に示した画像処理装置3と同様とするが、メモリ16を有さない点に特徴を有している。したがって、先に図14に示した画像処理装置3と同様の構成については同一符号を付して詳細な説明を省略する。
(Fifth embodiment)
Next, the image processing apparatus 4 shown in FIG. 16 as the fourth embodiment has the same basic structure as the image processing apparatus 3 shown in FIG. ing. Therefore, the same components as those of the image processing apparatus 3 shown in FIG. 14 are denoted by the same reference numerals, and detailed description thereof is omitted.

この画像処理装置4において、画像圧縮部15は、画像データを所定サイズの矩形ブロックに分割し、符号化後に得られるコードストリームのサイズが全ての矩形ブロックで同一となるように制御しながら、矩形ブロック毎の画像データをJPEG2000方式又はJPEG方式に従って符号化する。そして画像圧縮部15は、矩形ブロック毎のコードストリームを順に画像伸長部17に供給する。   In this image processing device 4, the image compression unit 15 divides the image data into rectangular blocks of a predetermined size, and controls so that the size of the code stream obtained after encoding is the same for all rectangular blocks. The image data for each block is encoded according to the JPEG2000 system or the JPEG system. The image compression unit 15 supplies the code stream for each rectangular block to the image expansion unit 17 in order.

この画像処理装置4によれば、メモリが存在しないため、システム全体のコストを下げることができる。また、画像圧縮部15と画像伸張部17との間のデータレートが圧縮率の倍数分だけ少なくなっており、ハードウェア化した際のバス幅が小さくて済むため、コストや消費電力を抑えることができる。   According to this image processing apparatus 4, since there is no memory, the cost of the entire system can be reduced. In addition, the data rate between the image compression unit 15 and the image expansion unit 17 is reduced by a multiple of the compression rate, and the bus width when implemented in hardware can be reduced, thereby reducing cost and power consumption. Can do.

以上、本発明を実施するための最良の形態について説明したが、本発明は上述した実施の形態のみに限定されるものではなく、本発明の要旨を逸脱しない範囲において種々の変更が可能であることは勿論である。   Although the best mode for carrying out the present invention has been described above, the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the scope of the present invention. Of course.

例えば、上述した実施の形態における一連の処理は、ソフトウェアにより実行することもできる。この場合、そのソフトウェアを構成するプログラムをコンピュータの専用ハードウェアに予め組み込むようにしてもよく、また、各種プログラムをインストールすることで各種機能を実行することが可能な汎用のパーソナルコンピュータなどに対して、ネットワークや記録媒体を介してインストールするようにしてもよい。   For example, the series of processes in the above-described embodiment can be executed by software. In this case, a program that constitutes the software may be incorporated in advance in dedicated hardware of the computer, or for a general-purpose personal computer that can execute various functions by installing various programs. The installation may be performed via a network or a recording medium.

第1の実施の形態における画像処理装置の概略構成を示す図である。1 is a diagram illustrating a schematic configuration of an image processing apparatus according to a first embodiment. 画像データを所定サイズの矩形ブロックに分割した状態を示す図である。It is a figure which shows the state which divided | segmented image data into the rectangular block of predetermined size. 各矩形ブロックのコードストリームを格納するメモリの位置を示す図である。It is a figure which shows the position of the memory which stores the code stream of each rectangular block. 同画像処理装置の処理を説明するフローチャートである。It is a flowchart explaining the process of the image processing apparatus. 同画像処理装置における画像圧縮部の内部構成の一例を示す図である。It is a figure which shows an example of the internal structure of the image compression part in the image processing apparatus. 量子化係数を展開したビットプレーンを説明する図である。It is a figure explaining the bit plane which expand | deployed the quantization coefficient. 同画像処理装置における撮像素子の一例を示す断面図である。It is sectional drawing which shows an example of the image pick-up element in the image processing apparatus. 同撮像素子の配線層に画像圧縮部等の構成部位を配置した例を示す斜視図である。It is a perspective view which shows the example which has arrange | positioned structural parts, such as an image compression part, in the wiring layer of the image pick-up element. 画像データが3つのコンポーネントで構成されている場合に各矩形ブロックのコードストリームを格納する第1の例を示す図である。It is a figure which shows the 1st example which stores the code stream of each rectangular block, when image data is comprised by three components. 画像データが3つのコンポーネントで構成されている場合に各矩形ブロックのコードストリームを格納する第2の例を示す図である。It is a figure which shows the 2nd example which stores the code stream of each rectangular block, when image data is comprised by three components. 画像データが3つのコンポーネントで構成されている場合に各矩形ブロックのコードストリームを格納する第3の例を示す図である。It is a figure which shows the 3rd example which stores the code stream of each rectangular block, when image data is comprised by three components. 4つのコンポーネントで構成された画像データをコンポーネント毎の画像データに分割する様子を示した図である。It is the figure which showed a mode that the image data comprised by four components was divided | segmented into the image data for every component. 第3の実施の形態における画像処理装置の概略構成を示す図である。It is a figure which shows schematic structure of the image processing apparatus in 3rd Embodiment. 同画像処理装置における画像伸張部の内部構成の一例を示す図である。It is a figure which shows an example of an internal structure of the image expansion part in the image processing apparatus. 第4の実施の形態における画像処理装置の概略構成を示す図である。It is a figure which shows schematic structure of the image processing apparatus in 4th Embodiment. 第5の実施の形態における画像処理装置の概略構成を示す図である。It is a figure which shows schematic structure of the image processing apparatus in 5th Embodiment. 従来の画像処理装置の概略構成を示す図である。It is a figure which shows schematic structure of the conventional image processing apparatus.

符号の説明Explanation of symbols

1〜4 画像処理装置、10 レンズ、11 光学ローパスフィルタ、12 色補正部、13 撮像素子、14 AD変換部、15 画像圧縮部、16 メモリ、17 画像伸張部、18 信号処理部、19 画像圧縮部、30 矩形ブロック化部、31 ウェーブレット変換部、32 量子化部、33 ビットプレーン化部、34 エントロピー符号化部、35 レート制御部、50 エントロピー復号部、51 ビットプレーン合成部、52 逆量子化部、53 逆ウェーブレット変換部、54 矩形ブロック合成部   1-4 image processing apparatus, 10 lens, 11 optical low-pass filter, 12 color correction unit, 13 image sensor, 14 AD conversion unit, 15 image compression unit, 16 memory, 17 image expansion unit, 18 signal processing unit, 19 image compression , 30 rectangular block forming unit, 31 wavelet transform unit, 32 quantization unit, 33 bit plane conversion unit, 34 entropy encoding unit, 35 rate control unit, 50 entropy decoding unit, 51 bit plane synthesis unit, 52 inverse quantization Section, 53 inverse wavelet transform section, 54 rectangular block composition section

Claims (16)

撮像素子で撮像されデジタルデータに変換された画像データを所定の大きさの複数の矩形ブロックに分割し、各矩形ブロックの画像データを固定符号量で符号化してコードストリームを生成する符号化手段と、
上記コードストリームが矩形ブロック毎に格納される記憶手段とを備え、
上記符号化手段は、各矩形ブロックについて得られたコードストリームを当該矩形ブロックの上記画像データ上での位置と1対1に対応付けられた上記記憶手段のメモリ番地に格納する
ことを特徴とする画像処理装置。
Encoding means for dividing image data captured by an image sensor and converted into digital data into a plurality of rectangular blocks of a predetermined size, and encoding the image data of each rectangular block with a fixed code amount to generate a code stream; ,
Storage means for storing the code stream for each rectangular block;
The encoding means stores the code stream obtained for each rectangular block in a memory address of the storage means that is in one-to-one correspondence with the position of the rectangular block on the image data. Image processing device.
上記画像データが複数のコンポーネントで構成されている場合、上記符号化手段は、当該画像データをコンポーネント毎に分割し、コンポーネント毎の画像データを複数の矩形ブロックに分割し、各矩形ブロックの画像データを固定符号量で符号化することを特徴とする請求項1記載の画像処理装置。   When the image data is composed of a plurality of components, the encoding unit divides the image data for each component, divides the image data for each component into a plurality of rectangular blocks, and the image data of each rectangular block. The image processing apparatus according to claim 1, wherein the image is encoded with a fixed code amount. 上記符号化手段は、各矩形ブロックについて得られるコードストリームの符号量が全てのコンポーネントで同一となるように、各矩形ブロックの画像データを符号化することを特徴とする請求項2記載の画像処理装置。   The image processing according to claim 2, wherein the encoding means encodes the image data of each rectangular block so that the code amount of the code stream obtained for each rectangular block is the same for all components. apparatus. 上記符号化手段は、各コンポーネントの同一位置の矩形ブロックについて得られるコードストリームの符号量の総和が全ての矩形ブロックで同一となるように、各矩形ブロックの画像データを符号化することを特徴とする請求項2記載の画像処理装置。   The encoding means encodes the image data of each rectangular block so that the sum of the code amount of the code stream obtained for the rectangular block at the same position of each component is the same in all the rectangular blocks. The image processing apparatus according to claim 2. 上記符号化手段は、JPEG2000方式又はJPEG方式に従って、各矩形ブロックの画像データを符号化することを特徴とする請求項1記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the encoding unit encodes image data of each rectangular block according to a JPEG2000 system or a JPEG system. 上記矩形ブロックの大きさは、上記符号化手段に画像データが供給される際の供給単位の大きさと一致していることを特徴とする請求項1記載の画像処理装置。   2. The image processing apparatus according to claim 1, wherein the size of the rectangular block coincides with the size of a supply unit when image data is supplied to the encoding means. 上記矩形ブロックのサイズは、符号化する際にローカルメモリで保持できる範囲内であることを特徴とする請求項1記載の画像処理装置。   2. The image processing apparatus according to claim 1, wherein the size of the rectangular block is within a range that can be held in a local memory when encoding. 撮像素子で撮像されデジタルデータに変換された画像データを所定の大きさの複数の矩形ブロックに分割し、各矩形ブロックの画像データを固定符号量で符号化してコードストリームを生成する符号化工程と、
上記コードストリームを矩形ブロック毎に記憶手段に格納する記憶工程とを有し、
上記記憶工程では、各矩形ブロックについて得られたコードストリームを当該矩形ブロックの上記画像データ上での位置と1対1に対応付けられた上記記憶手段のメモリ番地に格納する
ことを特徴とする画像処理方法。
An encoding step of dividing image data captured by an image sensor and converted into digital data into a plurality of rectangular blocks of a predetermined size, and encoding the image data of each rectangular block with a fixed code amount to generate a code stream; ,
A storage step of storing the code stream in a storage unit for each rectangular block;
In the storing step, the code stream obtained for each rectangular block is stored in a memory address of the storing means in a one-to-one correspondence with the position of the rectangular block on the image data. Processing method.
上記画像データが複数のコンポーネントで構成されている場合、上記符号化工程では、当該画像データをコンポーネント毎に分割し、コンポーネント毎の画像データを複数の矩形ブロックに分割し、各矩形ブロックの画像データを固定符号量で符号化することを特徴とする請求項8記載の画像処理方法。   When the image data is composed of a plurality of components, in the encoding step, the image data is divided for each component, the image data for each component is divided into a plurality of rectangular blocks, and the image data of each rectangular block The image processing method according to claim 8, wherein the image is encoded with a fixed code amount. 上記符号化工程では、各矩形ブロックについて得られるコードストリームの符号量が全てのコンポーネントで同一となるように、各矩形ブロックの画像データを符号化することを特徴とする請求項9記載の画像処理方法。   10. The image processing according to claim 9, wherein in the encoding step, the image data of each rectangular block is encoded so that the code amount of the code stream obtained for each rectangular block is the same for all components. Method. 上記符号化工程では、各コンポーネントの同一位置の矩形ブロックについて得られるコードストリームの符号量の総和が全ての矩形ブロックで同一となるように、各矩形ブロックの画像データを符号化することを特徴とする請求項9記載の画像処理方法。   In the encoding step, the image data of each rectangular block is encoded so that the sum of the code amount of the code stream obtained for the rectangular block at the same position of each component is the same in all the rectangular blocks. The image processing method according to claim 9. 上記符号化工程では、JPEG2000方式又はJPEG方式に従って、各矩形ブロックの画像データを符号化することを特徴とする請求項8記載の画像処理方法。   9. The image processing method according to claim 8, wherein in the encoding step, the image data of each rectangular block is encoded according to a JPEG2000 system or a JPEG system. 上記矩形ブロックの大きさは、上記符号化工程のために画像データが供給される際の供給単位の大きさと一致していることを特徴とする請求項8記載の画像処理方法。   9. The image processing method according to claim 8, wherein the size of the rectangular block coincides with the size of a supply unit when image data is supplied for the encoding step. 上記矩形ブロックのサイズは、符号化する際にローカルメモリで保持できる範囲内であることを特徴とする請求項8記載の画像処理方法。   9. The image processing method according to claim 8, wherein the size of the rectangular block is within a range that can be held in a local memory when encoding. 所定の処理をコンピュータに実行させることが可能なプログラムにおいて、
撮像素子で撮像されデジタルデータに変換された画像データを所定の大きさの複数の矩形ブロックに分割し、各矩形ブロックの画像データを固定符号量で符号化してコードストリームを生成する符号化工程と、
上記コードストリームを矩形ブロック毎に記憶手段に格納する記憶工程とを有し、
上記記憶工程では、各矩形ブロックについて得られたコードストリームを当該矩形ブロックの上記画像データ上での位置と1対1に対応付けられた上記記憶手段のメモリ番地に格納する
ことを特徴とするプログラム。
In a program capable of causing a computer to execute a predetermined process,
An encoding step of dividing image data captured by an image sensor and converted into digital data into a plurality of rectangular blocks of a predetermined size, and encoding the image data of each rectangular block with a fixed code amount to generate a code stream; ,
A storage step of storing the code stream in a storage unit for each rectangular block;
In the storage step, the code stream obtained for each rectangular block is stored in a memory address of the storage means that is associated with the position of the rectangular block on the image data in a one-to-one relationship. .
所定の処理をコンピュータに実行させることが可能なプログラムが記録されたコンピュータ読み取り可能な記録媒体において、
撮像素子で撮像されデジタルデータに変換された画像データを所定の大きさの複数の矩形ブロックに分割し、各矩形ブロックの画像データを固定符号量で符号化してコードストリームを生成する符号化工程と、
上記コードストリームを矩形ブロック毎に記憶手段に格納する記憶工程とを有し、
上記記憶工程では、各矩形ブロックについて得られたコードストリームを当該矩形ブロックの上記画像データ上での位置と1対1に対応付けられた上記記憶手段のメモリ番地に格納する
ことを特徴とするプログラムが記録された記録媒体。
In a computer-readable recording medium on which a program capable of causing a computer to execute predetermined processing is recorded,
An encoding step of dividing image data captured by an image sensor and converted into digital data into a plurality of rectangular blocks of a predetermined size, and encoding the image data of each rectangular block with a fixed code amount to generate a code stream; ,
A storage step of storing the code stream in a storage unit for each rectangular block;
In the storage step, the code stream obtained for each rectangular block is stored in a memory address of the storage means that is associated with the position of the rectangular block on the image data in a one-to-one relationship. Recording medium on which is recorded.
JP2004356034A 2004-12-08 2004-12-08 Image processing apparatus and method Expired - Fee Related JP4729913B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004356034A JP4729913B2 (en) 2004-12-08 2004-12-08 Image processing apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004356034A JP4729913B2 (en) 2004-12-08 2004-12-08 Image processing apparatus and method

Publications (2)

Publication Number Publication Date
JP2006166144A true JP2006166144A (en) 2006-06-22
JP4729913B2 JP4729913B2 (en) 2011-07-20

Family

ID=36667628

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004356034A Expired - Fee Related JP4729913B2 (en) 2004-12-08 2004-12-08 Image processing apparatus and method

Country Status (1)

Country Link
JP (1) JP4729913B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011041144A (en) * 2009-08-17 2011-02-24 Nikon Corp Apparatus and program for processing image
JP2011071854A (en) * 2009-09-28 2011-04-07 Renesas Electronics Corp Image processor and image processing method
US8330835B2 (en) 2009-11-06 2012-12-11 Panasonic Corporation Image capturing apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09116716A (en) * 1995-10-14 1997-05-02 Ricoh Co Ltd Image data storage device
JPH10136179A (en) * 1996-11-01 1998-05-22 Hitachi Ltd Data processing unit
JPH10271530A (en) * 1997-03-24 1998-10-09 Fuji Photo Film Co Ltd Image data compression coder, method therefor and digital camera
JP2000280525A (en) * 1999-03-30 2000-10-10 Minolta Co Ltd Image processor
JP2003209699A (en) * 2002-01-09 2003-07-25 Panasonic Communications Co Ltd Arithmetic coder and image processor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09116716A (en) * 1995-10-14 1997-05-02 Ricoh Co Ltd Image data storage device
JPH10136179A (en) * 1996-11-01 1998-05-22 Hitachi Ltd Data processing unit
JPH10271530A (en) * 1997-03-24 1998-10-09 Fuji Photo Film Co Ltd Image data compression coder, method therefor and digital camera
JP2000280525A (en) * 1999-03-30 2000-10-10 Minolta Co Ltd Image processor
JP2003209699A (en) * 2002-01-09 2003-07-25 Panasonic Communications Co Ltd Arithmetic coder and image processor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011041144A (en) * 2009-08-17 2011-02-24 Nikon Corp Apparatus and program for processing image
JP2011071854A (en) * 2009-09-28 2011-04-07 Renesas Electronics Corp Image processor and image processing method
US8330835B2 (en) 2009-11-06 2012-12-11 Panasonic Corporation Image capturing apparatus

Also Published As

Publication number Publication date
JP4729913B2 (en) 2011-07-20

Similar Documents

Publication Publication Date Title
KR100347508B1 (en) Photo Image Pick-Up Device
US7702163B2 (en) Image signal processing apparatus, camera system and image signal processing method
JP4508132B2 (en) Imaging device, imaging circuit, and imaging method
US8031958B2 (en) Image signal processing apparatus, camera system and image signal processing method
JP4769039B2 (en) Digital signal encoding and decoding apparatus and method
US8320685B2 (en) Picture processing apparatus and method, and imaging apparatus
US7248191B2 (en) Variable-length coding method, variable-length coding device and imaging system
JP2008294689A (en) Device, circuit and method, for imaging
CN102812698B (en) Image pickup device
JP4895567B2 (en) Image encoding method and apparatus, image decoding method and apparatus, and imaging apparatus
JP3940672B2 (en) Image processing apparatus and image processing method
JP2000244922A (en) Method for compressing picture data
JP4729913B2 (en) Image processing apparatus and method
US20040006582A1 (en) Digital image coding device and method
JP6946671B2 (en) Image processing device and image processing method
JP4092830B2 (en) Image data compression method
JP4302661B2 (en) Image processing system
JP2001231046A (en) Digital camera system and image transfer method used in it
JP3253489B2 (en) Image data processing device
TWI795480B (en) Image processing device for performing data decompression and image processing device for performing data compression
JP7451131B2 (en) Image encoding device, image encoding method, and program
JP3392949B2 (en) Image compression device and image decompression device
JP2009038740A (en) Image encoding device
JP4720494B2 (en) Imaging apparatus, imaging method and program, and recording medium
JP2023008624A (en) Imaging apparatus and control method thereof and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070726

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090707

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090714

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090902

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100608

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100726

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110322

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110404

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140428

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140428

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees