JP2021027490A - Image processing device, imaging device, imaging system, control method of the image processing device, and program - Google Patents
Image processing device, imaging device, imaging system, control method of the image processing device, and program Download PDFInfo
- Publication number
- JP2021027490A JP2021027490A JP2019144828A JP2019144828A JP2021027490A JP 2021027490 A JP2021027490 A JP 2021027490A JP 2019144828 A JP2019144828 A JP 2019144828A JP 2019144828 A JP2019144828 A JP 2019144828A JP 2021027490 A JP2021027490 A JP 2021027490A
- Authority
- JP
- Japan
- Prior art keywords
- detection
- gradation number
- image
- gradations
- gradation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Studio Devices (AREA)
- Image Analysis (AREA)
Abstract
Description
本願は、画像処理装置、撮像装置、撮像システム、画像処理装置の制御方法、及び、プログラムに関する。 The present application relates to an image processing device, an imaging device, an imaging system, a control method of the image processing device, and a program.
ネットワークカメラによる定常撮像という状況において、撮像画像のデータサイズが大きい場合は、ネットワークカメラから外部装置への画像(映像)のネットワーク配信に負荷が掛かり、フレームレートの低下等の品質劣化が発生する。これに対して、画像の階調数を削減することによって撮像画像のデータサイズを低減させ、配信負荷を軽減させるアプローチが提案されている。 In the situation of constant imaging by a network camera, if the data size of the captured image is large, the network distribution of the image (video) from the network camera to the external device is overloaded, and quality deterioration such as a decrease in frame rate occurs. On the other hand, an approach has been proposed in which the data size of the captured image is reduced by reducing the number of gradations of the image and the distribution load is reduced.
特許文献1は、撮像環境の照度に応じて、画像の階調数を動的に制御することで、画像のノイズ量を抑制し、同時に画像を配信する際のデータサイズを低減する方法を開示する。特許文献2は、被写体の動き量の大きさに着目して、動き量の大きい領域に対して階調数を削減することで撮像画像のデータサイズを低減する技術を開示する。 Patent Document 1 discloses a method of suppressing the amount of noise in an image and simultaneously reducing the data size when delivering the image by dynamically controlling the number of gradations of the image according to the illuminance of the imaging environment. To do. Patent Document 2 discloses a technique for reducing the data size of a captured image by reducing the number of gradations in a region where the amount of movement is large, focusing on the amount of movement of the subject.
しかしながら、上述の従来技術では、階調数の削減によって被写体の検出精度に影響が生ずるおそれがある。特に、検出精度への影響度合いは、設定されている検出方法の種別に応じて異なるため、検出方法の種別に応じた階調数の制御が求められる。 However, in the above-mentioned conventional technique, the reduction of the number of gradations may affect the detection accuracy of the subject. In particular, since the degree of influence on the detection accuracy differs depending on the type of the set detection method, it is required to control the number of gradations according to the type of the detection method.
そこで、本発明は、被写体検出精度に対する影響を抑制しつつ、撮像画像のデータサイズを低減可能にするための技術を提供する。 Therefore, the present invention provides a technique for reducing the data size of a captured image while suppressing the influence on the subject detection accuracy.
上記課題を解決するための発明は、画像処理装置であって、
撮像画像に対して行う被写体の検出処理を設定する設定手段と、
前記撮像画像から、前記設定された検出処理を実行する検出手段と、
前記設定された検出処理の種別と、前記検出処理の検出結果に応じて、階調数削減後の前記撮像画像の階調数を決定し、決定した階調数に前記撮像画像を変換する階調数制御手段と、
前記階調数が変換された前記撮像画像と、前記検出手段により前記検出処理が実行された場合の検出結果とを出力する出力手段と
を備え、
前記階調数制御手段は、
前記設定手段により前記検出処理が設定されなかった場合、及び、前記設定された検出処理を実行して検出結果が得られなかった場合に、第1の階調数を前記階調数削減後の階調数に決定し、
前記設定手段により前記検出処理が設定された場合であって、かつ、前記設定された検出処理を実行して前記所定の検出結果が得られた場合に、前記第1の階調数よりも大きい第2の階調数を前記階調数削減後の階調数に決定する。
The invention for solving the above problems is an image processing apparatus.
Setting means for setting subject detection processing for captured images, and
A detection means that executes the set detection process from the captured image, and
The number of gradations of the captured image after the number of gradations is reduced is determined according to the set type of detection processing and the detection result of the detection processing, and the image is converted to the determined gradation number. Key control means and
The image pickup image to which the number of gradations is converted and the output means for outputting the detection result when the detection process is executed by the detection means are provided.
The gradation number control means
When the detection process is not set by the setting means, or when the set detection process is executed and the detection result is not obtained, the first gradation number is reduced after the gradation number is reduced. Determine the number of gradations,
It is larger than the first gradation number when the detection process is set by the setting means and when the set detection process is executed and the predetermined detection result is obtained. The second gradation number is determined to be the gradation number after the gradation number reduction.
本発明によれば、被写体検出精度に対する影響を抑制しつつ、撮像画像のデータサイズを低減することができる。 According to the present invention, it is possible to reduce the data size of the captured image while suppressing the influence on the subject detection accuracy.
以下、添付図面を参照して実施形態を詳しく説明する。尚、以下の実施形態は特許請求の範囲に係る発明を限定するものではない。実施形態には複数の特徴が記載されているが、これらの複数の特徴の全てが発明に必須のものとは限らず、また、複数の特徴は任意に組み合わせられてもよい。さらに、添付図面においては、同一若しくは同様の構成に同一の参照番号を付し、重複した説明は省略する。 Hereinafter, embodiments will be described in detail with reference to the accompanying drawings. The following embodiments do not limit the invention according to the claims. Although a plurality of features are described in the embodiment, not all of the plurality of features are essential to the invention, and the plurality of features may be arbitrarily combined. Further, in the attached drawings, the same or similar configurations are designated by the same reference numbers, and duplicate description is omitted.
[実施形態1]
以下、添付の図面を参照して、実施形態1における撮像システムの構成及び処理の流れについて説明する。まず、発明の第1の実施形態に係る撮像システムの構成について、図1のブロック図を用いて説明する。図1は、発明の実施形態1に係る撮像システムの構成例を示すブロック図である。図1において、撮像システム100は、撮像装置110、情報処理装置120、表示装置130がネットワーク140を介して相互に接続されて構成されている。図1に示した撮像システム100の構成要素は、あくまで一例であって、これら以外の構成要素が更に追加されても良い。以下、各構成要素について説明する。
[Embodiment 1]
Hereinafter, the configuration and processing flow of the imaging system according to the first embodiment will be described with reference to the attached drawings. First, the configuration of the imaging system according to the first embodiment of the invention will be described with reference to the block diagram of FIG. FIG. 1 is a block diagram showing a configuration example of an imaging system according to a first embodiment of the present invention. In FIG. 1, the
撮像装置110は、光学系111、撮像部112、制御部113、画像処理部114、操作部115、表示部116及び通信部117を有することができる。
The
光学系111は、像倍率を決定するズームレンズと、焦点位置を調整するフォーカスレンズ、撮像する光の波長域を制限する透過フィルタの少なくとも一つを備える。光学系111は、レンズを移動させるためのモータ等の所定の駆動機構を含み、当該駆動機構は制御部113からの指示に応じて動作が制御される。
The
撮像部112は、撮像素子、現像処理部、符号化部等を含むことができる。撮像素子は、撮像面に結像された光像を光電変換して得られたアナログ画像信号をデジタル画像信号に変換して出力するようにA/D変換器を含んで構成することができる。現像処理部は、撮像センサから出力されたデジタル画像信号に対して、例えば、ディベイヤ処理、ガンマ補正処理、階調変換処理等の現像処理を実施することができる。現像処理は、RGB形式のデータからYUV等の形式に変換する処理を含むことができる。符号化部では、現像処理部が出力したデジタル画像信号を圧縮・符号化して、画像データを生成する。画像圧縮方式は、例えば、H.264、H.265、MJPEGまたはJPEGなどの規格に基づくことができる。さらに、mp4やavi形式などを含む任意の形式の画像データを生成しても良い。撮像部112では、例えば、1秒間に30フレーム分の画像を取得して、監視領域の30fpsの動画像(ライブ映像)を取得することが可能である。
The
制御部113は、撮像装置110の画角や撮像方向、フレームレート、取得する画像の種類等の撮像条件を調整する。撮像条件の調整は、ユーザからの指示に応じて実行することもできるし、撮像装置110に予め記憶された設定値に応じて行うこともできる。ユーザから指示を行う場合は、ネットワーク150を介して情報処理装置120や表示装置130から行なってもよいし、直接、撮像装置110の操作部115を介して行ってもよい。また、制御部113は、情報処理装置120や表示装置130から送信される命令に応じて、撮像開始/終了など撮像部112の制御を行うこともできる。
The
画像処理部114は、検出種別の設定を受け付ける処理、設定された検出種別に応じた階調数の決定処理、設定された検出種別に応じて撮像画像から被写体等を検出する処理等の画像処理を行う。その他、撮像画像において被写体の動きを検出することができる。
The
操作部115は、ボタン、キー、ダイヤル、タッチパネル等のユーザインタフェースであって、撮像装置110に対する設定入力、指示入力を受け付ける。操作部115は、撮像装置110に接続されたコンソール端末として構成されてもよい。表示部116は、所定の設定画面を表示したり、撮像画像を表示したりするディスプレイである。通信部117は、撮像部112が撮像して生成した画像や、検出処理の結果等をネットワーク140経由で、情報処理装置120、表示装置130等に送信するための通信インタフェースである。通信部117は、例えば、NFSやCIFSなどのネットワークファイルシステム、または、UDPやTCPなどのネットワーク通信プロトコルを使用して、通信相手との間でデータのやり取りの調整を行う。また、通信部117は、情報処理装置120や表示装置130から撮像装置110を制御するための設定情報や命令を受信し、制御部113に供給する。制御部113は、その設定情報や命令に従って撮像装置110の動作を制御する。
The
記憶部118は、制御部113により管理される、光学系111や撮像部112の制御情報や撮像条件に関する情報、制御プログラム等を記憶したり、画像処理部114における処理に用いられる情報や、処理結果を記憶したりする。撮像部112からの撮像画像、画像処理部114による画像処理後の画像を蓄積すると共に、画像処理部114における画像解析処理(被写体等の検出処理)の処理結果を記憶する。その他、記憶部118は、制御部113が撮像装置110の動作を制御するための各種プログラムを記憶すると共に、ワークエリアとして機能する。
The
情報処理装置120は、制御部121、記憶部122、画像処理部123、操作部124、表示部125、通信部126を含んで構成される。制御部121は、情報処理装置120の各部の動作を制御する。制御部121は、撮像システム100に接続されている撮像装置110の動作及び設定を管理することができる。撮像システム100には複数台の撮像装置110を接続することができ、制御部121は、各撮像装置110の種類、設置場所、設置環境、撮像パラメータ等に関する情報を管理する。制御部121は、撮像装置110に対して設定する撮像パラメータを選択して、通信部126を介して撮像装置110に送信し、撮像条件を設定することができる。また、撮像装置110に対して設定した撮像パラメータや、設置場所、設置環境等の撮像条件に関する情報を、記憶部122に記憶して管理することができる。これらの撮像条件に関する情報は、一度取得して保存した後も、適宜更新することができる。例えば、撮像装置110から定期的に送信される画像を解析して、撮像装置110の設置場所における撮像条件(例えば、照度等)に変化があった場合には、制御部121は撮像条件に関する情報を更新することができる。
The
記憶部122は、撮像装置110から受信した画像データを記憶したり、画像処理部123における処理に用いられる情報や、処理結果を記憶したりする。また、制御部121により管理される撮像条件に関する情報等を記憶することができる。
The
画像処理部123は、撮像装置110から受信した画像に対して所定の画像処理や解析処理を行って、処理結果を出力する。例えば、受信した画像に対し、撮像装置110で検出された被写体が存在する領域を識別するための枠を重畳するといった加工処理を行うことができる。また、受信画像に対して被写体を検出する処理を実行することもできる。
The
操作部124は、情報処理装置120の操作者からの操作を受け付けることができる。具体的に、撮像装置110、情報処理装置120の設定を変更するための操作を受け付けることができ、キーボード、マウス、各種操作ボタン、タッチパネル等を含むことができる。撮像装置110がネットワーク140に複数台接続されている場合、操作部124により、1つの画面で複数台分の画像データを表示部125に表示するための指示入力を行うことができる。また、画面上で1つの画像データを選択して、その画像データを表示部125に表示するための指示入力を行うこともできる。また、各種設定情報を設定、変更するための指示入力を行うことができる。さらには、本実施形態に対応する画像解析処理の結果に対する評価を入力することができる。
The
表示部125は、撮像装置110から取得した撮像画像を表示出力する他、情報処理装置120における各種処理の設定情報、情報処理装置120における処理結果を表示するための画面、あるいは、撮像装置110の設定情報や撮像パラメータ等を設定、変更するための設定用画面、通知出力のための画面の表示を行うことができる。また、表示部125は、画像出力の他、音声出力を行う機能を有していてもよい。表示部125は、ディスプレイ等の表示装置と、当該表示装置における表示を制御する表示制御部とで構成することができる。また、ディスプレイは情報処理装置120の外部に設置され、情報処理装置120と接続して利用する形態であってもよい。
In addition to displaying and outputting the captured image acquired from the
通信部126は、撮像装置110から送信される画像を受信する。また、通信部126は、情報処理装置120のユーザが操作部124や表示部125を使用して設定した設定情報や制御情報、配信命令を撮像装置110に送信することができる。さらに、情報処理装置120で画像を解析処理した結果(上記通知を含む)をネットワーク140に接続された表示装置130に出力することができる。
The
表示装置130は、撮像装置110が撮像する画像を表示するとともに、情報処理装置120から受信した各種の画像解析結果を出力することができる。また、撮像装置110で撮像する撮像条件・撮像パラメータを指示・変更するためのユーザインタフェースを提供したり、配信された映像を表示したりすることもできる。情報処理装置120の表示部125を表示装置130として構成してもよい。
The
ネットワーク140は、LANやインターネット等のIPベースの通信が可能な通信回線である。ネットワーク140は、有線/無線の形態を問わず、用途や目的に応じて、必要な形態の通信回線が実装される。撮像装置110は、指定された撮像条件に従ってライブ映像を撮像し、得られた画像データをネットワーク140経由で各装置に配信することができる。
The
図1に示す撮像システム100の構成において、撮像装置110の台数は1台以上の任意の数とすることができ、台数に限定はない。情報処理装置120及び表示装置130は、単一の装置により実現される場合だけでなく、それぞれ複数の装置が協働して各機能を実現してもよい。
In the configuration of the
次に図2(A)を参照して、本実施形態に対応する画像処理部114の機能構成について説明する。画像処理部114は、本実施形態に特有の機能として階調数制御部1141、検出部1142及び検出種別設定部1143とを有する。
Next, with reference to FIG. 2A, the functional configuration of the
階調数制御部1141は、検出種別設定部1143によって設定された検出方法の種別に応じて、検出部1142における検出処理対象の画像の階調数を決定し、当該階調数に従って画像の各画素値を変換する。階調数は、検出部1142における検出精度を劣化させないように決定する。
The gradation
検出部1142は、検出種別設定部1143によって設定された検出種別に応じて、処理対象の画像について被写体等の検出を行い、被写体の含まれる領域の情報や、被写体の種別、被写体画像等を出力する。検出種別設定部1143は、操作部115を介して受け付けた検出方法の種別を検出部1142に設定する。
The
以下、検出種別設定部1143を介して検出部1142における検出処理の種別が設定された場合、設定された検出処理の種別に応じて、画像の階調数を階調数制御部1141が決定し、撮像画像の階調数の変換を行う場合を説明する。
Hereinafter, when the type of detection processing in the
次に、図2(B)を参照して、本実施形態に対応する各装置のハードウェア構成について説明する。以下では、撮像装置110の概略構成の例を説明するが、情報処理装置120、表示装置130も同様或いは同等のハードウェア構成として構成しても良い。但し、図2(B)では、光学系111及び撮像部112のハードウェア構成を省略している。
Next, with reference to FIG. 2B, the hardware configuration of each device corresponding to the present embodiment will be described. Hereinafter, an example of the schematic configuration of the
図2(B)において、CPU200は、制御部113として動作することができ、ハードディスク装置(以下、HDと呼ぶ)205に格納されているアプリケーションプログラム、オペレーティングシステム(OS)や制御プログラム等を実行し、RAM202にプログラムの実行に必要な情報、ファイル等を一時的に格納する制御を行う。また、画像処理部114として動作することも可能であって、撮像部112から提供された画像の加工や解析処理等を実行する。さらには、インタフェース(I/F)208を介した外部の情報処理装置120や表示装置130とのデータ送受信を制御する。
In FIG. 2B, the
ROM201は、内部に基本I/Oプログラムの他、所定の処理を実行するアプリケーションプログラム等の各種データを記憶する。RAM202は各種データを一時記憶し、CPU200の主メモリ、ワーク領域等として機能する。また、情報処理装置120から受信した情報を一時的に記憶する。外部記憶ドライブ203は、記録媒体へのアクセスを実現するための外部記憶ドライブであり、撮像部112において撮像された画像をメディア(記録媒体)204に記憶したり、メディア204に記憶されたプログラム等を本コンピュータシステムにロードしたりすることができる。尚、メディア204は、例えば、CD−ROM、CD−R、CD−RW、DVD、Blu−ray(登録商標)、SDカード、ICメモリカード、メモリスティック等を利用することができる。
The
ハードディスク装置205は、本実施形態では大容量メモリとして機能するHD(ハードディスク)を用いている。HD205には、アプリケーションプログラム、OS、制御プログラム、関連プログラム等が格納される。なお、ハードディスクの代わりに、フラッシュ(登録商標)メモリ等の不揮発性記憶装置を用いても良い。ROM201、RAM202及びハードディスク装置205を、記憶部118として機能するように構成することができる。
In the present embodiment, the
指示入力装置206は、キー、ボタン、タッチパネル等がこれに相当し、操作部115として機能する。出力装置207は、指示入力装置206から入力されたコマンドや、それに対する応答出力等を出力する。出力装置207にはディスプレイ等を含むことができる。出力装置207はスピーカー等の音声出力装置を更に含むことができる。システムバス209は、撮像装置110内のデータの流れを司る。
The
インタフェース(以下、I/Fという)208は、通信部117として機能することで、外部装置とのデータのやり取りを仲介する役割を果たす。具体的に、I/F208は、無線通信モジュールを含むことができ、当該モジュールはアンテナシステム、RF送受信器、1つ以上の増幅器、同調器、1つ以上の発振器、デジタル信号プロセッサ、CODECチップセット、加入者識別モジュールカード、メモリなどを含む、周知の回路機構を含むことができる。また、有線接続のための有線通信モジュールを含むことができる。有線通信モジュールは1つ以上の外部ポートを介して他のデバイスとの通信を可能とする。また、データを処理する様々なソフトウェアコンポーネントを含むことができる。外部ポートは、イーサーネット、USBやIEEE1394等を介して、直接的に、又はネットワークを介して間接的に他のデバイスと結合する。尚、以上の各装置と同等の機能を実現するソフトウェアにより、ハードウェア装置の代替として構成することもできる。
The interface (hereinafter referred to as I / F) 208 functions as a
本実施形態に対応する処理を実行するために対応するプログラムを動作させる度に、既にプログラムがインストールされているHD205からRAM202にロードするようにしてもよい。また、本実施形態に係るプログラムをROM201に記録しておき、これをメモリマップの一部をなすように構成し、直接CPU200で実行することも可能である。さらに、メディア204から対応プログラム及び関連データを直接RAM202にロードして実行させることもできる。
Every time the corresponding program is operated to execute the process corresponding to the present embodiment, the program may be loaded from the
次に、本実施形態に係る撮像システム100における検出処理の詳細を説明する。本実施形態において検出部1142が実行する検出処理は、大きく2つの検出アルゴリズムに基づいて区分される。1つ目は、背景差分を評価する第1の検出アルゴリズムであり、2つ目は撮像された被写体の特徴量を評価する第2の検出アルゴリズムである。
Next, the details of the detection process in the
一般的に背景差分による第1の検出アルゴリズムは、注目被写体の存在・不存在、あるいは、動作を検出する方法であり、例えば置き去り検出、持ち去り検出、侵入・通過検出などの被写体検出処理において利用される。これらの検出処理を第1の被写体検出処理と呼ぶ。第1の被写体検出処理では、背景画像と呼ばれる基準画像と、撮像された画像における輝度の差分(以降、輝度差と呼ぶ)を評価して、所定の輝度差を満たすかどうかで、撮像画像内における注目被写体の存在・不存在や、注目被写体における所定の動作を検出することができる。 Generally, the first detection algorithm based on background subtraction is a method of detecting the presence / absence or movement of a subject of interest, and is used in subject detection processing such as abandonment detection, take-away detection, and intrusion / passage detection. Will be done. These detection processes are called the first subject detection process. In the first subject detection process, the difference in brightness between the reference image called the background image and the captured image (hereinafter referred to as the brightness difference) is evaluated, and whether or not a predetermined brightness difference is satisfied is determined in the captured image. It is possible to detect the presence / absence of the subject of interest and a predetermined operation of the subject of interest.
次に、撮像された被写体の特徴量を評価する第2の検出アルゴリズムは、撮像されている被写体が検出対象の被写体であるかどうかを評価する。第2の検出アルゴリズムは、例えば、人体や車両等のオブジェクト検出、顔認証等の同種の被写体に対する識別を目的とした第2の被写体検出処理において利用される。第2の被写体検出処理においては、特徴量の評価に基づき検出対象の被写体であるかを判定する基準として、特徴量の評価方法に応じた所定の輝度差を用いる。第2の被写体検出処理においては、所定の特徴量を有する被写体(特定の人物、或いは、特定の車両等)が撮像画像中に含まれる場合に、当該被写体を検出することができる。 Next, the second detection algorithm for evaluating the feature amount of the captured subject evaluates whether or not the captured subject is the subject to be detected. The second detection algorithm is used in, for example, a second subject detection process for the purpose of identifying an object of the same type such as a human body or a vehicle, face recognition, or the like. In the second subject detection process, a predetermined luminance difference according to the feature amount evaluation method is used as a criterion for determining whether or not the subject is a detection target based on the feature amount evaluation. In the second subject detection process, when a subject having a predetermined feature amount (a specific person, a specific vehicle, or the like) is included in the captured image, the subject can be detected.
上記2つの検出処理を比較すると、第1の種別の検出処理における輝度差よりも、特徴量の評価等、被写体の識別に用いられる第2の種別の検出処理における輝度差の方が、検出に必要な輝度差は小さい傾向にある。本実施形態では、階調数を制御することにより撮像画像のデータサイズを低減可能とするものであるが、特徴量を評価する第2の種別の検出処理の方が画素の階調数の削減による影響を強く受けるといえる。 Comparing the above two detection processes, the difference in brightness in the second type of detection process used for identifying the subject, such as the evaluation of the feature amount, is more detected than the difference in brightness in the first type of detection process. The required brightness difference tends to be small. In the present embodiment, the data size of the captured image can be reduced by controlling the number of gradations, but the second type of detection processing for evaluating the feature amount reduces the number of gradations of pixels. It can be said that it is strongly influenced by.
このように検出処理の種別に応じて必要な輝度差は異なるため、本実施形態では検出処理の種別に応じて、必要な階調数を個々に用意する。ここで、本実施形態において諧調数とは、1つの画素値を表現する範囲、或いは、画素値が取りえる段階数として表現される。例えば、1画素を0から255までの値により表現する場合、256(8ビット)が階調数となる。本実施形態では、256を基準の階調数とする。 As described above, since the required luminance difference differs depending on the type of detection processing, in the present embodiment, the required number of gradations is individually prepared according to the type of detection processing. Here, in the present embodiment, the gradation number is expressed as a range in which one pixel value is expressed or a number of steps in which the pixel value can be taken. For example, when one pixel is represented by a value from 0 to 255, 256 (8 bits) is the number of gradations. In this embodiment, 256 is set as a reference gradation number.
次に、本実施形態における、検出処理の種別と階調数との関係を、図3を参照して説明する。図3は、被写体検出処理の種別と設定される階調数との関係を示すテーブル300である。当該テーブル300は例えば記憶部118に保持しておくことができる。検出種別には、上述の第1の被写体検出処理から置き去り検出、持ち去り検出、侵入・通過検出を、第2の被写体検出処理から、オブジェクト検出、顔認証を例として示す。
Next, the relationship between the type of detection process and the number of gradations in the present embodiment will be described with reference to FIG. FIG. 3 is a table 300 showing the relationship between the type of subject detection processing and the set number of gradations. The table 300 can be stored in, for example, a
本実施形態では階調調整前の元の階調数を基準階調数の256とし、階調数削減後の階調数のうちデータサイズの低減を目的とした第1の階調数を60とする。第1の階調数を適用することにより、ビット数換算では1画素を表現するビット数を8ビットから6ビットまで、2ビット分低減することが可能となる。このような第1の階調数の画像では、階調数削減によりデータサイズを低減できる一方、画素間の輝度差が不十分である場合には画像に含まれる所定の被写体の存在を検出・判定することが困難となり、検出精度が低下してしまう。そこで、本実施形態では、検出対象の被写体の種別、換言すると、実行する検出処理の種別に応じて階調数削減後の階調数を第1の階調数よりも増加させた第2の階調数に設定する。 In the present embodiment, the original gradation number before gradation adjustment is set to 256 as the reference gradation number, and the first gradation number for the purpose of reducing the data size among the gradation numbers after the gradation number reduction is 60. And. By applying the first number of gradations, it is possible to reduce the number of bits representing one pixel from 8 bits to 6 bits by 2 bits in terms of the number of bits. In such an image with the first gradation number, the data size can be reduced by reducing the gradation number, but when the brightness difference between pixels is insufficient, the presence of a predetermined subject included in the image is detected. It becomes difficult to judge, and the detection accuracy is lowered. Therefore, in the present embodiment, the second gradation number after the gradation number reduction is increased from the first gradation number according to the type of the subject to be detected, in other words, the type of the detection process to be executed. Set to the number of gradations.
第1の階調数を60とした場合、第2の階調数は少なくとも第1の階調数よりも大きい値である一方で、データサイズの削減効果を維持するために基準の階調数256よりも小さい値とする。図3の例では、置き去り検出を80、持ち去り検出を80、侵入・通過検出を100、オブジェクト検出を150、顔認証を200としているが、これらの設定値はあくまで一例であって、これに限定されるものではない。 When the first gradation number is 60, the second gradation number is at least a value larger than the first gradation number, while the reference gradation number is maintained in order to maintain the effect of reducing the data size. The value shall be smaller than 256. In the example of FIG. 3, the abandonment detection is 80, the take-away detection is 80, the intrusion / passage detection is 100, the object detection is 150, and the face recognition is 200. However, these setting values are just examples. It is not limited.
階調数制御を画像に適用する場合、ガンマカーブの値域を制御する。図4は、ガンマカーブの値域と第1の階調数と第2の階調数との大小関係を表したグラフ400の一例である。図4において、第1の階調数に設定した場合のガンマカーブ401(点線)に対し、第2の階調数に設定した場合のガンマカーブ402(実線)の方が、出力輝度の範囲が大きくなっている。図4に示す第2の階調数に対応するガンマカーブは一例であり、検出種別に応じたガンマカーブを設定することができる。階調数の変換は、設定されたガンマカーブに基づいて実行する。
When applying gradation control to an image, the range of the gamma curve is controlled. FIG. 4 is an example of a
次に、第1の階調数および第2の階調数について、具体的な値を決定する方法を説明する。第1の階調数および第2の階調数は、予め決められた固定値(以降、プリセットと呼ぶ)であっても、ユーザのマニュアル入力で決められても良いし、また、第2の階調数は、検出された(或いは、検出すべき)被写体に応じて動的に算出されてもよい。プリセットの場合、検出処理の種別に応じて一意に階調数が用意されていてもよいし、多様なシーンに対応させる為に、第2の階調数に対して、複数のレベルを設けることでシーンに応じた値をユーザに選択させる態様となってもよい。ユーザにマニュアル入力させる場合を考えると、入力方法は、ユーザインタフェース上でスライドバーによって入力する態様でも良いし、直接数値を入力する態様でもよい。また、撮像装置110の外装等に取り付けられたボタン等の操作部115を利用して値を設定してもよい。
Next, a method of determining specific values for the first gradation number and the second gradation number will be described. The first gradation number and the second gradation number may be predetermined fixed values (hereinafter referred to as presets), may be determined manually by the user, or may be determined by the user's manual input. The number of gradations may be dynamically calculated according to the detected (or to be detected) subject. In the case of a preset, the number of gradations may be uniquely prepared according to the type of detection processing, or a plurality of levels are provided for the second number of gradations in order to correspond to various scenes. In this mode, the user may be allowed to select a value according to the scene. Considering the case where the user manually inputs, the input method may be a mode of inputting by a slide bar on the user interface or a mode of directly inputting a numerical value. Further, the value may be set by using the
また、被写体に応じて動的に算出する場合、画像処理部114は、動体領域を抽出するための機能構成ブロックを更に有することができる。当該動体領域抽出により、動きのある被写体が撮像された場合に、画像を動体領域とそれ以外の背景領域に分離することができる。この動体領域を注目被写体が撮像された領域(以降、被写体領域)として、被写体領域と背景領域の輝度を個別に評価する。このとき得られる被写体領域と背景領域の輝度差が、検出に必要な所定の輝度差となるように、第2の階調数を設定することができる。また、当該設定方法は、第2の階調数を予め設定する場合にも利用できる。例えば、検出対象の被写体、及び、当該被写体が検出される領域を予め想定して得られる仮想的な被写体領域と背景領域との輝度差を算出し、当該輝度差に基づいて第2の階調数を設定することができる。このとき、想定からのずれを補償するように、輝度差には一定の範囲を与えておくことができる。
Further, in the case of dynamically calculating according to the subject, the
また、シーンやユーザの設定に応じて、設定される第2の階調数を調整する機能を更に有することができる。例えば、撮像環境の照度が低い(暗い)場合(以降、低照度と呼ぶ)では、撮像環境が明るい時に比べて画像のコントラストが低下することが考えられる。そのため、本実施形態では、撮像環境の照度を評価するための照度推定の機能構成を追加することができる。この場合、推定された照度に応じて、検出部1142の検出精度を劣化させないような第2の階調数を設定する。
Further, it is possible to further have a function of adjusting the set second gradation number according to the scene and the user's setting. For example, when the illuminance of the imaging environment is low (dark) (hereinafter referred to as low illuminance), the contrast of the image may be lower than when the imaging environment is bright. Therefore, in the present embodiment, it is possible to add a functional configuration of illuminance estimation for evaluating the illuminance of the imaging environment. In this case, a second number of gradations is set according to the estimated illuminance so as not to deteriorate the detection accuracy of the
ここで照度推定は、例えば、光センサなどの外側センサからの出力値や、撮像装置110における露光量と画像の輝度情報とに基づいて行うことができる。具体的な処理として、照度推定によって得られた環境照度が所定の閾値を下回った場合、図3に示すような所定の係数(+10%=1.10)を第2の階調数に掛けることで照度を補正することができる。また、これ以外にも、照度から第2の階調数を決定する関数やテーブルが与えられてもよい。
Here, the illuminance estimation can be performed based on, for example, the output value from an outer sensor such as an optical sensor, the exposure amount in the
また、第2の階調数が設定された後の画像も、撮像環境の変化によって検出漏れが生ずる可能性が考えられる。そのため撮像システム100では、検出漏れの問題を考慮して、検出部1142における検出精度とデータサイズ低減のいずれを優先するかを、ユーザに選択させる態様であってもよい。この場合、検出精度を優先するモードでは第2の階調数を大きくし、データサイズ低減を優先するモードでは第2の階調数を小さくしてもよい。このとき、図4に示すように、検出精度を優先する場合は+5%の係数(1.05)を掛けるようにし、データサイズを優先する場合には−5%の係数(0.95)を掛けるようにしてもよい。これらの所定の係数は任意の値とすることができ、固定値でも、ユーザのマニュアル入力によって決定する値でもよい。
Further, it is considered that the image after the second gradation number is set may also be missed due to the change in the imaging environment. Therefore, in the
次に、図5のフローチャートを参照して、本実施形態に対応する撮像装置110における処理の流れを説明する。
Next, the flow of processing in the
まず、S501において、検出種別設定部1143が検出種別を設定する。撮像装置110のユーザは操作部115を介して検出種別を設定することができる。例えば、本実施形態では、置き去り検出、持ち去り検出、侵入・通過検出、オブジェクト検出及び顔認証の中から少なくとも1つの検出種別を選択して、設定することができる。また、検出種別を選択せず、被写体検出処理は行わずに監視区域を撮像して画像を出力するだけの設定としてもよい。このときユーザは、検出精度を優先するモードと、データサイズを優先するモードとのいずれかを追加で選択することができる。当該情報はモード選択情報として記憶部118に保持される。
First, in S501, the detection
次に、S502において、階調数制御部1141は、記憶部118に記憶された情報に基づき、検出種別設定部1143により検出種別が設定されたか否かを判定する。もし、検出種別が設定されないと判定されると処理はS503に進む。S503において、階調数制御部1141は階調数を第1の階調数に決定し、撮像画像の階調変換処理を行う。階調変換処理は、決定された第1の階調数に基づくガンマカーブに基づき実行する。このとき、階調数制御部1141は、撮像画像がRGBの場合には、RGBの各色成分について階調変換を行い、YUV変換をした後であれば輝度画像のみ、或いは、YUVの各成分に対して階調変換を行う。階調変換処理を行った後、処理はS508に進む。
Next, in S502, the gradation
検出種別が設定されたと判定されると処理はS504に進む。S504において階調数制御部1141は、設定された検出種別と、図3に示すテーブル300の登録情報に基づいて、第2の階調数から階調数を決定する。例えば、置き去り検出が選択されていた場合には、第2の階調数として80を選択する。また、例えば、侵入・通過検出と、オブジェクト検出のように複数の検出種別が選択された場合、検出に必要な所定の輝度差を実現するための階調数のうち、より大きな諧調数を選択する。
When it is determined that the detection type has been set, the process proceeds to S504. In S504, the gradation
続くS505では、階調数制御部1141はS501において保持されたモード選択情報と、図3のテーブル300の登録情報とに基づいて、S504で選択された階調数の補正を行う。また、撮像環境における照度と当該テーブル300の登録情報とに基づき照度補正用の係数を用いた上述の照度補正を行う。
In the subsequent S505, the gradation
続くS506において階調数制御部1141は、補正後の階調数に基づき、撮像画像の階調変換処理を行う。階調変換処理は、設定された階調数に基づくガンマカーブに基づき実行する。階調数制御部1141は、撮像画像がRGBの場合には、RGBの各色成分について階調変換を行い、YUV変換をした後であれば輝度画像のみ、或いは、YUVの各成分に対して階調変換を行う。
In the subsequent S506, the gradation
続くS507において、検出部1142が階調変換後の画像において、S501において設定された検出種別に対応する被写体検出処理を行う。続くS508では、階調変換後の画像及び検出された被写体の情報を含む検出結果を出力する。当該画像及び被写体情報は通信部117からネットワーク140を介して情報処理装置120や表示装置130に送信される。
In the subsequent S507, the
以上に説明した実施形態に対応する処理によれば、撮像画像のデータサイズを低減し、画像を配信する際の配信負荷の軽減に貢献しつつ、画像から所望の被写体等を検出する処理を実行する設定がなされた場合は、検出精度を劣化させない階調数に設定することができる。ここで、本実施形態では設定された検出処理の種別に応じた階調数を用意するので、検出処理の精度を確保しつつも、検出処理の種別に応じてデータサイズを可能な限り削減できる。 According to the process corresponding to the embodiment described above, the process of detecting a desired subject or the like from the image is executed while reducing the data size of the captured image and contributing to the reduction of the distribution load when the image is distributed. When the setting is made, the number of gradations can be set so as not to deteriorate the detection accuracy. Here, in the present embodiment, since the number of gradations is prepared according to the set type of detection processing, the data size can be reduced as much as possible according to the type of detection processing while ensuring the accuracy of the detection processing. ..
[実施形態2]
実施形態1では、検出種別が設定された場合には、実際に所望の被写体等が検出されているかどうかにかかわらず、階調数が第2の階調数に維持されることとなる。例えば、監視領域に被写体が存在していない場合、或いは、被写体に変化がない場合には、有意な検出結果が得られないため、単に撮像対象の領域を撮像していることと変わりがない。このように被写体について有意な情報が検出されることがない状況下では、撮像画像を第1の階調数で出力しても検出精度に関わる問題は生じえない。むしろ、データサイズを第2の階調数に基づく大きさに維持しなければならない理由もないため、データサイズを更に低減できる余地が残されているといえる。
[Embodiment 2]
In the first embodiment, when the detection type is set, the number of gradations is maintained at the second number of gradations regardless of whether or not a desired subject or the like is actually detected. For example, when there is no subject in the monitoring area, or when there is no change in the subject, no significant detection result can be obtained, so that there is no difference from simply photographing the area to be imaged. In such a situation where no significant information about the subject is detected, even if the captured image is output with the first gradation number, the problem related to the detection accuracy cannot occur. Rather, there is no reason why the data size must be maintained at a size based on the second number of gradations, so it can be said that there is room for further reduction of the data size.
そこで本実施形態では、撮像画像内で被写体検出に関する情報を更に参照して階調数を決定する。例えば、画像処理部114内に動き検出部の機能構成を更に追加し、当該動き検出部により被写体の動きを検出したタイミングで、第2の階調数に設定する。これにより、被写体が存在し、検出処理を実行すべきタイミングにおいて階調数を第2の階調数として検出精度を確保する一方で、被写体が存在していない場合には第1の階調数を維持してより高いデータサイズ低減効果を実現する。
Therefore, in the present embodiment, the number of gradations is determined by further referring to the information related to subject detection in the captured image. For example, the functional configuration of the motion detection unit is further added to the
画像処理部114内の動き検出部は、画角内に撮像された被写体の動きを検出する部であり、例えば処理対象のフレーム画像と背景画像との差分や、フレーム間差分に基づき、差分が閾値以上であるか否かに基づいて被写体の存在、或いは、動きを検出することができる。また、画像処理部114内でなく、例えば撮像部112に含まれる符号化部からフレーム間の動き情報を取得して判定してもよい。いずれの場合においても、動き検出処理自体は公知の技術であるので、更なる詳細は省略する。
The motion detection unit in the
本実施形態に対応する処理においては、図5のフローチャートのS502において、設定の有無に追加して、被写体の動きがあるかどうかに更に基づいて分岐先を決定することができる。具体的に、検出種別が設定されている場合であっても、撮像画像において被写体の動きが検出されない場合には、処理はS503に進み、階調数は第1の階調数に設定されて階調変換が行われる。一方、検出種別が設定され、かつ、撮像画像において被写体の動きが検出された場合には、処理はS504に進み、階調数は第2の階調数に設定される。 In the process corresponding to the present embodiment, in S502 of the flowchart of FIG. 5, the branch destination can be determined based on whether or not there is movement of the subject in addition to the presence or absence of the setting. Specifically, even when the detection type is set, if the movement of the subject is not detected in the captured image, the process proceeds to S503 and the gradation number is set to the first gradation number. Gradation conversion is performed. On the other hand, when the detection type is set and the movement of the subject is detected in the captured image, the process proceeds to S504 and the number of gradations is set to the second number of gradations.
以上の本実施形態によれば、撮像画像に被写体が存在しない、或いは、被写体に変化がない状況下では第1の階調数を選択することでデータサイズを低減しつつ、被写体が存在する、或いは、被写体に変化がある状況下では設定された検出種別に応じた階調数を選択することで検出精度を確保することができる。これにより、データサイズをより効率的に低減することができる。 According to the above embodiment, in a situation where the subject does not exist in the captured image or the subject does not change, the subject exists while reducing the data size by selecting the first gradation number. Alternatively, when there is a change in the subject, the detection accuracy can be ensured by selecting the number of gradations according to the set detection type. Thereby, the data size can be reduced more efficiently.
[実施形態3]
上述の2つの実施形態においては、階調数を決定し階調変換した後に検出処理を行う構成について説明した。当該構成においては、検出部1142による検出精度に影響を与えないように階調数を制御しつつ、データサイズの削減を図ることとした。また、モード選択や低照度の場合等について、諧調値を補正することで検出漏れの防止の処理を講じているものの、撮像シーンやカメラの状態によっては、階調数が削減されたことに起因する検出漏れが依然として回避できないおそれもある。これに対し本実施形態では、処理の順序を変更し、検出部1142で画像を解析して検出処理を行った後に、階調数制御部1141で階調数制御を行う構成とすることで上記のような状況に対処する。
[Embodiment 3]
In the above two embodiments, a configuration in which the detection process is performed after determining the number of gradations and converting the gradations has been described. In this configuration, the data size is reduced while controlling the number of gradations so as not to affect the detection accuracy by the
具体的に本実施形態においても、実施形態1と同様、検出種別設定部1143により検出種別が設定された場合、設定された検出種別に応じた画像の階調数を、階調数制御部1141によって撮像画像の階調数として設定する。その前提において、階調数制御に起因する検出漏れを低減するために階調数の設定と検出処理の順序を入れ替える。
Specifically, also in the present embodiment, as in the first embodiment, when the detection type is set by the detection
次に、図6のフローチャートを参照して、本実施形態に対応する撮像装置110における処理の流れを説明する。図6のフローチャートにおいて図5と同内容の処理を行う工程に対しては、対応する工程番号を付している。当該工程については説明を適宜省略する。
Next, the flow of processing in the
S501において検出種別設定部1143が検出種別の設定を受け付けた後、S502において検出種別の設定が行われたと判定されると、処理はS601に進む。S601において、検出部1142は、階調変換前の撮像画像(階調数:256)について、S501において設定された検出種別に対応する被写体検出処理を行う。続くS602では、検出部1142は、検出処理の結果として所定の検出結果が得られたかどうかを判定する。ここで所定の検出結果とは、検出処理における有意な検出結果を意味する。例えば、置き去り検出であれば、オブジェクト(人物、物体、車両等)が監視空間内に置き去りにされたことを検出したことをいう。また、持ち去り検出であれば、監視空間内に存在していたオブジェクトが持ち去られたことを検出したことをいう。また、侵入・通過検出であれば、監視空間内に人物や車両が侵入、あるいは、通過したことを検出したことを言う。更に、オブジェクト検出や顔認証の場合、特定の人物、車両等が同定されたことをいう。一方、所定の検出結果が得られない場合とは、当該有意な検出結果が得られなかったことを意味する。
After the detection
所定の検出結果が得られたと判定された場合、処理はS504に進み、所定の検出結果が得られなかったと判定された場合S503に進む。以降は図5との関連で実施形態1において説明したのと同様の処理を行う。但し、S507における検出処理はS601において既に実施済みであるので省略する。 If it is determined that a predetermined detection result has been obtained, the process proceeds to S504, and if it is determined that a predetermined detection result has not been obtained, the process proceeds to S503. After that, the same processing as described in the first embodiment is performed in relation to FIG. However, since the detection process in S507 has already been performed in S601, it is omitted.
このようにして、本実施形態では階調変換を行う前の下の階調数の画像において被写体検出を行うので、検出漏れを防止することができる。また、検出部1142が所定の被写体を検出しない場合にデータサイズ低減のために第1の階調数が設定され、検出部1142が所定の被写体を検出した場合に設定された検出種別に応じた第2の階調数が設定される。ここで、検出を先に行っているため、第1の階調数に一律に変換してもよいが、被写体が検出された場合には当該所定の被写体の視認性を確保するため、第1の階調数まで落とさずに、検出される被写体の種類に応じた検出種別ごとの第2の階調数に変更する。これにより、被写体が検出された場合には被写体の視認性を確保しつつもデータサイズを効率的に低減することができる。なお、データサイズを優先するモードが選択されていた場合には、被写体が検出された場合であっても階調数を第1の階調数まで落としてもよい。
In this way, in the present embodiment, the subject is detected in the image having the lower gradation number before the gradation conversion is performed, so that the detection omission can be prevented. Further, when the
以上の本実施形態によれば、階調数を変換する前の元の撮像画像において検出処理を行い、その結果に応じて階調数を切り替えるようにする。これにより、被写体検出漏れを防止しつつ、効率的にデータサイズを低減することが可能となる。 According to the above embodiment, the detection process is performed on the original captured image before the gradation number is converted, and the gradation number is switched according to the result. This makes it possible to efficiently reduce the data size while preventing omission of subject detection.
[実施形態4]
上述の実施形態1から3においては、設定された検出種別に応じた検出処理を撮像装置110側で実行していた。しかし、検出処理に高負荷な演算を要する場合には、撮像装置110側に高品質なプロセッサを搭載する必要がある。さもなくば、検出処理に計算リソースの多くが割かれることとなり、結果としてフレームレートの低下等の配信負荷が増大してしまうおそれがある。そこで、本実施形態では、実施形態1及び2において説明した撮像画像に対する検出処理を情報処理装置120側で実行することとし、撮像装置110における演算負荷の低減を図る。
[Embodiment 4]
In the above-described first to third embodiments, the detection process according to the set detection type is executed on the
本実施形態に対応する処理では、図5のフローチャートにおけるS507の処理を情報処理装置120側で実行すると共に、S508においては階調数を変換した後の画像のみを通信部117からネットワーク140を介して情報処理装置120に送信する。情報処理装置120は、撮像装置110から撮像画像を受信すると、画像処理部123において、階調変換後の画像において、S501において設定された検出種別に対応する被写体検出処理を行う。なお、設定された検出種別の情報は、画像と共に撮像装置110から受信してもよいし、処理の開始時に必要な設定情報を撮像装置110から受信しておいてもよい。また、検出種別についての設定情報が撮像装置110から取得できなかった場合には、検出処理を省略してもよい。
In the process corresponding to the present embodiment, the process of S507 in the flowchart of FIG. 5 is executed on the
本実施形態によれば、撮像装置110と情報処理装置120との間において配信される画像のデータサイズを低減しつつ、撮像装置110側における演算負担を軽減することができる。また、情報処理装置120側では、設定された検出処理の種別に応じた階調数の画像を取得して検出処理を行うことで、データサイズを削減しつつも検出処理の精度を確保することができる。
According to the present embodiment, it is possible to reduce the calculation load on the
発明は上記実施形態に制限されるものではなく、発明の精神及び範囲から離脱することなく、様々な変更及び変形が可能である。従って、発明の範囲を公にするために請求項を添付する。 The invention is not limited to the above embodiments, and various modifications and modifications can be made without departing from the spirit and scope of the invention. Therefore, a claim is attached to make the scope of the invention public.
(その他の実施例)
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
(Other Examples)
The present invention supplies a program that realizes one or more functions of the above-described embodiment to a system or device via a network or storage medium, and one or more processors in the computer of the system or device reads and executes the program. It can also be realized by the processing to be performed. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.
100:撮像システム、110:撮像装置、120:情報処理装置、130:表示装置、140:ネットワーク 100: Imaging system, 110: Imaging device, 120: Information processing device, 130: Display device, 140: Network
Claims (16)
撮像画像に対して行う被写体の検出処理を設定する設定手段と、
前記設定された検出処理の種別に応じて、階調数削減後の前記撮像画像の階調数を決定し、決定した階調数に前記撮像画像を変換する階調数制御手段と、
前記階調数が変換された前記撮像画像から、前記設定された検出処理を実行する検出手段と、
前記階調数が変換された前記撮像画像と、前記検出手段により前記検出処理が実行された場合の検出結果とを出力する出力手段と
を備え、
前記階調数制御手段は、
前記設定手段により前記検出処理が設定されなかった場合に、第1の階調数を前記階調数削減後の階調数に決定し、
前記設定手段により前記検出処理が設定された場合に、前記第1の階調数よりも大きい第2の階調数を前記階調数削減後の階調数に決定することを特徴とする画像処理装置。 It is an image processing device
Setting means for setting subject detection processing for captured images, and
A gradation number control means that determines the number of gradations of the captured image after reducing the number of gradations according to the set type of detection processing and converts the captured image to the determined gradation number.
A detection means that executes the set detection process from the captured image to which the number of gradations has been converted, and
The image pickup image to which the number of gradations is converted and the output means for outputting the detection result when the detection process is executed by the detection means are provided.
The gradation number control means
When the detection process is not set by the setting means, the first gradation number is determined to be the gradation number after the gradation number reduction.
An image characterized in that, when the detection process is set by the setting means, a second gradation number larger than the first gradation number is determined as the gradation number after the gradation number reduction. Processing equipment.
前記階調数制御手段は、
前記検出手段が前記被写体の動きを検出しなかった場合、及び、前記設定手段により前記検出処理が設定されなかった場合に、前記第1の階調数を前記階調数削減後の階調数に決定し、
前記動き検出手段が前記被写体の動きを検出し、かつ、前記設定手段により前記検出処理が設定された場合に、前記第2の階調数を前記階調数削減後の階調数に決定する
ことを特徴とする請求項1に記載の画像処理装置。 A motion detecting means for detecting the motion of the subject in the captured image is further provided.
The gradation number control means
When the detection means does not detect the movement of the subject and when the detection process is not set by the setting means, the first gradation number is reduced to the gradation number after the gradation number is reduced. Decided to
When the motion detecting means detects the motion of the subject and the detection process is set by the setting means, the second gradation number is determined to be the gradation number after the gradation number is reduced. The image processing apparatus according to claim 1.
撮像画像に対して行う被写体の検出処理を設定する設定手段と、
前記撮像画像から、前記設定された検出処理を実行する検出手段と、
前記設定された検出処理の種別と、前記検出処理の検出結果に応じて、階調数削減後の前記撮像画像の階調数を決定し、決定した階調数に前記撮像画像を変換する階調数制御手段と、
前記階調数が変換された前記撮像画像と、前記検出手段により前記検出処理が実行された場合の検出結果とを出力する出力手段と
を備え、
前記階調数制御手段は、
前記設定手段により前記検出処理が設定されなかった場合、及び、前記設定された検出処理を実行して所定の検出結果が得られなかった場合に、第1の階調数を前記階調数削減後の階調数に決定し、
前記設定手段により前記検出処理が設定された場合であって、かつ、前記設定された検出処理を実行して前記所定の検出結果が得られた場合に、前記第1の階調数よりも大きい第2の階調数を前記階調数削減後の階調数に決定することを特徴とする画像処理装置。 It is an image processing device
Setting means for setting subject detection processing for captured images, and
A detection means that executes the set detection process from the captured image, and
The number of gradations of the captured image after the number of gradations is reduced is determined according to the set type of detection processing and the detection result of the detection processing, and the image is converted to the determined gradation number. Key control means and
The image pickup image to which the number of gradations is converted and the output means for outputting the detection result when the detection process is executed by the detection means are provided.
The gradation number control means
When the detection process is not set by the setting means, or when a predetermined detection result is not obtained by executing the set detection process, the first gradation number is reduced. Decide on the number of gradations later,
It is larger than the first gradation number when the detection process is set by the setting means and when the set detection process is executed and the predetermined detection result is obtained. An image processing device characterized in that the second gradation number is determined to be the gradation number after the gradation number reduction.
前記複数の検出処理のそれぞれには、対応する階調数が割り当てられ、
前記階調数制御手段は、前記設定された検出処理に対応する階調数を前記第2の階調数とすることを特徴とする請求項1から3のいずれか1項に記載の画像処理装置。 The setting means performs the setting from a plurality of detection processes, and then performs the setting.
A corresponding number of gradations is assigned to each of the plurality of detection processes.
The image processing according to any one of claims 1 to 3, wherein the gradation number control means sets the gradation number corresponding to the set detection processing as the second gradation number. apparatus.
前記階調数制御手段は、
前記第1のモードが選択された場合に、前記第2の階調数を増加するように補正し、
前記第2のモードが選択された場合に、前記第2の階調数を削減するように補正し、
補正後の第2の階調数に前記撮像画像を変換することを特徴とする請求項1から8のいずれか1項に記載の画像処理装置。 When setting the detection process, the setting means has a first mode in which the detection accuracy of the detection process is prioritized and a second mode in which the data size of the captured image after converting the number of gradations is prioritized. Select one of
The gradation number control means
When the first mode is selected, the correction is made so as to increase the number of the second gradations.
When the second mode is selected, the correction is made so as to reduce the number of the second gradations.
The image processing apparatus according to any one of claims 1 to 8, wherein the captured image is converted into a second gradation number after correction.
前記撮像手段が撮像した撮像画像を処理する請求項1から10のいずれか1項に記載の画像処理装置と
を備える撮像装置。 Imaging means and
An imaging device including the image processing device according to any one of claims 1 to 10, which processes an captured image captured by the imaging means.
前記撮像装置は、
撮像手段と、
前記撮像手段が撮像した撮像画像に対して行う被写体の検出処理を設定する設定手段と、
前記設定された検出処理の種別に応じて、階調数削減後の前記撮像画像の階調数を決定し、決定した階調数に前記撮像画像を変換する階調数制御手段と、
前記階調数が変換された前記撮像画像を前記情報処理装置に送信する通信手段と
を備え、
前記階調数制御手段は、
前記設定手段により前記検出処理が設定されなかった場合に、第1の階調数を前記階調数削減後の階調数に決定し、
前記設定手段により前記検出処理が設定された場合に、前記第1の階調数よりも大きい第2の階調数を前記階調数削減後の階調数に決定し、
前記情報処理装置は、
前記撮像装置から送信された前記階調数が変換された前記撮像画像を受信する通信手段と、
受信した前記階調数が変換された前記撮像画像から、前記設定された検出処理を実行する検出手段と
を備えることを特徴とする撮像システム。 An imaging system composed of an imaging device and an information processing device communicating with each other.
The image pickup device
Imaging means and
A setting means for setting a subject detection process for an captured image captured by the imaging means, and
A gradation number control means that determines the number of gradations of the captured image after reducing the number of gradations according to the set type of detection processing and converts the captured image to the determined gradation number.
It is provided with a communication means for transmitting the captured image to which the number of gradations is converted to the information processing apparatus.
The gradation number control means
When the detection process is not set by the setting means, the first gradation number is determined to be the gradation number after the gradation number reduction.
When the detection process is set by the setting means, a second gradation number larger than the first gradation number is determined as the gradation number after the gradation number reduction.
The information processing device
A communication means for receiving the captured image in which the number of gradations transmitted from the imaging device is converted, and
An imaging system including a detection means for executing the set detection process from the received image to which the number of gradations is converted.
前記撮像画像において被写体の動きを検出する動き検出手段を更に備え、
前記階調数制御手段は、
前記検出手段が前記被写体の動きを検出しなかった場合、及び、前記設定手段により前記検出処理が設定されなかった場合に、前記第1の階調数を前記階調数削減後の階調数に決定し、
前記動き検出手段が前記被写体の動きを検出し、かつ、前記設定手段により前記検出処理が設定されなかった場合に、前記第2の階調数を前記階調数削減後の階調数に決定する
ことを特徴とする請求項12に記載の撮像システム。 The image pickup device
A motion detecting means for detecting the motion of the subject in the captured image is further provided.
The gradation number control means
When the detection means does not detect the movement of the subject and when the detection process is not set by the setting means, the first gradation number is reduced to the gradation number after the gradation number is reduced. Decided to
When the motion detecting means detects the motion of the subject and the detection process is not set by the setting means, the second gradation number is determined to be the gradation number after reducing the gradation number. The imaging system according to claim 12, wherein the image pickup system is made.
設定手段が、撮像画像に対して行う被写体の検出処理を設定する設定工程と、
階調数制御手段が、前記設定された検出処理の種別に応じて、階調数削減後の前記撮像画像の階調数を決定し、決定した階調数に前記撮像画像を変換する階調数制御工程と、
検出手段が、前記階調数が変換された前記撮像画像から、前記設定された検出処理を実行する検出工程と、
出力手段が、前記階調数が変換された前記撮像画像と、前記検出工程において前記検出処理が実行された場合の検出結果とを出力する出力工程と
を含み、
前記階調数制御工程では、
前記設定工程において前記検出処理が設定されなかった場合に、第1の階調数を前記階調数削減後の階調数に決定し、
前記設定工程において前記検出処理が設定された場合に、前記第1の階調数よりも大きい第2の階調数を前記階調数削減後の階調数に決定することを特徴とする画像処理装置の制御方法。 It is a control method of an image processing device.
The setting means sets the subject detection process for the captured image, and
The gradation number control means determines the gradation number of the captured image after the gradation number is reduced according to the type of the set detection process, and converts the captured image into the determined gradation number. Number control process and
A detection step in which the detection means executes the set detection process from the captured image to which the number of gradations has been converted.
The output means includes an output step of outputting the captured image to which the number of gradations is converted and a detection result when the detection process is executed in the detection step.
In the gradation number control step,
When the detection process is not set in the setting step, the first gradation number is determined to be the gradation number after the gradation number reduction.
When the detection process is set in the setting step, an image characterized in that a second gradation number larger than the first gradation number is determined as the gradation number after the gradation number reduction. How to control the processing device.
設定手段が、撮像画像に対して行う被写体の検出処理を設定する設定工程と、
検出手段が、前記撮像画像から、前記設定された検出処理を実行する検出工程と、
階調数制御手段が、前記設定された検出処理の種別と、前記検出処理の検出結果に応じて、階調数削減後の前記撮像画像の階調数を決定し、決定した階調数に前記撮像画像を変換する階調数制御工程と、
出力手段が、前記階調数が変換された前記撮像画像と、前記検出工程において前記検出処理が実行された場合の検出結果とを出力する出力工程と
を含み、
前記階調数制御工程では、
前記設定工程において前記検出処理が設定されなかった場合、及び、前記設定された検出処理を実行して所定の検出結果が得られなかった場合に、第1の階調数を前記階調数削減後の階調数に決定し、
前記設定工程において前記検出処理が設定された場合であって、かつ、前記設定された検出処理を実行して前記所定の検出結果が得られた場合に、前記第1の階調数よりも大きい第2の階調数を前記階調数削減後の階調数に決定することを特徴とする画像処理装置の制御方法。 It is a control method of an image processing device.
The setting means sets the subject detection process for the captured image, and
A detection step in which the detection means executes the set detection process from the captured image, and
The gradation number control means determines the gradation number of the captured image after reducing the gradation number according to the set type of detection processing and the detection result of the detection processing, and obtains the determined gradation number. The gradation number control step for converting the captured image and
The output means includes an output step of outputting the captured image to which the number of gradations is converted and a detection result when the detection process is executed in the detection step.
In the gradation number control step,
When the detection process is not set in the setting step, or when a predetermined detection result is not obtained by executing the set detection process, the first gradation number is reduced. Decide on the number of gradations later,
When the detection process is set in the setting step and when the set detection process is executed and the predetermined detection result is obtained, the number of gradations is larger than the first gradation number. A control method of an image processing apparatus, characterized in that the second gradation number is determined to be the gradation number after the gradation number is reduced.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019144828A JP2021027490A (en) | 2019-08-06 | 2019-08-06 | Image processing device, imaging device, imaging system, control method of the image processing device, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019144828A JP2021027490A (en) | 2019-08-06 | 2019-08-06 | Image processing device, imaging device, imaging system, control method of the image processing device, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2021027490A true JP2021027490A (en) | 2021-02-22 |
Family
ID=74664165
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019144828A Pending JP2021027490A (en) | 2019-08-06 | 2019-08-06 | Image processing device, imaging device, imaging system, control method of the image processing device, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2021027490A (en) |
-
2019
- 2019-08-06 JP JP2019144828A patent/JP2021027490A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111698434B (en) | Image processing apparatus, control method thereof, and computer-readable storage medium | |
US8885061B2 (en) | Image processing apparatus, image processing method and program | |
US8363131B2 (en) | Apparatus and method for local contrast enhanced tone mapping | |
JP5983616B2 (en) | Imaging apparatus, imaging method, and program | |
CN105960658B (en) | Image processing apparatus, image capturing apparatus, image processing method, and non-transitory storage medium that can be processed by computer | |
US8724898B2 (en) | Signal processor and storage medium storing signal processing program | |
US10235972B2 (en) | Bit rate controller and a method for limiting output bit rate | |
JP2018056702A (en) | Image processing device, image processing method and program | |
JP2020202489A (en) | Image processing device, image processing method, and program | |
WO2008056566A1 (en) | Image signal processing apparatus, image signal processing program and image signal processing method | |
WO2006109702A1 (en) | Image processing device, imaging device, and image processing program | |
US8502882B2 (en) | Image pick-up apparatus, white balance setting method and recording medium | |
JP6800806B2 (en) | Image processing equipment, image processing methods and programs | |
US8154618B2 (en) | Imaging apparatus and method for setting the same | |
JP6904838B2 (en) | Image processing device, its control method and program | |
JP2021027490A (en) | Image processing device, imaging device, imaging system, control method of the image processing device, and program | |
US9807311B2 (en) | Imaging apparatus, video data transmitting apparatus, video data transmitting and receiving system, image processing method, and program | |
JP6514577B2 (en) | IMAGE PROCESSING APPARATUS, IMAGE PROCESSING METHOD, AND IMAGING APPARATUS | |
JP2019134332A (en) | Image processor and control method therefor | |
JP7286328B2 (en) | Image processing device, image processing method and program | |
JP5351663B2 (en) | Imaging apparatus and control method thereof | |
JP5307572B2 (en) | Imaging system, video signal processing program, and imaging method | |
JP2022007104A (en) | Image processing apparatus, image processing method, and program | |
JP5208799B2 (en) | Imaging system, video signal processing program, and imaging method | |
CN115442512A (en) | Focusing control method, device, terminal and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20210103 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210113 |