JP2004056410A - Image recording system - Google Patents

Image recording system Download PDF

Info

Publication number
JP2004056410A
JP2004056410A JP2002210423A JP2002210423A JP2004056410A JP 2004056410 A JP2004056410 A JP 2004056410A JP 2002210423 A JP2002210423 A JP 2002210423A JP 2002210423 A JP2002210423 A JP 2002210423A JP 2004056410 A JP2004056410 A JP 2004056410A
Authority
JP
Japan
Prior art keywords
recording
alarm
image signal
bit
post
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
JP2002210423A
Other languages
Japanese (ja)
Inventor
Hirohide Yamashiro
山城 啓秀
Hiroshi Tanimura
谷村 啓
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2002210423A priority Critical patent/JP2004056410A/en
Priority to US10/621,318 priority patent/US20040022516A1/en
Publication of JP2004056410A publication Critical patent/JP2004056410A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image recording system capable of properly recording only a desired photographing image signal onto a hard disk. <P>SOLUTION: A camera switching circuit provided to a multiplexer 14 selects any of a plurality of supervisory cameras C1 to C16 in time division. An image processing apparatus included in the multiplexer 14 captures the photographed image signal outputted from the selected supervisory camera and attaches VBI information whose recording bit is '1' to the photographed image signal in a timing in response to the setting of a recording mode. An HDR 16 records the image signal to the hard disk when the recording bit included in the VBI information indicates '1'. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
この発明は、画像記録システムに関し、特にたとえば監視カメラシステムに適用され、複数のカメラから与えられた複数の画像信号を選択的に出力するマルチプレクサとマルチプレクサから出力された画像信号を記録媒体に記録する記録装置とを備える、画像記録システムに関する。
【0002】
【従来技術】
従来のこの種の監視カメラシステムでは、マルチプレクサは、複数のカメラの各々を所定フレーム数ずつ時分割で選択し、選択された監視カメラから出力された画像信号を所定周期で抽出していた。そして、記録装置は、マルチプレクサから出力された画像信号をビデオテープのような記録媒体に記録していた。
【0003】
【発明が解決しようとする課題】
しかし、従来技術では、記録媒体がビデオテープであるゆえに、画像信号の抽出周期は固定としなければならず、抽出周期をカメラ毎に任意に変更することはできなかった。つまり、画像信号の抽出周期を変更すると、画像信号を適切に記録することができなかった。
【0004】
それゆえに、この発明の主たる目的は、任意の画像信号のみを記録媒体に的確に記録することができる、画像記録システムを提供することである。
【0005】
【課題を解決するための手段】
この発明は、複数のカメラから与えられた複数の画像信号を選択的に出力するマルチプレクサとマルチプレクサから出力された画像信号を記録媒体に記録する記録装置とを備える画像記録システムにおいて、マルチプレクサは、複数のカメラの各々を時分割で選択する選択手段、および選択手段によって選択されたカメラから出力された画像信号に任意のタイミングで記録要求信号を付加する付加手段を備え、記録装置は、マルチプレクサから出力された画像信号に記録要求信号が付加されているとき当該画像信号を記録媒体に記録する記録手段を備えることを特徴とする、画像記録システムである。
【0006】
【作用】
マルチプレクサは、複数のカメラから与えられた複数の画像信号を選択的に出力し、記録装置は、マルチプレクサから出力された画像信号を記録媒体に記録する。具体的には、マルチプレクサは、複数のカメラの各々を時分割で選択し、選択されたカメラから出力された画像信号に任意のタイミングで記録要求信号を付加する。記録装置は、マルチプレクサから出力された画像信号に記録要求信号が付加されているとき、当該画像信号を記録媒体に記録する。
【0007】
マルチプレクサが複数のカメラの各々について記録レートの設定を受け付ける場合、任意のタイミングは受け付けた記録レート設定に従うタイミングである。
【0008】
マルチプレクサがアラームの発生状態に応じてプリアラーム記録およびポストアラーム記録のいずれか一方を示す記録モード情報を生成する場合、記録要求信号には当該記録モード情報が含まれる。
【0009】
好ましくは、記録媒体は、プリアラーム領域およびポストアラーム領域を有する。このとき、記録手段は、記録要求信号から記録モード情報を検出する。さらに、検出した記録モード情報がプリアラーム記録を示すときは画像信号をプリアラーム領域に記録し、検出した記録モード情報がポストアラーム記録を示すときは画像信号をポストアラーム領域に記録する。
【0010】
マルチプレクサは、ポストアラーム記録を行うとき特定のカメラを優先的に選択するようにしてもよい。
【0011】
【発明の効果】
この発明によれば、記録要求信号がマルチプレクサによって任意のタイミングで画像信号に付加され、記録要求信号が付加された画像信号が記録装置によって記録媒体に記録される。このため、任意の画像信号のみを記録媒体に的確に記録することができる。
【0012】
この発明の上述の目的,その他の目的,特徴および利点は、図面を参照して行う以下の実施例の詳細な説明から一層明らかとなろう。
【0013】
【実施例】
図1を参照して、この実施例の監視カメラシステム10は、センサS1〜S16が個別に割り当てられた16個の監視カメラC1〜C16と、マルチプレクサ14およびHDR(Hard Disc Recorder)16が一体となったビデオレコーダ12と、モニタ22とによって形成される。
【0014】
監視カメラC1〜C16は、互いに異なる位置に設置され、撮影画像信号1〜16を個別に出力する。また、センサS1〜S16はそれぞれ、監視カメラC1〜C16によって撮影される被写界の動きを検知し、異常な動きが発生したときにアラーム1〜16を発生する。撮影画像信号1〜16およびアラーム1〜16は、マルチプレクサ14に与えられる。
【0015】
監視カメラC1〜C16の各々の撮影レートは60fps(field per second)であり、撮影画像信号1〜16は1秒間に60フィールド(60画面)の割合で監視カメラC1〜C16から出力される。ただし、監視カメラC1〜C16は互いに独立して動作し、撮影画像1〜16の間で位相が一致する保証はない。
【0016】
マルチプレクサ14は、図2に示すように構成される。電源が投入されると、メインCPU26は、メニューレジスタ26cの画像記録モード設定とアラーム1〜16の発生状態とに基づいて、カメラ切換回路22aおよび22bと画像処理回路24aおよび24bとを制御する。
【0017】
カメラ切換回路22aおよび画像処理回路24aは、4フィールドを1サイクルとして動作し、カメラ切換回路22bおよび画像処理回路24bもまた、4フィールドを1サイクルとして動作する。ただし、図3に示すように、カメラ切換回路22aおよび画像処理回路24aの動作とカメラ切換回路22bおよび画像処理回路24bの動作との間では、2フィールドのずれが存在する。
【0018】
カメラ切換回路22aおよび22bは、1サイクルを形成する第1フィールドにおいて監視カメラの選択を切り換え、次の1サイクルの第1フィールドまで同じ監視カメラを選択し続ける。監視カメラC1〜C16の間では同期がとられていないが、4フィールド期間にわたって同じ監視カメラを選択し続けることで、当該監視カメラから出力された2フィールド分の撮影画像信号を確実に取り込むことができる。カメラ切換回路22aから画像処理回路24aに与えられた2フィールドの撮影画像信号は、メモリ制御回路241aによってメモリ242aに書き込まれる。また、カメラ切換回路22bから画像処理回路24bに与えられた2フィールドの撮影画像信号は、メモリ制御回路241bによってメモリ242bに書き込まれる。
【0019】
テストパターン生成回路243aおよび243bは、第4フィールドにおいて常にテストパターン画像信号を出力し、第1フィールドにおいて画像記録モード設定に応じてテストパターン画像信号を出力する。また、メモリ制御回路241aおよび241bは、第1フィールドにおいて、画像記録モード設定に応じてメモリ242から奇数フィールドの撮影画像信号を読み出す。つまり、第4フィールドではテストパターン画像信号が必ず出力されるが、第1フィールドでは画像記録モード設定に従ってテストパターン画像信号または撮影画像信号が出力される。
【0020】
図3に示すように、画像処理回路24aおよび24bの間では2フィールドのずれが存在する。このため、第1フィールド〜第4フィールドのいずれにおいても、テストパターン画像信号および撮影画像信号のいずれか一方が、マルチプレクサ14から出力される。なお、撮影画像信号が出力されるフィールドを“記録フィールド”と定義し、テストパターン画像信号が出力されるフィールドを“不要フィールド”と定義する。
【0021】
画像記録モードとしては、プリアラーム記録モード,ポストアラーム記録モードおよびノーマル記録モードがある。プリアラーム記録モードおよびノーマル記録モードはアラーム1〜16のいずれも発生しないときに有効化される記録モードであり、ポストアラーム記録モードはアラーム1〜16のいずれか1つが発生したときに有効化される記録モードである。
【0022】
VBI挿入回路244aおよび244bはそれぞれ、IDビット,記録ビット,プリアラームビットおよびポストアラームビットが設けられたVBI(Vertical Blanking Interval)信号を生成し、メモリ241aおよび241bから出力された撮影画像信号またはテストパターン生成回路243aおよび243bによって生成されたテストパターン画像信号に当該VBI信号を多重する。
【0023】
ここで、IDビットは、画像信号の種類を識別するビットである。撮影画像信号に多重されるVBI信号のIDビットは、当該撮影画像信号を出力したカメラのID(“1”〜“16”のいずれか1つ)を示す。これに対して、テストパターン画像信号に多重されるVBI信号のIDビットは、不定(=*)とされる。
【0024】
記録ビットは、画像信号が記録フィールドおよび不要フィールドのいずれの信号であるかを識別するビットであり、“1”が記録フィールドを示し、“0”が不要フィールドを示す。撮影画像信号に多重されるVBI信号の記録ビットは“1”とされ、テストパターン画像信号に多重されるVBI信号の記録ビットは“0”とされる。
【0025】
プリアラームビットおよびポストアラームビットは、画像信号の記録モードを識別するビットである。プリアラーム記録モードに対応する撮影画像信号に多重されるVBI信号は、プリアラームビットとして“1”を有し、ポストアラームビットとして“0”を有する。また、ポストアラーム記録モードに対応する撮影画像信号に多重されるVBI信号は、プリアラームビットとして“0”を有し、ポストアラームビットとして“1”を有する。さらに、ノーマル記録モードに対応する撮影画像信号に多重されるVBI信号は、プリアラームビットとして“0”を有し、ポストアラームビットとして“0”を有する。
【0026】
アラーム1〜16のいずれも発生していないときに生成されたテストパターン画像信号には、プリアラームビットおよびポストアラームビットのいずれも不定(=*)のVBI信号が多重される。一方、アラーム1〜16のいずれかが発生しているときに生成されたテストパターン画像信号には、プリアラームビットが“0”でポストアラームビットが“1”のVBI信号が多重される。
【0027】
なお、上述のIDビット,記録ビット,プリアラームビットおよびポストアラームビットを“VBI情報”と定義する。
【0028】
プリアラーム記録モードおよびノーマル記録モードの各々は、メニュー操作によってオン状態およびオフ状態のいずれかに設定される。また、オン状態とされた記録モードについては、いずれの監視カメラの撮影画像信号をいずれの記録レートで記録するかがメニュー操作によって設定される。一方、ポストアラーム記録モードは常にオン状態とされ、アラームが発生した監視カメラからの撮影画像信号の最大記録レートがメニュー操作によって設定される。
【0029】
たとえば、図4に示すようにノーマル記録モードがオン状態とされるとともにプリアラーム記録モードがオフ状態とされ、図5に示すプログラムP−1がノーマル記録用に選択された場合、マルチプレクサ14では、図6に示す要領で処理が実行される。なお、図5によれば、監視カメラC1およびC2がノーマル記録用の監視カメラとして選択される。また、監視カメラC1の記録レートが7.5fpsに設定され、監視カメラC2の記録レートが3.75fpsに設定される。
【0030】
図6を参照して、カメラ切換回路22aは常に監視カメラC1を選択し、カメラ切換回路22bは常に監視カメラC2を選択する。画像処理回路24aは、第1フィールドにおいて撮影画像信号1またはテストパターン画像信号を出力し、第4フィールドにおいてテストパターン画像信号を出力する。また、画像処理回路24bは、第1フィールドにおいて撮影画像信号2またはテストパターン画像信号を出力し、第4フィールドにおいてテストパターン画像信号を出力する。
【0031】
監視カメラC1の記録レートは7.5fpsであり、監視カメラC2の記録レートは3.75fpsである。このため、撮影画像信号1は1サイクルに1回の割合で画像処理回路24aから出力され、撮影画像信号2は2サイクルに1回の割合で画像処理回路24bから出力される。
【0032】
画像処理回路24aからの撮影画像信号1またはテストパターン画像信号の出力に先立って、VBI挿入回路244aは、記録ビット“1”,プリアラームビット“0”,ポストアラームビット“0”およびIDビット“1”を有するVBI信号を撮影画像信号1に多重し、記録ビット“0”,プリアラームビット“*”,ポストアラームビット“*”およびIDビット“*”を有するVBI信号をテストパターン画像信号に多重する。また、画像処理回路24bからの撮影画像信号2またはテストパターン画像信号の出力に先立って、VBI挿入回路244bは、記録ビット“1”,プリアラームビット“0”,ポストアラームビット“0”およびIDビット“2”を有するVBI信号を撮影画像信号2に多重し、記録ビット“0”,プリアラームビット“*”,ポストアラームビット“*”およびIDビット“*”を有するVBI信号をテストパターン画像信号に多重する。
【0033】
また、図7に示すようにノーマル記録モードおよびプリアラーム記録モードがオン状態とされ、図7に示すプログラムP−2がノーマル記録用に選択されるとともに、図8に示すプログラムP−3がプリアラーム記録用に選択された場合、マルチプレクサ14では、図9に示す要領で処理が実行される。
【0034】
なお、図8によれば、監視カメラC1およびC2がノーマル記録の監視カメラとして選択され、監視カメラC1の記録レートおよび監視カメラC2の記録レートがそれぞれ7.5fpsおよび3.75fpsに設定される。また、図9によれば、監視カメラC3およびC4がプリアラーム記録の監視カメラとして選択され、監視カメラC3の記録レートおよび監視カメラC4の記録レートがそれぞれ7.5fpsおよび2.5fpsに設定される。
【0035】
図10を参照して、カメラ切換回路22aは監視カメラC1およびC2を4フィールド毎に交互に選択し、カメラ切換回路22bは監視カメラC3およびC4を4フィールド毎に交互に選択する。画像処理回路24aは、監視カメラC1が選択された1サイクルの第1フィールドにおいて撮影画像信号2またはテストパターン画像信号を出力し、監視カメラC2が選択された1サイクルの第1フィールドにおいて撮影画像信号1またはテストパターン画像信号を出力し、そして各々の1サイクルの第4フィールドにおいてテストパターン画像信号を出力する。また、画像処理回路24bは、監視カメラC3が選択された1サイクルの第1フィールドにおいて撮影画像信号4またはテストパターン画像信号を出力し、監視カメラC4が選択された1サイクルの第1フィールドにおいて撮影画像信号3またはテストパターン画像信号を出力し、そして各々の1サイクルの第4フィールドにおいてテストパターン画像信号を出力する。
【0036】
監視カメラC1の記録レートは7.5fpsであり、監視カメラC2の記録レートは3.75fpsである。このため、撮影画像信号1は、2サイクルに1回の割合で画像処理回路24aから出力され、撮影画像信号2は4サイクルに1回の割合で画像処理回路24aから出力される。また、監視カメラC3の記録レートは7.5fpsであり、監視カメラC4の記録レートは2.5fpsである。このため、撮影画像信号3は2サイクルに1回の割合で画像処理回路24bから出力され、撮影画像信号4は6サイクルに1回の割合で画像処理回路24bから出力される。
【0037】
撮影画像信号1には、記録ビット“1”,プリアラームビット“0”,ポストアラームビット“0”およびIDビット“1”を有するVBI信号がVBI挿入回路244aによって多重され、撮影画像信号2には、記録ビット“1”,プリアラームビット“0”,ポストアラームビット“0”およびIDビット“2”を有するVBI信号がVBI挿入回路244aによって多重される。また、撮影画像信号3には、記録ビット“1”,プリアラームビット“0”,ポストアラームビット“0”およびIDビット“3”を有するVBI信号がVBI挿入回路244bによって多重され、撮影画像信号4には、記録ビット“1”,プリアラームビット“0”,ポストアラームビット“0”およびIDビット“4”を有するVBI信号がVBI挿入回路244bによって多重される。さらに、テストパターン画像信号には、記録ビット“0”,プリアラームビット“*”,ポストアラームビット“*”およびIDビット“*”を有するVBI信号がVBI挿入回路244aまたは244bによって多重される。
【0038】
図3または図6に示すようにアラーム記録モードにおける最大記録レートが30fpsに設定された状態で、まずアラーム5が発生し、続いてアラーム8が発生した場合、カメラ切換回路22aおよび22bならびに画像処理回路24aおよび24bは、図11に示す要領で動作する。
【0039】
まずアラーム5が発生した時点で、監視カメラC5がカメラ切換回路22aおよび22bの両方によって選択される。監視カメラC5から出力された撮影画像信号5は、カメラ切換回路22aを通して画像処理回路24aに入力されるとともに、カメラ切換回路22bを通して画像処理回路24bに入力される。画像処理回路24aおよび24bは、上述と同様に4フィールドを1サイクルとして動作し、第1フィールドにおいて撮影画像信号5またはテストパターン画像信号を出力するとともに、第4フィールドにおいてテストパターン画像信号を出力する。
【0040】
設定された最大記録レートは30fpsであるため、いずれのサイクルの第1フィールドにおいても、撮影画像信号5が出力される。したがって、アラーム5のみが発生しているときは、30fpsの撮影画像信号5が得られる。
【0041】
アラーム8が発生すると、監視カメラC8がカメラ切換回路22bによって選択される。このため、アラーム8が発生した後は、撮影画像信号5に代えて、監視カメラC5から出力された撮影画像信号8が、カメラ切換回路22bを通して画像処理回路24bに入力される。当該撮影画像信号8は、各々のサイクルの第1フィールドにおいて画像処理回路24bから出力される。
【0042】
したがって、アラーム8の発生と同時に、撮影画像信号5の抽出レートは30fpsから15fpsに低下し、残りの15fpsが撮影画像信号8に割り当てられる。
【0043】
VBI挿入回路244aは、アラーム5のみが発生したときならびにアラーム5および8が発生したときのいずれにおいても、記録ビット“1”,プリアラームビット“0”,ポストアラームビット“1”およびIDビット“5”を有するVBI信号を撮影画像信号5に多重し、記録ビット“0”,プリアラームビット“*”,ポストアラームビット“1”およびIDビット“*”を有するVBI信号をテストパターン画像信号に多重する。
【0044】
VBI挿入回路244bは、アラーム5が発生したとき、記録ビット“1”,プリアラームビット“0”,ポストアラームビット“1”およびIDビット“5”を有するVBI信号を撮影画像信号5に多重し、記録ビット“0”,プリアラームビット“*”,ポストアラームビット“1”およびIDビット“*”を有するVBI信号をテストパターン画像信号に多重する。VBI挿入回路244bはまた、アラーム8が発生したとき、記録ビット“1”,プリアラームビット“0”,ポストアラームビット“1”およびIDビット“8”を有するVBI信号を撮影画像信号8に多重し、記録ビット“0”,プリアラームビット“*”,ポストアラームビット“1”およびIDビット“*”を有するVBI信号をテストパターン画像信号に多重する。
【0045】
なお、監視カメラC1〜C16から出力された撮影画像信号1〜16は、図2に示すカメラ切換回路28にも与えられる。カメラ切換回路28では所望の監視カメラが選択され、選択された監視カメラの撮影画像信号はカメラ切換回路28と表示処理回路30内のメモリ30aとを介して図1に示すモニタ22に出力される。この結果、所望の監視カメラによって撮影されたライブ画像がモニタ画面に表示される。
【0046】
カメラ画像処理回路24aおよび24bの各々から出力された撮影画像信号またはテストパターン画像信号は、図1に示すHDR16に与えられる。HDR16は図12に示すように構成されており、撮影画像信号またはマルチパターン画像信号は、詳しくはビデオエンコーダ32に与えられる。
【0047】
ビデオエンコーダ32は、与えられた撮影画像信号またはマルチパターン画像信号をディジタル信号である撮影画像データまたはマルチパターン画像データに変換する。ディジタルI/F34は、ビデオエンコーダ32によって変換された画像データに含まれるVBIデータをRAM36に保存するとともに、当該画像データ(VBIデータ含む)をメモリI/F54に与える。
【0048】
図13(A)を参照して、SDRAM56は、記録処理用の領域として入力画像領域56a,圧縮画像領域56bおよび管理情報領域56cを有し、入力画像領域56aはバンクA1およびB1によって形成される。ディジタルI/F34から出力された各フィールドの画像データは、メモリI/F54によってバンクA1およびB1に交互に書き込まれる。
【0049】
メインCPU42は、RAM36に格納されたVBIデータを解析し、入力画像領域56aに格納された対応する画像データに、解析結果に応じた記録処理を施す。具体的には、VBIデータに含まれる記録ビットが“0”であれば、対応する画像データはテストパターン画像データであるとみなし、当該画像データを無効とする。一方、VBIデータに含まれる記録ビットが“1”であれば、次にプリアラームビットおよびポストアラームビットの状態を判別する。ここで、プリアラームビットおよびポストアラームビットがそれぞれ“1”および“0”であればプリアラーム記録処理を行い、プリアラームビットおよびポストアラームビットがそれぞれ“0”および“1”であればポストアラーム記録処理を行う。また、ノーマル記録操作が行われており、かつプリアラームビットおよびポストアラームビットがいずれも“0”であれば、ノーマル記録処理を行う。
【0050】
いずれの記録処理においても、入力画像領域56aに格納された撮影画像データはメモリI/F54を介してJPEGコーデック46に与えられ、JPEG圧縮を施される。JPEG圧縮によって生成されたJPEGデータは、メモリI/F54を介して圧縮画像領域56bに格納される。また、JPEGデータを管理するための管理情報がメインCPU42によって作成され、管理情報領域56cに格納される。SDRAM56に格納されたJPEGデータおよび管理情報は、メモリI/F54およびドライブI/F48を介してHDD(Hard Disc Drive)50に与えられ、HDD50によってハードディスク52に記録される。
【0051】
図14に示すように、ハードディスク52はノーマル記録領域52aおよびアラーム記録領域52bに区分される。また、ノーマル記録領域52aはノーマルタグ領域52cおよびノーマルデータ領域52dに区分され、アラーム記録領域52bはプリアラーム領域52eおよびポストアラーム領域52fに区分される。さらに、プリアラーム領域52eはプリアラームタグ領域52gおよびプリアラームデータ領域52hに区分され、ポストアラーム領域52fはポストアラームタグ領域52iおよびポストアラームデータ領域52jに区分される。
【0052】
ノーマル記録処理によって得られた管理情報およびJPEGデータはノーマルデータ領域52dに記録され、プリアラーム記録処理によって得られた管理情報およびJPEGデータはプリアラームデータ領域52hに記録され、そしてポストアラーム記録処理によって得られた管理情報およびJPEGデータはポストアラームデータ領域52jに記録される。このとき、互いに関連する管理情報およびJPEGデータは、図15(A)に示すように連結される。なお、互いに関連する管理情報およびJPEGデータを“フィールドデータ”と定義する。
【0053】
管理情報には、撮影日付,JPEGサイズ,アラーム番号,カメラID,記録フィールド番号,待ち時間情報などが含まれる。この管理情報は64バイトで表現され、フィールドによってサイズが変動することはない。
【0054】
撮影日付は撮影画像データの取込日付と同じであり、この日付には“分”および“秒”の情報まで含まれる。JPEGサイズは、関連するJPEGデータのサイズである。アラーム番号は、アラームの識別番号であり、ポストアラームデータ領域52jに記録された撮影画像信号の中から所望の監視カメラの撮影画像信号を検索するときに必要となる。たとえばアラーム5の発生によってポストアラーム記録が実行された場合、アラーム番号は“5”となる。プリアラーム記録またはノーマル記録が実行されるときは、アラーム番号は不定(=*)となる。
【0055】
カメラIDは、関連するJPEGデータの画像を撮影した監視カメラの識別子である。記録フィールド番号は、各々のJPEGデータに生成順に割り当てられる番号である。待ち時間情報は、前回のJPEGデータの生成フィールドから今回のJPEGデータの生成フィールドまでの差分であり、各々のJPEGデータの再生タイミングを制御するために必要となる。
【0056】
メインCPU42は、1フィールド分の管理情報およびJPEGデータの記録が完了した後、連続する3フィールドの管理情報およびJPEGデータについてアドレス情報を作成する。つまり、メインCPU42は、前フィールドの管理情報の先頭アドレス,前フィールドのJPEGデータの先頭アドレス,現フィールドの管理情報の先頭アドレス,現フィールドのJPEGデータの先頭アドレス,次フィールドの管理情報の先頭アドレスおよび次フィールドのJPEGデータの先頭アドレスを作成する。管理情報は常に64バイトであるため、次フィールドの管理情報の先頭アドレスおよび次フィールドのJPEGデータの先頭アドレスは、現フィールドのJPEGデータの先頭アドレスおよびJPEGサイズに基づいて算出される。
【0057】
こうして連続する3フィールドのアドレス情報が生成されると、メインCPU42は、当該アドレス情報と現フィールドの管理情報とを含むタグデータを図15(B)に示す要領で作成し、作成したタグデータをHDD50を通してハードディスク52に記録する。図14を参照して、ノーマル記録処理によって得られたタグデータはノーマルタグ領域52cに記録され、プリアラーム記録処理によって得られたタグデータはプリアラームタグ領域52gに記録され、そしてポストアラーム記録処理によって得られたタグデータはポストアラームタグ領域52iに記録される。
【0058】
再生操作が行われると、メインCPU42は、再生すべき画像に関連するタグデータをドライブI/F48およびHDD50を介してハードディスク52から一括して読み出し、読み出したタグデータをメモリI/F54を介してSDRAM56に書き込む。ノーマル記録モードによって記録されたJPEGデータを再生するときは、ノーマルタグ領域52cに記録されたタグデータがSDRAM56に転送され、プリアラーム記録モードによって記録されたJPEGデータを再生するときは、プリアラームタグ領域52gに記録されたタグデータがSDRAM56に転送され、そしてポストアラーム記録モードによって記録されたJPEGデータを再生するときは、ポストアラームタグ領域52iに記録されたタグデータがSDRAM56に転送される。
【0059】
図13(B)を参照して、SDRAM56には、出力画像領域56d,圧縮画像領域56e,タグデータ領域56fが再生用の領域として形成される。タグデータは、タグデータ領域56fに書き込まれる。
【0060】
メインCPU42はさらに、転送されたタグデータに含まれるアドレス情報に基づいて各フィールドのJPEGデータを特定し、転送されたタグデータに含まれる待ち時間情報に基づいて各フィールドのJPEGデータの再生タイミングを制御する。所望のタイミングでハードディスク52から再生されたJPEGデータは、SDRAM56の圧縮画像領域56eに一旦格納され、その後、JPEGコーデック46によって伸長される。JPEG伸長によって得られた撮影画像データは、SDRAM56の出力画像領域56dを介してビデオデコーダ38に与えられ、ビデオデコーダ38によってアナログ信号である撮影画像信号に変換される。変換された撮影画像信号は、マルチプレクサ14に出力される。
【0061】
図2を参照して、HDR16から出力された撮影画像信号は、表示処理回路30に与えられる。VBI解析回路30bは、与えられた撮影画像信号からVBI信号を抽出し、抽出したVBI信号のIDビットを解析する。撮影画像信号をメモリ30aのどのアドレスに書き込むかは、IDビットの解析結果によって制御される。メモリ30aに格納された撮影画像信号はその後モニタ22に出力され、この結果、再生画像がモニタ画面に表示される。
【0062】
図12を参照して、オペレータの指示は、操作パネル44によって受け付けられる。具体的には、電源のオン/オフ指示は電源ボタン44aによって受け付けられ、ノーマル記録の開始指示は記録ボタン44bによって受け付けられ、ノーマル記録の停止指示は記録停止ボタン44cによって受け付けられる。また、順方向における通常速度再生の開始指示は再生ボタン44dによって受け付けられ、逆方向における通常速度再生の開始指示は逆再生ボタン44eによって受け付けられ、再生の停止指示は再生停止ボタン44fによって受け付けられる。さらに、図4または図7に示す記録モードの設定変更、あるいは図5,図8または図9に示す記録プログラムの設定変更は、メニューボタン44gによって受け付けられる。
【0063】
なお、図5,図8または図9に示す記録プログラムの設定変更、つまり選択する監視カメラの追加や記録レートの変更は、処理が破綻しない範囲で認められる。つまり、選択された監視カメラが少ないほど記録レートを高い数値に設定でき、選択される監視カメラが多くなると、設定可能な記録レートが低下する。
【0064】
サブCPU40は、電源ボタン44aによってオン操作が行われたとき、HDR16の電源をオンするとともに、電源オン情報をマルチプレクサ14のメインCPU26に与える。また、記録ボタン44b,記録停止ボタン44c,再生ボタン44d,逆再生ボタン44eまたは再生停止ボタン44fが操作されると、サブCPU40は、対応するボタン操作情報をメインCPU42に与える。さらに、メニューボタン44gによって設定変更操作が行われると、サブCPU40は、設定変更要求をメインCPU26に与えるとともに、プリアラーム記録モードのオン/オフに関する情報をメインCPU42に与える。
【0065】
マルチプレクサ14のメインCPU26は、図16〜図23に示すフロー図に従って動作する。なお、このフロー図に対応する制御プログラムは、ROM26eに記憶される。
【0066】
まずステップS1で変数VCNT_Aを“1”にセットし、ステップS3で変数VCNT_Bを“3”にセットする。これによって、変数VCNT_Aと変数VCNT_Bとの間に2フィールドのずれが生じる。ステップS5では、VBI情報を初期化する。記録ビットは“0”を示し、プリアラームビット,ポストアラームビットおよびIDビットは“*”を示す。ステップS7では垂直同期信号Vsync1の発生の有無を判別し、YESと判断されると、ステップS9で画像処理制御Aを実行し、ステップS11で画像処理制御Bを実行する。ステップS11の処理が完了すると、ステップS7に戻る。垂直同期信号Vsync1はマルチプレクサ14内で1/60秒に1回の割合で作成される信号であり、ステップS11およびS13は1/60秒毎に実行される。
【0067】
ステップS9の画像処理制御Aは、図17〜図18に示すサブルーチンに従う。まず、ステップS21a,S39aおよびS47aで変数VCNT_Aを判別する。VCNT_A=1であればステップS21aでYESと判断し、ステップS23a以降の処理に進む。
【0068】
ステップS23aでは情報レジスタ26aに保存されたVBI情報を含むVBI信号の挿入をVBI挿入回路244aに指示し、続くステップS23aでは当該VBI情報に含まれる記録ビットを判別する。記録ビット=1であればステップS27aに進み、メモリ242aからの奇数フィールドの撮影画像信号の読み出しをメモリ制御回路241aに指示する。一方、記録ビット=0であれば、ステップS29aに進み、テストパターン画像信号の出力をテストパターン信号生成回路243aに指示する。これによって、情報レジスタ26aのVBI情報を含むVBI信号が多重された1フィールド分の撮影画像信号またはテストパターン画像信号が、画像処理回路24aから出力される。
【0069】
ステップS31ではカメラ&VBI決定処理を実行し、ステップS33ではステップS31の処理によって決定されたカメラ情報およびVBI情報を情報レジスタ26aに保存する。ステップS35では、ステップS31の処理によって決定されたカメラ情報に従ってカメラ切換回路22aの設定を切り換える。これによって、当該カメラ情報が示す監視カメラからの撮影画像信号がカメラ切換回路22aを通して画像処理回路24aに入力される。ステップS35aの処理が完了すると、ステップS37aで変数VCNT_Aをインクリメントしてから上階層のルーチンに復帰する。
【0070】
変数VCNTが“2”であれば、ステップS49aでYESと判断し、ステップS51aでメモリ241aへの撮影画像信号の書き込み開始をメモリ制御回路241aに指示する。メモリ制御回路241aは、カメラ切換回路22aから出力された撮影画像信号のメモリ242aへの書き込みを開始する。ステップS51aの処理が完了すると、ステップS53aで変数VCNT_Aをインクリメントしてから上階層のルーチンに復帰する。
【0071】
変数VCNT_Aが“3”であれば、ステップS49aでNOと判断する。このときは、ステップS53aにおける変数VCNT_Aのインクリメント処理を経て上階層のルーチンに復帰する。
【0072】
変数VCNT_Aが“4”であれば、ステップS39aでYESと判断し、ステップS41aで情報レジスタ26aに保存されたVBI情報の挿入をVBI挿入回路244aに指示するとともに、ステップS43aでテストパターン画像信号の出力をテストパターン生成回路243aに指示する。画像処理回路24aからは、情報レジスタ26aのVBI情報が多重されたテストパターン画像信号が出力される。ステップS45ではメモリ242aへの撮影画像信号の書き込みの終了をメモリ制御回路241aに指示する。これによって、メモリ制御回路241aは、カメラ切換回路22aを通して取り込まれた撮影画像信号の書き込みを終了する。ステップS45の処理が完了すると、ステップS47aで変数VCNT_Aを“1”にセットしてから上階層のルーチンに復帰する。
【0073】
ステップS11の画像処理制御Bは図19〜図20に示すサブルーチンに従うが、このサブルーチンは、ステップS21b,S39bおよびS49bで変数VCNT_Bを判別する点、VBI情報およびカメラ情報の保存先が情報レジスタ26bである点、および制御対象がカメラ切換回路22bおよび画像処理回路24bである点を除き、図17〜図18に示すサブルーチンと同様であるので、重複した説明は省略する。
【0074】
図17に示すステップS31aおよび図19に示すステップS31bのカメラ&VBI決定処理は、図20に示すサブルーチンに従う。つまり、カメラ&VBI決定処理は、共通のサブルーチンに従って実行される。
【0075】
まずステップS61で、設定変更要求がHDR16から入力されたかどうか判断する。設定変更要求が入力されなければそのままステップS65に進むが、設定変更要求が入力されたときはステップS63でメニューレジスタ26cの設定を変更してからステップS65に進む。ステップS65ではアラーム発生状態であるかどうか判別し、アラーム非発生状態であれば、ステップS67〜S71の各々で記録モード設定を判別する。
【0076】
ノーマル記録モードおよびプリアラーム記録モードのいずれもオン状態と判断されると、ステップS67でYESと判断し、ステップS73に進む。ノーマル記録モードがオン状態でかつプリアラーム記録モードがオフ状態と判断されると、ステップS69でYESと判断し、ステップS77に進む。ノーマル記録モードがオフ状態でかつプリアラーム記録モードがオン状態と判断されると、ステップS71でYESと判断し、ステップS85に進む。ノーマル記録モードおよびプリアラーム記録モードのいずれもオフ状態であれば、ステップS71でNOと判断し、ステップS91に進む。
【0077】
ステップS73では変数N/P_FLAGの状態を判別し、N/P_FLAG=NであればステップS75に、N/PFLAG=PであればステップS73にそれぞれ進む。変数N/P_FLAGは、ノーマル記録およびプリアラーム記録のいずれを行うべきかを判別するための変数であり、“N”はノーマル記録を示し、“P”はプリアラーム記録を示す。
【0078】
ステップS75では、次回のステップS73の処理でNOとの判断結果を得るために、変数N/P_FLAGを“N”から“P”に変更する。続くステップS77では、カメラ決定を行う。具体的には、ノーマル記録モードで選択されている監視カメラの中から、次の1サイクルに有効化する監視カメラを決定する。
【0079】
ステップS79では、決定された監視カメラの記録レートに基づいて、次のサイクルの第1フィールドが記録フィールドおよび不要フィールドのいずれであるかを判別する。記録フィールドと判別されると、ステップS81でVBI情報を決定する。決定されたVBI情報には、記録ビット,プリアラームビットおよびポストアラームビットとして“1”,“0”および“0”が含まれ、IDビットとしてステップS77で決定された監視カメラの識別子が含まれる。一方、ステップS79で不要フィールドと判別されると、ステップS91でVBI情報を決定する。決定されたVBI情報の記録ビットは“0”を示し、プリアラームビット,ポストアラームビットおよびIDビットは“*”を示す。ステップS81またはS91の処理を終えると、上階層のルーチンに復帰する。
【0080】
ステップS83では、次回のステップS73でYESとの判断結果を得るために、変数N/P_FLAGを“N”に設定する。ステップS85では、ステップS77と同じ要領でカメラ決定を行う。これによって、プリアラーム記録モードで選択されている監視カメラの中から、次の1サイクル期間に有効化すべき監視カメラが決定される。
【0081】
ステップS87では、決定された監視カメラの記録レートに基づいて、次のサイクルの第1フィールドが記録フィールドおよび不要フィールドのいずれであるかを判別する。記録フィールドと判別されると、ステップS89でVBI情報を決定する。決定されたVBI情報には、記録ビット,プリアラームビットおよびポストアラームビットとして“1”,“1”および“0”が含まれ、IDビットとしてステップS85で決定された監視カメラの識別子が含まれる。ステップS87で不要フィールドと判別されたときは、ステップS91でVBI情報を決定する。ステップS89またはS89の処理を終えると、上階層のルーチンに復帰する。
【0082】
変数VCNT_AおよびVCNT_Bの間には2フィールドのずれがあり、かつカメラ&VBI決定処理はVCNT_A=1のときおよびVCNT_B=1のときに実行される。このため、ステップS73における変数N/P_FLAGの判別は2フィールド毎に行われ、ステップS75またはS83における変数N/P_FLAGの更新もまた2フィールド毎に行われる。これによって、図7〜図9に示す記録モード設定が行われたときは、図10に示すように2フィールド毎に監視カメラが切り換えられる。
【0083】
図21に示すステップS65でアラーム発生状態と判別されると図23に示すステップS93に進み、現時点で発生しているアラームに変動(増加または減少)が生じたかどうか判断する。ここで変動がなければそのままステップS97に進むが、変動が生じるとステップS95でカメラリスト26dを更新してからステップS97に進む。ステップS95では、具体的には、新規アラームが発生すると当該アラームに対応する監視カメラをカメラリスト26dに追加し、アラームが停止すると当該アラームに対応する監視カメラをカメラリスト26dから削除する。したがって、カメラリスト26dには、現時点でアラームが発生している監視カメラが登録される。ステップS97では、かかるカメラリスト26dの中から次のサイクルで有効化する監視カメラを決定する。
【0084】
ステップS99では、決定された監視カメラの記録レートに基づいて、次のサイクルの第1フィールドが記録フィールドおよび不要フィールドのいずれであるかを判別する。記録フィールドと判別されると、ステップS101でVBI情報を決定する。決定されたVBI情報には、記録ビット,プリアラームビットおよびポストアラームビットとして“1”,“0”および“1”が含まれ、IDビットとしてステップS97で決定された監視カメラの識別子が含まれる。ステップS99で不要フィールドと判別されたときは、ステップS103でVBI情報を決定する。決定されたVBI情報には、記録ビット,プリアラームビット,ポストアラームビットおよびIDビットとして、“0”,“0”,“1”および“*”が含まれる。ステップS101またはS103の処理を終えると、上階層のルーチンに復帰する。
【0085】
HDR16のメインCPU42は、図17および図25に示すフロー図に従って動作する。メインCPU42は、μITRONのようなリアルタイムOSを搭載したマルチタスクCPUであり、図24〜図27に示すメインタスク、図28および図29に示すノーマル記録タスク、図30〜図32に示すアラーム記録タスク、ならびに図33および図34に示す再生タスクは、互いに並行して実行される。なお、このフロー図に対応する制御プログラムは、ROM42aに記憶される。
【0086】
まず図24を参照して、ステップS201ではプリアラーム記録モードのオン/オフを判別し、ステップS213では変数ALMREC_FLAGおよびPOSTALM_FLAGの状態を判別し、ステップS205ではALMREC_FLAGの状態を判別する。ここで、変数ALMREC_FLAGはアラーム記録タスクが起動しているかどうかを判別するための変数であり、“0”が停止状態を示し、“1”が起動状態を示す。変数POSTALM_FLAGはプリアラーム記録およびポストアラーム記録のいずれが実行されているかを判別するための変数であり、“0”がプリアラーム記録を示し、“1”がポストアラーム記録を示す。
【0087】
プリアラーム記録モードがオン設定でかつ変数ALMREC_FLAGが“0”であれば、電源投入直後か、プリアラーム記録モードがオフ設定からオン設定に変更された直後とみなし、ステップS207で変数ALMREC_FLAGを“1”に設定し、ステップS209でPOSTALM_FLAGを“0”に設定し、ステップS211でアラーム記録タスクを起動する。ステップS211の処理が完了すると、ステップS201に戻る。
【0088】
プリアラーム記録モードがオフ設定であるにも係わらず、変数ALMREC_FLAGが“1”で、変数POSTALM_FLAGが“0”であれば、プリアラーム記録モードがオン設定からオフ設定に変更された直後であるとみなし、ステップS214で変数ALMRECEND_FLAGを“1”に設定する。変数ALMRECEND_FLAGはアラーム記録タスクの終了または継続を要求するための変数であり、“1”が終了要求を示し、“0”が継続要求を示す。ステップS214で変数ALMRECEND_FLAGが“1”に設定されることで、後述するようにアラーム記録タスクが終了する。ステップS214の処理が完了すると、ステップS201に戻る。
【0089】
プリアラーム記録モードがオン設定でかつアラーム記録タスクが起動済みである場合は、ステップS201およびS205を介してステップS115に進む。プリアラーム記録モードがオフ設定でかつアラーム記録タスクが停止状態である場合、あるいはプリアラーム記録モードがオフ設定でかつアラーム記録タスクによってポストアラーム記録が実行中であるときは、ステップS201およびS213を介してステップS215に進む。
【0090】
ステップS215では変数ALMSTRT_FLAGの状態を判別する。変数ALMSTRT_FLAGはアラームが発生したかどうかを判別するための変数であり、“0”がアラーム未発生状態を示し、“1”がアラーム発生状態を示す。なお、変数ALMSTRT_FLAGの“0”から“1”への更新は、別タスク(図示せず)によって行われる。つまり、VBI情報に含まれるポストアラームビットの“0”から“1”への変更が別タスクによって検出されたときに、変数ALMSTRT_FLAGが“0”から“1”に更新される。
【0091】
ステップS215でYESと判断されると、ステップS219で変数ALMSTRT_FLAGを“0”に戻し、ステップS221で変数ALMREC_FLAGおよびPOSTALM_FLAGの状態を判別する。アラーム記録タスクが起動済みでかつプリアラーム記録が実行中であれば、変数ALMREC_FLAGは“1”を示し、変数POSTALM_FLAGは“0”を示す。このときはステップS221でYESと判断し、ステップS223で変数POSTALM_FLAGを“0”から“1”に変更する。これによって、アラーム記録タスクにおける記録処理がプリアラーム記録からポストアラーム記録に変更される。ステップS223の処理が完了すると、ステップS201に戻る。
【0092】
一方、プリアラーム記録モードがオフ設定であるためにアラーム記録タスクが起動していなければ、変数ALMREC_FLAGは“0”を示す。このときは、ステップS225で変数POSTALM_FLAGを“1”に設定し、ステップS227で変数ALMREC_FLAGを“1”に設定し、そしてステップS229でアラーム記録タスクを起動する。ステップS229の処理が完了すると、ステップS201に戻る。
【0093】
ステップS215でNOと判断されると、ステップS217で変数ALMSTOP_FLAGの状態を判別する。変数ALMSTOP_FLAGはアラームが停止したかどうかを判別するための変数であり、“0”がアラーム発生状態を示し、“1”がアラーム停止状態を示す。
【0094】
なお、変数ALMSTOP_FLAGの“0”から“1”への更新もまた、別タスク(図示せず)によって行われる。つまり、VBI情報に含まれるポストアラームビットの“1”から“0”への変更が別タスクによって検出されたときに、変数ALMSTRT_FLAGが“1”から“0”に更新される。
【0095】
ステップS217でYESと判断されると、ステップS231で変数ALMSTOP_FLAGを“0”に戻し、ステップS233でプリアラーム記録モードのオン/オフ設定を判別する。プリアラーム記録モードがオン設定のときは、ステップS243で変数POSTALM_FLAGを“1”から“0”に戻す。これによって、アラーム記録タスクにおける記録処理がポストアラーム記録からプリアラーム記録に切り換えられる。ステップS243の処理が完了すると、ステップS201に戻る。
【0096】
プリアラーム記録モードがオフ設定のときは、ステップS233でNOと判断し、アラーム記録タスクの終了を要求するべく、ステップS235で変数ALMRECEND_FLAGを“1”に設定する。続くステップS237では、変数RSV_FLAGが“1”であるかどうか判別する。変数RSV_FLAGはポストアラーム記録が完了した後のノーマル記録の開始が予約されているかどうかを判別するための変数であり、“1”が予約ありを示し、“0”が予約なしを示す。
【0097】
ステップS237でNOと判断されると、そのままステップS201に戻る。一方、ステップS237でYESと判断されたときは、ステップS239で変数RSV_FLAGを“0”に戻し、ステップS240で変数NRMLREC_FLAGを“1”に設定し、そしてステップS241でノーマル記録タスクを起動する。ここで、変数NRMLREC_FLAGは、ノーマル記録タスクの起動/停止を判別するための変数であり、“1”が起動状態を示し、“0”が停止状態を示す。ステップS241の処理が完了すると、ステップS101に戻る。
【0098】
ステップS217でNOと判断されると、図19に示すステップS245で記録ボタン44bの操作の有無を判別する。ここでYESであればステップS247に進み、変数NRMLREC_FLAGの状態を判別する。NRMLREC_FLAG=1であれば、ノーマル記録タスクは起動済みであるとみなし、ステップS247からステップS201に戻る。一方、NRMLREC_FALG=0であれば、ノーマル記録タスクは停止状態であるとみなし、ステップS249で変数ALMREC_FLAGおよびPOSTALM_FLAGの状態を判別する。
【0099】
アラーム記録タスクが起動していなければ、変数ALMREC_FLAGは“0”を示す。また、アラーム記録タスクは起動しているがプリアラーム記録が実行中であれば、変数ALMREC_FLAGおよびPOSTALM_FLAGはそれぞれ、“1”および“0”を示す。このときは、ステップS249でYESと判断し、ステップS250で変数NRMLREC_FLAGを“1”に設定するとともに、ステップS251でノーマル記録タスクを起動する。ステップS251の処理が完了すると、ステップS201に戻る。
【0100】
一方、アラーム記録タスクにおいてポストアラーム記録が実行中であれば、変数ALMREC_FLAGおよびPOSTALM_FLAGはいずれも“1”を示す。このときは、ステップS253で変数RSV_FLAGを“1”に設定してからステップS201に戻る。
【0101】
ステップS255では記録停止ボタン44cの操作の有無を判別し、YESと判断されると、ステップS257で変数NRMLREC_FLAGの状態を判別する。NRMLREC_FLAG=0であれば、ノーマル記録タスクは停止状態であるとみなし、そのままステップS201に戻る。これに対して、NRMLREC_FLAG=0であれば、ノーマル記録タスクが起動状態であるとみなし、ステップS259で変数NRMLRECEND_FLAGを“1”に設定する。変数NRMLRECEND_FLAGは、ノーマル記録タスクの終了または継続を要求するための変数であり、“1”が終了要求を示し、“0”が継続要求を示す。ステップS259で変数NRMLRECEND_FLAGが“1”に設定されることで、後述するようにノーマル記録タスクが終了する。ステップS259の処理が完了すると、ステップS201に戻る。
【0102】
ステップS255でNOと判断されると、図20に示すステップS261で再生ボタン44dの操作の有無を判別する。ここでYESと判断されると、ステップS265で変数PLAY_FLAGおよびDRCT_FLAGの状態を判別する。変数PLAY_FLAGは再生タスクの起動/停止を判別するための変数であり、“1”が起動を示し、“0”が停止を示す。また、変数DRCT_FLAGは再生方向を判別するための変数であり、“0”が順方向を示し、“1”が逆方向を示す。
【0103】
再生タスクによって順方向再生が実行中であれば、変数PLAY_FLAGおよびDRCT_FLAGのいずれも“1”を示す。このときは、ステップS265でYESと判断し、そのままステップS201に戻る。一方、再生タスクが停止状態であれば、変数PLAY_FLAGは“0”を示し、再生タスクによって逆方向再生が実行中であれば、変数PLAY_FLAGは“1”を示し、変数DRCT_FLAGは“0”を示す。このようなときは、ステップS265でNOと判断し、ステップS267で変数DRCT_FLAGを“1”に設定する。
【0104】
ステップS273では変数PLAY_FLAGの状態を判別する。ここでPLAY_FLAG=1であれば、再生タスクは起動済みであるとみなし、そのままステップS201に戻る。一方、PLAY_FLAG=0であれば、再生タスクが停止状態であるとみなし、ステップS275で変数PLAY_FLAGを“1”に変更し、ステップS277で再生タスクを起動する。ステップS277の処理が完了すると、ステップS201に戻る。
【0105】
ステップS263では逆再生ボタン44eの操作の有無を判別し、YESであれば、ステップS269で変数PLAY_FLAGおよびDRCT_FLAGの状態を判別する。再生タスクによって逆方向再生が実行中であれば、変数PLAY_FLAGは“1”を示し、変数DRCT_FLAGは“0”を示す。このときは、ステップS269でYESと判断し、そのままステップS201に戻る。一方、再生タスクが停止状態であるときは、変数PLAY_FLAGは“0”を示し、再生タスクによって順方向再生が実行中であれば、変数PLAY_FLAGおよびDRCT_FLAGのいずれも“1”を示す。このようなときは、ステップS269でNOと判断し、ステップS271で変数DRCT_FLAGを“0”に設定してからステップS273に進む。
【0106】
ステップS279では再生停止ボタン44fの操作の有無を判別し、YESであれば、ステップS281で変数PLAY_FLAGの状態を判別する。PLAY_FLAG=0であれば、再生タスクは停止状態であるとみなし、そのままステップS201に戻る。一方、PLAY_FLAG=1であれば、再生タスクは起動状態であるとみなし、ステップS283で変数PLAYEND_FLAGを“1”に設定する。変数PLAYEND_FLAGは再生タスクの継続または終了を要求するための変数であり、“0”が継続要求を示し、“1”が終了要求を示す。ステップS283で変数PLAYEND_FLAGが“1”に設定されることで、後述するように再生タスクが停止する。ステップS283の処理が完了すると、ステップS201に戻る。
【0107】
図28を参照して、ノーマル記録タスクでは、まずステップS291で垂直同期信号Vsync2の発生の有無を判別する。垂直同期信号Vsync2は、HDR16内で1/30秒に1回の割合で発生するタイミング信号である。このため、ステップS291では1/30秒毎にYESと判断される。ステップS293では、図12に示すRAM36からVBI情報を取得し、続くステップS295〜S299では取得したVBI情報の値をそれぞれ判別する。
【0108】
プリアラームビットおよびポストアラームビットがいずれも“0”で、かつ記録ビットが“1”であれば、ステップS295〜S299の全てでYESと判断し、ステップS301におけるノーマル記録用画像記録処理を経てステップS305に進む。これに対して、上述の条件のいずれか1つでも満たされなければ、ステップS303で変数NRMCNTをインクリメントしてからステップS305に進む。変数NRMCNTは、ノーマル記録の対象とならない画像データの連続フィールド数を示す。
【0109】
ステップS305では変数NRMLRECEND_FLAGの状態を判別し、NRMLRECEND_FLAG=0である限り、ステップS291〜S305の処理を繰り返す。NRMLRECEND_FLAG=1となると、ステップS305でYESと判断し、ステップS307で変数NRMLRECEND_FLAGおよびNRMLREC_FLAGを“0”に設定する。ステップS307の処理の完了後、再生タスクは停止する。
【0110】
ステップS301における画像記録処理は、図29に示すサブルーチンに従う。まずステップS311aで、図13(A)に示す入力画像領域56aに格納された撮影画像データにJPEG圧縮を施すべく、図12に示すJPEGコーデック46に圧縮処理を命令する。JPEGコーデック46は、メモリI/F54を通して入力画像領域56aから撮影画像データを読み出し、JPEG圧縮によってJPEGデータを生成し、そして生成したJPEGデータをメモリI/F54を介して図13(A)に示す圧縮画像領域56bに書き込む。
【0111】
ステップS313aでは、撮影日付,JPEGサイズ,アラーム番号,カメラID,記録フィールド番号,待ち時間情報などを含む管理情報を作成し、作成した管理情報を図13(A)に示す管理情報領域56cに書き込む。このうち、待ち時間情報は、変数NRMCNT+1に相当する。
【0112】
ステップS315aでは、互いに関連する管理情報およびJPEGデータのノーマルデータ領域52d(図14参照)への記録をHDD50に命令する。互いに関連する管理情報およびJPEGデータは、メモリI/F54およびドライブI/F48を介してHDD50に与えられ、HDD50によってノーマルデータ領域52dに記録される。管理情報およびJPEGデータは、図15(A)に示す要領でノーマルデータ領域52dに記録される。これによって、フィールドデータが形成される。
【0113】
ステップS317aでは前フィールドのアドレス情報を作成し、ステップS319aでは現フィールドのアドレス情報を作成し、そしてステップS321aでは次フィールドのアドレス情報を作成する。具体的に説明すると、ステップS317aでは前フィールドのフィールドデータについて管理情報の先頭アドレスとJPEGデータの先頭アドレス情報とを検出し、ステップS319aでは現フィールドのフィールドデータについて管理情報の先頭アドレスとJPEGデータの先頭アドレス情報とを検出し、ステップS321aでは次フィールドのフィールドデータについて管理情報の先頭アドレスとJPEGデータの先頭アドレス情報とを検出する。
【0114】
ステップS323aでは、ステップS313aで作成された管理情報とステップ317a〜S321aで検出されたアドレスとを含むタグデータを作成し、作成したタグデータのノーマルタグ領域52cへの記録をHDD50に要求する。タグデータは、HDD50によってノーマルタグ領域52cに記録される。ステップS325aでは変数NRMLCNTをリセットし、その後上階層のルーチンに復帰する。
【0115】
図30を参照して、アラーム記録タスクでは、まずステップS331およびS333で上述のステップS291およびS293と同様の処理を実行する。ステップS335では抽出されたVBI情報に含まれる記録ビットを判別し、記録ビットが“0”であれば、ステップS337で変数PRECNTおよびPOSTCNTをインクリメントしてからステップS351に進む。なお、変数PRECNTはプリアラーム記録の対象とならない画像データの連続フィールド数を示し、変数POSTCNTはポストアラーム記録の対象とならない画像データの連続フィールド数を示す。
【0116】
ステップS335で記録ビットが“1”と判断されると、ステップS339でプリアラームビットおよびポストアラームビットを判別する。プリアラームビットが“1”でかつポストアラームビットが“0”であれば、ステップS339でYESと判断し、ステップS341におけるプリアラーム記録用画像記録処理を経てステップS351に進む。一方、ステップS339でNOと判断されると、ステップS343で変数PRECNTをインクリメントし、ステップS345に進む。
【0117】
ステップS345では、プリアラームビットおよびポストアラームビットを再度判別する。プリアラームビットが“0”でかつポストアラームビットが“1”であれば、ステップS345でYESと判断し、ステップS347におけるポストアラーム記録用画像記録処理を経てステップS351に進む。ステップS345でNOと判断されたときは、ステップS349で変数POSTCNTをインクリメントしてからステップS351に進む。
【0118】
ステップS351では変数ALMRECEND_FLAGの状態を判別し、ALMRECEND_FLAG=0である限り、ステップS331〜S351の処理を繰り返す。ALMRECEND_FLAG=1となると、ステップS353で変数ALMRECEND_FLAGおよびALMREC_FLAGを“0”に設定する。ステップS353の処理の完了後、アラーム記録タスクは停止する。
【0119】
ステップS341の画像記録処理は図31に示すサブルーチンに従い、ステップS347の画像記録処理は図32に示すサブルーチンに従う。
【0120】
ただし、図31に示すサブルーチンは、ステップS313bで作成される待ち時間情報が変数PRECNT+1に相当する点、ステップS315bでフィールドデータをプリアラームデータ領域52hに記録する点、ステップS323bでタグデータをプリアラームタグ領域52gに記録する点、およびステップS325bで変数PRECNTをリセットする点を除き、図29に示すサブルーチンと同様である。図32に示すサブルーチンは、ステップS313cで作成される待ち時間情報が変数POSTCNT+1に相当する点、ステップS315cでフィールドデータをポストアラームデータ領域52jに記録する点、ステップS323cでタグデータをプリアラームタグ領域52iに記録する点、およびステップS325cで変数POSTCNTをリセットする点を除き、図29に示すサブルーチンと同様である。したがって、図31および図32に示すサブルーチンの処理については説明を省略する。
【0121】
図33を参照して、再生タスクでは、まずステップS361でハードディスク52に形成された所望のタグ領域(ノーマルタグ領域52c,プリアラームタグ領域52gおよびポストアラームタグ領域52iのいずれか1つ)からのタグデータの一括読み出しをHDD50に要求する。タグデータはHDD52によって所望の領域から一括して読み出され、SDRAM56に転送される。タグデータは、図13(B)に示すタグデータ領域56fに格納される。なお、タグデータ領域56fに格納された任意のフィールドのタグデータが、再生ポインタによって指向される。
【0122】
ステップS363では垂直同期信号Vsync2の発生の有無を判断し、YESと判断されたときにステップS365に進む。このため、ステップS365以降の処理は1/30秒毎に実行される。ステップS365では再生ポインタが指向するタグデータから現フィールドのJPEGデータの先頭アドレスを抽出し、ステップS367では抽出された先頭アドレス以降のJPEGデータの再生をHDD50に要求する。JPEGデータはHDD50によって読み出され、SDRAM56の圧縮画像領域56e(図13(B)参照)に格納される。
【0123】
ステップS369では、圧縮画像領域56eに格納されたJPEGデータの伸長処理をJPEGコーデック46に命令する。JPEGコーデック46は、JPEGデータを圧縮画像領域56eから読み出し、読み出されたJPEGデータにJPEG伸長を施し、伸長された撮影画像データを図13(B)に示す出力画像領域56dに書き込む。当該撮影画像データは、その後ビデオデコーダ38で撮影画像信号に変換され、マルチプレクサ14を介してモニタ22に出力される。この結果、再生画像がモニタ画面に表示される。
【0124】
ステップS371では、変数DRCT_FLAGを判別する。DRCT_FLAG=1であれば、現時点の再生方向は順方向であるとみなし、ステップS377で再生ポインタをインクリメントする。再生ポインタは、次フィールドのタグデータを指向する。ステップS379ではインクリメントされた再生ポインタが指向するタグデータの次のタグデータ(次フィールドの次のフィールドのタグデータ)を特定し、ステップS381では特定したタグデータから待ち時間情報を抽出する。
【0125】
一方、ステップS371でDRCT_FLAG=0と判断されると、現時点の再生方向は逆方向であるとみなし、ステップS373で再生ポインタをディクリメントする。再生ポインタは、前フィールドのタグデータを指向する。ステップS375ではディクリメントされた再生ポインタが指向するタグデータから待ち時間情報を抽出する。
【0126】
ステップS383では抽出された待ち時間情報が示す待ち時間が経過したかどうか判断し、YESであればステップS365に戻る。この結果、撮影画像データは、記録時と同じ速度(通常速度)で順方向または逆方向に再生される。ステップS383でNOと判断されたときは、変数PLAYEND_FLAGが“1”を示すかどうかをステップS385で判断する。PLAYEND_FLAGが“1”であれば、再生終了が要求されているとみなし、ステップS387で変数PLAY_FLAGおよびPLAYEND_FLAGを“0”に設定する。再生タスクは、ステップS387の処理が完了した後に停止する。
【0127】
以上の説明から分かるように、マルチプレクサ14に含まれるカメラ切換回路22aまたは22bは、複数の監視カメラC1〜C16のいずれかを時分割で選択する。画像処理回路24aまたは24bは、選択された監視カメラから出力された撮影画像信号を取り込み、記録ビットが“1”のVBI情報を記録モード設定に従うタイミングで当該撮影画像信号に付加する。HDR16は、VBI情報に含まれる記録ビットが“1”のとき、当該画像信号をハードディスク52に記録する。したがって、所望の撮影画像信号のみをハードディスク52に的確に記録することができる。
【0128】
なお、この実施例では、マルチプレクサとHDRとが一体となっているが、マルチプレクサおよびHDRは別体としてもよい。また、この実施例のビデオレコーダにHDRのみを有する別のビデオレコーダをカスケード接続するようにすれば、ハードディスクの容量を超えるデータを記録することができる。このように別のビデオレコーダを増設するような場合に、この発明のような記録制御の効果が顕著に表れる。
【0129】
また、この実施例では、記録媒体としてハードディスクを用いているが、ランダムアクセス性に優れる限り、ディスク記録媒体に限られない。このため、半導体メモリを記録媒体として用いてもよい。
【図面の簡単な説明】
【図1】この発明の一実施例を示すブロック図である。
【図2】マルチプレクサの構成の一例を示すブロック図である。
【図3】マルチプレクサの動作の一部を示す図解図である。
【図4】記録モード設定の一例を示す図解図である。
【図5】プログラム記録設定の一例を示す図解図である。
【図6】図4および図5に示す設定に従うマルチプレクサの動作の一部を示す図解図である。
【図7】記録モード設定の他の一例を示す図解図である。
【図8】プログラム記録設定の他の一例を示す図解図である。
【図9】プログラム記録設定のその他の一例を示す図解図である。
【図10】図7〜図9に示す設定に従うマルチプレクサの動作の一部を示す図解図である。
【図11】図4または図7の設定に従うマルチプレクサの動作の一部を示す図解図である。
【図12】HDRの構成の一例を示すブロック図である。
【図13】(A)はSDRAMに形成された記録処理用の領域のマッピング状態を示す図解図であり、(B)はSDRAMに形成された再生処理用の領域のマッピング状態を示す図解図である。
【図14】ハードディスクの構造の一例を示す図解図である。
【図15】(A)はハードディスクに記録されるフィールドデータの構造の一例を示す図解図であり、(B)はハードディスクに記録されるタグデータの構造の一例を示す図解図である。
【図16】マルチプレクサの動作の一部を示すフロー図である。
【図17】マルチプレクサの動作の他の一部を示すフロー図である。
【図18】マルチプレクサの動作のその他の一部を示すフロー図である。
【図19】HDRの動作の一部を示すフロー図である。
【図20】HDRの動作の他の一部を示すフロー図である。
【図21】HDRの動作のその他の一部を示すフロー図である。
【図22】HDRの動作のさらにその他の一部を示すフロー図である。
【図23】HDRの動作の他の一部を示すフロー図である。
【図24】HDRの動作のその他の一部を示すフロー図である。
【図25】HDRの動作のさらにその他の一部を示すフロー図である。
【図26】HDRの動作の他の一部を示すフロー図である。
【図27】HDRの動作のその他の一部を示すフロー図である。
【図28】HDRの動作のさらにその他の一部を示すフロー図である。
【図29】HDRの動作の他の一部を示すフロー図である。
【図30】HDRの動作のその他の一部を示すフロー図である。
【図31】HDRの動作のさらにその他の一部を示すフロー図である。
【図32】HDRの動作の他の一部を示すフロー図である。
【図33】HDRの動作のその他の一部を示すフロー図である。
【図34】HDRの動作のさらにその他の一部を示すフロー図である。
【符号の説明】
10…監視カメラシステム
12…ビデオレコーダ
14…マルチプレクサ
16…HDR
18…モニタ
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an image recording system, and more particularly to, for example, a surveillance camera system, and a multiplexer that selectively outputs a plurality of image signals provided from a plurality of cameras and an image signal output from the multiplexer is recorded on a recording medium. The present invention relates to an image recording system including a recording device.
[0002]
[Prior art]
In this type of conventional surveillance camera system, the multiplexer selects each of a plurality of cameras in a time-division manner by a predetermined number of frames, and extracts an image signal output from the selected surveillance camera at a predetermined cycle. The recording device records the image signal output from the multiplexer on a recording medium such as a video tape.
[0003]
[Problems to be solved by the invention]
However, in the prior art, since the recording medium is a video tape, the image signal extraction cycle must be fixed, and the extraction cycle cannot be arbitrarily changed for each camera. That is, if the extraction period of the image signal is changed, the image signal cannot be properly recorded.
[0004]
Therefore, a main object of the present invention is to provide an image recording system capable of accurately recording only an arbitrary image signal on a recording medium.
[0005]
[Means for Solving the Problems]
The present invention relates to an image recording system including a multiplexer that selectively outputs a plurality of image signals given from a plurality of cameras and a recording device that records an image signal output from the multiplexer on a recording medium, wherein the multiplexer includes a plurality of multiplexers. Selecting means for selecting each of the cameras in a time-division manner, and adding means for adding a recording request signal at an arbitrary timing to an image signal output from the camera selected by the selecting means. An image recording system, comprising: recording means for recording an image signal on a recording medium when a recording request signal is added to the image signal.
[0006]
[Action]
The multiplexer selectively outputs a plurality of image signals provided from the plurality of cameras, and the recording device records the image signals output from the multiplexer on a recording medium. Specifically, the multiplexer selects each of the plurality of cameras in a time-division manner, and adds a recording request signal to the image signal output from the selected camera at an arbitrary timing. When the recording request signal is added to the image signal output from the multiplexer, the recording device records the image signal on a recording medium.
[0007]
When the multiplexer receives the setting of the recording rate for each of the plurality of cameras, the arbitrary timing is a timing according to the received recording rate setting.
[0008]
When the multiplexer generates recording mode information indicating one of pre-alarm recording and post-alarm recording according to the alarm occurrence state, the recording request signal includes the recording mode information.
[0009]
Preferably, the recording medium has a pre-alarm area and a post-alarm area. At this time, the recording means detects the recording mode information from the recording request signal. Further, when the detected recording mode information indicates the pre-alarm recording, the image signal is recorded in the pre-alarm area, and when the detected recording mode information indicates the post-alarm recording, the image signal is recorded in the post-alarm area.
[0010]
The multiplexer may preferentially select a particular camera when performing post-alarm recording.
[0011]
【The invention's effect】
According to the present invention, the recording request signal is added to the image signal at an arbitrary timing by the multiplexer, and the image signal to which the recording request signal is added is recorded on the recording medium by the recording device. Therefore, only an arbitrary image signal can be accurately recorded on the recording medium.
[0012]
The above and other objects, features and advantages of the present invention will become more apparent from the following detailed description of embodiments with reference to the drawings.
[0013]
【Example】
Referring to FIG. 1, surveillance camera system 10 of this embodiment includes 16 surveillance cameras C1 to C16 to which sensors S1 to S16 are individually assigned, multiplexer 14 and HDR (Hard Disc Recorder) 16 integrally. And the monitor 22.
[0014]
The monitoring cameras C1 to C16 are installed at different positions from each other, and individually output the captured image signals 1 to 16. The sensors S1 to S16 detect the movement of the scene captured by the monitoring cameras C1 to C16, and generate alarms 1 to 16 when an abnormal movement occurs. The photographed image signals 1 to 16 and the alarms 1 to 16 are given to the multiplexer 14.
[0015]
Each of the monitoring cameras C1 to C16 has a shooting rate of 60 fps (field per second), and the captured image signals 1 to 16 are output from the monitoring cameras C1 to C16 at a rate of 60 fields (60 screens) per second. However, the monitoring cameras C1 to C16 operate independently of each other, and there is no guarantee that the phases of the captured images 1 to 16 match.
[0016]
The multiplexer 14 is configured as shown in FIG. When the power is turned on, the main CPU 26 controls the camera switching circuits 22a and 22b and the image processing circuits 24a and 24b based on the image recording mode setting of the menu register 26c and the generation states of the alarms 1 to 16.
[0017]
The camera switching circuit 22a and the image processing circuit 24a operate with four fields as one cycle, and the camera switching circuit 22b and the image processing circuit 24b also operate with four fields as one cycle. However, as shown in FIG. 3, there is a difference of two fields between the operation of the camera switching circuit 22a and the image processing circuit 24a and the operation of the camera switching circuit 22b and the image processing circuit 24b.
[0018]
The camera switching circuits 22a and 22b switch the selection of the monitoring camera in the first field forming one cycle, and continue to select the same monitoring camera until the first field of the next one cycle. Synchronization is not established between the monitoring cameras C1 to C16. However, by continuously selecting the same monitoring camera over a four-field period, captured image signals for two fields output from the monitoring camera can be reliably captured. it can. The captured image signals of two fields given from the camera switching circuit 22a to the image processing circuit 24a are written to the memory 242a by the memory control circuit 241a. Also, the two-field captured image signal provided from the camera switching circuit 22b to the image processing circuit 24b is written into the memory 242b by the memory control circuit 241b.
[0019]
The test pattern generation circuits 243a and 243b always output a test pattern image signal in the fourth field, and output a test pattern image signal in the first field according to the image recording mode setting. In the first field, the memory control circuits 241a and 241b read the captured image signal of the odd field from the memory 242 according to the image recording mode setting. That is, the test pattern image signal is always output in the fourth field, but the test pattern image signal or the photographed image signal is output in the first field according to the image recording mode setting.
[0020]
As shown in FIG. 3, there is a shift of two fields between the image processing circuits 24a and 24b. Therefore, in any of the first to fourth fields, one of the test pattern image signal and the photographed image signal is output from the multiplexer 14. It should be noted that the field where the captured image signal is output is defined as “recording field”, and the field where the test pattern image signal is output is defined as “unnecessary field”.
[0021]
The image recording mode includes a pre-alarm recording mode, a post-alarm recording mode, and a normal recording mode. The pre-alarm recording mode and the normal recording mode are recording modes activated when none of the alarms 1 to 16 occur, and the post-alarm recording mode is activated when any one of the alarms 1 to 16 occurs. Recording mode.
[0022]
The VBI insertion circuits 244a and 244b generate a VBI (Vertical Blanking Interval) signal provided with an ID bit, a recording bit, a pre-alarm bit, and a post-alarm bit, respectively. The VBI signal is multiplexed on the test pattern image signal generated by the pattern generation circuits 243a and 243b.
[0023]
Here, the ID bit is a bit for identifying the type of the image signal. The ID bit of the VBI signal multiplexed with the captured image signal indicates the ID (one of “1” to “16”) of the camera that has output the captured image signal. On the other hand, the ID bit of the VBI signal multiplexed on the test pattern image signal is undefined (= *).
[0024]
The recording bit is a bit for identifying whether the image signal is a recording field signal or an unnecessary field signal. “1” indicates a recording field, and “0” indicates an unnecessary field. The recording bit of the VBI signal multiplexed on the photographed image signal is set to “1”, and the recording bit of the VBI signal multiplexed on the test pattern image signal is set to “0”.
[0025]
The pre-alarm bit and the post-alarm bit are bits for identifying the recording mode of the image signal. The VBI signal multiplexed on the captured image signal corresponding to the pre-alarm recording mode has "1" as a pre-alarm bit and "0" as a post-alarm bit. Further, the VBI signal multiplexed with the captured image signal corresponding to the post-alarm recording mode has “0” as a pre-alarm bit and “1” as a post-alarm bit. Further, the VBI signal multiplexed with the captured image signal corresponding to the normal recording mode has “0” as a pre-alarm bit and “0” as a post-alarm bit.
[0026]
A VBI signal in which both the pre-alarm bit and the post-alarm bit are indefinite (= *) is multiplexed on the test pattern image signal generated when none of the alarms 1 to 16 is generated. On the other hand, a VBI signal whose pre-alarm bit is “0” and whose post-alarm bit is “1” is multiplexed on the test pattern image signal generated when any of the alarms 1 to 16 is generated.
[0027]
The above-mentioned ID bit, recording bit, pre-alarm bit and post-alarm bit are defined as "VBI information".
[0028]
Each of the pre-alarm recording mode and the normal recording mode is set to one of an on state and an off state by a menu operation. As for the recording mode that is turned on, a menu operation is used to set which recording rate is to be used to record a captured image signal from which monitoring camera. On the other hand, the post-alarm recording mode is always on, and the maximum recording rate of the captured image signal from the monitoring camera in which the alarm has occurred is set by a menu operation.
[0029]
For example, when the normal recording mode is turned on and the pre-alarm recording mode is turned off as shown in FIG. 4, and the program P-1 shown in FIG. 5 is selected for normal recording, the multiplexer 14 The processing is executed in the manner shown in FIG. According to FIG. 5, the monitoring cameras C1 and C2 are selected as monitoring cameras for normal recording. Further, the recording rate of the monitoring camera C1 is set to 7.5 fps, and the recording rate of the monitoring camera C2 is set to 3.75 fps.
[0030]
Referring to FIG. 6, camera switching circuit 22a always selects surveillance camera C1, and camera switching circuit 22b always selects surveillance camera C2. The image processing circuit 24a outputs the photographed image signal 1 or the test pattern image signal in the first field, and outputs the test pattern image signal in the fourth field. Further, the image processing circuit 24b outputs the photographed image signal 2 or the test pattern image signal in the first field, and outputs the test pattern image signal in the fourth field.
[0031]
The recording rate of the monitoring camera C1 is 7.5 fps, and the recording rate of the monitoring camera C2 is 3.75 fps. Therefore, the captured image signal 1 is output from the image processing circuit 24a once per cycle, and the captured image signal 2 is output from the image processing circuit 24b once every two cycles.
[0032]
Prior to the output of the photographed image signal 1 or the test pattern image signal from the image processing circuit 24a, the VBI insertion circuit 244a outputs the recording bit “1”, the pre-alarm bit “0”, the post-alarm bit “0”, and the ID bit “ The VBI signal having "1" is multiplexed with the photographed image signal 1, and the VBI signal having the recording bit "0", the pre-alarm bit "*", the post-alarm bit "*" and the ID bit "*" is converted into a test pattern image signal. Multiplex. Prior to the output of the photographed image signal 2 or the test pattern image signal from the image processing circuit 24b, the VBI insertion circuit 244b outputs the recording bit "1", the pre-alarm bit "0", the post-alarm bit "0", and the ID. The VBI signal having the bit “2” is multiplexed with the photographed image signal 2, and the VBI signal having the recording bit “0”, the pre-alarm bit “*”, the post-alarm bit “*” and the ID bit “*” is converted into a test pattern image. Multiplex on the signal.
[0033]
Further, as shown in FIG. 7, the normal recording mode and the pre-alarm recording mode are turned on, the program P-2 shown in FIG. 7 is selected for normal recording, and the program P-3 shown in FIG. If it is selected for alarm recording, the multiplexer 14 executes the processing as shown in FIG.
[0034]
According to FIG. 8, the monitoring cameras C1 and C2 are selected as monitoring cameras for normal recording, and the recording rate of the monitoring camera C1 and the recording rate of the monitoring camera C2 are set to 7.5 fps and 3.75 fps, respectively. According to FIG. 9, the monitoring cameras C3 and C4 are selected as monitoring cameras for pre-alarm recording, and the recording rate of the monitoring camera C3 and the recording rate of the monitoring camera C4 are set to 7.5 fps and 2.5 fps, respectively. .
[0035]
Referring to FIG. 10, camera switching circuit 22a alternately selects surveillance cameras C1 and C2 every four fields, and camera switching circuit 22b alternately selects surveillance cameras C3 and C4 every four fields. The image processing circuit 24a outputs the captured image signal 2 or the test pattern image signal in the first field of one cycle selected by the monitoring camera C1, and outputs the captured image signal in the first field of one cycle selected by the monitoring camera C2. One or a test pattern image signal is output, and a test pattern image signal is output in the fourth field of each one cycle. Further, the image processing circuit 24b outputs the photographed image signal 4 or the test pattern image signal in the first field of one cycle selected by the monitoring camera C3, and captures the image in the first field of one cycle selected by the monitoring camera C4. An image signal 3 or a test pattern image signal is output, and a test pattern image signal is output in the fourth field of each cycle.
[0036]
The recording rate of the monitoring camera C1 is 7.5 fps, and the recording rate of the monitoring camera C2 is 3.75 fps. Therefore, the captured image signal 1 is output from the image processing circuit 24a once every two cycles, and the captured image signal 2 is output from the image processing circuit 24a once every four cycles. The recording rate of the monitoring camera C3 is 7.5 fps, and the recording rate of the monitoring camera C4 is 2.5 fps. Therefore, the captured image signal 3 is output from the image processing circuit 24b once every two cycles, and the captured image signal 4 is output from the image processing circuit 24b once every six cycles.
[0037]
A VBI signal having a recording bit “1”, a pre-alarm bit “0”, a post-alarm bit “0”, and an ID bit “1” is multiplexed with the photographed image signal 1 by the VBI insertion circuit 244a. A VBI signal having a recording bit "1", a pre-alarm bit "0", a post-alarm bit "0" and an ID bit "2" is multiplexed by the VBI insertion circuit 244a. In addition, a VBI signal having a recording bit “1”, a pre-alarm bit “0”, a post-alarm bit “0”, and an ID bit “3” is multiplexed with the photographed image signal 3 by a VBI insertion circuit 244b. 4, a VBI signal having a recording bit "1", a pre-alarm bit "0", a post-alarm bit "0", and an ID bit "4" is multiplexed by the VBI insertion circuit 244b. Further, a VBI signal having a recording bit “0”, a pre-alarm bit “*”, a post-alarm bit “*” and an ID bit “*” is multiplexed on the test pattern image signal by the VBI insertion circuit 244a or 244b.
[0038]
As shown in FIG. 3 or FIG. 6, when the maximum recording rate in the alarm recording mode is set to 30 fps, the alarm 5 occurs first, and then the alarm 8 occurs, the camera switching circuits 22a and 22b and the image processing are performed. Circuits 24a and 24b operate in the manner shown in FIG.
[0039]
First, when the alarm 5 occurs, the monitoring camera C5 is selected by both the camera switching circuits 22a and 22b. The captured image signal 5 output from the monitoring camera C5 is input to the image processing circuit 24a through the camera switching circuit 22a, and is also input to the image processing circuit 24b through the camera switching circuit 22b. The image processing circuits 24a and 24b operate with four fields as one cycle as described above, output the photographed image signal 5 or the test pattern image signal in the first field, and output the test pattern image signal in the fourth field. .
[0040]
Since the set maximum recording rate is 30 fps, the captured image signal 5 is output in the first field of any cycle. Therefore, when only the alarm 5 is generated, a captured image signal 5 of 30 fps is obtained.
[0041]
When the alarm 8 occurs, the monitoring camera C8 is selected by the camera switching circuit 22b. Therefore, after the alarm 8 occurs, the captured image signal 8 output from the monitoring camera C5 is input to the image processing circuit 24b through the camera switching circuit 22b instead of the captured image signal 5. The photographed image signal 8 is output from the image processing circuit 24b in the first field of each cycle.
[0042]
Accordingly, at the same time as the occurrence of the alarm 8, the extraction rate of the captured image signal 5 is reduced from 30 fps to 15 fps, and the remaining 15 fps is allocated to the captured image signal 8.
[0043]
The VBI insertion circuit 244a outputs the recording bit “1”, the pre-alarm bit “0”, the post-alarm bit “1”, and the ID bit “l” when only the alarm 5 occurs and when the alarms 5 and 8 occur. A VBI signal having a recording bit “0”, a pre-alarm bit “*”, a post-alarm bit “1”, and an ID bit “*” are multiplexed into a test pattern image signal. Multiplex.
[0044]
When the alarm 5 occurs, the VBI insertion circuit 244b multiplexes the VBI signal having the recording bit “1”, the pre-alarm bit “0”, the post-alarm bit “1”, and the ID bit “5” into the captured image signal 5. A VBI signal having a recording bit “0”, a pre-alarm bit “*”, a post-alarm bit “1” and an ID bit “*” is multiplexed with the test pattern image signal. The VBI insertion circuit 244b also multiplexes the VBI signal having the recording bit “1”, the pre-alarm bit “0”, the post-alarm bit “1”, and the ID bit “8” into the captured image signal 8 when the alarm 8 occurs. Then, a VBI signal having a recording bit “0”, a pre-alarm bit “*”, a post-alarm bit “1”, and an ID bit “*” is multiplexed on the test pattern image signal.
[0045]
The captured image signals 1 to 16 output from the monitoring cameras C1 to C16 are also supplied to the camera switching circuit 28 shown in FIG. In the camera switching circuit 28, a desired surveillance camera is selected, and a captured image signal of the selected monitoring camera is output to the monitor 22 shown in FIG. 1 via the camera switching circuit 28 and the memory 30a in the display processing circuit 30. . As a result, a live image captured by a desired monitoring camera is displayed on the monitor screen.
[0046]
The captured image signal or the test pattern image signal output from each of the camera image processing circuits 24a and 24b is provided to the HDR 16 shown in FIG. The HDR 16 is configured as shown in FIG. 12, and the captured image signal or the multi-pattern image signal is given to the video encoder 32 in detail.
[0047]
The video encoder 32 converts a given captured image signal or multi-pattern image signal into captured image data or multi-pattern image data that is a digital signal. The digital I / F 34 stores the VBI data included in the image data converted by the video encoder 32 in the RAM 36, and provides the image data (including the VBI data) to the memory I / F 54.
[0048]
Referring to FIG. 13A, SDRAM 56 has an input image area 56a, a compressed image area 56b and a management information area 56c as areas for recording processing, and input image area 56a is formed by banks A1 and B1. . The image data of each field output from the digital I / F 34 is alternately written to the banks A1 and B1 by the memory I / F 54.
[0049]
The main CPU 42 analyzes the VBI data stored in the RAM 36, and performs a recording process on the corresponding image data stored in the input image area 56a according to the analysis result. Specifically, if the recording bit included in the VBI data is "0", the corresponding image data is regarded as test pattern image data, and the image data is invalidated. On the other hand, if the recording bit included in the VBI data is "1", the state of the pre-alarm bit and the post-alarm bit is determined next. Here, if the pre-alarm bit and the post-alarm bit are “1” and “0”, respectively, the pre-alarm recording process is performed, and if the pre-alarm bit and the post-alarm bit are “0” and “1”, respectively, Perform recording processing. If the normal recording operation has been performed and both the pre-alarm bit and the post-alarm bit are “0”, the normal recording process is performed.
[0050]
In any of the recording processes, the captured image data stored in the input image area 56a is provided to the JPEG codec 46 via the memory I / F 54, and is subjected to JPEG compression. JPEG data generated by JPEG compression is stored in the compressed image area 56b via the memory I / F 54. Further, management information for managing JPEG data is created by the main CPU 42 and stored in the management information area 56c. The JPEG data and management information stored in the SDRAM 56 are given to an HDD (Hard Disc Drive) 50 via a memory I / F 54 and a drive I / F 48, and are recorded on the hard disk 52 by the HDD 50.
[0051]
As shown in FIG. 14, the hard disk 52 is divided into a normal recording area 52a and an alarm recording area 52b. The normal recording area 52a is divided into a normal tag area 52c and a normal data area 52d, and the alarm recording area 52b is divided into a pre-alarm area 52e and a post-alarm area 52f. Further, the pre-alarm area 52e is divided into a pre-alarm tag area 52g and a pre-alarm data area 52h, and the post-alarm area 52f is divided into a post-alarm tag area 52i and a post-alarm data area 52j.
[0052]
The management information and the JPEG data obtained by the normal recording process are recorded in the normal data area 52d, the management information and the JPEG data obtained by the pre-alarm recording processing are recorded in the pre-alarm data area 52h, and the post-alarm recording processing. The obtained management information and JPEG data are recorded in the post alarm data area 52j. At this time, the related management information and JPEG data are linked as shown in FIG. The management information and JPEG data related to each other are defined as “field data”.
[0053]
The management information includes a shooting date, a JPEG size, an alarm number, a camera ID, a recording field number, waiting time information, and the like. This management information is represented by 64 bytes, and the size does not change depending on the field.
[0054]
The shooting date is the same as the capture date of the captured image data, and this date includes information of “minutes” and “seconds”. The JPEG size is the size of the related JPEG data. The alarm number is an identification number of the alarm, and is required when searching for a captured image signal of a desired surveillance camera from the captured image signals recorded in the post-alarm data area 52j. For example, when the post-alarm recording is executed due to the occurrence of the alarm 5, the alarm number is "5". When the pre-alarm recording or the normal recording is performed, the alarm number is undefined (= *).
[0055]
The camera ID is an identifier of a surveillance camera that has taken an image of the related JPEG data. The recording field number is a number assigned to each JPEG data in the order of generation. The waiting time information is a difference between the previous JPEG data generation field and the current JPEG data generation field, and is necessary for controlling the reproduction timing of each JPEG data.
[0056]
After the recording of the management information and JPEG data for one field is completed, the main CPU 42 creates address information for the management information and JPEG data for three consecutive fields. That is, the main CPU 42 determines the start address of the management information of the previous field, the start address of the JPEG data of the previous field, the start address of the management information of the current field, the start address of the JPEG data of the current field, the start address of the management information of the next field. And the start address of the JPEG data of the next field is created. Since the management information is always 64 bytes, the head address of the management information of the next field and the head address of the JPEG data of the next field are calculated based on the head address of the JPEG data of the current field and the JPEG size.
[0057]
When the address information of three consecutive fields is generated in this way, the main CPU 42 creates tag data including the address information and the management information of the current field in the manner shown in FIG. The data is recorded on the hard disk 52 through the HDD 50. Referring to FIG. 14, tag data obtained by normal recording processing is recorded in normal tag area 52c, tag data obtained by pre-alarm recording processing is recorded in pre-alarm tag area 52g, and post-alarm recording processing is performed. The tag data obtained by the above is recorded in the post alarm tag area 52i.
[0058]
When the reproduction operation is performed, the main CPU 42 collectively reads out tag data related to the image to be reproduced from the hard disk 52 via the drive I / F 48 and the HDD 50, and reads out the read tag data via the memory I / F 54. Write to SDRAM 56. When reproducing the JPEG data recorded in the normal recording mode, the tag data recorded in the normal tag area 52c is transferred to the SDRAM 56, and when reproducing the JPEG data recorded in the pre-alarm recording mode, the pre-alarm tag is used. The tag data recorded in the area 52g is transferred to the SDRAM 56, and when the JPEG data recorded in the post-alarm recording mode is reproduced, the tag data recorded in the post-alarm tag area 52i is transferred to the SDRAM 56.
[0059]
Referring to FIG. 13B, in SDRAM 56, output image area 56d, compressed image area 56e, and tag data area 56f are formed as areas for reproduction. Tag data is written to the tag data area 56f.
[0060]
The main CPU 42 further specifies the JPEG data of each field based on the address information included in the transferred tag data, and determines the reproduction timing of the JPEG data of each field based on the waiting time information included in the transferred tag data. Control. The JPEG data reproduced from the hard disk 52 at a desired timing is temporarily stored in the compressed image area 56e of the SDRAM 56, and then decompressed by the JPEG codec 46. Photographed image data obtained by JPEG decompression is supplied to a video decoder 38 via an output image area 56d of the SDRAM 56, and is converted by the video decoder 38 into a photographed image signal which is an analog signal. The converted captured image signal is output to the multiplexer 14.
[0061]
Referring to FIG. 2, the captured image signal output from HDR 16 is provided to display processing circuit 30. The VBI analysis circuit 30b extracts a VBI signal from a given captured image signal and analyzes ID bits of the extracted VBI signal. To which address of the memory 30a the captured image signal is written is controlled by the analysis result of the ID bit. The captured image signal stored in the memory 30a is thereafter output to the monitor 22, and as a result, a reproduced image is displayed on the monitor screen.
[0062]
Referring to FIG. 12, an instruction from the operator is received by operation panel 44. Specifically, a power on / off instruction is received by a power button 44a, a normal recording start instruction is received by a recording button 44b, and a normal recording stop instruction is received by a recording stop button 44c. An instruction to start normal speed reproduction in the forward direction is received by a play button 44d, an instruction to start normal speed reproduction in the reverse direction is received by a reverse play button 44e, and an instruction to stop reproduction is received by a reproduction stop button 44f. Further, the change of the setting of the recording mode shown in FIG. 4 or FIG. 7, or the change of the setting of the recording program shown in FIG. 5, FIG. 8, or FIG. 9 is accepted by the menu button 44g.
[0063]
Note that a change in the setting of the recording program shown in FIG. 5, FIG. 8 or FIG. That is, the recording rate can be set to a higher value as the number of selected surveillance cameras decreases, and the settable recording rate decreases as the number of selected surveillance cameras increases.
[0064]
When an on operation is performed by the power button 44a, the sub CPU 40 turns on the power of the HDR 16 and supplies power on information to the main CPU 26 of the multiplexer 14. When the recording button 44b, the recording stop button 44c, the reproduction button 44d, the reverse reproduction button 44e, or the reproduction stop button 44f is operated, the sub CPU 40 gives the corresponding button operation information to the main CPU 42. Further, when a setting change operation is performed by the menu button 44g, the sub CPU 40 gives a setting change request to the main CPU 26 and also gives information on ON / OFF of the pre-alarm recording mode to the main CPU 42.
[0065]
The main CPU 26 of the multiplexer 14 operates according to the flowcharts shown in FIGS. The control program corresponding to this flowchart is stored in the ROM 26e.
[0066]
First, the variable VCNT_A is set to "1" in step S1, and the variable VCNT_B is set to "3" in step S3. As a result, a shift of two fields occurs between the variable VCNT_A and the variable VCNT_B. In step S5, the VBI information is initialized. The recording bit indicates "0", and the pre-alarm bit, post-alarm bit and ID bit indicate "*". In step S7, the presence or absence of generation of the vertical synchronization signal Vsync1 is determined. If YES is determined, image processing control A is executed in step S9, and image processing control B is executed in step S11. Upon completion of the process in the step S11, the process returns to the step S7. The vertical synchronization signal Vsync1 is a signal generated once every 1/60 second in the multiplexer 14, and steps S11 and S13 are executed every 1/60 second.
[0067]
Image processing control A in step S9 follows a subroutine shown in FIGS. First, the variable VCNT_A is determined in steps S21a, S39a and S47a. If VCNT_A = 1, YES is determined in the step S21a, and the process proceeds to the processes after the step S23a.
[0068]
In step S23a, the VBI insertion circuit 244a is instructed to insert the VBI signal including the VBI information stored in the information register 26a, and in the following step S23a, the recording bit included in the VBI information is determined. If the recording bit = 1, the flow advances to step S27a to instruct the memory control circuit 241a to read out the odd-numbered photographic image signal from the memory 242a. On the other hand, if the recording bit = 0, the flow advances to step S29a to instruct the test pattern signal generation circuit 243a to output a test pattern image signal. As a result, a photographic image signal or a test pattern image signal for one field in which the VBI signal including the VBI information in the information register 26a is multiplexed is output from the image processing circuit 24a.
[0069]
In a step S31, a camera & VBI determination process is executed, and in a step S33, the camera information and the VBI information determined by the process in the step S31 are stored in the information register 26a. In step S35, the setting of the camera switching circuit 22a is switched according to the camera information determined by the processing in step S31. Thus, a captured image signal from the surveillance camera indicated by the camera information is input to the image processing circuit 24a through the camera switching circuit 22a. Upon completion of the process in the step S35a, the variable VCNT_A is incremented in a step S37a, and then, the process returns to the routine in the upper hierarchy.
[0070]
If the variable VCNT is "2", YES is determined in the step S49a, and the memory control circuit 241a is instructed to start writing the captured image signal to the memory 241a in a step S51a. The memory control circuit 241a starts writing the captured image signal output from the camera switching circuit 22a to the memory 242a. Upon completion of the process in the step S51a, the variable VCNT_A is incremented in a step S53a, and then, the process returns to the routine in the upper hierarchy.
[0071]
If the variable VCNT_A is "3", it is determined as NO in the step S49a. At this time, the process returns to the routine in the upper hierarchy through the increment processing of the variable VCNT_A in step S53a.
[0072]
If the variable VCNT_A is "4", YES is determined in the step S39a, the VBI insertion circuit 244a is instructed to insert the VBI information stored in the information register 26a in a step S41a, and the test pattern image signal is The output is instructed to the test pattern generation circuit 243a. From the image processing circuit 24a, a test pattern image signal in which the VBI information of the information register 26a is multiplexed is output. In step S45, the memory control circuit 241a is instructed to finish writing the photographed image signal to the memory 242a. Thus, the memory control circuit 241a ends the writing of the captured image signal captured through the camera switching circuit 22a. Upon completion of the process in the step S45, the variable VCNT_A is set to "1" in a step S47a, and then, the process returns to the routine in the upper hierarchy.
[0073]
The image processing control B in step S11 complies with a subroutine shown in FIGS. 19 and 20. This subroutine is based on the point that the variable VCNT_B is determined in steps S21b, S39b and S49b, and the storage destination of the VBI information and the camera information is determined by the information register 26b. Except for a certain point and that the control target is the camera switching circuit 22b and the image processing circuit 24b, it is the same as the subroutine shown in FIGS.
[0074]
The camera & VBI determination processing in step S31a shown in FIG. 17 and step S31b shown in FIG. 19 follows a subroutine shown in FIG. That is, the camera & VBI determination process is executed according to a common subroutine.
[0075]
First, in step S61, it is determined whether a setting change request has been input from the HDR16. If the setting change request is not input, the process directly proceeds to step S65, but if the setting change request is input, the setting of the menu register 26c is changed in step S63, and then the process proceeds to step S65. In step S65, it is determined whether or not an alarm has occurred. If the alarm has not occurred, the recording mode setting is determined in each of steps S67 to S71.
[0076]
If it is determined that both the normal recording mode and the pre-alarm recording mode are in the ON state, it is determined as YES in step S67, and the process proceeds to step S73. If it is determined that the normal recording mode is on and the pre-alarm recording mode is off, YES is determined in the step S69, and the process proceeds to a step S77. If it is determined that the normal recording mode is in the off state and the pre-alarm recording mode is in the on state, it is determined as YES in step S71, and the process proceeds to step S85. If both the normal recording mode and the pre-alarm recording mode are in the off state, it is determined as NO in step S71, and the process proceeds to step S91.
[0077]
In step S73, the state of the variable N / P_FLAG is determined. If N / P_FLAG = N, the process proceeds to step S75, and if N / PFLAG = P, the process proceeds to step S73. The variable N / P_FLAG is a variable for determining whether to perform normal recording or pre-alarm recording. “N” indicates normal recording, and “P” indicates pre-alarm recording.
[0078]
In step S75, the variable N / P_FLAG is changed from "N" to "P" in order to obtain a determination result of NO in the next process of step S73. In a succeeding step S77, a camera is determined. Specifically, a monitoring camera to be activated in the next one cycle is determined from the monitoring cameras selected in the normal recording mode.
[0079]
In step S79, it is determined whether the first field in the next cycle is a recording field or an unnecessary field, based on the determined recording rate of the monitoring camera. If it is determined that the field is a recording field, VBI information is determined in step S81. The determined VBI information includes “1”, “0”, and “0” as the recording bit, the pre-alarm bit, and the post-alarm bit, and includes the identifier of the monitoring camera determined in step S77 as the ID bit. . On the other hand, if it is determined in step S79 that the field is an unnecessary field, VBI information is determined in step S91. The recording bit of the determined VBI information indicates “0”, and the pre-alarm bit, the post-alarm bit, and the ID bit indicate “*”. Upon completion of the process in the step S81 or S91, the process returns to the routine in the upper hierarchy.
[0080]
In step S83, the variable N / P_FLAG is set to "N" in order to obtain a determination result of YES in the next step S73. In step S85, the camera is determined in the same manner as in step S77. As a result, among the surveillance cameras selected in the pre-alarm recording mode, the surveillance camera to be activated in the next one cycle period is determined.
[0081]
In step S87, based on the determined recording rate of the monitoring camera, it is determined whether the first field of the next cycle is a recording field or an unnecessary field. If it is determined that the field is a recording field, VBI information is determined in step S89. The determined VBI information includes “1”, “1”, and “0” as the recording bit, the pre-alarm bit, and the post-alarm bit, and includes the identifier of the monitoring camera determined in step S85 as the ID bit. . If it is determined in step S87 that the field is unnecessary, VBI information is determined in step S91. Upon completion of the process in the step S89 or S89, the process returns to a routine in a higher hierarchy.
[0082]
There is a shift of two fields between the variables VCNT_A and VCNT_B, and the camera & VBI determination process is executed when VCNT_A = 1 and VCNT_B = 1. Therefore, the determination of the variable N / P_FLAG in step S73 is performed every two fields, and the update of the variable N / P_FLAG in step S75 or S83 is also performed every two fields. Thus, when the recording mode setting shown in FIGS. 7 to 9 is performed, the monitoring camera is switched every two fields as shown in FIG.
[0083]
When it is determined in step S65 shown in FIG. 21 that the alarm has occurred, the process proceeds to step S93 shown in FIG. 23, and it is determined whether or not a change (increase or decrease) has occurred in the alarm generated at the present time. If there is no change, the process directly proceeds to step S97, but if there is a change, the camera list 26d is updated in step S95, and then the process proceeds to step S97. In step S95, specifically, when a new alarm occurs, the monitoring camera corresponding to the alarm is added to the camera list 26d, and when the alarm stops, the monitoring camera corresponding to the alarm is deleted from the camera list 26d. Therefore, the surveillance camera for which the alarm has occurred at the present time is registered in the camera list 26d. In step S97, the monitoring camera to be activated in the next cycle is determined from the camera list 26d.
[0084]
In step S99, it is determined whether the first field in the next cycle is a recording field or an unnecessary field based on the determined recording rate of the monitoring camera. If it is determined that the field is a recording field, VBI information is determined in step S101. The determined VBI information includes "1", "0", and "1" as the recording bit, the pre-alarm bit, and the post-alarm bit, and includes the identifier of the monitoring camera determined in step S97 as the ID bit. . If it is determined in step S99 that the field is unnecessary, VBI information is determined in step S103. The determined VBI information includes “0”, “0”, “1”, and “*” as a recording bit, a pre-alarm bit, a post-alarm bit, and an ID bit. Upon completion of the process in the step S101 or S103, the process returns to a routine in a higher hierarchy.
[0085]
The main CPU 42 of the HDR 16 operates according to the flowcharts shown in FIGS. The main CPU 42 is a multitask CPU equipped with a real-time OS such as μITRON, and includes a main task shown in FIGS. 24 to 27, a normal recording task shown in FIGS. 28 and 29, and an alarm recording task shown in FIGS. 30 to 32. , And the reproduction tasks shown in FIGS. 33 and 34 are executed in parallel with each other. The control program corresponding to the flowchart is stored in the ROM 42a.
[0086]
First, referring to FIG. 24, in step S201, it is determined whether the pre-alarm recording mode is on or off. In step S213, the states of variables ALMREC_FLAG and POSTALM_FLAG are determined. In step S205, the state of ALMREC_FLAG is determined. Here, the variable ALMREC_FLAG is a variable for determining whether or not the alarm recording task has been activated. “0” indicates a stopped state, and “1” indicates an activated state. The variable POSTALM_FLAG is a variable for determining whether pre-alarm recording or post-alarm recording is being performed. “0” indicates pre-alarm recording, and “1” indicates post-alarm recording.
[0087]
If the pre-alarm recording mode is set to ON and the variable ALMREC_FLAG is “0”, it is considered that the pre-alarm recording mode has just been changed from OFF setting to ON setting immediately after power-on, and the variable ALMREC_FLAG is set to “1” in step S207. "Is set to" 0 ", POSTALM_FLAG is set to" 0 "in step S209, and the alarm recording task is started in step S211. Upon completion of the process in the step S211, the process returns to the step S201.
[0088]
If the variable ALMREC_FLAG is “1” and the variable POSTALM_FLAG is “0” even though the pre-alarm recording mode is off, it means that the pre-alarm recording mode has just been changed from on to off. Considering that, in step S214, the variable ALMRECEND_FLAG is set to "1". The variable ALMRECEND_FLAG is a variable for requesting termination or continuation of the alarm recording task. “1” indicates a termination request, and “0” indicates a continuation request. By setting the variable ALMRECEND_FLAG to “1” in step S214, the alarm recording task ends as described later. Upon completion of the process in the step S214, the process returns to the step S201.
[0089]
If the pre-alarm recording mode is set to ON and the alarm recording task has been started, the process proceeds to step S115 via steps S201 and S205. When the pre-alarm recording mode is set to off and the alarm recording task is stopped, or when the pre-alarm recording mode is set to off and post-alarm recording is being executed by the alarm recording task, the processing proceeds through steps S201 and S213. To step S215.
[0090]
In step S215, the state of the variable ALMSTRT_FLAG is determined. The variable ALMSTRT_FLAG is a variable for determining whether or not an alarm has occurred. “0” indicates an alarm non-occurrence state, and “1” indicates an alarm occurrence state. The update of the variable ALMSTRT_FLAG from “0” to “1” is performed by another task (not shown). That is, when the change of the post-alarm bit included in the VBI information from “0” to “1” is detected by another task, the variable ALMSTRT_FLAG is updated from “0” to “1”.
[0091]
If “YES” is determined in the step S215, the variable ALMSTRT_FLAG is returned to “0” in a step S219, and the states of the variables ALMREC_FLAG and POSTALM_FLAG are determined in a step S221. If the alarm recording task has been started and the pre-alarm recording is being executed, the variable ALMREC_FLAG indicates “1” and the variable POSTALM_FLAG indicates “0”. In this case, YES is determined in the step S221, and the variable POSTALM_FLAG is changed from “0” to “1” in a step S223. Thereby, the recording process in the alarm recording task is changed from pre-alarm recording to post-alarm recording. Upon completion of the process in the step S223, the process returns to the step S201.
[0092]
On the other hand, if the alarm recording task is not activated because the pre-alarm recording mode is set to OFF, the variable ALMREC_FLAG indicates “0”. In this case, the variable POSTALM_FLAG is set to "1" in step S225, the variable ALMREC_FLAG is set to "1" in step S227, and the alarm recording task is started in step S229. Upon completion of the process in the step S229, the process returns to the step S201.
[0093]
If NO is determined in the step S215, the state of the variable ALMSTOP_FLAG is determined in a step S217. Variable ALMSTOP_FLAG is a variable for determining whether or not the alarm has stopped. “0” indicates an alarm occurrence state, and “1” indicates an alarm stop state.
[0094]
The update of the variable ALMSTOP_FLAG from “0” to “1” is also performed by another task (not shown). That is, when the change of the post-alarm bit included in the VBI information from “1” to “0” is detected by another task, the variable ALMSTRT_FLAG is updated from “1” to “0”.
[0095]
If “YES” is determined in the step S217, the variable ALMSTOP_FLAG is returned to “0” in a step S231, and on / off setting of the pre-alarm recording mode is determined in a step S233. When the pre-alarm recording mode is set to ON, the variable POSTALM_FLAG is returned from "1" to "0" in step S243. Thereby, the recording process in the alarm recording task is switched from post-alarm recording to pre-alarm recording. Upon completion of the process in the step S243, the process returns to the step S201.
[0096]
If the pre-alarm recording mode is set to OFF, the determination in step S233 is NO, and the variable ALMRECEND_FLAG is set to "1" in step S235 to request the end of the alarm recording task. In a succeeding step S237, it is determined whether or not the variable RSV_FLAG is “1”. The variable RSV_FLAG is a variable for determining whether or not the start of normal recording after the post-alarm recording is completed is reserved. “1” indicates that there is a reservation, and “0” indicates that there is no reservation.
[0097]
If NO is determined in the step S237, the process returns to the step S201. On the other hand, if YES is determined in the step S237, the variable RSV_FLAG is returned to “0” in a step S239, the variable NRMLREC_FLAG is set to “1” in a step S240, and a normal recording task is started in a step S241. Here, the variable NRMLREC_FLAG is a variable for determining whether to start / stop the normal recording task. “1” indicates a start state, and “0” indicates a stop state. Upon completion of the process in the step S241, the process returns to the step S101.
[0098]
If NO is determined in the step S217, it is determined whether or not the recording button 44b is operated in a step S245 shown in FIG. If “YES” here, the process proceeds to a step S247 to determine the state of the variable NRMLREC_FLAG. If NRMLREC_FLAG = 1, it is considered that the normal recording task has been started, and the process returns from step S247 to step S201. On the other hand, if NRMLREC_FALG = 0, it is considered that the normal recording task is in the stopped state, and the state of the variables ALMREC_FLAG and POSTALM_FLAG is determined in step S249.
[0099]
If the alarm recording task has not been activated, the variable ALMREC_FLAG indicates “0”. If the alarm recording task is activated but the pre-alarm recording is being executed, the variables ALMREC_FLAG and POSTALM_FLAG indicate “1” and “0”, respectively. In this case, YES is determined in the step S249, the variable NRMLREC_FLAG is set to “1” in a step S250, and the normal recording task is started in a step S251. Upon completion of the process in the step S251, the process returns to the step S201.
[0100]
On the other hand, if the post-alarm recording is being executed in the alarm recording task, both the variables ALMREC_FLAG and POSTALM_FLAG indicate “1”. In this case, the variable RSV_FLAG is set to “1” in step S253, and the process returns to step S201.
[0101]
In step S255, it is determined whether or not the recording stop button 44c has been operated. If YES is determined, the state of the variable NRMLREC_FLAG is determined in step S257. If NRMLREC_FLAG = 0, the normal recording task is considered to be in a stopped state, and the process returns to step S201. On the other hand, if NRMLREC_FLAG = 0, it is considered that the normal recording task is in the activated state, and the variable NRMLRECEND_FLAG is set to “1” in step S259. The variable NRMLRECEND_FLAG is a variable for requesting termination or continuation of the normal recording task, where “1” indicates a termination request and “0” indicates a continuation request. By setting the variable NRMLRECEND_FLAG to “1” in step S259, the normal recording task ends as described later. Upon completion of the process in the step S259, the process returns to the step S201.
[0102]
If “NO” is determined in the step S255, it is determined whether or not the play button 44d is operated in a step S261 shown in FIG. If YES is determined here, the states of the variables PLAY_FLAG and DRCT_FLAG are determined in step S265. The variable PLAY_FLAG is a variable for judging start / stop of the reproduction task. “1” indicates start, and “0” indicates stop. The variable DRCT_FLAG is a variable for determining the reproduction direction, where “0” indicates the forward direction and “1” indicates the reverse direction.
[0103]
If forward reproduction is being performed by the reproduction task, both the variables PLAY_FLAG and DRCT_FLAG indicate “1”. In this case, YES is determined in the step S265, and the process returns to the step S201. On the other hand, if the reproduction task is in the stop state, the variable PLAY_FLAG indicates “0”, and if the reproduction task is performing reverse reproduction, the variable PLAY_FLAG indicates “1” and the variable DRCT_FLAG indicates “0”. . In such a case, NO is determined in the step S265, and the variable DRCT_FLAG is set to “1” in a step S267.
[0104]
In step S273, the state of the variable PLAY_FLAG is determined. If PLAY_FLAG = 1 here, it is considered that the reproduction task has been started, and the process returns to step S201. On the other hand, if PLAY_FLAG = 0, it is considered that the reproduction task is in the stopped state, the variable PLAY_FLAG is changed to “1” in step S275, and the reproduction task is started in step S277. Upon completion of the process in the step S277, the process returns to the step S201.
[0105]
In step S263, it is determined whether or not the reverse playback button 44e has been operated. If YES, the state of the variables PLAY_FLAG and DRCT_FLAG is determined in step S269. If the reproduction task is performing reverse reproduction, the variable PLAY_FLAG indicates “1” and the variable DRCT_FLAG indicates “0”. At this time, YES is determined in the step S269, and the process returns to the step S201. On the other hand, when the reproduction task is stopped, the variable PLAY_FLAG indicates “0”, and when the reproduction task is performing forward reproduction, both the variables PLAY_FLAG and DRCT_FLAG indicate “1”. In such a case, NO is determined in the step S269, the variable DRCT_FLAG is set to “0” in a step S271, and the process proceeds to the step S273.
[0106]
In step S279, it is determined whether or not the reproduction stop button 44f has been operated. If YES, the state of the variable PLAY_FLAG is determined in step S281. If PLAY_FLAG = 0, it is considered that the reproduction task is in the stopped state, and the process returns to step S201. On the other hand, if PLAY_FLAG = 1, it is considered that the reproduction task is in the activated state, and the variable PLAYEND_FLAG is set to “1” in step S283. The variable PLAYEND_FLAG is a variable for requesting continuation or termination of the reproduction task, where "0" indicates a continuation request and "1" indicates a termination request. By setting the variable PLAYEND_FLAG to “1” in step S283, the reproduction task is stopped as described later. Upon completion of the process in the step S283, the process returns to the step S201.
[0107]
Referring to FIG. 28, in the normal recording task, first, in step S291, it is determined whether or not the vertical synchronization signal Vsync2 has been generated. The vertical synchronization signal Vsync2 is a timing signal generated once every 1/30 second in the HDR16. Therefore, in step S291, YES is determined every 1/30 second. In step S293, VBI information is acquired from the RAM 36 shown in FIG. 12, and in subsequent steps S295 to S299, the values of the acquired VBI information are determined.
[0108]
If the pre-alarm bit and the post-alarm bit are both "0" and the recording bit is "1", YES is determined in all of steps S295 to S299, and the process proceeds through the normal recording image recording process in step S301. Proceed to S305. On the other hand, if any one of the above conditions is not satisfied, the variable NRMCNT is incremented in step S303, and the process proceeds to step S305. The variable NRMCNT indicates the number of continuous fields of image data that is not a target of normal recording.
[0109]
In step S305, the state of the variable NRMLRECEND_FLAG is determined, and the processes in steps S291 to S305 are repeated as long as NRMLRECEND_FLAG = 0. When NRMLRECEND_FLAG = 1, YES is determined in the step S305, and the variables NRMLRECEND_FLAG and NRMLREC_FLAG are set to “0” in a step S307. After completion of the process in step S307, the reproduction task stops.
[0110]
The image recording process in step S301 follows a subroutine shown in FIG. First, in step S311a, a compression process is instructed to the JPEG codec 46 shown in FIG. 12 to perform JPEG compression on the photographed image data stored in the input image area 56a shown in FIG. The JPEG codec 46 reads out captured image data from the input image area 56a through the memory I / F 54, generates JPEG data by JPEG compression, and shows the generated JPEG data via the memory I / F 54 in FIG. Write to the compressed image area 56b.
[0111]
In step S313a, management information including a shooting date, a JPEG size, an alarm number, a camera ID, a recording field number, and waiting time information is created, and the created management information is written in the management information area 56c shown in FIG. . Of these, the waiting time information corresponds to the variable NRMCNT + 1.
[0112]
In step S315a, the HDD 50 is instructed to record the related management information and the JPEG data in the normal data area 52d (see FIG. 14). The management information and the JPEG data related to each other are given to the HDD 50 via the memory I / F 54 and the drive I / F 48, and are recorded in the normal data area 52d by the HDD 50. The management information and the JPEG data are recorded in the normal data area 52d in the manner shown in FIG. Thereby, field data is formed.
[0113]
In step S317a, address information of the previous field is created, in step S319a, address information of the current field is created, and in step S321a, address information of the next field is created. More specifically, in step S317a, the head address of the management information and the head address information of the JPEG data are detected for the field data of the previous field, and in step S319a, the head address of the management information and the JPEG data of the field data of the current field are detected. The head address information is detected, and in step S321a, the head address of the management information and the head address information of the JPEG data are detected for the field data of the next field.
[0114]
In step S323a, tag data including the management information created in step S313a and the addresses detected in steps 317a to S321a is created, and the HDD 50 is requested to record the created tag data in the normal tag area 52c. Tag data is recorded in the normal tag area 52c by the HDD 50. In the step S325a, the variable NRMLCNT is reset, and thereafter, the process returns to the routine in the upper hierarchy.
[0115]
Referring to FIG. 30, in the alarm recording task, first, in steps S331 and S333, the same processing as in steps S291 and S293 described above is executed. In step S335, the recording bit included in the extracted VBI information is determined. If the recording bit is "0", the variables PRECNT and POSTCNT are incremented in step S337, and the process proceeds to step S351. Note that the variable PRECNT indicates the number of continuous fields of image data not to be subjected to pre-alarm recording, and the variable POSTCNT indicates the number of continuous fields of image data not to be subjected to post-alarm recording.
[0116]
If the recording bit is determined to be "1" in step S335, a pre-alarm bit and a post-alarm bit are determined in step S339. If the pre-alarm bit is “1” and the post-alarm bit is “0”, “YES” is determined in the step S339, and the process proceeds to the step S351 through the pre-alarm recording image recording process in the step S341. On the other hand, if NO is determined in the step S339, the variable PRECNT is incremented in a step S343, and the process proceeds to the step S345.
[0117]
In step S345, the pre-alarm bit and the post-alarm bit are determined again. If the pre-alarm bit is "0" and the post-alarm bit is "1", YES is determined in the step S345, and the process proceeds to the step S351 through the post-alarm recording image recording process in the step S347. If NO is determined in the step S345, the variable POSTCNT is incremented in a step S349, and the process proceeds to the step S351.
[0118]
In step S351, the state of the variable ALMRECEND_FLAG is determined, and the processes in steps S331 to S351 are repeated as long as ALMRECEND_FLAG = 0. When ALMRECEND_FLAG = 1, the variables ALMRECEND_FLAG and ALMREC_FLAG are set to “0” in step S353. After the processing of step S353 is completed, the alarm recording task stops.
[0119]
The image recording process in step S341 follows the subroutine shown in FIG. 31, and the image recording process in step S347 follows the subroutine shown in FIG.
[0120]
However, in the subroutine shown in FIG. 31, the waiting time information created in step S313b corresponds to the variable PRECNT + 1, the field data is recorded in the pre-alarm data area 52h in step S315b, and the tag data is pre-alarmed in step S323b. This subroutine is the same as the subroutine shown in FIG. 29, except that it is recorded in the tag area 52g and that the variable PRECNT is reset in step S325b. The subroutine shown in FIG. 32 is that the waiting time information created in step S313c corresponds to the variable POSTCNT + 1, the field data is recorded in the post alarm data area 52j in step S315c, and the tag data is stored in the pre-alarm tag area in step S323c. The subroutine shown in FIG. 29 is the same as the subroutine shown in FIG. 29 except that the variable POSTCNT is recorded in the subroutine 52i and the variable POSTCNT is reset in step S325c. Therefore, description of the processing of the subroutine shown in FIGS. 31 and 32 will be omitted.
[0121]
Referring to FIG. 33, in the reproduction task, first, a desired tag area (any one of normal tag area 52c, pre-alarm tag area 52g, and post-alarm tag area 52i) formed on hard disk 52 in step S361. A request is made to the HDD 50 for batch reading of tag data. Tag data is collectively read from a desired area by the HDD 52 and transferred to the SDRAM 56. The tag data is stored in a tag data area 56f shown in FIG. Note that tag data of an arbitrary field stored in the tag data area 56f is directed by the reproduction pointer.
[0122]
In step S363, it is determined whether or not the vertical synchronization signal Vsync2 has been generated. When the determination is YES, the process proceeds to step S365. Therefore, the processing after step S365 is executed every 1/30 second. In step S365, the head address of the JPEG data of the current field is extracted from the tag data pointed to by the reproduction pointer, and in step S367, the HDD 50 is requested to reproduce the JPEG data after the extracted head address. The JPEG data is read by the HDD 50 and stored in the compressed image area 56e of the SDRAM 56 (see FIG. 13B).
[0123]
In step S369, a command is issued to the JPEG codec 46 to decompress the JPEG data stored in the compressed image area 56e. The JPEG codec 46 reads the JPEG data from the compressed image area 56e, performs JPEG expansion on the read JPEG data, and writes the expanded captured image data into the output image area 56d shown in FIG. The captured image data is then converted into a captured image signal by the video decoder 38 and output to the monitor 22 via the multiplexer 14. As a result, the reproduced image is displayed on the monitor screen.
[0124]
In the step S371, the variable DRCT_FLAG is determined. If DRCT_FLAG = 1, it is considered that the current reproduction direction is the forward direction, and the reproduction pointer is incremented in step S377. The playback pointer points to the tag data of the next field. In step S379, tag data next to the tag data pointed to by the incremented reproduction pointer (tag data in the field next to the next field) is specified. In step S381, waiting time information is extracted from the specified tag data.
[0125]
On the other hand, if it is determined in step S371 that DRCT_FLAG = 0, the current playback direction is considered to be the reverse direction, and the playback pointer is decremented in step S373. The playback pointer points to the tag data of the previous field. In step S375, waiting time information is extracted from the tag data pointed to by the decremented reproduction pointer.
[0126]
In step S383, it is determined whether the waiting time indicated by the extracted waiting time information has elapsed. If YES, the process returns to step S365. As a result, the captured image data is reproduced in the forward direction or the reverse direction at the same speed (normal speed) as at the time of recording. If NO is determined in the step S383, it is determined in a step S385 whether or not the variable PLAYEND_FLAG indicates “1”. If PLAYEND_FLAG is “1”, it is regarded that the reproduction end is requested, and the variables PLAY_FLAG and PLAYEND_FLAG are set to “0” in step S387. The reproduction task stops after the process of step S387 is completed.
[0127]
As can be understood from the above description, the camera switching circuit 22a or 22b included in the multiplexer 14 selects one of the plurality of monitoring cameras C1 to C16 in a time division manner. The image processing circuit 24a or 24b captures the captured image signal output from the selected monitoring camera, and adds the VBI information whose recording bit is “1” to the captured image signal at a timing according to the recording mode setting. When the recording bit included in the VBI information is “1”, the HDR 16 records the image signal on the hard disk 52. Therefore, only the desired photographed image signal can be accurately recorded on the hard disk 52.
[0128]
In this embodiment, the multiplexer and the HDR are integrated, but the multiplexer and the HDR may be provided separately. If another video recorder having only HDR is connected in cascade to the video recorder of this embodiment, data exceeding the capacity of the hard disk can be recorded. Thus, when another video recorder is added, the effect of the recording control as in the present invention is remarkably exhibited.
[0129]
In this embodiment, a hard disk is used as a recording medium. However, the recording medium is not limited to a disk recording medium as long as it has excellent random access. Therefore, a semiconductor memory may be used as a recording medium.
[Brief description of the drawings]
FIG. 1 is a block diagram showing one embodiment of the present invention.
FIG. 2 is a block diagram illustrating an example of a configuration of a multiplexer.
FIG. 3 is an illustrative view showing one portion of an operation of a multiplexer;
FIG. 4 is an illustrative view showing one example of a recording mode setting;
FIG. 5 is an illustrative view showing one example of a program recording setting;
FIG. 6 is an illustrative view showing one portion of an operation of the multiplexer according to the settings shown in FIGS. 4 and 5;
FIG. 7 is an illustrative view showing another example of the recording mode setting;
FIG. 8 is an illustrative view showing another example of the program recording setting;
FIG. 9 is an illustrative view showing another example of the program recording setting;
FIG. 10 is an illustrative view showing one portion of an operation of a multiplexer according to the settings shown in FIGS. 7 to 9;
FIG. 11 is an illustrative view showing one portion of an operation of a multiplexer according to the setting of FIG. 4 or 7;
FIG. 12 is a block diagram illustrating an example of a configuration of an HDR.
13A is an illustrative view showing a mapping state of a recording processing area formed in the SDRAM, and FIG. 13B is an illustrative view showing a mapping state of a reproduction processing area formed in the SDRAM; is there.
FIG. 14 is an illustrative view showing one example of a structure of a hard disk;
FIG. 15A is an illustrative view showing one example of a structure of field data recorded on a hard disk; FIG. 15B is an illustrative view showing one example of a structure of tag data recorded on a hard disk;
FIG. 16 is a flowchart showing a part of the operation of the multiplexer.
FIG. 17 is a flowchart showing another portion of the operation of the multiplexer.
FIG. 18 is a flowchart showing another portion of the operation of the multiplexer.
FIG. 19 is a flowchart showing a part of the operation of the HDR.
FIG. 20 is a flowchart showing another portion of the operation of the HDR.
FIG. 21 is a flowchart showing another portion of the operation of the HDR.
FIG. 22 is a flowchart showing yet another portion of the operation of the HDR.
FIG. 23 is a flowchart showing another portion of the operation of the HDR.
FIG. 24 is a flowchart showing another portion of the operation of the HDR.
FIG. 25 is a flowchart showing yet another portion of the operation of the HDR.
FIG. 26 is a flowchart showing another portion of the operation of the HDR.
FIG. 27 is a flowchart showing another portion of the operation of the HDR.
FIG. 28 is a flowchart showing yet another portion of the operation of the HDR.
FIG. 29 is a flowchart showing another portion of the operation of the HDR.
FIG. 30 is a flowchart showing another portion of the operation of the HDR.
FIG. 31 is a flowchart showing yet another portion of the operation of the HDR.
FIG. 32 is a flowchart showing another portion of the operation of the HDR.
FIG. 33 is a flowchart showing another portion of the operation of the HDR.
FIG. 34 is a flowchart showing yet another portion of the operation of the HDR.
[Explanation of symbols]
10. Surveillance camera system
12 ... Video recorder
14. Multiplexer
16 ... HDR
18 Monitor

Claims (5)

複数のカメラから与えられた複数の画像信号を選択的に出力するマルチプレクサと前記マルチプレクサから出力された画像信号を記録媒体に記録する記録装置とを備える画像記録システムにおいて、
前記マルチプレクサは、
前記複数のカメラの各々を時分割で選択する選択手段、および
前記選択手段によって選択されたカメラから出力された画像信号に任意のタイミングで記録要求信号を付加する付加手段を備え、
前記記録装置は、
前記マルチプレクサから出力された画像信号に前記記録要求信号が付加されているとき当該画像信号を前記記録媒体に記録する記録手段を備えることを特徴とする、画像記録システム。
An image recording system comprising: a multiplexer that selectively outputs a plurality of image signals given from a plurality of cameras; and a recording device that records an image signal output from the multiplexer on a recording medium.
The multiplexer,
Selecting means for selecting each of the plurality of cameras in a time-division manner, and adding means for adding a recording request signal at an arbitrary timing to an image signal output from the camera selected by the selecting means,
The recording device,
An image recording system, comprising: recording means for recording the image signal on the recording medium when the recording request signal is added to the image signal output from the multiplexer.
前記マルチプレクサは前記複数のカメラの各々について記録レートの設定を受け付ける受付手段をさらに備え、
前記任意のタイミングは前記受付手段によって受け付けた記録レート設定に従うタイミングである、請求項1記載の画像記録システム。
The multiplexer further includes a receiving unit that receives a setting of a recording rate for each of the plurality of cameras,
The image recording system according to claim 1, wherein the arbitrary timing is a timing according to a recording rate setting received by the receiving unit.
前記マルチプレクサは、アラームの発生状態に応じてプリアラーム記録およびポストアラーム記録のいずれか一方を示す記録モード情報を生成する記録モード情報生成手段をさらに備え、
前記記録要求信号は前記記録モード情報生成手段によって生成された記録モード情報を含む、請求項1または2記載の画像記録システム。
The multiplexer further includes a recording mode information generating unit that generates recording mode information indicating one of pre-alarm recording and post-alarm recording according to an alarm occurrence state,
3. The image recording system according to claim 1, wherein the recording request signal includes recording mode information generated by the recording mode information generating unit.
前記記録媒体はプリアラーム領域およびポストアラーム領域を有し、
前記記録手段は、前記記録要求信号から前記記録モード情報を検出する検出手段、前記検出手段によって検出された記録モード情報がプリアラーム記録を示すとき前記画像信号を前記プリアラーム領域に記録するプリアラーム記録手段、および検出手段によって検出された記録モード情報がポストアラーム記録を示すとき前記画像信号を前記ポストアラーム領域に記録するポストアラーム記録手段を含む、請求項3記載の画像記録システム。
The recording medium has a pre-alarm area and a post-alarm area,
The recording means includes: detection means for detecting the recording mode information from the recording request signal; and a pre-alarm for recording the image signal in the pre-alarm area when the recording mode information detected by the detection means indicates pre-alarm recording. 4. The image recording system according to claim 3, further comprising recording means, and post-alarm recording means for recording the image signal in the post-alarm area when the recording mode information detected by the detection means indicates post-alarm recording.
前記選択手段はポストアラーム記録を行うとき特定のカメラを優先的に選択する、請求項1ないし4のいずれかに記載の画像記録システム。5. The image recording system according to claim 1, wherein said selection means preferentially selects a specific camera when performing post-alarm recording.
JP2002210423A 2002-07-19 2002-07-19 Image recording system Pending JP2004056410A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2002210423A JP2004056410A (en) 2002-07-19 2002-07-19 Image recording system
US10/621,318 US20040022516A1 (en) 2002-07-19 2003-07-18 Image recording system and image recording reproducing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002210423A JP2004056410A (en) 2002-07-19 2002-07-19 Image recording system

Publications (1)

Publication Number Publication Date
JP2004056410A true JP2004056410A (en) 2004-02-19

Family

ID=31933927

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002210423A Pending JP2004056410A (en) 2002-07-19 2002-07-19 Image recording system

Country Status (1)

Country Link
JP (1) JP2004056410A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006109114A (en) * 2004-10-06 2006-04-20 Hitachi Ltd Image data compression equipment
JP2007243654A (en) * 2006-03-09 2007-09-20 Sanyo Electric Co Ltd Code identifier

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006109114A (en) * 2004-10-06 2006-04-20 Hitachi Ltd Image data compression equipment
JP4513487B2 (en) * 2004-10-06 2010-07-28 株式会社日立製作所 Video data compression device
JP2007243654A (en) * 2006-03-09 2007-09-20 Sanyo Electric Co Ltd Code identifier

Similar Documents

Publication Publication Date Title
EP1150510A2 (en) Digital recording/reproducing apparatus for surveillance
US7421134B2 (en) Image processing apparatus and method for moving object-adaptive compression
JP2001298693A (en) Digital camera
JP2008011349A (en) Camera capable of photographing moving picture
US20050057652A1 (en) Monitoring image recording apparatus
JP2004056410A (en) Image recording system
US20040022516A1 (en) Image recording system and image recording reproducing apparatus
JP2007259390A (en) Camera capable of taking image of moving picture
JP2004056411A (en) Image recording and reproducing apparatus
JP2002279560A (en) Monitoring method using network camera and monitoring system
JP4204445B2 (en) Content recording device
JP4241562B2 (en) Image compression device
JPH10224735A (en) Image processor
JP3851149B2 (en) Image processing device
JP4458785B2 (en) Image management device
JP2002237984A (en) Digital camera
JP2002320218A (en) Monitor image display device
US20030117512A1 (en) Digital camera
JPH0974539A (en) Recompression inhibit controller
JP2002064766A (en) Digital camera
JP3868025B2 (en) Image editing device
JP2005006164A (en) Monitoring camera system
JP2002101366A (en) Digital image pickup device and method and recording medium
JP3284544B2 (en) Information processing apparatus, information processing method, and program storage medium
JP2008035238A (en) Camera capable of photographing moving picture

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050415

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071127

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080128

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080304