[go: up one dir, main page]

JPH11167633A - Method and device for analyzing image - Google Patents

Method and device for analyzing image

Info

Publication number
JPH11167633A
JPH11167633A JP9348527A JP34852797A JPH11167633A JP H11167633 A JPH11167633 A JP H11167633A JP 9348527 A JP9348527 A JP 9348527A JP 34852797 A JP34852797 A JP 34852797A JP H11167633 A JPH11167633 A JP H11167633A
Authority
JP
Japan
Prior art keywords
image
histogram
subject
data
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.)
Pending
Application number
JP9348527A
Other languages
Japanese (ja)
Inventor
Kimihiro Nakatsuka
公博 中塚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dainippon Screen Manufacturing Co Ltd
Original Assignee
Dainippon Screen Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dainippon Screen Manufacturing Co Ltd filed Critical Dainippon Screen Manufacturing Co Ltd
Priority to JP9348527A priority Critical patent/JPH11167633A/en
Publication of JPH11167633A publication Critical patent/JPH11167633A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)

Abstract

PROBLEM TO BE SOLVED: To properly perform image analysis based on a histogram when the exposure state of an image is 'back light'. SOLUTION: When the exposure state of an image of an original is discriminated and the discriminated exposure state is 'back light' (step S120), a mouse operation of an operator is received and the object that becomes a subject in the image is designated (step S200) and also, each peak in a doubly peaked histogram is divided into two (step S300). A division area side that includes a peaked part which represents the designated subject object is extracted and a histogram distribution in the extracted division area is made analyzed data (step S400). The analyzed data is used for image analytical processing which produces a LUT for density gradation return.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、画像を表わす画
像データについてのヒストグラムを被解析データとし
て、該画像データの解析処理を行なう画像解析方法およ
びその装置に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an image analysis method and apparatus for analyzing a histogram of image data representing an image as data to be analyzed.

【0002】[0002]

【従来の技術】従来より、画像データの画質改善を目的
として、コンピュータを用いて画像データに対して各種
画像処理を施すことが行なわれていた。各種画像処理
は、適切な処理パラメータを用いて実行されるが、この
処理パラメータは、各種画像処理を行なう前に、画像デ
ータを解析することにより求めておく必要がある。とり
わけ、処理パラメータとして画像の再現レンジを決定す
る際には、画像データのヒストグラムをもとにその解析
を行なうことが一般的である。
2. Description of the Related Art Conventionally, various image processes have been performed on image data using a computer for the purpose of improving the image quality of the image data. Various types of image processing are performed using appropriate processing parameters, and these processing parameters need to be obtained by analyzing image data before performing various types of image processing. In particular, when determining a reproduction range of an image as a processing parameter, it is common to perform analysis based on a histogram of image data.

【0003】このヒストグラムを用いた解析処理では、
例えば、画像データの内の最も明度の高いハイライト点
を選択して、このハイライト点を基準にして再現レンジ
を決定することが行なわれている。
In the analysis process using the histogram,
For example, a highlight point having the highest brightness in image data is selected, and a reproduction range is determined based on the highlight point.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記従
来の技術では、画像の露光状態が逆光である場合に、そ
の逆光の露光状態により発生する明度の高い部分、すな
わち、画像の主題(適正な露光状態で再現したい画像領
域)とは離れた無効な部分から、上記ハイライト点を選
択するといった、誤った解析を行なう問題が発生した。
この結果、画像データの再現レンジは不適切なものとな
ってしまった。
However, according to the above-mentioned prior art, when the exposure state of an image is a backlight, a portion of high brightness generated by the exposure state of the backlight, that is, the subject of the image (appropriate exposure) There is a problem in that erroneous analysis is performed, such as selecting the highlight point from an invalid portion distant from an image area desired to be reproduced in a state.
As a result, the reproduction range of the image data becomes inappropriate.

【0005】この発明は、画像の露光状態が「逆光」、
「アンダー露光」といった不適切な状態にあるときに
も、ヒストグラムをもとにした画像解析が適正に行なわ
れるようにすることを目的としている。
According to the present invention, the image exposure state is "backlit",
It is an object of the present invention to appropriately perform image analysis based on a histogram even in an inappropriate state such as "under exposure".

【0006】[0006]

【課題を解決するための手段およびその作用・効果】前
述した課題の少なくとも一部を解決するための手段とし
て、以下に示す構成をとった。
Means for Solving the Problems and Actions and Effects Thereof, the following structure is adopted as means for solving at least a part of the above-mentioned problems.

【0007】この発明の画像の画像解析方法は、画像を
表わす画像データについてのヒストグラムを被解析デー
タとして、該画像データの解析処理を行なう画像解析方
法において、(a)ヒストグラム分布の形状が少なくと
も2以上の峰を有するものであるヒストグラムを用意す
る工程と、(b)前記工程(a)で用意したヒストグラ
ムを、前記峰毎に複数の領域に分割する工程と、(c)
該分割された複数の領域のうちから一の領域を選択する
工程と、(d)該選択された領域に含まれるヒストグラ
ム分布を、前記被解析データとして抽出する工程とを備
えることを、その要旨としている。
According to the image analysis method of the present invention, there is provided an image analysis method in which a histogram of image data representing an image is used as data to be analyzed, and the image data is analyzed. A step of preparing a histogram having the above peaks; (b) a step of dividing the histogram prepared in the step (a) into a plurality of regions for each of the peaks;
The method includes the steps of: selecting one area from the plurality of divided areas; and (d) extracting a histogram distribution included in the selected area as the analyzed data. And

【0008】この構成の画像解析方法によれば、ヒスト
グラムを峰毎に複数の領域に分割し、その分割された複
数の領域の内から一の領域を選択する。そして、その選
択された領域に含まれるヒストグラム分布を被解析デー
タとして、その画像データの解析処理を行なう。このた
め、上記一の領域として、画像データの内の再現したい
有効な画像領域を選ぶことにより、被解析データを有効
な画像領域を表わすヒストグラム分布に限ることができ
る。したがって、画像の露光状態が「逆光」、「アンダ
ー露光」といった不適切な状態にあるときにも、有効な
画像領域部分についてのヒストグラム分布を被解析デー
タとした、適正な画像解析を行なうことができる。
According to the image analysis method having this configuration, the histogram is divided into a plurality of regions for each peak, and one region is selected from the plurality of divided regions. Then, analysis processing of the image data is performed using the histogram distribution included in the selected area as the data to be analyzed. Therefore, by selecting an effective image area to be reproduced from the image data as the one area, the analyzed data can be limited to a histogram distribution representing the effective image area. Therefore, even when the exposure state of the image is in an inappropriate state such as “backlight” or “under exposure”, it is possible to perform proper image analysis using the histogram distribution of the effective image area portion as the analyzed data. it can.

【0009】上記画像解析方法において、前記工程
(c)にて選択される一の領域は、前記画像の中で主題
となる対象を少なくとも表わす領域である構成とするこ
とが可能である。
In the above-mentioned image analysis method, the one area selected in the step (c) may be configured to be an area at least representing a subject which is a subject in the image.

【0010】この構成によれば、画像の中で主題となる
対象を適正に解析することができる。
According to this configuration, it is possible to properly analyze a subject as a subject in an image.

【0011】上記構成の画像解析方法において、前記工
程(c)は、(c1)前記画像データをディスプレイの
画面に表示する工程と、(c2)作業者による前記画面
上の位置の指定を受けて、該画面に表示された画像デー
タの内の任意の画素データを選択する工程と、(c3)
該選択された画素データを含む前記一の領域を選択する
工程とを含む構成とすることができる。
In the above-structured image analysis method, the step (c) includes: (c1) displaying the image data on a display screen; and (c2) receiving designation of a position on the screen by an operator. Selecting arbitrary pixel data from the image data displayed on the screen; (c3)
Selecting the one area including the selected pixel data.

【0012】この構成によれば、画像の中で有効な領域
部分を作業者は指定することができる。したがって、作
業者の意図した画像対象を適正に解析することができ
る。
According to this configuration, the operator can designate a valid area portion in the image. Therefore, it is possible to appropriately analyze the image target intended by the operator.

【0013】上記構成の画像解析方法において、(e)
前記画像の露光状態を判別する工程と、(f)該判別し
た露光状態が逆光であるとき、前記(b)ないし(d)
を順に実行する工程とを含む構成とすることができる。
In the above-structured image analysis method, (e)
(F) determining the exposure state of the image; and (f) when the determined exposure state is backlight,
Are sequentially performed.

【0014】この構成によれば、画像の露光状態が逆光
であるときに、適正な画像解析を可能としている。
According to this configuration, when the exposure state of the image is backlight, appropriate image analysis is possible.

【0015】この発明の画像解析装置は、画像を表わす
画像データについてのヒストグラムを被解析データとし
て、該画像データの解析処理を行なう画像解析装置にお
いて、ヒストグラム分布の形状が少なくとも2以上の峰
を有するものであるヒストグラムを記憶するヒストグラ
ム記憶手段と、該ヒストグラム記憶手段に記憶されたヒ
ストグラムを、前記峰毎に複数の領域に分割するヒスト
グラム分割手段と、該分割された複数の領域のうちから
一の領域を選択する領域選択手段と、該選択された領域
に含まれるヒストグラム分布を、前記被解析データとし
て抽出するヒストグラム分布抽出手段とを備えること
を、その要旨としている。
An image analyzing apparatus according to the present invention is an image analyzing apparatus for performing analysis processing of image data using a histogram of image data representing an image as analyzed data, wherein a histogram distribution has at least two peaks. Histogram storing means for storing a histogram stored in the histogram storing means, a histogram dividing means for dividing the histogram stored in the histogram storing means into a plurality of areas for each of the peaks, and one of the plurality of divided areas. The gist of the invention is to provide an area selecting means for selecting an area and a histogram distribution extracting means for extracting a histogram distribution included in the selected area as the analyzed data.

【0016】この構成の画像解析装置は、上記画像解析
方法と同様な作用・効果を有しており、画像の露光状態
がどのような状態にあっても適正な画像解析を行なうこ
とができる。
The image analysis apparatus having this configuration has the same operation and effect as the above-described image analysis method, and can perform appropriate image analysis regardless of the exposure state of an image.

【0017】この画像解析装置において、前記領域選択
手段にて選択される一の領域は、前記画像の中で主題と
なる対象を少なくとも表わす領域である構成とすること
ができる。
In this image analyzing apparatus, the one area selected by the area selecting means may be an area representing at least a subject which is a subject in the image.

【0018】この構成によれば、この発明の方法(請求
項2に記載の画像解析方法)と同様に、画像の中で主題
となる対象を適正に解析することができる。
According to this configuration, similarly to the method of the present invention (the image analysis method according to the second aspect), it is possible to appropriately analyze a subject which is a subject in an image.

【0019】[0019]

【発明の他の態様】この発明は、次のような他の態様も
含んでいる。まず、第1の態様は、コンピュータのマイ
クロプロセッサによって実行されることによって、上記
の発明の各工程または各手段を実現するコンピュータプ
ログラムを格納した携帯型記憶媒体である。また、第2
の態様は、そのコンピュータプログラムを通信経路を介
して供給するプログラム供給装置としての態様である。
この第2の態様では、プログラムをネットワーク上のサ
ーバなどに置き、通信経路を介して、必要なプログラム
をコンピュータにダウンロードし、これを実行すること
で、上記画像の参照濃度階調値の抽出方法および装置を
実現することができる。
Other Embodiments of the Invention The present invention includes the following other embodiments. First, a first aspect is a portable storage medium that stores a computer program which is executed by a microprocessor of a computer to realize each step or each means of the above invention. Also, the second
Is an aspect as a program supply device that supplies the computer program via a communication path.
In the second aspect, a method for extracting a reference density gradation value of an image by placing a program on a server or the like on a network, downloading a necessary program to a computer via a communication path, and executing the program. And a device can be realized.

【0020】[0020]

【発明の実施の形態】次に、本発明の実施の形態を実施
例に基づき説明する。
Next, embodiments of the present invention will be described based on examples.

【0021】図1は、本発明の一実施例が適用された画
像データ作成装置を示すブロック図である。この画像デ
ータ作成装置は、写真原稿のような原稿から印刷版作成
用の画像データを得るための装置であり、原稿Gを読み
取って多階調画像データを得るための画像入力装置10
と、画像入力装置10によって得た多階調画像データを
解析して、その多階調画像データに各種のデータ処理を
施す画像処理装置20とを備えている。
FIG. 1 is a block diagram showing an image data creating apparatus to which one embodiment of the present invention is applied. This image data creating apparatus is an apparatus for obtaining image data for creating a printing plate from an original such as a photographic original, and an image input apparatus 10 for reading an original G and obtaining multi-gradation image data.
And an image processing device 20 that analyzes the multi-tone image data obtained by the image input device 10 and performs various data processing on the multi-tone image data.

【0022】画像入力装置10は、原稿Gを光学的に読
み取って、R(赤),G(緑)およびB(青)の三原色
成分を表わすアナログ画像信号を出力するCCD素子1
1と、CCD素子11の出力信号をデジタル信号に変換
する機能および変倍機能を有する倍率変更回路12と、
ガンマ補正のためのガンマ補正回路13とを備えてい
る。
An image input device 10 optically reads an original G and outputs a CCD element 1 which outputs analog image signals representing three primary color components of R (red), G (green) and B (blue).
1, a magnification changing circuit 12 having a function of converting an output signal of the CCD element 11 into a digital signal and a function of changing magnification,
A gamma correction circuit 13 for gamma correction is provided.

【0023】倍率変更回路12は、アナログ画像信号を
デジタル画像データに変換する際のサンプリング周期を
複数種類に設定することができるものであって、いずれ
のサンプリング周期を適用するかによって、画像の読取
倍率が定まる。例えば、CCD素子11の1つの読取画
素の出力信号に対して2回のサンプリングが行なわれる
ようにサンプリング周期を定めておけば、原画像を2倍
に拡大できる。
The magnification changing circuit 12 can set a plurality of types of sampling periods when converting an analog image signal into digital image data, and reads an image depending on which sampling period is applied. The magnification is determined. For example, if the sampling period is determined so that the output signal of one read pixel of the CCD element 11 is sampled twice, the original image can be enlarged twice.

【0024】ガンマ補正回路13は、CCD素子11の
特性等に起因するガンマ特性を補償するためのデータ補
正を行ない、原稿Gを忠実に再現する多階調画像データ
を作成する。画像入力装置10が出力するRGBの三原
色の多階調画像データ(以下、単に「画像データ」と呼
ぶ)は、画像ファイルFとして画像処理装置20に取り
込まれる。
The gamma correction circuit 13 performs data correction for compensating for gamma characteristics caused by the characteristics of the CCD element 11 and creates multi-tone image data that faithfully reproduces the original G. The RGB three-primary-color multi-tone image data (hereinafter, simply referred to as “image data”) output from the image input device 10 is taken into the image processing device 20 as an image file F.

【0025】画像処理装置20は、例えば、パーソナル
コンピュータから構成され、主制御部30を中心に、そ
の周辺装置としての外部記憶装置40、入力装置50お
よび表示装置60を備える。外部記憶装置40は、各種
データを一時的に記憶するハードディスクユニットによ
り構成され、画像入力装置10からの画像ファイルF
や、後述する参照用データベースDBが格納されてい
る。入力装置50は、マウス52や図示しないキーボー
ドから構成されている。表示装置60は、CRTディス
プレイにより構成される。
The image processing device 20 is composed of, for example, a personal computer, and includes an external storage device 40, an input device 50, and a display device 60 as peripheral devices around the main control unit 30. The external storage device 40 is configured by a hard disk unit that temporarily stores various data, and stores an image file F from the image input device 10.
And a reference database DB described later. The input device 50 includes a mouse 52 and a keyboard (not shown). The display device 60 is configured by a CRT display.

【0026】主制御部30は、図示しない内部記憶装置
に記憶されたソフトウェアプログラム(コンピュータプ
ログラム)を図示しないCPUにより実行することによ
って、濃度階調変換部31、色変換部32、ヒストグラ
ム作成部33、露光状態判別部34、主題対象指定部3
5、ヒストグラム分割部36、ヒストグラム分布抽出部
37およびLUT作成部38としての機能を実現する。
なお、ヒストグラム作成部33は、この発明の画像解析
装置のヒストグラム記憶手段に、ヒストグラム分割部3
6は、ヒストグラム分割手段に、ヒストグラム分布抽出
部37は、ヒストグラム分布抽出手段にそれぞれ対応し
ている。また、LUT作成部38は、この発明におけ
る、被解析データに基づいて解析処理を実行する機能に
対応している。
The main control unit 30 executes a software program (computer program) stored in an internal storage device (not shown) by a CPU (not shown) to thereby execute a density gradation conversion unit 31, a color conversion unit 32, and a histogram creation unit 33. , Exposure state determination unit 34, subject target specification unit 3
5. The functions as the histogram division unit 36, the histogram distribution extraction unit 37, and the LUT creation unit 38 are realized.
Note that the histogram creation unit 33 stores the histogram division unit 3 in the histogram storage unit of the image analysis device of the present invention.
Reference numeral 6 corresponds to a histogram distribution unit, and the histogram distribution extraction unit 37 corresponds to a histogram distribution extraction unit. Further, the LUT creation unit 38 corresponds to the function of executing an analysis process based on the analyzed data in the present invention.

【0027】上記各機能を実現するソフトウェアプログ
ラムは、フロッピディスク、CD−ROM、光磁気ディ
スク、ICカード等の、コンピュータ読み取り可能な記
録媒体に記録された形態で提供される。コンピュータ
は、その記録媒体からソフトウェアプログラムを読み取
って内部記憶装置または外部記憶装置40に転送する。
あるいは、通信経路を介してコンピュータにソフトウェ
アログラムを供給するようにしてもよい。詳しくは、コ
ンピュータをモデムが接続された構成とし、モデムは通
信回線に接続され、通信回線はサーバを含むネットワー
クに接続された構成とする。これにより、サーバは、通
信回線を介してソフトウェアプログラムを画像処理装置
20に供給するプログラム供給装置としての機能を有す
ることになる。
The software programs for realizing the above functions are provided in a form recorded on a computer-readable recording medium such as a floppy disk, CD-ROM, magneto-optical disk, IC card, or the like. The computer reads the software program from the recording medium and transfers it to the internal storage device or the external storage device 40.
Alternatively, a software program may be supplied to a computer via a communication path. Specifically, the computer is configured to be connected to a modem, the modem is connected to a communication line, and the communication line is connected to a network including a server. Accordingly, the server has a function as a program supply device that supplies the software program to the image processing device 20 via the communication line.

【0028】ソフトウェアプログラムの機能を実現する
時には、内部記憶装置に格納されたソフトウェアプログ
ラムがCPUによって実行される。また、記録媒体に記
録されたソフトウェアプログラムをコンピュータが読み
取ってCPUによって直接実行するようにしてもよい。
When realizing the functions of the software program, the software program stored in the internal storage device is executed by the CPU. Further, the computer may read the software program recorded on the recording medium and directly execute the program by the CPU.

【0029】主制御部30により実現される各部31〜
38について、以下、詳細に説明する。ここでは、ま
ず、各部31〜38による全体の処理の流れについて説
明する。
Each unit 31 to 31 realized by the main control unit 30
38 will be described in detail below. Here, the flow of the entire processing by each of the units 31 to 38 will be described first.

【0030】画像入力装置10から出力された画像ファ
イルFの画像データd1を、濃度階調変換部31が受け
取り、この画像データd1について偏った濃度分布を全
体に分布させる濃度階調変換の処理が施される。この濃
度階調変換の処理は、LUT作成部38により作成され
たルックアップテーブル(以下、LUTと呼ぶ)に従っ
て行なわれる。濃度階調変換後の画像データは、色変換
部32によりC(シアン),M(マゼンタ),Y(イエ
ロー)およびK(黒)の画像データに色変換され、製版
用画像データd2として外部に出力される。製版用画像
データd2は、感材フィルムを露光して印刷版を作成す
る画像記録装置などにおいて用いられる。
The image data d1 of the image file F output from the image input device 10 is received by the density gradation conversion section 31, and the density gradation conversion processing for distributing the density distribution biased with respect to the image data d1 is performed. Will be applied. This density gradation conversion process is performed according to a look-up table (hereinafter, referred to as an LUT) created by the LUT creating unit 38. The image data after the density gradation conversion is color-converted into C (cyan), M (magenta), Y (yellow) and K (black) image data by the color conversion unit 32, and is externally provided as plate-making image data d2. Is output. The plate making image data d2 is used in an image recording apparatus or the like that creates a printing plate by exposing a photosensitive material film.

【0031】また、画像ファイルFの画像データd1は
ヒストグラム作成部33にも送られ、ヒストグラム作成
部33により、画像データd1の濃度階調値についての
ヒストグラムが作成される。この作成されたヒストグラ
ムは、露光状態判別部34に送られる。露光状態判別部
34によれば、参照用データベースDBを参照しつつ画
像データd1のヒストグラムから画像データd1の露光
状態を判断する。
The image data d1 of the image file F is also sent to the histogram creating section 33, which creates a histogram for the density gradation value of the image data d1. The created histogram is sent to the exposure state determination unit 34. The exposure state determination unit 34 determines the exposure state of the image data d1 from the histogram of the image data d1 while referring to the reference database DB.

【0032】その判断した露光状態を表わす信号はヒス
トグラム分割部36に送られる。ヒストグラム分割部3
6では、ヒストグラム作成部33により作成したヒスト
グラムを複数の領域に分割する処理を行なうが、この処
理の要否は上記露光状態に応じて判断する。主題対象指
定部35では、画像ファイルFの画像データd1を取り
込んで、その画像データd1の中で主題となる対象を指
定する処理を行なう。ここで、主題となる対象は、画像
データd1の中で適正な露光状態で再現したい、例えば
人物等の対象をいう。
A signal indicating the determined exposure state is sent to the histogram division unit 36. Histogram division unit 3
In step 6, the process of dividing the histogram created by the histogram creating unit 33 into a plurality of regions is performed. Whether or not this process is necessary is determined according to the exposure state. The subject target specifying unit 35 fetches the image data d1 of the image file F and performs a process of specifying a subject as a subject in the image data d1. Here, the subject as a subject refers to a subject such as a person who wants to reproduce the image data d1 in an appropriate exposure state.

【0033】主題対象指定部35により得られた主題対
象を示す信号と、ヒストグラム分割部36により得られ
た複数の分割領域を示す信号とは、ヒストグラム分布抽
出部37に送られる。ヒストグラム分布抽出部37で
は、複数の分割領域の中から、その主題対象を含む一の
分割領域を選択し、その選択した分割領域についてのヒ
ストグラム分布を抽出する処理を行なう。このヒストグ
ラム分布は被解析データとしてLUT作成部38に送ら
れ、LUT作成部38では、被解析データに基づいて濃
度階調変換用のルックアップテーブル(LUT)を作成
する。このLUTは、濃度階調変換部31に送られ、濃
度階調の変換処理に利用される。
The signal indicating the subject obtained by the subject specifying section 35 and the signal indicating a plurality of divided areas obtained by the histogram dividing section 36 are sent to a histogram distribution extracting section 37. The histogram distribution extracting unit 37 performs a process of selecting one divided region including the subject from the plurality of divided regions and extracting a histogram distribution of the selected divided region. This histogram distribution is sent to the LUT creating unit 38 as analyzed data, and the LUT creating unit 38 creates a lookup table (LUT) for density gradation conversion based on the analyzed data. This LUT is sent to the density gradation conversion unit 31, and is used for density gradation conversion processing.

【0034】次に、主制御部30により実現される各部
31〜38について、順に詳細に説明する。
Next, the units 31 to 38 realized by the main control unit 30 will be described in detail in order.

【0035】ヒストグラム作成部33は、前述したよう
に、画像ファイルFの画像データd1のヒストグラムを
作成するものである。ここで作成されるヒストグラム
は、図2および図3に示すように、横軸に画像の濃度階
調値を縦軸にその出現回数をとった段階状のグラフを表
わすデータである。なお、横軸の濃度階調値は、原点側
に近づくほど値が大きくなっている。
The histogram creating unit 33 creates a histogram of the image data d1 of the image file F, as described above. As shown in FIGS. 2 and 3, the histogram created here is data representing a stepwise graph in which the horizontal axis represents the density gradation value of the image and the vertical axis represents the number of appearances. Note that the density gradation value on the horizontal axis increases as it approaches the origin side.

【0036】図2および図3は、様々な画像についての
ヒストグラムの図である。図2中、(a)ないし(d)
は、「適正露光」と判断される画像についてのヒストグ
ラムのいくつかの例を示すものであり、図3中、(a)
ないし(d)は、「アンダー露光」と判断される画像に
ついてのヒストグラムのいくつかの例を示すものであ
る。
FIGS. 2 and 3 are diagrams of histograms for various images. In FIG. 2, (a) to (d)
FIG. 3 shows some examples of histograms for an image determined to be “appropriate exposure”.
(D) show some examples of histograms for images determined to be "underexposed".

【0037】図2の(a)ないし(d)に示すように、
同じ「適正露光」の状態であっても撮影された状況や被
写体の種類によって様々なヒストグラム分布をとり、ま
た、図3の(a)ないし(d)に示すように、同じ「ア
ンダー露光」の状態であっても光量不足の度合いや撮影
された状況などによって様々なヒストグラム分布をと
る。
As shown in FIGS. 2A to 2D,
Even in the same “appropriate exposure” state, various histogram distributions are obtained depending on the photographed situation and the type of the subject, and as shown in FIGS. Even in the state, various histogram distributions are taken depending on the degree of light quantity shortage, the shooting situation, and the like.

【0038】このように対象の画像データによってヒス
トグラム分布の形状はいろいろなパターンが存在しう
る。露光状態判別部34では、予め特徴的なヒストグラ
ムの形状を入力パターンとして学習させたニューラルネ
ットワークを用いることにより、学習に用いたパターン
と完全に一致しないパターンの入力に対しても妥当な出
力を期待することができる。特に、ニューラルネットワ
ークは、人間の知覚系の持つ並列処理機能を有している
から、非定量的な認識対象であるヒストグラム形状のパ
ターン認識に適している。そこで、この実施例の露光状
態判別部34では、ニューラルネットワークが適用され
ている。
As described above, there are various patterns in the shape of the histogram distribution depending on the target image data. The exposure state determination unit 34 uses a neural network in which a characteristic histogram shape is learned in advance as an input pattern, thereby expecting a reasonable output even for a pattern that does not completely match the pattern used for learning. can do. In particular, a neural network has a parallel processing function of a human perception system, and is therefore suitable for non-quantitative recognition of a histogram-shaped pattern to be recognized. Therefore, a neural network is applied to the exposure state determination unit 34 of this embodiment.

【0039】図4は、露光状態判別部34における処理
内容を説明するためのブロック図である。図示するよう
に、露光状態判別部34には、ヒストグラムを正規化す
るための正規化処理部34aと、正規化されたヒストグ
ラムのパターン認識を行なって対象画像の露光状態判別
のための基礎情報を出力するニューラルネットワーク3
4bとが含まれている。
FIG. 4 is a block diagram for explaining the contents of processing in the exposure state determination section 34. As shown in the figure, the exposure state determination unit 34 includes a normalization processing unit 34a for normalizing the histogram and basic information for determining the exposure state of the target image by performing pattern recognition of the normalized histogram. Output neural network 3
4b.

【0040】正規化処理部34aは、対象画像の総画素
数による影響を排除する。すなわち、対象画像の総画素
数が多ければ、その分ヒストグラムにおける頻度が多く
なるから、形状分析のためには、総画素数による影響を
排除しておくことが好ましい。そこで、正規化処理部3
4aは、ヒストグラム作成部33によって作成されたヒ
ストグラムにおいて最大頻度をとる応答値の近傍の一定
範囲内の応答値に相当する頻度値の平均値を求め、この
平均値が所定の値になるように各応答値に対応する頻度
値を変更する。これによって、ヒストグラムの正規化が
達成される。平均値を取るのは、もしもヒストグラムが
くし状になっていれば、最大頻度値を所定値に合わせる
ように各応答値の頻度値を変更しても、適正に正規化を
行なうことができないからである。
The normalization processing section 34a eliminates the influence of the total number of pixels of the target image. In other words, the greater the total number of pixels of the target image, the higher the frequency in the histogram. Accordingly, for shape analysis, it is preferable to eliminate the influence of the total number of pixels. Therefore, the normalization processing unit 3
4a calculates an average value of frequency values corresponding to response values within a certain range near the response value having the maximum frequency in the histogram created by the histogram creating unit 33, and sets the average value to a predetermined value. Change the frequency value corresponding to each response value. Thereby, normalization of the histogram is achieved. The reason for taking the average value is that if the histogram is comb-shaped, normalization cannot be performed properly even if the frequency value of each response value is changed so that the maximum frequency value matches the predetermined value. is there.

【0041】なお、最大頻度をとる応答値を求める際、
「0」の付近の応答値については、候補から除外してお
くことが好ましい。これは、応答値「0」の付近の頻度
は極端に大きいことが予想され、したがって、応答値
「0」の付近の応答値に相当する最大頻度値に基づいて
正規化処理を行なっても、適正な正規化を行なうことが
できない恐れがあるからである。
When determining the response value that takes the maximum frequency,
It is preferable that response values near “0” be excluded from candidates. This is because the frequency near the response value “0” is expected to be extremely large. Therefore, even if the normalization processing is performed based on the maximum frequency value corresponding to the response value near the response value “0”, This is because proper normalization may not be performed.

【0042】図5は、ニューラルネットワーク34bの
構造を概念的に示す図である。このニューラルネットワ
ークは、多層パーセプトロンと呼ばれるフィードフォワ
ード型の非線形素子のネットワークである。このニュー
ラルネットワークは、入力層、中間層および出力層の3
層からなる。むろん、もっと多数の層を有するものも適
用可能である。
FIG. 5 is a diagram conceptually showing the structure of the neural network 34b. This neural network is a feed-forward type nonlinear element network called a multilayer perceptron. This neural network has three layers: an input layer, a hidden layer, and an output layer.
Consists of layers. Of course, those having a larger number of layers are also applicable.

【0043】図5中「○」は、非線形素子を表わし、例
えば、図中i素子の入出力条件は、前層からの入力ベク
トルをX、素子の出力ベクトルをYとすると、下記の数
式(1)で定義できる。
"O" in FIG. 5 represents a non-linear element. For example, assuming that the input / output condition of the i-element in the figure is X for the input vector from the previous layer and Y for the output vector of the element, It can be defined in 1).

【0044】[0044]

【数1】 (Equation 1)

【0045】関数fは、非線形特性を持たせるための単
調増加関数であり、一般に、その出力が(0,1)の範
囲内で単調増加するシグモイド関数が用いられる。シグ
モイド関数は、一般に、下記数式(2)で定義される。
The function f is a monotonically increasing function for giving a non-linear characteristic. Generally, a sigmoid function whose output monotonically increases within the range of (0, 1) is used. The sigmoid function is generally defined by the following equation (2).

【0046】[0046]

【数2】 (Equation 2)

【0047】図6は、入力層の非線形素子への入力パタ
ーンを説明するための図であり、正規化されたヒストグ
ラムが示されている。ニューラルネットワーク34bの
入力層の各非線形素子には、上記正規化されたヒストグ
ラムにおいて定められたサンプリング点S1,S2,
…,S10における頻度値(正規化された値)がそれぞ
れ入力される。
FIG. 6 is a diagram for explaining an input pattern to the nonlinear element of the input layer, and shows a normalized histogram. Each nonlinear element in the input layer of the neural network 34b has sampling points S1, S2,
.., The frequency values (normalized values) in S10 are input.

【0048】なお、図6においては、サンプリング点S
1,S2,…,S10は、等間隔で定められていたが、
必ずしも等間隔でなくてもよい。サンプリング点を定め
るに当たっては、濃度値の大小によるヒストグラム分布
の形状の変化をとらえるのに最適な応答値が選択される
構成とすることができる。より具体的には、小さな応答
値の付近や、応答値に対する頻度の変化率(ヒストグラ
ムの傾き)が急変する付近については、高密度にサンプ
リング点が設定される構成とする。これに対して、応答
値が比較的大きな値の付近では、ノイズ量の大小による
頻度の変化が少ないと考えられるので、広い間隔でサン
プリング点が設定される構成とする。
In FIG. 6, the sampling point S
1, S2, ..., S10 were determined at equal intervals,
The intervals need not always be equal. In determining the sampling point, it is possible to adopt a configuration in which an optimum response value is selected to detect a change in the shape of the histogram distribution depending on the magnitude of the density value. More specifically, a sampling point is set at a high density in the vicinity of a small response value or in the vicinity of a sudden change in the rate of change in frequency (slope of the histogram) with respect to the response value. On the other hand, when the response value is near a relatively large value, it is considered that the change in the frequency due to the magnitude of the noise amount is small, and thus the sampling points are set at wide intervals.

【0049】サンプリング数は任意であるが、あまり多
く選ぶと、非線形素子をそれだけ増やさなければなら
ず、演算時間の増大にもつながるので、必要最小限にと
どめておくことが好ましい。また、分布の局所的変動の
影響を低減するためには、サンプリング点の付近での平
滑化処理をヒストグラムに施し、この平滑化された値を
サンプリングデータとしてニューラルネットワーク34
bの入力層の非線形素子に入力すればよい。
The number of samplings is arbitrary, but if the number is too large, the number of nonlinear elements must be increased accordingly, which leads to an increase in calculation time. Therefore, it is preferable to keep the number as small as possible. Further, in order to reduce the influence of the local fluctuation of the distribution, the histogram is subjected to a smoothing process in the vicinity of the sampling point, and the smoothed value is used as sampling data in the neural network 34.
What is necessary is just to input to the nonlinear element of the input layer of b.

【0050】例えば、サンプリング数が5つの場合に、
入力パターンに対して、「適正露光」、「アンダー露
光」、「オーバ露光」、「逆光」の4つのカテゴリに出
力パターンを分類する場合、パーセプトロンのモデル
は、図7に示すようになる。
For example, when the number of samplings is five,
When an output pattern is classified into four categories of “appropriate exposure”, “under exposure”, “over exposure”, and “backlight” with respect to an input pattern, a perceptron model is as shown in FIG.

【0051】すなわち、入力層は、サンプリング数に対
応する5つの非線形素子を有しており、この5つの非線
形素子に、サンプルデータD1,D2,…,D5がそれ
ぞれ入力される。入力層には、さらに、閾値用のバイア
ス素子が設けられている。
That is, the input layer has five nonlinear elements corresponding to the number of samplings, and sample data D1, D2,..., D5 are input to these five nonlinear elements. The input layer is further provided with a threshold bias element.

【0052】中間層は、3つの非線形素子と1つの閾値
用バイアス素子とを含む。3つの非線形素子のそれぞれ
に、入力層の各非線形素子およびバイアス素子の出力が
並列に与えられている。中間層の3つの非線形素子およ
び1つの閾値用バイアス素子の出力は、出力層の4つの
非線形素子のそれぞれに並列に入力されている。出力層
の4つの非線形素子は、それぞれ、「適正露光」、「ア
ンダー露光」、「オーバ露光」、「逆光」の各カテゴリ
に属する度合いを表わす信号を出力する。これにより、
ニューラルネットワーク34bは、露光状態判別手段を
構成していると言える。
The intermediate layer includes three non-linear elements and one threshold bias element. The outputs of the non-linear elements of the input layer and the outputs of the bias elements are given in parallel to each of the three non-linear elements. The outputs of the three non-linear elements in the intermediate layer and one threshold bias element are input in parallel to each of the four non-linear elements in the output layer. The four non-linear elements of the output layer output signals indicating the degree of belonging to each of the categories of “appropriate exposure”, “under exposure”, “over exposure”, and “backlight”. This allows
It can be said that the neural network 34b constitutes an exposure state determination unit.

【0053】ニューラルネットワーク34bにおいて露
光状態の適切なパターン認識が行なわれるためには、ま
ず、定義したパーセプトロンに対する学習を行なわなけ
ればならない。学習方法は、例えば、予め4つのカテゴ
リ(「適正露光」、「アンダー露光」、「オーバ露
光」、「逆光」)に分類した画像のセットを準備し、そ
れを教師として用いて、逆伝達アルゴリズムによって行
なえばよい。以下にその手順を示す。
In order for the neural network 34b to perform appropriate pattern recognition of the exposure state, first, learning must be performed on the defined perceptron. The learning method is, for example, to prepare a set of images previously classified into four categories (“appropriate exposure”, “underexposure”, “overexposure”, and “backlight”) and use them as a teacher to perform a reverse transfer algorithm. It should be done by. The procedure is described below.

【0054】 各カテゴリの画像から正規化ヒストグ
ラムを作成する。 この正規化ヒストグラムをサンプリングし、パーセ
プトロン入力パターンを得る。 パーセプトロンにデフォルト(既定値)の結合加重係
数を与え、で得られたパターンを入力し、出力値を得
る。
A normalized histogram is created from the images of each category. The normalized histogram is sampled to obtain a perceptron input pattern. A default (default) combination weighting coefficient is given to the perceptron, and the pattern obtained by is input and an output value is obtained.

【0055】 入力画像のカテゴリの出力パターンを
出力目標として、の出力パターンとのユークリッド距
離を計算する。 このユークリッド距離を埋めるべく、逆伝達アルゴ
リズムで新たな結合加重係数を計算する。 出力目標と入力画像の出力パターンとのユークリッ
ド距離が一定値に収束するまで、新たな結合加重係数を
定めて出力パターンを得て、さらにこの出力パターンと
出力目標とのユークリッド距離を算出する、というステ
ップを繰り返す。
With the output pattern of the category of the input image as the output target, the Euclidean distance from the output pattern of the category is calculated. In order to fill the Euclidean distance, a new joint weighting coefficient is calculated by the inverse transfer algorithm. Until the Euclidean distance between the output target and the output pattern of the input image converges to a constant value, a new combination weighting coefficient is determined to obtain an output pattern, and further the Euclidean distance between this output pattern and the output target is calculated. Repeat steps.

【0056】このようにして学習されたパーセプトロン
は、教師として用いた画像以外の不特定の画像に相当す
る入力パターンに対しても、妥当な分類結果を出力する
と予想される。また、ニューラルネットワーク自体の補
間機能により、はっきり分類が確定できない場合でも、
中間的な出力パターンが得られることが期待できる。こ
うして、ニューラルネットワーク34bは、対象画像の
露光状態を表わす情報を出力する。
The perceptron learned in this manner is expected to output a valid classification result even for an input pattern corresponding to an unspecified image other than the image used as the teacher. Also, even if the classification cannot be clearly determined by the interpolation function of the neural network itself,
An intermediate output pattern can be expected. Thus, the neural network 34b outputs information indicating the exposure state of the target image.

【0057】露光状態判別部34によって参照される参
照用データベースDBには、上記学習処理によって定め
られた結合加算係数が格納されている。参照用データベ
ースDBには、必要に応じて露光状態の判別結果がフィ
ードバックされる。すなわち、濃度階調変換部31によ
る濃度階調変換処理が適切に行なわれなかったときに
は、そのときの画像のカテゴリを出力目標として再度学
習を行なうことにより、結合加重係数が更新される。こ
うして、画像処理の回数の増大に伴って、露光状態の判
別の正確度が増大していくことになる。
The reference addition database DB referred to by the exposure state determination section 34 stores the combined addition coefficient determined by the learning process. The exposure state determination result is fed back to the reference database DB as needed. That is, when the density gradation conversion processing by the density gradation conversion unit 31 is not properly performed, learning is performed again with the category of the image at that time as an output target, so that the combination weighting coefficient is updated. Thus, as the number of times of image processing increases, the accuracy of the determination of the exposure state increases.

【0058】次に、主題対象指定部35、ヒストグラム
分割部36およびヒストグラム分布抽出部37について
説明する。これら3つの部35,36,37によれば、
前述したように、画像データd1の中で主題となる対象
を指定し、ヒストグラム作成部33で作成したヒストグ
ラムを複数の分割領域に分割し、その分割領域の中か
ら、その主題対象を含む一の分割領域を選択し、その選
択した分割領域についてのヒストグラム分布を抽出す
る。3つの部35,36,37は、これら一連の処理
(以下、被解析データ生成処理と呼ぶ)を定めたソフト
ウェアプログラムをCPUが実行することで実現され
る。
Next, a description will be given of the subject target specifying unit 35, the histogram dividing unit 36, and the histogram distribution extracting unit 37. According to these three parts 35,36,37,
As described above, the subject which is the subject in the image data d1 is specified, the histogram created by the histogram creating unit 33 is divided into a plurality of divided areas, and one of the divided areas includes the subject. A divided region is selected, and a histogram distribution for the selected divided region is extracted. The three units 35, 36, and 37 are realized by the CPU executing a software program that defines a series of these processes (hereinafter, referred to as an analyzed data generation process).

【0059】図8は、CPUで実行される被解析データ
生成処理ルーチンを示すフローチャートである。図示す
るように、処理が開始されると、CPUは、まず、ヒス
トグラム作成部33により作成したヒストグラムと、露
光状態判別部34によるニューラルネットワークの出力
パターンを入力する処理を行なう(ステップS100,
S110)。次いで、その入力した出力パターンが「逆
光」の露光状態を示すものであるか否かを判別する(ス
テップS120)。ここで、「逆光」でないと判別され
ると、ステップS100で入力したヒストグラムを被解
析データとして記憶して(ステップS130)、その
後、「リターン」に抜けて処理を一旦終了する。
FIG. 8 is a flowchart showing the analyzed data generation processing routine executed by the CPU. As shown, when the process is started, the CPU first performs a process of inputting a histogram created by the histogram creating unit 33 and an output pattern of the neural network by the exposure state determining unit 34 (step S100,
S110). Next, it is determined whether or not the input output pattern indicates a “backlit” exposure state (step S120). Here, if it is determined that it is not “backlit”, the histogram input in step S100 is stored as analyzed data (step S130), and then the process exits to “return” and ends the process.

【0060】一方、ステップS120で「逆光」の露光
状態であると判別されると、主題対象指定処理(ステッ
プS200)、ヒストグラム分割処理(ステップS30
0)、ヒストグラム分布抽出処理(ステップS400)
を順に実行する。その後、「リターン」に抜けて処理を
一旦終了する。
On the other hand, if it is determined in step S120 that the subject is in the "backlit" exposure state, the subject target designation processing (step S200) and the histogram division processing (step S30)
0), histogram distribution extraction processing (step S400)
In order. Thereafter, the process exits to "return" and ends the process.

【0061】図9は、ステップS200の主題対象指定
処理を示すフローチャートである。この主題対象指定処
理は、ステップS200からサブルーチンコールされて
CPUにより実行開始されるものである。
FIG. 9 is a flowchart showing the subject object designation processing in step S200. This subject object designation process is a subroutine call from step S200, and is started by the CPU.

【0062】図示するように、処理が開始されると、C
PUは、まず、画像ファイルFの画像データd1をCR
Tディスプレイ60に表示する(ステップS210)。
次いで、表示されたCRTディスプレイ60の画像の中
から主題の対象を指定する処理を行なう(ステップS2
20)。詳しくは、オペレータによるマウス52の操作
を受けて、そのマウス52によりポイントされた画像上
の位置を主題対象と定めるものである。図10に示すよ
うに、CRTディスプレイ60には、画像データd1の
画像が表示されており、マウス52の操作によって、そ
の画像中の主題、例えば、人物PPにポインタPTが合
わされることで、主題対象が定められる。
As shown, when the process is started, C
The PU first converts the image data d1 of the image file F into a CR.
It is displayed on the T display 60 (step S210).
Next, a process of designating a subject as a subject from the displayed image on the CRT display 60 is performed (step S2).
20). More specifically, in response to an operation of the mouse 52 by an operator, the position on the image pointed by the mouse 52 is determined as the subject. As shown in FIG. 10, an image of the image data d1 is displayed on the CRT display 60, and when the mouse 52 is operated, a subject in the image, for example, a pointer PT is set to a person PP, so that the subject is displayed. The target is determined.

【0063】ステップS220で主題対象が指定される
と、次いで、CPUは、その指定された位置に対応する
画像データd1上の単位画素の濃度階調値を抽出する処
理を行なう(ステップS230)。その後、「リター
ン」に抜けて、この主題対象指定処理を一旦終了する。
When the subject is specified in step S220, the CPU then performs a process of extracting the density gradation value of the unit pixel on the image data d1 corresponding to the specified position (step S230). Thereafter, the process returns to "return" and the subject object designation processing is temporarily ended.

【0064】図11は、ステップS300のヒストグラ
ム分割処理を示すフローチャートである。このヒストグ
ラム分割処理は、ステップS300からサブルーチンコ
ールされてCPUにより実行開始されるものである。
FIG. 11 is a flowchart showing the histogram division processing in step S300. This histogram division process is a subroutine call from step S300 and is started by the CPU.

【0065】図示するように、処理が開始されると、C
PUは、まず、ステップS100で入力したヒストグラ
ムを分析して、そのヒストグラム分布における2つの峰
の頂点を検索する処理を行なう(ステップS310)。
この処理に供されるヒストグラムは、ステップS120
の処理により「逆光」の露光状態にある画像のものに限
られる。「逆光」の露光状態にある画像のヒストグラム
は、例えば図12に示すように、2つの峰M1,M2を
有する双峰的な形状を示す。ここで、濃度階調値が低い
(明度が高い)側の峰M2は、逆光の露光状態に必要以
上に照らされた、適正な露光状態では再現を必要としな
い領域部分である。ステップS310では、こうしたヒ
ストグラムから、各峰M1,M2の頂点P1,P2を検
索する処理を行なう。
As shown, when the process is started, C
The PU first analyzes the histogram input in step S100, and performs a process of searching for vertices of two peaks in the histogram distribution (step S310).
The histogram used for this processing is obtained in step S120.
Is limited to images in the "backlit" exposure state. The histogram of the image in the “backlit” exposure state has a bimodal shape having two peaks M1 and M2, for example, as shown in FIG. Here, the peak M2 on the side where the density gradation value is low (the brightness is high) is an area that is illuminated more than necessary in the backlight exposure state and does not need to be reproduced in an appropriate exposure state. In step S310, a process of searching for the vertices P1 and P2 of the peaks M1 and M2 from such a histogram is performed.

【0066】次いで、ヒストグラムの横軸方向に、頂点
P1と頂点P2との間を所定の間隔を持つ複数の領域に
分割する処理を行なう(ステップS320)。図13
は、この分割の様子等を説明するための図である。図3
の(a)に示すように、頂点P1,P2との間を、局所
的な鞍部の影響を受けないような適当な大きさの間隔d
を持つ複数の領域E1,E2,…,En(nは正数)に
分割する。
Next, a process of dividing the area between the vertices P1 and P2 into a plurality of areas having a predetermined interval is performed in the horizontal axis direction of the histogram (step S320). FIG.
Is a diagram for explaining the state of the division and the like. FIG.
(A), a distance d between the vertices P1 and P2 is set to an appropriate size so as not to be affected by the local saddle portion.
, En (n is a positive number) having a plurality of regions E1, E2,.

【0067】続いて、各分割領域E1,E2,…,En
内において、出現回数の平均値をそれぞれ算出する(ス
テップS330)。こうして得られた平均値をプロット
したのが、図13中の(b)に示したグラフである。続
いて、分割領域E1,E2,…,Enの中で平均値が最
小となる分割領域を選択する(ステップS340)。
Subsequently, each of the divided areas E1, E2,.
, The average value of the number of appearances is calculated (step S330). The graph obtained by plotting the average values thus obtained is shown in FIG. Subsequently, a divided area having the minimum average value is selected from among the divided areas E1, E2,..., En (step S340).

【0068】平均値が最小の分割領域が求められると、
次いで、その最小分割領域の中央を、ピークP1,P2
間の分割のための閾値Thと定める(ステップS35
0)。ここで、図13の(b)に示すように、最小分割
領域が複数個にわたるときには、その複数個にわたる区
間(最小区間)の中央を閾値Thと定める。その後、こ
の処理に用いたヒストグラムをこの閾値Thにより2つ
に領域(第1領域および第2領域)に分割する処理を行
なう(ステップS360)。すなわち、図14に示すよ
うに、ヒストグラムを閾値Thにより第1領域H1と第
2領域H2とに分割する。
When the divided area having the minimum average value is obtained,
Next, the centers of the minimum divided areas are defined as peaks P1 and P2.
It is determined as a threshold value Th for division between (Step S35)
0). Here, as shown in FIG. 13B, when there are a plurality of minimum divided areas, the center of the section (minimum section) extending over the plurality of divided areas is determined as the threshold Th. Thereafter, a process of dividing the histogram used for this process into two regions (first region and second region) by the threshold Th is performed (step S360). That is, as shown in FIG. 14, the histogram is divided into the first area H1 and the second area H2 by the threshold Th.

【0069】その後、「リターン」に抜けて、このヒス
トグラム分割処理を一旦終了する。
Thereafter, the process returns to the "return" and the histogram division processing is temporarily terminated.

【0070】図15は、ステップS400のヒストグラ
ム分布抽出処理を示すフローチャートである。このヒス
トグラム分布抽出処理は、ステップS400からサブル
ーチンコールされてCPUにより実行開始されるもので
ある。
FIG. 15 is a flowchart showing the histogram distribution extracting process in step S400. This histogram distribution extraction processing is a subroutine called from step S400 and is started by the CPU.

【0071】図示するように、処理が開始されると、C
PUは、まず、ヒストグラム分割処理により得られた第
1領域H1および第2領域H2の中から、主題対象指定
処理により抽出した濃度階調値を含む側を選択する処理
を行なう(ステップS410)。続いて、その選択した
側の領域(H1もしくはH2)に含まれるヒストグラム
分布を抽出する処理を行なう(ステップS420)。例
えば、図16に示すように、主題対象指定処理により抽
出した濃度階調値が図中矢印Xの部分であるとすると、
その濃度階調値を含む側の第1領域H1が上記ステップ
S410により選択され、このステップS420では、
この選択された第1領域H1に含まれるヒストグラム分
布が抽出される。
As shown, when the process is started, C
First, the PU performs a process of selecting, from the first region H1 and the second region H2 obtained by the histogram division process, a side including the density gradation value extracted by the subject target designation process (step S410). Subsequently, a process of extracting a histogram distribution included in the selected area (H1 or H2) is performed (step S420). For example, as shown in FIG. 16, assuming that the density gradation value extracted by the subject target designation processing is the part indicated by the arrow X in the figure
The first area H1 on the side including the density gradation value is selected in step S410, and in step S420,
The histogram distribution included in the selected first region H1 is extracted.

【0072】ステップS420で抽出されたヒストグラ
ム分布は、被解析データとして記憶し(ステップS43
0)、その後、「リターン」に抜けて、このヒストグラ
ム分布抽出処理を一旦終了する。
The histogram distribution extracted in step S420 is stored as analyzed data (step S43).
0) Then, the process returns to “return” and the histogram distribution extraction processing is temporarily terminated.

【0073】LUT作成部38について次に説明する。
LUT作成部38は、上記被解析データ生成処理ルーチ
ンにより求めた被解析データに基づいて濃度階調変換用
のルックアップテーブル(LUT)を作成するもので、
LUT作成処理を定めたソフトウェアプログラムをCP
Uが実行することで実現される。
Next, the LUT creation section 38 will be described.
The LUT creation unit 38 creates a look-up table (LUT) for density gradation conversion based on the analyzed data obtained by the analyzed data generation processing routine.
The software program that defines the LUT creation process is CP
This is realized by U executing.

【0074】図17は、CPUで実行されるLUT作成
処理を示すフローチャートである。図示するように、処
理が開始されると、CPUは、まず、被解析データ生成
処理ルーチンにより求めた被解析データ(すなわち、露
光状態が逆光であるときは、ヒストグラム分布抽出処理
により抽出されたヒストグラム分布であり、露光状態が
逆光以外であるときは、ヒストグラム作成部により作成
されたヒストグラムである)から累積ヒストグラムを作
成する処理を行なう(ステップS500)。累積ヒスト
グラムは、図18に示すように、横軸に示す濃度階調値
に対する出現度数を順に累積して縦軸に示すグラフであ
る。
FIG. 17 is a flowchart showing the LUT creation processing executed by the CPU. As shown in the figure, when the process is started, the CPU first analyzes the analyzed data obtained by the analyzed data generation process routine (that is, when the exposure state is backlight, the histogram extracted by the histogram distribution extraction process). If the exposure state is other than backlight, the process is to create a cumulative histogram from the histogram (the histogram created by the histogram creating unit) (step S500). As shown in FIG. 18, the cumulative histogram is a graph in which the frequencies of appearance with respect to the density gradation values shown on the horizontal axis are sequentially accumulated, and the cumulative histogram is shown on the vertical axis.

【0075】続いて、その累積ヒストグラムの分布から
みて、図18に示すように、累積値が全体の99.5
[%]になる第1の濃度階調値D1と、全体の50
[%]になる第2の濃度階調値D2を求める(ステップ
S510)。
Then, as seen from the distribution of the cumulative histogram, as shown in FIG.
[%] Of the first density gradation value D1 and 50
A second density gradation value D2 corresponding to [%] is obtained (step S510).

【0076】ここで求められる第1の濃度階調値D1
は、累積頻度分布が最大となる境界部分の階調値近傍の
所定位置の濃度階調で、いわゆるハイライト点の濃度階
調値である。なお、この実施例では、第1の濃度階調値
D1の値は、出現度数の累積値が99.5[%]になる
点としていたが、累積値が100[%]となる点の近傍
の所定位置の濃度階調値であれば、99.0[%]の点
であってもよいし、98.0[%]の点であってもよ
い。
The first density gradation value D1 obtained here
Is a density tone at a predetermined position near the tone value at the boundary where the cumulative frequency distribution is maximum, and is a so-called density tone value at a highlight point. In this embodiment, the value of the first density gradation value D1 is set at a point where the cumulative value of the appearance frequency becomes 99.5 [%], but in the vicinity of the point where the cumulative value becomes 100 [%]. May be a point of 99.0 [%] or a point of 98.0 [%].

【0077】続いて、ステップS510で求めた第1お
よび第2の濃度階調値D1,D2と、99.5[%],
50[%]という累積出現度数とに基づいて、濃度階調
変換用のLUTを作成する処理を行なう(ステップS2
50)。詳しくは、図19に示すように、横軸を入力濃
度に、縦軸を出力濃度に定めた2次元の座標軸を用意
し、横軸上に上記第1および第2の濃度階調値D1,D
2を、縦軸上に上記99.5[%]に対応する値(25
6階調の99.5[%]である「255」といった値)
と50[%]に対応する値(8ビットで表現される25
6階調の50[%]である「128」といった値)をと
る。そして、横軸上の第1および第2の濃度階調値D
1,D2に縦軸上の値255,128がそれぞれ対応す
る入出力特性を持つ曲線を座標軸上に描く。こうして、
LUTを作成する。
Subsequently, the first and second density gradation values D1 and D2 obtained in step S510 and 99.5 [%],
Based on the cumulative appearance frequency of 50%, a process of creating an LUT for density gradation conversion is performed (step S2).
50). Specifically, as shown in FIG. 19, a two-dimensional coordinate axis is prepared in which the horizontal axis is set to the input density and the vertical axis is set to the output density, and the first and second density gradation values D1, D1 are set on the horizontal axis. D
2 is a value (25) corresponding to the above 99.5 [%] on the vertical axis.
95.5 [%] of 6 gradations, such as "255")
And a value corresponding to 50 [%] (25 represented by 8 bits)
A value such as “128” which is 50 [%] of six gradations) is taken. Then, the first and second density gradation values D on the horizontal axis
A curve having input / output characteristics corresponding to values 255, 128 on the vertical axis corresponding to 1, D2 is drawn on the coordinate axis. Thus,
Create an LUT.

【0078】その後、CPUは処理を「リターン」に進
めて、この処理のルーチンを一旦終了する。
Thereafter, the CPU advances the processing to "return", and ends the processing routine once.

【0079】こうした構成のLUT作成処理によれば、
濃度階調値についての偏った分布を全体に分布させる濃
度階調変換を実現することのできるLUTが作成される
ことになる。
According to the LUT creation processing having such a configuration,
An LUT that can realize density gradation conversion for distributing a biased distribution of density gradation values throughout is created.

【0080】以上詳述してきたように、この実施例の画
像処理装置20によれば、原稿Gの画像の露光状態を判
別して、その判別した露光状態が「逆光」の場合に、そ
の画像のヒストグラムから、画像の中で主題となる対象
を表わす峰部分を含む分割領域を抽出し、その抽出した
分割領域内のヒストグラム分布を被解析データと定めて
いる。
As described in detail above, according to the image processing apparatus 20 of this embodiment, the exposure state of the image of the original G is determined, and if the determined exposure state is "backlit", the image is From the histogram, a divided region including a peak portion representing a subject to be a subject in the image is extracted, and a histogram distribution in the extracted divided region is defined as analyzed data.

【0081】従来の技術では、露光状態が「逆光」にあ
る画像においては、その露光状態により生ずる無効な濃
度階調域(例えば、図12に示す峰M2の領域)も被解
析データに含むことから、その無効な濃度階調域内にハ
イライト点を決定していた。これに対して、この実施例
によれば、画像の中で主題となる対象を表わす峰部分の
分割領域に含まれるヒストグラム分布だけを被解析デー
タとしていることから、その主題対象の峰部分の分割領
域内にハイライト点を検出することができる。したがっ
て、「逆光」の露光状態であっても、適正なハイライト
点の濃度階調値を得ることができ、適正な画像解析を行
なうことができる。この結果、適正な濃度階調変換処理
を行なうことができる。
According to the conventional technique, in an image whose exposure state is "backlit", an invalid density gradation area (for example, an area of a peak M2 shown in FIG. 12) caused by the exposure state is included in the analyzed data. Therefore, the highlight point is determined within the invalid density gradation range. On the other hand, according to this embodiment, since only the histogram distribution included in the divided region of the peak portion representing the target object in the image is the analyzed data, the peak portion of the subject object is divided. Highlight points can be detected in the area. Therefore, even in the “backlit” exposure state, it is possible to obtain an appropriate density gradation value at a highlight point, and to perform appropriate image analysis. As a result, it is possible to perform appropriate density gradation conversion processing.

【0082】さらに、この実施例では、画像の中で主題
となる対象を含む分割領域を、マウス52を操作するこ
とにより、オペレータが選択できる構成としていること
から、オペレータの意図する画像対象を適正に解析する
ことができるという効果も奏する。
Further, in this embodiment, since the operator can select the divided area including the object to be the subject in the image by operating the mouse 52, the image object intended by the operator can be appropriately selected. This also has an effect that the analysis can be performed in a short time.

【0083】なお、この実施例では、上述したように、
画像の中で主題となる対象を含む分割領域を、マウス5
2を操作することにより、オペレータが選択できる構成
としていたが、これに替えて、オペレータの指示がなく
ても、高濃度側の分割領域H1を自動的に選択する構成
としてもよい。なぜなら、画像の露光状態が「逆光」の
場合、高濃度側の峰に画像の主題対象が含まれるのが一
般的であることから、高濃度側の分割領域H1を画像の
主題対象が含まれるものとして、オペレータの指示がな
くてもその高濃度側の分割領域を自動的に選択する構成
とすることが可能である。
In this embodiment, as described above,
The divided area including the target object in the image is
2, the operator can select the high density side divided area H1 automatically without the operator's instruction. This is because, when the exposure state of the image is “backlit”, since the subject of the image is generally included in the peak on the high density side, the divided region H1 on the high density side is included in the subject of the image. For example, it is possible to adopt a configuration in which the high-density side divided area is automatically selected without an instruction from the operator.

【0084】また、この実施例では、画像の露光状態が
「逆光」の場合について述べたが、これに替えて、被解
析データ生成処理ルーチンのステップS120の判断を
「逆光」に加えて「アンダー露光」の場合にも、ヒスト
グラム分布の抽出を行なうようにしてもよい。なぜな
ら、「アンダー露光」の露光状態の画像も、「逆光」の
露光状態の画像と同様に、そのヒストグラムは双峰的な
形状を示し、高濃度側の分割領域に画像の主題対象が含
まれるのが一般的であるためである。
Further, in this embodiment, the case where the exposure state of the image is "backlight" has been described. Instead, the judgment in step S120 of the analyzed data generation processing routine is added to "backlight" and "underlight". In the case of "exposure", the histogram distribution may be extracted. This is because, similarly to the image in the “backlight” exposure state, the histogram of the “underexposed” exposure state shows a bimodal shape, and the high-density side divided region includes the subject of the image. This is because it is common.

【0085】この構成によれば、「逆光」の露光状態に
加えて、「アンダー露光」の露光状態の場合にも、適正
なハイライト点の濃度階調値を得ることができ、適正な
画像解析を行なうことができる。
According to this configuration, it is possible to obtain an appropriate density gradation value of a highlight point in the case of the "under exposure" exposure state in addition to the "backlight" exposure state. An analysis can be performed.

【0086】前記実施例では、画像のヒストグラムとし
て、峰を2つ有する双峰形状のヒストグラムを用意し、
画像の主題となる対象を表わす領域を含む峰側の分割領
域を選択する構成としていたが、これに替えて、ヒスト
グラムとして、3つ以上の峰を有する分布をもつものを
用意する構成としてもよい。この構成の場合にも、オペ
レータが画像の主題となる対象を表わす領域を指示する
ことにより、その領域を含む峰を備える分割領域が選択
される構成とする。
In the above embodiment, a bimodal histogram having two peaks is prepared as an image histogram.
Although the peak side divided region including the region representing the subject which is the subject of the image is selected, a histogram having a distribution having three or more peaks may be prepared instead. . Also in this configuration, a configuration is adopted in which, when an operator designates a region representing a target which is a subject of an image, a divided region including a peak including the region is selected.

【0087】この構成によって、様々な露光状態にある
画像に対しても、適正な画像解析を行なうことが可能と
なる。
With this configuration, it is possible to perform appropriate image analysis on images in various exposure states.

【0088】また、この実施例では、適正な範囲のヒス
トグラムを被解析データとして、この被解析データを用
いて、濃度階調返還用のLUTを作成するといった画像
解析を行なっているが、この画像解析は、この濃度階調
返還用のLUTを作成する処理に限る必要はなく、例え
ば、濃度階調値を強調する画像強調処理を実行するため
の処理パラメータを上記被解析データを用いて求める構
成としてもよい。
In this embodiment, image analysis is performed such that a histogram in an appropriate range is used as analyzed data and an LUT for returning a density gradation is created using the analyzed data. The analysis does not need to be limited to the process of creating the LUT for returning the density gradation. For example, a configuration in which the processing parameter for executing the image enhancement process for enhancing the density gradation value is obtained using the data to be analyzed. It may be.

【0089】さらに、次のような変形例としてもよい。
前記実施例で説明した、ヒストグラム分割部36におけ
る分割のための閾値Thを算出する手法に替えて、次の
ような手法により閾値Thを算出する構成としてもよ
い。
Further, the following modifications may be made.
Instead of the method of calculating the threshold value Th for division in the histogram division unit 36 described in the above embodiment, a configuration in which the threshold value Th is calculated by the following method may be adopted.

【0090】すなわち、その手法は、下記の〜を順
に実行するものである。 頂点P1,P2の間を適当にサンプリングする。 その区間で最小自乗法を用いて3次式を近似する。 その求めた3次式を微分して、極値を与えるx座標を
閾値Thとして決定する。
That is, the method executes the following steps in order. Sampling is appropriately performed between the vertices P1 and P2. In that section, a cubic equation is approximated using the least squares method. The obtained cubic expression is differentiated, and the x coordinate giving the extreme value is determined as the threshold Th.

【0091】図20は、上記最小自乗法による手法を、
全サンプリング点を使用して行なった場合の説明図であ
る。図示するように、全サンプリング点を使用すること
で、3次式Uを高精度に近似することができることか
ら、高精度な閾値Thを求めることができる。
FIG. 20 shows a method based on the above least square method.
FIG. 9 is an explanatory diagram in a case where the sampling is performed using all sampling points. As shown, since the cubic expression U can be approximated with high accuracy by using all the sampling points, the threshold value Th with high accuracy can be obtained.

【0092】図21は、上記最小自乗法による手法を、
限定サンプリング点を使用して行なった場合の説明図で
ある。図示するように、限定サンプリング点を使用して
も、ある程度の精度でもって3次式Uを近似することが
できることから、少ない数のサンプリング点でよく、高
速処理が可能となる。
FIG. 21 shows a method using the above least squares method.
FIG. 9 is an explanatory diagram in a case where the sampling is performed using limited sampling points. As shown in the figure, even if the limited sampling points are used, the cubic equation U can be approximated with a certain degree of accuracy, so that a small number of sampling points are sufficient and high-speed processing can be performed.

【0093】以上本発明の実施例について説明したが、
本発明はこうした実施例に何等限定されるものではな
く、本発明の要旨を逸脱しない範囲内において種々なる
様態で実施し得ることは勿論である。
The embodiments of the present invention have been described above.
The present invention is not limited to such embodiments at all, and it goes without saying that the present invention can be implemented in various modes without departing from the gist of the present invention.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施例が適用された画像データ作成
装置を示すブロック図である。
FIG. 1 is a block diagram showing an image data creating apparatus to which an embodiment of the present invention is applied.

【図2】「適正露光」の画像についての濃度階調のヒス
トグラムの例を示す説明図である。
FIG. 2 is an explanatory diagram illustrating an example of a histogram of density gradation for an image of “appropriate exposure”.

【図3】「アンダー露光」の画像についての濃度階調の
ヒストグラムの例を示す説明図である。
FIG. 3 is an explanatory diagram illustrating an example of a histogram of density gradation for an “under-exposed” image.

【図4】露光状態判別部34における処理内容を説明す
るためのブロック図である。
FIG. 4 is a block diagram for explaining processing contents in an exposure state determination unit 34;

【図5】ニューラルネットワーク34bの構造を概念的
に示す説明図である。
FIG. 5 is an explanatory diagram conceptually showing the structure of a neural network 34b.

【図6】入力層の非線形素子への入力パターンを説明す
るための正規化ヒストグラムを示すグラフである。
FIG. 6 is a graph showing a normalized histogram for explaining an input pattern to a nonlinear element of an input layer.

【図7】ニューラルネットワークの一例を示す説明図で
ある。
FIG. 7 is an explanatory diagram showing an example of a neural network.

【図8】CPUで実行される被解析データ生成処理ルー
チンを示すフローチャートである。
FIG. 8 is a flowchart illustrating an analyzed data generation processing routine executed by a CPU.

【図9】ステップS200の主題対象指定処理を示すフ
ローチャートである。
FIG. 9 is a flowchart showing a subject object designation process in step S200.

【図10】マウス52を用いてCRTディスプレイ60
の画像の中から主題の対象を指定する様子を示す説明図
である。
10 shows a CRT display 60 using a mouse 52. FIG.
FIG. 9 is an explanatory diagram showing a state in which a subject of a subject is designated from among the images.

【図11】ステップS300のヒストグラム分割処理を
示すフローチャートである。
FIG. 11 is a flowchart illustrating a histogram division process in step S300.

【図12】「逆光」の露光状態にある画像のヒストグラ
ムの一例を示すグラフである。
FIG. 12 is a graph showing an example of a histogram of an image in a “backlit” exposure state.

【図13】ヒストグラムにおいて頂点P1と頂点P2と
の間を複数の領域に分割して、頂点P1と頂点P2との
間を2分割する手法を説明するための説明図である。
FIG. 13 is an explanatory diagram for explaining a method of dividing a region between the vertex P1 and the vertex P2 into a plurality of regions and dividing the region between the vertex P1 and the vertex P2 into two in the histogram.

【図14】上記手法により分割されたり第1領域H1と
第2領域H2を示す説明図である。
FIG. 14 is an explanatory diagram showing a first area H1 and a second area H2 divided by the above method.

【図15】ステップS400のヒストグラム分布抽出処
理を示すフローチャートである。
FIG. 15 is a flowchart showing a histogram distribution extraction process in step S400.

【図16】一の領域H1を選択する手法を説明する説明
図である。
FIG. 16 is an explanatory diagram illustrating a method of selecting one region H1.

【図17】CPUで実行されるLUT作成処理を示すフ
ローチャートである。
FIG. 17 is a flowchart illustrating an LUT creation process executed by the CPU.

【図18】累積ヒストグラムを示すグラフである。FIG. 18 is a graph showing a cumulative histogram.

【図19】この実施例で作成される濃度階調変換用のL
UTを示すグラフである。
FIG. 19 shows an L for density gradation conversion created in this embodiment.
It is a graph which shows UT.

【図20】全サンプリング点を使用した上で最小自乗法
を用いて閾値を求める手法を説明するための説明図であ
る。
FIG. 20 is an explanatory diagram for describing a method of obtaining a threshold using the least squares method after using all sampling points.

【図21】限定サンプリング点を使用した上で最小自乗
法を用いて閾値を求める手法を説明するための説明図で
ある。
FIG. 21 is an explanatory diagram for explaining a method of obtaining a threshold using a least squares method after using limited sampling points.

【符号の説明】[Explanation of symbols]

10…画像入力装置 11…CCD素子 12…倍率変更回路 13…ガンマ補正回路 20…画像処理装置 30…主制御部 31…濃度階調変換部 32…色変換部 33…ヒストグラム作成部 34…露光状態判別部 34a…正規化処理部 34b…ニューラルネットワーク 35…主題対象指定部 36…ヒストグラム分割部 37…ヒストグラム分布抽出部 38…LUT作成部 40…外部記憶装置 50…入力装置 52…マウス 60…CRTディスプレイ H1…第1領域 H2…第2領域 Th…閾値 DESCRIPTION OF SYMBOLS 10 ... Image input device 11 ... CCD element 12 ... Magnification change circuit 13 ... Gamma correction circuit 20 ... Image processing device 30 ... Main control part 31 ... Density gradation conversion part 32 ... Color conversion part 33 ... Histogram creation part 34 ... Exposure state Discriminating unit 34a Normalization processing unit 34b Neural network 35 Subject designation unit 36 Histogram division unit 37 Histogram distribution extraction unit 38 LUT creation unit 40 External storage device 50 Input device 52 Mouse 60 CRT display H1: first area H2: second area Th: threshold

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 画像を表わす画像データについてのヒス
トグラムを被解析データとして、該画像データの解析処
理を行なう画像解析方法において、(a)ヒストグラム
分布の形状が少なくとも2以上の峰を有するものである
ヒストグラムを用意する工程と、(b)前記工程(a)
で用意したヒストグラムを、前記峰毎に複数の領域に分
割する工程と、(c)該分割された複数の領域のうちか
ら一の領域を選択する工程と、(d)該選択された領域
に含まれるヒストグラム分布を、前記被解析データとし
て抽出する工程とを備える画像解析方法。
1. An image analysis method for performing analysis processing of image data using a histogram of image data representing an image as analyzed data, wherein (a) a histogram distribution has at least two peaks. Preparing a histogram, and (b) the step (a)
Dividing the histogram prepared in the above into a plurality of regions for each peak; (c) selecting one region from the plurality of divided regions; and (d) selecting one of the divided regions. Extracting the included histogram distribution as the analyzed data.
【請求項2】 前記工程(c)にて選択される一の領域
は、前記画像の中で主題となる対象を少なくとも表わす
領域である請求項1に記載の画像解析方法。
2. The image analysis method according to claim 1, wherein the one area selected in the step (c) is an area representing at least a subject which is a subject in the image.
【請求項3】 請求項1または2に記載の画像解析方法
において、 前記工程(c)は、(c1)前記画像データをディスプ
レイの画面に表示する工程と、(c2)作業者による前
記画面上の位置の指定を受けて、該画面に表示された画
像データの内の任意の画素データを選択する工程と、
(c3)該選択された画素データを含む前記一の領域を
選択する工程とを含む、画像解析方法。
3. The image analysis method according to claim 1, wherein the step (c) comprises: (c1) displaying the image data on a screen of a display; and (c2) displaying the image data on the screen by an operator. Receiving the designation of the position of, select any pixel data of the image data displayed on the screen,
(C3) selecting the one area including the selected pixel data.
【請求項4】 請求項1ないし3のうちのいずれかに記
載の画像解析方法において、(e)前記画像の露光状態
を判別する工程と、(f)該判別した露光状態が逆光で
あるとき、前記(b)ないし(d)を順に実行する工程
とを含む、画像解析方法。
4. The image analysis method according to claim 1, wherein (e) a step of determining an exposure state of the image, and (f) when the determined exposure state is a backlight. And (c) sequentially executing steps (b) to (d).
【請求項5】 画像を表わす画像データについてのヒス
トグラムを被解析データとして、該画像データの解析処
理を行なう画像解析装置において、 ヒストグラム分布の形状が少なくとも2以上の峰を有す
るものであるヒストグラムを記憶するヒストグラム記憶
手段と、 該ヒストグラム記憶手段に記憶されたヒストグラムを、
前記峰毎に複数の領域に分割するヒストグラム分割手段
と、 該分割された複数の領域のうちから一の領域を選択する
領域選択手段と、 該選択された領域に含まれるヒストグラム分布を、前記
被解析データとして抽出するヒストグラム分布抽出手段
とを備える画像解析装置。
5. An image analysis apparatus for performing analysis processing of image data, using a histogram of image data representing an image as analyzed data, storing a histogram whose histogram distribution has at least two peaks. A histogram storage means for performing the processing, and a histogram stored in the histogram storage means.
A histogram dividing unit that divides each peak into a plurality of regions; a region selecting unit that selects one region from the plurality of divided regions; and a histogram distribution included in the selected region, An image analysis apparatus comprising: a histogram distribution extraction unit that extracts the data as analysis data.
【請求項6】 前記領域選択手段にて選択される一の領
域は、前記画像の中で主題となる対象を少なくとも表わ
す領域である請求項5に記載の画像解析装置。
6. The image analysis apparatus according to claim 5, wherein the one area selected by the area selection means is an area that at least represents a subject as a subject in the image.
JP9348527A 1997-12-02 1997-12-02 Method and device for analyzing image Pending JPH11167633A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9348527A JPH11167633A (en) 1997-12-02 1997-12-02 Method and device for analyzing image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9348527A JPH11167633A (en) 1997-12-02 1997-12-02 Method and device for analyzing image

Publications (1)

Publication Number Publication Date
JPH11167633A true JPH11167633A (en) 1999-06-22

Family

ID=18397619

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9348527A Pending JPH11167633A (en) 1997-12-02 1997-12-02 Method and device for analyzing image

Country Status (1)

Country Link
JP (1) JPH11167633A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001154646A (en) * 1999-11-26 2001-06-08 Fujitsu Ltd Infrared image display
JP2002010073A (en) * 2000-06-19 2002-01-11 Ricoh Co Ltd Image processing apparatus, image processing method, and recording medium
EP2372412A1 (en) 2010-03-26 2011-10-05 Fujifilm Corporation Patterned birefringent product
JP2018515746A (en) * 2015-03-05 2018-06-14 ケーピーアイティ テクノロジーズ リミテッド Method and system for detecting ambient light

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001154646A (en) * 1999-11-26 2001-06-08 Fujitsu Ltd Infrared image display
JP2002010073A (en) * 2000-06-19 2002-01-11 Ricoh Co Ltd Image processing apparatus, image processing method, and recording medium
EP2372412A1 (en) 2010-03-26 2011-10-05 Fujifilm Corporation Patterned birefringent product
JP2018515746A (en) * 2015-03-05 2018-06-14 ケーピーアイティ テクノロジーズ リミテッド Method and system for detecting ambient light

Similar Documents

Publication Publication Date Title
US6229625B1 (en) Apparatus for determining image processing parameter, method of the same, and computer program product for realizing the method
US6535301B1 (en) Image processing apparatus, image processing method, image processing program recording medium, color adjustment method, color adjustment device, and color adjustment control program recording medium
US6738527B2 (en) Image processing apparatus, an image processing method, a medium on which an image processing control program is recorded, an image evaluation device, and image evaluation method and a medium on which an image evaluation program is recorded
JP5032911B2 (en) Image processing apparatus and image processing method
KR100667663B1 (en) Computer-readable recording medium recording image processing apparatus, image processing method and program thereof
CN1475969B (en) Method and system for intensify human image pattern
US20040190789A1 (en) Automatic analysis and adjustment of digital images with exposure problems
US20050025356A1 (en) Image processing method and apparatus
JP2004030670A (en) Enhancement method for color tone feature of digital image
US6853747B1 (en) Image processing method and apparatus and recording medium
US20010005427A1 (en) Method, apparatus and recording medium for image processing
JP2007507803A (en) Method and apparatus for determining parameters for adjusting an image
JP3733165B2 (en) Image data conversion method for digital printer
JPH11331738A (en) Method and device for processing image
JP4208396B2 (en) Image processing method, apparatus, and recording medium
US20060012839A1 (en) Image processing apparatus and its method
JP2004054751A (en) Image processing system and image processing method
JP3515019B2 (en) Image correction method and apparatus, recording medium recording the method, image photographing apparatus incorporating the apparatus, and image display apparatus incorporating the apparatus
JP4243362B2 (en) Image processing apparatus, image processing method, and recording medium recording image processing program
US5774578A (en) Apparatus for and method of utilizing density histograms for correcting objective images
US20070127783A1 (en) Image processing apparatus, method and program for controlling flesh color of image
JPH11167633A (en) Method and device for analyzing image
JP2001056867A (en) Image data processing apparatus, medium recording image data set, medium recording image data processing program, and image data processing method
JP2001056867A5 (en)
JPH06103927B2 (en) Tone curve setting method