JP3109855B2 - Electronic camera, image signal compression apparatus and method - Google Patents

Electronic camera, image signal compression apparatus and method

Info

Publication number
JP3109855B2
JP3109855B2 JP10263191A JP10263191A JP3109855B2 JP 3109855 B2 JP3109855 B2 JP 3109855B2 JP 10263191 A JP10263191 A JP 10263191A JP 10263191 A JP10263191 A JP 10263191A JP 3109855 B2 JP3109855 B2 JP 3109855B2
Authority
JP
Japan
Prior art keywords
image signal
compression
image
subject
unit
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
JP10263191A
Other languages
Japanese (ja)
Other versions
JPH04332281A (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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP10263191A priority Critical patent/JP3109855B2/en
Publication of JPH04332281A publication Critical patent/JPH04332281A/en
Application granted granted Critical
Publication of JP3109855B2 publication Critical patent/JP3109855B2/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 electronic camera for electrically processing an image signal obtained by an image sensor and recording the image signal on a recording medium, an image signal compression apparatus for compressing the image signal, and a method therefor.

【0002】[0002]

【従来の技術】最近、電子カメラにおいて、記録媒体と
して半導体メモリを搭載したメモリカードを使用し、前
記メモリカードに静止画像信号を記録するデジタル電子
カメラが考えられている。
2. Description of the Related Art Recently, there has been proposed a digital electronic camera which uses a memory card having a semiconductor memory as a recording medium and records a still image signal on the memory card.

【0003】これはCCD等の固体撮像素子によって電
気信号に変換された映像信号をデジタル信号処理した
後、メモリカードに記録し、再生機において前記メモリ
カードからデジタル画像信号を読み出し、再生信号処理
を行った後、モニターに出力するというシステムであ
る。
[0003] In this method, after a video signal converted into an electric signal by a solid-state imaging device such as a CCD is digitally processed, it is recorded on a memory card, and a digital image signal is read out from the memory card by a reproducing machine to process the reproduced signal. After performing, it is a system that outputs to the monitor.

【0004】画像をデジタル記録するとデータ量は増大
する。具体的に一画面に必要なデータ量を計算すると、
撮像素子の画素数を水平方向768(4fscでサンプリ
ング)、垂直方向480とし、各画素の量子化ビット数
を8ビット、各色差情報を輝度情報の1/2のデータ量
とすると一画面のデータ量は約6Mビットとなる。
When an image is digitally recorded, the amount of data increases. Specifically, calculating the amount of data required for one screen,
Assuming that the number of pixels of the image sensor is 768 in the horizontal direction (sampled at 4 fsc) and 480 in the vertical direction, the quantization bit number of each pixel is 8 bits, and each color difference information is a data amount of 輝 度 of the luminance information, the data of one screen. The amount will be about 6 Mbits.

【0005】たとえばメモリカードのメモリ容量を12
Mビットとすると撮影できる枚数は2枚となってしま
う。そのためデータ量を削減するためにDCT(離散コ
サイン変換)等の画像圧縮技術が利用されている。この
画像圧縮技術を利用することによって一画面当たりのデ
ータ量を非圧縮時の1/2〜1/8のデータ量に圧縮処
理し、撮影枚数を増やしていた。
For example, if the memory capacity of a memory card is 12
If M bits are used, the number of images that can be taken is two. Therefore, image compression techniques such as DCT (Discrete Cosine Transform) are used to reduce the amount of data. By utilizing this image compression technique, the data amount per screen is compressed to 1/2 to 1/8 the data amount at the time of non-compression, thereby increasing the number of photographed images.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、周知の
通り圧縮率と画質は相反関係にあり、圧縮率を上げれば
記憶枚数も上げることができるが画質劣化するためにむ
やみに圧縮率を上げることはできず、撮影シーンにも依
るが1/4〜1/8程度が圧縮の限界と考えられてい
る。
However, as is well known, the compression ratio and the image quality are in a reciprocal relationship. If the compression ratio is increased, the number of stored images can be increased, but the compression ratio cannot be increased unnecessarily because the image quality deteriorates. It is not possible, and depending on the shooting scene, the compression limit is considered to be about 1/4 to 1/8.

【0007】穂願発明は斯かる背景下において、一画面
に対するデータ量を削減することができ、且つ撮影者の
満足のいく画像を再現することができる電子カメラ及び
画像信号圧縮装置を提供することを目的としている。
Under such a background, the present invention provides an electronic camera and an image signal compression device capable of reducing the amount of data for one screen and reproducing an image satisfactory to a photographer. It is an object.

【0008】[0008]

【課題を解決するための手段】本発明に係わる電子カメ
ラは、被写体像を撮像し、画像信号を発生する撮像手段
と、前記撮像手段によって撮像された被写体との距離を
検出する被写体距離検出手段と、前記撮像手段の焦点距
離を検出する焦点距離検出手段と、前記撮像手段により
発生された画像信号を圧縮処理する圧縮手段と、前記被
写体距離検出手段及び前記焦点距離検出手段の出力に応
じて前記圧縮手段の圧縮率を制御する制御手段とを有す
ることを特徴とする。また、本発明に係わる画像信号圧
縮装置は、被写体像を撮像して得られた画像信号を入力
する入力手段と、前記画像信号中で前記被写体像の輪郭
部を判別する判別手段と、前記入力手段によって入力さ
れた画像信号を圧縮処理する圧縮手段と、前記圧縮手段
の圧縮率を制御する制御手段とを有し、前記制御手段
は、前記判別手段によって判別された輪郭部に囲まれた
内部領域の画像信号を判別し、前記内部領域の画像信号
の圧縮率を他の領域より低くなるように制御することを
特徴とする。また、本発明に係わる画像信号圧縮方法
は、被写体像を撮像して得られた画像信号を入力し、前
記画像信号中で前記被写体像の輪郭部を判別し、前記判
別された輪郭部に囲まれた内部領域の画像信号を判別
し、前記内部領域の画像信号の圧縮率を他の領域より低
くなるように前記入力された画像信号を圧縮処理するこ
とを特徴とする。
An electronic camera according to the present invention captures a subject image and generates an image signal, and a subject distance detection unit detects a distance between the subject captured by the imaging unit. A focal length detecting unit that detects a focal length of the imaging unit; a compressing unit that compresses an image signal generated by the imaging unit; and an output of the subject distance detecting unit and the focal length detecting unit. Control means for controlling a compression ratio of the compression means. Further, the image signal compression device according to the present invention includes: an input unit that inputs an image signal obtained by capturing a subject image; a determination unit that determines a contour of the subject image in the image signal; Compression means for compressing the image signal input by the means, and control means for controlling a compression ratio of the compression means, wherein the control means comprises an interior surrounded by a contour determined by the determination means. The image signal of the area is determined, and the compression ratio of the image signal of the internal area is controlled to be lower than that of other areas. Further, the image signal compression method according to the present invention is such that an image signal obtained by imaging a subject image is input, a contour portion of the subject image is determined in the image signal, and the contour portion is surrounded by the determined contour portion. Determining the image signal of the internal region obtained, and compressing the input image signal so that the compression ratio of the image signal of the internal region is lower than that of the other regions.

【0009】[0009]

【0010】[0010]

【実施例】以下、本発明にかかる実施例を図1〜3を用
いて詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment according to the present invention will be described below in detail with reference to FIGS.

【0011】まず本実施例の基本的な考え方を説明す
る。
First, the basic concept of this embodiment will be described.

【0012】一般的な撮影シーンを考えると、 (1)背景(バック)の中に撮影者が撮りたいと意図し
た被写体(人物、車、家、花等)が存在するシーン (2)全体が撮影者が取りたいと意図した被写体(風景
等)であるシーンの大きく2つに大別される。
Considering a general photographing scene, (1) a scene in which a subject (person, car, house, flower, etc.) that the photographer intends to photograph exists in the background (back); Scenes that are subjects (landscapes and the like) intended by the photographer are roughly classified into two scenes.

【0013】(1)の撮影シーンの場合は撮影画面の中
にはそれほど細かく忠実に記録再生しなくてもよい部分
が存在する。つまり撮影者が撮りたいと意図した主被写
体に相当する部分以外は圧縮率を上げても主被写体の画
質はおちないので問題はない。また、上記処理を行なう
ことによりデータ量を削減することができる。
In the case of the shooting scene (1), there is a portion in the shooting screen that does not need to be recorded and reproduced so precisely. That is, there is no problem because the image quality of the main subject does not deteriorate even if the compression ratio is increased, except for the portion corresponding to the main subject that the photographer intends to take. Further, by performing the above processing, the data amount can be reduced.

【0014】図1は、本実施例にかかる電子スチルカメ
ラのブロック図、図2は図1の装置で記憶した画像信号
を再生するブロック図、図3は圧縮動作を説明するため
の図、図4は圧縮モードの決定方法を説明するための図
である。
FIG. 1 is a block diagram of an electronic still camera according to the present embodiment, FIG. 2 is a block diagram for reproducing an image signal stored by the apparatus of FIG. 1, and FIG. 3 is a diagram for explaining a compression operation. FIG. 4 is a diagram for explaining a compression mode determination method.

【0015】図1において、1は被写体、2はフォーカ
スレンズ、ズームレンズ等を有する光学系、3は光学系
2のフォーカスレンズを動かすためのフォーカス制御用
モータ、4は光学系2のズームレンズを動かすためのズ
ーム制御用モータ、5は被写体1のカメラとの距離を測
距する被写体距離検出部、6はCCD等の撮像素子、7
は画像信号処理部で、撮像素子6から出力される画像信
号(純色フィルターの時はR、G、B、補色フィルター
の時はYe ,Mg ,Gr 信号)の視感度補正等を行い、
輝度・2色差(Y、R−Y、B−Y)信号に変換する。
In FIG. 1, reference numeral 1 denotes an object, 2 denotes an optical system having a focus lens, a zoom lens, etc., 3 denotes a focus control motor for moving the focus lens of the optical system 2, and 4 denotes a zoom lens of the optical system 2. A zoom control motor for moving, a subject distance detecting unit 5 for measuring a distance of the subject 1 from the camera, 6 an image sensor such as a CCD, 7
Denotes an image signal processing unit which performs visibility correction of image signals (R, G, B for a pure color filter and Ye, Mg, Gr signals for a complementary color filter) output from the image sensor 6,
It is converted into a luminance / two-color difference (Y, RY, BY) signal.

【0016】8a、8b及び8cは夫々Y、R−Y及び
B−Y信号に対応するA/D変換器であり、アナログ画
像信号をデジタル画像信号に変換する。
A / D converters 8a, 8b and 8c corresponding to the Y, RY and BY signals respectively convert analog image signals into digital image signals.

【0017】9a、9b及び9cは夫々Y、R−Y及び
B−Y信号に対応するバッファメモリ、10はスイッチ
であり、10a、10b及び10cの接点を有し、シス
テム制御部13により切換制御されている。
Reference numerals 9a, 9b and 9c denote buffer memories corresponding to the Y, RY and BY signals, respectively. Reference numeral 10 denotes a switch, which has contacts 10a, 10b and 10c. Have been.

【0018】11は画像圧縮部であり、一画面を8×8
のブロックに分割して更に各ブロック毎にDCT(Di
screte Cosine Transform)変
換を用いて周知の画像圧縮を行う。
Reference numeral 11 denotes an image compression unit, which converts one screen into 8 × 8.
, And further divide each block by DCT (Di
A well-known image compression is performed by using a "crate cosine transform".

【0019】12はメモリカード、13はシステム制御
部、14は輪郭抽出部であり、輝度信号の急激な変化点
を検出し撮像素子6に結像した被写体1の輪郭を抽出す
る。
Reference numeral 12 denotes a memory card, 13 denotes a system control unit, and 14 denotes an outline extraction unit, which detects a sharp change point of the luminance signal and extracts the outline of the subject 1 formed on the image sensor 6.

【0020】15は焦点距離を検出する焦点距離検出
部、16はカメラの撮影のためのレリーズスイッチ、1
7はレリーズスイッチ16の第1ストロークでオンする
スイッチ、18はレリーズスイッチ16の第2ストロー
クでオンするスイッチである。
Reference numeral 15 denotes a focal length detecting unit for detecting a focal length, 16 denotes a release switch for photographing by a camera, 1
Reference numeral 7 denotes a switch that is turned on by the first stroke of the release switch 16, and reference numeral 18 denotes a switch that is turned on by the second stroke of the release switch 16.

【0021】上述のように構成された電子カメラの記録
動作について詳細に説明する。
The recording operation of the electronic camera configured as described above will be described in detail.

【0022】前記レリーズスイッチ16を第1のストロ
ークまで押圧するとスイッチ17がオンし、これに応答
してシステム制御部13はカメラの内部装置各部に電源
を供給する。
When the release switch 16 is pressed to the first stroke, the switch 17 is turned on, and in response to this, the system control unit 13 supplies power to various parts of the internal device of the camera.

【0023】被写体1の像は光学系2を介して被写体距
離検出部5に結像し、前記検出部5では前記被写体1の
光学像を電気信号に変換し、その信号に所定の演算処理
を行って、被写体との距離情報を算出する。前記距離情
報はシステム制御部13に入力され、前記制御部13は
その入力された情報を基に、フォーカス制御モータ3を
制御してフォーカスを行う。
The image of the subject 1 is formed on the subject distance detecting section 5 via the optical system 2, and the detecting section 5 converts the optical image of the subject 1 into an electric signal, and performs a predetermined arithmetic processing on the signal. Then, distance information to the subject is calculated. The distance information is input to the system control unit 13, and the control unit 13 controls the focus control motor 3 to perform focusing based on the input information.

【0024】次にカメラに設けられている不図示のズー
ムスイッチを操作することに依ってズーム制御モータ4
を制御し、焦点距離を変化させて被写体1の画像の画角
サイズを変化し(ワイド〜テレ)、撮影者の意図した撮
影シーンを作る。尚、焦点距離を変化させた場合、光学
系2の構造によりフォーカス制御を行わなければならな
い場合と、行わなくてもよい場合とがあるが本実施例で
は行なわなくてもよい場合を想定している。
Next, a zoom control motor 4 is operated by operating a zoom switch (not shown) provided on the camera.
To change the focal length to change the angle of view of the image of the subject 1 (wide to tele), thereby creating a shooting scene intended by the photographer. When the focal length is changed, there are cases where focus control must be performed depending on the structure of the optical system 2 and cases where it is not necessary to perform focus control. I have.

【0025】次に、撮影者が決定した前記画角サイズに
て被写体1を撮影記録する時は不図示のレリーズスイッ
チ16を第2ストロークまで押圧する。これに伴ってス
イッチ18がオンすることでシステム制御部13は以下
の様にカメラ各部を制御する。
Next, when photographing and recording the subject 1 at the angle of view determined by the photographer, the release switch 16 (not shown) is pressed to the second stroke. When the switch 18 is turned on in conjunction with this, the system control unit 13 controls each unit of the camera as follows.

【0026】撮像素子6は被写体1の光学像を電気信号
として出力し、前記信号は信号処理部7で視感度補正及
びカラーバランス制御等が行なわれて、輝度信号(Y)
及び2つの色差信号(R−Y、B−Y)を生成し出力す
る。
The image pickup element 6 outputs an optical image of the subject 1 as an electric signal, and the signal is subjected to luminosity correction, color balance control, and the like by a signal processing section 7 to obtain a luminance signal (Y).
And two color difference signals (RY, BY) are generated and output.

【0027】前記生成された映像信号はA/D変換器8
a、8b及び8cは夫々映像信号Y、R−Y及びB−Y
信号を対応するデジタル信号に変換して、その出力はY
信号はバッファメモリ9a、R−Y信号はバッファメモ
リ9b、BーY信号はバッファメモリ9cに記憶され
る。
The generated video signal is supplied to an A / D converter 8
a, 8b and 8c are video signals Y, RY and BY, respectively.
The signal is converted to a corresponding digital signal, and the output is Y
The signal is stored in the buffer memory 9a, the RY signal is stored in the buffer memory 9b, and the BY signal is stored in the buffer memory 9c.

【0028】次にバッファメモリに記憶された信号はシ
ステム制御部13に制御されているスイッチ10を切り
換えることに依って夫々の信号を順次読み出し画像圧縮
部11に入力される。
Next, the signals stored in the buffer memory are sequentially read out by switching a switch 10 controlled by the system control unit 13 and input to the image compression unit 11.

【0029】画像圧縮部11では後述するシステム制御
部13からの圧縮率に関する情報に基づきDCT変換を
用いて周知の画像圧縮処理が行なわれる。
The image compression section 11 performs a well-known image compression process using DCT based on information on a compression ratio from a system control section 13 described later.

【0030】該圧縮処理によって圧縮された画像信号は
メモリカード12に記録される。
The image signal compressed by the compression processing is recorded on the memory card 12.

【0031】尚、スイッチ10の接点切換は、まず初期
状態ではスイッチ10は接点10aに接続されている。
Y信号の圧縮処理が施され、更に圧縮されたY信号のメ
モリカード12への記憶処理が終了したら接点10aか
ら接点10bに切り換えられる。次にR−Y信号の圧縮
処理が施され、更に圧縮されたR−Y信号のメモリカー
ド12への記憶処理が終了したら接点10bから接点1
0cに切り換えられる。次にB−Y信号も同様な処理が
行われ終了したら接点10cから10aに切り換わり前
述の処理を順次繰り返し行われる。
In the contact switching of the switch 10, first, in an initial state, the switch 10 is connected to the contact 10a.
The compression processing of the Y signal is performed, and when the processing of storing the compressed Y signal in the memory card 12 is completed, the contact is switched from the contact 10a to the contact 10b. Next, the compression processing of the RY signal is performed, and when the processing of storing the compressed RY signal in the memory card 12 is completed, the contacts 10b to 1
0c. Next, when the same process is performed on the BY signal, the contact is switched from the contact 10c to the contact 10a when the process is completed, and the above-described process is sequentially repeated.

【0032】また、圧縮率に関する情報もシステム制御
部13より出力されてメモリカードに記録される。
Information on the compression ratio is also output from the system control unit 13 and recorded on the memory card.

【0033】次に本実施例における圧縮について詳細に
説明する。
Next, compression in this embodiment will be described in detail.

【0034】撮影シーンには前述したが、 (1)背景(バック)の中に撮影者が撮りたいと意図し
た被写体(人物、車、家、花等)が存在するシーン (2)全体が撮影者が撮りたいと意図した被写体(風景
等)であるシーンの大きく2つに大別される。
The shooting scene has been described above. (1) A scene in which a subject (person, car, house, flower, etc.) that the photographer intends to shoot exists in the background (back). Scenes that are objects (landscapes, etc.) that the user intends to take are roughly divided into two scenes.

【0035】(1)の撮影シーンの場合は撮影画面の中
にはそれほど細かく忠実に記録再生しなくてもよい部分
が存在する。つまり撮影者が撮りたいと意図した主被写
体(たとえば人物)に相当する部分以外は圧縮率を上げ
ても、主被写体の画質劣化ないので問題はなく、データ
量を削減することができる。
In the case of the shooting scene of (1), there is a portion which does not need to be recorded and reproduced so precisely in the shooting screen. In other words, even if the compression ratio is increased except for the portion corresponding to the main subject (for example, a person) that the photographer intends to take, there is no problem because the image quality of the main subject does not deteriorate, and the data amount can be reduced.

【0036】従って、圧縮モードは(A)一画面を一率
の圧縮率で圧縮をかけるモード(撮影シーン(2)に対
応)、(B)一画面を複数の領域(グループ)に分割
し、前記領域毎に平均圧縮率を変化させて圧縮をかける
モード、具体的に言えば被写体部分は低圧縮、それ以外
の部分は高圧縮を行なうモード(撮影シーン(1)に対
応)との二つに分ける。
Therefore, the compression mode is (A) a mode in which one screen is compressed at a certain compression ratio (corresponding to the shooting scene (2)), and (B) one screen is divided into a plurality of areas (groups). A mode in which the average compression ratio is changed for each of the regions to perform compression, specifically, a mode in which the subject portion is subjected to low compression and the other portions are subjected to high compression (corresponding to the shooting scene (1)). Divided into

【0037】圧縮モードの判断方法を以下に述べる。The method of determining the compression mode will be described below.

【0038】図4は圧縮モードの決定方法を説明するた
めの図であり、同図中の斜線部分に焦点距離と被写体距
離の関係があれば前述した(A)モードの圧縮を行う。
また同図中の白抜き部分は(B)モードの圧縮を行う。
尚、図4中のf0 〜f1 間はカメラの持つ焦点距離範囲
である。
FIG. 4 is a diagram for explaining a method of determining the compression mode. If the relationship between the focal length and the subject distance is indicated by the hatched portion in FIG. 4, the compression in the mode (A) is performed.
Also, the white portion in FIG. 11 performs the compression in the (B) mode.
The range between f0 and f1 in FIG. 4 is the focal length range of the camera.

【0039】被写体距離がD0 〜D1 間の斜線部分と白
抜き部分の境界線は、所望とする被写体の大きさが同一
である線に対応しており、この境界線上では f=kD→D/f=1/k=const (k:係数) の関係が成り立つ。
The boundary between the hatched portion and the white portion where the subject distance is between D0 and D1 corresponds to the line where the size of the desired subject is the same. On this boundary line, f = kD → D / The relationship of f = 1 / k = const (k: coefficient) is established.

【0040】つまり、(a)被写体距離がD1 以上の場
合、(b)焦点距離がf0 以下の場合、(c)f≦kD
→D/f≧1/kの関係が成り立っている場合、の以上
3つの場合の時は(A)モードの圧縮を行い、他の場合
は(B)モードの圧縮を行う。
That is, (a) when the subject distance is equal to or more than D1, (b) when the focal length is equal to or less than f0, (c) f ≦ kD
If the relationship of D / f ≧ 1 / k holds, the compression in the (A) mode is performed in the above three cases, and the compression in the (B) mode is performed in other cases.

【0041】尚、前記f0 ,f1 ,D0 ,D1 ,kの値
はカメラに取り付けてある光学系によって異なる。
The values of f0, f1, D0, D1, and k differ depending on the optical system mounted on the camera.

【0042】次に圧縮の制御方法を説明する。Next, a compression control method will be described.

【0043】システム制御部13には図4の斜線領域の
データが記憶されており、被写体距離検出部5からの被
写体距離データ、焦点距離検出部15の焦点距離データ
はシステム制御部13に入力されるので、システム制御
部13は前記被写体距離及び焦点距離データを基に圧縮
モードを決定する。
4 is stored in the system control unit 13. The subject distance data from the subject distance detection unit 5 and the focal length data from the focal length detection unit 15 are input to the system control unit 13. Therefore, the system control unit 13 determines the compression mode based on the subject distance and the focal length data.

【0044】(a)、(b)及び(c)のいずれかの条
件を満たしていると判断された場合はシステム制御部1
3は画像圧縮部11に上述の(A)モードの圧縮を行な
わしめる。
If it is determined that any one of the conditions (a), (b) and (c) is satisfied, the system controller 1
3 causes the image compression unit 11 to perform the above-described (A) mode compression.

【0045】次に(a)、(b)及び(c)のいずれの
条件にも合わない場合はシステム制御部13は上述の
(B)モードの圧縮を行なわしめる。
Next, if none of the conditions (a), (b) and (c) is satisfied, the system control unit 13 performs the above-mentioned (B) mode compression.

【0046】一方、図1においてA/D変換器8aから
出力されているデジタル化した輝度信号を輪郭抽出部1
4に入力してデジタル信号の急激な変化点を抽出させ
る。即ち被写体1の輪郭部分の領域(ブロックグルー
プ)を抽出し、そのデータをシステム制御部13に伝達
する。
On the other hand, the digitized luminance signal output from the A / D converter 8a in FIG.
4 to extract a sharp change point of the digital signal. That is, an area (block group) of the contour portion of the subject 1 is extracted, and the data is transmitted to the system control unit 13.

【0047】システム制御部13は前記輪郭抽出データ
を基に被写体1の輪郭部の領域及びその内部領域を判断
し、これらの領域は圧縮率を下げ、それ以外の領域は圧
縮率を上げる命令を画像圧縮部11に伝達する。
The system control unit 13 determines the contour area of the subject 1 and its internal area based on the contour extraction data, and issues a command to lower the compression ratio in these areas and to increase the compression rate in other areas. The information is transmitted to the image compression unit 11.

【0048】図3を用いて更に具体的に説明する。This will be described more specifically with reference to FIG.

【0049】図3において、図1中の撮像素子6に結像
した被写体1の像を縦8分割、横8分割の計64領域に
分割したものである。
In FIG. 3, the image of the subject 1 formed on the image pickup device 6 in FIG. 1 is divided into a total of 64 areas of 8 vertical divisions and 8 horizontal divisions.

【0050】また圧縮モードはこの64領域に分割した
領域毎に決定され、圧縮そのものは各領域中の(8×
8)画素のブロック単位で行なわれる。
The compression mode is determined for each of the 64 areas, and the compression itself is (8 × 8) in each area.
8) Performed in units of pixel blocks.

【0051】輪郭抽出部14によって得られたデータを
基にシステム制御部13では輪郭部分及び輪郭の内側に
あるすべての領域を選び出す。
Based on the data obtained by the contour extraction unit 14, the system control unit 13 selects the contour part and all the regions inside the contour.

【0052】即ち図3を例に撮れば、抽出される領域は
0D,0E,1D,1E,1F,2D,2E,2F,3
B,3D,3E,3F,4A,4B,4c,4E,5
A,5B,5C,5E,6A,6B,6C,6E,7E
の計25領域となる。
That is, taking FIG. 3 as an example, the regions to be extracted are 0D, 0E, 1D, 1E, 1F, 2D, 2E, 2F, 3
B, 3D, 3E, 3F, 4A, 4B, 4c, 4E, 5
A, 5B, 5C, 5E, 6A, 6B, 6C, 6E, 7E
25 areas in total.

【0053】従ってシステム制御部13は前記25領域
の平均圧縮率を下げ、その他の領域の平均圧縮率を上げ
るように画像圧縮部11を制御する。
Accordingly, the system control unit 13 controls the image compression unit 11 so as to lower the average compression ratio of the 25 regions and increase the average compression ratio of the other regions.

【0054】また各領域に対応する圧縮率のデータはシ
ステム制御部13よりメモリカード12に記憶される。
The data of the compression ratio corresponding to each area is stored in the memory card 12 by the system control unit 13.

【0055】前記25領域の平均圧縮率を画質劣化の少
ない1/8とし他の領域の圧縮率を1/16とした場合
の圧縮された総ビット数は約0.5Mビットとなる。
When the average compression ratio of the 25 regions is 1/8 with little image quality degradation and the compression ratio of the other regions is 1/16, the total number of compressed bits is about 0.5 Mbit.

【0056】他方、一様の圧縮率で一画面を1/4に圧
縮した時の総ビット数は約0.75Mビットとなり、こ
れと比較すると約2/3にデータ量は減少することにな
る。
On the other hand, when one screen is compressed to 1/4 at a uniform compression ratio, the total number of bits is about 0.75 Mbit, and the data amount is reduced to about 2/3 in comparison with this. .

【0057】また、一般的な撮影シーンを考えると主被
写体(撮影者が一番撮りたい被写体)は画面の中心に位
置する、図3においては人物が主被写体と考えられる。
輪郭検出部14の検出データによりシステム制御部13
は人物が存在しない領域(3B,4A,4B,4C,5
A,5B,5C,6A,6B,6C)も検出しているの
で、更にデータ量を削減しようとする場合、輪郭検出部
14により主被写体(画角の中心付近で検出された領
域)以外の領域が検出された時は主被写体部分は圧縮を
下げて(例えば非圧縮時の1/4)、それ以外で輪郭が
検出された領域は圧縮率を上げ(例えば非圧縮時の1/
8)、更にそれ以外の領域は更に圧縮率を上げる(例え
ば非圧縮時の1/16)ようにすることにより主被写体
の画質劣化を極力抑えることも可能である。
Further, considering a general photographing scene, the main subject (the subject that the photographer wants to take the most) is located at the center of the screen. In FIG. 3, a person is considered as the main subject.
The system control unit 13 is operated based on the detection data of the contour detection unit 14.
Are areas where no person exists (3B, 4A, 4B, 4C, 5
A, 5B, 5C, 6A, 6B, and 6C) are also detected. Therefore, when the data amount is to be further reduced, the contour detection unit 14 detects an area other than the main subject (the area detected near the center of the angle of view). When an area is detected, the compression of the main subject portion is reduced (for example, 1/4 of the time of non-compression), and the compression ratio is increased for other areas where the contour is detected (for example, 1/4 of the time of non-compression).
8) By further increasing the compression ratio (for example, 1/16 of the uncompressed state) in other areas, it is possible to suppress the image quality deterioration of the main subject as much as possible.

【0058】図2は図1の装置で記憶された画像信号を
再生するための装置構成図である。12は図1の装置で
画像信号が記憶されたメモリカード、20は装置の各部
を制御するシステム制御部、21は伸張処理部、22は
スイッチであり、22a〜22cの切換接点を持ちシス
テム制御部20により制御されている。
FIG. 2 is a block diagram of an apparatus for reproducing an image signal stored in the apparatus of FIG. 12 is a memory card in which image signals are stored in the apparatus of FIG. 1, 20 is a system control section for controlling each section of the apparatus, 21 is a decompression processing section, 22 is a switch, which has switching contacts 22a to 22c and has a system control. It is controlled by the unit 20.

【0059】23a〜23cはバッファメモリで、これ
は輝度信号(Y)と2つの色差信号(R−Y,B−Y)
のメモりである。
Reference numerals 23a to 23c denote buffer memories which are a luminance signal (Y) and two color difference signals (RY, BY).
It is a memo.

【0060】24a〜24cはD/A変換器で、夫々
Y,R−Y及びB−Y信号に対応している。
Reference numerals 24a to 24c denote D / A converters corresponding to the Y, RY and BY signals, respectively.

【0061】25はビデオエンコーダで前記D/A変換
器24a〜24cから出力される信号を合成してビデオ
信号としてビデオ出力端子26に出力する。
Reference numeral 25 denotes a video encoder for synthesizing the signals output from the D / A converters 24a to 24c and outputting the synthesized signal to a video output terminal 26 as a video signal.

【0062】以上のように構成された再生装置で、再生
動作を詳細に説明する。
The reproducing operation of the reproducing apparatus configured as described above will be described in detail.

【0063】再生スイッチ19が操作されるとシステム
制御部20は各部に電源を供給し、図1のカメラ装置で
記憶された画像信号の被圧縮データ及びその各領域毎の
圧縮率データがメモリカード12から読み出されてシス
テム制御部20に入力される。
When the reproduction switch 19 is operated, the system control section 20 supplies power to each section, and the compressed data of the image signal and the compression rate data for each area stored in the camera apparatus of FIG. 12 and input to the system control unit 20.

【0064】システム制御部20はそのデータを伸張処
理部21に伝達し、前記伸張処理部21は前記データを
基にメモリカード12が読み出されたビデオ信号を伸張
処理を施す。ここで伸張される順序はY、R−Y、B−
Y信号順序で行なわれ、その処理と連動してスイッチ2
2の接点の切換を行う。これにより伸張処理されたY、
R−Y及びB−Y信号は夫々バッファメモリ23a、2
3b及び23cに記憶される。
The system control unit 20 transmits the data to a decompression processing unit 21, and the decompression processing unit 21 performs a decompression process on the video signal read from the memory card 12 based on the data. Here, the expansion order is Y, RY, B-
The processing is performed in the Y signal order, and the switch 2
2 is switched. As a result, the expanded Y,
The RY and BY signals are stored in the buffer memories 23a and 23a, respectively.
3b and 23c.

【0065】バッファメモリ23に記憶された各信号は
夫々D/A変換器24a〜24cに入力されてデジタル
信号からアナログ信号に変換される。
Each signal stored in the buffer memory 23 is input to each of the D / A converters 24a to 24c and converted from a digital signal to an analog signal.

【0066】その後、アナログ信号に変換された各Y、
R−Y及びB−Y信号はビデオエンコーダ25に入力さ
れ、ビデオエンコーダ25にはシステム制御部20から
ビデオ同期信号が入力されているので前記同期信号を基
にY、R−Y及びB−Y信号を合成処理しビデオ信号と
してビデオ出力端子26に出力される。
After that, each Y,
The RY and BY signals are input to a video encoder 25. Since a video synchronization signal is input to the video encoder 25 from the system control unit 20, Y, RY, and BY are based on the synchronization signals. The signals are combined and output to the video output terminal 26 as a video signal.

【0067】ビデオ出力端子26に不図示のテレビモニ
ター等を接続すれば再生画像を見ることができる。
If a television monitor (not shown) or the like is connected to the video output terminal 26, a reproduced image can be viewed.

【0068】[0068]

【発明の効果】以上説明したように本願発明によれば、
撮影シーン等を判断して圧縮率を適応的に設定するの
で、一画面に対するデータ量を減らすことができ、一画
面に対するデータ量が従来と同一な場合であれば従来よ
りも視覚的に画質の向上を図ることができる。
As described above, according to the present invention,
Since the compression ratio is set adaptively by judging the shooting scene, etc., the data amount for one screen can be reduced. Improvement can be achieved.

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

【図1】本実施例にかかる電子スチルカメラのブロック
図である。
FIG. 1 is a block diagram of an electronic still camera according to an embodiment.

【図2】図1の装置で撮影記録した画像信号を再生する
装置のブロック図である。
FIG. 2 is a block diagram of a device for reproducing an image signal photographed and recorded by the device of FIG. 1;

【図3】本実施例にかかる圧縮動作を説明するための図
である。
FIG. 3 is a diagram for explaining a compression operation according to the embodiment;

【図4】本実施例にかかる圧縮モードの決定方法を説明
するための図である。
FIG. 4 is a diagram for explaining a compression mode determination method according to the embodiment;

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

5 被写体距離検出部 8a,8b,8c A/D変換器 11 圧縮処理部 12 メモリカード 13,20 システム制御部 14 輪郭検出部 15 焦点距離検出部 21 伸張処理部 24a,24b,24c D/A変換器 25 ビデオエンコーダ Reference Signs List 5 subject distance detection unit 8a, 8b, 8c A / D converter 11 compression processing unit 12 memory card 13, 20 system control unit 14 contour detection unit 15 focal length detection unit 21 extension processing unit 24a, 24b, 24c D / A conversion 25 Video encoder

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

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 被写体像を撮像し、画像信号を発生する
撮像手段と、 前記撮像手段によって撮像された被写体との距離を検出
する被写体距離検出手段と、 前記撮像手段の焦点距離を検出する焦点距離検出手段
と、 前記撮像手段により発生された画像信号を圧縮処理する
圧縮手段と、 前記被写体距離検出手段及び前記焦点距離検出手段の出
力に応じて前記圧縮手段の圧縮率を制御する制御手段と
を有することを特徴とする電子カメラ。
An imaging unit configured to capture a subject image and generate an image signal; a subject distance detection unit configured to detect a distance from the subject captured by the imaging unit; and a focus configured to detect a focal length of the imaging unit. Distance detecting means; compressing means for compressing an image signal generated by the image pickup means; control means for controlling a compression ratio of the compressing means according to outputs of the subject distance detecting means and the focal length detecting means; An electronic camera comprising:
【請求項2】 被写体像を撮像して得られた画像信号を
入力する入力手段と、 前記画像信号中で前記被写体像の輪郭部を判別する判別
手段と、 前記入力手段によって入力された画像信号を圧縮処理す
る圧縮手段と、 前記圧縮手段の圧縮率を制御する制御手段とを有し、 前記制御手段は、前記判別手段によって判別された輪郭
部に囲まれた内部領域の画像信号を判別し、前記内部領
域の画像信号の圧縮率を他の領域より低くなるように制
御することを特徴とする画像信号圧縮装置。
2. An input unit for inputting an image signal obtained by capturing a subject image, a determining unit for determining a contour of the subject image in the image signal, and an image signal input by the input unit And a control unit for controlling a compression ratio of the compression unit. The control unit determines an image signal of an internal region surrounded by the contour determined by the determination unit. An image signal compression apparatus for controlling a compression ratio of an image signal in the internal area to be lower than that in another area.
【請求項3】 前記圧縮手段によって圧縮された画像信
号を記録媒体に記録する記録手段を更に有することを特
徴とする請求項2に記載の画像信号圧縮装置。
3. The image signal compression apparatus according to claim 2, further comprising recording means for recording the image signal compressed by said compression means on a recording medium.
【請求項4】 被写体像を撮像して得られた画像信号を
入力し、 前記画像信号中で前記被写体像の輪郭部を判別し、 前記判別された輪郭部に囲まれた内部領域の画像信号を
判別し、 前記内部領域の画像信号の圧縮率を他の領域より低くな
るように前記入力された画像信号を圧縮処理することを
特徴とする画像信号圧縮方法。
4. An image signal obtained by capturing an image of a subject is input, a contour of the subject image is determined in the image signal, and an image signal of an internal area surrounded by the determined contour is provided. And compressing the input image signal so that the compression rate of the image signal in the internal area is lower than that of the other areas.
【請求項5】 前記圧縮処理された画象信号を記録媒体
に記録することを特徴とする請求項4に記載の画像信号
圧縮方法。
5. The image signal compression method according to claim 4, wherein the compressed image signal is recorded on a recording medium.
JP10263191A 1991-05-08 1991-05-08 Electronic camera, image signal compression apparatus and method Expired - Fee Related JP3109855B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10263191A JP3109855B2 (en) 1991-05-08 1991-05-08 Electronic camera, image signal compression apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10263191A JP3109855B2 (en) 1991-05-08 1991-05-08 Electronic camera, image signal compression apparatus and method

Publications (2)

Publication Number Publication Date
JPH04332281A JPH04332281A (en) 1992-11-19
JP3109855B2 true JP3109855B2 (en) 2000-11-20

Family

ID=14332590

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10263191A Expired - Fee Related JP3109855B2 (en) 1991-05-08 1991-05-08 Electronic camera, image signal compression apparatus and method

Country Status (1)

Country Link
JP (1) JP3109855B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6111605A (en) 1995-11-06 2000-08-29 Ricoh Company Limited Digital still video camera, image data output system for digital still video camera, frame for data relay for digital still video camera, data transfer system for digital still video camera, and image regenerating apparatus

Also Published As

Publication number Publication date
JPH04332281A (en) 1992-11-19

Similar Documents

Publication Publication Date Title
US8120672B2 (en) Digital camera for recording a still image while shooting a moving image
US9560256B2 (en) Image capture apparatus and image capture method in which an image is processed by a plurality of image processing devices
JPH06253251A (en) Digital electronic camera device
JPH07312714A (en) Electronic still camera
JP3311715B2 (en) Digital camera
US7050095B2 (en) Method and apparatus for image processing using a template image
US20010024234A1 (en) Digital camera
KR100322186B1 (en) Photographing device and method capable of changing an image size
JP4164928B2 (en) Image signal processing device
JP2003134386A (en) Imaging apparatus and method therefor
JPH03230691A (en) Digital electronic still camera
JP3109855B2 (en) Electronic camera, image signal compression apparatus and method
JP3406924B2 (en) Image processing apparatus and method
JP4256028B2 (en) Compression encoding apparatus and method
JP3115912B2 (en) Image recording device
JPH07131721A (en) Digital still camera
KR100245028B1 (en) Digital still camera with panorama function
JP3151244B2 (en) Image recording device
JPH0686130A (en) Picture processor
JP5463782B2 (en) Electronic camera
JP2000115605A (en) Digital camera
JP2003274365A (en) Digital still camera
JP2005260735A (en) Digital camera
JPH02301293A (en) Electronic still camera
JPH10136242A (en) Digital 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: 20000829

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

Free format text: PAYMENT UNTIL: 20070914

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20080914

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090914

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090914

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100914

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees