JPH0385891A - Digital camera - Google Patents

Digital camera

Info

Publication number
JPH0385891A
JPH0385891A JP1221993A JP22199389A JPH0385891A JP H0385891 A JPH0385891 A JP H0385891A JP 1221993 A JP1221993 A JP 1221993A JP 22199389 A JP22199389 A JP 22199389A JP H0385891 A JPH0385891 A JP H0385891A
Authority
JP
Japan
Prior art keywords
subframe
memory
signal
output
subframes
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
JP1221993A
Other languages
Japanese (ja)
Inventor
Takatoshi Nada
名田 孝稔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP1221993A priority Critical patent/JPH0385891A/en
Publication of JPH0385891A publication Critical patent/JPH0385891A/en
Pending legal-status Critical Current

Links

Landscapes

  • Color Television Systems (AREA)

Abstract

PURPOSE:To reduce the cost of the digital camera by dividing a video signal of one frame into several subframes, writing the subframes in a compact and inexpensive memory and executing the operation following matrix operation in each subframe. CONSTITUTION:A signal scanned by an image pickup element is converted into a non-interlaced signal by an non-interlace conversion circuit 1 and written in a frame memory 2 in each frame, the signal read out from the frame memory 2 is divided into subframes by a division processing circuit 3 and respective subframes are successively scanned, converted and written in the 1st subframe memory 4. The data of 2X2 picture elements in each subframe are matrixed into a brightness signal and a color difference signal by a matric operation circuit 5 while shifting the data in each picture element and written in the 2nd subframe memory 6. The band-limited brightness signal and color difference signal are subsampled by a subsampling circuit 8 and written in the 3rd subframe memory 9 and coded by a two-dimensional rectangular conversion coder 10. Since the frame memory 2 can be substituted by the subframe memories 4, 6, 9, the cost of the digital camera can be reduced.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は2次元直交変換符号化を用いたディジタルカメ
ラに関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to a digital camera using two-dimensional orthogonal transform encoding.

従来の技術 第4図に従来のカメラ信号処理のブロック図を示す。撮
像素子(図示せず)からのインクレース走査された信号
1−11  増幅、ガンマ補正、°ホワイトバランス等
の前処理が行われた後、ノンインタレ−ス変換回路4t
でノンインタレース変換の処理が行われ、第1のフレー
ムメモリ42に書き込まれる。ここで、撮像素子は、偽
色信号に発生の少ないS/Nの良い色信号と分解能の高
い輝度信号を得るために、第5図に示すような原色フィ
ルタを用い、ノンインタレース走査変換時の隣接した任
意の2×2画素で、1つのR,Bと2つのG信号が納ま
るように配列されている。
BACKGROUND OF THE INVENTION FIG. 4 shows a block diagram of conventional camera signal processing. An increment scanned signal 1-11 from an image sensor (not shown) is subjected to pre-processing such as amplification, gamma correction, and white balance, and then sent to a non-interlace conversion circuit 4t.
A non-interlaced conversion process is performed in step 1, and the data is written into the first frame memory 42. Here, in order to obtain a color signal with a good S/N ratio and a luminance signal with high resolution, the image sensor uses a primary color filter as shown in Fig. 5, and performs non-interlaced scan conversion. The pixels are arranged so that one R, B and two G signals can be accommodated in any 2×2 adjacent pixels.

次に、第1のフレームメモリ42の中の2×2のマトリ
クスのR,G、  Bから輝度信号と色差信号を得るた
めに、マトリクス演算回路43によりマトリクス演算さ
れる。そして、水平、垂直方向に順次1画素ずつシフト
して、ラインメモリ44に書き込まれる。ラインメモリ
44に書き込まれた信号は、2次元ローパスフィルタ4
5により帯域制限され、サブサンプリング回路46でサ
ブサンプリングされる。ここで、2次元ローパスフィル
タ45は、折り返し歪みを無くすため、サブサンプリン
グのナイキスト周波数以下に帯域制限する。また、サブ
サンプリング回路46では、輝度信号は、2:1にオフ
セットサンプリングされ、色差信号は水平、垂直方向に
2=1(画素数の比は4:1)にサンプリングされる。
Next, in order to obtain a luminance signal and a color difference signal from the 2×2 matrix of R, G, and B in the first frame memory 42, a matrix calculation circuit 43 performs a matrix calculation. Then, the pixels are sequentially shifted one pixel at a time in the horizontal and vertical directions and written into the line memory 44. The signal written in the line memory 44 is passed through the two-dimensional low-pass filter 4
5, and subsampled by a subsampling circuit 46. Here, the two-dimensional low-pass filter 45 limits the band to below the Nyquist frequency of subsampling in order to eliminate aliasing distortion. Further, in the sub-sampling circuit 46, the luminance signal is sampled with an offset of 2:1, and the color difference signal is sampled horizontally and vertically with a ratio of 2=1 (the ratio of the number of pixels is 4:1).

そして、サブサンプリングされた信号は、バッファ用の
第2のフレームメモリ47に書き込まれ、分割処理回路
48で複数のブロックに分割処理された後、2次元直交
変換符号器49へ送られる。ここでいう分割処理とは、
ブロック毎に順次走査変換することであり、画面を構成
する画素のアドレス変換がおこなわれる。
The subsampled signal is then written to a second frame memory 47 for buffering, divided into a plurality of blocks by a division processing circuit 48, and then sent to a two-dimensional orthogonal transform encoder 49. What is the division process here?
This is sequential scan conversion for each block, and address conversion of the pixels that make up the screen is performed.

第6図を参照、して説明すると、例えば、分割処理前(
同図(A))の画素の座標を (縦、 横)=(i、j) 分割処理後(同図(B))の座標を (ブロックNi1.  縦、横):c)c、  i、 
 m)としたとき、 i= i n t (k/KH) XL+1j =mo
 d (k/KH) XM+mの関係が成り立つ。従っ
て、分割処理とはアドレス変換を行うことであるから分
割処理前のアドレスをn’、分割処理後のアドレスをn
2とするとn+=i+J+j na”  ri  n t  (k/KI4)XL+ 
l)  XJ+  (mo d  (k/Ke)XM+
m)となる。
To explain with reference to FIG. 6, for example, before division processing (
The coordinates of the pixel in (A) of the same figure are (vertical, horizontal) = (i, j) The coordinates of the pixel after the division process ((B) of the same figure) are (block Ni1. vertical, horizontal): c) c, i,
m), then i= i n t (k/KH) XL+1j =mo
The relationship d (k/KH) XM+m holds true. Therefore, since dividing processing means performing address conversion, the address before dividing processing is n', and the address after dividing processing is n'.
2, n+=i+J+j na”ri n t (k/KI4)XL+
l) XJ+ (mod (k/Ke)XM+
m).

発明が解決しようとする課題 しかしながら上記従来の構成では、ノンインタレース回
路の後段と2次元直交変換符号器の前段にフレームメモ
リ、及びマトリクス演算回路の後段には輝度信号用及び
色差信号用のラインメモリと大容量メモリが多数必要と
なり、コスト削減において重要な課題となっていた。
Problems to be Solved by the Invention However, in the above conventional configuration, a frame memory is provided after the non-interlace circuit and before the two-dimensional orthogonal transform encoder, and lines for luminance signals and color difference signals are provided after the matrix calculation circuit. This required a large amount of memory and large-capacity memory, making cost reduction an important issue.

課題を解決するための手段 上記課題を解決するために本発明のディジタルカメラは
、第1のサブフレームメモリの出力である映像信号を輝
度成分と色成分に分けるマトリクス演算手段の前段に映
像信号を複数のザブフレームに分割する分割手段と、前
記分割手段の出力であるサブフレーム単位の映像信号を
書き込む前記第1のサブフレームメモリとを備え、後段
には前記マトリクス演算手段の出力を書き込む第2のサ
グフレームメモリと、前記第2のサブフレームメモリの
出力をサンプリングするサンプリング手段と、前記サン
プリング手段の出力を書き込む第3のサブフレームメモ
リとを具備してなるものである。
Means for Solving the Problems In order to solve the above-mentioned problems, the digital camera of the present invention includes a method in which a video signal is input to a stage upstream of a matrix calculation means that divides the video signal output from the first sub-frame memory into a luminance component and a color component. The first subframe memory includes dividing means for dividing into a plurality of subframes, and the first subframe memory for writing the video signal in units of subframes which is the output of the dividing means, and the second subframe memory for writing the output of the matrix calculation means at a subsequent stage. A sag frame memory, a sampling means for sampling the output of the second subframe memory, and a third subframe memory for writing the output of the sampling means.

作用 上記した構成により本願発明のディジタルカメラは、大
容量で高価なメモリを使うフレームメモリやラインメモ
リのかわりに1フレームの映像信号をいくつかのサブフ
レームに分割し、小容量で安価なメモリに書き込み、マ
トリクス演算以降の処理をサブフレーム単位でおこなう
Effects With the above-described configuration, the digital camera of the present invention divides one frame of video signal into several subframes, instead of using a frame memory or line memory that uses large-capacity and expensive memory, and uses a small-capacity, inexpensive memory. Processing after writing and matrix calculation is performed in subframe units.

実施例 次に、上記手段を用いた本発明の実施例を図を用いて説
明する。
Embodiment Next, an embodiment of the present invention using the above means will be described with reference to the drawings.

第1図において、撮像素子(図示せず)からインクレー
ス走査された信号は、増幅、ガンマ補正。
In FIG. 1, an increment scanned signal from an image sensor (not shown) is amplified and gamma corrected.

ホワイトバランス等の前処理が行われた後、ノンインタ
レース変換回路1でノンインタレース変換され、フレー
ム単位にフレームメモリ2に書き込まれる。次に、フレ
ームメモリ2から読み出された信号は、分割処理回路3
で分割処理され(分割処理された個々のフレームをサブ
フレームと呼ぶ)、サブフレーム単位に第1のサブフレ
ームメモリ4に順次走査変換され書き込まれる。
After pre-processing such as white balance is performed, the non-interlace conversion circuit 1 performs non-interlace conversion, and the data is written into the frame memory 2 frame by frame. Next, the signal read from the frame memory 2 is sent to the division processing circuit 3.
(each divided frame is called a subframe), and is sequentially scan-converted and written into the first subframe memory 4 in subframe units.

ここで、サブフレームのサイズ(画素数)は、後で行わ
れる2次元直交変換のブロックに合わせるために、2次
元直交変換のサイズに対して、水平、垂直共に2の倍数
を乗じた値を選ぶ。
Here, the subframe size (number of pixels) is determined by multiplying the size of the 2D orthogonal transformation by a multiple of 2 both horizontally and vertically in order to match the block of the 2D orthogonal transformation that will be performed later. choose.

また、フィルタリング等の処理を行う場合、サブフレー
ムの境界部において歪みが生じるが、これを防ぐため、
フィルタのタップ数の数の分だけサブフレームの、サイ
ズを多くして、第2図に示すサブフレーム21のように
オーバラップして分割するのが良い。同図斜線ハツチン
グ部がオーバラップ領域である。
Also, when performing processing such as filtering, distortion occurs at the boundaries of subframes, but in order to prevent this,
It is preferable to increase the size of the subframe by the number of taps of the filter, and to divide the subframes into overlapped frames like the subframe 21 shown in FIG. 2. The hatched area in the figure is the overlap area.

サブフレームの2×2画素(1つのR,Bi号と2つの
G信号)のデータを使って、1画素ずつシフトしながら
、輝度信号と色差信号にマトリクス演算回路5でマトリ
クス演算され、それぞれ第2のサブフレームメモリ6に
書き込まれる。第2のサブフレームメモリ6に書き込ま
れた信号は、サブサンプルした時に折り返し歪みが生じ
ないように、2次元ローパスフィルタ7により帯域制限
される。そして、帯域制限された輝度信号と色差信号は
、それぞれ、2:1と4;1にサブサンプリング回路8
でサブサンプリングされ、第3のサブフレームメモリ9
に書き込まれる。ここで第3のサブフレームメモリ9は
、第3図に示すように2次元直交変換のブロックのサイ
ズに合わせて、輝度信号ブロック31と、色差信号ブロ
ック32に分けて書き込む。
Using the data of 2×2 pixels (one R, Bi signal and two G signals) of the subframe, the matrix calculation circuit 5 performs matrix calculation on the luminance signal and color difference signal while shifting one pixel at a time. 2 is written into the subframe memory 6. The signal written in the second subframe memory 6 is band-limited by a two-dimensional low-pass filter 7 so that aliasing distortion does not occur when subsampled. The band-limited luminance signal and color difference signal are then processed by sub-sampling circuits 8 to 2:1 and 4:1, respectively.
and the third subframe memory 9
will be written to. Here, as shown in FIG. 3, the third subframe memory 9 writes data divided into a luminance signal block 31 and a color difference signal block 32 according to the block size of the two-dimensional orthogonal transformation.

次に第3のサブフレームメモリ9に書き込まれた信号は
、それぞれブロックごとに2次元直交変換符号器10へ
送られ、符号化される。
Next, the signals written in the third subframe memory 9 are sent block by block to a two-dimensional orthogonal transform encoder 10 and encoded.

本実施例によれば上記した構成により、大容損のメモリ
であるラインメモリとフレームメモリを小容量のメモリ
に置き換えることができる。
According to this embodiment, with the above-described configuration, the line memory and frame memory, which are memories with large capacity losses, can be replaced with memories with a small capacity.

発明の効果 以上のように本発明によれば、撮像信号からの映像信号
をノンインターレス変換するノンインターレス変換手段
と、前記ノンインターレス変換手段の出力である映像信
号をフレーム単位に複数のサブフレームに分割する分割
手段と、前記分割手段の出力であるサブフレーム単位の
映像信号を書き込む第1のサブフレームメモリと、前記
第1のサブフレームメモリの出力を輝度成分と色成分に
分けるマトリクス演算手段と、前記マトリクス演算手段
の出力をサブフレーム単位に書き込む第2のサブフレー
ムメモリと、前記第2のサブフレームメモリの出力を帯
域制限するディジタルフィルタと、前記ディジタルフィ
ルタの出力をサンプリングするサンプリング手段と、前
記サンプリング手段の出力を書き込む第3のサブフレー
ムメモリと、前記第3のサブフレームメモリの出力を符
号化する符号化手段とを設けることにより、従来フィル
タリングに必要とされたラインメモリと直交変換前に映
像信号のブロック化に必要とされたフレームメモリをは
るかにメモリ容蚤の少ないサブフレームメモリに置き換
えることができ、低コスト化が図れ実用上その効果は大
である。
Effects of the Invention As described above, according to the present invention, there is provided a non-interlace converting means for non-interlace converting a video signal from an image pickup signal, and a plurality of video signals output from the non-interlace converting means in frame units. a dividing means for dividing into subframes; a first subframe memory for writing a video signal in units of subframes which is an output of the dividing means; and a matrix for dividing the output of the first subframe memory into a luminance component and a color component. a calculation means, a second subframe memory for writing the output of the matrix calculation means in subframe units, a digital filter for band-limiting the output of the second subframe memory, and a sampling for sampling the output of the digital filter. By providing a third subframe memory for writing the output of the sampling means, and an encoding means for encoding the output of the third subframe memory, it is possible to eliminate the need for a line memory and a line memory conventionally required for filtering. The frame memory required to block the video signal before orthogonal transformation can be replaced with a subframe memory that requires much less memory capacity, resulting in cost reduction, which has a great practical effect.

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

第1図は、本発明のディジタルカメラのブロック図、第
2図はサブフレームを示した図、第3図は2次元直交変
換前の映像信号の輝度成分と色成分のブロック配列図、
第4図は従来のディジタルカメラのブロック図、第5図
は撮像素子の色フィルタの配列図、第8図は分割処理を
説明するための模式図である。 1・・・ノンインタレース変換回路、  2・・・第1
のフレームメモリ、  3・・・分割処理回路、  4
・・・第iのサブフレームメモリ、  5・・・マトリ
クス演算回路、  6・・・第2のサブフレームメモリ
、  7・・・2次元ローパスフィルタ、  8・・・
サブサンプリング回路、  9・・・第3のサブフレー
ムメモリ、10・・・2次元直交変換符号器。
FIG. 1 is a block diagram of the digital camera of the present invention, FIG. 2 is a diagram showing subframes, and FIG. 3 is a block arrangement diagram of luminance components and color components of a video signal before two-dimensional orthogonal transformation.
FIG. 4 is a block diagram of a conventional digital camera, FIG. 5 is an arrangement diagram of color filters of an image sensor, and FIG. 8 is a schematic diagram for explaining division processing. 1...Non-interlace conversion circuit, 2...First
frame memory, 3... division processing circuit, 4
...i-th subframe memory, 5...matrix calculation circuit, 6...second subframe memory, 7...two-dimensional low-pass filter, 8...
Subsampling circuit, 9... Third subframe memory, 10... Two-dimensional orthogonal transform encoder.

Claims (3)

【特許請求の範囲】[Claims] (1)撮像素子からの映像信号をノンインターレス変換
するノンインターレス変換手段と、前記ノンインターレ
ス変換手段の出力である映像信号をフレーム単位に複数
のサブフレームに分割する分割手段と、前記分割手段の
出力であるサブフレーム単位の映像信号を書き込む第1
のサブフレームメモリと、前記第1のサブフレームメモ
リの出力を輝度成分と色成分に分けるマトリクス演算手
段と、前記マトリクス演算手段の出力をサブフレーム単
位に書き込む第2のサブフレームメモリと、前記第2の
サブレームメモリの出力を帯域制限するディジタルフィ
ルタと、前記ディジタルフィルタの出力をサンプリング
するサンプリング手段と、前記サンプリング手段の出力
を書き込む第3のサブフレームメモリと、前記第3のサ
ブフレームメモリの出力を符号化する符号化手段とを具
備してなるディジタルカメラ。
(1) non-interlace converting means for non-interlace converting a video signal from an image sensor; dividing means for dividing the video signal output from the non-interlace converter into a plurality of subframes in units of frames; The first one writes the video signal in subframe units which is the output of the dividing means.
a subframe memory; a matrix calculation means for dividing the output of the first subframe memory into a luminance component and a color component; a second subframe memory for writing the output of the matrix calculation means in subframe units; a digital filter for band-limiting the output of the second subframe memory; a sampling means for sampling the output of the digital filter; a third subframe memory for writing the output of the sampling means; A digital camera comprising: encoding means for encoding output.
(2)サブフレームのサイズは、 (縦、横)=(m*2^a+r、n*2^a+r)(p
、qは整数)但し、符号化を行うブロックサイズを(m
、n)、ディジタルフィルタのタップ数をrとすること
を特徴とする請求項1記載のディジタルカメラ。
(2) The size of the subframe is (vertical, horizontal) = (m*2^a+r, n*2^a+r) (p
, q is an integer) However, the block size for encoding is (m
, n), and the number of taps of the digital filter is r.
(3)分割手段は、隣接するサブフレームがr以上(r
はディジタルフィルタのタップ数)画素が重なるように
1フレームの映像信号を分割することを特徴とする請求
項1記載のディジタルカメラ。
(3) The dividing means is configured such that adjacent subframes are r or more (r
2. The digital camera according to claim 1, wherein one frame of the video signal is divided so that pixels (wherein is the number of taps of the digital filter) overlap each other.
JP1221993A 1989-08-29 1989-08-29 Digital camera Pending JPH0385891A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1221993A JPH0385891A (en) 1989-08-29 1989-08-29 Digital camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1221993A JPH0385891A (en) 1989-08-29 1989-08-29 Digital camera

Publications (1)

Publication Number Publication Date
JPH0385891A true JPH0385891A (en) 1991-04-11

Family

ID=16775405

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1221993A Pending JPH0385891A (en) 1989-08-29 1989-08-29 Digital camera

Country Status (1)

Country Link
JP (1) JPH0385891A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019054341A (en) * 2017-09-13 2019-04-04 キヤノン株式会社 Image processing device and method, and imaging apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019054341A (en) * 2017-09-13 2019-04-04 キヤノン株式会社 Image processing device and method, and imaging apparatus

Similar Documents

Publication Publication Date Title
US7397944B2 (en) Processing pipeline of pixel data of a color image acquired by a digital sensor
US7595805B2 (en) Techniques to facilitate use of small line buffers for processing of small or large images
JP4263190B2 (en) Video composition circuit
US6593965B1 (en) CCD data pixel interpolation circuit and digital still camera equipped with it
JPH03185995A (en) Video signal processing method
US7443428B2 (en) Image processing device
US6542429B2 (en) Method of controlling line memory
JP4997172B2 (en) Image signal processing apparatus, method and program for image division processing
JP5171287B2 (en) Data processing device
US6348950B1 (en) Video signal processing circuit and image pickup apparatus using the circuit
JP4286124B2 (en) Image signal processing device
JPH0385891A (en) Digital camera
JPH09172615A (en) Signal processor
JP4464325B2 (en) Image processing device
US8483428B1 (en) Apparatus for processing a digital image
JP3671448B2 (en) Image signal processing device
JP3123225B2 (en) Data sorting device
US20070247644A1 (en) Image processing system
JP2002056385A (en) Image correcting method and image correcting device
JP4109328B2 (en) Video signal encoding device
JP2005159596A (en) Digital camera
GB2561002A (en) Storage system
KR19990061449A (en) Video Signal Processing Unit for AMA Projectors
EP1750457A1 (en) Method and circuit arrangement for processing a video signal, and respective camera
JPS5997274A (en) Multi-move picture effect device