JPH10210501A - Memory control circuit for digital still camera - Google Patents

Memory control circuit for digital still camera

Info

Publication number
JPH10210501A
JPH10210501A JP9011413A JP1141397A JPH10210501A JP H10210501 A JPH10210501 A JP H10210501A JP 9011413 A JP9011413 A JP 9011413A JP 1141397 A JP1141397 A JP 1141397A JP H10210501 A JPH10210501 A JP H10210501A
Authority
JP
Japan
Prior art keywords
memory
data
compression
still camera
digital still
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP9011413A
Other languages
Japanese (ja)
Inventor
Shigeru Michimi
茂 道見
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.)
Toshiba Corp
Toshiba AVE Co Ltd
Original Assignee
Toshiba Corp
Toshiba AVE 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 Toshiba Corp, Toshiba AVE Co Ltd filed Critical Toshiba Corp
Priority to JP9011413A priority Critical patent/JPH10210501A/en
Publication of JPH10210501A publication Critical patent/JPH10210501A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide the memory control circuit for a digital still camera costwise advantageous in which a capacity of a frame memory is reduced. SOLUTION: In Y, U, V data of 4:2:2 sampling outputted from a camera signal processing section 2 or a companding processing section 5 in the case of compression or expansion, the luminance data Y are written as they are and only the color difference data U, V are written in a frame memory 4A while being down-sampled (data thinning) in a form of 4:1:1. In the case of read from the frame memory 4A, only the color difference data U, V are up- sampled (interpolation) so as to give data equivalent to 4:2:2 sampling apparently to the companding processing section 5 or a display device 7 adopting the JPEG or the like. Since a memory control section 30 conducting processing as above is provided, the capacity of the memory 4A is reduced.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、静止画像をデジタ
ル圧縮画像データに変換して記録メディア等に記録する
機能を持ったデジタルスチルカメラにおいて、圧縮処理
などに必要なフレームメモリ容量の削減を図ったデジタ
ルスチルカメラのメモリ制御回路に関するものである。
The present invention relates to a digital still camera having a function of converting a still image into digital compressed image data and recording the data on a recording medium or the like, thereby reducing the frame memory capacity required for compression processing and the like. And a memory control circuit of the digital still camera.

【0002】[0002]

【従来の技術】画像圧縮技術を応用したデジタルスチル
カメラ(以下DSC)においては、電荷結合素子(以下
CCD)等のイメージセンサ及ぴ信号処理回路(DS
P)から得られたデジタル画像データをDRAM等のメ
モリに一度バッファリングし、その後JPEG等の画像
圧縮処理プロセスを経て、内部不揮発性メモリや、リム
ーバプルな記録メディア等に保存・記録する方式が一般
的にとられている。
2. Description of the Related Art In a digital still camera (hereinafter, DSC) to which image compression technology is applied, an image sensor such as a charge-coupled device (hereinafter, CCD) and a signal processing circuit (DS) are used.
In general, the digital image data obtained from P) is temporarily buffered in a memory such as a DRAM, and then stored and recorded in an internal non-volatile memory or a removable recording medium through an image compression processing process such as JPEG. Has been taken.

【0003】図9は、従来のデジタルスチルカメラにお
ける圧縮処理を行うメモリ制御回路を示すブロック図で
ある。
FIG. 9 is a block diagram showing a memory control circuit for performing a compression process in a conventional digital still camera.

【0004】図9において、CCD等のイメージセンサ
を有するカメラ部1からの撮像信号は、カメラ信号処理
部2で信号処理されてデジタル映像信号として出力さ
れ、メモリ制御部3の制御に基づいてメモリ4に一旦記
憶される。メモリ4としては、DRAMなどが用いられ
る。その後、メモリ4から再び読み出して圧縮伸長処理
部5でJPEG等の圧縮処理を行い、記録メディア6に
記録されるようになっている。
In FIG. 9, an image pickup signal from a camera unit 1 having an image sensor such as a CCD is signal-processed by a camera signal processing unit 2 and output as a digital video signal. 4 once. A DRAM or the like is used as the memory 4. Thereafter, the data is read out again from the memory 4, subjected to compression processing such as JPEG in the compression / decompression processing section 5, and is recorded on the recording medium 6.

【0005】例としてJPEG圧縮方式の場合を考える
と、圧縮伸長処理部5へのデータ入カ形式は、通常ブロ
ックインターリープで行う必要があるため、圧縮伸長処
理部5の前段でラスター/ブロック変換とよばれる、線
順次データから8×8ピクセルブロックデータ形式への
変換処理が行われる。
[0005] Considering the case of the JPEG compression method as an example, since the data input format to the compression / decompression processing unit 5 usually needs to be performed by block interleaving, raster / block conversion is performed before the compression / decompression processing unit 5. , A conversion process from line-sequential data to an 8 × 8 pixel block data format is performed.

【0006】もし、JPEG圧縮伸長処理部5が、映像
信号データ送出レート以上の処理速度を有している場
合、いわゆるリアルタイム圧縮が可能となり、この場合
にはメモリ4の容量はラスター/ブロック変換のための
最小限のメモリ容量である、8水平ライン分の容量があ
ればよいことになる。
If the JPEG compression / decompression processing section 5 has a processing speed higher than the video signal data transmission rate, so-called real-time compression becomes possible. In this case, the capacity of the memory 4 is limited to the raster / block conversion. It is sufficient if there is a capacity for eight horizontal lines, which is the minimum memory capacity for this.

【0007】しかしながら、DSCという用途を考える
と、特にリアルタイム性が要求されることは少なく、む
しろ回路速度の抑制による低消費電力化や回路規模の削
減という観点から、JPEG圧縮(伸長)処理速度は、
映像信号データレー卜に対し、数分の1以下であること
が多い。
However, considering the use of the DSC, the real-time property is rarely required, and the JPEG compression (expansion) processing speed is reduced from the viewpoint of reducing power consumption and reducing the circuit scale by suppressing the circuit speed. ,
It is often less than a fraction of the video signal data rate.

【0008】このような場合、映像信号は1画面(フレ
ームまたはフィールド)単位で一度メモリ4にキャプチ
ャしておき、圧縮処理速度に合わせてデータを逐次ブロ
ックデータに変換しながら、読み出してやる必要がある
ため、メモリ4としては1画面分のフレームメモリが必
要となる。
In such a case, the video signal needs to be once captured in the memory 4 in units of one screen (frame or field), and read out while sequentially converting the data into block data in accordance with the compression processing speed. Therefore, a frame memory for one screen is required as the memory 4.

【0009】特に、メモリ4は、フレームメモリ容量が
あれば、キャプチャした静止画像を本体液晶モニタなど
表示するための表示用パッファメモリとしても兼用でき
るので、一般的なDSCにおいては、扱う画素サイズに
応じたフレームメモリ容量を持つDRAMが搭載されて
いる。
In particular, if the memory 4 has a frame memory capacity, it can also be used as a display buffer memory for displaying a captured still image on a main body liquid crystal monitor or the like. A DRAM having a corresponding frame memory capacity is mounted.

【0010】さて、各プロセス回路間のデータインター
フェースにおいては、処理の容易性やバス幅低減の観点
から、Y(輝度信号),U(色差;B−Y信号),V
(色差;R−Y信号)の、いわゆるY/色差信号の形態
でデジタルデータが扱われることが多い。
In the data interface between the process circuits, Y (luminance signal), U (color difference; BY signal), V (color difference; BY signal) are used from the viewpoint of ease of processing and reduction of bus width.
Digital data is often handled in the form of a so-called Y / color difference signal (color difference; RY signal).

【0011】一方,最近では、パソコンとの、親和性や
画質重視という面から、イメージセンサとして、640
(水平)×480(垂直)の有効画素数を持つ、いわゆ
るVGA正方画素構成のセンサが搭載されたDSCが主
流になりつつある。
On the other hand, recently, 640 has been used as an image sensor because of its affinity with a personal computer and emphasis on image quality.
A DSC equipped with a sensor having a so-called VGA square pixel configuration having an effective pixel number of (horizontal) × 480 (vertical) is becoming mainstream.

【0012】このようなVGAイメージセンサを搭載し
たDSCにおいては、内部Y,U,Vデータのサンプリ
ング比率として、いわゆる4:2:2(即ち2:1:
1)のデータ形式がとられているが、従来はカメラ信号
処理部(YUV出カ部)2から、圧縮伸長処理部5に至
るまで、このサンプリング比率は維持されたまま処理さ
れていた。
In a DSC equipped with such a VGA image sensor, a so-called 4: 2: 2 (that is, 2: 1: :) is used as a sampling ratio of internal Y, U, and V data.
Although the data format of 1) is adopted, conventionally, from the camera signal processing section (YUV output section) 2 to the compression / decompression processing section 5, processing is performed while maintaining this sampling ratio.

【0013】これは、JPEG圧縮方式においても、
4:2:2(即ち2:1:1)のデータ形式が一般的で
あり、記録メディア6に記録された圧縮画像ファイルと
パソコン上での画像ビューワソフトウェアの互換性など
に関する問題点を回避する意味も含んでいる。
This is because even in the JPEG compression method,
The data format of 4: 2: 2 (that is, 2: 1: 1) is generally used to avoid problems such as compatibility between a compressed image file recorded on the recording medium 6 and image viewer software on a personal computer. It also has meaning.

【0014】従って、例えばDRAMで構成される前記
メモリ4も4:2:2(即ち2:1:1)の比率自体は
変えず、DSCにおいて扱う画素数(サイズ)に応じて
その容量を選択していた。
Therefore, the capacity of the memory 4, for example, which is composed of a DRAM, is selected in accordance with the number of pixels (size) handled by the DSC without changing the ratio of 4: 2: 2 (ie, 2: 1: 1). Was.

【0015】ところで、4:2:2(即ち2:1:1)
の場合、1枚のVGA(Video Graphics Array)サイズ
画像データを圧縮処理するために必要となるフレームメ
モリの容量は、640×480×2×8[bit ]=4.9
[Mbit ]となるが、一般的なDRAM容量は、4Mbit
を超えると16Mbit 品となってしまうため、このよう
な場合は必然的に4Mbit 品を2個使用する(図7の符
号4A,4Bにて示す)ことになり、コストの増大を招
いていた。
By the way, 4: 2: 2 (ie, 2: 1: 1)
In the case of, the capacity of the frame memory required for compressing one VGA (Video Graphics Array) size image data is 640 × 480 × 2 × 8 [bit] = 4.9.
[Mbit], but the general DRAM capacity is 4Mbit
In this case, two 4 Mbit products are inevitably used (indicated by reference numerals 4A and 4B in FIG. 7), resulting in an increase in cost.

【0016】[0016]

【発明が解決しようとする課題】上記のごとく、4:
2:2(即ち2:1:1)の場合、1枚のVGAサイズ
画像データを圧縮処理するために必要となるフレームメ
モリの容量は、4.9Mbit となり、4Mbit 品を2個
使用することになり、コストの増大を招いていた。そこ
で、本発明は上記の問題に鑑み、フレームメモリの容量
を削減でき、コスト的にも有利なデジタルスチルカメラ
のメモリ制御回路を提供することを目的とするものであ
る。
As described above, 4:
In the case of 2: 2 (that is, 2: 1: 1), the capacity of the frame memory required for compressing one VGA size image data is 4.9 Mbit, which means that two 4 Mbit products are used. This has led to an increase in cost. Accordingly, an object of the present invention is to provide a memory control circuit of a digital still camera which can reduce the capacity of a frame memory and is advantageous in cost in view of the above problems.

【0017】[0017]

【課題を解決するための手段】請求項1記載の発明は、
画像圧縮伸長処理機能を有するデジタルスチルカメラに
おいて、メモリと、圧縮前又は伸長後のデジタル画像デ
ータを間引きしながら前記メモリに記憶するメモリライ
ト手段と、前記メモリに記憶したデジタル画像データ
を、前記間引き量を補間しながら前記メモリから読み出
し、圧縮伸長処理部又は表示装置に送出するメモリリー
ド手段とを具備したことを特徴とする。
According to the first aspect of the present invention,
In a digital still camera having an image compression / expansion processing function, a memory, memory write means for storing the digital image data before compression or after expansion in the memory while thinning the digital image data, and the thinning digital image data stored in the memory. Memory reading means for reading out from the memory while interpolating the amount and sending it to the compression / decompression processing unit or the display device.

【0018】請求項1の発明において、メモリは、カメ
ラ信号処理部からのデジタル画像データを一旦記憶し、
圧縮伸長処理部にて圧縮処理する動作速度に合わせるた
めに必要である一方、記録メディアから読み出した圧縮
データを圧縮伸長処理部にて伸長したものを記憶し、表
示用処理を施して表示装置に供給するために必要とされ
る。一方、圧縮伸長処理部は、圧縮するためのデータ形
式が一般的に決まっており、また、表示装置にはVGA
で規定されるような表示ドット数がある。そこで、本発
明において、メモリライト手段の制御により、デジタル
画像データは間引いてメモリに記憶し、その後圧縮処理
或いは表示処理するためにメモリから読み出すときは、
メモリリード手段の制御により、前記の間引いた分を補
間しながら読み出すようにして、メモリ容量の削減を実
現した。
According to the first aspect of the present invention, the memory temporarily stores the digital image data from the camera signal processing unit,
While it is necessary to match the operation speed of the compression processing by the compression / decompression processing unit, the compressed data read from the recording medium is decompressed by the compression / decompression processing unit and stored for display processing. Needed to supply. On the other hand, the compression / decompression processing unit generally determines a data format for compression.
There is a number of display dots as specified by. Therefore, in the present invention, when the digital image data is thinned out and stored in the memory under the control of the memory writing means, and thereafter read out from the memory for compression processing or display processing,
Under the control of the memory read means, the thinned-out portion is read out while interpolating, thereby reducing the memory capacity.

【0019】請求項2記載の発明は、画像圧縮伸長処理
機能を有するデジタルスチルカメラにおいて、メモリ
と、圧縮前又は伸長後の輝度信号及び色差信号からなる
デジタル画像データのうち、輝度信号はそのままで色差
信号のみを間引きしながら前記メモリに記憶するメモリ
ライト手段と、前記メモリに記憶したデジタル画像デー
タのうち、前記色差信号のみを前記間引き量を補間しな
がら前記メモリから読み出し、圧縮伸長処理部又は表示
装置に送出するメモリリード手段とを具備したことを特
徴とする。
According to a second aspect of the present invention, there is provided a digital still camera having an image compression / decompression processing function, wherein a luminance signal of a memory and digital image data composed of a luminance signal and a color difference signal before or after compression are unchanged. Memory write means for storing in the memory while thinning out only the color difference signal, and among the digital image data stored in the memory, reading out only the color difference signal from the memory while interpolating the thinning amount; Memory reading means for sending the data to the display device.

【0020】請求項2の発明において、メモリに画像デ
ータを記憶する際には、輝度信号はそのままで色差信号
のみを間引きしながら記憶する。これは、輝度信号に比
べて色差信号の帯域が比較的狭いので、色差信号を削減
しても、視覚上の解像度低下や違和感をほとんど感じさ
せることがない。
According to the second aspect of the present invention, when storing image data in the memory, the luminance signal is stored as it is while thinning out only the color difference signal. This is because the band of the color difference signal is relatively narrower than that of the luminance signal, so that even if the color difference signal is reduced, there is almost no perceived deterioration in resolution and unnaturalness.

【0021】請求項3記載の発明は、画像圧縮伸長処理
機能を有するデジタルスチルカメラにおいて、フレーム
メモリと、圧縮時において、カメラ信号処理部から出力
された4:2:2サンプリングのY,U,Vデータのう
ち、Yデータはそのままで色差信号(U,V)のみを1
/2ダウンサンプリングしながら、前記フレームメモリ
に4:1:1形式で書込むメモリライト手段と、ラスタ
ー/ブロック変換を行う際に、色差信号(U,V)のみ
をアップサンプリングしながら前記フレームメモリから
データを読出し、圧縮伸長処理部に対し、見掛け上、
4:2:2形式のデータ数に合致したサンプリングデー
タを送るメモリリード手段とを具備したことを特徴とす
る。
According to a third aspect of the present invention, there is provided a digital still camera having an image compression / expansion processing function, wherein a Y, U, 4: 2: 2 sampling Y, U, Of the V data, only the color difference signals (U, V) are
A memory write means for writing to the frame memory in a 4: 1: 1 format while downsampling the data to the frame memory; and performing a raster / block conversion while upsampling only the color difference signals (U, V). And read the data from the
Memory reading means for sending sampling data matching the number of data in 4: 2: 2 format.

【0022】請求項4記載の発明は、画像圧縮伸長処理
機能を有するデジタルスチルカメラにおいて、フレーム
メモリと、伸長時には、圧縮伸長処理部でデコンプレッ
ションされた、4:2:2サンプリング形式のY,U,
Vデータからなる圧縮画像データを、ブロック/ラスタ
ー変換と同時に、Yデータはそのままで色差信号(U,
V)のみを1/2ダウンサンプリングしながら、前記フ
レームメモリに4:1:1形式で書込むメモリライト手
段と、前記フレームメモリの読出し時に、色差信号
(U,V)のみをアップサンプリングしながら前記フレ
ームメモリからデータを読出し、表示装置に対し、見掛
け上、4:2:2形式のデータ数に合致したサンプリン
グデータを送るメモリリード手段とを具備したことを特
徴とする。
According to a fourth aspect of the present invention, there is provided a digital still camera having an image compression / expansion processing function, wherein Y, 4: 2: 2 sampling format decompressed by a frame memory and a compression / expansion processing unit at the time of expansion. U,
At the same time as block / raster conversion of compressed image data composed of V data, color difference signals (U,
V) while writing down to the frame memory in a 4: 1: 1 format while down-sampling only V), and up-sampling only the color difference signals (U, V) when reading out the frame memory. A memory reading means for reading data from the frame memory and sending sampling data corresponding to the apparent number of 4: 2: 2 data to the display device is provided.

【0023】請求項5記載の発明は、画像圧縮伸長処理
機能を有するデジタルスチルカメラにおいて、請求項3
記載のメモリライト手段及びメモリリード手段と、請求
項4記載のメモリライト手段及びメモリリード手段とを
具備したことを特徴とする。
According to a fifth aspect of the present invention, there is provided a digital still camera having an image compression / decompression processing function.
A memory writing means and a memory reading means according to the present invention, and a memory writing means and a memory reading means according to a fourth aspect are provided.

【0024】請求項3〜5の発明においては、圧縮時又
は伸長時に、カメラ信号処理部又は圧縮伸長処理部から
出カされた4:2:2サンプリングのY,U,Vデータ
において、Yデータはそのままで色差信号(U,V)の
みをダウンサンプリング(データ間引き)しながらDR
AM等のフレームメモリに4:1:1形式で書込み、フ
レームメモリ読出し時には、色差信号(U,V)のみを
アップサンプリング(補間(2度読みを含む))するこ
とで、見掛け上、JPEG等の圧縮伸長処理部又は表示
装置へ4:2:2サンプリング同等データを送るような
メモリ制御手段(メモリライト手段及びメモリリード手
段)を有するデジタルスチルカメラを提供するものであ
る。
According to the third to fifth aspects of the present invention, at the time of compression or decompression, the Y data of the 4: 2: 2 sampling Y, U, V data output from the camera signal processing unit or the compression / decompression processing unit is used. Is DR while downsampling (data thinning) of only the color difference signals (U, V) as it is
When writing to a frame memory such as AM in the 4: 1: 1 format, and reading out the frame memory, only the color difference signals (U, V) are up-sampled (interpolated (including double reading)) to apparently make JPEG or the like. And a digital still camera having memory control means (memory write means and memory read means) for sending 4: 2: 2 sampling equivalent data to a compression / decompression processing unit or a display device.

【0025】メモリ部以外の回路部でのデータ処理は、
一般的な4:2:2配列データとして処理し、DRAM
等のフレームメモリへの書込みフォーマットのみを4:
1:1に対応させるので、例えばVGAサイズのイメー
ジセンサの場合のメモリへの画像データ量は、640×
480×1.5×8=3.69Mbit となり、4Mbit
のDRAM容量を下回ることになるから、4Mbit DR
AMを1個だけ使えばよく、また人間の視覚上の特性か
ら、Y(輝度信号)にくらぺ比較的帯域が狭い色情報の
データのみを削減するので、視覚上の解像度低下や違和
感をほとんど感じずに、VGAサイズの画像データを扱
うことが可能となる。
Data processing in the circuit section other than the memory section is as follows.
Processed as general 4: 2: 2 array data, DRAM
Only the writing format to the frame memory such as 4:
For example, in the case of a VGA size image sensor, the amount of image data in the memory is 640 ×
480 × 1.5 × 8 = 3.69 Mbit, 4 Mbit
DRAM capacity of 4Mbit DR
Only one AM needs to be used, and because of the visual characteristics of human beings, only color information data that has a relatively narrow band compared to Y (luminance signal) is reduced, so that visual resolution degradation and discomfort are almost eliminated. VGA size image data can be handled without feeling.

【0026】また、内蔵不揮発性メモリなどの記録メデ
ィアに記録される圧縮後のデータとしては、一般的な
4:2:2フォーマットになるから、ファイルとしての
汎用性及ぴ互換性は保たれ、パソコン上でのアプリケー
ションソフト(画像ビューワ等)への依存性を最小限に
抑えることができる。
The compressed data recorded on a recording medium such as a built-in non-volatile memory has a general 4: 2: 2 format, so that the versatility and compatibility as a file are maintained. Dependency on application software (such as an image viewer) on a personal computer can be minimized.

【0027】[0027]

【発明の実施の形態】発明の実施の形態について図面を
参照して説明する。図1は本発明の一実施の形態のデジ
タルスチルカメラの構成を示すブロック図である。図9
と同一機能を有する部分には同一符号を付して説明す
る。
Embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a digital still camera according to one embodiment of the present invention. FIG.
Portions having the same functions as those described above will be described with the same reference numerals.

【0028】図1において、CCD等のイメージセンサ
を有するカメラ部1からの撮像信号は、カメラ信号処理
部2で信号処理されてデジタル映像信号として出力さ
れ、メモリ制御部30の制御に基づいてメモリ4Aに一
旦記憶する。メモリ書込み時は、メモリ制御部30は、
輝度信号Y及び色差信号(U,V)からなるデジタル画
像データのうち、輝度信号Yはそのままで色差信号
(U,V)のみを間引きしながらメモリ4Aに画像デー
タの1フレーム分を記憶する。その後、メモリ4Aから
再び読み出して圧縮伸長処理部5に供給する。メモリ読
出し時は、メモリ4Aに記憶したデジタル画像データの
うち、前記色差信号(U,V)のみを、前記間引き量を
補間しながら前記メモリ4Aから読み出して、圧縮伸長
処理部5に供給する。
In FIG. 1, an image pickup signal from a camera unit 1 having an image sensor such as a CCD is signal-processed by a camera signal processing unit 2 and output as a digital video signal. Store temporarily in 4A. At the time of writing to the memory, the memory control unit 30
Of the digital image data composed of the luminance signal Y and the color difference signals (U, V), one frame of the image data is stored in the memory 4A while thinning out only the color difference signals (U, V) without changing the luminance signal Y. Thereafter, the data is read out again from the memory 4A and supplied to the compression / decompression processing unit 5. At the time of memory reading, of the digital image data stored in the memory 4A, only the color difference signals (U, V) are read from the memory 4A while interpolating the thinning amount, and supplied to the compression / decompression processing unit 5.

【0029】圧縮伸長処理部5では、補間しながら読み
出された画像データに対してJPEG等の圧縮処理を行
い、デジタル画像圧縮データとして記録メディア6に出
力する。記録メディア6には、デジタル画像圧縮データ
が記録される。記録メディア6としては、内蔵の不揮発
性メモリのほか、リムーバルなディスクなどが用いられ
る。
The compression / decompression processing unit 5 performs a compression process such as JPEG on the image data read out while interpolating, and outputs it to the recording medium 6 as compressed digital image data. Digital image compression data is recorded on the recording medium 6. As the recording medium 6, in addition to a built-in nonvolatile memory, a removable disk or the like is used.

【0030】また、記録メディア6から読み出して表示
装置7に表示するときには、記録メディア6に記録した
画像圧縮データを、圧縮伸長処理部5で伸長した後、メ
モリ制御部30の制御に基づいてメモリ4Aに一旦記憶
する。メモリ書込み時は、メモリ制御部30は、輝度信
号Y及び色差信号(U,V)からなるデジタル画像デー
タのうち、輝度信号Yはそのままで色差信号(U,V)
のみを間引きしながらメモリ4Aに画像データの1フレ
ーム分を記憶する。その後、メモリ4Aから再び読み出
して表示装置7に表示する。メモリ読出し時は、メモリ
4Aに記憶したデジタル画像データのうち、前記色差信
号(U,V)のみを前記間引き量を補間しながら前記メ
モリ4Aから読み出して、表示装置7に供給する。
When reading from the recording medium 6 and displaying it on the display device 7, the compressed image data recorded on the recording medium 6 is decompressed by the compression / decompression processing unit 5, and then stored in the memory under the control of the memory control unit 30. Store temporarily in 4A. At the time of writing to the memory, the memory control unit 30 controls the color difference signals (U, V) without changing the luminance signal Y among the digital image data including the luminance signal Y and the color difference signals (U, V).
One frame of the image data is stored in the memory 4A while thinning only the data. After that, it is read out again from the memory 4A and displayed on the display device 7. At the time of memory reading, only the color difference signals (U, V) of the digital image data stored in the memory 4A are read from the memory 4A while interpolating the thinning amount, and supplied to the display device 7.

【0031】なお、以上の説明における補間には、デジ
タル画像データ(サンプリングデータ)を2度読みする
ことによって補間する方法も含まれる。
The interpolation in the above description includes a method of interpolating by reading digital image data (sampling data) twice.

【0032】図2は図1のデジタルスチルカメラにおけ
る圧縮処理を示すブロック図である。
FIG. 2 is a block diagram showing compression processing in the digital still camera of FIG.

【0033】図2において、矩形破線で囲んだ部分が、
圧縮処理に伴うメモリ制御部30の機能ブロックを示し
ている。図中、実線矢印が画像データの流れを示してい
る。
In FIG. 2, a portion surrounded by a rectangular broken line is
3 shows functional blocks of the memory control unit 30 involved in the compression processing. In the drawing, solid arrows indicate the flow of image data.

【0034】メモリ制御部30への映像信号は、Y(輝
度)8bit 、U/V(色差)8bitの計16bit とし、
Y:U:Vとしてのデータ転送レート比率はいわゆる
4:2:2(即ち2:1:1)を想定する。また、1水
平期間のデータ転送数を16bit ×780個、すなわち
1水平期間(1H)を780fH (fH は水平周波数)
とし、かつ前記画像データのうち有効画素数(イメージ
サイズ)を、水平(画素数)640、垂直(ライン数)
480のVGAサイズであると仮定して以後の説明を行
う。
The video signal to the memory control unit 30 is a total of 16 bits of 8 bits for Y (luminance) and 8 bits for U / V (color difference).
The data transfer rate ratio as Y: U: V is assumed to be so-called 4: 2: 2 (that is, 2: 1: 1). Also, the number of data transfers in one horizontal period is 16 bits × 780, ie, one horizontal period (1H) is 780 fH (fH is a horizontal frequency).
And the number of effective pixels (image size) in the image data is set to horizontal (number of pixels) 640 and vertical (number of lines)
The following description will be made assuming that the VGA size is 480.

【0035】さらに、アクセスするメモリとしては、1
ワード(16bit )幅×256K=4.096Mbit の
DRAM(通称4Mbit 品)を想定し、処理速度を考慮
したモード(例えばファーストページモード)で使用す
ることを考える。
Further, as a memory to be accessed, 1
It is assumed that a DRAM (word name: 16 Mbit) × 256 K = 4.096 Mbit (commonly called 4 Mbit product) is used and a mode (for example, a first page mode) in consideration of a processing speed is used.

【0036】図3は圧縮時における画像データタイミン
グを示す図である。図3(a) はカメラ信号処理部2から
メモリ制御部30への画像データタイミングを示し、図
3(b) はメモリ制御部30からメモリ4Aへの画像デー
タタイミングを示す。
FIG. 3 is a diagram showing image data timing at the time of compression. FIG. 3A shows the image data timing from the camera signal processing unit 2 to the memory control unit 30, and FIG. 3B shows the image data timing from the memory control unit 30 to the memory 4A.

【0037】まず、圧縮時においては、CCDなどの撮
像素子から得られた映像信号は、A/D変換処理等を含
むカメラ信号処理部2を経て、本発明の特徴部分である
メモリ制御部30に入カされる。
First, at the time of compression, a video signal obtained from an image pickup device such as a CCD passes through a camera signal processing section 2 including A / D conversion processing and the like, and then a memory control section 30 which is a characteristic part of the present invention. Is entered.

【0038】画像データのシーケンスとしては、図3の
ようになるが、ここでは考えやすいように4ワード分を
1つの単位として便宜上区切って説明することにする。
The sequence of the image data is as shown in FIG. 3. Here, for the sake of simplicity, the description will be made by dividing four words into one unit for convenience.

【0039】図3(a) には、メモリ制御部30への画像
データ転送における、780fH クロック(=12.2
7MHz)とともに、転送される画像データとしてYデ
ータ(8bit )及びUVデータ(8bit )が示されてい
る。
FIG. 3A shows a 780 fH clock (= 12.2) in the image data transfer to the memory control unit 30.
7 MHz), Y data (8 bits) and UV data (8 bits) are shown as image data to be transferred.

【0040】まず、Yデータのうちで、Y0 データは、
メモリ制御部30内の1クロック遅延ラッチ回路を経
て、次のY1 データ入カとともに1ワード(16bit )
データとしてバイト→ワード変換されて、同図W1のタ
イミングでDRAM等のメモリ4Aに書き込まれる。
First, among the Y data, the Y0 data is
One word (16 bits) together with the next Y1 data input via the one-clock delay latch circuit in the memory control unit 30
The data is converted from byte to word as data and written into the memory 4A such as a DRAM at the timing of W1 in FIG.

【0041】一方、色差バス側も同様に、U0 データと
V0 データがバイト→ワード変換され、それぞれメモリ
制御部30内の2クロック遅延ラッチ回路,1クロック
遅延ラッチ回路を経て、W2のタイミングでDRAMに
書き込まれる。
On the other hand, the U0 data and the V0 data are similarly converted from byte to word on the color difference bus side, respectively, via the two-clock delay latch circuit and the one-clock delay latch circuit in the memory control unit 30, and at the timing of W2. Is written to.

【0042】なお、ここでは仮にY0(U0 )を下位バ
イト、Y1(V0 )を上位バイトにしているが、本発明
ではこの上位・下位順序や、またメモリ4Aへの書き込
みアドレス等を限定するものではないことは言うまでも
ない。
Here, suppose that Y0 (U0) is the lower byte and Y1 (V0) is the upper byte. However, in the present invention, the upper / lower order and the write address to the memory 4A are limited. Not to mention that it is not.

【0043】次に、Y2 ,Y3 データが同様にW3のタ
イミングでワードデータとしてメモリ4Aに書き込まれ
る。
Next, the Y2 and Y3 data are similarly written into the memory 4A as word data at the timing of W3.

【0044】すなわち、注目している4ワード分の転送
単位において、メモリ4Aに書き込まれるのは、Y0 〜
Y3 およぴ、U0 ,V0 の3ワードとなる。即ち、U1
,V1 データは間引かれることになる。
That is, in the transfer unit of four words of interest, what is written to the memory 4A is from Y0 to Y0.
Y3, U0, and V0 are three words. That is, U1
, V1 data will be thinned out.

【0045】もちろん、次の4ワード単位においても同
様のシーケンスが繰り返され、1ライン分の有効画素デ
ータ転送(640ワード)分のうち、実際にメモリ4A
に書き込まれるのは、Yデータが320ワード、U/V
データが160ワードで、計480ワードとなる。
Of course, the same sequence is repeated in the next 4-word unit, and the memory 4A is actually stored in the effective pixel data transfer (640 words) for one line.
Is written in 320 words of Y data, U / V
The data is 160 words, for a total of 480 words.

【0046】メモリ4AとしてDRAMを用いた場合に
は、DRAMの1ぺ一ジは512ワードであるので、1
ライン(1H)分の画像データが1ぺ一ジ内に納まるこ
とになり、アドレス制御回路も比較的簡単にできるとい
うメリットもある。
When a DRAM is used as the memory 4A, since one page of the DRAM is 512 words,
The image data for the line (1H) is contained within one page, and there is also an advantage that the address control circuit can be relatively easily formed.

【0047】このようにして、さらに次のラインデータ
が次ページに書き込まれていき、最終的に垂直480ラ
イン分のデータが、480ペ一ジに書き込まれるから、
全体のY:U:Vのデータ数比率で示せば4:1:1と
なる。
In this manner, the next line data is written to the next page, and finally the data for 480 vertical lines is written to 480 pages.
If the overall data number ratio of Y: U: V is 4: 1: 1.

【0048】図4は、メモリ4AであるDRAMへの
4:1:1形式データマッピングの一例を示している。
FIG. 4 shows an example of 4: 1: 1 format data mapping to the DRAM which is the memory 4A.

【0049】図4(a) に全体のメモリエリアを、図4
(b) に1ライン分のデータが書き込まれた様子の一例を
示すが、前述のようにアドレッシングについて本発明は
全く限定されない。
FIG. 4A shows the entire memory area.
(b) shows an example of a state in which data for one line is written, but the present invention is not limited to addressing as described above.

【0050】このようにしてVGA(640×480)
サイズの4:2:2データのうち、Yデータは間引きさ
れることなく全てのデータがDRAMに書き込まれ、色
差信号(U,V)はそれぞれ1/2ダウンサンプリング
(データ間引き)されて、4:1:1比率でDRAM上
にメモリマッピングされることになる。図4(b) では、
1ライン分のデータ、つまりDRAMの1ページ内にマ
ッピングされるデータの配列状態が示されている。Yデ
ータについては、Y0 ,Y1 ,Y2 ,Y3 ,…とそのま
ま記憶されるが、U,Vデータについては、U0 ,V0
,U2 ,V2 ,…と記憶され、U1 ,V1 ,U3 ,V3
,…は間引かれることになる。
In this way, the VGA (640 × 480)
Of the 4: 2: 2 size data, all the Y data are written to the DRAM without being thinned out, and the color difference signals (U, V) are down-sampled (data thinned out) by そ れ ぞ れ, respectively. Memory mapping is performed on the DRAM in a 1: 1 ratio. In FIG. 4 (b),
An arrangement state of one line of data, that is, data mapped in one page of the DRAM is shown. For Y data, Y0, Y1, Y2, Y3,... Are stored as they are, while for U and V data, U0, V0
, U2, V2,..., U1, V1, U3, V3
, ... will be thinned out.

【0051】次に、圧縮伸長処理部5へデータを送出す
ることになるが、仮に圧縮アルゴリズムを公知のJPE
G圧縮方式とすれぱデータ送出形式としては、8×8ピ
クセル単位のブロックインターリーブデータとしてやる
必要がある。
Next, the data is sent to the compression / decompression processing unit 5.
As the G compression method, the data transmission format must be block interleaved data in units of 8 × 8 pixels.

【0052】JPEG圧縮ファイルとしては、4:1:
1や4:2:0、4:2:2などの色空間サンプリング
形式があるが、そのなかでも4:2:2形式ファイルが
一般的であり、画像ビューワ(ソフトウエア圧縮・伸
長)アプリケーションソフトにおいてもほとんどのソフ
トが4:2:2形式データに対応している。
As a JPEG compressed file, 4: 1:
There are color space sampling formats such as 1: 4: 2: 0, 4: 2: 2, etc. Among them, 4: 2: 2 format files are common, and image viewer (software compression / decompression) application software Most software also supports 4: 2: 2 format data.

【0053】したがって、JPEG圧縮伸長処理部5に
対しては4:2:2形式のデータとして転送したほうが
汎用性が増すと考えられる。
Therefore, it is considered that the versatility is increased when the data is transferred as 4: 2: 2 format data to the JPEG compression / decompression processing unit 5.

【0054】ところが、本システムにおいては、データ
がDRAMに書き込まれた時点で4:1:1になってい
るので、色差情報(U/V)だけを2度読みまたは、前
後データから演算した補間データを加えて、見かけ上、
疑似4:2:2データ形式として圧縮伸長処理部5に渡
す必要がある。
However, in this system, since the data is 4: 1: 1 when the data is written into the DRAM, only the color difference information (U / V) is read twice or the interpolation calculated from the preceding and succeeding data is performed. Adding data, apparently,
It is necessary to pass the pseudo 4: 2: 2 data format to the compression / decompression processing unit 5.

【0055】図5は圧縮時のブロックインターリーブデ
ータ転送タイミングを示す図である。
FIG. 5 is a diagram showing the block interleaved data transfer timing during compression.

【0056】転送バス幅を1バイト(8bit )とし、ブ
ロックインターリーブでのデー夕転送(1MCU=4ブ
ロックとした疑似4:2:2(疑似2:1:1))の様
子を示したものである。ここでは、簡単のため、2度読
みによるアップサンプリングを示すが、演算方式による
補間方法でも勿論かまわない。すなわち、最初のブロッ
クB1 ではY0(B1)〜Y63(B1) のデータがDRAM4A
から読み出され、次のブロックB2 ではY0(B2)〜Y63
(B2) のデータが読み出される。
The transfer bus width is 1 byte (8 bits), and data transfer in block interleave (pseudo 4: 2: 2 (1 pseudo 2: 1: 1) with 1 MCU = 4 blocks) is shown. is there. Here, for the sake of simplicity, upsampling by double reading is shown, but of course, an interpolation method by an arithmetic method may be used. That is, in the first block B1, the data of Y0 (B1) to Y63 (B1) is stored in the DRAM 4A.
, And in the next block B2, Y0 (B2) to Y63
The data of (B2) is read.

【0057】次に、色差データが1バイトおきに2度読
み出され、U0(B1,B2),U0(B1,B2),U2(B1,B2),U2
(B1,B2),……U62(B1,B2),U62(B1,B2),及びV0(B1,
B2),V0(B1,B2),V2(B1,B2),V2(B1,B2),……V62
(B1,B2),V62(B1,B2)と、Uブロック,Vブロックの順
で読み出される。(以上1MCU=4ブロック単位)以
後次のMCU単位での処理が連続的に行われる。
Next, the color difference data is read out twice every other byte, and U0 (B1, B2), U0 (B1, B2), U2 (B1, B2), U2
(B1, B2),... U62 (B1, B2), U62 (B1, B2), and V0 (B1,
B2), V0 (B1, B2), V2 (B1, B2), V2 (B1, B2),.
(B1, B2), V62 (B1, B2), U block, and V block are read in this order. (1 MCU = 4 block units) Thereafter, processing in the next MCU unit is continuously performed.

【0058】このようにして疑似4:2:2(疑似2:
1:1)で圧縮処理させることで、見かけ上は4:2:
2データの圧縮コードが圧縮伸長処理部5に出カされる
ことになる。
In this way, the pseudo 4: 2: 2 (pseudo 2:
By performing the compression processing at 1: 1), it is apparently 4: 2:
The two data compression codes are output to the compression / decompression processing unit 5.

【0059】図6は伸長時のブロックインターリーブデ
ータ転送タイミングを示す図である。
FIG. 6 is a diagram showing the block interleaved data transfer timing at the time of decompression.

【0060】伸長時の動作は、圧縮時と全く反対とな
り、圧縮伸長処理部5(この場合は伸長動作をしてい
る)からメモリ制御側に出カされた4:2:2形式のブ
ロックデータは図6のようになるが、DRAM4Aに書
き込む場合は4:1:1形式で保存しなけれぱならない
から、U0 〜U63及ぴV0 〜V63のブロックデータを1
バイトずつ間引いてDRAM4Aに書き込む必要があ
る。もちろん、DRAM4A上に保存されたY,Uデー
タは、前述の図4とまったく同しマッピングが行われる
ことは言うまでもない。
The operation at the time of decompression is completely opposite to the operation at the time of compression, and the 4: 2: 2 format block data output from the compression / decompression processing unit 5 (in this case, decompression operation) to the memory control side is performed. FIG. 6 shows that when writing to the DRAM 4A, the data must be stored in the 4: 1: 1 format, so that the block data U0 to U63 and V0 to V63
It is necessary to write data to the DRAM 4A by thinning out the data in units of bytes. Of course, it goes without saying that the mapping of the Y and U data stored on the DRAM 4A is performed in exactly the same manner as in FIG.

【0061】図7は図1のデジタルスチルカメラにおけ
る伸長処理を示すブロック図である。
FIG. 7 is a block diagram showing a decompression process in the digital still camera of FIG.

【0062】図7において、矩形破線で囲んだ部分が、
伸長処理に伴うメモリ制御部30の機能ブロックを示し
ている。図中、実線矢印が画像データの流れを示してい
る。
In FIG. 7, a portion surrounded by a rectangular broken line is
3 shows functional blocks of the memory control unit 30 associated with the decompression process. In the drawing, solid arrows indicate the flow of image data.

【0063】圧縮伸長処理部5からメモリ制御部30へ
の画像データは、Y(輝度)8bit、U/V(色差)8b
it の計16bit とし、Y:U:Vとしてのデータ転送
レート比率はいわゆる4:2:2(即ち2:1:1)で
ある。
The image data from the compression / decompression processing unit 5 to the memory control unit 30 is Y (luminance) 8 bits, U / V (color difference) 8b
It is 16 bits in total, and the data transfer rate ratio as Y: U: V is so-called 4: 2: 2 (that is, 2: 1: 1).

【0064】メモリ制御部30からメモリ4Aへは、画
像データのうちの色差データが間引かれ、Y:U:Vと
してのデータ転送レート比率は4:1:1である。ま
た、メモリ4Aからメモリ制御部30へは、同様にデー
タ転送レート比率は4:1:1である。
The color difference data of the image data is thinned out from the memory controller 30 to the memory 4A, and the data transfer rate ratio of Y: U: V is 4: 1: 1. Similarly, the data transfer rate ratio from the memory 4A to the memory control unit 30 is 4: 1: 1.

【0065】そして、メモリ4Aからの画像データをメ
モリ制御部30を通すことによって前記間引き量が補間
されて、Y:U:V=4:2:2のデータ転送レート比
率で表示装置7に送出される。
The thinning amount is interpolated by passing the image data from the memory 4A through the memory control unit 30 and sent to the display device 7 at a data transfer rate ratio of Y: U: V = 4: 2: 2. Is done.

【0066】図8は伸長時における画像データタイミン
グを示す図である。図8(a) はメモリ4Aからメモリ制
御部30を通して読み出される画像データタイミングを
示し、図8(b) はメモリ制御部30から表示装置7への
画像データタイミングを示す。
FIG. 8 is a diagram showing image data timing at the time of decompression. FIG. 8A shows the image data timing read from the memory 4A through the memory control unit 30, and FIG. 8B shows the image data timing from the memory control unit 30 to the display device 7.

【0067】まず、伸長時においては、記録メディア6
から得られた圧縮画像データは、A圧縮伸長処理部5を
経て、本発明の特徴部分であるメモリ制御部30に入カ
される。
First, at the time of decompression, the recording medium 6
The compressed image data obtained from is input to the memory control unit 30, which is a characteristic part of the present invention, through the A compression / decompression processing unit 5.

【0068】画像データのシーケンスとしては、図8の
ように(図3の圧縮時の場合と同様に)なるが、例えば
4ワード分を1つの単位として便宜上区切って説明する
ことにする。
The sequence of the image data is as shown in FIG. 8 (similar to the case of the compression in FIG. 3). For example, four words will be divided into one unit for convenience.

【0069】記録メディア6からの圧縮画像データを圧
縮伸長処理部5で伸長したデータが、メモリ制御部30
を通してメモリ4Aへ供給される。メモリ制御部5から
メモリ4Aに対しては、メモリライト手段の制御によ
り、画像データのうち、輝度データYはそのままで色差
データ(U,V)のみが間引かれてメモリ4Aに記憶さ
れる。
The data obtained by decompressing the compressed image data from the recording medium 6 by the compression / decompression processing unit 5 is transmitted to the memory control unit 30.
Through the memory 4A. From the memory control unit 5 to the memory 4A, only the color difference data (U, V) of the image data is thinned out and stored in the memory 4A under the control of the memory writing means, while the luminance data Y of the image data remains unchanged.

【0070】そして、画像表示を行う場合には、図8
(a) に示すように、圧縮時のメモリ書き込み時とまった
く逆に、メモリ4A内のデータが、メモリ制御部30内
のメモリリード手段の制御により、Y0 ,Y1 及ぴU0
,V0 がワード−バイト変換され、それぞれY8bit
、U,V8bit となって読み出される。次に、メモリ
4AからY2 ,Y3 データ続み出し後に、メモリリード
手段の制御により、色差信号については再度U0 ,V0
データが読み出され、ワード−バイト変換されて、読み
出される。その後、メモリ制御部30から表示装置7に
対して、メモリ制御部30内の2クロック遅延ラッチ回
路,及び1クロック遅延ラッチ回路を用いて、図8(b)
のように変換されて出力される。このようにして、メモ
リ4Aに色差データ(U,V)が間引かれた状態で記憶
された画像データが、間引き量分補間されて表示装置7
へ出力されるので、表示装置7としては見かけ上、4:
2:2データとして扱い、表示することができる。
In the case of displaying an image, FIG.
As shown in (a), the data in the memory 4A is controlled by the memory reading means in the memory control unit 30, and Y0, Y1 and U0
, V0 are word-to-byte converted, and each is Y8 bit
, U, V8 bits. Next, after the Y2 and Y3 data have been transferred from the memory 4A, the color difference signals are again output to U0 and V0 under the control of the memory reading means.
The data is read, word-byte converted, and read. Then, the memory control unit 30 uses the two-clock delay latch circuit and the one-clock delay latch circuit in the memory control unit 30 to display the display device 7 as shown in FIG.
Is converted and output. In this manner, the image data stored in the memory 4A in a state where the color difference data (U, V) is thinned out is interpolated by the thinning amount and the display device 7 is interpolated.
Is output to the display device 7, so that the display device 7 looks like 4:
It can be treated and displayed as 2: 2 data.

【0071】以上述ぺたように、本発明の実施の形態に
よれば、例えば圧縮時には、カメラ信号処理部2から出
カされた4:2:2サンプリングのY,U,Vデータに
おいて、Yデータはそのままで色差信号(U,V)のみ
をダウンサンプリング(データ間引き)しながらDRA
M等のフレームメモリ4Aに4:1:1形式で書き込
み、DRAM読み出し時には、色差信号(U,V)のみ
をアップサンプリング(補間または2度読み)すること
で、見かけ上、JPEG等の圧縮伸長処理部5ヘ4:
2:2サンプリング同等データを送るようなメモリ制御
部30が実現できるから、例えぱVGAサイズのイメー
ジセンサの場合のメモリ4Aへの画像データ量は、64
0×480×1.5×8=3.69Mbit となり、4M
bit のDRAMの容量を下回ることになるため、メモリ
4Aとして4Mbit のDRAMを1個だけ使えばよく、
また人間の視覚上の特性から、Y(輝度信号)にくらぺ
比較的帯域が狭い色情報のデータのみを削減するので、
視覚上の解像度低下や違和感をほとんど感じずに、VG
Aサイズの画像データを扱うことが可能となる。
As described above, according to the embodiment of the present invention, at the time of compression, for example, the Y data of the 4: 2: 2 sampling Y, U, V data output from the camera signal processing unit 2 is used. DRA while downsampling (data thinning) only the color difference signals (U, V)
M is written in the frame memory 4A such as M in the 4: 1: 1 format, and when reading out the DRAM, only the color difference signals (U, V) are up-sampled (interpolated or read twice), so that the compression and decompression of JPEG or the like are apparently performed. Processing unit 5f4:
Since the memory control unit 30 that transmits data equivalent to 2: 2 sampling can be realized, for example, in the case of a VGA size image sensor, the image data amount to the memory 4A is 64.
0 × 480 × 1.5 × 8 = 3.69Mbit, 4M
Since the capacity of the DRAM is smaller than the capacity of the DRAM, only one 4Mbit DRAM needs to be used as the memory 4A.
Also, because of the visual characteristics of human beings, only data of color information, which has a relatively narrow band compared to Y (luminance signal), is reduced.
VG with almost no reduction in visual resolution or discomfort
A-size image data can be handled.

【0072】また、内蔵不揮発性メモリやディスクなど
の記録メディア6に記録される圧縮データとしては、一
般的な4:2:2フォーマットになるから、ファイルと
しての汎用性及ぴ互換性は保たれ、バソコン上でのアプ
リケーションソフト(画像ピューワ等)への依存性を最
小限に抑えることができる。
The compressed data recorded on the recording medium 6 such as a built-in non-volatile memory or a disk has a general 4: 2: 2 format, so that the versatility and compatibility as a file are maintained. In addition, the dependence on application software (such as an image purer) on a computer can be minimized.

【0073】[0073]

【発明の効果】以上述べたように本発明によれば、画像
圧縮伸長処理機能を有するデジタルスチルカメラにおい
て、カメラ信号処理部或いは圧縮伸長処理部からのデジ
タル画像データを間引いてメモリに記憶し、その後圧縮
処理或いは表示処理するためにメモリから読み出すとき
は、前記の間引いた分を補間しながら読み出すことによ
り、メモリ容量を削減することができ、コスト的にも有
利なデジタルスチルカメラを実現できる。
As described above, according to the present invention, in a digital still camera having an image compression / expansion processing function, digital image data from a camera signal processing section or a compression / expansion processing section is thinned out and stored in a memory. Thereafter, when reading from the memory for compression or display processing, by reading out the thinned-out portion while interpolating, the memory capacity can be reduced and a digital still camera which is advantageous in cost can be realized.

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

【図1】本発明の一実施の形態のデジタルスチルカメラ
を示すブロック図。
FIG. 1 is a block diagram showing a digital still camera according to an embodiment of the present invention.

【図2】図1のデジタルスチルカメラにおける圧縮処理
を示すブロック図。
FIG. 2 is a block diagram showing a compression process in the digital still camera of FIG. 1;

【図3】圧縮時における各部の画像データタイミングを
示す図。
FIG. 3 is a diagram showing image data timing of each unit during compression.

【図4】DRAMへの4:1:1形式のデータマッピン
グの一例を示す図。
FIG. 4 is a diagram showing an example of data mapping in a 4: 1: 1 format to a DRAM.

【図5】圧縮時のブロックインターリーブデータ転送タ
イミングを示す図。
FIG. 5 is a diagram showing block interleaved data transfer timing during compression.

【図6】伸長時のブロックインターリーブデータ転送タ
イミングを示す図。
FIG. 6 is a diagram showing block interleaved data transfer timing at the time of decompression.

【図7】図1のデジタルスチルカメラにおける伸長処理
を示すブロック図。
FIG. 7 is a block diagram showing a decompression process in the digital still camera of FIG. 1;

【図8】伸長時における各部の画像データタイミングを
示す図。
FIG. 8 is a diagram showing image data timing of each unit at the time of decompression.

【図9】従来のデジタルスチルカメラの圧縮処理におけ
るブロック図。
FIG. 9 is a block diagram of a conventional digital still camera in compression processing.

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

1…カメラ部 2…カメラ信号制御部 4A…メモリ 5…圧縮伸長処理部 6…記録メディア 7…表示装置 30…メモリ制御部 DESCRIPTION OF SYMBOLS 1 ... Camera part 2 ... Camera signal control part 4A ... Memory 5 ... Compression / decompression processing part 6 ... Recording medium 7 ... Display device 30 ... Memory control part

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】画像圧縮伸長処理機能を有するデジタルス
チルカメラにおいて、 メモリと、 圧縮前又は伸長後のデジタル画像データを間引きしなが
ら前記メモリに記憶するメモリライト手段と、 前記メモリに記憶したデジタル画像データを、前記間引
き量を補間しながら前記メモリから読み出し、圧縮伸長
処理部又は表示装置に送出するメモリリード手段とを具
備したことを特徴とするデジタルスチルカメラのメモリ
制御回路。
1. A digital still camera having an image compression / expansion processing function, comprising: a memory; memory write means for storing digital image data before or after compression in the memory while thinning the digital image data; A memory control circuit for a digital still camera, comprising: memory read means for reading data from the memory while interpolating the thinning amount and sending the data to a compression / decompression processing unit or a display device.
【請求項2】画像圧縮伸長処理機能を有するデジタルス
チルカメラにおいて、 メモリと、 圧縮前又は伸長後の輝度信号及び色差信号からなるデジ
タル画像データのうち、輝度信号はそのままで色差信号
のみを間引きしながら前記メモリに記憶するメモリライ
ト手段と、 前記メモリに記憶したデジタル画像データのうち、前記
色差信号のみを前記間引き量を補間しながら前記メモリ
から読み出し、圧縮伸長処理部又は表示装置に送出する
メモリリード手段とを具備したことを特徴とするデジタ
ルスチルカメラのメモリ制御回路。
2. A digital still camera having an image compression / expansion processing function, wherein, of a digital image data composed of a memory and a luminance signal and a color difference signal before or after compression, only a color difference signal is decimated without changing a luminance signal. A memory write unit that stores the color difference signal in the digital image data stored in the memory while interpolating the thinning amount from the memory, and sends the color difference signal to a compression / expansion processing unit or a display device. A memory control circuit for a digital still camera, comprising: a read unit.
【請求項3】画像圧縮伸長処理機能を有するデジタルス
チルカメラにおいて、 フレームメモリと、 圧縮時において、カメラ信号処理部から出力された4:
2:2サンプリングのY,U,Vデータのうち、Yデー
タはそのままで色差信号(U,V)のみを1/2ダウン
サンプリングしながら、前記フレームメモリに4:1:
1形式で書込むメモリライト手段と、 ラスター/ブロック変換を行う際に、色差信号(U,
V)のみをアップサンプリングしながら前記フレームメ
モリからデータを読出し、圧縮伸長処理部に対し、見掛
け上、4:2:2形式のデータ数に合致したサンプリン
グデータを送るメモリリード手段とを具備したことを特
徴とするデジタルスチルカメラのメモリ制御回路。
3. A digital still camera having an image compression / decompression processing function, comprising: a frame memory;
Of the 2: 2 sampling Y, U, and V data, the color data (U, V) alone is down-sampled by で while the Y data is kept as it is, and the 4: 1 ::
Memory write means for writing in one format, and a color difference signal (U,
Memory reading means for reading data from the frame memory while up-sampling only V) and sending to the compression / decompression processing section apparently sampling data corresponding to the number of data in the 4: 2: 2 format. A memory control circuit for a digital still camera.
【請求項4】画像圧縮伸長処理機能を有するデジタルス
チルカメラにおいて、 フレームメモリと、 伸長時には、圧縮伸長処理部でデコンプレッションされ
た、4:2:2サンプリング形式のY,U,Vデータか
らなる圧縮画像データを、ブロック/ラスター変換と同
時に、Yデータはそのままで色差信号(U,V)のみを
1/2ダウンサンプリングしながら、前記フレームメモ
リに4:1:1形式で書込むメモリライト手段と、 前記フレームメモリの読出し時に、色差信号(U,V)
のみをアップサンプリングしながら前記フレームメモリ
からデータを読出し、表示装置に対し、見掛け上、4:
2:2形式のデータ数に合致したサンプリングデータを
送るメモリリード手段とを具備したことを特徴とするデ
ジタルスチルカメラのメモり制御回路。
4. A digital still camera having an image compression / decompression processing function, comprising a frame memory and, at the time of decompression, Y, U, and V data of 4: 2: 2 sampling format decompressed by a compression / decompression processing unit. Memory writing means for writing compressed image data to the frame memory in a 4: 1: 1 format while performing block / raster conversion and down-sampling only the color difference signals (U, V) by で without changing the Y data. When reading the frame memory, the color difference signals (U, V)
Data is read out from the frame memory while only up-sampling is performed.
2. A memory control circuit for a digital still camera, comprising: memory read means for sending sampling data matching the number of data in the 2: 2 format.
【請求項5】画像圧縮伸長処理機能を有するデジタルス
チルカメラにおいて、 請求項3記載のメモリライト手段及びメモリリード手段
と、 請求項4記載のメモリライト手段及びメモリリード手段
とを具備したことを特徴とするデジタルスチルカメラの
メモリ制御回路。
5. A digital still camera having an image compression / decompression processing function, comprising: a memory writing unit and a memory reading unit according to claim 3; and a memory writing unit and a memory reading unit according to claim 4. Memory control circuit of a digital still camera.
JP9011413A 1997-01-24 1997-01-24 Memory control circuit for digital still camera Pending JPH10210501A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9011413A JPH10210501A (en) 1997-01-24 1997-01-24 Memory control circuit for digital still camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9011413A JPH10210501A (en) 1997-01-24 1997-01-24 Memory control circuit for digital still camera

Publications (1)

Publication Number Publication Date
JPH10210501A true JPH10210501A (en) 1998-08-07

Family

ID=11777358

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9011413A Pending JPH10210501A (en) 1997-01-24 1997-01-24 Memory control circuit for digital still camera

Country Status (1)

Country Link
JP (1) JPH10210501A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005092203A (en) * 2003-09-18 2005-04-07 Seiko Epson Corp Yuv display buffer
JP2006339842A (en) * 2005-05-31 2006-12-14 Canon Inc Image processing apparatus
US7198707B2 (en) 2002-12-13 2007-04-03 Korea Power Engineering Co. Inc. Apparatus for cathodic protection in an environment in which thin film corrosive fluids are formed and method thereof
KR100754187B1 (en) 2004-11-10 2007-09-03 삼성전자주식회사 Luminance preserving color quantization in RGB color space
US7271812B2 (en) 2003-09-18 2007-09-18 Seiko Epson Corporation Method and apparatus for color space conversion
JP2009141926A (en) * 2007-11-16 2009-06-25 Oki Electric Ind Co Ltd Video signal communication system and method
JP2011114824A (en) * 2009-11-30 2011-06-09 Brother Industries Ltd Image processing apparatus and image processing program
US8837848B2 (en) 2011-11-11 2014-09-16 Seiko Epson Corporation Image processing device and image processing method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7198707B2 (en) 2002-12-13 2007-04-03 Korea Power Engineering Co. Inc. Apparatus for cathodic protection in an environment in which thin film corrosive fluids are formed and method thereof
JP2005092203A (en) * 2003-09-18 2005-04-07 Seiko Epson Corp Yuv display buffer
US7271812B2 (en) 2003-09-18 2007-09-18 Seiko Epson Corporation Method and apparatus for color space conversion
KR100754187B1 (en) 2004-11-10 2007-09-03 삼성전자주식회사 Luminance preserving color quantization in RGB color space
JP2006339842A (en) * 2005-05-31 2006-12-14 Canon Inc Image processing apparatus
JP2009141926A (en) * 2007-11-16 2009-06-25 Oki Electric Ind Co Ltd Video signal communication system and method
JP2011114824A (en) * 2009-11-30 2011-06-09 Brother Industries Ltd Image processing apparatus and image processing program
US8547591B2 (en) 2009-11-30 2013-10-01 Brother Kogyo Kabushiki Kaisha Image processing apparatus and program for generating size-reduced image data with reduction ratio of chroma component greater than luminance component
US8837848B2 (en) 2011-11-11 2014-09-16 Seiko Epson Corporation Image processing device and image processing method

Similar Documents

Publication Publication Date Title
EP0797181B1 (en) Hardware assist for YUV data format conversion to software MPEG decoder
US5335321A (en) Scalable multimedia platform architecture
US9082206B2 (en) Image processing apparatus having a buffer memory for image data storage
JP3759167B2 (en) Memory controller that decodes and displays compressed video data
JP3137581B2 (en) A system that changes the video size in real time with a multimedia-capable data processing system
JP4263190B2 (en) Video composition circuit
JPH10210501A (en) Memory control circuit for digital still camera
JP4628647B2 (en) On-the-fly transfer of data between RGB and YCrCb color space for DCT interface
US20100020247A1 (en) Method for assisting video compression in a computer system
US20010017658A1 (en) Frame memory device and method
JP3342388B2 (en) Digital camera
US7391932B2 (en) Apparatus and method for selecting image to be displayed
US7280162B2 (en) Apparatus for assisting video compression in a computer system
JP2006023750A (en) Data processing method in display controller, display controller and image processing apparatus
JP2000305546A (en) Semiconductor memory and image display device
JP2004248024A (en) Image processing apparatus
JP2004254247A (en) Image processing apparatus
JP3434093B2 (en) Video capture device
JPH1166289A (en) Image signal processing circuit
JP3420151B2 (en) Image processing device
JP3322683B2 (en) Image data converter
JPH10340077A (en) Image display device
JPH05260521A (en) Reproduction processing method for compressed moving image data
JP2004312082A (en) Display apparatus
JPH11146276A (en) Image processor