JP3151244B2 - Image recording device - Google Patents

Image recording device

Info

Publication number
JP3151244B2
JP3151244B2 JP22108691A JP22108691A JP3151244B2 JP 3151244 B2 JP3151244 B2 JP 3151244B2 JP 22108691 A JP22108691 A JP 22108691A JP 22108691 A JP22108691 A JP 22108691A JP 3151244 B2 JP3151244 B2 JP 3151244B2
Authority
JP
Japan
Prior art keywords
image
area
information
signal
divided
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.)
Expired - Fee Related
Application number
JP22108691A
Other languages
Japanese (ja)
Other versions
JPH0541806A (en
Inventor
芳 寛 和 久
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.)
Olympus Corp
Original Assignee
Olympus Optic 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 Olympus Optic Co Ltd filed Critical Olympus Optic Co Ltd
Priority to JP22108691A priority Critical patent/JP3151244B2/en
Publication of JPH0541806A publication Critical patent/JPH0541806A/en
Application granted granted Critical
Publication of JP3151244B2 publication Critical patent/JP3151244B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、画像記録装置に関し、
特に最少のデータ量で画質の劣化を最小限に抑えつつ画
像データを高効率に圧縮処理して記録する画像記録装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image recording apparatus,
In particular, the present invention relates to an image recording apparatus that compresses and records image data with high efficiency while minimizing deterioration of image quality with a minimum data amount.

【0002】[0002]

【従来の技術】画像情報をデジタルデータとしてメモリ
に記録する場合、画像デジタルデータ量が膨大なものと
なるため、大容量メモリを必要とし、更にメモリへの格
納および当該画像データの転送の際にハードウェアに負
担がかかるだけでなく、転送時間が長くなってしまう。
そのため、通常は、画像データに圧縮処理を施し、圧縮
された画像データをメモリに記録、転送するようにして
いる。かかる画像圧縮手法は、例えば近年、被写体光学
像をデジタルデータに変換してICカードメモリに記録
するICカードカメラにおいても採用されている。IC
カードカメラでは、光学像を電気信号、デジタル信号に
変換した後、離散コサイン変換等の直交変換処理を施し
てデータ圧縮を行ない、得られた変換係数をICカード
メモリに記録している。画像記録装置におけるデータ圧
縮は、記録対象である画像全体に対して予め定めた圧縮
処理を施し、圧縮データ量を一定以下にしている。
2. Description of the Related Art When image information is recorded as digital data in a memory, the amount of digital image data becomes enormous, so that a large-capacity memory is required. Not only does this burden the hardware, it also increases the transfer time.
Therefore, usually, compression processing is performed on the image data, and the compressed image data is recorded and transferred to a memory. Such an image compression technique has recently been adopted, for example, in an IC card camera that converts an optical image of a subject into digital data and records the digital data in an IC card memory. IC
In a card camera, after an optical image is converted into an electric signal or a digital signal, orthogonal transformation processing such as discrete cosine transformation or the like is performed to perform data compression, and the obtained conversion coefficient is recorded in an IC card memory. In the data compression in the image recording apparatus, a predetermined compression process is performed on the entire image to be recorded, and the amount of compressed data is set to a certain value or less.

【0003】ところで、画像データを圧縮する圧縮率を
上げるに従って画質は劣化する。一方、記録対象(例え
ば、被写体像)の細かさは千差万別であり、原画(被写
体像)が細かい情報を含む場合には、圧縮率を上げると
画質の劣化が著しくなり、実用に耐えなくなってしまう
ことがある。一方、原画が粗い情報のみを含む場合(つ
まり、比較的平面的な変化の少ない絵の場合)、低い圧
縮率でも原画情報を満足できる程度に再現できる。しか
しながら、原画全体が細かい情報のみを含んでいる場合
や、粗い情報のみを含んでいる場合は少なく、通常は1
枚の原画の中には細かい情報と粗い情報が混在すること
が多い。このようなとき、従来の画像記録装置のよう
に、一定の圧縮処理を施したのでは、細かい情報に対す
る最適な圧縮処理を粗い情報に対して施すと、粗い情報
については画質の観点からは無用な圧縮処理が施されて
しまい、逆に粗い情報に対する最適な圧縮処理を細かい
情報に対して行うと画質の劣化が大きくなってしまうと
いう問題がある。
By the way, as the compression ratio for compressing image data increases, the image quality deteriorates. On the other hand, the fineness of the recording target (for example, the subject image) varies widely, and when the original image (subject image) contains fine information, the image quality deteriorates significantly when the compression ratio is increased, and it is not practical. It may be gone. On the other hand, when the original image contains only coarse information (that is, in the case of a picture having a relatively flat change), the original image information can be reproduced to a satisfactory degree even at a low compression ratio. However, there are few cases where the entire original image contains only fine information or only coarse information.
Fine information and coarse information are often mixed in a single original image. In such a case, if a fixed compression process is performed as in a conventional image recording apparatus, an optimal compression process for fine information is performed on coarse information, and coarse information is unnecessary from the viewpoint of image quality. On the other hand, if the optimal compression processing for coarse information is performed on fine information, there is a problem that image quality is greatly deteriorated.

【0004】そこで、本発明の目的は、最少のデータ量
で画質の低下を最小限に抑えて高効率に画像データを記
録できる画像記録装置を提供することにある。
SUMMARY OF THE INVENTION It is an object of the present invention to provide an image recording apparatus capable of recording image data with a minimum amount of data and minimizing deterioration in image quality and recording image data with high efficiency.

【0005】[0005]

【課題を解決するための手段】前述の課題を解決するた
め、本発明による画像記録装置は、供給された画像信号
に含まれる画像の鮮鋭度を表わす情報に応じた圧縮率で
上記供給された画像信号に対する量子化処理を行なって
被記録画像信号を得るようになされた画像記録装置であ
って、上記画像に係る画枠内の領域を複数に分割するよ
うにして設定された各領域毎に上記画像の鮮鋭度を表わ
す情報を得、この各領域毎の画像の鮮鋭度を表わす情報
の隣接領域間での相関に基づいて所要に応じ上記領域の
分割形態を再設定しつつ最適な分割形態を選択するとと
もに、この最適な分割形態での各分割領域毎に該各領域
の画像の鮮鋭度を表わす情報に相応した圧縮率での量子
化処理を行なって上記供給された画像信号から被記録画
像信号を得る手段と、上記手段で得られた被記録画像信
号とともに、上記選択された分割形態に係る画面構成情
報を記録する記録手段と、を具備したことを特徴とする
画像記録装置。上記画像記録装置は、オートフォーカス
動作を行う手段を更に有し、上記供給された画像信号に
含まれる画像の鮮鋭度を表わす情報は、上記オートフォ
ーカス動作が終了した時点の情報からなる。本発明の他
の態様による画像記録装置は、供給された画像信号に含
まれる画像の鮮鋭度を表わす情報に応じた圧縮率で上記
供給された画像信号に対する量子化処理を行なって被記
録画像信号を得るようになされた画像記録装置であっ
て、上記画像に係る画枠内を複数領域に分割するについ
ての分割形態を予め複数通り設定し、この各通りの分割
形態毎の上記画枠内での各分割領域に対応する像の鮮鋭
度を表わす情報の分布状態に基づいて上記複数通りの分
割形態の中から最適な分割形態を選択し、この最適な分
割形態での各分割領域毎に該各領域の画像の鮮鋭度を表
わす情報に相応した圧縮率での量子化処理を行なって上
記供給された画像信号から被記録画像信号を得る手段を
具備して構成される。
In order to solve the above-mentioned problems, an image recording apparatus according to the present invention is provided with an image recording apparatus provided with a compression ratio corresponding to information representing the sharpness of an image contained in an supplied image signal. An image recording apparatus configured to obtain a recorded image signal by performing a quantization process on an image signal, wherein each area set to divide an area in an image frame related to the image into a plurality of areas is provided. The information representing the sharpness of the image is obtained, and based on the correlation between the information representing the sharpness of the image for each region between adjacent regions, the region is optimally divided while resetting the region as necessary. And performs quantization processing at a compression ratio corresponding to information representing the sharpness of the image of each area in each of the divided areas in the optimal division mode, and performs recording from the supplied image signal. Means for obtaining image signal , Together with the recorded image signal obtained by the above-described means, an image recording apparatus characterized by comprising recording means for recording the screen configuration information related to the selected divided form, the. The image recording apparatus further includes a unit for performing an autofocus operation, and the information indicating the sharpness of the image included in the supplied image signal includes information at the time when the autofocus operation is completed. An image recording apparatus according to another aspect of the present invention performs a quantization process on the supplied image signal at a compression rate according to information representing the sharpness of an image included in the supplied image signal, and performs a quantization process on the recorded image signal. In the image recording apparatus, a plurality of division modes for dividing the inside of the image frame related to the image into a plurality of regions are set in advance, and within the image frame for each of the respective division modes. Based on the distribution state of the information indicating the sharpness of the image corresponding to each of the divided areas, an optimal divided form is selected from the plurality of divided forms, and the optimal divided form is selected for each divided area in the optimal divided form. It is provided with means for performing a quantization process at a compression rate corresponding to the information representing the sharpness of the image of each area to obtain a recorded image signal from the supplied image signal.

【0006】[0006]

【作用】本発明では、上述のように、一枚の画像を複数
のエリアに分割し、分割エリア毎のコントラスト値を求
め、得られたコントラスト値を用いて隣接分割エリア間
相関を求める。こうして得られた相関情報に基づいて分
割形態を変更して、画質の劣化を抑えつつ最小限のデー
タ量で高効率な画像の圧縮を指定する最適な分割形態を
定める。この最適分割形態による各分割エリアのコント
ラスト値に対応するQテーブルに基づいて圧縮、記録処
理を行う。
According to the present invention, as described above, one image is divided into a plurality of areas, a contrast value for each divided area is obtained, and a correlation between adjacent divided areas is obtained using the obtained contrast value. The division mode is changed based on the correlation information obtained in this way, and an optimal division mode that specifies high-efficiency image compression with a minimum amount of data while suppressing image quality degradation is determined. Compression and recording processing are performed based on the Q table corresponding to the contrast value of each divided area according to this optimal division mode.

【0007】[0007]

【実施例】次に、本発明について図面を参照しながら説
明する。図1は、本発明による画像記録装置の一実施例
における動作処理手順を示すフローチャートで、ICカ
ードカメラへの適用例を示す。本実施例においては、撮
像系から得られたデジタル画像信号を記録する際、1枚
の画面(画像)を複数のエリアに分割し、各エリア毎に
得られる鮮鋭度を表わすコントラスト値に基づいてエリ
アの分割形態を変化させる。こうして、画質の劣化を最
小限に抑えた圧縮を可能とする最適な分割形態を定め、
この分割形態によって、画像を圧縮、記録するようにし
ている。この最適な分割形態は、隣接分割エリア間のコ
ントラスト値の相関により、エリアを更に細かく分割し
たり、逆に大きなエリアに拡張したりすることにより行
なわれる。
Next, the present invention will be described with reference to the drawings. FIG. 1 is a flowchart showing an operation processing procedure in an embodiment of an image recording apparatus according to the present invention, and shows an application example to an IC card camera. In the present embodiment, when recording a digital image signal obtained from an imaging system, one screen (image) is divided into a plurality of areas, and based on a contrast value representing sharpness obtained for each area. Change the area division form. In this way, an optimal division mode that enables compression with minimum deterioration of image quality is determined,
The image is compressed and recorded by this division mode. This optimal division mode is performed by dividing the area further finely or expanding the area into a larger area on the basis of the correlation between the contrast values between adjacent divided areas.

【0008】ICカードカメラにおいては、オートフォ
ーカス(AF)動作が終了した時点では、カメラ本体に
内蔵され、カメラ動作全体を制御するCPUのメモリに
は、図2(A)に示す如く各分割エリア〜に対応す
るコントラスト値AFD〜AFDが(B)のように
記憶されている。かかるコントラスト値をメモリから読
み出し、各分割エリアに関する相関から原画(画像)の
状態を推測する。例えば、隣り合うエリアのコントラス
ト値のレベル差が大きい場合には、更にエリアを細かく
分割するような形態で、レベル差が殆どない場合にはエ
リアを大きく分割するような形態で分割する。こうし
て、細かい画像部が含まれているエリアを最適にエリア
分割し、当該エリア部には圧縮率が低くなるようなQテ
ーブルを設定し、粗い画像部のエリアは圧縮率が高くな
るようなQテーブルを設定して、圧縮の最適化を行な
う。
In the IC card camera, when the auto focus (AF) operation is completed, each divided area is stored in the memory of the CPU which is built in the camera body and controls the entire camera operation as shown in FIG. The contrast values AFD to AFD corresponding to are stored as shown in FIG. The contrast value is read from the memory, and the state of the original image (image) is estimated from the correlation for each divided area. For example, when the level difference between the contrast values of the adjacent areas is large, the area is divided more finely, and when there is almost no level difference, the area is divided largely. In this manner, an area including a fine image portion is optimally divided into areas, and a Q table that sets a low compression ratio is set in the area portion. Set the table and optimize the compression.

【0009】図3には、ポートレートのように1枚の原
画(A)を9分割したとき、各分割エリア毎のコントラ
スト値は一般に、(B)のように、人物が含まれるエリ
ア,で高く、背景部〜,では小さく、左下部
や右下部ではその中間値になる。
FIG. 3 shows that when one original image (A) is divided into nine parts like a portrait, the contrast value of each divided area is generally an area including a person as shown in FIG. It is high, small in the background part ~, and has an intermediate value in the lower left and lower right.

【0010】例えば、エリアに人物の顔が含まれてい
るとき、エリアからでは(図4(A))、コントラ
スト値が大きく変化しており、このような場合には
(B)のように、AとB,AとBに当該エリア
を更に1段階細かく分割して、再度コントラスト値を求
めて相関を求める。図4の場合、エリアのコントラス
ト値についてAFD/2と、エリアAおよびBの
それぞれのコントラスト値が略同じレベルであれば、エ
リアとの境界部には画の重なり部分はないと判断で
きるので、このエリアは分割して圧縮率を変更する必要
がないことになる。
For example, when a person's face is included in the area, the contrast value greatly changes from the area (FIG. 4A). In such a case, as shown in FIG. The area is further finely divided into A and B, and A and B, and the correlation value is calculated again by obtaining the contrast value again. In the case of FIG. 4, if the contrast value of the area is approximately the same as that of AFD / 2 and the respective contrast values of the areas A and B, it can be determined that there is no overlapping portion of the image at the boundary with the area. This area does not need to be divided to change the compression ratio.

【0011】一方、図5は両エリアとに人物の顔部
分が含まれている場合を示し、これを更に細分割したエ
リアのコントラスト値はAが小、Bが中,Aが
高、Bが高くなる。そして、エリアのコントラスト
値についてAFD/2がエリアAのコントラスト値
より大きくてエリアBのコントラスト値よりも小さ
く、また、エリアのコントラスト値についてAFD
/2がエリアBのコントラスト値よりも大きくてエリ
アAのコントラスト値よりも大きい場合にはエリア
BとエリアAの境界部に被写体が重なっていると判断
できるので、当該エリアは分割して圧縮率をAとB
で変えて記録する。上述の如き処理を、それぞれコント
ラスト値が変化しているエリア間で上下、左右方向に行
ない、コントラスト値が高いエリアと、低いエリアとを
切り分ける。圧縮率を高くできるエリアを増やすほど、
圧縮後のデータ重は少なくなる。
On the other hand, FIG. 5 shows a case where a face portion of a person is included in both areas, and the contrast values of the subdivided areas are as follows: A is small, B is medium, A is high, and B is high. Get higher. AFD / 2 is larger than the contrast value of area A and smaller than the contrast value of area B with respect to the contrast value of the area.
If / 2 is greater than the contrast value of area B and greater than the contrast value of area A, it can be determined that the subject overlaps the boundary between area B and area A. A and B
Change with and record. The above-described processing is performed in the vertical and horizontal directions between the areas where the contrast value is changed, and the area having the high contrast value is separated from the area having the low contrast value. The more areas you can increase the compression ratio, the more
The data weight after compression is reduced.

【0012】図6には、ポートレート被写体についての
原画の最適分割形態例が示されている。人物だけが細か
い画像である(A)の原画は、(B)のように分割し
て、斜線エリアのみを圧縮率を低くし、それ以外のエリ
アの圧縮率を高くすることにより、高効率な圧縮、記録
が可能となる。こうして、得られた分割エリア毎の圧縮
率をQテーブル値に変換して圧縮回路に送出する。圧縮
回路では、各分割エリア毎に対応する上記Qテーブル値
に基づいて圧縮記録を行なうことにより、画質を低下さ
せることなく、全体としての圧縮率を上げることが可能
となる。この記録時には、原画の1画面の分割形態等の
画面構成情報も含めて記録される。
FIG. 6 shows an example of an optimal division of an original image for a portrait subject. The original image of (A), in which only a person is a fine image, is divided as shown in (B), and the compression ratio of only the hatched area is reduced, and the compression ratio of the other areas is increased. Compression and recording become possible. Thus, the obtained compression ratio for each divided area is converted into a Q table value and sent to the compression circuit. The compression circuit performs compression recording based on the Q table value corresponding to each divided area, thereby increasing the overall compression ratio without deteriorating image quality. At the time of this recording, the image is recorded including screen configuration information such as the division form of one screen of the original image.

【0013】さて、図1のフローチャートを参照して本
実施例のICカードカメラの動作を説明すると、撮影ス
タンバイ状態において、トリガ1(TRG1)ボタンの
押下が“ON”になるまで待機し(ステップS1)、
“ON”になると、イメージャーAF動作をスタートさ
せ、AFエリア毎のコントラスト値を検出する(ステッ
プS2)。その後、合焦がOKか否かを判断して(ステ
ップS3)、OKでなければ、AFモータを動作させ
(ステップS4)、ステップS2の処理に戻る。ステッ
プS3において、合焦OKであれば、1画面を複数のエ
リアに分割する所定の演算処理を行なう(ステップS
5)。ここでの演算処理は、前述の如き分割エリア毎の
コントラスト値に基づく相関処理を行ない、最適な分割
エリアを決定するための処理である。こうしてエリア分
割演算処理が行なわれた後、ステップS6において圧縮
後のデータ量が予め定めた値以下になったか否か等の基
準によってエリア分割がOKか否かを判定する。エリア
分割がOKでないと判断されると、所定の分割形態に基
づいてエリアの分割を変更し(ステップS7)、再度、
各分割エリア毎のコントラスト値を検出する(ステップ
S8)。次に、こうして得られた各エリア毎のコントラ
スト値に基づいてステップS5のエリア分割演算処理が
行なわれる。ステップS6において、エリア分割がOK
であると判断されると、各分割エリア毎のコントラスト
値に基づいて当該分割エリア毎のQテーブルを求める
(ステップS9)。その後、トリガ2(TRG2)ボタ
ンが“ON”になるまで待機し(ステップS10)、
“ON”になった時点でメモリへの圧縮、記録動作を行
なう(ステップS11)。
Now, the operation of the IC card camera of the present embodiment will be described with reference to the flowchart of FIG. 1. In the photographing standby state, it waits until the trigger 1 (TRG1) button is pressed "ON" (step). S1),
When "ON", the imager AF operation is started and a contrast value for each AF area is detected (step S2). Thereafter, it is determined whether or not the focus is OK (step S3). If not, the AF motor is operated (step S4), and the process returns to step S2. If the in-focus state is OK in step S3, a predetermined calculation process for dividing one screen into a plurality of areas is performed (step S3).
5). The calculation process here is a process for determining the optimal divided area by performing the correlation process based on the contrast value for each divided area as described above. After the area division calculation processing is performed in this way, it is determined in step S6 whether or not the area division is OK based on a criterion such as whether or not the data amount after compression has become a predetermined value or less. If it is determined that the area division is not OK, the area division is changed based on a predetermined division form (step S7), and again
A contrast value for each divided area is detected (step S8). Next, based on the thus obtained contrast value for each area, an area division calculation process in step S5 is performed. In step S6, area division is OK.
Is determined, a Q table for each divided area is obtained based on the contrast value for each divided area (step S9). Then, it waits until the trigger 2 (TRG2) button is turned “ON” (step S10),
When it is turned "ON", compression and recording operations to the memory are performed (step S11).

【0014】本発明をICカードカメラに適用したとき
のカメラ全体の構成図が図7に示されている。図7にお
いて、レンズ1を介してCCD2に結像された被写体像
は、電気信号に変換された後、撮像プロセス回路3でγ
補正等の所定の処理が施され、A/Dコンバータ(AD
C)4でデジタル信号に変換される。信号発生器(SS
G)回路17は、CCD2、撮像プロセス回路3および
A/Dコンバータ4を制御する信号を発生する回路であ
る。撮像プロセス回路3からの映像信号は、レンズAF
制御回路18に供給され、コントラスト情報が得られ
る。得られたコントラスト情報はシステム制御回路12
に供給される。また、このコントラスト情報に基づいて
レンズ駆動回路19はレンズ1を合焦すべくAF制御す
る。セレクタ5は、記録時、A/Dコンバータ4からの
デジタル画像データをRAM6に記録するような経路を
設定する。RAM6から読み出されたブロックデータ
(1画面を複数個のブロックに分割したときの各分割ブ
ロックについてのデータ)は、セレクタ7を介して圧縮
・伸長ユニット8に供給される。圧縮・伸長ユニット8
のDCT/IDCT回路81は、離散コサイン変換/逆
離散コサイン変換回路であり、ブロックデータを直交変
換処理する。直交変換されて得られた変換係数は、量子
化/逆量子化回路82で量子化された後、符号化/復号
化回路83で符号化される。
FIG. 7 is a block diagram of the entire camera when the present invention is applied to an IC card camera. In FIG. 7, the subject image formed on the CCD 2 via the lens 1 is converted into an electric signal, and then converted into an electric signal.
A predetermined process such as correction is performed, and the A / D converter (AD
C) It is converted into a digital signal in 4. Signal generator (SS
G) The circuit 17 is a circuit for generating signals for controlling the CCD 2, the imaging process circuit 3, and the A / D converter 4. The video signal from the imaging process circuit 3 is
The information is supplied to the control circuit 18 and contrast information is obtained. The obtained contrast information is transmitted to the system control circuit 12.
Supplied to Further, based on the contrast information, the lens drive circuit 19 performs AF control to focus the lens 1. The selector 5 sets a path for recording digital image data from the A / D converter 4 in the RAM 6 during recording. The block data read from the RAM 6 (data on each divided block when one screen is divided into a plurality of blocks) is supplied to the compression / decompression unit 8 via the selector 7. Compression / expansion unit 8
DCT / IDCT circuit 81 is a discrete cosine transform / inverse discrete cosine transform circuit, and performs an orthogonal transform process on block data. The transform coefficients obtained by the orthogonal transform are quantized by a quantization / dequantization circuit 82 and then encoded by an encoding / decoding circuit 83.

【0015】この圧縮・伸長ユニット8における符号化
等の処理は、システム制御回路12からの指示に基づい
て符号化制御回路13により制御される。すなわち、レ
ンズ・AF制御回路18から供給されるコントラスト情
報に基づいてシステム制御回路12は、図1のフローチ
ャートに示す動作、処理を行ない、各分割エリア毎に適
切なQテーブルを設定して、圧縮・伸長ユニット8にお
ける圧縮処理を制御する。システム制御回路12は、操
作部14からの各種操作、指示情報に基づく処理を行な
う。こうして、圧縮・伸長ユニット8で圧縮符号化され
た画像データは、セレクタ9を介して、カードインタフ
ェース(I/F)10に供給され、ICカード11に記
録される。システム制御回路12は、RAM6、セレク
タ7,9、圧縮・伸長ユニット8およびカードI/F1
0の動作を制御するもので、操作部14からの信号を受
けてカメラ全体の各種制御を行っている。
Processing such as encoding in the compression / decompression unit 8 is controlled by an encoding control circuit 13 based on an instruction from a system control circuit 12. That is, based on the contrast information supplied from the lens / AF control circuit 18, the system control circuit 12 performs the operations and processes shown in the flowchart of FIG. 1, sets an appropriate Q table for each divided area, and performs compression. Control the compression processing in the expansion unit 8. The system control circuit 12 performs various operations from the operation unit 14 and processes based on instruction information. The image data compression-encoded by the compression / decompression unit 8 is supplied to the card interface (I / F) 10 via the selector 9 and recorded on the IC card 11. The system control circuit 12 includes a RAM 6, selectors 7, 9, a compression / expansion unit 8, and a card I / F1.
0 controls the operation of the camera and receives various signals from the operation unit 14 to perform various controls of the entire camera.

【0016】図8には、コントラスト情報検出およびA
F制御系の構成ブロック図が示されている。撮像プロセ
ス回路3からの映像信号は、A/Dコンバータ4に接続
された出力端子部に供給されるとともに、レンズ・AF
制御回路18のバンドパスフィルタ(BPF)回路18
1に供給される。BPF回路181では、映像信号の所
定帯域信号が取り出され、輝度情報がA/Dコンバータ
182でデジタル信号に変換されて演算処理回路183
に出力される。演算処理回路183は、このデジタル信
号から各分割エリア毎のコントラスト情報を求め、シス
テム制御回路12に送出するとともに、レンズ駆動回路
19を構成するモータドライブ回路192に送出する。
モータドライブ回路192は、このコントラスト情報に
基づいてAF制御を行うべくモータ191を駆動してレ
ンズ1を移動させる。演算処理回路183で得られた分
割エリア毎のデータはバンドパスフィルタ回路181と
A/Dコンバータ182にも送出され、システム制御回
路12からの再度の最適分割形態決定のための指示信号
に応答して、次の分割エリアに対する演算が行なわれ
る。
FIG. 8 shows contrast information detection and A
The block diagram of the configuration of the F control system is shown. The video signal from the imaging process circuit 3 is supplied to an output terminal connected to the A / D converter 4 and the lens / AF
Bandpass filter (BPF) circuit 18 of control circuit 18
1 is supplied. The BPF circuit 181 extracts a predetermined band signal of the video signal, converts the luminance information into a digital signal by the A / D converter 182, and converts the luminance information into a digital signal.
Is output to The arithmetic processing circuit 183 obtains contrast information for each of the divided areas from the digital signal, sends it to the system control circuit 12, and sends it to the motor drive circuit 192 constituting the lens drive circuit 19.
The motor drive circuit 192 drives the motor 191 to move the lens 1 to perform AF control based on the contrast information. The data for each divided area obtained by the arithmetic processing circuit 183 is also sent to the band-pass filter circuit 181 and the A / D converter 182, and responds to the instruction signal from the system control circuit 12 for determining the optimum divided form again. Then, an operation is performed on the next divided area.

【0017】図9には、画像とコントラストとの関係が
示されている。図中、斜線部は暗部を示す。変化の少な
い画像(A1)の輝度信号変化は(A2)のようにな
り、この輝度信号をバンドパスフィルタを通過させる
と、(A3)に示す如く信号になる。これを両波整流し
て信号(A4)を得た後、積分して(A5)のような直
流レベル信号を得る。画像(A1)のような変化の少な
い画像については、基準レベル(点線レベル)からのレ
ベル差は小さい。一方、(B1)のような変化の大きい
画像に対する輝度変化は(B2)の如くなり、バンドパ
スフィルタを通過させて(B3)の信号を得る。両波整
流して(B4)信号を得た後、積分して(B5)の信号
を得る。このときの基準レベルとの差は大きい。
FIG. 9 shows the relationship between the image and the contrast. In the figure, hatched portions indicate dark portions. The change in the luminance signal of the image (A1) with little change is as shown in (A2). When this luminance signal is passed through a band-pass filter, it becomes a signal as shown in (A3). This is double-wave rectified to obtain a signal (A4) and then integrated to obtain a DC level signal as shown in (A5). For an image with little change, such as the image (A1), the level difference from the reference level (dotted level) is small. On the other hand, the luminance change for an image having a large change like (B1) is as shown in (B2), and the signal of (B3) is obtained by passing through a band-pass filter. After performing the both-wave rectification to obtain the signal (B4), the signal is integrated to obtain the signal (B5). The difference from the reference level at this time is large.

【0018】このように、最終的なコントラスト値のレ
ベルが小さいものは、変化の少ない画像であり、圧縮後
のデータ量は小さい。また、コントラスト値のレベルが
大きいものは変化の大きな画像であり、圧縮後のデータ
量は大きくなる。したがって、コントラスト値のレベル
が小さいものは圧縮率の高いQテーブルの値を使用しデ
ータ量を小さくすることができる。尚、本実施例では、
コントラスト値は、積分した値のレベルで判断している
が、輝度信号のパルスの高さやパルスの数で判断しても
良い。また、本発明は、ICカードカメラに限らず、画
像圧縮処理を伴う他の記録装置に適用できることは勿論
である。
As described above, an image having a small final contrast value level is an image with little change, and the data amount after compression is small. An image having a large contrast value level is an image having a large change, and the data amount after compression becomes large. Therefore, when the contrast level is low, the data amount can be reduced by using the value of the Q table having a high compression ratio. In this embodiment,
The contrast value is determined based on the level of the integrated value, but may be determined based on the pulse height or the number of pulses of the luminance signal. In addition, the present invention is not limited to the IC card camera, but can be applied to other recording apparatuses that perform image compression processing.

【0019】本発明における原画のエリア分割の他の形
態例が図10の(A)〜(C)に示されている。本実施
例は、予め複数種類の分割形態(パターン)を予め用意
しておき(例えば、CPUのROM上やコントラストを
求める演算処理回路上に)、各分割形態での演算を行な
って最適分割形態を決定する。(A)は4分割形態を、
(B)は9分割形態を、(C)は16分割形態をそれぞ
れ示す。(A)では、4分割の各分割エリアに被写体像
(山)が含まれているので4分割エリアすべてに(4/
4エリア)低い圧縮率での処理を施す必要があり、圧縮
データ量は多くなってしまう。また(C)の場合には、
16分割エリアのうち8エリアに被写体像が含まれてお
り、8/16エリアに低い圧縮率での処理を施す必要が
ある。一方、(B)の場合には、9分割エリアのうち4
エリアに被写体像が含まれ、4/9エリアに低い圧縮率
での処理を施せば済む。したがって、(B)のような9
分割形態によれば、高圧縮率での記録が可能なエリアの
面積が大きくなり、全体的に見て、データ量が少なくな
って、最適な分割形態であることがわかる。
Another example of the area division of the original image in the present invention is shown in FIGS. In the present embodiment, a plurality of types of division forms (patterns) are prepared in advance (for example, on a ROM of a CPU or on an arithmetic processing circuit for obtaining contrast), and an operation in each division form is performed to obtain an optimal division form. To determine. (A) shows a four-part mode,
(B) shows a 9-split mode, and (C) shows a 16-split mode. In (A), since the subject image (mountain) is included in each of the four divided areas, (4 /
4) Processing must be performed at a low compression ratio, and the amount of compressed data increases. In the case of (C),
The subject image is included in eight of the 16 divided areas, and it is necessary to perform processing at a low compression ratio on the 8/16 area. On the other hand, in the case of (B), 4 out of 9 divided areas are used.
The area may include the subject image, and the 4/9 area may be processed at a low compression ratio. Therefore, 9 as in (B)
According to the division mode, the area of the area where recording can be performed at a high compression ratio is increased, and the data amount is reduced as a whole, which indicates that the division mode is optimal.

【0020】以上の実施例では、エリア分割形態を変更
した場合は、再度、画像データからコントラスト値を演
算し直しているが、1画面分の細部ブロックエリアにお
けるコントラスト値と、位置情報をバッファメモリに記
憶させておいて処理を行なうことによって、高速処理を
可能とせしめることもできる。また、圧縮処理は、通
常、8×8画素ブロック等の画素単位ブロックについて
行なわれている、分割エリアも圧縮処理ブロック単位の
整数倍として設定すれば圧縮処理が容易となる。更に、
本発明は、上述ICカードカメラのようなデジタルカメ
ラに限らず任意の画像信号に対して適用可能であること
は勿論である。
In the above embodiment, when the area division mode is changed, the contrast value is calculated again from the image data. However, the contrast value and the position information in the detailed block area for one screen are stored in the buffer memory. In this case, high-speed processing can be performed by performing the processing while storing the information in the memory. The compression processing is usually performed on a pixel unit block such as an 8 × 8 pixel block. The compression processing is facilitated by setting the divided area as an integral multiple of the compression processing block unit. Furthermore,
The present invention is naturally applicable not only to a digital camera such as the above-mentioned IC card camera but also to any image signal.

【0021】[0021]

【発明の効果】以上説明したように、本発明による画像
記録装置は、画像を複数のエリアに分割し、隣接分割エ
リア間のコントラスト値を用いて分割エリア間の相関を
求め、得られた相関に基づいて分割形態を変更して、最
適な分割形態を定めることにより、画質の劣化を抑えつ
つ、最小限のデータ量で画像の圧縮、記録を可能とす
る。
As described above, the image recording apparatus according to the present invention divides an image into a plurality of areas, obtains a correlation between the divided areas using a contrast value between adjacent divided areas, and obtains the obtained correlation. By changing the division mode on the basis of, and determining the optimal division mode, it is possible to compress and record an image with a minimum amount of data while suppressing deterioration in image quality.

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

【図1】本発明による画像記録装置の一実施例を示す動
作処理手順を示すフローチャートである。
FIG. 1 is a flowchart showing an operation processing procedure showing an embodiment of an image recording apparatus according to the present invention.

【図2】本発明の実施例における画像の分割エリアと、
各分割エリアのコントラスト値のメモリへの記憶態様を
示す図である。
FIG. 2 shows a divided area of an image according to the embodiment of the present invention;
FIG. 6 is a diagram illustrating a manner of storing contrast values of respective divided areas in a memory.

【図3】本発明の実施例における原画の分割形態と各分
割エリアのコントラスト値の関係を示す図である。
FIG. 3 is a diagram illustrating a relationship between a division mode of an original image and a contrast value of each divided area according to the embodiment of the present invention.

【図4】本発明の実施例における原画の分割形態を説明
するための図である。
FIG. 4 is a diagram illustrating a division form of an original image according to the embodiment of the present invention.

【図5】本発明の実施例における原画の分割形態を説明
するための図である。
FIG. 5 is a diagram for explaining a division mode of an original image according to the embodiment of the present invention.

【図6】本発明の実施例における原画の分割形態と圧縮
率との関係を示す図である。
FIG. 6 is a diagram showing the relationship between the original image division mode and the compression ratio in the embodiment of the present invention.

【図7】本発明を適用したICカードカメラの全体構成
ブロック図である。
FIG. 7 is an overall configuration block diagram of an IC card camera to which the present invention is applied.

【図8】本発明の実施例におけるコントラスト情報の抽
出およびAF制御部の構成ブロック図である。
FIG. 8 is a configuration block diagram of a contrast information extraction and AF control unit according to the embodiment of the present invention.

【図9】変化の少ない画像と変化の大きい画像について
のコントラスト情報の変化を示す図である。
FIG. 9 is a diagram illustrating a change in contrast information for an image having a small change and an image having a large change.

【図10】本発明における原画の他の分割形態を示す図
である。
FIG. 10 is a diagram showing another division mode of the original image in the present invention.

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

1 レンズ 2 CC
D 3 撮像プロセス回路 4 A/
Dコンバータ 5,7,9 切換スイッチ 6 RA
M 8 圧縮・伸長ユニット 10 カー
ドインタフェース回路 11 ICカードメモリ 12 シス
テム制御回路 13 符号化制御回路 14 操作
部 15 再生プロセス回路 16 D/
Aコンバータ 17 信号発生回路 18 レン
ズ・AF制御回路 19 レンズ駆動回路
1 lens 2 CC
D 3 imaging process circuit 4 A /
D converter 5, 7, 9 selector switch 6 RA
M 8 compression / decompression unit 10 card interface circuit 11 IC card memory 12 system control circuit 13 encoding control circuit 14 operation unit 15 reproduction process circuit 16 D /
A converter 17 Signal generation circuit 18 Lens / AF control circuit 19 Lens drive circuit

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04N 1/41- 1/419 H04N 7/30 ──────────────────────────────────────────────────続 き Continued on front page (58) Field surveyed (Int.Cl. 7 , DB name) H04N 1 / 41-1 / 419 H04N 7/30

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】供給された画像信号に含まれる画像の鮮鋭
度を表わす情報に応じた圧縮率で上記供給された画像信
号に対する量子化処理を行なって被記録画像信号を得る
ようになされた画像記録装置であって、 上記画像に係る画枠内の領域を複数に分割するようにし
て設定された各領域毎に上記画像の鮮鋭度を表わす情報
を得、この各領域毎の画像の鮮鋭度を表わす情報の隣接
領域間での相関に基づいて所要に応じ上記領域の分割形
態を再設定しつつ最適な分割形態を選択するとともに、
この最適な分割形態での各分割領域毎に該各領域の画像
の鮮鋭度を表わす情報に相応した圧縮率での量子化処理
を行なって上記供給された画像信号から被記録画像信号
を得る手段と、上記手段で得られた被記録画像信号とともに、上記選択
された分割形態に係る画面構成情報を記録する記録手段
と、 を具備したことを特徴とする画像記録装置。
1. A sharp image included in a supplied image signal.
The supplied image signal at a compression ratio corresponding to the information representing the degree
Performs quantization processing on the signal to obtain a recorded image signal
An image recording apparatus configured as described above, wherein an area in an image frame related to the image is divided into a plurality of areas.
Indicating the sharpness of the image for each area set
And the adjacent information of the sharpness of the image for each region
Division of the above areas as necessary based on the correlation between the areas
While resetting the state, select the optimal division form,
For each divided area in this optimal division mode, the image of each area
Processing at a compression ratio corresponding to the information representing the sharpness of the image
From the supplied image signal to the recorded image signal
Means to obtainAlong with the recorded image signal obtained by the above means,
Recording means for recording screen configuration information according to the divided division mode
When,  An image recording apparatus comprising:
【請求項2】オートフォーカス動作を行う手段を更に有
し、 上記供給された画像信号に含まれる画像の鮮鋭度を表わ
す情報は、上記オートフォーカス動作が終了した時点の
情報からなることを特徴とする請求項1に記載の画像記
録装置。
(2)Further equipped with means for performing autofocus operation
And Represents the sharpness of the image contained in the supplied image signal
Information at the time when the above-mentioned auto focus operation ends.
2. The image recording apparatus according to claim 1, comprising information.
Recording device.
【請求項3】供給された画像信号に含まれる画像の鮮鋭
度を表わす情報に応じた圧縮率で上記供給された画像信
号に対する量子化処理を行なって被記録画像信号を得る
ようになされた画像記録装置であって、 上記画像に係る画枠内を複数領域に分割するについての
分割形態を予め複数通り設定し、この各通りの分割形態
毎の上記画枠内での各分割領域に対応する像の鮮鋭度を
表わす情報の分布状態に基づいて上記複数通りの分割形
態の中から最適な分割形態を選択し、この最適な分割形
態での各分割領域毎に該各領域の画像の鮮鋭度を表わす
情報に相応した圧縮率での量子化処理を行なって上記供
給された画像信号から被記録画像信号を得る手段を具備
したことを特徴とする画像記録装 置。
(3)Sharpness of the image contained in the supplied image signal
The supplied image signal at a compression ratio corresponding to the information representing the degree
Performs quantization processing on the signal to obtain a recorded image signal
An image recording apparatus configured as described above, About dividing the inside of the image frame related to the image into a plurality of regions
A plurality of division forms are set in advance, and each of these division forms
The sharpness of the image corresponding to each divided area within the above-mentioned image frame
Based on the distribution state of the information to represent
Select the optimal division form from the
Represents the sharpness of the image in each of the divided areas in the state
Performs quantization at a compression ratio corresponding to the information and
Means for obtaining a recorded image signal from the supplied image signal
Image recording device characterized by Place.
JP22108691A 1991-08-06 1991-08-06 Image recording device Expired - Fee Related JP3151244B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22108691A JP3151244B2 (en) 1991-08-06 1991-08-06 Image recording device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22108691A JP3151244B2 (en) 1991-08-06 1991-08-06 Image recording device

Publications (2)

Publication Number Publication Date
JPH0541806A JPH0541806A (en) 1993-02-19
JP3151244B2 true JP3151244B2 (en) 2001-04-03

Family

ID=16761272

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22108691A Expired - Fee Related JP3151244B2 (en) 1991-08-06 1991-08-06 Image recording device

Country Status (1)

Country Link
JP (1) JP3151244B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005109606A (en) * 2003-09-29 2005-04-21 Sony Corp Signal processing method, signal processing apparatus, recording apparatus, and reproducing apparatus
US10027960B2 (en) 2013-03-25 2018-07-17 Maxell, Ltd. Coding method and coding device
JP6402806B2 (en) * 2017-06-08 2018-10-10 株式会社ニコン Imaging device

Also Published As

Publication number Publication date
JPH0541806A (en) 1993-02-19

Similar Documents

Publication Publication Date Title
US7903162B2 (en) Electronic camera that display information representative of its selected mode
US7990434B2 (en) Digital camera for recording a still image while shooting a moving image
JP4350809B2 (en) Digital camera
US7889936B2 (en) Image forming apparatus and image forming method
JP3592025B2 (en) Captured image recording device
JP3151244B2 (en) Image recording device
JP3115912B2 (en) Image recording device
JP3406924B2 (en) Image processing apparatus and method
JP2000209590A (en) Image encoder, image encoding method, storage medium and image pickup device
JP2005341382A (en) Image processing apparatus, imaging apparatus, computer program and image processing method
JP3143159B2 (en) Image recording device
JP3037961B2 (en) Electronic camera device and image data encoding device
JP4430731B2 (en) Digital camera and photographing method
JP3877538B2 (en) Digital camera
JPH09186919A (en) Image pickup device
JP3192133B2 (en) Electronic camera device
JPH04238477A (en) Control method for picture data compression/storage device
JP2001245299A (en) Image processing unit and image processing method
JPH0530471A (en) Picture recorder
JPH04332281A (en) Electronic camera and picture signal compressor
JPH06276476A (en) Electronic still camera device
JP2005260735A (en) Digital camera
JPH06141215A (en) Digital electronic still camera

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20001219

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

Free format text: PAYMENT UNTIL: 20080119

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090119

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090119

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100119

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110119

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees