JPH0583565A - Image data compressor - Google Patents

Image data compressor

Info

Publication number
JPH0583565A
JPH0583565A JP3242957A JP24295791A JPH0583565A JP H0583565 A JPH0583565 A JP H0583565A JP 3242957 A JP3242957 A JP 3242957A JP 24295791 A JP24295791 A JP 24295791A JP H0583565 A JPH0583565 A JP H0583565A
Authority
JP
Japan
Prior art keywords
weighting
distance
image data
block
circuit
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
JP3242957A
Other languages
Japanese (ja)
Inventor
Masaki Nakagawa
正樹 中河
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
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP3242957A priority Critical patent/JPH0583565A/en
Publication of JPH0583565A publication Critical patent/JPH0583565A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

PURPOSE:To suppress the picture quality degradation of an object due to patterns and to objectively improve picture quality by measuring a distance between the object and a camera system and executing prescribed weighting to the code amount of each block. CONSTITUTION:This device is equipped with a measuring means 25 to measure the distance between the object as a main body in a photographed optical image and the camera system, and weighting means 23 and 24 to execute the prescribed weighting to the code amounts of the respective blocks set by compressing means 16, 17 and 20-22 based on the measured result of the measuring means 25. Therefore, a weighting coefficient generation circuit 24 generates a weighting coefficient for each block by selecting a prescribed weighting coefficient table according to the output of the distance detecting circuit 25 and prescribing a block address in a table according to the output of a block address circuit 26. Then, the distance detection circuit 25 measures the distance between a lens 11 and the object and based on the outputted digital distance measurement data, one of plural weighting coefficient tables is selected.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、デジタル符号化され
た静止画像データを圧縮処理して半導体メモリ等の記録
媒体に記録させるための画像データ圧縮装置の改良に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an improvement of an image data compression apparatus for compressing digitally encoded still image data and recording it on a recording medium such as a semiconductor memory.

【0002】[0002]

【従来の技術】周知のように、撮影した被写体の光学像
を固体撮像素子を用いて電気的な静止画像信号に変換
し、この静止画像信号をデジタル静止画像データに変換
してSRAM(スタティック・ランダム・アクセス・メ
モリ)等の揮発性半導体メモリに記録する電子スチルカ
メラが開発されている。そして、このような電子スチル
カメラにあっては、半導体メモリをカード状のケースに
内蔵してなるメモリカードを、カメラ本体に着脱自在と
なるように構成することによって、通常のカメラにおけ
るフィルムと等価な取り扱いができるようになされてい
る。
2. Description of the Related Art As is well known, an optical image of a photographed subject is converted into an electric still image signal by using a solid-state image pickup device, and this still image signal is converted into digital still image data, and an SRAM (static Electronic still cameras for recording in volatile semiconductor memory such as random access memory) have been developed. In such an electronic still camera, a memory card in which a semiconductor memory is built in a card-shaped case is detachably attached to the camera body so that it is equivalent to a film in a normal camera. It is designed to be handled easily.

【0003】ところで、この種の電子スチルカメラにお
いては、通常、メモリカードの記憶容量を有効に利用す
るために、デジタル静止画像データをデータ圧縮処理し
てから半導体メモリに記録するようにしている。この場
合、デジタル静止画像データのデータ圧縮手段として
は、例えばDPCM(ディファレンシャル・パルス・コ
ード・モジュレーション)による手法や、DCT(ディ
スクリート・コサイン・トランスファーム)等の直交変
換を用いた手法等が考えられている。
By the way, in this kind of electronic still camera, in order to effectively use the storage capacity of the memory card, the digital still image data is usually subjected to data compression processing before being recorded in the semiconductor memory. In this case, as a data compression means of the digital still image data, for example, a method using DPCM (differential pulse code modulation), a method using orthogonal transformation such as DCT (discrete cosine transform), and the like can be considered. ing.

【0004】ここで、現在では、データ圧縮率をより高
めようとする傾向が強く、この限りにおいては、DCT
を用いたデータ圧縮手段が有利であるといわれている
が、このDCTを用いたデータ圧縮手段は、非可逆変換
であるため画質の劣化を招くという問題があるため、画
質を劣化させないでいかに高圧縮率を達成するかが、今
後の大きな課題となっている。
Nowadays, there is a strong tendency to increase the data compression rate. In this limit, DCT
It is said that the data compression means using the DCT is advantageous, but the data compression means using the DCT has a problem that the image quality is deteriorated due to the irreversible conversion. Achieving the compression rate is a major issue for the future.

【0005】図5は、DCTを用いた従来の画像データ
圧縮装置を示している。すなわち、撮影した被写体の光
学像は、レンズ11を介して例えばCCD(チャージ・
カップルド・デバイス)等の固体撮像素子12上に結像
され、被写体の光学像に対応した電気的信号に変換され
る。この電気的信号は、撮像回路13に供給されて、ホ
ワイトバランス調整処理やニー補正処理等が施されたデ
ジタル静止画像データに変換される。
FIG. 5 shows a conventional image data compression apparatus using DCT. That is, an optical image of a photographed subject is passed through the lens 11 to, for example, a CCD (charge
An image is formed on the solid-state imaging device 12 such as a coupled device) and converted into an electrical signal corresponding to the optical image of the subject. This electrical signal is supplied to the image pickup circuit 13 and converted into digital still image data that has undergone white balance adjustment processing, knee correction processing, and the like.

【0006】そして、このデジタル静止画像データは、
メモリコントローラ14を介してフレームメモリ15に
一旦書き込まれ蓄えられた後、DCT回路16で一義的
に決まる大きさのブロック毎に読み出され、再びメモリ
コントローラ14を介してDCT回路16に導かれる。
このDCT回路16では、ブロック単位で入力されるデ
ジタル静止画像データに対して離散コサイン変換処理が
施される。そして、この離散コサイン変換出力が、符号
化回路17で圧縮符号化された後、カードコントローラ
18を介してメモリカード19に供給され記録される。
Then, the digital still image data is
After being once written and stored in the frame memory 15 via the memory controller 14, it is read by the DCT circuit 16 for each block of a size uniquely determined, and is again guided to the DCT circuit 16 via the memory controller 14.
The DCT circuit 16 subjects the digital still image data input in block units to discrete cosine transform processing. Then, the discrete cosine transform output is compression-encoded by the encoding circuit 17, and then supplied to the memory card 19 via the card controller 18 and recorded therein.

【0007】この場合、撮影者にとっては、現在使用し
ているメモリカード19に何枚分のデジタル静止画像デ
ータを記録することができるのか、つまりメモリカード
19が何枚取りであるかを、予め知っている方が便利で
あるしまた撮影者からのそうした要望も高いであろうと
いう見地から、メモリカード19に記録すべきデジタル
静止画像データに関しては、その1枚分のデータ量が固
定長化されるように圧縮符号化されることが要求され
る。すなわち、どのような被写体を撮影しても、そのデ
ジタル静止画像データを指定されたデータ量(符号量)
にして、メモリカード19に記録する必要があるという
ことである。
In this case, the photographer must know in advance how many digital still image data can be recorded in the memory card 19 currently used, that is, how many memory cards 19 should be taken. From the viewpoint that it is convenient to know and the demand from photographers will be high, with regard to the digital still image data to be recorded in the memory card 19, the data amount for one image is fixed. Is required to be compression encoded. That is, no matter what kind of subject is photographed, the digital still image data will have the specified data amount (code amount).
That is, it is necessary to record in the memory card 19.

【0008】ところで、任意の画像に対してデータ量を
固定長化するには、その画像全体に対してどのように符
号量を配分するかが大きな問題となる。例えば勝手に画
面上部から符号化していくと、画面下部で符号量が足り
なくなって符号化できなくなってしまう場合もあり、あ
る程度均一にかつ画質を損なわないように画面全体に対
して符号量を配分して符号化する必要が生じる。
By the way, in order to make the data amount fixed for an arbitrary image, how to distribute the code amount to the entire image becomes a big problem. For example, if you encode from the top of the screen without permission, the amount of code may be insufficient at the bottom of the screen and you may not be able to encode. Then, it becomes necessary to encode.

【0009】一般的に、絵柄の変化がほとんどないブロ
ックは、略DC(直流)成分しか存在していないが、絵
柄の変化が激しいブロックは、DC成分の外にAC(交
流)成分が多く存在しているので、圧縮符号化すると
き、このAC成分が大幅に削られてしまうと画質的に歪
が大きくなる。このため、周波数的変化量の少ない(絵
柄の変化が少ない)ブロックには少なめの符号量を与
え、周波数的変化量の多い(絵柄の変化が激しい)ブロ
ックには多めの符号量を与えるように符号量を配分して
圧縮符号化すると、劣化が分散されて画質的に歪が目立
たなくなる。
Generally, a block with almost no change in the picture has almost only DC (direct current) component, but a block with a drastic change in the picture has many AC (alternating current) component in addition to the DC component. Therefore, when compression-encoding, if this AC component is significantly deleted, the distortion in image quality becomes large. For this reason, a small code amount is given to a block with a small frequency change amount (a small change in the pattern), and a large code amount is given to a block with a large frequency change amount (a large change in the pattern). When compression coding is performed by distributing the code amount, the deterioration is dispersed and the distortion in image quality becomes inconspicuous.

【0010】そこで、従来では、周波数的変化量から各
ブロック毎の情報量の多さ(アクティビティ)を求め、
そのアクティビティの量に比例させて各ブロックで符号
化することができる符号量を振り分ける操作を行なって
いる。すなわち、図5に戻って説明すると、DCT回路
16からの離散コサイン変換出力に基づいて、ブロック
アクティビティ検出回路20によりブロックのアクティ
ビティを求め、この求められたアクティビティを総アク
ティビティ算出回路21にて全ブロック分積分して総ア
クティビティを求める。
Therefore, conventionally, a large amount of information (activity) for each block is obtained from the amount of frequency change,
The amount of code that can be encoded in each block is distributed in proportion to the amount of activity. That is, referring back to FIG. 5, the block activity detection circuit 20 calculates the activity of a block based on the discrete cosine transform output from the DCT circuit 16, and the calculated activity is calculated by the total activity calculation circuit 21 for all blocks. Integrate by minutes to find total activity.

【0011】ここで、各ブロックに配分する符号量は、
総符号量×(各ブロックのアクティビティ/全ブロック
の総アクティビティ)で求められるので、ブロックアク
ティビティ検出回路20及び総アクティビティ算出回路
21の各出力をビット配分回路22に供給して上式の演
算を行ない、その算出された符号量にしたがって符号化
回路17で圧縮符号化が行なわれる。
Here, the code amount to be distributed to each block is
Since the total code amount is calculated by (total activity of each block / total activity of all blocks), each output of the block activity detection circuit 20 and the total activity calculation circuit 21 is supplied to the bit allocation circuit 22 to perform the operation of the above equation. The compression coding is performed by the coding circuit 17 according to the calculated code amount.

【0012】このように、各ブロック毎に配分する符号
量を情報量のアクティビティから求める方式は、どのよ
うな被写体を撮影しても、そのデジタル静止画像データ
が指定されたデータ量になるので、データ圧縮率を指定
可能な電子スチルカメラには好適するものとなる。ま
た、各ブロックへの符号配分量を各ブロックの情報量の
アクティビティに比例させることは、画面上の個々の位
置(ブロック)におけるS/Nを均一化させ、画面上で
位置的なむらが起きないという効果もある。
As described above, in the method of obtaining the code amount to be distributed to each block from the activity of the information amount, the digital still image data becomes the specified data amount no matter what object is photographed. This is suitable for an electronic still camera that can specify a data compression rate. In addition, making the code distribution amount to each block proportional to the information amount activity of each block makes the S / N at each position (block) on the screen uniform, resulting in positional unevenness on the screen. There is also the effect that there is no.

【0013】しかしながら、S/Nを画面内で均一化す
ることが主観評価的にも良いとは限らず、実際には、S
/N的には良くても主観的には逆に良くない場合の方が
多くなっている。例えば画面の背景の絵柄が比較的に細
かく、その中央部に被写体像が存在するような画像の場
合には、符号量を各ブロックの情報量のアクティビティ
に比例させて配分するため、背景にも比較的多くの符号
量が配分されるので、肝心の被写体像に配分するデータ
量が減ってしまうことになる。
However, it is not always good to make the S / N uniform on the screen from the subjective evaluation point of view.
There are more cases where / N is good but subjectively it is not good. For example, in the case of an image in which the background pattern on the screen is relatively fine and the subject image exists in the center of the screen, the code amount is distributed in proportion to the information amount activity of each block. Since a relatively large amount of code is distributed, the amount of data distributed to the essential subject image is reduced.

【0014】この場合、画面の個々のブロックのS/N
は均一化するが、画面を見たときに一番注目されるはず
の被写体像は、背景のブロックに配分されてしまった符
号量の分だけ歪が大きくなり、特に被写体像のエッジ部
分等は著しく歪が大きくなって、主観的評価が悪化する
ことになる。
In this case, the S / N of individual blocks on the screen
However, the distortion of the subject image, which should be the most noticeable when looking at the screen, increases by the amount of code distributed to the blocks in the background, especially at the edges of the subject image. The distortion becomes significantly large and the subjective evaluation deteriorates.

【0015】[0015]

【発明が解決しようとする課題】以上のように、従来の
画像データ圧縮装置では、画面上でS/Nを均一化しつ
つデータ量を固定長化しているが、主観的には必ずしも
良いわけではなく、絵柄によっては被写体の画質劣化を
きたす場合が多いという問題を有している。
As described above, in the conventional image data compression apparatus, the data amount is fixed while the S / N is made uniform on the screen, but it is not always good subjectively. However, there is a problem that the image quality of the subject often deteriorates depending on the design.

【0016】そこで、この発明は上記事情を考慮してな
されたもので、絵柄による被写体の画質劣化を抑え主観
的に画質が向上するように符号量の配分を行なうことが
できる極めて良好な画像データ圧縮装置を提供すること
を目的とする。
Therefore, the present invention has been made in consideration of the above circumstances, and is extremely good image data in which the code amount can be distributed so that the image quality deterioration of the subject due to the pattern is suppressed and the image quality is subjectively improved. An object is to provide a compression device.

【0017】[0017]

【課題を解決するための手段】この発明に係る画像デー
タ圧縮装置は、撮影した光学像をデジタル符号化して画
像データに変換する変換手段と、この変換手段から出力
される画像データを所定のブロック単位に分割し、各ブ
ロック毎に絵柄に応じて配分された符号量で圧縮符号化
する圧縮手段と、この圧縮手段から出力される圧縮デー
タを記録媒体にデジタル記録する記録手段とを備えたカ
メラシステムを対象としている。
An image data compression apparatus according to the present invention comprises a conversion means for digitally encoding a photographed optical image and converting it into image data, and image data output from the conversion means in a predetermined block. A camera provided with a compression unit that is divided into units and compression-encodes with a code amount distributed according to a picture for each block, and a recording unit that digitally records the compressed data output from the compression unit on a recording medium. Intended for systems.

【0018】そして、撮影した光学像の中の主体となる
被写体とカメラシステムとの間の距離を測定する測定手
段と、この測定手段の測定結果に基づいて圧縮手段で設
定された各ブロックの符号量に対して所定の重み付けを
施す重み付け手段とを備えるようにしたものである。
Then, measuring means for measuring the distance between the camera system and the main subject in the photographed optical image, and the code of each block set by the compressing means based on the measurement result of this measuring means. A weighting means for applying a predetermined weight to the quantity is provided.

【0019】[0019]

【作用】上記のような構成によれば、例えば被写体とカ
メラシステムとの間の距離が近くなるほど、撮影画面の
中央部分のブロックに対して符号量の配分を多くする重
み付けを施し、被写体とカメラシステムとの間の距離が
遠くなるほど、撮影画面全体で均一な重み付けを施すよ
うにすることにより、一般に、被写体まで比較的近い距
離にある場合には、その被写体が画面中央部にあること
が多いため、近い被写体のときは画面の中央部の画質は
符号配分量が多く劣化が抑えられ、主観的に画質を向上
させることができる。
According to the above-mentioned structure, for example, the closer the distance between the subject and the camera system is, the more weight is given to the block in the central portion of the photographing screen so that the distribution of the code amount is increased. As the distance from the system increases, the weighting is uniformly applied to the entire shooting screen. Generally, when the distance to the subject is relatively short, the subject is often located in the center of the screen. Therefore, in the case of a close subject, the image quality in the central portion of the screen has a large code distribution amount and deterioration is suppressed, so that the image quality can be subjectively improved.

【0020】[0020]

【実施例】以下、この発明の一実施例について図面を参
照して詳細に説明する。図1において、図5と同一部分
には同一符号を付して示している。すなわち、ブロック
アクティビティ検出回路20で求められた各ブロックの
アクティビティに対して、重み付け回路23により重み
付け係数発生回路24から出力される重み付け係数に基
づく重み付けを行なった後、総アクティビティ算出回路
21にて全ブロック分の積分が行なわれて総アクティビ
ティが求められる。この重み付け回路23としては、例
えば乗算器やビットシフト回路等が用いられる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the drawings. In FIG. 1, the same parts as those in FIG. 5 are designated by the same reference numerals. That is, the activity of each block obtained by the block activity detection circuit 20 is weighted by the weighting circuit 23 based on the weighting coefficient output from the weighting coefficient generation circuit 24, and then the total activity calculation circuit 21 performs total weighting. Integration for blocks is performed to find total activity. As the weighting circuit 23, for example, a multiplier or a bit shift circuit is used.

【0021】ここで、重み付け係数発生回路24は、複
数の重み付け係数テーブルを有しており、距離検出回路
25の出力によって所定の重み付け係数テーブルが選択
されるとともに、ブロックアドレス回路26の出力によ
ってテーブル内のブロックアドレスが指定されることに
より、ブロック毎に重み付け係数が発生されるようにな
されている。この距離検出回路25は、レンズ11と被
写体との間の距離を測定しデジタル測距データLを出力
するもので、このデジタル測距データLに基づいて上記
重み付け係数発生回路24にある複数の重み付け係数テ
ーブルの1つが選択される。
Here, the weighting coefficient generation circuit 24 has a plurality of weighting coefficient tables, and a predetermined weighting coefficient table is selected by the output of the distance detection circuit 25 and a table is output by the output of the block address circuit 26. By designating a block address within, a weighting coefficient is generated for each block. The distance detecting circuit 25 measures the distance between the lens 11 and the subject and outputs digital distance measuring data L. Based on the digital distance measuring data L, a plurality of weighting factors in the weighting coefficient generating circuit 24 are weighted. One of the coefficient tables is selected.

【0022】すなわち、この複数の重み付け係数テーブ
ルは、図2(a)に示すように画面上に対応した2次元
特性を持ち、この画面上のラインHでみたときの重み付
け係数の特性が、図2(b)に示すように3モード用意
されていて、これらのモードが距離検出回路25から出
力されるデジタル測距データLにより選択される。例え
ばデジタル測距データLが基準距離データl1より小さ
い場合、画面中央における重み付け係数のピークが一番
大きい特性を有するテーブルが選択される。
That is, the plurality of weighting coefficient tables have two-dimensional characteristics corresponding to those on the screen as shown in FIG. 2A, and the characteristics of the weighting coefficients when viewed on the line H on this screen are shown in FIG. As shown in 2 (b), three modes are prepared, and these modes are selected by the digital distance measurement data L output from the distance detection circuit 25. For example, when the digital distance measurement data L is smaller than the reference distance data l1, the table having the characteristic that the peak of the weighting coefficient at the center of the screen is the largest is selected.

【0023】一方、ブロックアドレス回路26は、DC
T回路16から出力されるブロックシンクの数をカウン
トすることにより、距離検出回路25で選択された重み
付け係数テーブルのブロックアドレスを生成し、ブロッ
ク毎に重み付け係数が発生されるようになされている。
On the other hand, the block address circuit 26 is
By counting the number of block syncs output from the T circuit 16, the block address of the weighting coefficient table selected by the distance detection circuit 25 is generated, and the weighting coefficient is generated for each block.

【0024】ここで、上記距離検出回路25としては、
図3に示すような赤外線測距方式が用いられている。す
なわち、これは、赤外線発光素子27から発生される赤
外線を発光レンズ28で集光させて被写体29に照射
し、被写体29からの反射光を受光レンズ30で集光し
受光センサ31で受けるようにしたもので、受光センサ
31から被写体29までの距離に対応した電流比kを得
るものである。そして、この受光センサ31の出力が、
A/D(アナログ/デジタル)変換回路32に供給され
て上記デジタル測距データLが生成される。
Here, as the distance detection circuit 25,
An infrared distance measuring method as shown in FIG. 3 is used. That is, the infrared light emitted from the infrared light emitting element 27 is condensed by the light emitting lens 28 and applied to the subject 29, and the reflected light from the subject 29 is collected by the light receiving lens 30 and received by the light receiving sensor 31. Thus, the current ratio k corresponding to the distance from the light receiving sensor 31 to the subject 29 is obtained. Then, the output of the light receiving sensor 31 is
The digital distance measurement data L is generated by being supplied to the A / D (analog / digital) conversion circuit 32.

【0025】なお、この距離検出回路25における被写
体29までの距離と電流比kとの関係は、図4に示すよ
うに反比例の関係にあり、上記A/D変換回路32から
出力されるデジタル測距データLは、図4における電流
比kを3つの領域に分け、その各領域(モード)を示す
信号として重み付け係数発生回路24に出力されてい
る。すなわち、このデジタル測距データLは、例えばL
<l1,l1≦L≦l2,l2<Lに対応するモード信
号(2ビットで“00”,“01”,“10”)として
重み付け係数発生回路24に出力されている。
The relationship between the distance to the object 29 and the current ratio k in the distance detection circuit 25 is inversely proportional as shown in FIG. 4, and the digital measurement output from the A / D conversion circuit 32 is performed. The distance data L is output to the weighting coefficient generation circuit 24 as a signal indicating each region (mode) in which the current ratio k in FIG. 4 is divided into three regions. That is, this digital distance measurement data L is, for example, L
It is output to the weighting coefficient generation circuit 24 as a mode signal (2-bit “00”, “01”, “10”) corresponding to <l1, l1 ≦ L ≦ l2, 12 <L.

【0026】上記のような構成とすることにより、例え
ばデジタル測距データLがL<l1のとき、つまり被写
体29が比較的近くにある場合、図2(b)から明らか
なように、画面中央部での重み付けが一番多い重み付け
係数テーブルが選択され、画面中央周辺のブロックに配
分される符号量が多くなり、反対に、画面の端のブロッ
クに配分される符号量が少なくなる。
With the above configuration, for example, when the digital distance measuring data L is L <l1, that is, when the subject 29 is relatively close, as is apparent from FIG. The weighting coefficient table with the largest weight in the section is selected, and the code amount distributed to the blocks around the center of the screen increases, and conversely, the code amount distributed to the blocks at the edge of the screen decreases.

【0027】このため、画面の端の部分にはある程度の
画質劣化があるが、その分、画面中央部分の画質劣化が
抑えられる。そして、この被写体29が比較的近くにあ
る場合というのは、その被写体29が画面上中央部分に
ある場合が多いので、画面中央部分の画質劣化が抑えら
れるということは、取りも直さず、被写体29の画質劣
化が抑えられ主観的に画質が向上することになる。
Therefore, although the image quality is deteriorated to some extent at the edge portion of the screen, the image quality deterioration at the center portion of the screen is suppressed to that extent. When the subject 29 is relatively close to the subject 29, the subject 29 is often located in the central portion of the screen. Therefore, suppressing the image quality deterioration in the central portion of the screen is irreversible. 29, the image quality deterioration is suppressed and the image quality is subjectively improved.

【0028】また、デジタル測距データLがl2<Lの
ときには、被写体29が遠くにある場合で画像は風景等
の遠景である。このため、図2(b)から明らかなよう
に、画面全体に均一な重み付けが行なえる重み付け係数
テーブルが選択され、画面全体が従来通りの符号量配分
となり重み付けの影響を受けない画面を提供することと
なる。
When the digital distance measurement data L is 12 <L, the image is a distant view such as a landscape when the subject 29 is distant. Therefore, as is apparent from FIG. 2B, a weighting coefficient table that allows uniform weighting to the entire screen is selected, and the entire screen has the conventional code amount distribution to provide a screen that is not affected by weighting. It will be.

【0029】ところで、上記実施例では、距離検出回路
25を赤外線測距方式として説明したが、これに限ら
ず、例えば超音波方式やSST方式等の公知の手段を適
宜使用することができる。さらに、マニュアルフォーカ
シングして、そのときの被写体29までの距離をデジタ
ル数値化しても良い。または、撮影者の主観による測距
でも良く、つまり、電子スチルカメラに近景,遠景及び
その中間を設定するセレクタが備えられ、撮影者がいず
れかを選択したモードをデジタル数値化しても良い。ま
た、A/D変換回路32は、2ビット出力である必要は
なく、性能とコストとの兼ね合いにより何ビットでも良
いものである。なお、この発明は上記実施例に限定され
るものではなく、この外その要旨を逸脱しない範囲で種
々変形して実施することができる。
By the way, in the above embodiment, the distance detecting circuit 25 is described as an infrared distance measuring system, but the present invention is not limited to this, and a known means such as an ultrasonic system or an SST system can be used as appropriate. Further, manual focusing may be performed to digitalize the distance to the subject 29 at that time. Alternatively, the distance may be measured subjectively by the photographer, that is, the electronic still camera may be provided with a selector for setting the near view, the distant view, and the middle thereof, and the mode selected by the photographer may be digitized. Further, the A / D conversion circuit 32 does not have to output 2 bits, and any number of bits may be used depending on the balance between performance and cost. The present invention is not limited to the above-described embodiments, but can be variously modified and implemented without departing from the scope of the invention.

【0030】[0030]

【発明の効果】以上詳述したようにこの発明によれば、
絵柄による被写体の画質劣化を抑え主観的に画質が向上
するように符号量の配分を行なうことができる極めて良
好な画像データ圧縮装置を提供することができる。
As described in detail above, according to the present invention,
It is possible to provide an extremely good image data compression apparatus that can distribute the code amount so as to subjectively improve the image quality by suppressing the image quality deterioration of the subject due to the pattern.

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

【図1】この発明に係る画像データ圧縮装置の一実施例
を示すブロック構成図。
FIG. 1 is a block diagram showing an embodiment of an image data compression device according to the present invention.

【図2】同実施例の重み付け係数テーブルの特性を説明
するために示す図。
FIG. 2 is a diagram for explaining characteristics of a weighting coefficient table according to the first embodiment.

【図3】同実施例の距離検出回路の具体例を示すブロッ
ク構成図。
FIG. 3 is a block configuration diagram showing a specific example of a distance detection circuit of the same embodiment.

【図4】同距離検出回路の測定距離と出力との関係を示
す特性図。
FIG. 4 is a characteristic diagram showing a relationship between a measured distance and an output of the distance detection circuit.

【図5】従来の画像データ圧縮装置を示すブロック構成
図。
FIG. 5 is a block configuration diagram showing a conventional image data compression device.

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

11…レンズ、12…固体撮像素子、13…撮像回路、
14…メモリコントローラ、15…フレームメモリ、1
6…DCT回路、17…符号化回路、18…カードコン
トローラ、19…メモリカード、20…ブロックアクテ
ィビティ検出回路、21…総アクティビティ算出回路、
22…ビット配分回路、23…重み付け回路、24…重
み付け係数発生回路、25…距離検出回路、26…ブロ
ックアドレス回路、27…赤外線発光素子、28…発光
レンズ、29…被写体、30…受光レンズ、31…受光
センサ、32…A/D変換回路。
11 ... Lens, 12 ... Solid-state imaging device, 13 ... Imaging circuit,
14 ... Memory controller, 15 ... Frame memory, 1
6 ... DCT circuit, 17 ... Encoding circuit, 18 ... Card controller, 19 ... Memory card, 20 ... Block activity detection circuit, 21 ... Total activity calculation circuit,
22 ... Bit distribution circuit, 23 ... Weighting circuit, 24 ... Weighting coefficient generation circuit, 25 ... Distance detection circuit, 26 ... Block address circuit, 27 ... Infrared light emitting element, 28 ... Light emitting lens, 29 ... Subject, 30 ... Light receiving lens, 31 ... Light receiving sensor, 32 ... A / D conversion circuit.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 撮影した光学像をデジタル符号化して画
像データに変換する変換手段と、この変換手段から出力
される画像データを所定のブロック単位に分割し、各ブ
ロック毎に絵柄に応じて配分された符号量で圧縮符号化
する圧縮手段と、この圧縮手段から出力される圧縮デー
タを記録媒体にデジタル記録する記録手段とを備えたカ
メラシステムにおいて、前記撮影した光学像の中の主体
となる被写体と前記カメラシステムとの間の距離を測定
する測定手段と、この測定手段の測定結果に基づいて前
記圧縮手段で設定された各ブロックの符号量に対して所
定の重み付けを施す重み付け手段とを具備してなること
を特徴とする画像データ圧縮装置。
1. A conversion unit that digitally encodes a captured optical image and converts it into image data, and image data output from this conversion unit is divided into predetermined blocks, and each block is distributed according to a pattern. In a camera system provided with a compression means for compression-encoding with the generated code amount and a recording means for digitally recording the compressed data output from the compression means on a recording medium, the camera system is a main part of the captured optical image. Measuring means for measuring the distance between the subject and the camera system, and weighting means for applying a predetermined weighting to the code amount of each block set by the compression means based on the measurement result of this measuring means. An image data compression apparatus comprising:
【請求項2】 前記重み付け手段は、前記被写体と前記
カメラシステムとの間の距離が近くなるほど、撮影画面
の中央部分のブロックに対して符号量の配分を多くする
重み付けを施し、前記被写体と前記カメラシステムとの
間の距離が遠くなるほど、撮影画面全体で均一な重み付
けを施すように構成されることを特徴とする請求項1記
載の画像データ圧縮装置。
2. The weighting means weights the block in the central portion of the photographing screen so that the code amount is distributed more as the distance between the subject and the camera system becomes shorter. The image data compression apparatus according to claim 1, wherein the image data compression apparatus is configured such that as the distance from the camera system increases, more uniform weighting is applied to the entire photographing screen.
【請求項3】 前記重み付け手段は、複数種類の重み付
けテーブルを前記測定手段の測定結果によって選択し、
選択された重み付けテーブルに基づいて重み付けを施す
ように構成されることを特徴とする請求項2記載の画像
データ圧縮装置。
3. The weighting means selects a plurality of types of weighting tables according to the measurement result of the measuring means,
The image data compression apparatus according to claim 2, wherein the image data compression apparatus is configured to perform weighting based on the selected weighting table.
JP3242957A 1991-09-24 1991-09-24 Image data compressor Pending JPH0583565A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3242957A JPH0583565A (en) 1991-09-24 1991-09-24 Image data compressor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3242957A JPH0583565A (en) 1991-09-24 1991-09-24 Image data compressor

Publications (1)

Publication Number Publication Date
JPH0583565A true JPH0583565A (en) 1993-04-02

Family

ID=17096746

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3242957A Pending JPH0583565A (en) 1991-09-24 1991-09-24 Image data compressor

Country Status (1)

Country Link
JP (1) JPH0583565A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5720586A (en) * 1995-11-02 1998-02-24 Yazaki Corporation Clip mountable to a mounting plate
US5730401A (en) * 1995-10-27 1998-03-24 Yazaki Corporation Clip
JP2008193530A (en) * 2007-02-06 2008-08-21 Canon Inc Image recorder, image recording method and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5730401A (en) * 1995-10-27 1998-03-24 Yazaki Corporation Clip
US5720586A (en) * 1995-11-02 1998-02-24 Yazaki Corporation Clip mountable to a mounting plate
JP2008193530A (en) * 2007-02-06 2008-08-21 Canon Inc Image recorder, image recording method and program

Similar Documents

Publication Publication Date Title
US5249053A (en) Filmless digital camera with selective image compression
US5335016A (en) Image data compressing/coding apparatus
US5568194A (en) Adjusting a white balance in a camera using a flash
JP3569352B2 (en) White balance adjustment device
US5832129A (en) Image encoding method and apparatus
US8615140B2 (en) Compression of image data in accordance with depth information of pixels
JPH07184158A (en) Digital electronic still camera
US5838379A (en) Image processing apparatus having means for controlling exposure using an orthogonal transformation coefficient
EP1107610A1 (en) Compression encoding method, recorded medium on which compression encoding program is recorded, and imaging device
US6014467A (en) High speed, high precision image compression
JPH0583565A (en) Image data compressor
JPH09247675A (en) Image compression method and image compression system
JPH02105686A (en) Digital recorder for still picture
JP4269464B2 (en) Image recording apparatus and image recording method
US7120304B2 (en) Image data compressing apparatus
JP3144727B2 (en) Digital electronic still camera
Jackson et al. A 1.3-megapixel-resolution portable CCD electronic still camera
JP3131235B2 (en) Image processing device
KR100210443B1 (en) Image compressing method for dsc
JPH0537901A (en) Image recorder
JPH04114564A (en) Picture signal recording device
JP2884092B2 (en) Image conversion device for still video camera
JPH09219807A (en) Digital still camera
EP0926883B1 (en) Image processing method and apparatus
JP3697820B2 (en) Image compression recording device