Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7228826B2 - Video recording device - Google Patents
[go: Go Back, main page]

JP7228826B2 - Video recording device - Google Patents

Video recording device Download PDF

Info

Publication number
JP7228826B2
JP7228826B2 JP2018043041A JP2018043041A JP7228826B2 JP 7228826 B2 JP7228826 B2 JP 7228826B2 JP 2018043041 A JP2018043041 A JP 2018043041A JP 2018043041 A JP2018043041 A JP 2018043041A JP 7228826 B2 JP7228826 B2 JP 7228826B2
Authority
JP
Japan
Prior art keywords
video
image
quality
impact
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2018043041A
Other languages
Japanese (ja)
Other versions
JP2019161350A (en
Inventor
晃平 石川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Comtec Co Ltd
Original Assignee
Comtec 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 Comtec Co Ltd filed Critical Comtec Co Ltd
Priority to JP2018043041A priority Critical patent/JP7228826B2/en
Publication of JP2019161350A publication Critical patent/JP2019161350A/en
Application granted granted Critical
Publication of JP7228826B2 publication Critical patent/JP7228826B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Time Recorders, Dirve Recorders, Access Control (AREA)
  • Television Signal Processing For Recording (AREA)

Description

本開示は、映像記録装置に関する。 The present disclosure relates to a video recording device.

映像記録装置として、加速度センサにより検出される加速度に基づき、圧縮率及びフレームレートを変更しながら、映像データを記憶ユニットに記録するドライブレコーダが既に知られている(例えば特許文献1参照)。 As a video recording device, a drive recorder that records video data in a storage unit while changing the compression ratio and frame rate based on acceleration detected by an acceleration sensor is already known (see, for example, Patent Document 1).

特開2010-146477号公報JP 2010-146477 A

本発明者は、盗難や当て逃げ等の犯罪への対策のために、ドライブレコーダに駐車時の周辺監視機能を設けることを考えている。具体的には、駐車中の撮影映像を、映像データとしてドライブレコーダの記憶ユニットに記録することを考えている。しかしながら、比較的長時間に及ぶ駐車中に、高品質の撮影映像を常時記録することは、記憶ユニットの記憶容量との関係から難しい。 The inventor of the present invention intends to provide a drive recorder with a function of monitoring surroundings during parking as a countermeasure against crimes such as theft and hit-and-run. Specifically, the idea is to record the video taken while the vehicle is parked as video data in the storage unit of the drive recorder. However, it is difficult to constantly record high-quality captured images while the vehicle is parked for a relatively long time due to the storage capacity of the storage unit.

そこで、本開示の一側面によれば、駐車中にカメラの撮影映像を有利に記録可能な技術を提供できることが望ましい。 Therefore, according to one aspect of the present disclosure, it is desirable to be able to provide a technology that can advantageously record images captured by a camera while the vehicle is parked.

本開示の一側面によれば、車両に搭載される映像記録装置が提供される。映像記録装置は、生成ユニットと、映像記録ユニットと、制御ユニットとを備える。生成ユニットは、駐車中に、車両周囲を撮影するカメラからの映像信号に基づき、カメラによる撮影映像を表す記録用の映像データを生成するように構成される。映像記録ユニットは、生成ユニットにより生成された映像データを、記憶ユニットに格納するように構成される。 According to one aspect of the present disclosure, a video recording device mounted on a vehicle is provided. The video recording device comprises a generating unit, a video recording unit and a control unit. The generating unit is configured to generate video data for recording representing video captured by the camera, based on a video signal from the camera capturing the surroundings of the vehicle while the vehicle is parked. The video recording unit is configured to store the video data generated by the generating unit in the storage unit.

制御ユニットは、カメラによる撮影映像を解析し、その映像変化に基づき、生成ユニットにより生成される映像データの映像品質を制御することにより、映像記録ユニットが記憶ユニットに格納する映像データの量を制御するように構成される。撮影映像から特定される映像変化に基づき、映像品質を制御することによれば、有限の記憶領域を有利に活用して、駐車中にカメラの撮影映像を有利に記録できる。 The control unit analyzes the image captured by the camera and controls the image quality of the image data generated by the generation unit based on changes in the image, thereby controlling the amount of image data stored in the storage unit by the image recording unit. configured to By controlling the video quality based on the video changes identified from the captured video, it is possible to advantageously utilize the limited storage area and record the video captured by the camera while the vehicle is parked.

本開示の一側面によれば、制御ユニットは、生成ユニットにより生成される映像データの圧縮率及びフレームレートの少なくとも一方を制御することにより、映像データの映像品質を制御するように構成されてもよい。 According to one aspect of the present disclosure, the control unit may be configured to control video quality of the video data by controlling at least one of compression rate and frame rate of the video data generated by the generation unit. good.

本開示の一側面によれば、制御ユニットは、所定条件を満足する映像変化の発生を条件に、生成ユニットにより生成される映像データの映像品質を、第一の品質から第一の品質より高い第二の品質に一時的に変更することにより、映像データの映像品質を制御してもよい。このように映像品質を制御することにより、比較的簡単な処理で、動きのない映像の不必要な記録を抑えることができ、駐車中にカメラの撮影映像を有利に記録できる。一時的に変更することは、映像データの映像品質を予め定められた一定時間に限って第二の品質に変更することであり得る。 According to one aspect of the present disclosure, the control unit changes the video quality of the video data generated by the generation unit from a first quality to a higher than the first quality on the condition that a video change that satisfies a predetermined condition occurs. The video quality of the video data may be controlled by temporarily changing to a second quality. By controlling the image quality in this way, it is possible to suppress unnecessary recording of motionless images with relatively simple processing, and it is possible to advantageously record images captured by the camera while the vehicle is parked. Temporarily changing can be changing the video quality of the video data to the second quality only for a predetermined period of time.

本開示の一側面によれば、映像記録装置は、衝撃を検知する衝撃検知ユニットを備えていてもよい。この場合、制御ユニットは、映像変化、及び、衝撃検知ユニットにより検知される衝撃に基づき、映像データの映像品質を制御してもよい。具体的に、制御ユニットは、衝撃が検知されたことを条件に、映像データの映像品質を、第一の品質から第二の品質に一時的に変更するように構成されてもよい。この例によれば、駐車中の映像記録量を抑えながら、衝撃の発生時に高品質な撮影映像を記録することができ、車両周辺の監視映像を有意義に記録することができる。 According to one aspect of the present disclosure, the video recording device may include an impact detection unit that detects impact. In this case, the control unit may control the video quality of the video data based on the video changes and the shocks detected by the shock detection unit. Specifically, the control unit may be configured to temporarily change the image quality of the image data from the first quality to the second quality on condition that an impact is detected. According to this example, it is possible to record a high-quality photographed image when an impact occurs while suppressing the amount of image recording while the vehicle is parked, and it is possible to meaningfully record a surveillance image around the vehicle.

制御ユニットは、所定条件を満足する映像変化の発生を条件に、映像データの映像品質を第二の品質に変更した後、映像データの映像品質を一定時間、第二の品質に維持し、一定時間が経過した後、映像データの映像品質を第一の品質に戻すように動作し、一定時間が経過する前に衝撃が検知された場合には、映像データの映像品質を第二の品質に維持する時間を延長するように構成されてもよい。 The control unit changes the image quality of the image data to the second quality on the condition that an image change that satisfies a predetermined condition occurs, and then maintains the image quality of the image data at the second quality for a certain period of time. After the elapse of time, the image quality of the image data is returned to the first quality, and if an impact is detected before the elapse of a certain period of time, the image quality of the image data is returned to the second quality. It may be configured to extend the duration of maintenance.

本開示の一側面によれば、記憶ユニットは、第一の領域と第二の領域とを有していてもよい。制御ユニットは、生成ユニットにより生成された映像データの内、衝撃検知ユニットにより検知された衝撃に関連する期間の撮影映像を表す映像データを、第一の領域に格納し、その他の映像データを、第二の領域に格納するように構成されてもよい。この方式によれば、重要度の高い映像を、重要度の低い映像と区別して記録することができる。従って、例えば重要度の低い映像データが原因で、重要度の高い映像データの保存が阻害されるのを抑制することができ、又、重要度の高い映像データへのアクセスが容易になる。 According to one aspect of the present disclosure, a storage unit may have a first area and a second area. The control unit stores, among the image data generated by the generation unit, image data representing a captured image of a period related to the impact detected by the impact detection unit in the first area, and stores other image data in the first area. It may be configured to store in a second area. According to this method, videos of high importance can be recorded separately from videos of low importance. Therefore, it is possible to prevent the storage of high-importance video data from being hindered by, for example, low-importance video data, and to facilitate access to high-importance video data.

制御ユニットは、生成ユニットにより生成された映像データの内、衝撃が検知されたことを条件に第二の品質で生成された映像データと、その映像の撮影期間より前の所定条件を満足する映像変化の発生時点から上記撮影期間の始点までの撮影映像を表す映像データの少なくとも一部とを、衝撃に関連する期間の撮影映像を表す映像データとして、第一の領域に格納するように構成されてもよい。この方式によれば、衝撃が発生する前の衝撃に関連する行為の映像が含まれ得る映像データを、第一の領域に適切に保存可能である。 The control unit generates, among the video data generated by the generation unit, the video data generated with the second quality on the condition that the impact is detected, and the video that satisfies the predetermined condition before the shooting period of the video. and at least part of the video data representing the captured video from the time of occurrence of the change to the start point of the shooting period, as video data representing the captured video during the period related to the impact, in the first area. may According to this method, it is possible to appropriately store in the first area image data that may include images of actions related to the impact before the impact occurs.

映像記録装置は、上述のカメラを備えていてもよい。映像記録装置は、車両前方を撮影するカメラを備え、ドライブレコーダとして機能するように構成されてもよい。映像記録装置としての機能は、車両前方を撮影するカメラを備えるドライブレコーダに組み込まれてもよい。 The video recording device may comprise a camera as described above. The video recording device may include a camera that captures an image in front of the vehicle and may be configured to function as a drive recorder. The function as a video recording device may be incorporated in a drive recorder equipped with a camera that captures images in front of the vehicle.

ドライブレコーダの構成を表すブロック図である。It is a block diagram showing the structure of a drive recorder. 映像解析部が実行する映像変化検出処理を表すフローチャートである。4 is a flowchart showing video change detection processing executed by a video analysis unit; フレーム内の分割された領域を表す図である。FIG. 4 is a diagram showing divided regions within a frame; 映像記録部が実行するモード切替処理を表すフローチャートである。4 is a flowchart showing mode switching processing executed by a video recording unit; 映像記録部が実行する書込制御処理を表すフローチャートである。4 is a flowchart showing write control processing executed by a video recording unit; 図6A-6Cは、モード切替態様及び書込領域を説明した図である。6A-6C are diagrams illustrating mode switching manners and write areas.

以下に本開示の例示的実施形態を、図面を参照しながら説明する。
図1に示す本実施形態のドライブレコーダ1は、車室内に固定され、フロントガラスを通じて車両周囲、特に車両前方を撮影可能に配置される。このドライブレコーダ1は、カメラ10と、加速度センサ20と、制御デバイス30と、カードスロット40と、メモリカード50と、内部時計60と、ユーザインタフェース70と、ワークメモリ80とを備える。
Exemplary embodiments of the present disclosure are described below with reference to the drawings.
A drive recorder 1 according to the present embodiment shown in FIG. 1 is fixed in a vehicle interior and arranged so as to be able to photograph the surroundings of the vehicle, especially the front of the vehicle through the windshield. This drive recorder 1 includes a camera 10 , an acceleration sensor 20 , a control device 30 , a card slot 40 , a memory card 50 , an internal clock 60 , a user interface 70 and a work memory 80 .

カメラ10は、車両前方を撮影して、その撮影映像を表す映像信号を制御デバイス30に入力するように構成される。加速度センサ20は、ドライブレコーダ1の加速度を検出し、その検出値を表す加速度信号を制御デバイス30に入力するように構成される。加速度センサ20は、例えば三軸加速度センサ20であり、車両前後、左右、上下方向の加速度を検出可能に配置される。 The camera 10 is configured to capture an image in front of the vehicle and input a video signal representing the captured image to the control device 30 . The acceleration sensor 20 is configured to detect acceleration of the drive recorder 1 and input an acceleration signal representing the detected value to the control device 30 . The acceleration sensor 20 is, for example, a three-axis acceleration sensor 20, and is arranged so as to detect acceleration in the longitudinal, lateral, and vertical directions of the vehicle.

制御デバイス30は、カメラ10からの映像信号に基づき、車両前方の撮影映像を表す記録用の映像データを生成し、生成した映像データを、カードスロット40に装着されたメモリカード50に記録するように構成される。メモリカード50に記録されるまでの映像データは、一時的にワークメモリ80に格納される。メモリカード50は、カードの外形を有する小型のフラッシュメモリであり、メモリカード50の例には、SDカード(登録商標)が含まれる。メモリカード50は、映像データを保存するために用意され、カードスロット40に装着される。 Based on the video signal from the camera 10, the control device 30 generates video data for recording representing a photographed video in front of the vehicle, and records the generated video data in the memory card 50 attached to the card slot 40. configured to Video data is temporarily stored in the work memory 80 until it is recorded in the memory card 50 . The memory card 50 is a small flash memory having the shape of a card, and an example of the memory card 50 includes an SD card (registered trademark). A memory card 50 is prepared to store video data and is loaded into the card slot 40 .

ユーザインタフェース70は、ユーザ操作を受け付けるためのキースイッチ、及び、ユーザに対する案内音声及び通知音を出力するためのスピーカを備える。制御デバイス30は、キースイッチからの入力信号に基づきユーザからの指示に従う動作を実行し、スピーカを通じてユーザに対する案内音声及び通知音を出力するように構成される。 The user interface 70 includes key switches for accepting user operations, and speakers for outputting guidance voices and notification sounds to the user. The control device 30 is configured to perform an operation according to an instruction from a user based on an input signal from a key switch, and output guidance voice and notification sound to the user through a speaker.

図1に示すように制御デバイス30は、データ処理部31と、衝撃検知部35と、映像記録部37とを備える。制御デバイス30は、データ処理部31、衝撃検知部35、及び映像記録部37を専用回路として有した構成にされてもよいし、データ処理部31、衝撃検知部35、及び映像記録部37としての機能を、汎用プロセッサによるプログラムの実行によりソフトウェア的に実現するように構成されてもよい。データ処理部31、衝撃検知部35、及び映像記録部37は、ハードウェア及びソフトウェアの組合せにより実現され得る。 As shown in FIG. 1, the control device 30 includes a data processing section 31, an impact detection section 35, and a video recording section 37. As shown in FIG. The control device 30 may include the data processing unit 31, the impact detection unit 35, and the video recording unit 37 as dedicated circuits, or the data processing unit 31, the impact detection unit 35, and the video recording unit 37. may be configured to be realized in software by executing a program by a general-purpose processor. The data processing unit 31, impact detection unit 35, and video recording unit 37 can be realized by a combination of hardware and software.

データ処理部31は、カメラ10からの映像信号を圧縮して、記録用の映像データを生成する一方、カメラ10の撮影映像を解析して、映像に写る動体を検出するように構成される。 The data processing unit 31 compresses the video signal from the camera 10 to generate video data for recording, and analyzes the video captured by the camera 10 to detect a moving object in the video.

具体的に、データ処理部31は、符号化部32と、映像解析部33とを備える。符号化部32は、カメラ10からの映像信号を、所定の圧縮形式で符号化して、圧縮された記録用の映像データを生成するように構成される。本実施形態によれば、符号化部32により生成される映像データの圧縮率及びフレームレートは、映像記録部37により切り替えられる。 Specifically, the data processing section 31 includes an encoding section 32 and a video analysis section 33 . The encoding unit 32 is configured to encode the video signal from the camera 10 in a predetermined compression format to generate compressed video data for recording. According to this embodiment, the compression rate and frame rate of the video data generated by the encoding unit 32 are switched by the video recording unit 37 .

本実施形態によれば、メモリカード50に記録される映像データの量を抑制するために、重要度の低い映像データは、高圧縮及び低フレームレートの低い映像品質を有する、時間当たりのデータ量の少ない映像データとして生成され、重要度の高い映像データは、重要度の低い映像データよりも低圧縮及び高フレームレートの高い映像品質を有する、時間当たりのデータ量が多い映像データとして生成される。この重要度の高低を判別するために、映像解析部33では、カメラ10の撮影映像が解析され、衝撃検知部35では、衝撃が検知される。 According to this embodiment, in order to reduce the amount of video data recorded on the memory card 50, less important video data has a lower video quality with high compression and a low frame rate. is generated as video data with less importance, and video data with high importance is generated as video data with a large amount of data per hour, which has higher video quality with lower compression and a higher frame rate than video data with lower importance. . In order to determine whether the degree of importance is high or low, the video analysis unit 33 analyzes the video captured by the camera 10, and the impact detection unit 35 detects the impact.

映像解析部33は、カメラ10からの映像信号を参照して、所定条件を満足する映像変化を検出することにより、映像に写る動体を検出するように構成される。映像に写る動体を検出するための映像変化の検出技術としては、様々な技術が知られている。映像解析部33は、この技術を用いて、映像に写る動体を検出することができる。 The video analysis unit 33 is configured to detect a moving object in the video by referring to the video signal from the camera 10 and detecting a video change that satisfies a predetermined condition. Various techniques are known as image change detection techniques for detecting a moving object appearing in an image. The video analysis unit 33 can detect a moving object appearing in the video using this technique.

例えば、映像解析部33は、時系列に従うフレーム間の輝度分布に関する相関係数Rを算出することにより、映像に写る動体を検出することができる。具体的に映像解析部33は、新しいフレームの映像信号が入力される度に、図2に示す映像変化検出処理を実行することができる。 For example, the video analysis unit 33 can detect a moving object appearing in the video by calculating the correlation coefficient R regarding the luminance distribution between frames in time series. Specifically, the video analysis unit 33 can execute the video change detection process shown in FIG. 2 each time a video signal of a new frame is input.

映像変化検出処理において、映像解析部33は、最新フレーム内の、分割された4つの領域R1-R4の一つを所定規則に従って選択する(S110)。フレーム内の4つの領域は、図3に示される。所定規則は、図3において矢印で示すように、領域R1、領域R2、領域R3、領域R4、領域R1、領域R2、領域R3、領域R4といった具合に、ローテーションで領域R1-R4を順に繰返し選択する規則に対応する。一つのフレームに対しては、一つの領域のみが選択される。 In the video change detection process, the video analysis unit 33 selects one of the four divided regions R1 to R4 in the latest frame according to a predetermined rule (S110). The four regions within the frame are shown in FIG. As indicated by the arrows in FIG. 3, the predetermined rule is to repeatedly select the regions R1 to R4 in order, such as region R1, region R2, region R3, region R4, region R1, region R2, region R3, region R4. Corresponds to the rule that Only one region is selected for one frame.

S110において、領域R1-R4の一つを選択すると、映像解析部33は、選択した領域の輝度分布を評価する(S120)。本実施形態では、撮影映像がYCaCb色空間で表される。映像解析部33は、輝度分布の評価値として、選択領域における各画素の輝度値Yの平均値YAを算出し、更に、各画素の輝度値Yと平均値YAとの差分(Y-YA)を算出し、更には、選択領域における輝度Yの分散Dを算出する。 After selecting one of the regions R1 to R4 in S110, the video analysis unit 33 evaluates the luminance distribution of the selected region (S120). In this embodiment, the captured image is expressed in the YCaCb color space. The video analysis unit 33 calculates the average value YA of the luminance value Y of each pixel in the selected region as the luminance distribution evaluation value, and further calculates the difference (Y−YA) between the luminance value Y of each pixel and the average value YA. is calculated, and furthermore, the variance D of the brightness Y in the selected region is calculated.

その後、映像解析部33は、S120で算出された評価値と、同領域について算出された前フレーム(具体的には4つ前のフレーム)の評価値と、に基づいて、選択領域に関して、非線形な映像変化のレベルを評価する(S130)。具体的に、映像解析部33は、映像変化のレベルとして、最新フレームの輝度分布と前フレームの輝度分布との間の相関係数Rを算出することができる。相関係数Rは、周知のように、最新フレームと前フレームとの間の輝度値Yに関する共分散、最新フレームの輝度値Yの分散、及び、前フレームの輝度値Yの分散を用いて算出することができる。 After that, the video analysis unit 33 performs a non-linear image analysis with respect to the selected region based on the evaluation value calculated in S120 and the evaluation value of the previous frame (specifically, the frame four frames before) calculated for the same region. The level of video change is evaluated (S130). Specifically, the video analysis unit 33 can calculate the correlation coefficient R between the luminance distribution of the latest frame and the luminance distribution of the previous frame as the level of video change. As is well known, the correlation coefficient R is calculated using the covariance of the brightness value Y between the latest frame and the previous frame, the variance of the brightness value Y of the latest frame, and the variance of the brightness value Y of the previous frame. can do.

その後、映像解析部33は、S130で評価した映像変化のレベル、具体的には相関係数Rと、閾値との比較により、映像変化が大きいか否かを判断する(S140)。周知のように相関係数Rは、2フレーム間の輝度分布の線形性が強い場合に、高い値を示し、非線形性が強い場合に、低い値を示す。輝度分布の非線形性は、対応する映像内に動体が存在することを暗示する。 After that, the image analysis unit 33 determines whether or not the image change is large by comparing the level of the image change evaluated in S130, specifically the correlation coefficient R, with a threshold value (S140). As is well known, the correlation coefficient R indicates a high value when the linearity of the luminance distribution between two frames is strong, and indicates a low value when the nonlinearity is strong. The non-linearity of the luminance distribution implies the presence of moving objects in the corresponding images.

従って、映像解析部33は、相関係数Rが閾値未満であるとき、映像変化が大きいと判断し(S140でYes)、相関係数Rが閾値以上であるとき、映像変化が小さいと判断する(S140でNo)。映像解析部33は、このように映像変化が大きいと判断したとき、映像変化の発生フラグをオンにし(S150)、映像変化が小さいと判断したとき、映像変化の発生フラグをオフにする(S160)。この映像変化の発生フラグは、映像解析部33による撮影映像の解析結果として、映像記録部37により参照される。 Therefore, when the correlation coefficient R is less than the threshold value, the image analysis unit 33 determines that the image change is large (Yes in S140), and when the correlation coefficient R is the threshold value or more, the image analysis unit 33 determines that the image change is small. (No in S140). When the image analysis unit 33 determines that the image change is large in this way, it turns on the image change occurrence flag (S150), and when it determines that the image change is small, it turns off the image change occurrence flag (S160). ). The image change occurrence flag is referred to by the image recording unit 37 as an analysis result of the captured image by the image analysis unit 33 .

映像解析部33は、上述したS110-S160の処理を繰返し実行することにより、最新フレームの映像信号の入力毎に、最新フレーム内の一部領域についての映像変化を評価する。 The image analysis unit 33 repeatedly executes the above-described processing of S110 to S160 to evaluate the image change in a partial area within the latest frame for each input of the image signal of the latest frame.

また、衝撃検知部35は、加速度センサ20からの加速度信号に基づき、ドライブレコーダ1に衝撃が発生したか否かを判断し、衝撃の発生フラグをオン/オフするように構成するように構成される。ドライブレコーダ1の衝撃は、基本的には、車両に作用する衝撃に対応する。この衝撃の発生フラグは、衝撃検知部35による衝撃の検知結果として、映像記録部37により参照される。 Further, the impact detection unit 35 is configured to determine whether or not an impact has occurred to the drive recorder 1 based on the acceleration signal from the acceleration sensor 20, and to turn on/off an impact occurrence flag. be. The impact of the drive recorder 1 basically corresponds to the impact acting on the vehicle. The impact generation flag is referred to by the video recording unit 37 as the impact detection result of the impact detection unit 35 .

具体的に、衝撃検知部35は、加速度信号が示す加速度の絶対値が予め定められた閾値以上であるとき、衝撃が発生したことを検知して、衝撃の発生フラグをオンにセットし、それ以外の場合には、衝撃の発生フラグをオフにリセットすることができる。 Specifically, when the absolute value of the acceleration indicated by the acceleration signal is equal to or greater than a predetermined threshold value, the impact detection unit 35 detects that an impact has occurred, sets the impact occurrence flag to ON, and detects the occurrence of the impact. Otherwise, the impact occurrence flag can be reset to off.

映像記録部37は、この衝撃の発生フラグを参照して、衝撃検知部35により衝撃が検知されたことを判別し、上記映像変化の発生フラグを参照して、所定条件を満足する映像変化が発生したことを判別し、衝撃及び映像変化の発生状況により、符号化部32により生成される映像データの圧縮率及びフレームレートを制御する。 The image recording unit 37 refers to the impact occurrence flag to determine that an impact has been detected by the impact detection unit 35, and refers to the image change occurrence flag to detect an image change that satisfies a predetermined condition. The occurrence is determined, and the compression rate and frame rate of the video data generated by the encoding unit 32 are controlled according to the occurrence of impact and video change.

本実施形態のドライブレコーダ1は、駐車時の周辺監視機能を有する。この周辺監視機能は、駐車中において、カメラ10による撮影映像を、再生可能な映像データとしてメモリカード50に保存することにより実現される。車両には、ドライブレコーダ1が周辺監視機能を有することを示すステッカー等を貼り付けることにより、周辺監視機能の存在をアピールし、犯罪抑止に役立てることができる。 The drive recorder 1 of this embodiment has a function of monitoring surroundings during parking. This perimeter monitoring function is realized by storing the image captured by the camera 10 in the memory card 50 as reproducible image data while the vehicle is parked. By attaching a sticker or the like to the vehicle indicating that the drive recorder 1 has a surroundings monitoring function, the presence of the surroundings monitoring function can be appealed and used to deter crime.

但し、通常の駐車時間は、車両が運転される時間よりもかなり長く、駐車中に常時、低圧縮及び高フレームレートの高品質な映像データをメモリカード50に保存することは、メモリカード50の記憶容量の関係から難しい。 However, the normal parking time is much longer than the time the vehicle is driven, and it is difficult to store high-quality video data with low compression and high frame rate in the memory card 50 while the vehicle is parked. It is difficult because of memory capacity.

仮に、高品質な映像データを駐車中に常時生成し、これをメモリカード50に書き込めば、メモリカード50の記憶容量がすぐ足りなくなり、映像データを保存できなくなる、又は、古い映像データに上書きするように新しい映像データをメモリカード50に書き込む必要が生じる。この場合、駐車中における重要度の高い映像データ、特には駐車中に発生した盗難や当て逃げ等の行為が写る映像データを適切に保存できない可能性が高まる。 If high-quality video data is constantly generated while the vehicle is parked and written to the memory card 50, the memory capacity of the memory card 50 will soon run out, making it impossible to store the video data or overwriting the old video data. It becomes necessary to write new video data to the memory card 50 like this. In this case, there is a high possibility that video data of high importance during parking, especially video data showing acts such as theft and hit-and-run that occur while parking, cannot be properly stored.

本実施形態では、このような駐車中における映像データのメモリカード50への記録を適切に行うために、映像記録部37が、駐車中に符号化部32により生成される映像データの圧縮率及びフレームレートを制御する。具体的には、映像記録部37が、符号化部32の動作モードを、高圧縮及び低フレームレートで映像データが生成される通常モードから、必要に応じて一時的に、低圧縮及び高フレームレートで映像データが生成される高品質モードに切り替えるように動作する。 In the present embodiment, in order to appropriately record such video data to the memory card 50 while parking, the video recording unit 37 controls the compression ratio and Control frame rate. Specifically, the video recording unit 37 changes the operation mode of the encoding unit 32 from a normal mode in which video data is generated with high compression and a low frame rate to a low compression and high frame rate mode temporarily as necessary. It operates to switch to a high quality mode where video data is generated at a rate.

映像記録部37は、駐車中に図4に示すモード切替処理を繰返し実行すると共に、それと並行して図5示す書込制御処理を繰返し実行するように構成される。ドライブレコーダ1には、車両からの駐車信号が入力されるように配線が施されており、映像記録部37は、この駐車信号に従って車両が駐車中であるか否かを判別し、駐車中には、図4及び図5に示す処理を繰返し実行する。 The video recording unit 37 is configured to repeatedly execute the mode switching process shown in FIG. 4 while the vehicle is parked, and to repeatedly execute the writing control process shown in FIG. The drive recorder 1 is wired so as to receive a parking signal from the vehicle. The video recording unit 37 determines whether the vehicle is parked according to the parking signal, and determines whether the vehicle is parked. repeats the processes shown in FIGS.

映像記録部37は、駐車中において図4に示すモード切替処理を開始すると、符号化部32が通常モードに設定されているか否かを判断する(S210)。駐車中における符号化部32の動作モードには、上述した通り、通常モードと高品質モードとが含まれる。駐車開始と共に作動する周辺監視機能の開始時の動作モードは、通常モードである。通常モードは、高圧縮及び低フレームレートで符号化部32が記録用の映像データを生成する動作モードである。高品質モードは、低圧縮及び高フレームレートで符号化部32が記録用の映像データを生成する動作モードである。各モードの圧縮率及びフレームレートは、予め設計段階で定められる。 When the video recording unit 37 starts the mode switching process shown in FIG. 4 while the vehicle is parked, the video recording unit 37 determines whether or not the encoding unit 32 is set to the normal mode (S210). The operation modes of the encoding unit 32 during parking include the normal mode and the high quality mode, as described above. The operation mode at the start of the perimeter monitoring function that operates with the start of parking is the normal mode. The normal mode is an operation mode in which the encoding unit 32 generates video data for recording with high compression and a low frame rate. The high quality mode is an operation mode in which the encoding unit 32 generates video data for recording with low compression and a high frame rate. The compression rate and frame rate of each mode are determined in advance at the design stage.

映像記録部37は、動作モードが通常モードであると判断すると(S210でYes)、S220に移行し、動作モードが高品質モードであると判断すると(S210でNo)、S250に移行する。 When the video recording unit 37 determines that the operation mode is the normal mode (Yes at S210), it proceeds to S220, and when it determines that the operation mode is the high quality mode (No at S210), it proceeds to S250.

S220において、映像記録部37は、映像解析部33における映像変化の発生フラグを参照することにより、所定条件を満足する映像変化が発生したか否かを判断する。映像変化が発生したと判断すると(S220でYes)、S240に移行し、符号化部32の動作モードを高品質モードに設定する。 In S<b>220 , the video recording unit 37 refers to the video change occurrence flag in the video analysis unit 33 to determine whether or not a video change that satisfies a predetermined condition has occurred. If it is determined that a video change has occurred (Yes at S220), the process proceeds to S240 and sets the operation mode of the encoding unit 32 to the high quality mode.

映像変化が発生していないと判断すると(S220でNo)、映像記録部37は、衝撃検知部35における衝撃の発生フラグを参照することにより、衝撃が発生したか否かを判断する(S230)。そして、衝撃が発生したと判断すると(S230でYes)、S240に移行して、符号化部32の動作モードを高品質モードに設定する。 If it is determined that no image change has occurred (No in S220), the image recording unit 37 refers to the impact occurrence flag in the impact detection unit 35 to determine whether or not an impact has occurred (S230). . When it is determined that an impact has occurred (Yes in S230), the process proceeds to S240 and sets the operation mode of the encoding unit 32 to the high quality mode.

即ち、映像記録部37は、符号化部32の動作モードが通常モードにあるときに、所定条件を満足する映像変化が発生するか、衝撃が発生すると、その動作モードを高品質モードに切り替える(S240)。その後、映像記録部37は、高品質モードから通常モードへの切替タイミングを設定する(S245)。例えば、映像記録部37は、通常モードへの切替タイミングを現在から所定時間TA後に設定する。所定時間TAの例には、1分が含まれる。映像記録部37は、カウントダウンタイマの値を所定時間TAに対応する値に設定することで、切替タイミングを設定するように動作し得る。切替タイミングの設定を終えると、映像記録部37は、モード切替処理を一旦終了する。 That is, when the operation mode of the encoding unit 32 is in the normal mode, the image recording unit 37 switches the operation mode to the high quality mode when an image change satisfying a predetermined condition occurs or when an impact occurs ( S240). After that, the video recording unit 37 sets the switching timing from the high quality mode to the normal mode (S245). For example, the video recording unit 37 sets the switching timing to the normal mode to a predetermined time TA from now. An example of the predetermined time TA includes 1 minute. The video recording unit 37 can operate to set the switching timing by setting the value of the countdown timer to a value corresponding to the predetermined time TA. After setting the switching timing, the video recording unit 37 temporarily terminates the mode switching process.

映像記録部37は、通常モードにおいて、映像変化及び衝撃のいずれも発生していない場合(S220でNo及びS230でNo)、符号化部32の動作モードを通常モードに維持して、モード切替処理を一旦終了する。 In the normal mode, if neither image change nor impact has occurred (No in S220 and No in S230), the video recording unit 37 maintains the operation mode of the encoding unit 32 in the normal mode, and performs mode switching processing. is terminated once.

映像記録部37は、符号化部32の動作モードが高品質モードにあることで、S250に移行すると、衝撃検知部35における衝撃の発生フラグを参照することにより、衝撃が新たに発生したか否かを判断する。ここで否定判断すると(S250でNo)、映像記録部37は、S260に移行する。 Since the operation mode of the encoding unit 32 is in the high quality mode, the video recording unit 37 refers to the impact generation flag in the impact detection unit 35 to determine whether or not a new impact has occurred when the process proceeds to S250. to judge whether If a negative determination is made here (No in S250), the video recording unit 37 proceeds to S260.

一方、映像記録部37は、衝撃が新たに発生したと判断すると(S250でYes)、通常モードへの切替タイミングを延長するための処理を実行し(S255)、その後S260に移行する。 On the other hand, when the video recording unit 37 determines that a new impact has occurred (Yes in S250), it executes processing for extending the switching timing to the normal mode (S255), and then proceeds to S260.

第一例によれば、映像記録部37は、S255において、カウントダウンタイマの値を所定時間TBに対応する値増やすように更新することで、切替タイミングを所定時間TB遅らせるための処理を実行することができる。所定時間TBは、上述した所定時間TAと同じ1分であり得る。 According to the first example, in S255, the video recording unit 37 executes processing for delaying the switching timing by a predetermined time TB by updating the value of the countdown timer to a value corresponding to the predetermined time TB. can be done. The predetermined time TB may be 1 minute, which is the same as the predetermined time TA described above.

第二例によれば、映像記録部37は、S255において、時間経過と共にデクリメントされるカウントダウンタイマの値を、S245での設定値(所定時間TAに対応する値)に戻すことによって、通常モードへの切替タイミングを現在から所定時間TA後に延長することができる。 According to the second example, in S255, the video recording unit 37 returns the value of the countdown timer that is decremented with the passage of time to the value set in S245 (the value corresponding to the predetermined time TA), thereby returning to the normal mode. can be extended from the present to a predetermined time TA later.

付言すると、映像記録部37は、高品質モード中に発生した最初の衝撃についてのみ、S250で肯定判断し、二回目以降の衝撃についてはS250で否定判断して、S255の処理を衝撃の発生の度に繰返し実行しないように構成されてもよい。 In addition, the video recording unit 37 makes an affirmative determination in S250 only for the first impact that occurred during the high-quality mode, makes a negative determination in S250 for the second and subsequent impacts, and performs the processing of S255 to determine whether the impact occurred. It may be configured not to repeat every time.

S260に移行すると、映像記録部37は、通常モードへの切替タイミングが到来したか否かを判断する。例えば、カウントダウンタイマの値がゼロに到達したか否かを判断する。そして、切替タイミングが到来したと判断すると(S260でYes)、映像記録部37は、映像解析部33における映像変化の発生フラグを参照することで、所定条件を満足する映像変化が現時点において発生しているか否かを判断する(S270)。 After shifting to S260, the video recording unit 37 determines whether or not the timing for switching to the normal mode has arrived. For example, it determines whether the countdown timer value has reached zero. When it is determined that the switching timing has arrived (Yes in S260), the video recording unit 37 refers to the video change occurrence flag in the video analysis unit 33 to determine whether a video change that satisfies a predetermined condition has occurred at the present time. (S270).

映像変化が発生していないと判断すると(S270でNo)、映像記録部37は、S280に移行し、符号化部32の動作モードを通常モードに戻す。その後、映像記録部37は、モード切替処理を一旦終了する。一方、映像変化が発生していると判断すると(S270でYes)、映像記録部37は、切替タイミングを延長するための処理を、S255での処理と同様に実行した後(S290)、モード切替処理を一旦終了する。 If it is determined that no video change has occurred (No in S270), the video recording section 37 proceeds to S280 and returns the operation mode of the encoding section 32 to the normal mode. After that, the video recording unit 37 once terminates the mode switching process. On the other hand, if it is determined that an image change has occurred (Yes in S270), the image recording unit 37 executes the processing for extending the switching timing in the same manner as the processing in S255 (S290). Terminate the process once.

映像記録部37は、このようにモード切替処理を実行することにより、例えば駐車中に所定条件を満足する映像変化が生じた場合には、図6A及び図6Cに示すように、符号化部32の動作モードを、通常モードから高品質モードに変更し、所定時間TAの経過後に、動作モードを通常モードに変更する。これにより、映像記録部37は、映像変化を条件に、符号化部32の動作モードを一時的に高品質モードに変更し、符号化部32により高品質な映像データが生成されるようにする。同様に、映像記録部37は、図6Cに示すように、駐車中に衝撃が検知された場合、符号化部32の動作モードを、通常モードから高品質モードに一時的に変更して、符号化部32により高品質な映像データが生成されるようにする。 By executing the mode switching process in this manner, the image recording unit 37, for example, when an image change that satisfies a predetermined condition occurs during parking, the encoding unit 32 changes the is changed from the normal mode to the high quality mode, and after a predetermined time TA has passed, the operation mode is changed to the normal mode. As a result, the video recording unit 37 temporarily changes the operation mode of the encoding unit 32 to the high-quality mode on the condition that the video changes, so that the encoding unit 32 generates high-quality video data. . Similarly, as shown in FIG. 6C, when an impact is detected during parking, the video recording unit 37 temporarily changes the operation mode of the encoding unit 32 from the normal mode to the high-quality mode, The conversion unit 32 is configured to generate high-quality video data.

また、図6Bに示すように符号化部32が映像変化により高品質モードでの動作を開始した後、所定時間TAが経過する前に衝撃が検知された場合、映像記録部37は、高品質モードを所定時間TB延長するように動作する。 Further, as shown in FIG. 6B, after the encoding unit 32 starts operating in the high-quality mode due to a video change, if an impact is detected before the predetermined time TA elapses, the video recording unit 37 selects the high-quality mode. It operates to extend the mode for a predetermined time TB.

映像記録部37は、モード切替処理と並列に実行する書込制御処理において、符号化部32により生成された映像データを、次のようにメモリカード50に書き込む。図5に示す書込制御処理を開始すると、映像記録部37は、衝撃検知部35における衝撃の発生フラグを参照して、衝撃が発生したか否かを判断する(S310)。そして、衝撃が発生していないと判断すると(S310でNo)、S320に移行し、衝撃が発生したと判断すると(S310でYes)、イベントフラグをオンに設定した後(S315)、S320に移行する。イベントフラグは、周辺監視機能の開始時にオフに初期化される。 The video recording unit 37 writes the video data generated by the encoding unit 32 to the memory card 50 in the write control process executed in parallel with the mode switching process as follows. When the writing control process shown in FIG. 5 is started, the video recording unit 37 refers to the impact occurrence flag in the impact detection unit 35 to determine whether or not an impact has occurred (S310). When it is determined that an impact has not occurred (No in S310), the process proceeds to S320, and when it is determined that an impact has occurred (Yes in S310), the event flag is set to ON (S315), and the process proceeds to S320. do. The event flag is initialized off at the start of the perimeter watch function.

S320において、映像記録部37は、符号化部32の動作モードが通常モードであるか否かを判断する。そして、高品質モードであると判断すると(S320でNo)、当該書込制御処理を一旦終了する。一方、符号化部32の動作モードが通常モードであると判断すると(S320でYes)、映像記録部37は、符号化部32の動作モードが高品質モードから通常モードに切り替わってから一定時間が経過したか否かを判断する(S330)。そして、一定時間が経過していないと判断すると(S330でNo)、書込制御処理を一旦終了する。 In S320, the video recording unit 37 determines whether or not the operation mode of the encoding unit 32 is the normal mode. Then, when it is determined that the mode is the high quality mode (No in S320), the write control process is terminated. On the other hand, if it is determined that the operation mode of the encoding unit 32 is the normal mode (Yes in S320), the video recording unit 37 waits for a certain period of time after the operation mode of the encoding unit 32 switches from the high quality mode to the normal mode. It is determined whether or not it has passed (S330). When it is determined that the predetermined time has not elapsed (No in S330), the write control process is once terminated.

映像記録部37は、S330において一定時間が経過したと判断すると(S330でYes)、上記一定時間の経過直後であるか否かを判断する(S340)。そして、符号化部32の動作モードが通常モードに切り替わってから一定時間が経過した直後であると判断すると(S340でYes)、映像記録部37は、S350に移行し、直後ではないと判断すると(S340でNo)、S380に移行する。 When the video recording unit 37 determines that the predetermined time has passed in S330 (Yes in S330), it determines whether or not the predetermined time has passed (S340). Then, if it is determined that a certain period of time has just elapsed since the operation mode of the encoding unit 32 was switched to the normal mode (Yes in S340), the video recording unit 37 proceeds to S350, and if it determines that it is not immediately after (No in S340), the process proceeds to S380.

S350において、映像記録部37は、イベントフラグがオンに設定されているか否かを判断する。そして、イベントフラグがオンに設定されていると判断すると(S350でYes)、当該一定時間前に終了した高品質モードの終了時点を終端とする高品質モードの連続動作期間を特定し、特定した連続動作期間の始点から終端までの撮影映像を表す映像データを、一つの録画ファイルとして、メモリカード50内の予め用意されたイベント領域に書き込む(S360)。 In S350, the video recording unit 37 determines whether or not the event flag is set to ON. Then, when it is determined that the event flag is set to ON (Yes in S350), the continuous operation period of the high quality mode ending at the end point of the high quality mode which ended before the certain period of time is specified and specified. The video data representing the captured video from the start point to the end of the continuous operation period is written as one recording file in the event area prepared in advance in the memory card 50 (S360).

ここでいう連続動作期間は、高品質モードでの動作期間が一つ以上存在する期間であって、隣接する高品質モードでの動作期間の間にある通常モードでの動作期間が所定時間TC未満である期間である。所定時間TCは、例えば、上述の所定時間TA,TBと同じ1分であり得る。 The continuous operation period referred to here is a period in which one or more operation periods exist in the high-quality mode, and the operation period in the normal mode between adjacent operation periods in the high-quality mode is less than a predetermined time TC. is the period. Predetermined time TC may be, for example, one minute, which is the same as predetermined times TA and TB described above.

一例によれば、連続動作期間は、その始点から終端まで継続的に符号化部32が高品質モードで動作した期間に対応する。
一例によれば、連続動作期間は、その始点が通常モードから高品質モードへの切替時点であり、その終端が高品質モードから通常モードへの切替時点であるが、始点から終端までに、高品質モードの動作期間を二つ以上含み、所定時間TC未満の通常モードの動作期間を、高品質モードの動作期間より一つ少ない数含む期間である。この場合、一つの録画ファイル内には、連続動作期間における撮影映像に対応する、低品質及び高品質の映像データが含まれる。
According to one example, the continuous operation period corresponds to a period during which the encoder 32 continuously operates in the high quality mode from its beginning to its end.
According to one example, the period of continuous operation, whose starting point is the time of switching from normal mode to high quality mode and whose end is the time of switching from high quality mode to normal mode, has a period of high This is a period that includes two or more quality mode operation periods and includes normal mode operation periods that are less than the predetermined time TC, one less than the high quality mode operation period. In this case, one recording file contains low-quality and high-quality video data corresponding to the captured video during the continuous operation period.

図6Cに示すように、映像変化に起因して符号化部32が高品質モードで動作し、その後一旦、符号化部32が通常モードで動作したが、すぐに衝撃が発生して符号化部32が再び高品質モードで動作した場合には、映像変化に起因する高品質モードの動作期間の始点から、衝撃に起因する高品質モードの動作期間の終端までの間に、通常モードの動作期間が含まれる。S360では、この通常モードの動作期間を含む連続動作期間における映像データの全てが一つの録画ファイルとしてイベント領域に書き込まれる。 As shown in FIG. 6C, the encoding unit 32 operates in the high quality mode due to the video change, and then the encoding unit 32 temporarily operates in the normal mode. 32 operates in the high-quality mode again, the period of operation in the normal mode extends from the beginning of the period of operation in the high-quality mode caused by the video change to the end of the period of operation in the high-quality mode caused by the shock. is included. At S360, all the video data in the continuous operation period including the normal mode operation period are written in the event area as one recording file.

なお、S360でイベント領域に一つの録画ファイルとして書き込まれる映像データに対応する連続動作期間には、衝撃の発生に起因して符号化部32が高品質モードで動作した期間が必ず含まれる。 Note that the continuous operation period corresponding to the video data written as one recording file in the event area in S360 always includes a period during which the encoding unit 32 operates in the high quality mode due to the impact.

映像記録部37は、S360での処理を終えると、イベントフラグをオフに設定した後(S365)、書込制御処理を一旦終了する。
一方、映像記録部37は、S350でイベントフラグがオフに設定されていると判断すると(S350でNo)、一定時間前に終了した高品質モードの終了時点を終端とする高品質モードでの連続動作期間を特定し、特定した連続動作期間の始点から終端までの撮影映像を表す映像データを、一つの録画ファイルとして、メモリカード50内の予め用意された非イベント領域に書き込む(S370)。その後、映像記録部37は、書込制御処理を一旦終了する。
After completing the processing in S360, the video recording unit 37 sets the event flag to OFF (S365), and then temporarily terminates the writing control processing.
On the other hand, if the video recording unit 37 determines that the event flag is set to OFF in S350 (No in S350), the video recording unit 37 continues recording in the high quality mode ending at the end point of the high quality mode that ended a certain period of time ago. An operation period is specified, and video data representing a photographed image from the start point to the end of the specified continuous operation period is written as one recording file in a non-event area prepared in advance in the memory card 50 (S370). After that, the video recording unit 37 temporarily terminates the write control process.

なお、本実施形態では、メモリカード50のフォーマット時に、メモリカード50の記憶領域内にイベント領域及び非イベント領域が確保される。ここで、少なくともイベント領域は、固定サイズの領域として確保される。 In this embodiment, when the memory card 50 is formatted, an event area and a non-event area are secured within the memory area of the memory card 50 . Here, at least the event area is secured as a fixed size area.

S370で非イベント領域に一つの録画ファイルとして書き込まれる映像データに対応する連続動作期間には、映像変化の発生に起因して符号化部32が高品質モードで動作した期間が含まれるが、衝撃の発生に起因して符号化部32が高品質モードで動作した期間が含まれない。この点で、S370で非イベント領域に書き込まれる録画ファイルは、S360でイベント領域に書き込まれる録画ファイルとは異なる。 The continuous operation period corresponding to the video data written as one recording file in the non-event area in S370 includes the period during which the encoding unit 32 operates in the high quality mode due to the occurrence of video changes. The period during which the encoding unit 32 operates in the high quality mode due to the occurrence of is not included. In this respect, the recorded file written to the non-event area at S370 differs from the recorded file written to the event area at S360.

この他、映像記録部37は、S340で否定判断して、S380に移行すると、メモリカード50への映像データの書込条件が満足されたか否かを判断する。ここで、映像記録部37は、メモリカード50に未書込の映像データの量が所定量を超えた場合に、書込条件が満足されたと判断し、所定量以下である場合に、書込条件が満足されていないと判断することができる。 In addition, when making a negative determination in S340 and proceeding to S380, the video recording unit 37 determines whether or not the conditions for writing the video data to the memory card 50 are satisfied. Here, the image recording unit 37 determines that the write condition is satisfied when the amount of unwritten image data in the memory card 50 exceeds a predetermined amount, and writes when the amount is equal to or less than the predetermined amount. It can be determined that the condition is not satisfied.

あるいは、映像記録部37は、最後に映像データをメモリカード50に書き込んでから所定時間TDが経過した場合に、書込条件が満足されたと判断し、所定時間TDが経過していない場合には、書込条件が満足されていないと判断することができる。 Alternatively, the video recording unit 37 determines that the write condition is satisfied when a predetermined time TD has passed since the video data was last written to the memory card 50, and if the predetermined time TD has not passed, , it can be determined that the write condition is not satisfied.

映像記録部37は、書込条件が満足されていないと判断すると(S380でNo)、書込制御処理を一旦終了する。一方、映像記録部37は、書込条件が満足されたと判断すると(S380でYes)、メモリカード50に未書込の映像データを、一つの録画ファイルとしてメモリカード50の非イベント領域に書き込み(S390)、その後、書込制御処理を一旦終了する。 When the video recording unit 37 determines that the writing condition is not satisfied (No in S380), the writing control process is once terminated. On the other hand, when the video recording unit 37 determines that the write condition is satisfied (Yes in S380), it writes the video data that has not yet been written to the memory card 50 as one recording file in the non-event area of the memory card 50 ( S390), after which the write control process is terminated.

映像記録部37は、S360,S370,S390において、メモリカード50に録画ファイルを書き込む際、書込対象の領域に空き領域がない場合には、書込対象の領域内において最も古い録画ファイルを上書きするように、新しい録画ファイルを書き込むことができる。 In S360, S370, and S390, when writing a recorded file to the memory card 50, if there is no free space in the area to be written, the video recording unit 37 overwrites the oldest recorded file in the area to be written. You can write a new recording file just like you do.

このように映像記録部37が書込制御処理を実行する場合、図6A-6Cに例示するように、衝撃の発生イベントを含む高品質モードの連続動作期間における映像のみがイベント領域に記録され、それ以外の期間における映像が非イベント領域に記録される。 When the video recording unit 37 executes the write control process in this way, as illustrated in FIGS. 6A to 6C, only the video in the continuous operation period of the high quality mode including the impact occurrence event is recorded in the event area. Images in other periods are recorded in the non-event area.

駐車中においてドライブレコーダ1に衝撃が発生した場合には、車両に対する盗難、当て逃げ等が発生している可能性が高い。従って、本実施形態によれば、このような盗難及び当て逃げ等の映像が写っている可能性の高い重要な映像データを、それ以外の映像データと区別して、重要ではない映像データによって上書きされないようにメモリカード50に記録することができる。 If the drive recorder 1 receives an impact while the vehicle is parked, there is a high possibility that the vehicle has been stolen or hit and run. Therefore, according to the present embodiment, important video data, which is highly likely to contain video of theft or hit-and-run, is distinguished from other video data so as not to be overwritten by unimportant video data. can be recorded in the memory card 50 at any time.

以上に、本実施形態のドライブレコーダ1について説明したが、本実施形態によれば、ドライブレコーダ1のカメラ10を有効に活用して、駐車時の周辺監視を実現することができる。特に、本実施形態によれば、カメラ10の映像変化の有無によって、記録用の映像データの映像品質、具体的には圧縮率及びフレームレートを制御する。更には、衝撃の有無によって、映像データの映像品質を制御する。従って、監視目的に合致した重要度の高い映像を、高品質な映像データとしてメモリカード50に保存することができる一方、重要度の低い映像データのデータ量を抑えて、これらの映像データをメモリカード50に効率的に保存できる。 The drive recorder 1 of the present embodiment has been described above. According to the present embodiment, the camera 10 of the drive recorder 1 can be effectively used to realize monitoring of the surroundings during parking. In particular, according to the present embodiment, the image quality of the image data for recording, specifically the compression rate and frame rate, is controlled depending on whether or not the image of the camera 10 changes. Furthermore, the image quality of the image data is controlled depending on the presence or absence of impact. Therefore, while it is possible to store high-importance video that meets the purpose of monitoring in the memory card 50 as high-quality video data, the data amount of low-importance video data can be suppressed and these video data can be stored in the memory. It can be efficiently stored in the card 50.

特に本実施形態によれば、図3に示すようにフレームを複数の領域R1-R4に分割し、フレーム毎に選択領域のみの映像解析を行い、映像変化を検出する。従って、本実施形態によれば、映像解析の負荷を抑えつつ、撮影領域全体の映像変化を効率的に検出することができる。 In particular, according to this embodiment, as shown in FIG. 3, a frame is divided into a plurality of regions R1 to R4, video analysis is performed only on selected regions for each frame, and video changes are detected. Therefore, according to the present embodiment, it is possible to efficiently detect image changes in the entire imaging area while suppressing the load of image analysis.

更に本実施形態によれば、衝撃が検知されたときの撮影映像をイベント領域に記録するが、この際、衝撃が検知される前の映像変化が生じたタイミングからの撮影映像を、併せて、一つの録画ファイルとしてイベント領域に記録する。従って、本実施形態によれば、車両周囲のうち前方の限られた領域のみを撮影するカメラ10を、車両周辺の監視に用いつつ、衝撃に関連する映像を、その衝撃前から高品質な映像として適切に記録することができる。 Furthermore, according to this embodiment, the captured image when the impact is detected is recorded in the event area. Record in the event area as one recording file. Therefore, according to the present embodiment, while the camera 10 that captures only a limited area in front of the vehicle surroundings is used for monitoring the surroundings of the vehicle, high-quality images related to the impact can be captured from before the impact. can be properly recorded as

本開示が、上述の実施形態に限定されるものではなく、種々の態様を採り得ることは言うまでもない。本開示の技術は、ドライブレコーダ以外の映像記録装置に適用できる。本開示の技術は、運転支援のために、又は、自動運転のために車両に搭載されるカメラを用いて、車両周囲の映像を記録する映像記録装置に適用されてもよい。 It goes without saying that the present disclosure is not limited to the above-described embodiments and can take various forms. The technology of the present disclosure can be applied to video recording devices other than drive recorders. The technology of the present disclosure may be applied to a video recording device that records video around the vehicle using a camera mounted on the vehicle for driving assistance or automatic driving.

この他、上記実施形態では、S360において、高品質モードの連続動作期間の映像データを、高品質の映像データ及び低品質の映像データを含む録画ファイルとしてイベント領域に格納したが、低品質の映像データ、即ち、通常モードで撮影された映像に関するデータについては、連続動作期間における高品質の映像データとは分けて、非イベント領域に記録されてもよい。 In addition, in the above embodiment, in S360, the video data of the continuous operation period in the high-quality mode is stored in the event area as a recording file containing high-quality video data and low-quality video data. Data, ie, data relating to images captured in normal mode, may be recorded in the non-event area separately from high-quality image data during continuous operation.

上記実施形態における1つの構成要素が有する機能は、複数の構成要素に分散して設けられてもよい。複数の構成要素が有する機能は、1つの構成要素に統合されてもよい。上記実施形態の構成の一部は、省略されてもよい。上記実施形態の構成の少なくとも一部は、他の上記実施形態の構成に対して付加又は置換されてもよい。特許請求の範囲に記載の文言から特定される技術思想に含まれるあらゆる態様が本開示の実施形態である。 A function possessed by one component in the above embodiment may be distributed to a plurality of components. Functions possessed by multiple components may be integrated into one component. A part of the configuration of the above embodiment may be omitted. At least part of the configurations of the above embodiments may be added or replaced with respect to the configurations of other above embodiments. All aspects included in the technical ideas specified by the language in the claims are embodiments of the present disclosure.

最後に用語間に対応関係を説明する。メモリカード50は、記憶ユニットの一例に対応し、符号化部32は、生成ユニットの一例に対応し、衝撃検知部35は、衝撃検知ユニットの一例に対応する。この他、映像記録部37が実行する書込制御処理で実現される機能は、映像記録ユニットにより実現される機能の一例に対応し、映像解析部33で実現される機能及び映像記録部37が実行するモード切替処理で実現される機能は、制御ユニットで実現される機能の一例に対応する。 Finally, the correspondence between terms will be explained. The memory card 50 corresponds to an example of a storage unit, the encoding section 32 corresponds to an example of a generation unit, and the shock detection section 35 corresponds to an example of a shock detection unit. In addition, the function realized by the write control process executed by the video recording unit 37 corresponds to an example of the function realized by the video recording unit. A function realized by the mode switching process to be executed corresponds to an example of a function realized by the control unit.

1…ドライブレコーダ、10…カメラ、20…加速度センサ、30…制御デバイス、31…データ処理部、32…符号化部、33…映像解析部、35…衝撃検知部、37…映像記録部、50…メモリカード。 Reference Signs List 1 drive recorder 10 camera 20 acceleration sensor 30 control device 31 data processing unit 32 encoding unit 33 video analysis unit 35 shock detection unit 37 video recording unit 50 …Memory card.

Claims (6)

車両に搭載される映像記録装置であって、
駐車中に、車両周囲を撮影するカメラからの映像信号に基づき、前記カメラによる撮影映像を表す記録用の映像データを生成するように構成される生成ユニットと、
前記生成ユニットにより生成された前記映像データを、記憶ユニットに格納するように構成される映像記録ユニットと、
衝撃を検知する衝撃検知ユニットと、
前記カメラによる撮影映像を解析し、その映像変化に基づき、前記生成ユニットにより生成される前記映像データの映像品質を制御するように構成される制御ユニットと、
を備え、
前記制御ユニットは、所定条件を満足する映像変化の発生を条件に、前記生成ユニットにより生成される前記映像データの映像品質を、第一の品質から前記第一の品質より高い第二の品質に一時的に変更し、前記所定条件を満足する映像変化が発生しない場合には前記衝撃が検知されたことを条件に、前記生成ユニットにより生成される前記映像データの映像品質を、前記第一の品質から前記第二の品質に一時的に変更することにより、前記映像データの映像品質を制御し、
前記映像記録ユニットは、
前記所定条件を満足する映像変化の発生後に前記衝撃が検知された第一の場合には、前記所定条件を満足する映像変化の発生を条件に前記第二の品質で生成された前記映像データであって、前記衝撃が検知された時点の撮影映像が含まれる前記映像データを、前記衝撃に関連する期間の撮影映像を表す映像データとして、前記記憶ユニットの特定領域に格納し、
前記所定条件を満足する映像変化の発生なしに前記衝撃が検知された第二の場合には、前記衝撃が検知されたことを条件に前記第二の品質で生成された前記映像データを、前記衝撃に関連する期間の撮影映像を表す映像データとして、前記特定領域に格納し、
前記衝撃に関連する期間の始点は、前記第一の場合、前記所定条件を満足する映像変化が発生した時点に対応し、前記第二の場合、前記衝撃が検知された時点に対応し、
前記特定領域には、前記始点からの撮影映像を表す映像データが格納される映像記録装置。
A video recording device mounted on a vehicle,
a generation unit configured to generate, based on a video signal from a camera that captures the surroundings of the vehicle while the vehicle is parked, video data for recording representing a video captured by the camera;
a video recording unit configured to store the video data generated by the generating unit in a storage unit;
an impact detection unit that detects an impact;
a control unit configured to analyze an image captured by the camera and control image quality of the image data generated by the generation unit based on changes in the image;
with
The control unit changes the video quality of the video data generated by the generation unit from a first quality to a second quality higher than the first quality on condition that a video change that satisfies a predetermined condition occurs. temporarily changing the image quality of the image data generated by the generation unit to the image quality of the image data generated by the generation unit on the condition that the impact is detected when the image change that satisfies the predetermined condition does not occur; controlling the video quality of the video data by temporarily changing from quality to the second quality ;
The video recording unit is
In the first case where the impact is detected after the occurrence of the image change satisfying the predetermined condition, the image data generated with the second quality on the condition that the image change satisfying the predetermined condition occurs. storing the video data including the captured video at the time when the impact was detected in a specific area of the storage unit as video data representing the captured video during a period related to the impact ;
In a second case where the impact is detected without occurrence of an image change that satisfies the predetermined condition, the video data generated with the second quality on the condition that the impact is detected is transferred to the Stored in the specific area as video data representing a captured video of a period related to the impact,
In the first case, the starting point of the period related to the impact corresponds to the point in time when the image change satisfying the predetermined condition occurs, and in the second case, corresponds to the point in time when the impact is detected,
A video recording device in which video data representing a captured video from the starting point is stored in the specific area .
車両に搭載される映像記録装置であって、
駐車中に、車両周囲を撮影するカメラからの映像信号に基づき、前記カメラによる撮影映像を表す記録用の映像データを生成するように構成される生成ユニットと、
前記生成ユニットにより生成された前記映像データを、記憶ユニットに格納するように構成される映像記録ユニットと、
衝撃を検知する衝撃検知ユニットと、
前記カメラによる撮影映像を解析し、その映像変化に基づき、前記生成ユニットにより生成される前記映像データの映像品質を制御するように構成される制御ユニットと、
を備え、
前記制御ユニットは、所定条件を満足する映像変化の発生を条件に、前記生成ユニットにより生成される前記映像データの映像品質を、第一の品質から前記第一の品質より高い第二の品質に一時的に変更し、前記所定条件を満足する映像変化が発生しない場合には前記衝撃が検知されたことを条件に、前記生成ユニットにより生成される前記映像データの映像品質を、前記第一の品質から前記第二の品質に一時的に変更するように構成され、
前記記憶ユニットは、第一の領域と第二の領域とを有し、
前記映像記録ユニットは
記生成ユニットにより生成された前記映像データの内、前記衝撃検知ユニットにより検知された前記衝撃に関連する期間の撮影映像を表す映像データを、前記第一の領域に格納し、その他の映像データを、前記第二の領域に格納するように構成され、
前記所定条件を満足する映像変化の発生なしに前記衝撃が検知された場合には、前記衝撃に関連する期間の撮影映像を表す映像データとして、前記衝撃が検知された後前記第二の品質で生成された前記映像データを前記第一の領域に格納し、
記所定条件を満足する映像変化の発生後に前記衝撃が検知された場合には、前記衝撃に関連する期間の撮影映像を表す映像データとして、前記衝撃が検知された後前記第二の品質で生成された前記映像データと、その映像の撮影期間より前の前記所定条件を満足する映像変化の発生時点から前記撮影期間の始点までの撮影映像を表す映像データと、を前記第一の領域に格納する映像記録装置。
A video recording device mounted on a vehicle,
a generation unit configured to generate, based on a video signal from a camera that captures the surroundings of the vehicle while the vehicle is parked, video data for recording representing a video captured by the camera;
a video recording unit configured to store the video data generated by the generating unit in a storage unit;
an impact detection unit that detects an impact;
a control unit configured to analyze an image captured by the camera and control image quality of the image data generated by the generation unit based on changes in the image;
with
The control unit changes the video quality of the video data generated by the generation unit from a first quality to a second quality higher than the first quality on condition that a video change that satisfies a predetermined condition occurs. temporarily changing the image quality of the image data generated by the generation unit to the image quality of the image data generated by the generation unit on the condition that the impact is detected when the image change that satisfies the predetermined condition does not occur; configured to temporarily change from quality to said second quality;
The storage unit has a first area and a second area,
The video recording unit is
Among the image data generated by the generation unit, image data representing a captured image during a period related to the impact detected by the impact detection unit is stored in the first area, and other image data is stored. is configured to be stored in the second area,
When the impact is detected without the occurrence of an image change that satisfies the predetermined condition, the image data representing the captured image during the period related to the impact is set to the second quality after the impact is detected. storing the generated video data in the first area;
When the impact is detected after the occurrence of the image change that satisfies the predetermined condition, the image data representing the captured image during the period related to the impact is set to the second quality after the impact is detected. The generated image data and the image data representing the captured image from the time of occurrence of the image change that satisfies the predetermined condition before the image capturing period to the start point of the image capturing period are combined into the first area. Video recording device to store in.
前記記憶ユニットは、第一の領域と第二の領域とを有し、
前記映像記録ユニットは、前記生成ユニットにより生成された前記映像データの内、前記衝撃に関連する期間の撮影映像を表す映像データを、前記特定領域としての前記第一の領域に格納し、その他の映像データを、前記第二の領域に格納するように構成される請求項1記載の映像記録装置。
The storage unit has a first area and a second area,
The image recording unit stores, among the image data generated by the generation unit, image data representing a captured image of a period related to the impact in the first area as the specific area, and stores the other image data. 2. The video recording apparatus according to claim 1 , wherein video data is stored in said second area.
前記制御ユニットは、前記所定条件を満足する映像変化の発生を条件に、前記生成ユニットにより生成される前記映像データの映像品質を前記第二の品質に変更した後、前記映像データの映像品質を一定時間、前記第二の品質に維持し、前記一定時間が経過した後、前記映像データの映像品質を前記第一の品質に戻すように動作し、前記一定時間が経過する前に前記衝撃が検知された場合には、前記映像データの映像品質を前記第二の品質に維持する時間を、延長するように構成される請求項1~請求項のいずれか一項記載の映像記録装置。 The control unit changes the video quality of the video data generated by the generation unit to the second quality on the condition that a video change satisfying the predetermined condition occurs, and then changes the video quality of the video data. The second quality is maintained for a certain period of time, and after the certain period of time has passed, the video quality of the video data is returned to the first quality, and the impact occurs before the certain period of time has passed. 4. The video recording apparatus according to any one of claims 1 to 3, wherein, when detected, the time for maintaining the video quality of the video data at the second quality is extended. 前記制御ユニットは、前記生成ユニットにより生成される前記映像データの圧縮率及びフレームレートの少なくとも一方を制御することにより、前記映像データの映像品質を制御する請求項1~請求項のいずれか一項記載の映像記録装置。 5. The control unit controls the image quality of the image data by controlling at least one of a compression rate and a frame rate of the image data generated by the generation unit. 3. A video recording device according to claim 1. 前記カメラとして車両前方を撮影するカメラを備え、ドライブレコーダとして機能するように構成される請求項1~請求項のいずれか一項記載の映像記録装置。 6. The video recording apparatus according to any one of claims 1 to 5 , comprising a camera for photographing the front of the vehicle as the camera, and configured to function as a drive recorder.
JP2018043041A 2018-03-09 2018-03-09 Video recording device Active JP7228826B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018043041A JP7228826B2 (en) 2018-03-09 2018-03-09 Video recording device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018043041A JP7228826B2 (en) 2018-03-09 2018-03-09 Video recording device

Publications (2)

Publication Number Publication Date
JP2019161350A JP2019161350A (en) 2019-09-19
JP7228826B2 true JP7228826B2 (en) 2023-02-27

Family

ID=67995020

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018043041A Active JP7228826B2 (en) 2018-03-09 2018-03-09 Video recording device

Country Status (1)

Country Link
JP (1) JP7228826B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6705495B1 (en) * 2018-12-26 2020-06-03 株式会社Jvcケンウッド Vehicle recording control device, vehicle recording device, vehicle recording control method, and program
JP7434919B2 (en) * 2020-01-21 2024-02-21 株式会社Jvcケンウッド Recording control device, recording control method, and program
JP7680187B2 (en) * 2020-01-21 2025-05-20 株式会社Jvcケンウッド Recording control device, recording control method, and program
JP7264838B2 (en) * 2020-01-29 2023-04-25 Kddi株式会社 VIDEO CONVERSION METHOD, APPARATUS AND PROGRAM
JP7367556B2 (en) * 2020-02-21 2023-10-24 株式会社Jvcケンウッド Recording control device, recording control method, and program
JP7430113B2 (en) 2020-06-04 2024-02-09 日立Astemo株式会社 In-vehicle equipment, vehicle motion analysis system
JP6853598B1 (en) * 2020-09-11 2021-03-31 株式会社コムテック Drive recorder

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003219412A (en) 2002-01-22 2003-07-31 Fuji Photo Film Co Ltd Image recorder for on-vehicle camera
JP2006108991A (en) 2004-10-04 2006-04-20 Maruhama:Kk Security device
JP2009087046A (en) 2007-09-28 2009-04-23 Fujitsu Ten Ltd Vehicle running state display method
JP2010146477A (en) 2008-12-22 2010-07-01 Fujitsu Ten Ltd Drive recorder
JP2011227861A (en) 2010-03-29 2011-11-10 Asahi Research Corp Drive recorder
JP2016197310A (en) 2015-04-03 2016-11-24 三菱電機株式会社 VEHICLE VIDEO RECORDING DEVICE AND VEHICLE PERIPHERAL VIDEO RECORDING METHOD
JP2017195755A (en) 2016-04-14 2017-10-26 株式会社ユピテル Device, on-vehicle equipment and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003219412A (en) 2002-01-22 2003-07-31 Fuji Photo Film Co Ltd Image recorder for on-vehicle camera
JP2006108991A (en) 2004-10-04 2006-04-20 Maruhama:Kk Security device
JP2009087046A (en) 2007-09-28 2009-04-23 Fujitsu Ten Ltd Vehicle running state display method
JP2010146477A (en) 2008-12-22 2010-07-01 Fujitsu Ten Ltd Drive recorder
JP2011227861A (en) 2010-03-29 2011-11-10 Asahi Research Corp Drive recorder
JP2016197310A (en) 2015-04-03 2016-11-24 三菱電機株式会社 VEHICLE VIDEO RECORDING DEVICE AND VEHICLE PERIPHERAL VIDEO RECORDING METHOD
JP2017195755A (en) 2016-04-14 2017-10-26 株式会社ユピテル Device, on-vehicle equipment and system

Also Published As

Publication number Publication date
JP2019161350A (en) 2019-09-19

Similar Documents

Publication Publication Date Title
JP7228826B2 (en) Video recording device
US20240146891A1 (en) Imaging device
US8488043B2 (en) Imaging apparatus, recording medium for recording a computer program, and imaging control method
JP6669240B1 (en) Recording control device, recording control system, recording control method, and recording control program
JP2010128610A (en) Drive recorder
US10573343B2 (en) Video image recording control apparatus, video image recording control method, and video image recording control program
JP2011096063A (en) Drive recorder apparatus
US11539913B2 (en) Recording control device, recording control system, recording control method, and computer program
JP6769504B2 (en) Vehicle record control device, vehicle photography device, vehicle record control method and program
JP7370446B2 (en) In-vehicle video recording device and its control method
KR20140069855A (en) Apparatus and method for video recording for vehicles
JP2014006597A (en) On-vehicle instrument
JP5914135B2 (en) Drive recorder
JP5547447B2 (en) Vehicle information recording device
JP7367556B2 (en) Recording control device, recording control method, and program
JP2021040302A (en) Recording control device, recording control method, and program
JP2008245146A (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP7434919B2 (en) Recording control device, recording control method, and program
JP6787423B2 (en) Recording / playback control device, playback control device, recording / playback method and program
JP2020113029A (en) Recording control device, recording control system, recording control method, and program
JP2009272738A (en) Monitoring system
JP7208493B2 (en) Recording control device, recording control system, recording control method, and program
JP2015126383A (en) Image recorder, image recording method and image recording program
JP2020113067A (en) Recording control device, recording control system, recording control method, and program
JP2021136599A (en) Recording controller, recording control method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210225

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220112

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220201

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220401

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220816

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221017

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20230131

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230206

R150 Certificate of patent or registration of utility model

Ref document number: 7228826

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250