JP5588267B2 - Image data management apparatus, image data management program, and image data management method - Google Patents

Image data management apparatus, image data management program, and image data management method Download PDF

Info

Publication number
JP5588267B2
JP5588267B2 JP2010181397A JP2010181397A JP5588267B2 JP 5588267 B2 JP5588267 B2 JP 5588267B2 JP 2010181397 A JP2010181397 A JP 2010181397A JP 2010181397 A JP2010181397 A JP 2010181397A JP 5588267 B2 JP5588267 B2 JP 5588267B2
Authority
JP
Japan
Prior art keywords
image data
image
unit
evaluation value
focus evaluation
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
Application number
JP2010181397A
Other languages
Japanese (ja)
Other versions
JP2012044285A (en
Inventor
光雄 松本
大輔 田中
史雄 荻野
Original Assignee
株式会社フジミック
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 株式会社フジミック filed Critical 株式会社フジミック
Priority to JP2010181397A priority Critical patent/JP5588267B2/en
Publication of JP2012044285A publication Critical patent/JP2012044285A/en
Application granted granted Critical
Publication of JP5588267B2 publication Critical patent/JP5588267B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は、画像データ管理装置、画像データ管理プログラム、及び画像データ管理方法に関する。   The present invention relates to an image data management apparatus, an image data management program, and an image data management method.

今日、CCDなどの撮像素子を用いて動画又は画像を撮影するデジタルカメラが普及されている。このデジタルカメラで撮影した画像は、デジタルデータとして記録媒体に記録されるとともに、その記録されたデジタルデータはモニター等の表示装置によって表示し、視聴することができる。   2. Description of the Related Art Today, digital cameras that capture moving images or images using an image sensor such as a CCD are widely used. Images taken with this digital camera are recorded as digital data on a recording medium, and the recorded digital data can be displayed and viewed on a display device such as a monitor.

このようなデジタルカメラは、近年にあっては、例えば、皮膚や毛髪を診断するために、被写体を拡大して撮影するなど、医療又は美容分野など様々な分野においても使用されている(例えば、特許文献1)。この特許文献1に開示された診断装置では、CCDカメラを被写体部分に接近させることにより、被写体部分を拡大してモニターに出力し、その映像を利用することによって、皮膚や毛髪の診断を行うことができる。   In recent years, such a digital camera has been used in various fields such as the medical or beauty field, for example, for magnifying and photographing a subject in order to diagnose skin or hair (for example, Patent Document 1). In the diagnostic apparatus disclosed in Patent Document 1, the CCD camera is brought close to the subject portion, the subject portion is enlarged and output to the monitor, and the image is used to diagnose skin and hair. Can do.

ところが、この特許文献1に開示された診断装置では、単にCCDカメラにより拡大画像を撮影するものであることから、撮影時における手ブレなどが生じ、焦点があっていない合焦状態が不良な画像が撮影されてしまうことがある。特に、毛髪の拡大写真では、大量の被写体が異なる距離で密集して撮影されることから、診断に適した毛髪に焦点を合わせて撮影するには熟練が要求される。   However, since the diagnostic apparatus disclosed in Patent Document 1 merely captures an enlarged image with a CCD camera, an image with a poor focus state that is not in focus due to camera shake at the time of shooting occurs. May be shot. In particular, in a magnified photograph of hair, a large amount of subjects are photographed densely at different distances, so skill is required to photograph focusing on hair suitable for diagnosis.

このような問題を解決すべく、特許文献2に開示された撮像装置がある。この撮像装置は、異なる距離の被写体に結像自在な撮像系と、当該撮像系からの画像信号を記憶する複数の画像メモリ手段と、画像情報を記録媒体に記録する記録手段と、当該撮像系を初期位置から順次、異なる距離に結像させ、その間の、当該撮像系による画像信号を当該複数の画像メモリ手段の各々に格納し、当該複数の画像メモリ手段に格納される複数の画像の中から最良画像を選択して当該記録手段に供給する制御手段とを備えている。このような撮像装置によれば、全撮影距離のどの距離の被写体に対しても必ず一つはピントの合う画像を、自動焦点調節動作無しで短時間の内に得ることができる。   In order to solve such a problem, there is an imaging apparatus disclosed in Patent Document 2. The imaging apparatus includes an imaging system that can form an image on subjects at different distances, a plurality of image memory units that store image signals from the imaging system, a recording unit that records image information on a recording medium, and the imaging system Are sequentially imaged at different distances from the initial position, and during that time, image signals from the imaging system are stored in each of the plurality of image memory means, and among the plurality of images stored in the plurality of image memory means Control means for selecting the best image from the recording means and supplying it to the recording means. According to such an imaging apparatus, it is possible to obtain an image that is always in focus within a short period of time without any automatic focus adjustment operation for a subject at any shooting distance.

特開平11−70085号公報Japanese Patent Laid-Open No. 11-70085 特開平11−211974号公報Japanese Patent Application Laid-Open No. 11-211974

しかしながら、上述した特許文献2に開示された撮像装置では、被写体に対する全撮影距離について焦点調節を行い、全ての被写体に対してピントが合った画像を短時間で撮影することから、毛髪のように大量の被写体が密集している状態を拡大して撮影する場合には、手ブレの影響が大きく、微細な焦点距離を頻繁に調節することとなり、合焦のタイミングと、シャッタータイミングとを合致させることが困難となり、診断に耐えうる良好な画像を撮影するのは困難である。また、この微細な焦点距離を多数調整可能とする光学的な機構と、その動作に追随可能な高速なシャッター機構とが必要となり、装置が複雑・高度化し、装置の製造コストが増大する惧れもある。   However, in the imaging apparatus disclosed in Patent Document 2 described above, focus adjustment is performed for the entire shooting distance with respect to the subject, and an image in which all the subjects are in focus is shot in a short time. When shooting a large number of densely populated subjects, the effects of camera shake are large, and the fine focal length is frequently adjusted, so that the in-focus timing matches the shutter timing. It is difficult to take a good image that can withstand diagnosis. In addition, an optical mechanism that can adjust a large number of fine focal lengths and a high-speed shutter mechanism that can follow the operation are required, which may increase the complexity and sophistication of the device and increase the manufacturing cost of the device. There is also.

そこで、本発明は、上記のような問題を解決するものであり、簡単な構成により、皮膚や毛髪のように被写体が密集している拡大写真の撮影を可能とするともに、撮影された画像データから、合焦状態の良好な画像データのみを選択して表示させ、目的の画像データを即時に閲覧することができる画像データ管理装置、画像データ管理プログラム、及び画像データ管理プログラムを提供することを目的とする。   Therefore, the present invention solves the above-described problems, and enables simple photography to take an enlarged photograph in which a subject is dense like skin and hair, as well as photographed image data. To provide an image data management device, an image data management program, and an image data management program that can select and display only image data in good focus and display the target image data immediately. Objective.

上記課題を解決するために、本発明は、撮像部により撮像された画像データを管理する装置であって、複数枚の画像データを記憶保持する記憶部と、撮像部により撮像された画像データを順次取得し、取得された画像データの合焦点評価値を算出するとともに、各画像データの合焦点評価値に基づく優先順位を設定する合焦点評価値算出部と、合焦点評価値算出部が設定した優先順位に応じて、記憶部に記憶された画像データを選択するデータ選択部と、記憶部に記憶保持された画像データを、データ選択部の選択に基づいて、表示する画像表示部と、ユーザー操作に基づいて、前記画像表示部に表示された画像データ内に所定範囲を指定する範囲指定部と、前記範囲指定部により指定された前記所定範囲に含まれる画像データを加工する加工処理部とを有し、前記範囲指定部は、前記ユーザー操作として画像データ上の3点指定を入力させ、当該3点を含む平行四辺形部分を前記所定範囲として認識するIn order to solve the above problems, the present invention is an apparatus that manages image data captured by an imaging unit, and stores a storage unit that stores a plurality of pieces of image data, and image data captured by the imaging unit. The focus evaluation value calculation unit that sequentially acquires and calculates the focus evaluation value of the acquired image data and sets the priority order based on the focus evaluation value of each image data, and the focus evaluation value calculation unit are set A data selection unit that selects image data stored in the storage unit according to the priority order, an image display unit that displays the image data stored in the storage unit based on the selection of the data selection unit , Based on a user operation, a range designating unit for designating a predetermined range in the image data displayed on the image display unit, and an addition for processing the image data included in the predetermined range designated by the range designating unit. Possess a processing unit, the range designation unit, wherein by inputting the three points specified on the image data as the user operation, recognizes the parallelogram portion including the three points as the predetermined range.

また、他の発明は、撮像部により撮像された画像データを管理する管理方法であって、
(1)複数枚の画像データを記憶部に記憶保持する記憶ステップと、
(2)撮像部により撮像された画像データを順次取得し、取得された画像データの合焦点評価値を算出するとともに、各画像データの合焦点評価値に基づく優先順位を設定する合焦点評価値算出ステップと、
(3)合焦点評価値算出ステップで設定した優先順位に応じて、記憶部に記憶された画像データを選択するデータ選択ステップと、
(4)記憶部に記憶保持された画像データを、データ選択部の選択に基づいて、画像表示部に表示させる画像表示ステップと
(5)ユーザー操作として画像表示部に表示した画像データ上の3点指定を入力させ、当該3点を含む平行四辺形部分を前記所定範囲として認識して、前記画像データ内に所定範囲を指定する範囲指定ステップと、
(6)前記範囲指定ステップで指定された前記所定範囲に含まれる画像データを加工する加工処理ステップと
を有する。
Another invention is a management method for managing image data captured by an imaging unit,
(1) a storage step of storing and holding a plurality of pieces of image data in a storage unit;
(2) In-focus evaluation values for sequentially acquiring image data picked up by the image pickup unit, calculating in-focus evaluation values for the acquired image data, and setting priorities based on the in-focus evaluation values of the respective image data A calculation step;
(3) a data selection step for selecting image data stored in the storage unit according to the priority set in the in-focus evaluation value calculation step;
(4) an image display step of displaying the image data stored and held in the storage unit on the image display unit based on the selection of the data selection unit ;
(5) Input three points on the image data displayed on the image display unit as a user operation, recognize the parallelogram portion including the three points as the predetermined range, and specify the predetermined range in the image data A range specification step to be performed;
(6) a processing step of processing the image data included in the predetermined range specified in the range specifying step .

このような発明によれば、撮像された複数枚の画像データに対して、合焦点評価値算出部によって合焦点評価値を算出し、合焦点評価値に基づく優先順位を設定するので、撮像された複数枚の画像データの中から合焦状態の良好な画像データと、不良な画像データとを判別することができる。そして、本発明では、優先順位に応じて画像データを選択するので、例えば、優先順位が高い合焦状態が良好な画像データを優先的に自動で表示させることができる。これにより、本発明によれば、毛髪のように狭い範囲に大量に被写体が密集した拡大図であっても、自動焦点調節機構を有さない撮像装置を用いることができ、簡単な構成により、目的とする画像データを取得することができる。   According to such an invention, since the in-focus evaluation value is calculated by the in-focus evaluation value calculation unit and the priority order based on the in-focus evaluation value is set for a plurality of imaged image data, the image is captured. Further, it is possible to discriminate between good image data in a focused state and bad image data from a plurality of pieces of image data. In the present invention, since the image data is selected according to the priority order, for example, it is possible to automatically and preferentially display image data with a high priority and a good focus state. Thereby, according to the present invention, an imaging device that does not have an automatic focus adjustment mechanism can be used even in an enlarged view in which a large amount of subjects are concentrated in a narrow range like hair, and with a simple configuration, The target image data can be acquired.

さらに、本発明では、合焦点評価値によって算出された優先順位に基づいて、画像データを表示部に表示させるので、ユーザーによる並び替えの作業等をなくし、ユーザーは、合焦状態の良好な画像データのみを即時に閲覧することができる。また、本発明では、表示部に表示された画像の所定の範囲を指定し、加工することができるので、ユーザーの目的に沿った画像データを得ることができる。ここで、画像データの加工とは、例えば、画像データに文字や図形等を差し込む処理や、シャープ、エンボスなどの加工、赤目補正、明るさ、コントラスト調整等の種々の画像加工処理が含まれる。 Furthermore, in the present invention, since the image data is displayed on the display unit based on the priority order calculated based on the focus evaluation value, the user does not need to rearrange the images, and the user can select an image in a good focus state. Only data can be viewed immediately. In the present invention, since a predetermined range of an image displayed on the display unit can be designated and processed, image data in accordance with the user's purpose can be obtained. Here, the processing of the image data includes, for example, processing for inserting characters or graphics into the image data, processing for sharpening and embossing, various image processing processing such as red-eye correction, brightness, and contrast adjustment.

上記発明において、合焦点評価値算出部は、各画像データの標準偏差に基づいて、合焦点評価値を算出することが好ましい。すなわち、通常、画像データにおける画素の標準偏差は、焦点が合わず、ぼけた状態ほど偏差が小さくなるので、標準偏差を求めることで、画像データに焦点が合った部分を含んでいるのか否かを判別することができる。   In the above invention, the in-focus evaluation value calculation unit preferably calculates the in-focus evaluation value based on the standard deviation of each image data. That is, the standard deviation of the pixel in the image data is usually out of focus, and the deviation becomes smaller as it becomes blurred. Therefore, by obtaining the standard deviation, whether or not the image data includes a focused part. Can be determined.

上記発明において、前記撮像部は、接写による拡大画像を撮影する機能を有し、前記合焦点評価値算出部は、各画素の階調と近傍画素の階調の平均との差を求めることで、毛髪部分のみの鮮鋭度を算出するとともに、画像全体の階調の標準偏差を求め、毛髪量を算出し、前記鮮鋭度、及び前記毛髪量に基づいて、前記合焦点評価値を算出することが好ましい。 In the above invention, the imaging unit has a function of capturing an enlarged image by close-up, and the in-focus evaluation value calculation unit obtains a difference between a gradation of each pixel and an average of the gradations of neighboring pixels. Calculating the sharpness of only the hair part, obtaining the standard deviation of the gradation of the entire image, calculating the amount of hair, and calculating the in-focus evaluation value based on the sharpness and the amount of hair. Is preferred.

また、上記発明において、撮像部は、接写による拡大画像を撮影する機能を有し、加工処理部は、所定範囲に含まれた画素を二値化する機能を有し、画像表示部は、表示された画像データ内の所定範囲に、二値化された画像を合成して表示する機能を有することが好ましい。   In the above invention, the imaging unit has a function of capturing an enlarged image by close-up, the processing unit has a function of binarizing pixels included in a predetermined range, and the image display unit It is preferable to have a function of synthesizing and displaying the binarized image in a predetermined range in the image data.

この場合には、例えば、背景部分と、指定する範囲とを切り離す処理を実行するその境界部分を明確にし、切り離し処理を容易にすることができる。   In this case, for example, it is possible to clarify the boundary portion for executing the process of separating the background portion from the designated range, and facilitate the separation processing.

さらに、上記発明において、この拡大画像は、毛髪の拡大写真であり、画像表示部は、所定範囲内において二値化された画像に基づく毛髪の診断結果を表示する診断結果表示機能を有することが好ましい。 Furthermore, in the above invention, the enlarged image is an enlarged photograph of the hair, and the image display unit has a diagnostic result display function for displaying the diagnostic result of the hair based on the binarized image within a predetermined range. preferable.

この場合には、撮像された毛髪の拡大写真から、例えば、焦点の合っている所定範囲を指定範囲として二値処理し、二値化された画像を表示部に表示させることで毛髪の表面状態を明確に表示させることができるので、容易に被験者の毛髪のキューティクルを診断することができる。ここで、毛髪の診断には、例えば、研究者や美容技術者であるユーザー等が、画像表示部に表示された二値化された画像を閲覧することでそのキューティクルの状態を診断し、その診断結果をユーザーが入力して診断結果を表示部に表示させてもよいし、例えば、コンピュータのCPUが、表示された画像データの二値化処理した部分を数値化し、所定の閾値に基づいて診断結果を算出して、自動的に診断結果を表示するようにしてもよい。   In this case, from the enlarged photograph of the captured hair, for example, the predetermined range in focus is binarized as the designated range, and the surface state of the hair is displayed on the display unit by displaying a binarized image. Therefore, the cuticle of the subject's hair can be easily diagnosed. Here, in the diagnosis of hair, for example, a user who is a researcher or a beauty technician diagnoses the state of the cuticle by viewing the binarized image displayed on the image display unit, and the The user may input the diagnosis result and display the diagnosis result on the display unit. For example, the CPU of the computer digitizes the binarized portion of the displayed image data, and based on a predetermined threshold value The diagnosis result may be calculated and the diagnosis result may be automatically displayed.

さらに、他の発明は、撮像部により撮像された画像データを管理する管理プログラムであって、コンピュータに、
(1)複数枚の画像データを記憶部に記憶保持する記憶ステップと、
(2)前記撮像部により撮像された画像データを順次取得し、取得された画像データの合焦点評価値を算出するとともに、各画像データの合焦点評価値に基づく優先順位を設定する合焦点評価値算出ステップと、
(3)前記合焦点評価値算出ステップで設定した優先順位に応じて、前記記憶部に記憶された画像データを選択するデータ選択ステップと、
(4)前記記憶部に記憶保持された画像データを、データ選択部の選択に基づいて、画像表示部に表示させる画像表示ステップと、
(5)ユーザー操作として画像表示部に表示した画像データ上の3点指定を入力させ、当該3点を含む平行四辺形部分を前記所定範囲として認識して、前記画像データ内に所定範囲を指定する範囲指定ステップと、
(6)前記範囲指定ステップで指定された前記所定範囲に含まれる画像データを加工する加工処理ステップと、
を有する処理を実行させる。
Furthermore, another invention is a management program for managing image data captured by an imaging unit, and
(1) a storage step of storing and holding a plurality of pieces of image data in a storage unit;
(2) Focusing evaluation that sequentially acquires image data captured by the imaging unit, calculates a focusing evaluation value of the acquired image data, and sets a priority order based on the focusing evaluation value of each image data A value calculation step;
(3) a data selection step of selecting image data stored in the storage unit according to the priority set in the in-focus evaluation value calculation step;
(4) An image display step of displaying the image data stored and held in the storage unit on the image display unit based on the selection of the data selection unit;
(5) Input three points on the image data displayed on the image display unit as a user operation, recognize the parallelogram portion including the three points as the predetermined range, and specify the predetermined range in the image data A range specification step to be performed;
(6) a processing step for processing image data included in the predetermined range specified in the range specifying step;
The process which has is performed.

このような発明によれば、画像データ管理プログラムを使用することで、特別な処理装置を必要とせず、種々の情報処理装置を上述した画像データ管理装置とし、画像データ管理方法を様々な情報処理装置において実現することができる。すなわち、この画像データ管理プログラムを、汎用的なコンピュータやICチップにインストールし、CPU上で実行することにより、上述した各機能を有する画像データ管理装置が構成され、画像データ管理方法を容易に構築することができる。このプログラムは、例えば、通信回線を通じて配布することが可能であり、またスタンドアローンの計算機上で動作するパッケージアプリケーションとして譲渡することができる。そして、このような画像データ管理プログラムは、コンピュータで読み取り可能な記録媒体に記録することができ、汎用のコンピュータや専用コンピュータを用いて、上述したシステムや方法を実施することが可能となるとともに、プログラムの保存、運搬及びインストールを容易に行うことができる。   According to such an invention, by using the image data management program, no special processing device is required, and various information processing devices are used as the above-described image data management device, and the image data management method is changed to various information processing methods. It can be realized in the device. That is, by installing this image data management program on a general-purpose computer or IC chip and executing it on the CPU, an image data management apparatus having the above-described functions is constructed, and an image data management method is easily constructed. can do. This program can be distributed through a communication line, for example, and can be transferred as a package application that operates on a stand-alone computer. Such an image data management program can be recorded on a computer-readable recording medium, and the above-described system and method can be implemented using a general-purpose computer or a dedicated computer. The program can be easily stored, transported and installed.

以上述べたように、本発明によれば、簡単な構成により、皮膚や毛髪のように被写体が密集している拡大写真の撮影が可能となるともに、撮影された画像データから、合焦状態の良好な画像データのみを選択して表示させ、目的の画像データを即時に閲覧することができる。この結果、本発明によれば、製造コストの増大を抑えつつ、医療や美容分野など様々な分野においても利用可能な、有用な撮像装置を提供することができる。   As described above, according to the present invention, it is possible to take an enlarged photograph in which a subject is dense like skin and hair with a simple configuration, and from the photographed image data, Only good image data can be selected and displayed, and the target image data can be viewed immediately. As a result, according to the present invention, it is possible to provide a useful imaging device that can be used in various fields such as the medical and beauty fields while suppressing an increase in manufacturing cost.

実施形態に係る画像データ管理装置の全体構成を示す概念図である。It is a conceptual diagram which shows the whole structure of the image data management apparatus which concerns on embodiment. 実施形態に係るコンピュータ上のCPUにおける画像データの管理機能モジュールを示すブロック図である。It is a block diagram which shows the management function module of the image data in CPU on the computer which concerns on embodiment. 実施形態に係るウインドウに表示された、画像データ一覧表示画面を示す説明図である。It is explanatory drawing which shows the image data list display screen displayed on the window which concerns on embodiment. 実施形態に係るウインドウに表示された範囲指定処理を示す説明図である。It is explanatory drawing which shows the range designation | designated process displayed on the window which concerns on embodiment. 実施形態に係る撮影された画像データを選択・表示させる手順を示すフローチャート図である。It is a flowchart figure which shows the procedure of selecting and displaying the image | photographed image data which concerns on embodiment. 実施形態に係る記憶された画像データの解析・保存処理を示すフローチャートである。It is a flowchart which shows the analysis / preservation | save process of the stored image data based on embodiment. 実施形態に係る合焦点評価値算出方法を示すフローチャート図であるIt is a flowchart figure which shows the focus evaluation value calculation method which concerns on embodiment. 実施形態に係る二値化処理及び毛髪診断処理を示すフローチャート図である。It is a flowchart figure which shows the binarization process and hair diagnostic process which concern on embodiment.

以下に添付図面を参照して、本発明に係る画像データ管理装置の実施形態を詳細に説明する。図1は、本実施形態に係る画像データ管理装置の全体構成を示す概念図である。ここでは、予め本発明の画像データ管理プログラムがコンピュータ1にインストールされているものとし、被験者の毛髪を撮影して、毛髪の健康状態等について診断する場合を例に説明する。   Embodiments of an image data management apparatus according to the present invention will be described below in detail with reference to the accompanying drawings. FIG. 1 is a conceptual diagram showing the overall configuration of the image data management apparatus according to the present embodiment. Here, it is assumed that the image data management program of the present invention is installed in the computer 1 in advance, and a case where a subject's hair is photographed to diagnose the health condition of the hair will be described as an example.

同図に示すように、画像データ管理装置は、撮像部手段あるCCDカメラ5により撮像された画像データを、蓄積し管理する装置であって、画像データ管理プログラムがインストールされたコンピュータ1に操作デバイス2(マウス2a、及びキーボード2b)と、表示装置であるモニター4と、CCDカメラ5とが接続された構成となっている。   As shown in the figure, the image data management apparatus is an apparatus for accumulating and managing image data picked up by a CCD camera 5 as an image pickup means, and is an operation device in a computer 1 in which an image data management program is installed. 2 (mouse 2a and keyboard 2b), a monitor 4 which is a display device, and a CCD camera 5 are connected.

コンピュータ1は、CPUを備えた演算処理装置であり、パーソナルコンピュータ等の汎用コンピュータや、機能を特化させた専用装置により実現することができ、例えば、モバイルコンピュータやPDA(Personal Digital Assistance)、携帯電話機が含まれる。なお、コンピュータ1は、LAN等の通信網に接続され、通信網を通じて、カメラやプリンタなどの外部機器に対してデータの送受信を行う通信機能を備えていてもよい。   The computer 1 is an arithmetic processing unit equipped with a CPU, and can be realized by a general-purpose computer such as a personal computer or a dedicated device specialized in functions, such as a mobile computer, PDA (Personal Digital Assistance), portable Includes telephone. The computer 1 may be connected to a communication network such as a LAN, and may have a communication function for transmitting / receiving data to / from an external device such as a camera or a printer through the communication network.

操作デバイス2は、ユーザー操作を操作信号としてコンピュータ1に入力する操作デバイスであり、マウス2a、及びキーボード2b等のボタンの他、ジョグダイヤルやタッチパネル等であってもよい。特に、本実施形態において、操作デバイス2は、ユーザーからの画像表示指示や、表示された画像データの選択、及び画像データ内の範囲を指定する操作、画像データの加工処理の開始及び停止等のユーザー操作を受け付ける操作部として機能する。モニター4は、例えば、液晶ディスプレイ等の表示装置であり、アプリケーションによって生成されるウインドウを通じて、映像や文字などを表示することができる。   The operation device 2 is an operation device that inputs a user operation to the computer 1 as an operation signal, and may be a jog dial, a touch panel, or the like in addition to buttons such as a mouse 2a and a keyboard 2b. In particular, in the present embodiment, the operation device 2 performs an image display instruction from the user, selection of displayed image data, operation for specifying a range in the image data, start and stop of image data processing, and the like. Functions as an operation unit that accepts user operations. The monitor 4 is a display device such as a liquid crystal display, for example, and can display images, characters, and the like through a window generated by an application.

CCDカメラ5は、静止画、又は動画を撮影する撮像装置であって、レンズ5aと、図示しないCCDである固定撮像素子から構成され、入射された被写体像を表す光がCCDの受光面に結像され、カメラ信号処理回路及びA/D変換器等を介して、コンピュータ1に画像データが送信される。この画像データには、動画及び静止画が含まれ、動画データは、多数の連続画像がフレームとなったストリーミング形式で、コンピュータ1に転送される。また、CCDカメラ5は、接写による拡大画像を撮影する光学的又は電子的な機能を有しており、本実施形態において、この拡大画像には、毛髪や皮膚など被写体が密集した拡大写真が含まれる。   The CCD camera 5 is an imaging device that captures a still image or a moving image. The CCD camera 5 includes a lens 5a and a fixed imaging element that is a CCD (not shown), and incident light representing an object image is coupled to a light receiving surface of the CCD. The image data is transmitted to the computer 1 via a camera signal processing circuit, an A / D converter, and the like. This image data includes a moving image and a still image, and the moving image data is transferred to the computer 1 in a streaming format in which a large number of continuous images are converted into frames. Further, the CCD camera 5 has an optical or electronic function for taking a magnified image by close-up. In this embodiment, the magnified image includes a magnified photograph in which subjects such as hair and skin are densely packed. It is.

そして、本実施形態においては、CCDカメラ5によって被験者の毛髪を動画撮影することで、動画像をモニター4上のウインドウ42にリアルタイムで表示できるとともに、この撮像された複数枚の画像データの中から合焦状態の良好な画像データを選択し、選択された拡大画像48をウインドウ42に表示する。そして、ユーザーが、コンピュータ1に接続されたキーボード2bやマウス2aを操作し、所定の操作を実行することで、モニター4に表示された画像データの所定範囲を指定したり、画像データを加工処理することで、画像データを用いた毛髪の健康状態(キューティクル状態など)を診断することができる。   In the present embodiment, the moving image of the subject's hair can be displayed in real time on the window 42 on the monitor 4 by capturing a moving image of the subject's hair with the CCD camera 5, and from among the plurality of captured image data. The image data with good focus state is selected, and the selected enlarged image 48 is displayed on the window 42. Then, the user operates the keyboard 2b and mouse 2a connected to the computer 1 to execute a predetermined operation, thereby specifying a predetermined range of the image data displayed on the monitor 4 and processing the image data. By doing so, it is possible to diagnose the health state (cuticle state or the like) of the hair using the image data.

(画像データの管理機能モジュール)
上述した画像データの管理は、上記コンピュータ1のCPU上における、画像データ管理機能モジュールによって行われる。図2は、本実施形態に係るコンピュータ1上のCPUにおける画像データの管理機能モジュールを示すブロック図であり、図3は、本実施形態に係るウインドウに表示された、画像データ一覧表示画面を示す説明図であり、図4は、本実施形態に係るウインドウに表示された範囲指定処理を示す説明図である。なお、説明中で用いられる「モジュール」とは、装置や機器等のハードウェア、或いはその機能を持ったソフトウェア、又はこれらの組み合わせなどによって構成され、所定の動作を達成するための機能単位を示す。
(Image data management function module)
The image data management described above is performed by an image data management function module on the CPU of the computer 1. FIG. 2 is a block diagram showing an image data management function module in the CPU on the computer 1 according to this embodiment, and FIG. 3 shows an image data list display screen displayed in the window according to this embodiment. 4 is an explanatory diagram, and FIG. 4 is an explanatory diagram illustrating a range designation process displayed in a window according to the present embodiment. The “module” used in the description refers to a functional unit that is configured by hardware such as an apparatus or a device, software having the function, or a combination thereof, and achieves a predetermined operation. .

図2に示すように、本実施形態において、コンピュータ1のCPUには、出入力系のモジュールとして、入力インターフェース101と、出力インターフェース102とを備えている。   As shown in FIG. 2, in the present embodiment, the CPU of the computer 1 includes an input interface 101 and an output interface 102 as input / output modules.

入力インターフェース101(101a、101b)は、操作デバイス2や、外部接続機器等からの信号が入力されるモジュールである。本実施形態において、入力インターフェース101aには、マウス2aやキーボード2b等の操作デバイス2が接続され、その操作信号が入力されるモジュールであり、表示された画像データの選択や、画像データの所定範囲が指定されたり、画像データに対する加工処理に対する指示操作が操作信号として操作信号取得部111へ入力される。一方、入力インターフェース101bは、撮像部であるCCDカメラ5等の外部接続機器が接続され、CCDカメラ5によって撮影された動画像が、ストリーミング形式の連続画像データとして入力される。   The input interface 101 (101a, 101b) is a module to which signals from the operation device 2, an external connection device, and the like are input. In the present embodiment, the input interface 101a is a module to which an operation device 2 such as a mouse 2a or a keyboard 2b is connected and an operation signal is input. Selection of displayed image data and a predetermined range of image data Or an instruction operation for processing the image data is input to the operation signal acquisition unit 111 as an operation signal. On the other hand, the input interface 101b is connected to an external connection device such as a CCD camera 5 as an imaging unit, and a moving image captured by the CCD camera 5 is input as continuous image data in a streaming format.

出力インターフェース102は、映像及び音声の出力信号を、モニター4及びスピーカーからそれぞれ出力させるモジュールであり、本実施形態では、アプリケーション実行部110から受信した撮影された画像データをモニター4へ出力する。   The output interface 102 is a module that outputs video and audio output signals from the monitor 4 and the speaker, respectively, and outputs captured image data received from the application execution unit 110 to the monitor 4 in this embodiment.

また、コンピュータ1のCPUには、アプリケーション実行部110と、記憶部120とを備えている。   In addition, the CPU of the computer 1 includes an application execution unit 110 and a storage unit 120.

記憶部120は、各種データや、プログラムを記憶するメモリ装置等であり、本実施形態においては、画像データの管理プログラムや、CCDカメラ5により撮像された複数枚の画像データを記憶保持する。特に、本実施形態において、記憶部120は、一連の撮影処理によって記録された複数枚の画像データを、一群の画像データとして記録保持するフォルダ120aを有しており、撮影日時や、被験者等の条件に応じて、複数枚の画像データをフォルダ120a内に記憶保持する。   The storage unit 120 is a memory device or the like that stores various data and programs. In this embodiment, the storage unit 120 stores and holds an image data management program and a plurality of image data captured by the CCD camera 5. In particular, in the present embodiment, the storage unit 120 includes a folder 120a that records and holds a plurality of pieces of image data recorded by a series of shooting processes as a group of image data. Depending on the conditions, a plurality of pieces of image data are stored and held in the folder 120a.

アプリケーション実行部110は、OS上において、ブラウザソフトや画像再生アプリケーションなどのアプリケーションを実行するモジュールであり、本実施形態においては、画像データの優先順位設定処理・選択処理を実行するモジュール群と、画像データの加工処理を実行するモジュール群とに大別される。以下、各モジュール群毎に説明する。   The application execution unit 110 is a module that executes an application such as browser software or an image reproduction application on the OS. In the present embodiment, a module group that executes image data priority setting / selection processing, and an image It is roughly divided into a module group for executing data processing. Hereinafter, each module group will be described.

画像データの優先順位設定処理・選択処理に関するモジュール群には、出力信号生成部114と、画像処理部117と、合焦点評価値算出部116と、データ選択部115とを備えている。
画像処理部117は、画像表示に必要な画像データの変換等を行い、画像処理に特化したデジタル信号処理を行うモジュールである。本実施形態において、画像処理部117は、CCDカメラ5により撮影された静止画像や動画像のデータの圧縮符号化等を行い、その圧縮符号化された画像データを、アプリケーション実行部110による制御に基づいて記憶部120に記憶させる。また、画像処理部117は、アプリケーション実行部110による制御に基づいて記憶部120から読み出された圧縮符号化されている画像データ等を伸張復号化等し、その伸張復号後の画像データを出力信号生成部114に送信する。なお、画像処理部117には、画像データを表示画像にRGB画像に変換する色変換、画像データの切替等を制御し、画像表示部41における画像形成処理全体を制御する画像形成制御機能が含まれる。
The module group related to image data priority setting / selection processing includes an output signal generation unit 114, an image processing unit 117, a focus evaluation value calculation unit 116, and a data selection unit 115.
The image processing unit 117 is a module that performs conversion of image data necessary for image display, and performs digital signal processing specialized for image processing. In the present embodiment, the image processing unit 117 performs compression encoding of still image and moving image data captured by the CCD camera 5, and the compressed and encoded image data is controlled by the application execution unit 110. Based on this, the data is stored in the storage unit 120. Also, the image processing unit 117 performs decompression decoding on the compression-encoded image data read from the storage unit 120 based on control by the application execution unit 110, and outputs the image data after the decompression decoding It transmits to the signal generation unit 114. The image processing unit 117 includes an image formation control function that controls color conversion for converting image data into a display image into an RGB image, switching of image data, and the like, and controls the entire image formation processing in the image display unit 41. It is.

出力信号生成部114は、画像処理部117によってデジタル信号処理された画像データを映像信号及び音声信号に変換し、画像表示部41やスピーカーで出力可能な信号に生成するモジュールである。本実施形態において、出力信号生成部114は、画像処理部117及び加工処理部113からの信号に基づいて、信号生成処理を実行し、その映像信号及び音声信号を出力インターフェース102へ送出する。   The output signal generation unit 114 is a module that converts the image data digitally processed by the image processing unit 117 into a video signal and an audio signal, and generates a signal that can be output by the image display unit 41 or a speaker. In the present embodiment, the output signal generation unit 114 performs signal generation processing based on the signals from the image processing unit 117 and the processing processing unit 113, and sends the video signal and audio signal to the output interface 102.

合焦点評価値算出部116は、CCDカメラ5により撮像された画像データを順次取得し、取得された画像データの合焦点評価値を算出するとともに、各画像データの合焦点評価値に基づく優先順位を設定するモジュールである。特に、本実施形態において、合焦点評価値算出部116は、各画像データの標準偏差に基づいて、合焦点評価値を算出する機能を備えている。   The in-focus evaluation value calculation unit 116 sequentially acquires the image data captured by the CCD camera 5, calculates the in-focus evaluation value of the acquired image data, and priorities based on the in-focus evaluation value of each image data. Is a module to set In particular, in the present embodiment, the in-focus evaluation value calculation unit 116 has a function of calculating the in-focus evaluation value based on the standard deviation of each image data.

具体的に、合焦点評価値算出部116は、CCDカメラ5によって撮像された画像データに対して、ノイズ量(V1)、画像データ全体の鮮鋭度(V2)、毛髪の鮮鋭度(V3)、及び毛髪量(V4)を算出し、算出されたこれらの各データ(V1,V2,V3,及びV4)に基づいて、合焦点評価値(F)を算出するものである。   Specifically, the in-focus evaluation value calculation unit 116 performs noise amount (V1), overall image data sharpness (V2), hair sharpness (V3) on the image data captured by the CCD camera 5, And the hair amount (V4) are calculated, and the focus evaluation value (F) is calculated based on the calculated data (V1, V2, V3, and V4).

詳述すると、先ず、合焦点評価値算出部116は、撮像された画像データに含まれるノイズ量(V1)を算出する。具体的に、合焦点評価値算出部116は、ノイズ量の算出として、上下(Y軸方向)に隣接する画素間における緑成分の階調差の平均値を求める。これは、動画撮像された画像データがインターレース方式によって表示されるため、画像データにはインターレース状のノイズが生じ、このインターレース状のノイズが合焦点評価値の算出に影響を与えるためである。具体的に、このノイズ量(V1)は、以下の式で算出する。

そして、合焦点評価値算出部116は、この算出されたノイズ量を、移動平均法によって画像全体のノイズを除去する。
More specifically, first, the in-focus evaluation value calculation unit 116 calculates the amount of noise (V1) included in the captured image data. Specifically, the in-focus evaluation value calculation unit 116 obtains an average value of the gradation differences of green components between pixels adjacent in the vertical direction (Y-axis direction) as the calculation of the noise amount. This is because the interlaced noise is generated in the image data because the image data captured by moving images is displayed by the interlace method, and this interlaced noise affects the calculation of the in-focus evaluation value. Specifically, this noise amount (V1) is calculated by the following equation.

Then, the in-focus evaluation value calculation unit 116 removes the noise of the entire image from the calculated noise amount by the moving average method.

次いで、合焦点評価値算出部116は、画像データ全体の鮮鋭度(V2)を算出する。通常、ぼけている画像は画素近傍の階調が平均化され、中間階調の画素が多いため、階調のばらつき具合が小さくなる。すなわち、標準偏差が高い画像データは、鮮明な画像であり、標準偏差が低い画像データは、合焦点が不良な、ぼけた画像であるといえる。   Next, the in-focus evaluation value calculation unit 116 calculates the sharpness (V2) of the entire image data. Usually, in a blurred image, gradations in the vicinity of pixels are averaged, and since there are many intermediate gradation pixels, the degree of gradation variation becomes small. That is, image data with a high standard deviation is a clear image, and image data with a low standard deviation is a blurred image with poor focus.

したがって、本実施形態では、画像全体の階調の標準偏差を求めることで、画像の鮮鋭度を算出する。具体的には、以下の式で、画像全体の鮮鋭度(V2)を算出する。
Therefore, in this embodiment, the sharpness of the image is calculated by obtaining the standard deviation of the gradation of the entire image. Specifically, the sharpness (V2) of the entire image is calculated by the following equation.

次いで、合焦点評価値算出部116は、毛髪の鮮鋭度(V3)を算出する。すなわち、算出された画像全体の鮮鋭度(V2)は、映っている背景と毛髪の量の影響を受けるため、毛髪部分のみの鮮鋭度を算出する必要がある。ここで、背景部分は一様に階調のばらつきが小さく、毛髪部分は階調のばらつきが大きいため、本実施形態では、各画素の階調と近傍画素の階調の平均との差を求めることで、毛髪部分のみの鮮鋭度を算出する。具体的には、以下の式で、毛髪の鮮鋭度(V3)を算出する。
Next, the in-focus evaluation value calculation unit 116 calculates the sharpness (V3) of the hair. That is, since the calculated sharpness (V2) of the entire image is affected by the reflected background and the amount of hair, it is necessary to calculate the sharpness of only the hair portion. Here, since the background portion has a uniform gradation variation and the hair portion has a large variation in gradation, the present embodiment obtains the difference between the gradation of each pixel and the average of the gradation of neighboring pixels. Thus, the sharpness of only the hair portion is calculated. Specifically, the sharpness (V3) of the hair is calculated by the following formula.

また、合焦点評価値算出部116は、毛髪量(V4)を算出する。ここで、算出された画像全体の鮮鋭度(V2)は、映っている背景と毛髪の量の影響を受けるため、毛髪量を算出し正規化する必要がある。そして、背景部分はエッジがなく、検出されたエッジは毛髪部分となるので、本実施形態においては、ラプラシアンフィルタによるエッジ抽出後における画像全体の階調の標準偏差を求めることで、毛髪量を算出する。具体的には、以下の式で、毛髪量(V4)を算出する。
Further, the focused evaluation value calculation unit 116 calculates the hair amount (V4). Here, since the calculated sharpness (V2) of the entire image is affected by the reflected background and the amount of hair, it is necessary to calculate and normalize the amount of hair. Since the background portion has no edge and the detected edge is a hair portion, in this embodiment, the amount of hair is calculated by obtaining the standard deviation of the gradation of the entire image after edge extraction by the Laplacian filter. To do. Specifically, the hair amount (V4) is calculated by the following formula.

そして、合焦点評価値算出部116は、ノイズ量(V1)、画像データ全体の鮮鋭度(V2)、毛髪の鮮鋭度(V3)、及び毛髪量(V4)で算出した結果を説明変量とし、且つ、目視結果を目的変量として算出された回帰方程式によって、合焦点評価値(F)を算出する。具体的には、以下の式で、合焦点評価値(F)を算出する。
And the in-focus evaluation value calculation unit 116 uses the result calculated with the noise amount (V1), the sharpness of the entire image data (V2), the sharpness of the hair (V3), and the hair amount (V4) as an explanatory variable, Further, the in-focus evaluation value (F) is calculated by the regression equation calculated using the visual result as the objective variable. Specifically, the in-focus evaluation value (F) is calculated by the following formula.

データ選択部115は、合焦点評価値算出部116が設定した優先順位に応じて、記憶部120に記憶された画像データに対して、削除や並び替えを実行するモジュールである。具体的に、データ選択部115は、一群の画像データの中から、各画像データの優先順位を対比し、優先順位に基づいて順位付けを行い、並び替えを実行する。そして、データ選択部115は、その順位付けされた各画像データを記憶部120に記憶させる。本実施形態においては、優先順位の上位30番までの画像データを並び替えるようになっており、この並び替えられた30枚の画像データは、図3に示すように、画像処理部117の制御により、画像表示部41のウインドウ42に一覧表示される。このウインドウ42には、イメージ画像43が優先順位毎に並んで表示されており、この画面を通じてユーザーが任意の画像データを選択することができるようになっている。なお、本実施形態において、データ選択部115は、優先順位が一定値以下の画像データについては、記憶部120に記憶された画像データを選択又は削除する機能も備えている。   The data selection unit 115 is a module that executes deletion or rearrangement on the image data stored in the storage unit 120 in accordance with the priority order set by the in-focus evaluation value calculation unit 116. Specifically, the data selection unit 115 compares the priority order of each image data from a group of image data, performs ranking based on the priority order, and executes rearrangement. Then, the data selection unit 115 causes the storage unit 120 to store the ranked image data. In the present embodiment, the image data up to the top 30 in the priority order are rearranged, and the rearranged 30 pieces of image data are controlled by the image processing unit 117 as shown in FIG. As a result, a list is displayed in the window 42 of the image display unit 41. In this window 42, image images 43 are displayed in order of priority, and the user can select arbitrary image data through this screen. In the present embodiment, the data selection unit 115 also has a function of selecting or deleting image data stored in the storage unit 120 for image data having a priority order equal to or lower than a certain value.

次いで、アプリケーション実行部110における、画像データの加工処理に関するモジュール群について説明する。画像データの加工処理に関するモジュール群には、操作信号取得部111と、範囲指定部112と、加工処理部113とを備えている。   Next, a module group related to image data processing in the application execution unit 110 will be described. The module group related to the image data processing includes an operation signal acquisition unit 111, a range specification unit 112, and a processing unit 113.

操作信号取得部111は、ユーザー操作による操作信号を、入力インターフェース101から受信するモジュールであり、受信した操作信号を解析し、ユーザー操作に応じた処理を他のモジュールに実行させる。特に、本実施形態において、操作信号取得部111は、操作デバイス2から取得した、画像表示部41に表示された画像データ内の所定範囲を指定する操作に関する信号を取得し、範囲指定部112に入力する。   The operation signal acquisition unit 111 is a module that receives an operation signal generated by a user operation from the input interface 101, analyzes the received operation signal, and causes another module to execute processing according to the user operation. In particular, in the present embodiment, the operation signal acquisition unit 111 acquires a signal related to an operation for specifying a predetermined range in the image data displayed on the image display unit 41 acquired from the operation device 2, and sends the signal to the range specification unit 112. input.

範囲指定部112は、ユーザー操作に基づいて、画像表示部41に表示された画像データ内の所定範囲を指定するモジュールである。この範囲指定部112は、ウインドウ42に表示された画像データ上における範囲を指定する範囲指定モードでは、ユーザーのポイント指定操作によって囲まれた範囲を指定範囲として特定し、この範囲は、多角形によって指定することができる。そして、特に本実施形態では、この範囲指定モードでは、ユーザーが操作デバイス2から、3点のポイントを指定する操作信号を操作信号取得部111から取得した際、その操作信号に基づいて指定された平行四辺形を指定範囲として、自動的に特定する機能が備えられている。   The range designation unit 112 is a module that designates a predetermined range in the image data displayed on the image display unit 41 based on a user operation. In the range specifying mode for specifying a range on the image data displayed in the window 42, the range specifying unit 112 specifies a range surrounded by the user's point specifying operation as a specified range, and this range is determined by a polygon. Can be specified. In this embodiment, in particular, in this range designation mode, when the user obtains an operation signal for designating three points from the operation signal acquisition unit 111 from the operation device 2, the range designation mode is designated based on the operation signal. A function for automatically specifying a parallelogram as a specified range is provided.

詳述すると、本実施形態では、図4(a)に示すように、毛髪の拡大画像48が表示された状態において、例えば、マウス2aによって、毛髪部分の任意の範囲ポイント45を3箇所クリック操作すると、範囲指定部112は、このクリック操作の操作信号を取得し、画像データ上のポイント位置を特定する。そして、範囲指定部112は、図4(b)に示すように、その3点を含む平行四辺形部分を指定範囲46と特定する。そして、その指定された範囲に関する信号は、加工処理部113へ入力される。このように被写体が毛髪の拡大図であるときには、多くの場合、毛髪表面を特定する指定範囲の形状は平行四辺形であることから、範囲指定モードでは自動的に3点指定による平行四辺形の領域を、指定範囲として認識するようにしている。これにより、本実施形態では、ユーザーの操作の省力化を図っている。   More specifically, in this embodiment, as shown in FIG. 4A, in the state where the enlarged image 48 of the hair is displayed, for example, the mouse 2a is used to click an arbitrary range point 45 of the hair part at three locations. Then, the range specifying unit 112 acquires the operation signal of this click operation and specifies the point position on the image data. Then, the range specifying unit 112 specifies the parallelogram portion including the three points as the specified range 46, as shown in FIG. Then, a signal regarding the designated range is input to the processing unit 113. In this way, when the subject is an enlarged view of the hair, in many cases, the shape of the designated range for specifying the hair surface is a parallelogram, and therefore in the range designation mode, a parallelogram with three-point designation is automatically set. An area is recognized as a specified range. Thereby, in this embodiment, labor saving of a user's operation is aimed at.

加工処理部113は、範囲指定部112により指定された指定範囲46に含まれる画像データを加工するモジュールであり、画像データに対して、文字や図形等を差し込む処理や、シャープ・エンボスなどの加工、赤目補正、明るさ、コントラスト調整等の画像加工処理を実行する。特に、本実施形態において、加工処理部113は、所定範囲に含まれた画素を二値化する機能を有しており、図4(c)に示すように、特定された指定範囲46の画像データを取得し、その指定範囲46内の画素を二値化する。そして、加工処理部113は、二値化した画像データを画像処理部117、及び出力信号生成部114に送信する。   The processing unit 113 is a module that processes the image data included in the specified range 46 specified by the range specifying unit 112. The processing unit 113 includes processing for inserting characters, graphics, and the like into the image data, and processing such as sharpening and embossing. Image processing such as red-eye correction, brightness, and contrast adjustment is executed. In particular, in the present embodiment, the processing unit 113 has a function of binarizing pixels included in a predetermined range, and an image of the specified designated range 46 as shown in FIG. Data is acquired and the pixels within the specified range 46 are binarized. Then, the processing unit 113 transmits the binarized image data to the image processing unit 117 and the output signal generation unit 114.

画像表示部41は、例えば、液晶ディスプレイ等の表示デバイスとそのディスプレイの表示駆動回路とを含み、ディスプレイ上に画像や文字等を表示するモジュールである。特に、本実施形態において、画像表示部41は、記憶部120に記憶保持された画像データを、合焦点評価値算出部116によって設定された優先順位に基づいて表示したり、表示された画像データ内の所定範囲に、二値化された画像を合成して表示する機能を有している。   The image display unit 41 is a module that includes, for example, a display device such as a liquid crystal display and a display drive circuit for the display, and displays images, characters, and the like on the display. In particular, in the present embodiment, the image display unit 41 displays the image data stored and held in the storage unit 120 based on the priority set by the in-focus evaluation value calculation unit 116, or displayed image data. It has a function of combining and displaying a binarized image within a predetermined range.

なお、本実施形態において、アプリケーション実行部110には、所定範囲内において二値化された画像データに基づく毛髪のキューティクル状態を診断する機能も備えている。具体的に、アプリケーション実行部110は、表示された画像データの二値化処理した部分を数値化し、記憶部120に記憶された、所定の閾値に基づいて診断処理を実行し、診断結果を算出する。そして、画像表示部41は、アプリケーション実行部110によって診断された、画像に基づく毛髪の診断結果を表示する。   In the present embodiment, the application execution unit 110 also has a function of diagnosing a cuticle state of hair based on image data binarized within a predetermined range. Specifically, the application execution unit 110 digitizes the binarized portion of the displayed image data, executes a diagnosis process based on a predetermined threshold stored in the storage unit 120, and calculates a diagnosis result To do. And the image display part 41 displays the diagnostic result of the hair based on the image diagnosed by the application execution part 110. FIG.

(画像データの管理方法)
以上の構成を有す画像データの管理装置を動作させることによって、本発明の画像データの管理方法を実施することができる。図5は、本実施形態に係る撮影された画像データを選択・表示させる手順を示すフローチャート図であり、図6は、本実施形態に係る撮影された画像データの解析・保存処理を示すフローチャート図であり、図7は、本実施形態に係る合焦点評価値算出方法を示すフローチャート図であり、図8は、本実施形態に係る二値化処理及び毛髪診断処理を示すフローチャート図である。なお、本実施形態においては、被験者の毛髪を撮影して、毛髪を診断する場合を例に説明する。
(Image data management method)
By operating the image data management apparatus having the above configuration, the image data management method of the present invention can be implemented. FIG. 5 is a flowchart showing a procedure for selecting and displaying photographed image data according to this embodiment, and FIG. 6 is a flowchart showing analysis / storage processing of photographed image data according to this embodiment. FIG. 7 is a flowchart showing the in-focus evaluation value calculation method according to this embodiment, and FIG. 8 is a flowchart showing the binarization process and the hair diagnosis process according to this embodiment. In the present embodiment, a case where a subject's hair is photographed and the hair is diagnosed will be described as an example.

先ず、図5に示すように、研究者又は美容技術者等であるユーザーが、CCDカメラ5によって、被験者の頭部を接写によって毛髪の拡大画像を撮影する(S101)。この動画データは、入力インターフェース101bを介して、コンピュータ1の画像処理部117に入力される。   First, as shown in FIG. 5, a user, such as a researcher or a beauty engineer, takes an enlarged image of the hair by close-up of the subject's head with the CCD camera 5 (S101). This moving image data is input to the image processing unit 117 of the computer 1 via the input interface 101b.

画像処理部117は、ユーザーが被験者の毛髪を撮像している間、出力信号生成部114及び出力インターフェース102を通じて、撮影中の動画データを画像表示部41の画面上に表示させる(S102)。また、焦点評価値算出部116は、撮影中の動画データから随時画像データを取得し、各画像データの合焦点評価値を解析して優先順位を設定し、優先順位が設定された画像データを記憶部120に記録保持させる(S103)。   The image processing unit 117 displays the moving image data being shot on the screen of the image display unit 41 through the output signal generation unit 114 and the output interface 102 while the user is imaging the subject's hair (S102). Further, the focus evaluation value calculation unit 116 acquires image data as needed from the moving image data being shot, analyzes the in-focus evaluation value of each image data, sets priorities, and sets the image data with the priorities set. Recording is held in the storage unit 120 (S103).

そして、これらS101〜S103の処理は、ユーザーが撮影を終了するまで、繰り返し継続され(S104における”N”)、ユーザーの停止操作やアプリケーション終了操作とともに、終了する(S104における”Y”)。ユーザーの停止操作やアプリケーション終了操作されると(S104における”Y”)、次ぎに、画像データの選択・表示が実行される(S105)。詳述すると、画像処理部117は、合焦点評価値算出部116から優先順位設定が終了した旨の信号を受信し、複数の画像データの優先順位に基づいて、図3に示すように、記録保持された画像データを選択し、ウインドウ42に各イメージ画像43として表示させる(S105)。   The processes in S101 to S103 are repeated until the user finishes shooting (“N” in S104), and ends with the user's stop operation and application end operation (“Y” in S104). When the user's stop operation or application end operation is performed (“Y” in S104), image data selection / display is executed (S105). More specifically, the image processing unit 117 receives a signal indicating that the priority setting has been completed from the in-focus evaluation value calculation unit 116, and based on the priorities of a plurality of image data, as shown in FIG. The held image data is selected and displayed as each image image 43 in the window 42 (S105).

次いで、ステップ103において実行された、撮影された画像データの解析・保存処理について説明する。始めに、ユーザーは画像データの管理プログラムを実行すると、合焦点評価値算出部116は、撮像された画像データを解析及び保存する操作信号を取得する(S201)。操作信号を取得した合焦点評価値算出部116は、撮像された動画データから取得した画像データの標準偏差に基づいて、合焦点評価値(F)を算出する(S202)。そして、合焦点評価値算出部116は、各画像データの合焦点評価値(F)に基づく優先順位を設定し(S203)、その画像データをデータ選択部115に送信する。   Next, the processing for analyzing / saving captured image data executed in step 103 will be described. First, when the user executes an image data management program, the in-focus evaluation value calculation unit 116 acquires an operation signal for analyzing and storing captured image data (S201). The in-focus evaluation value calculation unit 116 that acquired the operation signal calculates the in-focus evaluation value (F) based on the standard deviation of the image data acquired from the captured moving image data (S202). Then, the in-focus evaluation value calculation unit 116 sets a priority order based on the in-focus evaluation value (F) of each image data (S203), and transmits the image data to the data selection unit 115.

データ選択部115は、取得した画像データの優先順位が上位30番以上の画像データか否かを判断し(S204)、取得された画像データの優先順位が上位30番以内である場合には、(S204における“Y”)、データ選択部115は、画像データを選択し、保存する(S205)。なお、すでに、優先順位が設定された画像データが30枚以上あった場合には、データ選択部115は、新たに取得された画像データと、以前の画像データの優先順位30番目の画像データとを差替える処理を実行する(S205)。   The data selection unit 115 determines whether or not the priority order of the acquired image data is the top 30 or higher image data (S204), and if the priority order of the acquired image data is within the top 30, (“Y” in S204), the data selection unit 115 selects and stores the image data (S205). If there are already 30 or more image data with priorities set, the data selection unit 115 selects the newly acquired image data, the 30th image data with the priorities of the previous image data, Is executed (S205).

一方、選択された画像データの優先順位が上位30番以内でない場合には、データ選択部115は、その画像データに対して選択・保存処理を実行せず(S204における“N”)、終了する。   On the other hand, if the priority order of the selected image data is not within the top 30, the data selection unit 115 does not execute the selection / save process for the image data (“N” in S204) and ends. .

次いで、本実施形態に係る画像データ管理方法に係る画像加工方法について説明する。ここでは、優先順位が設定された一覧画面から任意の画像データが選択され、毛髪の拡大画像48が画像表示部41上のウインドウ42に表示されているものとする。   Next, an image processing method according to the image data management method according to the present embodiment will be described. Here, it is assumed that arbitrary image data is selected from the list screen in which the priority order is set, and an enlarged hair image 48 is displayed in the window 42 on the image display unit 41.

先ず、図8に示すように、ユーザー操作に基づいて、ウインドウ42に表示した画像データ内の所定範囲を指定する(S401)。具体的には、図4(a)に示すように、ユーザーは、マウス2aによって、毛髪の拡大画像における毛髪部分上の3点をクリック操作する。この際、範囲指定部112は、このクリック操作の操作信号を取得すると、図4(b)に示すように、画像データの指定位置を特定し、その3点を含む平行四辺形部分を指定範囲と特定する。そして、範囲指定部112は、その指定された範囲に関する信号を、加工処理部113へ入力する。   First, as shown in FIG. 8, a predetermined range in the image data displayed on the window 42 is designated based on a user operation (S401). Specifically, as shown in FIG. 4A, the user clicks three points on the hair portion in the enlarged image of the hair with the mouse 2a. At this time, when the operation signal of the click operation is acquired, the range specifying unit 112 specifies the specified position of the image data as shown in FIG. 4B and designates the parallelogram portion including the three points as the specified range. Is specified. Then, the range specifying unit 112 inputs a signal related to the specified range to the processing unit 113.

加工処理部113は、範囲指定部112によって指定された所定範囲に含まれる画像データに対して、加工処理を実行する。具体的に、加工処理部113は、範囲指定部112からの信号に基づいて、画像データの指定範囲に含まれた画素を二値化する演算処理を行う(S402)。この演算処理のデータは、画像処理部117に送信され、画像処理部117の制御により、画像表示部41上のウインドウ42に表示された画像データ内の指定範囲部分に、二値化された画像を合成する処理を実行する。これにより、画像表示部41のウインドウ42には、図4(c)に示すように、指定範囲46内の画像部分に2値化処理された画像47が表示される。   The processing unit 113 executes a processing process on the image data included in the predetermined range specified by the range specifying unit 112. Specifically, the processing unit 113 performs an arithmetic process for binarizing pixels included in the designated range of the image data based on the signal from the range designation unit 112 (S402). The data of this arithmetic processing is transmitted to the image processing unit 117, and is binarized in the designated range portion in the image data displayed on the window 42 on the image display unit 41 under the control of the image processing unit 117. Execute the process to synthesize. As a result, as shown in FIG. 4C, an image 47 that has been binarized is displayed on the image portion within the designated range 46 in the window 42 of the image display unit 41.

そして、アプリケーション実行部110は、表示された画像データの二値化処理した部分を数値化し、記憶部120に記憶された、所定の閾値に基づいて、診断処理を実行して診断結果を算出し、この診断結果データを画像処理部117に送信する。   Then, the application execution unit 110 digitizes the binarized portion of the displayed image data, executes a diagnosis process based on a predetermined threshold stored in the storage unit 120, and calculates a diagnosis result The diagnosis result data is transmitted to the image processing unit 117.

そして、画像処理部117の制御によって、ウインドウ42に、所定範囲内において二値化された画像に基づく毛髪の診断結果を表示する(S403)。   Then, under the control of the image processing unit 117, the diagnosis result of hair based on the image binarized within the predetermined range is displayed on the window 42 (S403).

なお、上述したステップS203では、具体的には、以下の制御を行う。図7は、本実施形態に係る合焦点評価値算出方法を示すフローチャート図である。   In step S203 described above, specifically, the following control is performed. FIG. 7 is a flowchart showing a focus evaluation value calculation method according to this embodiment.

図7に示すように、合焦点評価値算出部116は、取得した画像データのノイズ量(V1)を算出する(S301)。そして、合焦点評価値算出部116は、移動平均法により、この画像データからノイズ量(V1)を除去する(S302)。   As shown in FIG. 7, the in-focus evaluation value calculation unit 116 calculates the noise amount (V1) of the acquired image data (S301). Then, the in-focus evaluation value calculation unit 116 removes the noise amount (V1) from the image data by the moving average method (S302).

次いで、合焦点評価値算出部116は、画像データから、画像全体の鮮鋭度(V2)を算出するとともに(S303)、毛髪部分の鮮鋭度(V3)を算出する(S304)。そして、合焦点評価値算出部116は、ラプラシアンフィルタによって画像データからエッジを抽出し(S305)、画像データ内の毛髪部分である毛髪量(V4)を算出する(S306)。   Next, the in-focus evaluation value calculation unit 116 calculates the sharpness (V2) of the entire image from the image data (S303) and calculates the sharpness (V3) of the hair portion (S304). Then, the in-focus evaluation value calculation unit 116 extracts an edge from the image data using a Laplacian filter (S305), and calculates a hair amount (V4) that is a hair portion in the image data (S306).

そして、ノイズ量(V1),画像全体の鮮鋭度(V2),毛髪部分の鮮鋭度(V3),及び毛髪量(V4)を回帰方程式によって演算し、合焦点評価値(F)を算出する(S307)。   Then, the noise amount (V1), the sharpness of the entire image (V2), the sharpness of the hair portion (V3), and the hair amount (V4) are calculated by a regression equation to calculate a focus evaluation value (F) ( S307).

(画像データに係る管理プログラム)
上述した画像データ管理装置及び画像データ管理方法は、所定の言語で記述されたプログラムをコンピュータ上で実行することにより実現することができる。すなわち、このプログラムを、ユーザー端末やWebサーバ等のコンピュータやICチップにインストールし、CPU上で実行することにより、上述した各機能を有するシステムを容易に構築することができる。このプログラムは、例えば、通信回線を通じて配布することが可能であり、またスタンドアローンの計算機上で動作するパッケージアプリケーションとして譲渡することができる。
(Management program related to image data)
The above-described image data management apparatus and image data management method can be realized by executing a program described in a predetermined language on a computer. That is, by installing this program on a computer such as a user terminal or a Web server or an IC chip and executing it on the CPU, a system having the above-described functions can be easily constructed. This program can be distributed through a communication line, for example, and can be transferred as a package application that operates on a stand-alone computer.

この画像データ管理プログラムは、例えば、PCなどのコンピュータ1上において、画像データの管理プログラムを実行し、PCのディスプレイ等に上述した画像データを表示させ、操作デバイス2を通じて、画像データの管理を行えるようにすることができる。   For example, the image data management program executes the image data management program on a computer 1 such as a PC, displays the above-described image data on a display of the PC, and the like, and can manage the image data through the operation device 2. Can be.

具体的には、コンピュータ1に、複数枚の画像データを記憶部120に記憶保持する記憶ステップと、CCDカメラ5により撮像された画像データを順次取得し、取得された画像データの合焦点評価値を算出するとともに、各画像データの合焦点評価値に基づく優先順位を設定する合焦点評価値算出ステップと、合焦点評価値算出ステップで設定した優先順位に応じて、記憶部に記憶された画像データを選択するデータ選択ステップと、記憶部120に記憶保持された画像データを、データ選択部の選択に基づいて、ウインドウ42に表示させる画像表示ステップとを含む処理を実行させる。   Specifically, the storage step of storing and holding a plurality of pieces of image data in the storage unit 120 and the image data captured by the CCD camera 5 are sequentially acquired in the computer 1, and the in-focus evaluation value of the acquired image data is acquired. And a focus evaluation value calculation step for setting priority based on the focus evaluation value of each image data, and the image stored in the storage unit according to the priority set in the focus evaluation value calculation step A process including a data selection step of selecting data and an image display step of displaying the image data stored and held in the storage unit 120 on the window 42 based on the selection of the data selection unit is executed.

また、画像データの管理プログラムは、合焦点評価値算出ステップにおいて、各画像データの標準偏差に基づいて、合焦点評価値(F)を算出する処理を実行させる。本実施形態において、画像データの管理プログラムは、コンピュータ1に、ユーザー操作に基づいて、画像表示ステップでウインドウ42に表示した画像データ内に所定範囲を指定する範囲指定ステップと、範囲指定ステップで指定された所定範囲に含まれる画像データを加工する加工処理ステップとを含む処理を実行させる。   Further, the image data management program causes the focus evaluation value (F) to be calculated based on the standard deviation of each image data in the focus evaluation value calculation step. In the present embodiment, the image data management program causes the computer 1 to designate a predetermined range in the image data displayed on the window 42 in the image display step based on a user operation, and in the range designation step. And processing including processing steps for processing the image data included in the predetermined range.

さらに、CCDカメラ5は、接写による拡大画像を撮影する機能を有し、加工処理ステップでは、所定範囲に含まれた画素を二値化する演算処理を行い、画像表示ステップでは、ウインドウ42に表示された画像データ内の所定範囲に、二値化された画像を合成して表示する処理を実行させる。   Further, the CCD camera 5 has a function of photographing a magnified image by close-up. In the processing step, a calculation process for binarizing pixels included in a predetermined range is performed. In the image display step, the image is displayed on the window 42. Then, a process of combining and displaying the binarized image within a predetermined range in the image data is executed.

また、拡大画像は、毛髪の拡大写真であり、画像表示ステップは、所定範囲内において二値化された画像に基づく毛髪の診断結果を表示する診断結果表示ステップを含む処理を実行させる。   Further, the enlarged image is an enlarged photograph of hair, and the image display step executes processing including a diagnosis result display step for displaying a hair diagnosis result based on an image binarized within a predetermined range.

そして、このような画像データ管理プログラムは、汎用コンピュータで読み取り可能な記録媒体に記録することができ、汎用のコンピュータや専用コンピュータを用いて、上述したシステムや方法を実施することが可能となるとともに、プログラムの保存、運搬及びインストールを容易に行うことができる。   Such an image data management program can be recorded on a recording medium readable by a general-purpose computer, and the above-described system and method can be implemented using a general-purpose computer or a dedicated computer. The program can be easily stored, transported and installed.

(作用・効果)
このような実施形態によれば、撮像された複数枚の画像データの中から合焦状態の良好な画像データと、不良な画像データとを判別することができる。そして、本実施形態では、優先順位に応じて記憶部120に記憶された画像データの中から画像データを選択又は削除するので、例えば、優先順位が高い合焦状態が良好な画像データを優先的に表示させるとともに、不良な画像データを自動で削除することができ、ユーザーによる画像データの確認作業や、削除作業などの煩雑となる作業をなくすことができる。さらに、本実施形態では、合焦点評価値(F)によって算出された優先順位に基づいて、画像データをウインドウ42に表示させるので、ユーザーによる並び替えの作業等をなくし、ユーザーは、合焦状態の良好な画像データのみを即時に閲覧することができる。
(Action / Effect)
According to such an embodiment, it is possible to discriminate between good image data in a focused state and bad image data from a plurality of captured image data. In this embodiment, the image data is selected or deleted from the image data stored in the storage unit 120 according to the priority order. For example, the image data with a high priority and good focus state is given priority. In addition, it is possible to automatically delete defective image data and to eliminate troublesome operations such as confirmation of image data and deletion by the user. Furthermore, in this embodiment, since the image data is displayed on the window 42 based on the priority order calculated based on the focus evaluation value (F), the user does not need to perform rearrangement, and the user can change the focus state. Only good image data can be viewed immediately.

また、本実施形態において、合焦点評価値算出部116は、各画像データの標準偏差に基づいて、合焦点評価値(F)を算出するので、焦点が合わず、ぼけた画像データか否かを判別することができ、画像データに焦点が合った部分を含んでいるのか否かを判断することができる。   In the present embodiment, since the in-focus evaluation value calculation unit 116 calculates the in-focus evaluation value (F) based on the standard deviation of each image data, it is determined whether or not the image data is out of focus and blurred. And whether or not the image data includes a focused portion can be determined.

さらに、本実施形態においては、ユーザー操作に基づいて、ウインドウ42に表示された画像データ内に所定範囲を指定する範囲指定部112と、範囲指定部112により指定された所定範囲に含まれる画像データを加工する加工処理部113とをさらに備えるので、ウインドウ42に表示された画像の所定の範囲を指定し、様々な加工処理をすることができ、ユーザーの目的に沿った画像データを得ることができる。   Further, in the present embodiment, based on a user operation, a range specifying unit 112 that specifies a predetermined range in the image data displayed in the window 42, and image data included in the predetermined range specified by the range specifying unit 112 Is further provided with a processing unit 113 for processing the image, so that a predetermined range of the image displayed in the window 42 can be designated and various types of processing can be performed, and image data in accordance with the user's purpose can be obtained. it can.

また、本実施形態においては、CCDカメラ5は、接写による拡大画像を撮影する機能を有し、加工処理部113は、所定範囲に含まれた画素を二値化する機能を有しており、ウインドウ42は、表示された画像データ内の所定範囲に、二値化された画像を合成して表示する機能を有し、拡大画像は、毛髪の拡大写真であり、ウインドウ42には、所定範囲内において二値化された画像に基づく毛髪の診断結果を表示する診断結果表示機能を有するので、撮像された毛髪の拡大写真から、焦点の合っている所定範囲を指定範囲として二値処理して、毛髪の表面状態を明確に表示させ、毛髪のキューティクルを容易に診断することができる。   In the present embodiment, the CCD camera 5 has a function of shooting an enlarged image by close-up, and the processing unit 113 has a function of binarizing pixels included in a predetermined range. The window 42 has a function of combining and displaying a binarized image within a predetermined range in the displayed image data. The enlarged image is an enlarged photograph of hair, and the window 42 includes a predetermined range. Since it has a diagnostic result display function that displays the diagnostic result of hair based on the binarized image in the inside, from the enlarged photograph of the imaged hair, binary processing is performed with the predetermined range in focus as the designated range The hair surface state can be clearly displayed, and the hair cuticle can be easily diagnosed.

1…コンピュータ
2…操作デバイス
2a…マウス
2b…キーボード
4…モニター
5…CCDカメラ
5a…レンズ
41…画像表示部
42…ウインドウ
43…イメージ画像
45…範囲指定ポイント
46…指定範囲
47…二値化された画像
48…毛髪の拡大画像
101…入力インターフェース
101a…入力インターフェース
101b…入力インターフェース
102…出力インターフェース
110…アプリケーション実行部
111…操作信号取得部
112…範囲指定部
113…加工処理部
114…出力信号生成部
115…データ選択部
116…合焦点評価値算出部
117…画像処理部
120…記憶部
120a…フォルダ
DESCRIPTION OF SYMBOLS 1 ... Computer 2 ... Operation device 2a ... Mouse 2b ... Keyboard 4 ... Monitor 5 ... CCD camera 5a ... Lens 41 ... Image display part 42 ... Window 43 ... Image image 45 ... Range designation point 46 ... Designation range 47 ... Binarization 48 ... enlarged image of hair 101 ... input interface 101a ... input interface 101b ... input interface 102 ... output interface 110 ... application execution unit 111 ... operation signal acquisition unit 112 ... range specification unit 113 ... processing processing unit 114 ... output signal generation Unit 115 ... Data selection unit 116 ... In-focus evaluation value calculation unit 117 ... Image processing unit 120 ... Storage unit 120a ... Folder

Claims (15)

撮像部により撮像された画像データを管理する装置であって、
複数枚の画像データを記憶保持する記憶部と、
前記撮像部により撮像された画像データを順次取得し、取得された画像データの合焦点評価値を算出するとともに、各画像データの合焦点評価値に基づく優先順位を設定する合焦点評価値算出部と、
前記合焦点評価値算出部が設定した優先順位に応じて、前記記憶部に記憶された画像データを選択するデータ選択部と、
前記記憶部に記憶保持された画像データを、前記データ選択部による選択に基づいて、
表示する画像表示部と
ユーザー操作に基づいて、前記画像表示部に表示された画像データ内に所定範囲を指定する範囲指定部と、
前記範囲指定部により指定された前記所定範囲に含まれる画像データを加工する加工処理部と、
を有し、
前記範囲指定部は、前記ユーザー操作として画像データ上の3点指定を入力させ、当該3点を含む平行四辺形部分を前記所定範囲として認識する
ことを特徴とする画像データ管理装置。
An apparatus for managing image data captured by an imaging unit,
A storage unit for storing and holding a plurality of pieces of image data;
The in-focus evaluation value calculation unit that sequentially acquires the image data captured by the imaging unit, calculates the in-focus evaluation value of the acquired image data, and sets the priority order based on the in-focus evaluation value of each image data When,
A data selection unit that selects image data stored in the storage unit according to the priority set by the in-focus evaluation value calculation unit;
Based on the selection by the data selection unit, the image data stored and held in the storage unit,
An image display section to be displayed ;
A range designating unit for designating a predetermined range in the image data displayed on the image display unit based on a user operation;
A processing unit that processes image data included in the predetermined range specified by the range specifying unit;
I have a,
The image data management apparatus characterized in that the range specification unit inputs a three-point specification on image data as the user operation and recognizes a parallelogram portion including the three points as the predetermined range. .
前記合焦点評価値算出部は、各画像データの標準偏差に基づいて、前記合焦点評価値を算出することを特徴とする請求項1に記載の画像データ管理装置。   The image data management apparatus according to claim 1, wherein the in-focus evaluation value calculation unit calculates the in-focus evaluation value based on a standard deviation of each image data. 前記撮像部は、接写による拡大画像を撮影する機能を有し、
前記合焦点評価値算出部は、各画素の階調と近傍画素の階調の平均との差を求めることで、毛髪部分のみの鮮鋭度を算出するとともに、画像全体の階調の標準偏差を求め、毛髪量を算出し、前記鮮鋭度、及び前記毛髪量に基づいて、前記合焦点評価値を算出する
ことを特徴とする請求項に記載の画像データ管理装置。
The imaging unit has a function of shooting an enlarged image by close-up,
The in-focus evaluation value calculation unit calculates the sharpness of only the hair portion by calculating the difference between the gradation of each pixel and the gradation of the neighboring pixels, and calculates the standard deviation of the gradation of the entire image. The image data management apparatus according to claim 2 , wherein the image data management device calculates the amount of hair, calculates the in-focus evaluation value based on the sharpness and the amount of hair .
前記撮像部は、接写による拡大画像を撮影する機能を有し、
前記加工処理部は、前記所定範囲に含まれた画素を二値化する機能を有し、
前記画像表示部は、表示された画像データ内の前記所定範囲に、二値化された画像を合成して表示する機能を有することを特徴とする請求項に記載の画像データ管理装置。
The imaging unit has a function of shooting an enlarged image by close-up,
The processing unit has a function of binarizing pixels included in the predetermined range,
The image data management apparatus according to claim 1 , wherein the image display unit has a function of combining and displaying a binarized image within the predetermined range in the displayed image data.
前記拡大画像は、毛髪の拡大写真であり、
前記画像表示部は、前記所定範囲内において二値化された画像に基づく毛髪の診断結果を表示する診断結果表示機能を有することを特徴とする請求項4に記載の画像データ管理装置。
The enlarged image is an enlarged photograph of hair,
The image data management apparatus according to claim 4, wherein the image display unit has a diagnosis result display function for displaying a diagnosis result of hair based on an image binarized within the predetermined range.
撮像部により撮像された画像データを管理する管理プログラムであって、コンピュータに、
複数枚の画像データを記憶部に記憶保持する記憶ステップと、
前記撮像部により撮像された画像データを順次取得し、取得された画像データの合焦点評価値を算出するとともに、各画像データの合焦点評価値に基づく優先順位を設定する合焦点評価値算出ステップと、
前記合焦点評価値算出ステップで設定した優先順位に応じて、前記記憶部に記憶された画像データを選択するデータ選択ステップと、
前記記憶部に記憶保持された画像データを、データ選択部の選択に基づいて、画像表示部に表示させる画像表示ステップと
ユーザー操作として画像表示部に表示した画像データ上の3点指定を入力させ、当該3点を含む平行四辺形部分を前記所定範囲として認識して、前記画像データ内に所定範囲を指定する範囲指定ステップと、
前記範囲指定ステップで指定された前記所定範囲に含まれる画像データを加工する加工処理ステップと、
を有する処理を実行させることを特徴とする画像データ管理プログラム。
A management program for managing image data captured by an imaging unit,
A storage step of storing and holding a plurality of pieces of image data in the storage unit;
In-focus evaluation value calculation step of sequentially acquiring image data picked up by the image pickup unit, calculating a focus evaluation value of the acquired image data, and setting a priority order based on the focus evaluation value of each image data When,
A data selection step of selecting image data stored in the storage unit according to the priority set in the in-focus evaluation value calculation step;
An image display step of causing the image display unit to display the image data stored and held in the storage unit based on the selection of the data selection unit ;
Specifying a three-point specification on the image data displayed on the image display unit as a user operation, recognizing the parallelogram portion including the three points as the predetermined range, and specifying a predetermined range in the image data Steps,
A processing step for processing image data included in the predetermined range specified in the range specifying step;
An image data management program for executing a process including:
前記合焦点評価値算出ステップでは、各画像データの標準偏差に基づいて、前記合焦点評価値を算出することを特徴とする請求項6に記載の画像データ管理プログラム。   The image data management program according to claim 6, wherein the focus evaluation value calculation step calculates the focus evaluation value based on a standard deviation of each image data. 前記撮像部は、接写による拡大画像を撮影する機能を有し、
前記合焦点評価値算出ステップでは、各画素の階調と近傍画素の階調の平均との差を求めることで、毛髪部分のみの鮮鋭度を算出するとともに、画像全体の階調の標準偏差を求め、毛髪量を算出し、前記鮮鋭度、及び前記毛髪量に基づいて、前記合焦点評価値を算出する
ことを特徴とする請求項に記載の画像データ管理プログラム。
The imaging unit has a function of shooting an enlarged image by close-up,
In the in-focus evaluation value calculating step, by calculating the difference between the gradation of each pixel and the average of the gradation of neighboring pixels, the sharpness of only the hair portion is calculated, and the standard deviation of the gradation of the entire image is calculated. The image data management program according to claim 7 , wherein the image data management program is obtained by calculating a hair amount and calculating the focus evaluation value based on the sharpness and the hair amount .
前記撮像部は、接写による拡大画像を撮影する機能を有し、
前記加工処理ステップでは、前記所定範囲に含まれた画素を二値化する演算処理を行い、
前記画像表示ステップでは、前記画像表示部に表示された画像データ内の前記所定範囲に、二値化された画像を合成して表示することを特徴とする請求項に記載の画像データ管理プログラム。
The imaging unit has a function of shooting an enlarged image by close-up,
In the processing step, an arithmetic process for binarizing pixels included in the predetermined range is performed,
The image data management program according to claim 6 , wherein in the image display step, the binarized image is synthesized and displayed in the predetermined range in the image data displayed on the image display unit. .
前記拡大画像は、毛髪の拡大写真であり、
前記画像表示ステップは、前記所定範囲内において二値化された画像に基づく毛髪の診断結果を表示する診断結果表示ステップをさらに有することを特徴とする請求項9に記載の画像データ管理プログラム。
The enlarged image is an enlarged photograph of hair,
The image data management program according to claim 9, wherein the image display step further includes a diagnosis result display step of displaying a hair diagnosis result based on an image binarized within the predetermined range.
撮像部により撮像された画像データを管理する管理方法であって、
複数枚の画像データを記憶部に記憶保持する記憶ステップと、
前記撮像部により撮像された画像データを順次取得し、取得された画像データの合焦点評価値を算出するとともに、各画像データの合焦点評価値に基づく優先順位を設定する合焦点評価値算出ステップと、
前記合焦点評価値算出ステップで設定した優先順位に応じて、前記記憶部に記憶された画像データを選択するデータ選択ステップと、
前記記憶部に記憶保持された画像データを、データ選択部の選択に基づいて、画像表示部に表示させる画像表示ステップと
ユーザー操作として画像表示部に表示した画像データ上の3点指定を入力させ、当該3点を含む平行四辺形部分を前記所定範囲として認識して、前記画像データ内に所定範囲を指定する範囲指定ステップと、
前記範囲指定ステップで指定された前記所定範囲に含まれる画像データを加工する加工処理ステップと、
を有することを特徴とする画像データ管理方法。
A management method for managing image data captured by an imaging unit,
A storage step of storing and holding a plurality of pieces of image data in the storage unit;
In-focus evaluation value calculation step of sequentially acquiring image data picked up by the image pickup unit, calculating a focus evaluation value of the acquired image data, and setting a priority order based on the focus evaluation value of each image data When,
A data selection step of selecting image data stored in the storage unit according to the priority set in the in-focus evaluation value calculation step;
An image display step of causing the image display unit to display the image data stored and held in the storage unit based on the selection of the data selection unit ;
Specifying a three-point specification on the image data displayed on the image display unit as a user operation, recognizing the parallelogram portion including the three points as the predetermined range, and specifying a predetermined range in the image data Steps,
A processing step for processing image data included in the predetermined range specified in the range specifying step;
An image data management method comprising:
前記合焦点評価値算出ステップでは、各画像データの標準偏差に基づいて、前記合焦点評価値を算出することを特徴とする請求項11に記載の画像データ管理方法。   12. The image data management method according to claim 11, wherein in the focus evaluation value calculation step, the focus evaluation value is calculated based on a standard deviation of each image data. 前記撮像部は、接写による拡大画像を撮影する機能を有し、
前記合焦点評価値算出ステップでは、各画素の階調と近傍画素の階調の平均との差を求めることで、毛髪部分のみの鮮鋭度を算出するとともに、画像全体の階調の標準偏差を求め、毛髪量を算出し、前記鮮鋭度、及び前記毛髪量に基づいて、前記合焦点評価値を算出する
ことを特徴とする請求項12に記載の画像データ管理方法。
The imaging unit has a function of shooting an enlarged image by close-up,
In the in-focus evaluation value calculating step, by calculating the difference between the gradation of each pixel and the average of the gradation of neighboring pixels, the sharpness of only the hair portion is calculated, and the standard deviation of the gradation of the entire image is calculated. The image data management method according to claim 12 , wherein the image data management method is obtained by calculating a hair amount and calculating the focus evaluation value based on the sharpness and the hair amount .
前記撮像部は、接写による拡大画像を撮影する機能を有し、
前記加工処理ステップでは、前記所定範囲に含まれた画素を二値化する演算処理を行い、
前記画像表示ステップでは、前記画像表示部に表示された画像データ内の前記所定範囲に、二値化された画像を合成して表示することを特徴とする請求項11に記載の画像データ管理方法。
The imaging unit has a function of shooting an enlarged image by close-up,
In the processing step, an arithmetic process for binarizing pixels included in the predetermined range is performed,
12. The image data management method according to claim 11 , wherein in the image display step, a binarized image is synthesized and displayed in the predetermined range in the image data displayed on the image display unit. .
前記拡大画像は、毛髪の拡大写真であり、
前記画像表示ステップは、前記所定範囲内において二値化された画像に基づく毛髪の診断結果を表示する診断結果表示ステップをさらに有することを特徴とする請求項14に記載の画像データ管理方法。
The enlarged image is an enlarged photograph of hair,
The image data management method according to claim 14, wherein the image display step further includes a diagnosis result display step of displaying a hair diagnosis result based on an image binarized within the predetermined range.
JP2010181397A 2010-08-13 2010-08-13 Image data management apparatus, image data management program, and image data management method Expired - Fee Related JP5588267B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010181397A JP5588267B2 (en) 2010-08-13 2010-08-13 Image data management apparatus, image data management program, and image data management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010181397A JP5588267B2 (en) 2010-08-13 2010-08-13 Image data management apparatus, image data management program, and image data management method

Publications (2)

Publication Number Publication Date
JP2012044285A JP2012044285A (en) 2012-03-01
JP5588267B2 true JP5588267B2 (en) 2014-09-10

Family

ID=45900130

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010181397A Expired - Fee Related JP5588267B2 (en) 2010-08-13 2010-08-13 Image data management apparatus, image data management program, and image data management method

Country Status (1)

Country Link
JP (1) JP5588267B2 (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0792587A (en) * 1993-09-28 1995-04-07 Fuji Photo Film Co Ltd Radiograph reproducing device
JPH08166534A (en) * 1994-12-14 1996-06-25 Toshiba Corp Automatic focusing method for image processor
JPH1170085A (en) * 1997-08-28 1999-03-16 Ekuserento:Kk Skin and/or hair diagnostic device
JP2001285689A (en) * 2000-03-31 2001-10-12 Olympus Optical Co Ltd Electronic camera
JP2002007568A (en) * 2000-06-27 2002-01-11 Kaihatsu Komonshitsu:Kk Diagnostic system, diagnostic data generating method, information processing apparatus used for them, terminal device, and recording medium
JP2004113390A (en) * 2002-09-25 2004-04-15 Olympus Corp Optical probe apparatus
JP5085344B2 (en) * 2008-01-15 2012-11-28 株式会社 資生堂 Evaluation apparatus, evaluation method, evaluation program, and recording medium on which the program is recorded
JP5047821B2 (en) * 2008-01-22 2012-10-10 株式会社ファインゾーン Hair diagnosis support system

Also Published As

Publication number Publication date
JP2012044285A (en) 2012-03-01

Similar Documents

Publication Publication Date Title
JP4154400B2 (en) Imaging apparatus, control method thereof, and program
US8144234B2 (en) Image display apparatus, image capturing apparatus, and image display method
KR101489048B1 (en) Imaging apparatus, image processing method, and recording medium for recording program thereon
US8947519B2 (en) Image processing apparatus, image processing system, image processing method, and image processing program
US9538085B2 (en) Method of providing panoramic image and imaging device thereof
EP2073531A1 (en) Method and apparatus for creating a combined image
JP2012195949A (en) Image processor and image evaluation program
US20100188520A1 (en) Imaging device and storage medium storing program
US8558942B2 (en) Focusing measurement device, focusing measurement method, and program
JP4868046B2 (en) Image processing apparatus, image processing method, and program
JP2007336411A (en) Imaging apparatus, auto-bracketing photographing method, and program
JP2009123081A (en) Face detection method and photographing apparatus
JP2015012481A (en) Image processing device
JP2008079193A (en) Digital camera
US8571404B2 (en) Digital photographing apparatus, method of controlling the same, and a computer-readable medium storing program to execute the method
US8243154B2 (en) Image processing apparatus, digital camera, and recording medium
EP2148502A1 (en) Image processing apparatus and method thereof
JP4609315B2 (en) Imaging device, method of displaying angle frame at zoom, and program
JP2019110430A (en) Control apparatus, imaging apparatus, control method, and program
US20120075495A1 (en) Electronic camera
JP5588267B2 (en) Image data management apparatus, image data management program, and image data management method
US20210400207A1 (en) Imaging apparatus, method of controlling imaging apparatus and computer-readable medium
JP2007208355A (en) Photographing device, method, and program
KR101551427B1 (en) Mobile terminal for supporting iris recognition function
JP5417920B2 (en) Image processing apparatus, image processing method, electronic camera, and image processing program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130725

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140220

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140225

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140425

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: 20140715

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140725

R150 Certificate of patent or registration of utility model

Ref document number: 5588267

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees