JP2003143454A - Image processing device and method therefor - Google Patents

Image processing device and method therefor

Info

Publication number
JP2003143454A
JP2003143454A JP2001336324A JP2001336324A JP2003143454A JP 2003143454 A JP2003143454 A JP 2003143454A JP 2001336324 A JP2001336324 A JP 2001336324A JP 2001336324 A JP2001336324 A JP 2001336324A JP 2003143454 A JP2003143454 A JP 2003143454A
Authority
JP
Japan
Prior art keywords
data
memory
storage device
image
image processing
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
JP2001336324A
Other languages
Japanese (ja)
Other versions
JP4122753B2 (en
Inventor
Kenji Arakawa
賢治 荒川
Shigeo Sakagami
茂生 阪上
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2001336324A priority Critical patent/JP4122753B2/en
Publication of JP2003143454A publication Critical patent/JP2003143454A/en
Application granted granted Critical
Publication of JP4122753B2 publication Critical patent/JP4122753B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To reduce a processing time of an image pickup device. SOLUTION: A raster block converting memory 21 uses an SRAM or the like which reads/writes simultaneously, and address control of the raster block converting memory 21 is constituted in a ring buffer configuration, whereby data read out next from a memory can be stored at an address which is finished reading out data in block order, and this can cause to decrease memory capacity. When image data is read out from a memory 4, all the data including data of a neighboring MCU except for data necessary for constituting a MCU of the address accessed to the memory 4 are held in the raster block converting memory 21. An access frequency to the memory 4 is minimized, thereby restricting increase in a processing time.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、前記撮像素子によ
り光電変換された映像信号を記録することが可能なデジ
タルスチルカメラもしくはデジタルビデオカメラに関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital still camera or a digital video camera capable of recording a video signal photoelectrically converted by the image pickup device.

【0002】[0002]

【従来の技術】撮像素子から出力される画像データを、
輝度信号・色差信号に分離してラインごとに一時的にS
DRAMなどの記憶装置へ格納する。
2. Description of the Related Art Image data output from an image sensor is
Temporarily S for each line by separating into luminance signal and color difference signal
Store in a storage device such as DRAM.

【0003】格納した画像データをJPEG規格に則ってラ
スタブロック変換する際、数ライン分の容量を持つラス
タブロック変換用メモリを必要としていた。
When converting the stored image data into raster blocks according to the JPEG standard, a raster block conversion memory having a capacity of several lines is required.

【0004】また、記憶装置から画像データを読み出し
てラスタブロック変換用メモリへ格納する処理と、
ラスタブロック変換用メモリで変換した画像データを
読み出す処理が順次処理となっていた。
Further, a process of reading image data from a storage device and storing it in a raster block conversion memory,
The process of reading the image data converted by the raster block conversion memory is a sequential process.

【0005】[0005]

【発明が解決しようとする課題】上記のような従来の画
像処理装置では、回路規模が大きい、処理速度が遅いと
言う欠点があった。
The conventional image processing apparatus as described above has the drawbacks that the circuit scale is large and the processing speed is slow.

【0006】そこで、本発明はラスタブロック変換回路
において、処理速度を落とさずにラスタブロック変換用
メモリの容量が削減できる画像処理装置を提供する。
Therefore, the present invention provides an image processing apparatus capable of reducing the capacity of a raster block conversion memory in a raster block conversion circuit without reducing the processing speed.

【0007】[0007]

【課題を解決するための手段】本発明は、上記の課題を
解決するために次のような手段を講じた。
The present invention has taken the following means in order to solve the above problems.

【0008】被写体の光学像を光電変換する撮像素子
と、各種データを一時的に記憶する記憶装置と、前記撮
像素子から出力される画像データを一時的に記憶装置に
記憶させるための一時記憶手段Aと、前記画像データを
輝度信号に対応する成分と色差信号に対応する成分に分
離する画像処理手段と、前記輝度信号、色差信号を記録
用として一時的に前記記憶装置に記憶させるための一時
記憶手段Bと、前記輝度信号、色差信号を表示用として
一時的に前記記憶装置に記憶させるための一時記憶手段
Cと、ラスタブロック変換用メモリを有し前記輝度信
号、色差信号に対して符号化処理を行なう符号化手段
と、前記符号化手段によつて得られた符号化映像デ−タ
を所定の記録媒体に記録保持させる記録手段とを有する
ことを特徴とする。
An image pickup device for photoelectrically converting an optical image of a subject, a storage device for temporarily storing various data, and a temporary storage means for temporarily storing image data output from the image pickup device in the storage device. A, image processing means for separating the image data into a component corresponding to a luminance signal and a component corresponding to a color difference signal, and a temporary storage for temporarily storing the luminance signal and the color difference signal in the storage device for recording. A storage unit B, a temporary storage unit C for temporarily storing the luminance signal and the color difference signal in the storage device for display, and a raster block conversion memory are provided to code the luminance signal and the color difference signal. It is characterized in that it has an encoding means for performing encoding processing, and a recording means for recording and retaining the encoded video data obtained by the encoding means in a predetermined recording medium.

【0009】Read/Writeが同時に行える前記ラスタブロ
ック変換用メモリを使用し、前記ラスタブロック変換用
メモリのアドレス制御をリングバッファ状構成とするこ
とで、前記ラスタブロック変換用メモリからブロック順
でデータを読み出し終えたアドレスに、前記記憶装置か
ら次に読み出したデータを格納することが出来、メモリ
容量を減らすことが可能となる。
By using the raster block conversion memory capable of simultaneous read / write and configuring the address control of the raster block conversion memory in a ring buffer form, data is read from the raster block conversion memory in block order. The data read next from the storage device can be stored in the read-completed address, and the memory capacity can be reduced.

【0010】また、前記記憶装置から画像データを読み
出す際、前記記憶装置にアクセスしたアドレスのMCU
を構成するのに必要なデータ以外の隣接するMCUのデ
ータも含めた、全てのデータを前記ラスタブロック変換
用メモリで保持することで、記憶装置へのアクセス頻度
を最小限にし、処理時間の増加を抑えることが可能とな
る。
Further, when the image data is read from the storage device, the MCU of the address accessed to the storage device
By holding all the data including the data of adjacent MCUs other than the data required to configure the memory in the raster block conversion memory, the access frequency to the storage device is minimized and the processing time is increased. Can be suppressed.

【0011】[0011]

【発明の実施の形態】以下、図面を参照して本発明の実
施の形態を説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings.

【0012】図1に示すように、画像処理装置1には、
撮像素子2、表示装置3、記憶装置4及び、記録媒体5
が接続されている。
As shown in FIG. 1, the image processing apparatus 1 includes
Image sensor 2, display device 3, storage device 4, and recording medium 5
Are connected.

【0013】画像処理装置1は、撮像素子2から入力し
た入力画像データD1を記録用データD2と表示用デー
タD3に変換し、記録用データD2はJPEG方式に基
づいて圧縮を行い、圧縮画像データD4を記録媒体5に
記録する。表示用データD3を表示装置3に出力する。
The image processing apparatus 1 converts the input image data D1 input from the image pickup device 2 into recording data D2 and display data D3, and the recording data D2 is compressed in accordance with the JPEG system to obtain compressed image data. D4 is recorded on the recording medium 5. The display data D3 is output to the display device 3.

【0014】また、再生時には記録媒体5から圧縮画像
データD4を読み出し、JPEG方式に基づいて伸張を
行い、表示用データD3に変換し、表示装置3に出力す
る。
During reproduction, the compressed image data D4 is read from the recording medium 5, expanded according to the JPEG method, converted into display data D3, and output to the display device 3.

【0015】撮像素子2は、CCDカメラ等より構成
し、カラー静止画等の入力画像データD1を取り込み、
その入力画像データD1を画像処理装置1に出力する。
The image pickup device 2 is composed of a CCD camera or the like and takes in input image data D1 such as a color still image,
The input image data D1 is output to the image processing device 1.

【0016】表示装置3は、液晶モニター等より構成
し、画像を表示する。記憶装置4は、1画面分の記録用
データD2を記憶するのに充分な容量のSDRAM等の
メモリデバイスで構成する。記録媒体5は、不揮発性メ
モリカード装置等より構成する。
The display device 3 is composed of a liquid crystal monitor or the like and displays an image. The storage device 4 is composed of a memory device such as an SDRAM having a sufficient capacity to store the recording data D2 for one screen. The recording medium 5 is composed of a non-volatile memory card device or the like.

【0017】次に、画像処理装置1の構成を詳述する。Next, the structure of the image processing apparatus 1 will be described in detail.

【0018】画像処理装置1は、一時記憶手段A11、
画像処理手段12、一時記憶手段B13、一時記憶手段
C14、符号化手段15、記録手段16、及び、調停手
段17により構成されている。調停手段17は、一時記
憶手段A11、一時記憶手段B13、一時記憶手段C1
4、符号化手段15、及び、記録手段16の記憶装置4
へのアクセスを時分割に調停している。
The image processing apparatus 1 includes a temporary storage means A11,
The image processing unit 12, the temporary storage unit B13, the temporary storage unit C14, the encoding unit 15, the recording unit 16, and the arbitration unit 17 are included. The arbitration means 17 includes a temporary storage means A11, a temporary storage means B13, and a temporary storage means C1.
4, storage unit 4 of encoding unit 15 and recording unit 16
Access is arbitrated on a time-sharing basis.

【0019】また一時記憶手段B13には平滑化手段R
18を、一時記憶手段C14には平滑化手段M19を、
符号化手段15にはJPEGアルゴリズムに従って圧縮
および伸張を行うJPEGコア20を有している。
Further, the smoothing means R is stored in the temporary storage means B13.
18 and the smoothing means M19 in the temporary storage means C14,
The encoding means 15 has a JPEG core 20 that performs compression and expansion according to the JPEG algorithm.

【0020】なお、符号化手段15は、所定の方式(本
実施の形態ではJPEG方式)に基づいて画像データの圧縮
・伸長を行うためのものである。
The encoding means 15 is for compressing / decompressing image data based on a predetermined method (JPEG method in this embodiment).

【0021】画像処理装置1は、撮像素子2から入力し
た入力画像データD1を一時記憶手段A11によって取
り込み、記憶装置4に記憶させる。記憶装置4に記憶さ
せた入力画像データD1を一時記憶手段A11によって
読み出し、次に撮像素子2から入力する入力画像データ
D1とともに画像処理手段12へ出力する。
The image processing apparatus 1 takes in the input image data D1 input from the image pickup device 2 by the temporary storage means A11 and stores it in the storage device 4. The input image data D1 stored in the storage device 4 is read by the temporary storage means A11, and is output to the image processing means 12 together with the input image data D1 input from the image pickup device 2 next.

【0022】なお、モニターモードにおいては、撮像素
子2から入力した入力画像データD1を記憶装置4に記
憶させずに画像処理手段12へ出力する。
In the monitor mode, the input image data D1 input from the image pickup device 2 is output to the image processing means 12 without being stored in the storage device 4.

【0023】画像処理手段12は、入力した入力画像デ
ータD1を輝度信号と色差信号に分離して、記録用デー
タD2と表示用データD3を生成する。記録用データD
2を一時記憶手段B、表示用データD3を一時記憶手段
Cによって、1画面分の記録用データD2を記憶するの
に充分な容量のSDRAM等のメモリデバイスで構成す
る記憶装置4に記憶させる。記録用データD2を符号化
手段15によってSRAM等で構成されるラスタブロッ
ク変換用メモリ21でラスター順のデータをブロック順
に変換してJPEGコア20に出力し、JPEGコア2
0でJPEGアルゴリズムに従って圧縮する。
The image processing means 12 separates the input input image data D1 into a luminance signal and a color difference signal to generate recording data D2 and display data D3. Recording data D
2 is stored by the temporary storage means B, and the display data D3 is stored by the temporary storage means C in the storage device 4 constituted by a memory device such as SDRAM having a sufficient capacity for storing the recording data D2 for one screen. The recording data D2 is converted by the encoding means 15 into raster order data in the raster block conversion memory 21 configured by SRAM or the like and output to the JPEG core 20 in the JPEG core 20.
0 compresses according to the JPEG algorithm.

【0024】その圧縮した圧縮画像データD4を符号化
手段15によって記憶装置4に記憶させ、記録手段16
により不揮発性メモリ装置等よりなる記録媒体5に出力
し、記録する。
The compressed compressed image data D4 is stored in the storage device 4 by the encoding means 15, and is recorded in the recording means 16.
The data is output to and recorded on the recording medium 5 composed of a non-volatile memory device or the like.

【0025】それと同時に表示用データD3は、モニタ
ー画像、プレビュー画像として液晶モニター等よりなる
表示装置3に出力し、表示装置3は画像を表示する。
At the same time, the display data D3 is output as a monitor image or a preview image to the display device 3 such as a liquid crystal monitor, and the display device 3 displays the image.

【0026】また画像処理装置1は、記録手段16によ
り記録媒体5に記録された圧縮画像データD4を読み出
して記憶装置4に記憶させ、その圧縮画像データD4を
符号化手段15によってJPEGアルゴリズムに従って伸長
し、記録用データD2として記憶装置4に記憶させる。
記憶装置4に格納した記録用データD2を一時記憶手段
A11によって読み出し、画像処理手段12により表示
用データD3に変換して一時記憶手段C14が表示装置
3に出力し、表示装置3は画像を復元する。
The image processing apparatus 1 also reads the compressed image data D4 recorded on the recording medium 5 by the recording means 16 and stores it in the storage device 4, and the compressed image data D4 is expanded by the encoding means 15 according to the JPEG algorithm. Then, it is stored in the storage device 4 as the recording data D2.
The recording data D2 stored in the storage device 4 is read by the temporary storage means A11, converted into the display data D3 by the image processing means 12 and output to the display device 3 by the temporary storage means C14, and the display device 3 restores the image. To do.

【0027】また、伸張された記録用データD2を一時
記憶手段A11によって読み出し、画像処理手段12に
より画像サイズや画角を変更して一時記憶手段Bによっ
て記憶装置4に記憶させ、符号化手段15によって圧縮
するリサイズ機能と切り出し機能を備える。
Further, the expanded recording data D2 is read by the temporary storage means A11, the image size and the angle of view are changed by the image processing means 12, the temporary storage means B stores it in the storage device 4, and the encoding means 15 is used. It has a resizing function and a cutting function for compressing.

【0028】なお、記憶装置4への平均データレートを
下げるため、SRAM等で構成されるメモリを有する平
滑化手段R18および平滑化手段M19を一時記憶手段
B13及び一時記憶手段C14に用いている。
In order to reduce the average data rate to the storage device 4, the smoothing means R18 and the smoothing means M19 having a memory such as SRAM are used as the temporary storage means B13 and the temporary storage means C14.

【0029】次に、上記のように構成された画像処理装
置1の作用を説明する。
Next, the operation of the image processing apparatus 1 configured as described above will be described.

【0030】図2は、記憶装置4に4:2:0形式で4
00万画素(2240×1680)の記録用データD2
を格納する概念図である。
FIG. 2 shows that the storage device 4 has a format of 4: 2: 0.
Recording data D2 of, 000,000 pixels (2240 x 1680)
It is a conceptual diagram which stores.

【0031】なお、記録用データD2の格納位置を上詰
めで記載しているが、格納位置は可変である。
Although the storage position of the recording data D2 is described above, the storage position is variable.

【0032】記憶装置4の縦軸がSDRAMの総ページ
数およびページアドレス、横軸が記憶装置4の1回のア
クセス単位(ページ)を示す。
The vertical axis of the storage device 4 shows the total number of pages and page addresses of the SDRAM, and the horizontal axis shows one access unit (page) of the storage device 4.

【0033】1ページは32Byteであり、1ライン
2240画素であるので70ページ/ラインとなる。
Since one page has 32 bytes and one line has 2240 pixels, it becomes 70 pages / line.

【0034】4:2:0形式なので、輝度信号2ライン
に対して色差信号1ラインである。
Since the format is 4: 2: 0, the luminance signal has two lines and the color difference signal has one line.

【0035】輝度信号はラインの先頭から順に詰めて格
納している。また色差信号は、Cb/Crが1画素ごと
にインターリーブして画像処理手段12から出力された
ものを、それぞれ8画素ごとに分けて格納している。
Luminance signals are packed and stored in order from the beginning of the line. As the color difference signal, Cb / Cr interleaved pixel by pixel and output from the image processing unit 12 is stored separately for each 8 pixels.

【0036】その詳細を図3に示す。1行が1回のアク
セスで読み書きできるデータの集まりを示し、ラインの
先頭から順番にLSBから4Byteずつを格納してい
る。
The details are shown in FIG. One row shows a group of data that can be read and written by one access, and stores 4 bytes from LSB in order from the beginning of the line.

【0037】なお、各手段の出力するページアドレスか
らSDRAMの実際のアドレスへの変換は調停手段17
にて行っている。
The conversion from the page address output by each means to the actual address of the SDRAM is performed by the arbitration means 17.
I am going to.

【0038】本実施例においては、記憶装置4のアクセ
ス単位が32Byteであるので、1回の記憶装置4へ
のアクセスで、1MCUを構成するのに隣接したMCU
のデータも読み出してくる。
In this embodiment, since the access unit of the storage device 4 is 32 Bytes, one access to the storage device 4 makes it possible to form an MCU adjacent to the adjacent MCUs.
Also reads the data.

【0039】画像処理装置1の全体の処理速度を落とさ
ないためには、記憶装置4へのアクセス回数を最小にす
る必要があるため、読み出したデータは全てラスタブロ
ック変換用メモリ21に格納する。4:2:0圧縮で1
MCUを構成するには、32Byte×24回=768
Byteのデータを記憶装置4から読み出す。
In order not to reduce the overall processing speed of the image processing apparatus 1, it is necessary to minimize the number of accesses to the storage device 4, so all the read data is stored in the raster block conversion memory 21. 1 in 4: 2: 0 compression
32 bytes x 24 times = 768 to configure MCU
Byte data is read from the storage device 4.

【0040】ここで隣接したMCUのデータもすべて格
納するとラスタブロック変換用メモリ21には768B
yteの容量が必要となるが、図4に示す構成を取る事
によりメモリ容量を削減する。
If all the data of the adjacent MCUs are also stored here, the raster block conversion memory 21 has 768B.
However, the memory capacity is reduced by adopting the configuration shown in FIG.

【0041】図4は、4:2:0圧縮時の符号化手段に
おけるラスタブロック変換用メモリ21の各JPEGマ
クロブロックと格納アドレスの構成を示す。
FIG. 4 shows the structure of each JPEG macroblock and storage address of the raster block conversion memory 21 in the encoding means at the time of 4: 2: 0 compression.

【0042】ここで、輝度マクロブロックYn、Yn+
1、Yn+2、Yn+3及び色差マクロブロックCb
n、Crnで1MCUを構成し、輝度マクロブロックY
n+4、Yn+5、Yn+6、Yn+7及び色差マクロ
ブロックCbn+1、Crn+1で隣接する1MCUを
構成する(n=0,8,16...)。
Here, the luminance macroblocks Yn and Yn +
1, Yn + 2, Yn + 3 and color difference macroblock Cb
Luminance macroblock Y
Adjacent 1 MCUs are constituted by n + 4, Yn + 5, Yn + 6, Yn + 7 and color difference macroblocks Cbn + 1, Crn + 1 (n = 0, 8, 16 ...).

【0043】記憶装置4より記録用データD2の輝度信
号を8回分読み出して輝度マクロブロックYn、Yn+
1、Yn+4、Yn+5を完成させる。完成した輝度マ
クロブロックYnおよび輝度マクロブロックYn+1を
JPEGコア20に入力しつつ、ラスタブロック変換用
メモリ21の空きが4マクロブロック以上あるので、記
憶装置4に8回アクセスして記録用データD2の輝度信
号を8ページ分読み出し、次の輝度マクロブロックYn
+2、Yn+3、Yn+6、Yn+7を完成させる。
The luminance signal of the recording data D2 is read from the storage device 4 eight times to obtain luminance macroblocks Yn, Yn +.
Complete 1, Yn + 4 and Yn + 5. While inputting the completed luminance macroblock Yn and luminance macroblock Yn + 1 to the JPEG core 20, the raster block conversion memory 21 has four or more free macroblocks. Therefore, the storage device 4 is accessed eight times to write the recording data D2. The luminance signal for 8 pages is read, and the next luminance macroblock Yn is read.
Complete +2, Yn + 3, Yn + 6, and Yn + 7.

【0044】次に輝度マクロブロックYn、Yn+1を
JPEGコア20に入力し終えたら、ラスタブロック変
換用メモリ21の空きが4マクロブロック以上できるの
で、記憶装置4より記録用データD2の色差信号を8回
分読み出して色差マクロブロックCbn、Crn、Cb
n+1、Crn+1を完成させる。
Next, when the luminance macroblocks Yn and Yn + 1 have been input to the JPEG core 20, the raster block conversion memory 21 can have 4 macroblocks or more, so that the color difference signal of the recording data D2 from the storage device 4 is set to 8 times. Color difference macro blocks Cbn, Crn, Cb are read out in batches.
n + 1 and Crn + 1 are completed.

【0045】この間順次JPEGコア20にYn+
2、Yn+3、Cbn、Crnデータを入力し、1MC
U入力後次のMCUのを輝度マクロブロックYn+4、
Yn+5を入力する。
During this period, Yn + is sequentially added to the JPEG core 20.
2, Yn + 3, Cbn, Crn data input, 1MC
After inputting U, the next MCU is set to the luminance macroblock Yn + 4,
Enter Yn + 5.

【0046】輝度マクロブロックYn+4、Yn+5
を入力し終えたら、記憶装置4より記録用データD2の
輝度信号を8回分読み出して次の輝度マクロブロックY
n、Yn+1、Yn+4、Yn+5を完成させる。
Luminance macroblocks Yn + 4, Yn + 5
After inputting, the luminance signal of the recording data D2 is read from the storage device 8 eight times and the next luminance macroblock Y is read.
Complete n, Yn + 1, Yn + 4, Yn + 5.

【0047】輝度マクロブロックYn+6、Yn+7
を入力し終えたら、記憶装置4より記録用データD2の
輝度信号を8回分読み出して次の輝度マクロブロックY
n+2、Yn+3、Yn+6、Yn+7を完成させる。
Luminance macroblocks Yn + 6, Yn + 7
After inputting, the luminance signal of the recording data D2 is read from the storage device 8 eight times and the next luminance macroblock Y is read.
Complete n + 2, Yn + 3, Yn + 6, Yn + 7.

【0048】色差マクロブロックCbn+1、Crn
+1を入力し終え、かつ輝度マクロブロックYn、Yn
+1をJPEGコア20に入力し終えたら、記憶装置4
より次の色差マクロブロックCbn、Crn、Cbn+
1、Crn+1を読み出す。
Color difference macroblocks Cbn + 1, Crn
Input of +1 is completed, and luminance macroblocks Yn and Yn
After inputting +1 to the JPEG core 20, the storage device 4
Next color difference macroblocks Cbn, Crn, Cbn +
Read 1, Crn + 1.

【0049】以降からの繰り返しとなる。各マクロ
ブロックの格納アドレスの遷移は、図4中の6通り。
The subsequent steps are repeated. There are six transitions of the storage address of each macroblock in FIG.

【0050】図5は、4:2:0圧縮時の最初の1MC
Uを構成する、輝度マクロブロックY0,Y1、Y2、
Y3および色差マクロブロックCb0、Cr0を図3に
おける各画素と対比してラスタブロック変換用メモリ2
1に格納した詳細な構成を示す。
FIG. 5 shows the first 1MC at the time of 4: 2: 0 compression.
Luminance macroblocks Y0, Y1, Y2, which form U
Raster block conversion memory 2 by comparing Y3 and color difference macroblocks Cb0 and Cr0 with each pixel in FIG.
1 shows the detailed configuration stored in 1.

【0051】図6は、4:2:2圧縮時の符号化手段に
おけるラスタブロック変換用メモリ21のJPEGマク
ロブロックと格納アドレスの構成を示す。
FIG. 6 shows the structure of the JPEG macroblock and the storage address of the raster block conversion memory 21 in the encoding means at the time of 4: 2: 2 compression.

【0052】記憶装置4より記録用データD2の輝度信
号を8回分読み出して輝度マクロブロックYn、Yn+
1、Yn+2、Yn+3を完成させる。
The luminance signal of the recording data D2 is read from the storage device 4 eight times to obtain luminance macroblocks Yn, Yn +.
Complete 1, Yn + 2 and Yn + 3.

【0053】完成した輝度マクロブロックYnおよび輝
度マクロブロックYn+1をJPEGコア20に入力し
つつ、ラスタブロック変換用メモリ21の空きが4マク
ロブロック以上あるので、記憶装置4より記録用データ
D2の色差信号を8回分読み出して色差マクロブロック
Cbn、Crn、Cbn+1、Crn+1を完成させ
る。
While inputting the completed luminance macroblock Yn and luminance macroblock Yn + 1 to the JPEG core 20, the raster block conversion memory 21 has four or more empty macroblocks. Therefore, the color difference signal of the recording data D2 is output from the storage device 4. Are read eight times to complete the color difference macroblocks Cbn, Crn, Cbn + 1, Crn + 1.

【0054】次に輝度マクロブロックYn、Yn+
1、色差マクロブロックCbn、Crn及び輝度マクロ
ブロックYn+2、Yn+3をJPEGコア20に入力
し終えたら、記憶装置4より記録用データD2の輝度信
号を8回分読み出して輝度マクロブロックYn、Yn+
1、Yn+2、Yn+3を完成させる。
Next, the luminance macro blocks Yn, Yn +
1. When the color difference macroblocks Cbn and Crn and the luminance macroblocks Yn + 2 and Yn + 3 have been input to the JPEG core 20, the luminance signals of the recording data D2 are read from the storage device 8 eight times to obtain the luminance macroblocks Yn and Yn +.
Complete 1, Yn + 2 and Yn + 3.

【0055】次に色差マクロブロックCbn+1、C
rn+1をJPEGコア20に入力し終えたら、色差マ
クロブロックCbn、Crn、Cbn+1、Crn+1
を完成させる。
Next, color difference macroblocks Cbn + 1, C
After inputting rn + 1 to the JPEG core 20, the color difference macroblocks Cbn, Crn, Cbn + 1, Crn + 1
To complete.

【0056】以降からの繰り返しとなる。各マクロ
ブロックの格納アドレスの遷移は、図6中の1通り。
The subsequent steps are repeated. The transition of the storage address of each macroblock is one in FIG.

【0057】以上記述したように、本形態によれば、以
下の効果を奏する。
As described above, according to this embodiment, the following effects can be obtained.

【0058】撮像素子2により被写体を撮像し、前記撮
像素子から出力される画像データを一時的に記憶装置に
記憶させるための一時記憶手段Aと、前記画像データを
輝度信号に対応する成分と色差信号に対応する成分に分
離する画像処理手段と、前記輝度信号、色差信号を記録
用として一時的に前記記憶装置に記憶させるための一時
記憶手段Bと、前記輝度信号、色差信号を表示用として
一時的に前記記憶装置に記憶させるための一時記憶手段
Cと、 ラスタブロック変換用メモリ21を有し前記
輝度信号、色差信号に対して符号化処理を行なう符号化
手段と、前記符号化手段によつて得られた符号化映像デ
−タを所定の記録媒体に記録保持させる記録手段とを有
することを特徴とする。
Temporary storage means A for picking up an image of a subject by the image pickup device 2 and temporarily storing the image data output from the image pickup device in a storage device, and a component of the image data corresponding to a luminance signal and a color difference. Image processing means for separating into components corresponding to signals, temporary storage means B for temporarily storing the luminance signal and color difference signal in the storage device for recording, and the luminance signal and color difference signal for display. Temporary storage means C for temporarily storing in the storage device, encoding means having a raster block conversion memory 21 for performing encoding processing on the luminance signal and color difference signal, and the encoding means A recording means for recording and holding the coded video data thus obtained is stored in a predetermined recording medium.

【0059】Read/Writeが同時に行える前記ラスタブロ
ック変換用メモリ21を使用し、前記ラスタブロック変
換用メモリ21のアドレス制御をリングバッファ状構成
とすることで、前記ラスタブロック変換用メモリ21か
らブロック順でデータを読み出し終えたアドレスに、前
記記憶装置から読み出した次のデータを格納することが
出来、メモリ容量を減らすことが可能となる。
By using the raster block conversion memory 21 capable of simultaneous read / write and configuring the address control of the raster block conversion memory 21 into a ring buffer, the block order from the raster block conversion memory 21 is changed. Then, the next data read from the storage device can be stored in the address where the data has been read, and the memory capacity can be reduced.

【0060】また、前記記憶装置から画像データを読み
出す際、アクセスしたアドレスの(MCUを構成するの
に必要なデータ以外の余分なデータも含めた)全てのデ
ータを前記前記ラスタブロック変換用メモリ21で保持
することで、記憶装置へのアクセス頻度を減らし、処理
時間の増加を抑えることが可能となる。
When the image data is read from the storage device, all the data of the accessed address (including the extra data other than the data necessary for configuring the MCU) is read by the raster block conversion memory 21. By holding at, it is possible to reduce the frequency of access to the storage device and suppress an increase in processing time.

【0061】尚、本発明は上記形態に限定されるもので
はなく、以下のように実施してもよい。 (1) 本実施の形態において、平均データレートを下
げるため、平滑化手段R18および平滑化手段M19を
用いているが、用いずに構成してもよい。 (2) 本実施の形態において、Cb/Crを8画素ご
とに分けて記憶装置4に格納しているが、インターリー
ブのまま格納しても良い。 (3) 本実施の形態において、記録媒体5を光ディス
ク装置で構成してもよい。 (4) 本実施の形態において、記憶装置4の容量を6
4Mbitとしたが、256Mbitまでの容量で構成
してもよい。
The present invention is not limited to the above-mentioned embodiment, but may be carried out as follows. (1) In the present embodiment, the smoothing means R18 and the smoothing means M19 are used to reduce the average data rate, but the smoothing means R18 and the smoothing means M19 may be omitted. (2) In the present embodiment, Cb / Cr is stored in the storage device 4 separately for every 8 pixels, but it may be stored as interleaved. (3) In the present embodiment, the recording medium 5 may be composed of an optical disc device. (4) In the present embodiment, the storage device 4 has a capacity of 6
Although the capacity is 4 Mbits, the capacity may be up to 256 Mbits.

【0062】[0062]

【発明の効果】以上詳述したように本発明によれば、ラ
スタブロック変換回路において、処理速度を落とさずに
ラスタブロック変換用メモリの容量が削減できる画像処
理装置を提供することができる。
As described in detail above, according to the present invention, it is possible to provide an image processing apparatus capable of reducing the capacity of the raster block conversion memory in the raster block conversion circuit without decreasing the processing speed.

【図面の簡単な説明】[Brief description of drawings]

【図1】実施の形態の画像処理装置1のブロック回路図FIG. 1 is a block circuit diagram of an image processing apparatus 1 according to an embodiment.

【図2】記憶装置4の記録用データD2メモリマップ概
念図
FIG. 2 is a conceptual diagram of a recording data D2 memory map of a storage device 4.

【図3】記憶装置4の記録用データD2のCb/Cr詳
細メモリマップ概念図
FIG. 3 is a conceptual diagram of a Cb / Cr detailed memory map of recording data D2 in a storage device 4.

【図4】4:2:0圧縮時のJPEGマクロブロックと
ラスタブロック変換用メモリ21の格納アドレスを示す
説明図
FIG. 4 is an explanatory diagram showing storage addresses of a JPEG macro block and a raster block conversion memory 21 at 4: 2: 0 compression.

【図5】4:2:0の1MCUをラスタブロック変換用
メモリ21に格納した詳細な構成を示す説明図
FIG. 5 is an explanatory diagram showing a detailed configuration in which a 4: 2: 0 1 MCU is stored in a raster block conversion memory 21.

【図6】4:2:2圧縮時のJPEGマクロブロックと
ラスタブロック変換用メモリ21の格納アドレスを示す
説明図
FIG. 6 is an explanatory diagram showing storage addresses of a JPEG macro block and a raster block conversion memory 21 at the time of 4: 2: 2 compression.

【符号の説明】[Explanation of symbols]

1 画像処理装置 2 撮像素子 3 表示装置 4 記憶装置 5 記録媒体 11 一時記憶手段A 12 画像処理手段 13 一時記憶手段B 14 一時記憶手段C 15 符号化手段 16 記録手段 17 調停手段 18 平滑化手段R 19 平滑化手段M 1 Image processing device 2 image sensor 3 display devices 4 storage devices 5 recording media 11 Temporary storage means A 12 Image processing means 13 Temporary storage means B 14 Temporary storage means C 15 Encoding means 16 Recording means 17 Mediation means 18 smoothing means R 19 smoothing means M

フロントページの続き Fターム(参考) 5B047 AB04 BA03 BB04 CA23 CB25 EA01 EB02 5C022 AA13 AC03 AC42 AC69 5C052 AA17 DD02 GA02 GA03 GA07 GB06 GC05 GE06 5C053 FA08 GB36 KA04 KA24 LA02 5C073 AA04 BB01 BB09 Continued front page    F term (reference) 5B047 AB04 BA03 BB04 CA23 CB25                       EA01 EB02                 5C022 AA13 AC03 AC42 AC69                 5C052 AA17 DD02 GA02 GA03 GA07                       GB06 GC05 GE06                 5C053 FA08 GB36 KA04 KA24 LA02                 5C073 AA04 BB01 BB09

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 被写体の光学像を光電変換する撮像素子
と、各種データを一時的に記憶する記憶装置と、 前記撮像素子から出力される画像データを一時的に前記
記憶装置に記憶させるための一時記憶手段Aと、 前記画像データを輝度信号に対応する成分と色差信号に
対応する成分に分離する画像処理手段と、 前記輝度信号、色差信号を記録用として一時的に前記記
憶装置に記憶させるための一時記憶手段Bと、 前記輝度信号、色差信号を表示用として一時的に前記記
憶装置に記憶させるための一時記憶手段Cと、 ラスタブロック変換用メモリを有し前記輝度信号、色差
信号に対して符号化処理を行なう符号化手段と、 前記符号化手段によつて得られた符号化映像デ−タを所
定の記録媒体に記録保持させる記録手段とを有すること
を特徴とする画像処理装置。
1. An image pickup device for photoelectrically converting an optical image of an object, a storage device for temporarily storing various data, and image data output from the image pickup device for temporarily storing the image data in the storage device. Temporary storage means A, image processing means for separating the image data into a component corresponding to a luminance signal and a component corresponding to a color difference signal, and the luminance signal and the color difference signal are temporarily stored in the storage device for recording. And a temporary storage unit C for temporarily storing the luminance signal and the color difference signal in the storage device for display, and a raster block conversion memory for storing the luminance signal and the color difference signal. And a recording means for recording and holding the encoded video data obtained by the encoding means on a predetermined recording medium. Image processing device.
【請求項2】 請求項1に記載の撮像装置で、 前記一時記憶手段A、一時記憶手段B、一時記憶手段
C、符号化手段、又は記録手段の前記記憶装置へのアク
セスを調停する調停手段を有することを特徴とする画像
処理装置。
2. The image pickup device according to claim 1, wherein an arbitration unit that arbitrates access to the temporary storage unit A, the temporary storage unit B, the temporary storage unit C, the encoding unit, or the recording unit to the storage device. An image processing apparatus comprising:
【請求項3】 請求項1に記載の撮像装置で、 前記ラスタブロック変換用メモリをSRAMで構成する
ことを特徴とする画像処理装置。
3. The image processing apparatus according to claim 1, wherein the raster block conversion memory is an SRAM.
【請求項4】 請求項1に記載の撮像装置で、 前記ラスタブロック変換用メモリをフリップフロップで
構成することを特徴とする画像処理装置。
4. The image processing apparatus according to claim 1, wherein the raster block conversion memory is composed of flip-flops.
JP2001336324A 2001-11-01 2001-11-01 Image processing device Expired - Fee Related JP4122753B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001336324A JP4122753B2 (en) 2001-11-01 2001-11-01 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001336324A JP4122753B2 (en) 2001-11-01 2001-11-01 Image processing device

Publications (2)

Publication Number Publication Date
JP2003143454A true JP2003143454A (en) 2003-05-16
JP4122753B2 JP4122753B2 (en) 2008-07-23

Family

ID=19151170

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001336324A Expired - Fee Related JP4122753B2 (en) 2001-11-01 2001-11-01 Image processing device

Country Status (1)

Country Link
JP (1) JP4122753B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006109114A (en) * 2004-10-06 2006-04-20 Hitachi Ltd Image data compression equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006109114A (en) * 2004-10-06 2006-04-20 Hitachi Ltd Image data compression equipment
JP4513487B2 (en) * 2004-10-06 2010-07-28 株式会社日立製作所 Video data compression device

Also Published As

Publication number Publication date
JP4122753B2 (en) 2008-07-23

Similar Documents

Publication Publication Date Title
JP3096618B2 (en) Imaging device
US7230643B2 (en) Digital camera with electronic zooming function
JP3348917B2 (en) Image signal processing device
JP2004304387A (en) Image processing apparatus
US5309528A (en) Image digitizer including pixel engine
US7336302B2 (en) Frame memory device and method with subsampling and read-out of stored signals at lower resolution than that of received image signals
US6661452B1 (en) Digital camera capable of decreasing a required memory capacity
JP4024649B2 (en) Image processing apparatus and image processing method
JP3825888B2 (en) Signal processing apparatus / method and memory storage method
JP2001285644A (en) Control method for line memory
US20010036359A1 (en) Digital camera
JP3931942B2 (en) Image file device
JP2000311241A (en) Image processor
JP2003143454A (en) Image processing device and method therefor
JP3276858B2 (en) Digital still camera
JP2001231003A (en) Digital camera
JP2003283792A (en) Imaging apparatus and conversion method of image data
JP3075265B2 (en) Digital still camera and image data processing device
JP3062702B2 (en) Image storage device
JPH09223226A (en) Picture processor
JP2003143455A (en) Image pickup device and image processing method
JP3718239B2 (en) Image signal processing device
JP3081665B2 (en) Frame memory device
JPH09218820A (en) Image processor and mapping method for image memory
JP4704525B2 (en) Image signal processing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041019

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20050701

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070412

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070424

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070625

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071009

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071207

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080408

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080421

R151 Written notification of patent or utility model registration

Ref document number: 4122753

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20110516

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120516

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130516

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130516

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20140516

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees