JPH10313455A - Supervisory image recording device and its reproducing device - Google Patents
Supervisory image recording device and its reproducing deviceInfo
- Publication number
- JPH10313455A JPH10313455A JP9120941A JP12094197A JPH10313455A JP H10313455 A JPH10313455 A JP H10313455A JP 9120941 A JP9120941 A JP 9120941A JP 12094197 A JP12094197 A JP 12094197A JP H10313455 A JPH10313455 A JP H10313455A
- Authority
- JP
- Japan
- Prior art keywords
- image
- shape
- information
- input
- 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.)
- Pending
Links
- 238000012544 monitoring process Methods 0.000 claims description 28
- 238000001514 detection method Methods 0.000 claims description 16
- 238000000034 method Methods 0.000 claims description 10
- 238000006243 chemical reaction Methods 0.000 description 38
- 238000013139 quantization Methods 0.000 description 32
- 238000010586 diagram Methods 0.000 description 23
- 230000005856 abnormality Effects 0.000 description 18
- 238000005070 sampling Methods 0.000 description 16
- 238000000605 extraction Methods 0.000 description 7
- 230000002194 synthesizing effect Effects 0.000 description 6
- 238000003908 quality control method Methods 0.000 description 5
- 230000002159 abnormal effect Effects 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 239000000284 extract Substances 0.000 description 3
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
Landscapes
- Closed-Circuit Television Systems (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
- Image Analysis (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】この発明は、監視領域をテレ
ビカメラで撮影し、撮影された画像を記録する監視画像
記録装置およびその再生装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a surveillance image recording apparatus for photographing a surveillance area with a television camera and recording the photographed image, and a reproducing apparatus therefor.
【0002】[0002]
【従来の技術】図11は特開平9−27952号公報に
示された従来の監視画像記録装置を示すブロック図であ
り、詳しくはテレビカメラで撮影して得られた画像によ
り、画像を分析し異常の発生を検知するとともに、圧縮
された画像を記録装置に記録する監視画像記録装置を示
したものである。図において、51はテレビカメラが撮
影した映像であるNTSC信号をアナログ/ディジタル
変換するA/D変換部、52は色空間変換部であり、変
換テーブル53を参照しつつ変換を実行する。54は色
空間変換部52からの色信号を周波数変換係数へと変換
する周波数空間変換部、55は量子化部であり、周波数
空間変換部54からの周波数変換係数が入力され、量子
化テーブル56を参照しつつ量子化を施す。量子化部5
5からの出力は、逆量子化部57へと送られ、同時に、
符号化部58へも送られて、符号化を施されて記憶装置
59に記録される。逆量子化部57は、量子化部55で
参照された量子化テーブル56を共通に参照して逆量子
化を行う。60は周波数空間変換部54と逆の演算を実
行する周波数空間逆変換部、61は色空間変換部52と
逆の演算を行う色空間逆変換部であり、変換テーブル6
2を参照にしつつ変換を実行する。63は色空間逆変換
部により得られた信号をディジタル/アナログ変換する
D/A変換部であり、CRTなどの外部受像装置へと送
信される。2. Description of the Related Art FIG. 11 is a block diagram showing a conventional surveillance image recording apparatus disclosed in Japanese Patent Application Laid-Open No. 9-27952. Specifically, an image is analyzed based on an image obtained by photographing with a television camera. 1 shows a monitoring image recording device that detects occurrence of an abnormality and records a compressed image in a recording device. In the figure, reference numeral 51 denotes an A / D converter for analog-to-digital conversion of an NTSC signal, which is an image captured by a television camera, and reference numeral 52 denotes a color space converter, which performs conversion while referring to a conversion table 53. 54 is a frequency space conversion unit for converting the color signal from the color space conversion unit 52 into a frequency conversion coefficient, and 55 is a quantization unit, which receives the frequency conversion coefficient from the frequency space conversion unit 54 and receives a quantization table 56 Is performed with reference to. Quantization unit 5
5 is sent to the inverse quantization unit 57, and at the same time,
The data is also sent to the encoding unit 58, subjected to encoding, and recorded in the storage device 59. The inverse quantization unit 57 performs inverse quantization by commonly referring to the quantization table 56 referred to by the quantization unit 55. Reference numeral 60 denotes a frequency space inverse transform unit that performs an operation reverse to that of the frequency space transform unit 54, and 61 denotes a color space inverse transform unit that performs an inverse operation of the color space transform unit 52.
Conversion is performed with reference to 2. Reference numeral 63 denotes a D / A converter for digital-to-analog conversion of a signal obtained by the color space inverse converter, which is transmitted to an external image receiving device such as a CRT.
【0003】64は色空間逆変換部61からの画像にお
ける移動物体すなわち動きのある部分を検出する動き検
出部、65は画像内の所定の特徴点を満たす部分を検出
する特徴点抽出部、66は前記動き検出部64および特
徴点抽出部65からの出力に基づき異常を判定し、警報
信号を出力するとともに、画像制御部67へと制御信号
を出力する異常判定部である。画像制御部67は異常判
定部66からの制御信号に基づき、上記変換テーブル5
3および62、量子化テーブル56の内容を変更するよ
う制御する。Reference numeral 64 denotes a motion detecting unit for detecting a moving object, that is, a moving portion in the image from the color space inverse conversion unit 61; 65, a feature point extracting unit for detecting a portion satisfying a predetermined feature point in the image; Is an abnormality determination unit that determines an abnormality based on outputs from the motion detection unit 64 and the feature point extraction unit 65, outputs a warning signal, and outputs a control signal to the image control unit 67. Based on the control signal from the abnormality determination unit 66, the image control unit 67
3 and 62, control to change the contents of the quantization table 56.
【0004】次に、動作について説明する。テレビカメ
ラが撮影した映像であるNTSC信号はA/D変換部5
1においてアナログ信号からディジタル信号へと変換さ
れ、色空間変換部52へと送られる。NTSC信号は輝
度信号と2種類の色差信号の3成分を有しており、色空
間変換部52では、ディジタル化されたNTSC信号
を、例えばRGB表色系の各成分の濃度を画素毎に表現
する色信号Pm(m=0、1、…)へと変換する。な
お、色空間変換部52での変換は、例えばROMなどの
記憶媒体に変換係数等が記憶されて成る変換テーブル5
3を参照して変換を行う。Next, the operation will be described. The NTSC signal, which is an image captured by the TV camera, is converted into an A / D converter 5
At 1, the signal is converted from an analog signal to a digital signal, and sent to the color space converter 52. The NTSC signal has three components of a luminance signal and two kinds of color difference signals. The color space conversion unit 52 expresses the digitized NTSC signal, for example, the density of each component of the RGB color system for each pixel. To a color signal Pm (m = 0, 1,...). Note that the conversion by the color space conversion unit 52 is performed by a conversion table 5 in which conversion coefficients and the like are stored in a storage medium such as a ROM.
Conversion is performed with reference to FIG.
【0005】色空間変換部52からの出力である色信号
Pmは周波数空間変換部54へと送信され、周波数空間
変換部54では、例えば2次元離散コサイン変換(DC
T)を施し、色空間上の成分である色信号Pmを周波数
空間における成分である周波数変換係数Sij(i、j
=0、1、…)へと変換する。周波数変換係数Sij
(i、j=0、1、…)は、量子化部55へと入力さ
れ、量子化部55では周波数変換係数に量子化が施され
る。すなわち、各周波数変換係数Sijの位置を指定す
る(i,j)毎に、一般に異なるステップ幅(ステップ
サイズ)で量子化され、例えばROMなどの記憶媒体に
各空間周波数毎のステップ幅が記憶されている量子化テ
ーブル56を参照に量子化を実行する。ここで、量子化
テーブル56では、周波数変換係数Sijの各位置
(i,j)に対するステップ幅を規定する係数Qijが
準備されており、例えば量子化部55ではSijを係数
Qijで割り、かつその商を整数化することにより、量
子化係数Rijを得る。そして、係数Qijの値を変化
することで画質と情報量を調整することができ、得られ
た量子化係数Rij(i,j=0、1…)が量子化部5
5より出力される。The color signal Pm output from the color space conversion unit 52 is transmitted to a frequency space conversion unit 54, and the frequency space conversion unit 54 performs, for example, a two-dimensional discrete cosine transform (DC).
T), and converts the color signal Pm, which is a component in the color space, into a frequency conversion coefficient Sij (i, j) which is a component in the frequency space.
= 0, 1,...). Frequency conversion coefficient Sij
(I, j = 0, 1,...) Are input to the quantization unit 55, and the quantization unit 55 quantizes the frequency transform coefficients. That is, each time the position of each frequency conversion coefficient Sij is specified (i, j), quantization is generally performed with a different step width (step size), and the step width for each spatial frequency is stored in a storage medium such as a ROM. The quantization is performed with reference to the quantization table 56 that is present. Here, in the quantization table 56, a coefficient Qij that defines a step width for each position (i, j) of the frequency conversion coefficient Sij is prepared. For example, the quantization unit 55 divides Sij by the coefficient Qij, and The quantization coefficient Rij is obtained by converting the quotient to an integer. The image quality and the amount of information can be adjusted by changing the value of the coefficient Qij, and the obtained quantization coefficient Rij (i, j = 0, 1,...)
5 is output.
【0006】量子化部55からの出力である量子化係数
Rijは、逆量子化部57へと送られるとともに、符号
化部58へと送られる。符号化部58では、量子化係数
Rijに例えば可変長符号化等の符号化を施し、符号化
データHkを出力して記憶装置59に送り、記憶する。
逆量子化部57では、量子化部55とは逆の演算を行
い、周波数変換係数S´ijを得るのであるが、量子化
部55で参照にした量子化テーブル56を共通に参照し
て実行される。[0006] The quantization coefficient Rij output from the quantization unit 55 is sent to the inverse quantization unit 57 and also to the encoding unit 58. The encoding unit 58 performs encoding such as variable-length encoding on the quantization coefficient Rij, outputs encoded data Hk, sends it to the storage device 59, and stores it.
The inverse quantization unit 57 performs an operation reverse to that of the quantization unit 55 to obtain the frequency transform coefficient S′ij, and executes the quantization by referring to the quantization table 56 referred to by the quantization unit 55 in common. Is done.
【0007】周波数変換係数S´ijは、周波数空間変
換部54と逆の演算を実行する周波数空間逆変換部60
へと入力され、色信号P´mが出力される。この色信号
P´mは色空間変換部52と逆の演算を行う色空間逆変
換部61へと入力され、ディジタルNTSC信号が再構
成される。色空間逆変換部61は、例えばROMなどの
記憶媒体に変換係数等が記憶されて成る変換テーブル6
2を参照しつつ変換を実行する。The frequency transform coefficient S′ij is calculated by a frequency space inverse transform unit 60 that performs the inverse operation of the frequency space transform unit 54.
And the color signal P′m is output. The color signal P'm is input to a color space inverse conversion unit 61 that performs an operation opposite to that of the color space conversion unit 52, and a digital NTSC signal is reconstructed. The color space inverse conversion unit 61 is, for example, a conversion table 6 in which conversion coefficients and the like are stored in a storage medium such as a ROM.
2 is performed with reference to FIG.
【0008】色空間逆変換部61が出力するディジタル
NTSC信号(再構成画像)は、D/A変換部63にお
いてディジタルからアナログに変換されてCRTなどの
外部受像装置へと送信される。また、上記色空間逆変換
部61からの出力は、動き検出部64および特徴点抽出
部65へも入力される。動き検出部64では、入力され
た再構成画像に演算処理を行うことにより、画像中の移
動物体すなわち動きのある部分の検出を行うのである
が、例えば、異なるフレーム間で画像を比較することに
より移動物体の検出を行う。特徴点抽出部65では、画
像内に予め指定した所定の特徴点を満たす部分を検出す
る。例えば、物体のエッジの検出などが行われる。The digital NTSC signal (reconstructed image) output from the color space inverse converter 61 is converted from digital to analog by the D / A converter 63 and transmitted to an external image receiving device such as a CRT. The output from the color space inverse conversion unit 61 is also input to the motion detection unit 64 and the feature point extraction unit 65. The motion detection unit 64 detects a moving object, that is, a moving part in the image by performing an arithmetic process on the input reconstructed image. For example, by comparing the images between different frames, A moving object is detected. The feature point extracting unit 65 detects a portion that satisfies a predetermined feature point specified in advance in the image. For example, detection of the edge of the object is performed.
【0009】上記動き検出部64と特徴点抽出部65で
得られた検出結果は、異常判定部66へと入力される。
異常判定部66では、動き検出部64で検知された移動
物体と特徴点抽出部65で検知された特徴点とに基づ
き、異常の発生に相当する所定の条件を満たすか否かを
判定する。条件が満たされれば、異常の発生を示す警報
信号を外部へ送出するとともに、画質制御部67へ画質
の変更を指示する制御信号を出力する。画質制御部67
では、上記異常判定部66からの制御信号に基づき、色
空間変換部52が引用する変換テーブル53の内容、量
子化部56および逆量子化部57が引用する量子化テー
ブル56の内容、さらに、色空間逆変換部61が引用す
る変換テーブル62の内容を変更する。例えば、変換テ
ーブル53、量子化テーブル56、変換テーブル62に
は予め複数通りの内容が記憶されており、色空間変換部
52などがこれらの中のいずれを選択すべきかを画質制
御部67が指示する。The detection results obtained by the motion detection section 64 and the feature point extraction section 65 are input to an abnormality determination section 66.
The abnormality determination unit 66 determines whether a predetermined condition corresponding to the occurrence of abnormality is satisfied based on the moving object detected by the motion detection unit 64 and the feature points detected by the feature point extraction unit 65. If the condition is satisfied, an alarm signal indicating the occurrence of an abnormality is sent to the outside, and a control signal for instructing the image quality control unit 67 to change the image quality is output. Image quality control section 67
Then, based on the control signal from the abnormality determination unit 66, the contents of the conversion table 53 quoted by the color space conversion unit 52, the contents of the quantization table 56 quoted by the quantization unit 56 and the inverse quantization unit 57, and further, The contents of the conversion table 62 referred to by the color space inverse conversion unit 61 are changed. For example, the conversion table 53, the quantization table 56, and the conversion table 62 store a plurality of types of contents in advance, and the image quality control unit 67 instructs the color space conversion unit 52 or the like to select which of them. I do.
【0010】したがって、上記のように引用される各テ
ーブルの内容が変更されることにより、量子化部55よ
り出力され、符号化部58により符号化される画像情報
の情報量が変更され、また再構成画像の画質が変更され
る。つまり、画質制御部67は、異常判定部66が異常
を検出するまでの通常期間では圧縮率の高い低画質の画
像を得るよう各テーブルを制御し、異常を検出した後の
異常期間では、圧縮率の低い高画質の画像が得られるよ
う制御する。なお、画質制御部67には、外部からの外
部制御信号も入力されており、監視員等の操作によりリ
セット(解除)を指示することにより、異常期間から通
常期間への動作の復帰が行われる。Therefore, by changing the contents of each table cited as described above, the amount of image information output from the quantization unit 55 and encoded by the encoding unit 58 is changed. The image quality of the reconstructed image is changed. That is, the image quality control unit 67 controls each table so as to obtain a low-quality image with a high compression ratio in the normal period until the abnormality determination unit 66 detects the abnormality, and performs the compression in the abnormal period after the abnormality is detected. Control is performed to obtain a high-quality image with a low rate. Note that an external control signal from the outside is also input to the image quality control unit 67, and the operation is returned from the abnormal period to the normal period by instructing reset (cancellation) by an operation of a supervisor or the like. .
【0011】図12は従来の監視画像記録装置の動作を
説明するための図であり、矩形の枠は1フレーム分の画
像情報を模式的に示し、各画像情報の時間方向の厚み
は、各画像情報の送信期間(および記録される期間)を
表している。図12(b)では常に高画質画像情報HP
を得る場合を示し、図12(a)では、通常期間では情
報量が少ない低画質画像情報LPが得られ、異常が検出
される異常期間では目視監視に適する情報量が多い高画
質画像情報HPが得られることを示している。FIG. 12 is a diagram for explaining the operation of the conventional monitoring image recording apparatus. A rectangular frame schematically shows one frame of image information. This represents a transmission period (and a recording period) of the image information. In FIG. 12B, the high-quality image information HP
In FIG. 12A, low-quality image information LP having a small amount of information is obtained in a normal period, and high-quality image information HP having a large amount of information suitable for visual monitoring during an abnormal period in which an abnormality is detected. Is obtained.
【0012】[0012]
【発明が解決しようとする課題】従来の監視画像記録装
置は、異常判定部において異常と判定した場合のみ情報
量が多い高画質な画像情報を記録し、異常と判定されな
い通常期間は情報量が少ない低画質な画像情報を記録す
るように構成されており、異常判定部が異常と判定しな
い限り目視監視に適する高画質画像を得られないという
問題点があり、また、異常が判定されるか否かに係わら
ず画像情報は記録されることとなり、異常が検出されな
い利用価値の低い画像も記録され、長時間記録に不適と
いう問題点があった。The conventional monitoring image recording apparatus records high-quality image information having a large amount of information only when the abnormality is determined to be abnormal by the abnormality determining section. It is configured to record a small amount of low-quality image information, and there is a problem that a high-quality image suitable for visual monitoring cannot be obtained unless the abnormality determination unit determines that there is an abnormality. Regardless of whether the image information is recorded or not, the image information is recorded, and an image of a low utility value in which no abnormality is detected is also recorded, and there is a problem that it is unsuitable for long-time recording.
【0013】この発明は上記のような問題点を解消する
ためになされたもので、入力画像を用いて物体が映って
いるかどうかを検出し、物体が存在すると判断したとき
入力画像における検出された物体の形状を抽出し、抽出
された形状により示される物体の形状内のみの画像情報
とその形状情報を記録することにより、常に適切な画像
情報を得ることができ、かつ、利用価値の低い記録を減
らせる監視画像記録装置およびその再生装置を得ること
を目的とする。SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems. An object is detected by using an input image to determine whether or not an object is present. By extracting the shape of the object and recording the image information and the shape information only within the shape of the object indicated by the extracted shape, it is possible to always obtain appropriate image information, and recording with low utility value It is an object of the present invention to obtain a surveillance image recording device and a reproduction device thereof that can reduce the number of images.
【0014】[0014]
【課題を解決するための手段】この発明に係る監視画像
記録装置は、入力画像を用いて物体が映っているかどう
かを検出し、検出された物体の形状を抽出してその形状
を表す画像(以後、これを形状画像と呼ぶ)を生成する
物体形状抽出手段と、この形状画像に基づき入力画像に
おける形状内の画像を符号化する手段と、上記形状画像
を符号化する手段とを備え、上記符号化された画像情報
と形状情報とを記録するものである。A surveillance image recording apparatus according to the present invention detects whether or not an object is reflected by using an input image, extracts the shape of the detected object, and extracts an image representing the shape. Hereinafter referred to as a shape image), an object shape extracting means for generating an image in a shape in an input image based on the shape image, and a means for coding the shape image. It records encoded image information and shape information.
【0015】また、この発明に係る監視画像記録装置
は、前記物体形状抽出手段が、入力画像を用いて物体が
映っているかどうかを検出する物体検出手段と、前記物
体検出手段の出力に基づき、検出された物体の形状画像
を生成する手段とを備えたものである。In the surveillance image recording apparatus according to the present invention, the object shape extracting means may detect the presence or absence of an object using an input image, based on an output of the object detecting means. Means for generating a shape image of the detected object.
【0016】また、この発明に係る監視画像記録装置
は、前記物体検出手段が、背景画像を記憶する手段と、
背景画像と入力画像との差の絶対値を差分画像として求
める手段とを備えるとともに、前記差分画像を2値化し
て変化領域と静止領域とに分割する手段を備え、変化領
域の面積が所定値以上の場合に物体が存在すると判定
し、そうでないときに物体が存在しないと判定するとと
もに、この変化領域の形状情報により上記物体の形状を
表す形状画像を生成するものである。In the surveillance image recording apparatus according to the present invention, the object detecting means may include means for storing a background image,
Means for obtaining an absolute value of a difference between the background image and the input image as a difference image; means for binarizing the difference image to divide the image into a change area and a still area; In the above case, it is determined that an object exists, otherwise, it is determined that no object exists, and a shape image representing the shape of the object is generated based on the shape information of the change area.
【0017】また、この発明に係る監視画像記録装置
は、前記物体検出手段が、入力画像を用いて物体が映っ
ているかどうかを検出する手段を備え、物体が存在する
と判断したときのみ符号化された画像情報と形状情報を
記録するよう制御するものである。In the surveillance image recording apparatus according to the present invention, the object detecting means includes means for detecting whether or not the object is reflected by using the input image, and the encoding is performed only when it is determined that the object is present. It controls to record the image information and the shape information.
【0018】さらに、この発明に係る再生装置は、記録
された符号化情報を再生し復号する再生装置が、符号化
された形状情報を復号する手段と、符号化された画像情
報を復号する復号手段とを備え、復号された形状情報に
基づき、前記復号された画像情報を所定の画像と合成し
て復号画像を生成するものである。Further, in the reproducing apparatus according to the present invention, the reproducing apparatus for reproducing and decoding the recorded coded information comprises: means for decoding the encoded shape information; and decoding for decoding the encoded image information. Means for generating a decoded image by combining the decoded image information with a predetermined image based on the decoded shape information.
【0019】[0019]
【発明の実施の形態】以下、この発明をその実施の形態
を示す図面に基づいて具体的に説明する。 実施の形態1.図1はこの発明の実施の形態1である監
視画像記録装置を示すブロック図である。図において、
11はテレビカメラで撮影された画像が入力される入力
端子であり、入力端子11から入力された画像は物体形
状抽出手段12と画像符号化手段13とに入力される。
物体形状抽出手段12の出力は画像符号化手段13の第
二の入力および形状符号化手段14の入力に与えられ
る。多重化手段15は、画像符号化手段13の出力およ
び形状符号化手段14の出力が入力され、符号化データ
を多重し、記録装置16の入力に与えられる。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be specifically described with reference to the drawings showing the embodiments. Embodiment 1 FIG. FIG. 1 is a block diagram showing a monitoring image recording apparatus according to Embodiment 1 of the present invention. In the figure,
Reference numeral 11 denotes an input terminal to which an image captured by the television camera is input. The image input from the input terminal 11 is input to the object shape extracting means 12 and the image encoding means 13.
The output of the object shape extracting means 12 is given to the second input of the image coding means 13 and the input of the shape coding means 14. The multiplexing unit 15 receives the output of the image encoding unit 13 and the output of the shape encoding unit 14, multiplexes the encoded data, and supplies the multiplexed data to the input of the recording device 16.
【0020】また、図2は図1おける物体形状抽出手段
12の一構成例を示すブロック図である。図において、
入力画像はサブサンプル手段21に入力され、サブサン
プル手段21の出力は背景画像更新/記憶手段22の入
力と減算器23の第一の入力とに与えられる。減算器2
3の第二の入力には背景画像更新/記憶手段22の出力
が与えられる。減算器23の出力は、絶対値演算器24
に入力される。絶対値演算器24の出力は、2値化手段
25へ入力され、2値化手段25の出力は面積演算手段
26を介して、比較器27に入力され、また前記2値化
手段25の出力は形状画像生成手段28の第一の入力へ
も与えられる。比較器27の出力は形状画像生成手段2
8の第二の入力へ与えられ、形状画像生成手段28は2
値化手段25の出力と比較器27の出力により、入力画
像中の検出された物体の形状を表す形状画像を生成し出
力する。なお、サブサンプル手段21と背景画像更新/
記憶手段22、減算器23、絶対値演算器24および2
値化手段25と面積演算手段26と比較器27とは、物
体検出手段20を構成する。FIG. 2 is a block diagram showing an example of the configuration of the object shape extracting means 12 in FIG. In the figure,
The input image is input to the sub-sampling unit 21, and the output of the sub-sampling unit 21 is provided to an input of the background image updating / storage unit 22 and a first input of the subtracter 23. Subtractor 2
The output of the background image updating / storing means 22 is given to the second input of No. 3. The output of the subtractor 23 is an absolute value calculator 24
Is input to The output of the absolute value calculator 24 is input to the binarizing means 25, the output of the binarizing means 25 is input to the comparator 27 via the area calculating means 26, and the output of the binarizing means 25 Is also supplied to the first input of the shape image generating means 28. The output of the comparator 27 is the shape image generating means 2
8, and the shape image generating means 28
A shape image representing the shape of the detected object in the input image is generated and output from the output of the value conversion means 25 and the output of the comparator 27. Note that the sub-sampling means 21 and the background image update /
Storage means 22, subtractor 23, absolute value calculators 24 and 2
The value converting means 25, the area calculating means 26 and the comparator 27 constitute the object detecting means 20.
【0021】また、図3はこの発明の実施の形態1によ
る物体検出手段20における背景画像更新/記憶手段2
2の一構成例を示すブロック図である。図において、サ
ブサンプル手段21から出力された画像は背景画像更新
手段31の第一の入力に与えられ、背景画像更新手段3
1の出力は背景画像記憶手段32の入力に与えられる。
背景画像更新手段31の第二の入力には背景画像記憶手
段32の第一の出力が与えられる。背景画像記憶手段3
2の第二の出力は、背景画像更新/記憶手段22の出力
として、減算器23へと出力される。FIG. 3 shows a background image updating / storing means 2 in the object detecting means 20 according to the first embodiment of the present invention.
FIG. 2 is a block diagram showing one configuration example. In the figure, the image output from the sub-sampling means 21 is given to a first input of a background image updating means 31, and the background image updating means 3
The output of 1 is given to the input of the background image storage means 32.
A second input of the background image updating means 31 is provided with a first output of the background image storing means 32. Background image storage means 3
The second output of No. 2 is output to the subtracter 23 as the output of the background image update / storage means 22.
【0022】次に動作について説明する。テレビカメラ
等で撮影された画像は入力端子11から入力され、物体
形状抽出手段12および画像符号化手段13へと入力さ
れる。物体形状抽出手段12では、入力画像を用いて物
体が映っているかどうかを検出し、物体が存在すると判
断したとき入力画像における検出された物体の形状を抽
出し、抽出された形状を表す形状画像を生成し出力する
のであるが、この動作を図2に従って説明する。Next, the operation will be described. An image captured by a television camera or the like is input from an input terminal 11 and is input to an object shape extracting unit 12 and an image encoding unit 13. The object shape extracting means 12 detects whether or not the object is reflected by using the input image, and when it is determined that the object is present, extracts the shape of the detected object in the input image, and forms a shape image representing the extracted shape. Is generated and output. This operation will be described with reference to FIG.
【0023】物体形状抽出手段12において、入力画像
は物体検出手段20へと入力される。物体検出手段20
において、まず、入力画像はサブサンプル手段21に送
られ、画素が間引かれる。例えば、入力画像が640画
素×480ラインの画像の場合、サブサンプル手段21
は、入力画像を4画素×4ラインのブロックに分割し、
各ブロックをその平均値で置き換えて、160画素×1
20ラインの画像を作成し、出力する。サブサンプル手
段21により、記録装置16で記録される画像の解像度
が高い場合も、物体検出手段20の演算量を減少させる
ことができる。In the object shape extracting means 12, the input image is input to the object detecting means 20. Object detection means 20
First, the input image is sent to the sub-sampling means 21, and pixels are thinned out. For example, if the input image is an image of 640 pixels × 480 lines, the sub-sampling unit 21
Divides the input image into blocks of 4 pixels x 4 lines,
Each block is replaced with its average value, and 160 pixels × 1
Create and output an image of 20 lines. By the sub-sampling means 21, even when the resolution of the image recorded by the recording device 16 is high, the calculation amount of the object detecting means 20 can be reduced.
【0024】サブサンプル手段21から出力される画像
は、減算器23において、背景画像との差分が求められ
る。背景画像は背景画像更新/記憶手段22に記憶され
ており、サブサンプル手段21から出力される画像に応
じて、逐次更新される。減算器23から出力される差分
は、絶対値演算器24において絶対値が求められる。絶
対値演算器24から出力される画像は、サブサンプルさ
れた入力画像と背景画像の差分絶対値であるが、簡単の
ため、以下では、この画像を差分画像と呼ぶことにす
る。The difference between the image output from the sub-sampling means 21 and the background image is obtained in a subtractor 23. The background image is stored in the background image updating / storing unit 22 and is sequentially updated according to the image output from the sub-sampling unit 21. The absolute value of the difference output from the subtractor 23 is obtained by an absolute value calculator 24. The image output from the absolute value calculator 24 is a difference absolute value between the subsampled input image and the background image, but for simplicity, this image is hereinafter referred to as a difference image.
【0025】ここで、背景画像更新/記憶手段22の動
作を図3に従って説明する。背景画像更新手段31に
は、サブサンプル手段21で画素を間引かれた入力画像
と、背景画像記憶手段32に記憶された背景画像とが入
力される。ここで、時刻tのサブサンプル後の入力画像
をI(t)、背景画像をB(t)としたとき、背景画像更新手段
31は、各画素毎にd(t)=I(t)−B(t-1)を求める。d(t)
の絶対値が予め定めた第一の所定値θ以下の場合はB(t)
=I(t)とし、そうでない場合は予め定めた第二の所定値
εを用いて、d(t)<0のときはB(t)=B(t-1)−ε、d(t)
≧0ならばB(t)=B(t-1)+εとして背景画像を更新し、
更新された背景画像B(t)を背景画像記憶手段32へ出力
する。背景画像記憶手段32は、この背景画像B(t)を記
憶するとともに、減算器23へ出力する。なお、背景画
像記憶手段32に記憶される背景画像の初期値B(0)は、
この発明による監視画像記録装置を設置したときに別途
取り込んでもよいし、全画素値が0または128または
255などの画像としてもよい。The operation of the background image updating / storing means 22 will now be described with reference to FIG. The input image whose pixels have been thinned out by the sub-sampling unit 21 and the background image stored in the background image storage unit 32 are input to the background image updating unit 31. Here, assuming that the input image after the sub-sample at time t is I (t) and the background image is B (t), the background image updating means 31 sets d (t) = I (t) − Find B (t-1). d (t)
B (t) if the absolute value of is less than or equal to a first predetermined value θ
= I (t), otherwise a second predetermined value ε is used, and when d (t) <0, B (t) = B (t-1) −ε, d (t )
If ≧ 0, update the background image as B (t) = B (t−1) + ε,
The updated background image B (t) is output to the background image storage means 32. The background image storage means 32 stores the background image B (t) and outputs the background image B (t) to the subtracter 23. Note that the initial value B (0) of the background image stored in the background image storage unit 32 is
The monitoring image recording apparatus according to the present invention may be separately acquired when it is installed, or may be an image having all pixel values of 0, 128, or 255.
【0026】次に、絶対値演算器24から出力される差
分画像は、2値化手段25において、予め定めた所定値
αにより差分画像が2値化される。例えば、差分画像の
各画素に対して、画素値がα以下であれば、その画素は
変化領域でないとして0が出力され、画素値がαより大
きければ、その画素は変化領域に含まれるとして、1が
出力され、2値化画像を構成する。次に、面積演算手段
26において、変化領域の面積が求められる。面積の演
算方法としては、2値化手段25から出力される画像の
うち、画素値が1の画素数を計数すればよい。この面積
は、比較器27において、予め定めた所定値βと比較さ
れ、面積がβより大きければ、物体が映っていると判定
し、面積がβ以下であれば、物体は映っていないと判定
し、制御信号cを出力し、形状画像生成手段28へと送
られる。ここで、所定値βは、画面内に映る判定すべき
物体の大きさにより決定すればよい。Next, the difference image output from the absolute value calculator 24 is binarized by a binarizing means 25 using a predetermined value α. For example, for each pixel of the difference image, if the pixel value is equal to or less than α, 0 is output as that pixel is not a change area, and if the pixel value is larger than α, the pixel is included in the change area. 1 is output to form a binarized image. Next, in the area calculating means 26, the area of the change region is obtained. As a method of calculating the area, the number of pixels having a pixel value of 1 in the image output from the binarizing unit 25 may be counted. This area is compared with a predetermined value β determined in advance by the comparator 27. If the area is larger than β, it is determined that the object is displayed. If the area is smaller than β, it is determined that the object is not displayed. Then, a control signal c is output and sent to the shape image generating means 28. Here, the predetermined value β may be determined according to the size of the object to be determined in the screen.
【0027】上記2値化手段25からの出力である差分
画像を2値化した画像は形状画像生成手段28へも入力
され、形状画像生成手段28では上記比較器27からの
制御信号cと差分画像の2値化画像に基づき、検出され
た物体の形状を表す形状画像を生成する。つまり、比較
器27からの制御信号cが物体が映っていると判定した
信号である場合において、2値化手段25からの2値化
画像の画素値が1である画素に対しては、物体の形状内
の画素として画素値を例えば“1”とし、2値化画像の
画素値が0である画素に対しては、形状外の背景部の画
素として画素値を“0”として形状画像110を生成し
出力する。その際、2値化手段25での画像は上記サブ
サンプル手段21により入力画像を間引いた画像より得
られているので、この形状画像生成手段28において、
2値化画像を補間によりアップサンプルして形状画像を
生成することとなる。An image obtained by binarizing the difference image output from the binarization unit 25 is also input to a shape image generation unit 28, and the shape image generation unit 28 compares the control signal c from the comparator 27 with the difference signal. A shape image representing the shape of the detected object is generated based on the binarized image of the image. That is, when the control signal c from the comparator 27 is a signal that determines that an object is reflected, the pixel whose pixel value of the binarized image from the binarization unit 25 is 1 is an object. The pixel value of the pixel within the shape of “1” is, for example, “1”, and the pixel value of the binarized image having the pixel value of “0” is set to “0” as the pixel of the background portion outside the shape, and the shape image 110 Generate and output At this time, since the image in the binarizing means 25 is obtained from the image obtained by thinning out the input image by the sub-sampling means 21, the shape image generating means 28
The shape image is generated by up-sampling the binary image by interpolation.
【0028】図4はこの発明の実施の形態1による監視
画像記録装置における物体形状抽出手段12の動作を説
明するための画像の一例を示す図であり、例えばエレベ
ータのかご内を監視領域とし、かご内に人物に相当する
物体が存在する場合の一例を示す。この場合、かご内に
人物等の物体が存在するか否かが監視の対象に相当し、
図4(a)は入力画像、図4(b)は背景画像とする
と、絶対値演算器24でこれらの差分画像が求められる
ことで、物体検出手段20により人物Aを検出すること
となり、2値化された画像より得られる形状画像110
は図4(c)に示すような画像となる。つまり、図4
(c)において、人物Aの形状は図中の黒い部分であ
り、形状内の画素値は例えば“1”、形状外の背景部は
白い部分であり、その形状外の画素値は“0”として形
状画像110が生成される。FIG. 4 is a diagram showing an example of an image for explaining the operation of the object shape extracting means 12 in the surveillance image recording device according to the first embodiment of the present invention. An example in the case where an object corresponding to a person exists in a car is shown. In this case, whether or not an object such as a person is present in the car corresponds to the monitoring target,
Assuming that FIG. 4A is an input image and FIG. 4B is a background image, the absolute value calculator 24 obtains these difference images. Shape image 110 obtained from the binarized image
Is an image as shown in FIG. That is, FIG.
In (c), the shape of the person A is a black portion in the figure, the pixel value within the shape is, for example, “1”, the background portion outside the shape is a white portion, and the pixel value outside the shape is “0”. As a result, a shape image 110 is generated.
【0029】なお、比較器27からの制御信号が物体が
映っていないと判定した信号である場合においては、画
素値がすべて“0”である形状画像110を生成して出
力する。When the control signal from the comparator 27 is a signal that determines that an object is not reflected, a shape image 110 whose pixel values are all "0" is generated and output.
【0030】物体形状抽出手段12の出力は、画像符号
化手段13および形状符号化手段14へと出力される。
画像符号化手段13では、入力端子11からの入力画像
を符号化するのであるが、上記物体形状抽出手段12の
出力である形状画像110が入力されており、この形状
画像110に基づき、形状画像110の画素値“1”の
画素位置に相当する形状内の画素を符号化する。The output of the object shape extracting means 12 is output to an image coding means 13 and a shape coding means 14.
The image encoding means 13 encodes the input image from the input terminal 11. A shape image 110 which is the output of the object shape extraction means 12 is input. The pixels in the shape corresponding to the pixel position of the pixel value “1” of 110 are encoded.
【0031】図5はこの発明の実施の形態1による監視
画像記録装置における画像符号化手段13での符号化方
法を説明するための一例を示す図であり、例えば、図に
示すように入力画像を所定の画素数のブロック(符号化
ブロック)に分割してブロック単位で符号化するとす
る。ここで、図中黒で示す部分pは、形状画像110で
示された形状内に相当する位置の画素を示しており、符
号化はブロック内の全画素が形状内の画素である場合
と、背景“0”との境界画素を含むブロックについての
みブロック単位でDCT符号化する。このとき、背景
“0”と境界画素を含むブロックについては形状外の画
素を、例えば境界画素の画素値を繰り返し補填(パディ
ング)してからDCT符号化を施す。よって、符号化さ
れるブロックは図5中の形状p内のブロックと斜線で示
されたブロックのみとなり、ブロック内画素がすべて形
状外のブロックは符号化の際スキップされることとな
る。したがって、有効な形状内の画像情報のみが符号化
データとして出力されることとなる。そして、画像符号
化手段13から出力される画像符号化データは、多重化
手段15の第一の入力へと送られる。FIG. 5 is a diagram showing an example for explaining an encoding method in the image encoding means 13 in the monitoring image recording apparatus according to the first embodiment of the present invention. For example, as shown in FIG. Is divided into blocks (encoded blocks) having a predetermined number of pixels and encoded in block units. Here, a portion p shown in black in the figure indicates a pixel at a position corresponding to the shape shown in the shape image 110, and the coding is performed when all the pixels in the block are pixels in the shape. DCT coding is performed on a block basis only for a block including a boundary pixel with the background “0”. At this time, for a block including the background “0” and the boundary pixel, pixels outside the shape, for example, the pixel value of the boundary pixel is repeatedly padded (padded) and then subjected to DCT coding. Therefore, the blocks to be coded are only the blocks in the shape p in FIG. 5 and the blocks indicated by oblique lines, and blocks in which all the pixels in the block are out of the shape are skipped during coding. Therefore, only the image information within the valid shape is output as encoded data. Then, the encoded image data output from the image encoding unit 13 is sent to a first input of the multiplexing unit 15.
【0032】一方、形状符号化手段14では物体形状抽
出手段12からの形状画像110により表された形状情
報を符号化し、形状符号化データを出力する。形状符号
化は、例えば形状画像110を水平に走査して画素値が
“0”から“1”、あるいは“1”から“0”に変化す
る画素の変化位置を検出し、各変化点の位置関係を符号
化することにより形状符号化データとする。図6はその
例を示す図であり、形状画像110を走査して例えば変
化画素a、bが検出されると、aとbの間の画素数を符
号化して形状符号化データとする。On the other hand, the shape encoding means 14 encodes the shape information represented by the shape image 110 from the object shape extracting means 12 and outputs shape encoded data. In the shape encoding, for example, the shape image 110 is horizontally scanned to detect a change position of a pixel whose pixel value changes from “0” to “1” or “1” to “0”, and a position of each change point is detected. The relationship is encoded to form shape-encoded data. FIG. 6 is a diagram showing an example of this. When the shape image 110 is scanned and, for example, changed pixels a and b are detected, the number of pixels between a and b is encoded to form encoded shape data.
【0033】そして、形状符号化手段14から出力され
る形状符号化データは多重化手段15の第二の入力へと
送られ、多重化手段15では、形状符号化データと上記
画像符号化手段13からの画像符号化データを多重して
出力し、記憶装置16に記憶する。記憶装置16として
は、ハードディスク、光磁気ディスク、磁気テープ、V
TRなどを用いる。Then, the shape-encoded data output from the shape-encoding means 14 is sent to a second input of the multiplexing means 15, and the multiplexing means 15 outputs the shape-encoded data to the image encoding means 13 Are multiplexed and output, and are stored in the storage device 16. As the storage device 16, a hard disk, a magneto-optical disk, a magnetic tape,
TR or the like is used.
【0034】なお、物体形状抽出手段12における物体
検出手段20の出力が物体が映っていないことを示して
いる場合には、画素値がすべて“0”である形状画像1
10が出力されているので、このとき、画像符号化手段
13ではすべてのブロックがスキップされることとな
り、また、形状符号化手段14では形状画像110に形
状を示す画素が存在しないので形状符号化データは出力
されず、したがって、記憶装置16においては形状符号
化および画像符号化データの記録は行なわれないことと
なる。When the output of the object detecting means 20 in the object shape extracting means 12 indicates that no object is reflected, the shape image 1 whose pixel values are all "0" is displayed.
10 is output, at this time, all blocks are skipped by the image encoding means 13, and the shape encoding means 14 does not have any pixels indicating the shape in the shape image 110, so that the shape encoding is not performed. No data is output, and thus the storage device 16 does not record shape-encoded and image-encoded data.
【0035】よって、記憶装置16において記憶される
のは、物体形状抽出手段12において物体が検出されて
その形状画像が抽出された際の形状符号化データと画像
符号化データとなり、物体が検出されず形状画像が形状
があることを示さない場合はデータは記憶されず、検出
された物体の形状内の画像情報とその形状情報のみが記
憶されることとなる。Therefore, what is stored in the storage device 16 is the shape-encoded data and the image-encoded data when the object is detected by the object shape extracting means 12 and the shape image is extracted, and the object is detected. If the shape image does not indicate that there is a shape, no data is stored, and only image information within the shape of the detected object and the shape information are stored.
【0036】なお、上記実施の形態1では、画像符号化
手段13としてブロック単位でDCT符号化を行い、形
状外の画素をパディングして符号化する場合について示
したが、画像符号化手段13はこれに限るものではな
く、ウェーブレット変換や形状内の画素に合わせ変換を
行う形状適応DCT(SA−DCT)などの他の形状を
用いた符号化方法により符号化を行ってもよい。In the first embodiment, a case has been described in which the image encoding means 13 performs DCT encoding in units of blocks and performs padding and encoding of pixels outside the shape, but the image encoding means 13 However, the present invention is not limited to this, and encoding may be performed by an encoding method using another shape such as a wavelet transform or a shape adaptive DCT (SA-DCT) that performs transform according to pixels in the shape.
【0037】また、上記実施の形態1では、形状符号化
手段14として、形状画像110において画素値が形状
外から形状内へ、または形状内から形状外へ変化する変
化画素の位置関係を符号化することにより符号化を行う
としているが、形状画像の符号化方法はこれに限らず、
例えば物体の形状の輪郭点を順次符号化したり、画像の
ライン相関により形状画像における符号化ライン上の前
変化点との相対位置で符号化する方法を用いてもよい。Further, in the first embodiment, the shape encoding means 14 encodes the positional relationship of the changing pixels whose pixel values change from outside the shape to inside the shape or from inside the shape to outside the shape in the shape image 110. It is said that encoding is performed by performing, but the encoding method of the shape image is not limited to this,
For example, a method may be used in which contour points of the shape of the object are sequentially encoded, or encoded at a relative position to a previous change point on an encoding line in the shape image by line correlation of the image.
【0038】また、上記実施の形態1では、サブサンプ
ル手段21が入力画像を4画素×4ラインのブロック毎
に平均値に置き換えるとしたが、サブサンプル手段21
はこれに限るものではなく、単純な画素間引きでも、低
域通過フィルタを使った画素間引きでもよい。また、こ
のサブサンプル手段21は、物体検出手段20の演算量
を減らすためのものなので、演算時間に余裕のある場合
は、サブサンプル手段21による間引きを行なわなくて
もよい。In the first embodiment, the sub-sampling unit 21 replaces the input image with the average value for each block of 4 pixels × 4 lines.
Is not limited to this, and may be simple pixel thinning or pixel thinning using a low-pass filter. Further, the sub-sampling means 21 is for reducing the amount of calculation of the object detecting means 20. Therefore, if there is sufficient calculation time, the sub-sampling means 21 need not perform the thinning.
【0039】また、上記実施の形態1では、2値化手段
25が予め定めた所定値αにより差分画像を2値化する
としたが、所定値αは入力画像に応じて適応的に変化さ
せるよう構成してもよく、上記と同様の効果を奏する。Further, in the first embodiment, the binarizing means 25 binarizes the difference image with a predetermined value α, but the predetermined value α is adaptively changed according to the input image. It may be configured to provide the same effects as above.
【0040】また、実施の形態1では物体検出手段3に
おける背景画像更新/記憶手段22を図3のように構成
したが、背景画像の更新および記憶はこれに限らず、フ
レームメモリを用いて先行する画像との変化を検出し、
ある所定時間変化がない場合フレームメモリ内の画像を
背景として更新し、そうでない場合は更新しないなどの
構成を用いてもよい。Further, in the first embodiment, the background image updating / storing means 22 in the object detecting means 3 is configured as shown in FIG. 3, but the updating and storing of the background image is not limited to this. To detect changes to the image
A configuration may be used in which the image in the frame memory is updated as a background when there is no change for a predetermined time, and otherwise the image is not updated.
【0041】また、上記実施の形態1において、形状画
像110中の形状内の画素値を値1とし、形状外の画素
値は0とするとして説明しているが、これに限るもので
はなく、他の画素値であってもよい。In the first embodiment, the pixel value in the shape in the shape image 110 is set to the value 1 and the pixel value outside the shape is set to 0, but the present invention is not limited to this. Other pixel values may be used.
【0042】さらに、物体形状抽出手段12における物
体の形状の抽出は、物体検出手段20において差分画像
を2値化し、面積演算手段26で変化領域の面積を求め
ることで物体を検出し、差分画像の2値化画像と検出結
果から形状画像を生成するものとしたが、これに限ら
ず、例えば画像のエッジを検出することで閉領域を求
め、形状を取り出す方法や、複数の画像を用いて画像内
の動きを検出し、検出された動きより動き領域を求め、
この領域から形状を求める方法など、入力画像内の物体
の形状を抽出しその形状を表す形状画像を生成できれば
同様の効果を奏する。Further, the object shape is extracted by the object shape extracting means 12 by binarizing the difference image by the object detecting means 20 and calculating the area of the change area by the area calculating means 26 to detect the object. The shape image is generated from the binarized image and the detection result. However, the present invention is not limited to this. For example, a closed area is obtained by detecting an edge of the image, and a shape is extracted. Detects motion in the image, finds a motion area from the detected motion,
The same effect can be obtained if the shape of the object in the input image can be extracted and a shape image representing the shape can be generated, such as a method of obtaining a shape from this region.
【0043】実施の形態2.図7はこの発明の実施の形
態2である監視画像記録装置を示すブロック図、図8は
この発明の実施の形態2による監視画像記録装置の物体
形状抽出手段12bの一構成例を示すブロック図であ
る。実施の形態1では物体形状抽出手段12の出力を検
出された物体の形状画像110であるよう構成したが、
図7および図8に示すように、物体形状抽出手段12b
の出力を形状画像110と物体検出手段20内の比較器
27からの制御信号cとして構成し、制御信号cが入力
画像に物体が映っていることを示している場合に、多重
化手段15からの出力である形状符号化データと画像符
号化データを記録し、制御信号cが物体が映っていない
ことを示している場合には、記録を行なわないよう構成
することもできる。Embodiment 2 FIG. 7 is a block diagram showing a surveillance image recording device according to a second embodiment of the present invention, and FIG. 8 is a block diagram showing a configuration example of an object shape extracting means 12b of the surveillance image recording device according to the second embodiment of the present invention. It is. In the first embodiment, the output of the object shape extracting means 12 is configured to be the detected shape image 110 of the object.
As shown in FIGS. 7 and 8, the object shape extracting means 12b
Is output as the control signal c from the shape image 110 and the comparator 27 in the object detection means 20. When the control signal c indicates that an object is reflected in the input image, the output from the multiplexing means 15 It is also possible to record the shape-encoded data and the image-encoded data, which are the outputs of (1) and (2), if the control signal c indicates that the object is not reflected, the recording is not performed.
【0044】図7において、11、13〜15は上記実
施の形態1での監視画像記録装置と同一のものであり、
12bは物体形状抽出手段、16bは記憶装置である。
図8において、20〜28は全て上記実施の形態1での
物体形状抽出手段12内と同一のものである。In FIG. 7, reference numerals 11, 13 to 15 are the same as those of the monitoring image recording apparatus according to the first embodiment.
12b is an object shape extracting means, and 16b is a storage device.
In FIG. 8, reference numerals 20 to 28 are all the same as those in the object shape extracting means 12 in the first embodiment.
【0045】次に動作を説明する。テレビカメラ等で撮
影された画像が入力端子11より入力され、物体形状抽
出手段12bにおいて、物体検出手段20により入力画
像内の物体を検出し、比較器27から物体が映っている
かどうかを示す制御信号cを出力して、形状画像生成手
段28において形状画像110を生成し出力する動作、
および画像符号化手段13での画像の符号化、形状符号
化手段14での形状画像の符号化と多重化手段15での
動作は上記実施の形態1と同一であるのでその詳細な説
明は省略する。Next, the operation will be described. An image captured by a television camera or the like is input from an input terminal 11, and an object shape extraction unit 12b detects an object in the input image by an object detection unit 20 and controls a comparator 27 to indicate whether the object is reflected. An operation of outputting the signal c and generating and outputting the shape image 110 in the shape image generating means 28;
The encoding of the image by the image encoding unit 13, the encoding of the shape image by the shape encoding unit 14, and the operation of the multiplexing unit 15 are the same as those in the first embodiment, and therefore the detailed description is omitted. I do.
【0046】物体形状抽出手段12bにおける比較器2
7からの物体が映っているかどうかを示す制御信号c
は、記憶装置16bの第二の入力にも与えられる。記憶
装置16bは、物体検出手段12bからの制御信号cが
物体が映っていることを示している場合に、多重化手段
15の出力である形状符号化データと画像符号化データ
を記録し、制御信号cが物体が映っていないことを示し
ている場合には、記録を行なわない。The comparator 2 in the object shape extracting means 12b
Control signal c indicating whether an object from 7 is reflected
Is also provided to a second input of the storage device 16b. When the control signal c from the object detection means 12b indicates that an object is reflected, the storage device 16b records the shape encoded data and the image encoded data output from the multiplexing means 15 and controls If the signal c indicates that no object is shown, no recording is performed.
【0047】よって、記憶装置16bに記憶されるデー
タは、入力画像に物体が映っていると判断される場合と
なり、それ以外の場合は記憶する動作を停止することと
なり、検出された物体の形状内の画像の符号化データと
その形状の符号化データが記憶されることとなる。Therefore, the data stored in the storage device 16b is a case where it is determined that an object is reflected in the input image, otherwise the storage operation is stopped, and the shape of the detected object is The encoded data of the image and the encoded data of the shape are stored.
【0048】実施の形態3.以下、上記実施の形態1お
よび2による監視画像記録装置により記憶された符号化
データを再生し、復号する再生装置の実施の形態3につ
いて述べる。図9は上記実施の形態1および2による監
視画像記録装置により記憶された符号化データを再生
し、復号する再生装置の一構成例を示すブロック図であ
る。図において、16は上記実施の形態1および2と同
様の符号化データが記録された記憶装置、41は記憶装
置16から読み出した符号化データを形状符号化データ
と画像符号化データに分離する分離手段であり、分離し
た形状符号化データは形状復号化手段42の入力へ与え
られ、その出力は合成手段44の第1の入力へ与えられ
る。また、画像符号化データは画像復号化手段43の入
力へ与えられ、その出力は合成手段44の第2の入力へ
入力され、合成手段44では復号画像を構成し、出力端
子45へと送る。Embodiment 3 Hereinafter, a third embodiment of the reproducing apparatus that reproduces and decodes the encoded data stored by the monitoring image recording apparatus according to the first and second embodiments will be described. FIG. 9 is a block diagram showing an example of the configuration of a playback device that plays back and decodes encoded data stored by the monitoring image recording device according to the first and second embodiments. In the figure, reference numeral 16 denotes a storage device on which encoded data similar to those of the first and second embodiments are recorded, and 41 denotes a separation device for separating encoded data read from the storage device 16 into shape encoded data and image encoded data. Means, and the separated shape-encoded data is provided to an input of the shape decoding means 42, and an output thereof is provided to a first input of the synthesizing means 44. The encoded image data is supplied to the input of the image decoding means 43, and the output is input to the second input of the synthesizing means 44. The synthesizing means 44 forms a decoded image and sends it to the output terminal 45.
【0049】次に動作について説明する。記憶装置16
から読み出された符号化データは分離手段41へと入力
され、形状符号化データsと画像符号化データiを分離
し、形状符号化データsは形状復号化手段42へ、画像
符号化データiは画像復号化手段43へとそれぞれのデ
ータを出力する。形状復号化手段42では入力された形
状符号化データsを復号して元の形状画像(復号形状画
像)111を生成して出力し、合成手段44へと送る。
画像復号化手段43では、画像符号化データを復号して
合成手段44へと送る。合成手段44では、形状復号化
手段42からの復号形状画像111に基づき、画像復号
化手段43からの復号データを復号形状画像111に示
された形状内に相当する画像の画素値として得て、形状
外の画素値については例えば画素値128とした背景画
像とし、背景画像と形状内画像を合成して復号画像11
2を生成し、出力端子45へと出力する。Next, the operation will be described. Storage device 16
The coded data read from the data is input to the separating means 41 to separate the shape coded data s and the image coded data i, and the shape coded data s is sent to the shape decoding means 42 and the image coded data i Outputs respective data to the image decoding means 43. The shape decoding means 42 decodes the input shape encoded data s, generates and outputs an original shape image (decoded shape image) 111, and sends it to the synthesizing means 44.
The image decoding means 43 decodes the encoded image data and sends it to the synthesizing means 44. In the synthesizing unit 44, based on the decoded shape image 111 from the shape decoding unit 42, the decoded data from the image decoding unit 43 is obtained as a pixel value of an image corresponding to the shape shown in the decoded shape image 111, A pixel value outside the shape is set to a background image having a pixel value of 128, for example, and the background image and the image within the shape are combined to obtain a decoded image 11.
2 is generated and output to the output terminal 45.
【0050】例えば、形状復号化手段42より復号され
て得られた形状画像111が図10(a)に示すような
場合、画像符号化データは形状内の画素が符号化された
データであるので、復号形状画像111をもとに合成す
ると、図10(b)のような形状内の画像を画素値12
8の背景画像に合成した復号画像112を得ることが出
来る。For example, when the shape image 111 obtained by decoding by the shape decoding means 42 is as shown in FIG. 10A, the image encoded data is data in which the pixels in the shape are encoded. When the image is synthesized based on the decoded shape image 111, the image in the shape as shown in FIG.
Thus, a decoded image 112 synthesized with the background image 8 can be obtained.
【0051】なお、上記実施の形態3では合成手段44
で復号画像を生成する際、背景画像として画素値128
の場合について説明したが、形状外の画素として用いる
画像は全画素値が0または255などの画像としても、
また予め取り込み記憶しておいた画像を用いてもよい。In the third embodiment, the combining means 44
When the decoded image is generated by using the pixel value 128 as the background image
Has been described, but an image used as a pixel outside the shape may be an image having all pixel values of 0 or 255, etc.
Alternatively, an image that has been previously captured and stored may be used.
【0052】[0052]
【発明の効果】この発明は、以上説明したように構成さ
れているので、以下に示すような効果を奏する。Since the present invention is configured as described above, it has the following effects.
【0053】この発明による監視画像記録装置によれ
ば、入力画像を用いて物体が映っているかどうかを検出
し、検出された物体の形状を抽出してその形状を表す形
状画像を生成するとともに、前記形状画像に基づき入力
画像における形状内の画像を符号化し、また、上記形状
画像を符号化して、上記符号化された画像情報と形状情
報とを記録することにより、テレビカメラ等からの入力
画像のみにより、入力画像から検出される物体の形状内
の画像情報を記録し、監視領域に物体が存在する間常に
物体の形状内の画像情報を得ることができ、物体内以外
の利用価値の低い情報の記録を減らすことができる。According to the surveillance image recording apparatus of the present invention, it is detected whether or not an object is reflected by using the input image, the shape of the detected object is extracted, and a shape image representing the shape is generated. Encoding an image in a shape in an input image based on the shape image, and encoding the shape image, and recording the encoded image information and shape information, thereby inputting an image from a television camera or the like. Only by recording the image information in the shape of the object detected from the input image, it is possible to always obtain the image information in the shape of the object while the object is present in the monitoring area. Recording of information can be reduced.
【0054】また、この発明による監視画像記録装置に
よれば、物体形状抽出手段が、入力画像を用いて物体が
映っているかどうかを検出し、前記検出結果に基づき、
検出された物体の形状を表す形状画像を生成することに
より、入力画像から検出される物体の形状内の画像情報
を記録し、監視領域に物体が存在する間常に物体の形状
内の画像情報を得ることができ、物体内以外の利用価値
の低い記録を減らすことができる。According to the surveillance image recording apparatus of the present invention, the object shape extracting means detects whether or not an object is reflected by using the input image, and based on the detection result,
By generating a shape image representing the shape of the detected object, the image information within the shape of the object detected from the input image is recorded, and the image information within the shape of the object is always stored while the object is present in the monitoring area. Records that have low utility value outside the object can be reduced.
【0055】また、この発明による監視画像記録装置に
よれば、物体検出手段が、背景画像を記憶し、背景画像
と入力画像との差の絶対値を差分画像として求めるとと
もに、前記差分画像を2値化して変化領域と静止領域と
に分割し、変化領域の面積が所定値以上の場合に物体が
存在すると判定し、そうでないときに物体が存在しない
と判定して、この変化領域の形状情報により上記物体の
形状を表す形状画像を生成するよう構成することによ
り、入力画像から検出される物体の形状内の画像情報を
記録し、監視領域に物体が存在する間常に物体の形状内
の画像情報を得ることができ、物体内以外の利用価値の
低い記録を減らすことができる。According to the surveillance image recording apparatus of the present invention, the object detecting means stores the background image, determines the absolute value of the difference between the background image and the input image as a difference image, and calculates the difference image by two. The value is divided into a change area and a stationary area, and when the area of the change area is equal to or more than a predetermined value, it is determined that the object exists, otherwise, it is determined that the object does not exist, and the shape information of the change area is determined. By configuring to generate a shape image representing the shape of the object, the image information in the shape of the object detected from the input image is recorded, and the image in the shape of the object is always present while the object is present in the monitoring area. Information can be obtained, and records with low utility value other than inside the object can be reduced.
【0056】また、この発明による監視画像記録装置に
よれば、物体検出手段が入力画像を用いて物体が映って
いるかどうかを検出する手段を備え、物体がいると判断
したときのみ符号化された画像情報と形状情報を記録す
るよう制御することにより、入力画像から検出される物
体の形状内の画像情報のみを記録し、監視領域に物体が
存在する間常に物体の形状内の画像情報を得ることがで
き、物体内以外の利用価値の低い記録を減らすことがで
きる。According to the surveillance image recording apparatus of the present invention, the object detecting means includes means for detecting whether or not the object is reflected using the input image, and the encoding is performed only when it is determined that the object is present. By controlling to record the image information and the shape information, only the image information within the shape of the object detected from the input image is recorded, and the image information within the shape of the object is always obtained while the object exists in the monitoring area. And records with low utility values other than inside the object can be reduced.
【0057】また、この発明による監視画像記録装置に
より記録された符号化情報を復号する再生装置によれ
ば、符号化された形状情報を復号し、符号化された画像
情報を復号して、前記復号された形状情報に基づき、前
記復号された画像情報を所定の画像と合成して復号画像
を生成することにより、入力画像から検出される物体の
形状内の画像情報のみを記録し、再生時に記録された入
力画像中の物体の形状内の画像情報を得ることができ、
物体内以外の利用価値の低い記録を減らすことができ
る。According to the reproducing apparatus for decoding the encoded information recorded by the monitoring image recording apparatus according to the present invention, the encoded shape information is decoded, and the encoded image information is decoded. Based on the decoded shape information, by combining the decoded image information with a predetermined image to generate a decoded image, only the image information within the shape of the object detected from the input image is recorded, and Image information within the shape of the object in the recorded input image can be obtained,
Records with low utility value other than inside the object can be reduced.
【図1】 この発明の実施の形態1である監視画像記録
装置を示すブロック図である。FIG. 1 is a block diagram illustrating a monitoring image recording device according to a first embodiment of the present invention.
【図2】 図1における物体形状抽出手段12の一構成
例を示すブロック図である。FIG. 2 is a block diagram showing a configuration example of an object shape extraction unit 12 in FIG.
【図3】 この発明の実施の形態1による物体検出手段
20における背景画像更新/記憶手段22の一構成例を
示すブロック図である。FIG. 3 is a block diagram showing a configuration example of a background image update / storage unit 22 in the object detection unit 20 according to the first embodiment of the present invention.
【図4】 この発明の実施の形態1による監視画像記録
装置における物体形状抽出手段の動作を説明するための
画像の一例を示す図である。FIG. 4 is a diagram showing an example of an image for explaining the operation of the object shape extracting means in the monitoring image recording device according to the first embodiment of the present invention.
【図5】 この発明の実施の形態1による監視画像記録
装置における画像符号化手段の符号化方法を説明するた
めの一例を示す図である。FIG. 5 is a diagram illustrating an example for describing an encoding method of an image encoding unit in the monitoring image recording device according to the first embodiment of the present invention.
【図6】 この発明の実施の形態1による監視画像記録
装置における形状符号化手段の符号化方法を説明するた
めの一例を示す図である。FIG. 6 is a diagram illustrating an example for describing an encoding method of a shape encoding unit in the monitoring image recording device according to the first embodiment of the present invention.
【図7】 この発明の実施の形態2である監視画像記録
装置を示すブロック図である。FIG. 7 is a block diagram showing a surveillance image recording device according to a second embodiment of the present invention.
【図8】 この発明の実施の形態2による監視画像記録
装置の物体形状抽出手段12bの一構成例を示すブロッ
ク図である。FIG. 8 is a block diagram showing a configuration example of an object shape extracting means 12b of the monitoring image recording device according to the second embodiment of the present invention.
【図9】 この発明の実施の形態3による監視画像記録
装置におけるその再生装置の一構成例を示すブロック図
である。FIG. 9 is a block diagram showing a configuration example of a reproducing apparatus in a monitoring image recording apparatus according to a third embodiment of the present invention.
【図10】 この発明の実施の形態3である監視画像記
録装置におけるその再生装置の動作を説明するための復
号形状画像および復号画像の一例を示す図である。FIG. 10 is a diagram showing an example of a decoded shape image and a decoded image for explaining the operation of the reproducing device in the monitoring image recording device according to the third embodiment of the present invention.
【図11】 従来の監視画像記録装置を示すブロック図
である。FIG. 11 is a block diagram showing a conventional monitoring image recording device.
【図12】 従来の監視画像記録装置の動作を説明する
ための図である。FIG. 12 is a diagram for explaining the operation of a conventional monitoring image recording device.
11 入力端子、12,12b 物体形状抽出手段、1
3 画像符号化手段、14 形状符号化手段、15 多
重化手段、16,16b 記憶装置、20 物体検出手
段、21 サブサンプル手段、22 背景画像更新/記
憶手段、23減算器、24 絶対値演算器、25 2値
化手段、26 面積演算手段、27比較器、28 形状
画像生成手段、41 分離手段、42 形状復号化手
段、43 画像復号化手段、44 合成手段、45 出
力端子、110 形状画像、111 復号形状画像、1
12 復号画像。11 input terminal, 12, 12b object shape extracting means, 1
3 image encoding means, 14 shape encoding means, 15 multiplexing means, 16, 16b storage device, 20 object detection means, 21 sub-sampling means, 22 background image updating / storage means, 23 subtractor, 24 absolute value calculator , 25 binarizing means, 26 area calculating means, 27 comparators, 28 shape image generating means, 41 separating means, 42 shape decoding means, 43 image decoding means, 44 combining means, 45 output terminals, 110 shape images, 111 decoded shape image, 1
12 Decoded image.
Claims (5)
うかを検出し、検出された物体の形状を抽出してその形
状を表す画像を生成する物体形状抽出手段と、前記検出
された物体の形状を表す画像に基づき入力画像における
形状内の画像を符号化する手段と、上記検出された物体
の形状を表す画像を符号化する手段とを備え、上記符号
化された画像情報と形状情報とを記録することを特徴と
する監視画像記録装置。1. An object shape extracting means for detecting whether an object is projected using an input image, extracting a shape of the detected object, and generating an image representing the shape, Means for encoding an image within the shape in the input image based on the image representing the shape, and means for encoding an image representing the shape of the detected object, wherein the encoded image information and shape information are A surveillance image recording device, characterized by recording an image.
いて物体が映っているかどうかを検出する物体検出手段
と、前記物体検出手段の出力に基づき、検出された物体
の形状を表す画像を生成する手段とを備えることを特徴
とする請求項1記載の監視画像記録装置。2. An object shape extracting means for detecting whether or not an object is projected using an input image, and an image representing the shape of the detected object based on an output of the object detecting means. The surveillance image recording device according to claim 1, further comprising: a generation unit.
る手段と、背景画像と入力画像との差の絶対値を差分画
像として求める手段とを備えるとともに、前記差分画像
を2値化して変化領域と静止領域とに分割する手段を備
え、変化領域の面積が所定値以上の場合に物体が存在す
ると判定するとともに、この変化領域の形状情報により
上記物体の形状を表す画像を生成するよう構成したこと
を特徴とする請求項2記載の監視画像記録装置。3. The object detection means includes means for storing a background image, means for obtaining an absolute value of a difference between the background image and the input image as a difference image, and a method for binarizing and changing the difference image. Means for dividing into an area and a stationary area, wherein when the area of the change area is equal to or larger than a predetermined value, it is determined that an object is present, and an image representing the shape of the object is generated based on the shape information of the change area. 3. The monitoring image recording apparatus according to claim 2, wherein:
物体が映っているかどうかを検出する手段を備え、物体
が存在すると判断したときのみ符号化された画像情報と
形状情報を記録するよう制御することを特徴とする請求
項2記載の監視画像記録装置。4. The apparatus according to claim 1, wherein said object detecting means includes means for detecting whether or not the object is reflected by using an input image, and records encoded image information and shape information only when it is determined that the object is present. The surveillance image recording apparatus according to claim 2, wherein the control is performed.
監視画像記録装置により記録された符号化情報を復号す
る再生装置であって、符号化された形状情報を復号する
手段と、符号化された画像情報を復号する復号手段とを
備え、前記復号された形状情報に基づき、前記復号され
た画像情報を所定の画像と合成して復号画像を生成する
手段を備えたことを特徴とする再生装置。5. A reproducing device for decoding encoded information recorded by the monitoring image recording device according to claim 1, wherein the reproducing device decodes the encoded shape information. Decoding means for decoding the encoded image information; and means for generating a decoded image by combining the decoded image information with a predetermined image based on the decoded shape information. Playback device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP9120941A JPH10313455A (en) | 1997-05-12 | 1997-05-12 | Supervisory image recording device and its reproducing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP9120941A JPH10313455A (en) | 1997-05-12 | 1997-05-12 | Supervisory image recording device and its reproducing device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH10313455A true JPH10313455A (en) | 1998-11-24 |
Family
ID=14798766
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP9120941A Pending JPH10313455A (en) | 1997-05-12 | 1997-05-12 | Supervisory image recording device and its reproducing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH10313455A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004348732A (en) * | 2003-05-21 | 2004-12-09 | Mitsubishi Electric Research Laboratories Inc | Method for adaptively updating background image expressing background of scene |
WO2007129374A1 (en) * | 2006-04-26 | 2007-11-15 | Mitsubishi Denki Kabushiki Kaisha | Object detection device, and object detection device for elevator |
JP2008046734A (en) * | 2006-08-11 | 2008-02-28 | Hitachi Building Systems Co Ltd | Elevator passenger detection device |
-
1997
- 1997-05-12 JP JP9120941A patent/JPH10313455A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004348732A (en) * | 2003-05-21 | 2004-12-09 | Mitsubishi Electric Research Laboratories Inc | Method for adaptively updating background image expressing background of scene |
WO2007129374A1 (en) * | 2006-04-26 | 2007-11-15 | Mitsubishi Denki Kabushiki Kaisha | Object detection device, and object detection device for elevator |
JPWO2007129374A1 (en) * | 2006-04-26 | 2009-09-17 | 三菱電機株式会社 | Object detection device and elevator object detection device |
JP4672658B2 (en) * | 2006-04-26 | 2011-04-20 | 三菱電機株式会社 | Object detection device and elevator object detection device |
US8103105B2 (en) | 2006-04-26 | 2012-01-24 | Mitsubishi Electric Corporation | Object detection device, and object detection device for elevator |
JP2008046734A (en) * | 2006-08-11 | 2008-02-28 | Hitachi Building Systems Co Ltd | Elevator passenger detection device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3590996B2 (en) | Hierarchical encoding and decoding apparatus for digital image signal | |
US6400763B1 (en) | Compression system which re-uses prior motion vectors | |
US5485279A (en) | Methods and systems for encoding and decoding picture signals and related picture-signal records | |
JP3381855B2 (en) | Image signal encoding method and image signal encoding device, image signal decoding method and image signal decoding device | |
US5237410A (en) | Video signal encoding apparatus utilizing control of quantization step size for improved picture quality | |
JP2744871B2 (en) | Image signal encoding method and image signal encoding device | |
US20060013495A1 (en) | Method and apparatus for processing image data | |
JP3772604B2 (en) | Monitoring system | |
WO1997049250A1 (en) | Device and method for encoding picture and device and method for decoding picture | |
JP2002517176A (en) | Method and apparatus for encoding and decoding digital motion video signals | |
JPH10304401A (en) | Video signal conversion apparatus, video signal conversion method, and video providing system | |
JP2001514830A (en) | Error concealment of video images | |
JP2006157481A (en) | Image coding apparatus and method thereof | |
JP3713067B2 (en) | Image signal compression coding apparatus and decompression reproduction apparatus | |
JPH10313455A (en) | Supervisory image recording device and its reproducing device | |
CN1078795C (en) | Improved motion compensation method for use in image encoding system | |
JP3111028B2 (en) | Image signal processing apparatus and image signal processing method | |
JP3260284B2 (en) | Image compression device and image decompression device | |
JP2900808B2 (en) | Method for reducing mosquito noise generated when decoding image data and image data decoding apparatus | |
JPH10191353A (en) | Image encoder and image encoding method, image decoder and image decoding method and recording medium | |
JP3937247B2 (en) | Still image data generating apparatus and still image data generating method | |
JPH06113291A (en) | Picture coder and decoder | |
JP3334384B2 (en) | Picture prediction coding method | |
JP4526529B2 (en) | Video signal converter using hierarchical images | |
JP2900815B2 (en) | Method and device for adaptive coring |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20040625 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20050203 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20050215 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20050614 |