JP4559964B2 - Image processing program - Google Patents
Image processing program Download PDFInfo
- Publication number
- JP4559964B2 JP4559964B2 JP2005373063A JP2005373063A JP4559964B2 JP 4559964 B2 JP4559964 B2 JP 4559964B2 JP 2005373063 A JP2005373063 A JP 2005373063A JP 2005373063 A JP2005373063 A JP 2005373063A JP 4559964 B2 JP4559964 B2 JP 4559964B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- thumbnail
- range
- display
- image data
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Television Signal Processing For Recording (AREA)
- Closed-Circuit Television Systems (AREA)
- Image Analysis (AREA)
- Image Processing (AREA)
Description
この発明は、画像の選択等に使用されるサムネイル画像データを作成するサムネイル作成プログラムに関する。 The present invention relates to a thumbnail creation program for creating thumbnail image data used for image selection and the like.
従来、CCD(Charge Coupled Devices)やCMOS(Complementary Metal Oxide Semiconductor)等の撮像素子を用いた撮像装置による撮像画像を取り込んで表示する画像処理装置が広く用いられている。このような画像処理装置において、モニタ等の表示装置に撮像画像を表示し、マウスやキーボード等の操作によって、撮像画像を任意の大きさに拡大・縮小して表示する機能を有するものも数多く知られている。画像の拡大・縮小には、例えば、アフィン変換が用いられる。 2. Description of the Related Art Conventionally, image processing apparatuses that capture and display an image captured by an imaging apparatus using an imaging element such as a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS) have been widely used. Many such image processing apparatuses have a function of displaying a captured image on a display device such as a monitor and displaying the captured image in an enlarged or reduced size by an operation of a mouse or a keyboard. It has been. For example, affine transformation is used for enlargement / reduction of an image.
また、所望の画像を検索するために、撮像画像から縮小画像(以下、サムネイルと称する)を作成し、このサムネイルを一覧表示する機能を有するものも多い。さらに、特定のサムネイル表示を選択した状態で、一定時間放置すると、当該縮小表示されている画像を拡大表示する手法も提案されている(例えば、特許文献1を参照。)。 Further, in order to search for a desired image, many have a function of creating a reduced image (hereinafter referred to as a thumbnail) from a captured image and displaying a list of the thumbnails. Furthermore, there has been proposed a method for enlarging and displaying the reduced display image when the thumbnail display is left for a certain period of time with a specific thumbnail display selected (see, for example, Patent Document 1).
ところが、一般的に、上記従来技術のようなサムネイルは、撮像画像全体を縮小して作成する。このため、例えば、監視カメラのような同じ範囲を撮像し続けた撮像画像から作成されたサムネイルは、ほぼ同様なものとなり、オペレータは、サムネイルを見ただけで、変化があったか否かを判断するのは困難である。このため、オペレータはサムネイルを選択してそれぞれの画像を全体表示して画像内容を確認するという作業を繰り返し行わなければならず、操作が非常に煩雑になるという問題がある。 However, in general, thumbnails such as those in the conventional art are created by reducing the entire captured image. For this reason, for example, thumbnails created from captured images that continue to capture the same range, such as a surveillance camera, are substantially similar, and the operator can determine whether there has been a change just by looking at the thumbnail. It is difficult. For this reason, the operator has to repeatedly perform the operation of selecting thumbnails, displaying each image as a whole and confirming the contents of the images, and there is a problem that the operation becomes very complicated.
この発明は上記事情に着目してなされたもので、その目的とするところは、画像中の所望の対象物をサムネイルにより容易に認識することができるサムネイル作成プログラムを提供することにある。 The present invention has been made paying attention to the above circumstances, and an object of the present invention is to provide a thumbnail creation program capable of easily recognizing a desired object in an image from a thumbnail.
上記目的を達成するためにこの発明のサムネイル作成プログラムは、サムネイル画像データを作成する画像処理をコンピュータに実行させるサムネイル作成プログラムであって、入力画像データから人物の顔の範囲を検出する検出処理と、前記顔の範囲が所定の画素数より少ないか否かを判定する判定処理と、前記判定手段により前記顔の範囲が前記所定の画素数より少ないと判定された場合に、前記顔の範囲を中心として前記サムネイルの画素数に相当する範囲を入力画像データから切り出して前記サムネイル画像データを作成する編集処理とを備えることを特徴とする。 In order to achieve the above object, a thumbnail creation program of the present invention is a thumbnail creation program for causing a computer to execute image processing for creating thumbnail image data, and a detection process for detecting a range of a human face from input image data; Determination processing for determining whether or not the face range is less than a predetermined number of pixels, and when the determination unit determines that the face range is less than the predetermined number of pixels, And editing processing for cutting out a range corresponding to the number of pixels of the thumbnail from the input image data and generating the thumbnail image data.
このサムネイル作成プログラムでは、入力画像データに含まれる人物のサムネイルを作成する際に、検出された顔の範囲が所定の画素数より少ない場合には、顔の範囲を中心としてサムネイルの画素数に相当する範囲を入力画像データから切り出してサムネイルを作成するようにしている。このようにすることにより、検出された顔のサイズが小さい場合でも、サムネイルのサイズに合わせて拡大されることがないため、モザイク状になることなく、人物を容易に識別することが可能となる。 In this thumbnail creation program, when creating a thumbnail of a person included in the input image data, if the detected face range is smaller than the predetermined number of pixels, this corresponds to the number of thumbnail pixels centered on the face range. The range to be cut out is cut out from the input image data to create a thumbnail. In this way, even when the detected face size is small, the face is not enlarged in accordance with the thumbnail size, so that it is possible to easily identify a person without becoming a mosaic. .
また、この発明のサムネイル作成プログラムは、サムネイル画像データを作成する画像処理をコンピュータに実行させるサムネイル作成プログラムであって、入力画像データから人物の顔の範囲を検出する検出処理と、前記顔の範囲が所定の画素数より少ないか否かを判定する判定処理と、前記判定手段により前記顔の範囲が前記所定の画素数より少ないと判定された場合に、前記顔の範囲に基づいて前記人物の全身又は上半身と想定される範囲を特定して前記入力画像データから切り出して前記サムネイル画像データを作成する編集処理とを備えるものである。 The thumbnail creation program of the present invention is a thumbnail creation program for causing a computer to execute image processing for creating thumbnail image data, the detection processing for detecting a human face range from input image data, and the face range. Determination processing for determining whether or not the number of pixels is less than a predetermined number of pixels, and when the determination means determines that the range of the face is less than the predetermined number of pixels, An editing process for specifying the range assumed to be the whole body or the upper body and cutting out from the input image data to create the thumbnail image data.
上記サムネイル作成プログラムでは、検出された顔の範囲が所定の画素数より少ない場合には、顔の範囲に基づいて人物の全身又は上半身と想定される範囲を表すサムネイルが作成される。このようにすると、顔のサイズが小さい場合でも、全身または上半身を含むようにすることで、適切な拡大率で人物を表示することが可能となり、人物を容易に識別可能なサムネイルを作成することができる。 In the thumbnail creation program, when the detected face range is smaller than a predetermined number of pixels, a thumbnail representing a range assumed to be the whole body or upper body of the person is created based on the face range. In this way, even if the face size is small, by including the whole body or upper body, it is possible to display the person at an appropriate magnification, and create a thumbnail that can easily identify the person Can do.
したがってこの発明によれば、画像中の所望の対象物をサムネイルにより容易に認識することができるサムネイル作成プログラムを提供することができる。 Therefore, according to the present invention, it is possible to provide a thumbnail creation program capable of easily recognizing a desired object in an image from a thumbnail.
以下、図面を参照してこの発明の実施形態について詳細に説明する。
図1は、この発明の一実施形態に係わる画像処理装置を利用した監視システムの概略構成図である。
この監視システムは、画像処理装置1と撮像装置2との間を伝送路3を介して接続可能としたものである。画像処理装置1は、例えば、ブラウザ・ソフトウェアを備えたパーソナル・コンピュータにより構成される。撮像装置2は、例えば、ネットワークカメラやWebカメラにより構成され、撮像管やCCD等の固体撮像素子により撮像された映像をデジタル処理し、ネットワーク・インタフェースを介して映像を配信する機能を有する。伝送路3は、LANケーブル等が用いられ、例えば、アナログ電話網、ISDN網、デジタル専用線網、インターネット等のネットワークに接続されていても良い。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
FIG. 1 is a schematic configuration diagram of a monitoring system using an image processing apparatus according to an embodiment of the present invention.
In this monitoring system, the
図2は、画像処理装置1の機能構成を示すブロック図である。
画像処理装置1は、マイクロプロセッサ等の中央処理ユニット(CPU:Central Processing Unit)11を備えるコンピュータで構成される。このCPU11にバス12を介して、データメモリ13と、プログラムメモリ14とが接続され、さらに、撮像装置インタフェース(撮像装置I/F)15と、入力インタフェース(入力I/F)16と、出力インタフェース(出力I/F)17とが接続される。
FIG. 2 is a block diagram illustrating a functional configuration of the
The
撮像装置I/F15は、CPU11の制御の下、伝送路3を介して上記撮像装置2から撮像画像を受信する。入力I/F16には、キーボードやマウス等の入力装置161が接続され、この入力装置161によりユーザから入力される操作情報を受け付ける。出力I/F17には、液晶表示器(LCD)やテレビジョンモニタ等の表示装置171が接続され、CPU11の制御の下、撮像装置2から得られた撮像画像を表示装置171に出力する。
The imaging device I /
また、データメモリ13は、RAMやハードディスク等の記憶装置により構成され、撮像画像記憶エリア13aとサムネイル記憶エリア13bとを備える。撮像画像記憶エリア13aは、入力I/F16により取り込まれた撮像装置2の撮像画像が画像情報と共にそれぞれ記憶される。画像情報とは、撮像日時、撮像カメラ名、シャッタモードを含む。撮像カメラ名は、例えば、撮像装置2が設置された場所や撮像装置2の監視対象物に関連して付与される名称である。シャッタモードは、オペレータによる手動シャッタによる撮像や、外部センサ等から入力されたアラームに基づいた自動シャッタによる撮像というような撮像方法に関する情報である。サムネイル記憶エリア13bには、上記撮像画像から作成されるサムネイルが記憶される。サムネイルの作成方法については後述する。
The
一方、プログラムメモリ14は、この発明を実現する制御プログラムとして、サムネイル作成プログラム14aと、選択画像表示プログラム14bとが格納される。
サムネイル作成プログラム14aは、撮像画像記憶エリア13aのうちユーザにより指定される画像について、当該画像の所定の画像範囲を縮小させたサムネイルを作成してサムネイル記憶エリア13bに記憶する。選択画像表示プログラム14bは、指定される条件にしたがって選択されたサムネイルに対応する画像の全体表示を行ったり、サムネイルに含まれる対象物を拡大表示したりする機能を有する。
On the other hand, the
The thumbnail creation program 14a creates a thumbnail obtained by reducing a predetermined image range of the image for the image designated by the user in the captured
次に、このように構成される画像処理装置1の動作について説明する。
図3及び図4は、画像処理装置1におけるサムネイル作成処理の手順とその内容を示すフローチャートである。また、図5は、画像処理装置1に表示される操作画面の一例を示す図である。
先ず、図5を参照して操作画面について説明する。
操作画面501は、画像拡大表示部502、画像全体表示部503を備え、その他に、シャッタボタン505、拡大表示位置移動ボタン506a,506b,506c,506d、拡大率変更ボタン507、ファイル選択ボタン508、サムネイル一覧表示エリア509を有する。
Next, the operation of the
FIG. 3 and FIG. 4 are flowcharts showing the procedure and contents of thumbnail creation processing in the
First, the operation screen will be described with reference to FIG.
The
シャッタボタン505は、撮像装置へ画像を取得するためのリクエスト信号を送信するためのボタンで、任意の時間にシャッタボタン505をクリックすることで、撮像装置2で撮像された画像が画像処理装置1に送信され、この撮像画像が画像全体表示部503に表示される。また、ファイル選択ボタン508をクリックして表示されるファイル選択ダイアログ(図示せず)から選択した画像を、画像全体表示部503に表示することもできる。また、画像全体表示部503上で設定した拡大する位置及び拡大率に基づいて表示枠504が表示され、この表示枠504で示した部分画像が画像拡大表示部502に拡大表示される。部分画像の拡大表示の詳細については後述する。
The
また、ディスプレイの画素数よりも画素数の多い高精細画像を使用する場合、アフィン変換により画素の間引きなどによって縮小した全体画像を画像全体表示部503に表示しているが、高精細画像は元々画質の低い例えばVGAサイズの画像(以下、標準画像)に比べ精細度及び画質、画素数、1画素当たりの階調数、圧縮率などが優れているため、高い拡大率を設定して画像拡大表示部502に拡大表示した場合でも、標準画像よりも精細な画像を表示することができる。
When a high-definition image having a larger number of pixels than the number of pixels of the display is used, the entire image reduced by thinning out pixels by affine transformation or the like is displayed on the entire
また、上記ファイル選択ダイアログから画像を選択するかわりに、画像を検索するダイアログ(図示せず)を設け、画像の撮像日時や撮像装置名などをキーワードとして画像を検索し、該当する画像の一覧表示から画像を選択する方法などを用いても良い。
次に、画像拡大表示部502に拡大表示する部分画像の位置の変更方法について説明する。まず、例えばファイル選択ボタン508により表示されるファイル選択ダイアログから選択した画像が画像全体表示部503に表示された時、拡大表示する部分画像の位置を示す表示枠504は画像全体となっており、画像拡大表示部502には画像全体表示部503に表示されている画像と同じ範囲の画像、つまり画像全体が表示されている。
In addition, instead of selecting an image from the above file selection dialog, a dialog (not shown) for searching for an image is provided, and an image is searched using the image capturing date and time or the name of the image capturing device as a keyword, and a list of corresponding images is displayed. A method of selecting an image from the above may be used.
Next, a method for changing the position of the partial image to be enlarged and displayed on the image
以下のオペレータの操作は、表示枠504に対して行なわれる。表示枠504の移動は、拡大表示位置移動ボタン506a,506b,506c,506dで行なう。拡大表示位置移動ボタンをクリックすると、拡大表示位置移動ボタン506aで上方向、拡大表示位置移動ボタン506bで下方向、拡大表示位置移動ボタン506cで左方向、拡大表示位置移動ボタン506dで右方向に、表示枠504が所定量(例えば、10ドット)移動し、ボタンを押し続けている場合は連続的に移動する。また、拡大表示位置移動ボタン506a,506b,506c,506dは、キーボードの上下左右キーと連動するようにしても良い。表示枠504を移動すると、この移動にともなって、画像拡大表示部502の部分画像も更新される。
The following operator operations are performed on the
次に、画像拡大表示部502に表示された部分画像の位置を微調整する場合について説明する。画像拡大表示部502をクリックして選択状態にすることにより、画像拡大表示部502の部分画像の位置の微調整が有効になる。この時、画像拡大表示部502の外枠が強調表示(例えば、赤色表示)される。位置の微調整は、拡大表示位置移動ボタン506a,506b,506c,506dで行なう。クリックすると拡大表示位置移動ボタン506aで上方向、拡大表示位置移動ボタン506bで下方向、拡大表示位置移動ボタン506cで左方向、拡大表示位置移動ボタン506dで右方向へ1ドット分画像が移動し、ボタンを押し続けることで連続的に移動させることができる。また、画像拡大表示部502の外枠が強調表示されている時に画像拡大表示部502をクリックすると、部分画像の位置の微調整が無効となり外枠は元の表示(例えば、黒色表示)となる。
Next, a case where the position of the partial image displayed on the image
また、部分画像の位置の微調整で画像拡大表示部502をクリックする替わりに、位置微調整ボタン510を設け、チェックを付けた場合のみ部分画像の位置の微調整を有効にするように構成することもできる。
また、部分画像の位置を変更する拡大表示位置移動ボタンの替わりに、図12に示すような8方向の拡大表示位置移動ボタンを設ける事により、斜め方向への表示枠の移動が可能とする方法もある。また、拡大表示位置移動ボタンや8方向の拡大表示位置移動ボタンを設けずに、画像全体表示部503又は画像拡大表示部502内をマウスでクリックすることにより、クリックした位置を画像全体表示部で表示し、クリックした位置が中心になるように画像拡大表示部502の画像を更新するという方法もある。さらに、マウスをドラッグ(マウスの左ボタンを押した状態でマウスを動かす動作)すると、マウスの動きに応じて、拡大表示する部分画像の位置を連続的に移動するようにすることもできる。
Further, in place of clicking the image
Further, instead of the enlarged display position movement button for changing the position of the partial image, a method for enabling the movement of the display frame in an oblique direction by providing an enlarged display position movement button in eight directions as shown in FIG. There is also. Further, by clicking the entire
次に、画像拡大表示部502に表示される部分画像の拡大率を変更する方法について説明する。拡大率の変更は、拡大率変更ボタン507で行う。拡大率変更ボタン507の右側にある逆三角ボタンをクリックすると、図13のように拡大率の一覧が表示され、この一覧から拡大率を選択して変更を行う。拡大率変更ボタン507で拡大率を変更した場合、画像の中心点をそのままにして選択されている画像の表示枠504のサイズ及び表示枠504で示される部分画像の範囲が変更される。
Next, a method for changing the enlargement ratio of the partial image displayed on the image
画像拡大表示部502に表示される部分画像の拡大率を変更する別の方法について説明する。オペレータが画像全体表示部503又は画像拡大表示部502内でマウスを右クリックすると、図14に示す拡大率変更ポップアップメニューが表示される。拡大率変更ポップアップメニューには予め用意された全ての拡大率が選択肢として表示され、この拡大率のいずれかが選択されると、選択された拡大率に応じて表示枠504の範囲が更新され、表示枠504で示される部分画像が画像拡大表示部502に拡大表示される。
Another method for changing the enlargement ratio of the partial image displayed on the image
さらに、画像拡大表示部502に表示される部分画像の拡大率を、マウスのホイールを用いて変更することもできる。例えば、オペレータが画像全体表示部503又は画像拡大表示部502内でマウスのホイールを奥に回転させた場合は、拡大率を現在の設定より1段階大きくし、手前に回転させた場合は、拡大率を現在の設定より1段階小さくするようにする。また、マウスのホイール回転量に応じて拡大率を変更するようにしてもよい。具体的には、ホイールの最低回転角度(例えば15°)を1ステップとし、1ステップにつき5%の拡大率の変更を行うようにする。例えば、ホイールを奥に6ステップ(90°)回転した場合には、拡大率を30%増加させる。また、ホイールを手前に10ステップ(150°)回転した場合には、拡大率を50%減少させるようにする。
Furthermore, the enlargement ratio of the partial image displayed on the image
(サムネイル作成処理)
次に、図3を参照してサムネイル一覧表示エリア509に表示されるサムネイルの作成処理について説明する。なお、ここでは、対象物を人物の顔範囲とする。
図3のステップS3aにおいて、画像処理装置1のCPU11は、ファイル選択ボタン508により新たに画像が選択されたかを監視し、選択された場合にステップS3bに移行して、ステップS3aで選択した画像について顔検出処理が実行されたか否かを判定する。この判定において既に顔検出処理が実行されていると判定された場合には処理を終了する。一方、この判定で、顔検出処理が実行されていないと判定された場合は、ステップS3cに移行して、CPU11は、サムネイル作成プログラム14aを実行し、ステップS3aで選択された画像を用いて顔検出処理を行う。
(Thumbnail creation process)
Next, a process for creating thumbnails displayed in the thumbnail
In step S3a of FIG. 3, the
一般的な顔検出処理には、肌色情報を利用した方法や、目、鼻、口など顔の特徴部分に注目した方法などが用いられる。顔検出処理を実施した結果、画像内に顔が存在した場合は画像内における顔の範囲を取得する。ステップS3dは、ステップS3cの顔検出処理を実施した結果、顔の有無を判定し、顔が存在する場合はステップS3eに移行し、存在しない場合は処理を終了する。ステップS3eでは、ステップS3cで実施された顔検出処理で検出されたそれぞれの顔の範囲について、画像から顔の部分を中心とした範囲の顔画像を検出し、所定のサイズに拡大又は縮小したサムネイルをそれぞれ作成する。そして、ステップS3fにおいて、上記作成されたサムネイルをサムネイル記憶エリア13bに記憶する。
In general face detection processing, a method using skin color information, a method paying attention to facial features such as eyes, nose, mouth, and the like are used. As a result of performing the face detection process, if a face exists in the image, the range of the face in the image is acquired. In step S3d, the presence or absence of a face is determined as a result of performing the face detection process in step S3c. If a face exists, the process proceeds to step S3e, and if not, the process ends. In step S3e, for each face range detected in the face detection process performed in step S3c, a face image in a range centered on the face portion is detected from the image, and a thumbnail enlarged or reduced to a predetermined size is detected. Create each. In step S3f, the created thumbnail is stored in the
ここで、ステップS3eで行われるサムネイル作成処理の詳細について図4を参照して説明する。
ステップS4aにおいて、検出された顔画像のサイズを取得すると、ステップS4bにおいて、所定の画素数とサムネイルのサイズと顔画像のサイズとを比較判定する。そして、なお、顔画像の範囲が所定の画素数以上と判定される場合には、ステップS4cに移行して、顔画像をサムネイルの画像サイズに合わせて拡大又は縮小してサムネイルを作成する。また、サムネイルのサイズと顔画像のサイズとが同じ場合には、ステップS4dにより、検出された顔画像をそのままサムネイルとして用いる。一方、上記判定において、顔画像の範囲が所定の画素数以下と判定される場合には、ステップS4eに移行して、検出された顔の範囲に基づいて当該人物の全身と想定される範囲を検出してサムネイル画像データを作成する。
Here, details of the thumbnail creation process performed in step S3e will be described with reference to FIG.
When the size of the detected face image is acquired in step S4a, the predetermined number of pixels, the size of the thumbnail, and the size of the face image are compared and determined in step S4b. If it is determined that the range of the face image is equal to or greater than the predetermined number of pixels, the process proceeds to step S4c to create a thumbnail by enlarging or reducing the face image in accordance with the image size of the thumbnail. If the thumbnail size is the same as the face image size, the detected face image is directly used as a thumbnail in step S4d. On the other hand, if it is determined in the above determination that the range of the face image is equal to or less than the predetermined number of pixels, the process proceeds to step S4e, and the range assumed to be the whole body of the person based on the detected range of the face is determined. Detect and create thumbnail image data.
すなわち、例えば、横120画素×高さ90画素のサイズで作成されるサムネイルに対して、顔検出処理の結果で得られた顔の範囲が横40画素×高さ30画素とサムネイルの画素数よりも非常に少ない場合は、水平方向及び垂直方向の各画素を3倍に引き伸ばしてサムネイルを作成するため、画像はモザイク状となってしまい対象物を認識できない場合がある。そこで、例えば、顔検出処理の結果で得られた顔画像の範囲が横40画素×高さ30画素等、所定の画素数(例えば、横×高さの合計画素数でもよいし、横又は高さのいずれかの画素数等でもよい)よりも少ない場合は、顔の範囲から算出した全身(上半身等でもよい)と想定される範囲を切り出してサムネイルのサイズに合わせて拡大又は縮小してサムネイルを作成する。この他にも、上記顔画像の範囲を中心として、サムネイルのサイズ(すなわち、横120画素×高さ90画素)に相当する範囲を切り出してサムネイルを作成するようにしても良い。これにより、サムネイルがモザイク状になることなく、人物等の対象物を容易に識別可能なサムネイルを作成することができる。
That is, for example, for a thumbnail created with a size of 120 pixels wide × 90 pixels high, the face range obtained as a result of the face detection process is 40 pixels wide × 30 pixels high and the number of thumbnail pixels However, when the number of pixels in the horizontal direction and the vertical direction is increased by a factor of three to create a thumbnail, the image may be mosaic and the target may not be recognized. Therefore, for example, the range of the face image obtained as a result of the face detection process may be a predetermined number of pixels (for example, the total number of pixels of width × height, such as
(サムネイル表示処理)
次に、画像処理装置1におけるサムネイル表示処理について説明する。図6は、サムネイル表示処理の手順とその内容を示すフローチャートである。
ステップS6aにおいて、画像処理装置1のCPU11は、ファイル選択ボタン508により画像の選択を受け付けると、撮像画像記憶エリア13aから選択画像を読出し、全体画像を画像全体表示部503に表示する。そして、ステップS6bにおいて、サムネイル記憶エリア13b中に、上記選択画像に関連するサムネイルが記憶されているか否かを判定する。関連するサムネイルが存在すると判定される場合には、ステップS6cに移行し、上記選択された画像と関連するすべてのサムネイルを読込む。そして、ステップS6dにおいて、ステップS6cで読込んだ各サムネイルをサムネイル一覧表示エリア509にそれぞれ表示する。
(Thumbnail display processing)
Next, a thumbnail display process in the
In step S <b> 6 a, when the
次に、サムネイル一覧表示エリア509におけるサムネイルの表示について図7,図8及び図9を用いて説明する。オペレータが、ある画像を選択し、画像全体表示部503には、図9に示すように選択された画像が表示されている場合に、図7に示すサムネイル一覧表示エリア509には、図9の画像に関連するサムネイルであるサムネイル701a,701b,701c,701d,701eが表示される。スクロールバー511を操作することで、サムネイル一覧表示エリア509に表示された全てのサムネイルを閲覧することができる。
Next, the display of thumbnails in the thumbnail
また、サムネイルの日時情報などの詳細情報をサムネイルの下に表示しても良いし、マウスポインタをサムネイル上に移動した時にツールチップを表示するようにして、ツールチップに該当画像の詳細を表示するようにしても良い。更にまた、図8のようにサムネイル701a,701b,701cの隣にそれぞれ詳細表示エリア801a,801b,801cを設けて詳細を表示するようにしても良い。更に、図7および図8の表示をボタンなどで切り替えられるようにしても良い。
Also, detailed information such as the date / time information of the thumbnail may be displayed below the thumbnail, or the tooltip is displayed when the mouse pointer is moved over the thumbnail, and the details of the image are displayed in the tooltip. You may do it. Further, as shown in FIG. 8,
従来では、例えば、選択した画像に多くの対象物が存在し、存在する対象物が小さい場合には、オペレータがそれぞれの対象物を認識するために、各対象物に対して適切な拡大位置及び拡大率を繰り返し設定する必要があった。しかしながら、本発明の画像処理装置1では、選択された画像中に存在する対象物を検出し、検出された対象物を適切な拡大率で表示するサムネイルを作成して一覧表示する。これにより、オペレータはサムネイルを閲覧することで画像中に存在する対象物を容易に把握することが可能なる。
Conventionally, for example, when there are many objects in the selected image and the objects that are present are small, the operator can recognize the respective objects so that an appropriate enlargement position and It was necessary to set the enlargement ratio repeatedly. However, the
(選択画像表示処理)
次に、選択されたサムネイルの範囲の対象物画像を拡大表示する方法について図10及び図11を用いて説明する。図10は、画像処理装置1の操作画面の一例である。図11は、この拡大表示処理の手順と動作を示すフローチャートである。図11のステップS11aにおいて、画像処理装置1のCPU11は、オペレータによるマウス操作によりサムネイル一覧表示エリア509からサムネイル701cの選択入力を受け付けると、選択画像表示プログラム14bを実行し、先ず、ステップS11bにおいて、撮像画像記憶エリア13aから上記選択された画像を読み出す。そして読み出した画像を、画像全体表示部503に表示し、表示枠504で示される部分画像を画像拡大表示部502に拡大表示する。
(Selected image display processing)
Next, a method for enlarging and displaying the object image in the range of the selected thumbnail will be described with reference to FIGS. FIG. 10 is an example of an operation screen of the
ところで、操作画面501には、対象物を拡大表示する構図を選択するための拡大構図選択ボタン1005が設けられている。拡大構図選択ボタン1005の右側にある逆三角ボタンをクリックすると、図15のように拡大表示する構図の一覧が表示される。ステップS11cにおいて、オペレータにより拡大構図選択ボタン1005から1つの構図を選択されると、ステップS11dにより、サムネイルに表示されている対象物の選択した構図の画像範囲を取得する。そして、ステップS11eにより取得された画像範囲を画像拡大表示部502に拡大表示する。例えば、「全身」や「上半身」を選択した場合は、サムネイルの範囲を元に算出した各項目の構図の範囲の画像を拡大表示する。このように、構図毎の拡大表示が可能であると、「顔」を選択して人物の表情を確認したり、「上半身」を選択して服装、例えば名札などを確認したりするなど、拡大表示する構図を変更して対象物の詳細を把握することが非常に容易となる。
Incidentally, the
ここで、「全身」の範囲を算出する方法を説明する。顔検出で検出された顔の範囲は体の上部1/3であると仮定すると、下方向に3倍範囲を拡大すると全身が撮像されていると考えることができる。これに伴い、横幅も3倍に拡大することで「全身」の範囲を得ることができる。また、「上半身」の範囲も同様に、「上半身」は体の上部1/2であると仮定すると、下方向及び横幅を3/2倍拡大することで「上半身」の範囲を得ることができる。また、顔検出の範囲が非常に狭いため、閲覧に適切な範囲、例えば全身の範囲に変更されて作成されたサムネイルを選択した場合は、サムネイル作成時にサムネイル情報として全身の範囲で作成されたことを保持しておき、構図が選択された時には、その情報に基づいて各構図の範囲を算出するようにする。 Here, a method of calculating the “whole body” range will be described. Assuming that the range of the face detected by face detection is the upper third of the body, it can be considered that the whole body is imaged when the range is expanded three times downward. Along with this, the range of “whole body” can be obtained by expanding the horizontal width three times. Similarly, assuming that the upper body is the upper half of the body, the upper body can be obtained by enlarging the downward direction and the width 3/2 times. . In addition, since the range of face detection is very narrow, if you select a thumbnail that has been changed to an appropriate range for viewing, for example, a whole body range, it was created in the whole body range as thumbnail information when creating the thumbnail. When a composition is selected, the range of each composition is calculated based on the information.
従来では、対象物が小さい場合は、適切な拡大位置および拡大率で対象物を拡大表示することが難しく、拡大範囲の調整を何度も行わなければならないという問題があった。本実施形態の画像処理装置1では、サムネイルにより指定された対象物が選択された拡大構図の範囲で拡大表示される。これにより、オペレータは拡大表示する構図を選択するだけで、指定された対象物が最適な大きさで表示されるため、オペレータによる表示調整の手間を省くことが可能になる。
Conventionally, when the object is small, it is difficult to enlarge and display the object at an appropriate enlargement position and enlargement ratio, and there is a problem that the enlargement range must be adjusted many times. In the
なお、この発明は上記実施形態に限定されるものではない。上記実施形態では、顔のサムネイルの作成方法について記述したが、対象物としては顔以外にも車のナンバープレート等、他のものであってもよい。画像処理装置1の構成及び表示される画面構成、サムネイル作成処理及び選択画像表示処理の手順とその内容についてもこの発明を逸脱しない範囲で種々に変形して実施できる。
The present invention is not limited to the above embodiment. In the above embodiment, a method for creating a thumbnail of a face has been described. However, the object may be other than a face, such as a car license plate. The configuration of the
要するにこの発明は、上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合せにより種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。さらに、異なる実施形態に亘る構成要素を適宜組み合せてもよい。 In short, the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. Further, various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, you may combine suitably the component covering different embodiment.
1…画像処理装置、2…撮像装置、3…伝送路、11…CPU、12…バス、13…データメモリ、13a…撮像画像記憶エリア、13b…サムネイル記憶エリア、14…プログラムメモリ、14a…サムネイル作成プログラム、14b…選択画像表示プログラム、15…撮像装置I/F、16…入力I/F、161…入力装置、17…出力I/F、171…表示装置、501…操作画面、502…画像拡大表示部、503…画像全体表示部、504…表示枠、505…シャッタボタン、506a,506b,506c,506d…拡大表示位置移動ボタン、507…拡大率変更ボタン、508…ファイル選択ボタン、509…サムネイル一覧表示エリア、510…位置微調整ボタン,511…スクロールバー、701a,701b,701c,701d,701e…サムネイル、801a,801b,801c…詳細表示エリア、1005…拡大構図ボタン。
DESCRIPTION OF
Claims (3)
入力画像データから人物の顔の範囲を検出する検出処理と、
前記顔の範囲が所定の画素数より少ないか否かを判定する判定処理と、
前記判定手段により前記顔の範囲が前記所定の画素数より少ないと判定された場合に、前記顔の範囲を中心として前記サムネイルの規定のサイズに相当する範囲を入力画像データから切り出し、前記顔の範囲が前記所定の画素数以上と判定された場合には、該顔の範囲の画像を前記サムネイルの規定のサイズに合わせて拡大又は縮小して前記サムネイル画像データを作成する作成処理と、
前記入力画像データ及び作成された前記サムネイル画像データをそれぞれ記憶する記憶処理と、
オペレータの操作により選択された前記入力画像データと、該選択された前記入力画像データに関連するサムネイル画像データとを読み出し、前記表示装置の全体画像表示部と、サムネイル一覧表示エリアとにそれぞれ表示する表示処理と、
前記全体画像表示部に表示された画像のうち、前記オペレータの操作により指定された部分画像を拡大して、前記表示装置の画像拡大表示部に表示する拡大表示処理と
を備え、
前記拡大表示処理は、構図として少なくとも顔と、全身又は上半身とを選択するための拡大構図選択部を前記表示装置に表示し、前記サムネイル一覧表示エリアにおいて前記オペレータにより選択されたサムネイルに対応する画像範囲をもとに、前記選択された構図に応じて算出した範囲の画像を前記部分画像として拡大表示することを特徴とする画像処理プログラム。 An image processing program for causing a computer to execute processing for creating thumbnail image data and display processing on a display device ,
A detection process for detecting a human face range from input image data;
A determination process for determining whether or not the face range is less than a predetermined number of pixels;
When the determination unit determines that the face range is less than the predetermined number of pixels, a range corresponding to a predetermined size of the thumbnail centered on the face range is cut out from the input image data , If the range is determined to be greater than or equal to the predetermined number of pixels, a creation process for creating the thumbnail image data by enlarging or reducing the image of the face range according to a prescribed size of the thumbnail ;
A storage process for storing each of the input image data and the created thumbnail image data;
The input image data selected by the operator's operation and thumbnail image data related to the selected input image data are read and displayed on the entire image display unit and the thumbnail list display area of the display device, respectively. Display processing,
An enlarged display process of enlarging a partial image designated by the operator's operation among the images displayed on the entire image display unit and displaying the enlarged image on the image enlargement display unit of the display device ,
The enlarged display process displays an enlarged composition selection unit for selecting at least a face and a whole body or upper body as a composition on the display device, and an image corresponding to the thumbnail selected by the operator in the thumbnail list display area. An image processing program for enlarging and displaying an image of a range calculated according to the selected composition as the partial image based on the range .
入力画像データから人物の顔の範囲を検出する検出処理と、
前記顔の範囲が所定の画素数より少ないか否かを判定する判定処理と、
前記判定手段により前記顔の範囲が前記所定の画素数より少ないと判定された場合に、前記顔の範囲から算出した前記人物の全身又は上半身と想定される範囲を特定して前記入力画像データから切り出して、前記サムネイルの規定のサイズに合わせて拡大又は縮小し、前記顔の範囲が前記所定の画素数以上と判定された場合に、前記顔の範囲の画像を前記サムネイルの規定のサイズに合わせて拡大又は縮小することで、前記サムネイル画像データを作成する作成処理と、
前記入力画像データ及び作成された前記策寝入る画像データをそれぞれ保存する記憶処理と
オペレータの操作により選択された前記入力画像データと、該選択された前記入力画像データに関連するサムネイル画像データとを読み出し、前記表示装置の全体画像表示部と、サムネイル一覧表示エリアとにそれぞれ表示する表示処理と、
前記全体画像表示部に表示された画像のうち、前記オペレータの操作により指定された部分画像を拡大して、前記表示装置の画像拡大表示部に表示する拡大表示処理と
を備え、
前記記憶処理は、前記人物の全身又は上半身と想定される範囲が切り出されて作成された前記サムネイル画像データを、全身又は上半身の範囲で作成されたことを示すサムネイル情報と共に保存し、
前記拡大表示処理は、構図として少なくとも顔と、全身又は上半身とを選択するための拡大構図選択部を前記表示装置に表示し、前記サムネイル一覧表示エリアにおいて前記オペレータにより選択されたサムネイルに対応する画像範囲及び前記サムネイル情報をもとに、前記選択された構図に応じて算出した範囲の画像を前記部分画像として拡大表示することを特徴とする画像処理プログラム。 An image processing program for causing a computer to execute processing for creating thumbnail image data and display processing on a display device ,
A detection process for detecting a human face range from input image data;
A determination process for determining whether or not the face range is less than a predetermined number of pixels;
When the determination unit determines that the face range is smaller than the predetermined number of pixels, the range that is assumed to be the whole body or upper body of the person calculated from the face range is specified and the input image data is used. When the face range is determined to be greater than or equal to the predetermined number of pixels, the image of the face range is adjusted to the specified size of the thumbnail. by enlarging or reducing Te, and creation processing for creating the thumbnail image data,
A storage process for storing the input image data and the created image data to fall asleep respectively;
The input image data selected by the operator's operation and thumbnail image data related to the selected input image data are read and displayed on the entire image display unit and the thumbnail list display area of the display device, respectively. Display processing,
An enlarged display process of enlarging a partial image designated by the operator's operation among the images displayed on the entire image display unit and displaying the enlarged image on the image enlargement display unit of the display device ,
The storage process saves the thumbnail image data created by cutting out a range assumed to be the whole body or upper body of the person, together with thumbnail information indicating that the range was created in the whole body or upper body range,
The enlarged display process displays an enlarged composition selection unit for selecting at least a face and a whole body or upper body as a composition on the display device, and an image corresponding to the thumbnail selected by the operator in the thumbnail list display area. An image processing program for enlarging and displaying an image of a range calculated according to the selected composition as the partial image based on the range and the thumbnail information .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2005373063A JP4559964B2 (en) | 2005-12-26 | 2005-12-26 | Image processing program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2005373063A JP4559964B2 (en) | 2005-12-26 | 2005-12-26 | Image processing program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2007174589A JP2007174589A (en) | 2007-07-05 |
| JP4559964B2 true JP4559964B2 (en) | 2010-10-13 |
Family
ID=38300510
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2005373063A Expired - Fee Related JP4559964B2 (en) | 2005-12-26 | 2005-12-26 | Image processing program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4559964B2 (en) |
Families Citing this family (16)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009044463A (en) * | 2007-08-08 | 2009-02-26 | Sanyo Electric Co Ltd | Electronic camera and object scene image reproducing apparatus |
| JP2009081699A (en) | 2007-09-26 | 2009-04-16 | Toshiba Corp | Electronic device and face image extraction control method |
| JP4663699B2 (en) | 2007-09-27 | 2011-04-06 | 富士フイルム株式会社 | Image display device and image display method |
| JP2009089031A (en) * | 2007-09-28 | 2009-04-23 | Toshiba Corp | Electronic apparatus and image display method |
| JP2009089065A (en) | 2007-09-28 | 2009-04-23 | Toshiba Corp | Electronic device and face image display device |
| JP4561877B2 (en) * | 2008-06-02 | 2010-10-13 | ソニー株式会社 | Image reproduction apparatus and method, and program |
| JP5246946B2 (en) * | 2009-03-06 | 2013-07-24 | パナソニック株式会社 | Whole body region estimation device |
| JP5665380B2 (en) * | 2010-06-15 | 2015-02-04 | キヤノン株式会社 | Image processing apparatus, image processing apparatus control method, program, and recording medium |
| JP5476236B2 (en) * | 2010-07-02 | 2014-04-23 | 日本電信電話株式会社 | Coordinate recommendation device, coordinate recommendation method and program thereof |
| JP5400020B2 (en) * | 2010-12-20 | 2014-01-29 | 株式会社日立ビルシステム | Elevator surveillance image recording device |
| JP5566984B2 (en) * | 2011-10-14 | 2014-08-06 | 株式会社東芝 | Electronic apparatus and image display method |
| JP5377624B2 (en) * | 2011-12-21 | 2013-12-25 | 株式会社東芝 | Electronic device and face image display device |
| JP6223860B2 (en) * | 2014-02-25 | 2017-11-01 | グローリー株式会社 | Image detection display system and image detection display method |
| CN103927713B (en) * | 2014-04-23 | 2017-07-18 | 锤子科技(北京)有限公司 | The acquisition methods and device of picture thumbnail |
| JP2016040680A (en) | 2014-08-12 | 2016-03-24 | キヤノン株式会社 | Information processing apparatus, control method, and program |
| CN108337546B (en) | 2017-01-20 | 2020-08-28 | 杭州海康威视数字技术股份有限公司 | Target object display method and device |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003046911A (en) * | 2001-05-22 | 2003-02-14 | Matsushita Electric Ind Co Ltd | Monitoring recording apparatus and method thereof |
| GB2395852B (en) * | 2002-11-29 | 2006-04-19 | Sony Uk Ltd | Media handling system |
| JP2004282675A (en) * | 2003-03-19 | 2004-10-07 | Sanyo Electric Co Ltd | Monitoring system |
| JP4519531B2 (en) * | 2003-07-11 | 2010-08-04 | パナソニック株式会社 | Image display device, image display method, and program |
| JP4340806B2 (en) * | 2004-03-22 | 2009-10-07 | 富士フイルム株式会社 | Image processing apparatus, method, and program |
| JP4532320B2 (en) * | 2005-03-29 | 2010-08-25 | 株式会社日立国際電気 | Image display device |
-
2005
- 2005-12-26 JP JP2005373063A patent/JP4559964B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2007174589A (en) | 2007-07-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4559964B2 (en) | Image processing program | |
| US11758265B2 (en) | Image processing method and mobile terminal | |
| US11550420B2 (en) | Quick review of captured image data | |
| US8199125B2 (en) | Information display apparatus, information display method and recording medium | |
| CN112995500B (en) | Shooting method, shooting device, electronic equipment and medium | |
| US11144776B2 (en) | Mobile surveillance apparatus, program, and control method | |
| JP3927571B2 (en) | Image display program | |
| JP2009071375A (en) | Imaging apparatus and image processing program | |
| EP4287610A1 (en) | Focusing method and apparatus, electronic device, and medium | |
| JP5312256B2 (en) | Imaging apparatus and imaging system | |
| CN113852756B (en) | Image acquisition method, device, equipment and storage medium | |
| JP5877329B2 (en) | Imaging apparatus and image processing apparatus | |
| CN107870795A (en) | The method and device that a kind of electronic map is shown | |
| JP2007041866A (en) | Information processing apparatus, information processing method, and program | |
| US10754534B1 (en) | Vertical scrolling of album images | |
| US8040388B2 (en) | Indicator method, system, and program for restoring annotated images | |
| JP4532320B2 (en) | Image display device | |
| US8214755B2 (en) | Information processing apparatus and information processing method | |
| JP2006178222A (en) | Image display program and image display device | |
| JP6996758B2 (en) | Mobile monitoring devices, control methods, and programs | |
| JP5665608B2 (en) | Image display device | |
| JP6515975B2 (en) | MOBILE MONITORING DEVICE, MOBILE MONITORING SYSTEM, PROGRAM, AND CONTROL METHOD | |
| CN118447193A (en) | Virtual content display method, system, device, medium and computer product | |
| JPH0937132A (en) | Camera zoom controller |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080922 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100203 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100309 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100507 |
|
| 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: 20100706 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100723 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 4559964 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130730 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140730 Year of fee payment: 4 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| LAPS | Cancellation because of no payment of annual fees |