JPH10240938A - Peak evaluating device and its method - Google Patents

Peak evaluating device and its method

Info

Publication number
JPH10240938A
JPH10240938A JP9043946A JP4394697A JPH10240938A JP H10240938 A JPH10240938 A JP H10240938A JP 9043946 A JP9043946 A JP 9043946A JP 4394697 A JP4394697 A JP 4394697A JP H10240938 A JPH10240938 A JP H10240938A
Authority
JP
Japan
Prior art keywords
data
value
peak
unit
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.)
Granted
Application number
JP9043946A
Other languages
Japanese (ja)
Other versions
JP3476328B2 (en
Inventor
Yoshitaka Hamaguchi
佳孝 濱口
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP04394697A priority Critical patent/JP3476328B2/en
Publication of JPH10240938A publication Critical patent/JPH10240938A/en
Application granted granted Critical
Publication of JP3476328B2 publication Critical patent/JP3476328B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To precisely evaluate the clearness of a peak at a numerical group. SOLUTION: A peak evaluating device 100 is provided with a storing part 10, a sorting part 12, an accumulating part 14 and an integrating part 16. The part 10 stores the data value of the numerical group 18 of a processing object read from an input part 120. The part 12 rearranges data housed in the part 10 in the order of reducing/increasing a size to successively output to the part 14, which successively adds data outputted from the part 12 to output the accumulated value each time of adding. The part 16 calculates the total value of all the accumulated values outputted from the part 14 as an evaluated value and outputs the evaluated value to an output part 130.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、例えば、画像の
傾きの検出やNMR測定における測定結果の解析等、最
も明確なピークを有する数値系列を検出する装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for detecting a numerical sequence having the most distinct peak, for example, for detecting the inclination of an image or analyzing a measurement result in NMR measurement.

【0002】[0002]

【従来の技術】数値系列のピークを評価する方法は、例
えば、文献「特公昭63−25391」に開示されてい
る。この文献には、ある文書画像について複数の方向を
設定して走査を行い、得られた黒画素のヒストグラムの
中から、最も明確なピークを有したヒストグラムを選択
する方法が記載されている。すなわち、複数の数値系列
の中から、最も明確なピークを有した数値系列を選択す
る方法である。
2. Description of the Related Art A method of evaluating peaks in a numerical sequence is disclosed in, for example, Japanese Patent Publication No. 63-25391. This document describes a method in which a certain document image is scanned in a plurality of directions, and a histogram having the clearest peak is selected from the obtained histogram of black pixels. That is, this is a method of selecting a numerical sequence having the clearest peak from a plurality of numerical sequences.

【0003】この文献に記載されているように、従来の
評価方法では、数値系列を構成する各データについて、
隣のデータとの差分を取り、その差分の絶対値を取り、
これらを合計したものを、ピークの明確さを表す評価値
として算出する。
As described in this document, in the conventional evaluation method, each data constituting a numerical sequence is
Take the difference with the next data, take the absolute value of the difference,
The sum of these is calculated as an evaluation value indicating the clarity of the peak.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、実際の
数値系列にはノイズが含まれている。また、ピークは必
ずしも明確な立ち上がりおよび立ち下がりを持っている
とは限らない。このため、従来の方法ではピークの検出
が困難な場合がある。
However, the actual numerical sequence contains noise. Also, peaks do not always have distinct rising and falling edges. For this reason, peak detection may be difficult with the conventional method.

【0005】文書画像を処理対象とする場合を例に取る
と、通常の白紙の紙面を走査する場合であっても、取り
込まれた画像にはゆらぎ(乱れ)が存在しているので、
ヒストグラムにはノイズが発生する。また、文書画像中
に写真等の文字行以外の要素があったり、また、縦書き
と横書きとが混在している場合には、検出したヒストグ
ラムにノイズが含まれてしまう。そして、ノイズに埋も
れてしまい、ピークは不明瞭となってしまう。
[0005] Taking a case where a document image is to be processed as an example, even if a normal blank paper surface is scanned, the captured image has fluctuation (disorder).
Noise occurs in the histogram. In addition, if there is an element other than a character line such as a photograph in a document image, or if vertical writing and horizontal writing are mixed, noise is included in the detected histogram. Then, the peak is obscured by noise and becomes unclear.

【0006】図2は、2つの数値系列をそれぞれグラフ
化して示した図である。図2(A)および(B)には、
それぞれ異なる数値系列がグラフ化されて示されてい
る。各グラフの横軸は、数値系列を構成するデータの順
番(データナンバー)を表しており、各グラフの縦軸
は、各データの値を表している。尚、グラフは、目盛り
を省略して示し、各データを直線で接続した形で示され
ている。図2に示される各グラフにあっては、図2
(A)に示されるグラフ(図2(A)の実線a)の方
が、図2(B)に示されるグラフ(図2(B)の実線
b)に比べて、ピークが大きいことが分かる。
FIG. 2 is a diagram showing two numerical sequences in a graph. In FIGS. 2A and 2B,
Different numerical sequences are shown in a graph. The horizontal axis of each graph represents the order (data number) of data constituting the numerical sequence, and the vertical axis of each graph represents the value of each data. In the graph, scales are omitted, and each data is shown by a straight line. For each of the graphs shown in FIG.
It can be seen that the graph shown in FIG. 2A (solid line a in FIG. 2A) has a larger peak than the graph shown in FIG. 2B (solid line b in FIG. 2B). .

【0007】図3は、図2に示した数値系列のデータ値
と、となり同士のデータの差分の絶対値と、その絶対値
の合計値とを表にした図である。図3(A)は図2
(A)に示した数値系列に対応し、図3(B)は図2
(B)に示した数値系列に対応している。図3の表に示
されているように、差分の絶対値の合計は、図3(A)
および図3(B)共に78であり、同じ値となってい
る。このように、従来の処理例によると、図2(A)お
よび(B)のように明らかにピークの大きさが異なる数
値系列であっても、これらの評価値は同じ値になってし
まい、ピークの明確さの差異が現れない。これは、とな
り同士のデータの差分を取ることで、細かいノイズ成分
を拾ってしまうからである。そして、ピークがノイズに
埋もれてしまい、正確なピークの評価が不可能になる。
FIG. 3 is a table showing the data values of the numerical series shown in FIG. 2, the absolute value of the difference between the neighboring data, and the total value of the absolute values. FIG. 3A is FIG.
FIG. 3B corresponds to the numerical series shown in FIG.
This corresponds to the numerical series shown in FIG. As shown in the table of FIG. 3, the sum of the absolute values of the differences is calculated as shown in FIG.
And FIG. 3 (B) is 78, which is the same value. As described above, according to the conventional processing example, even in the case of a numerical series having clearly different peak sizes as shown in FIGS. 2A and 2B, these evaluation values have the same value. No difference in peak clarity appears. This is because a small noise component is picked up by taking the difference between the data of the neighbors. Then, the peak is buried in the noise, and accurate evaluation of the peak becomes impossible.

【0008】また、ピークの裾部分がなだらかに変化
し、その変化の度合いがノイズの変化の度合いよりも小
さいと、ピークの検出がますます困難となる。
[0008] If the tail of the peak changes gradually and the change is smaller than the change in noise, it becomes more difficult to detect the peak.

【0009】従って、従来より、ピークを明確に検出
し、また、その変化の度合いを正確に評価するための装
置および方法の出現が望まれていた。
Therefore, there has been a demand for an apparatus and a method for clearly detecting a peak and accurately evaluating the degree of the change.

【0010】[0010]

【課題を解決するための手段】そこで、この発明のピー
ク評価装置によれば、数値系列の全データを格納する記
憶部と、前記記憶部に格納されているデータを読出し、
これらデータをデータ値に応じてソートし、このソート
順にデータを出力するソート部と、このソート部から入
力されるデータを順次に加算して、加算を行う度に、累
積値を出力する累積部と、この累積部から入力される累
積値の合計値を、前記数値系列のピークの明確さを表す
評価値Hとして、出力する積分部とを具えることを特徴
とする。
Therefore, according to the peak evaluation apparatus of the present invention, a storage unit for storing all data of a numerical series, and data stored in the storage unit are read out.
A sorter that sorts these data according to data values and outputs data in the sort order; and a accumulator that sequentially adds data input from the sorter and outputs a cumulative value each time the addition is performed. And an integrator that outputs the total value of the cumulative values input from the accumulator as an evaluation value H indicating the clarity of the peak of the numerical sequence.

【0011】このような構成によれば、数値系列の全デ
ータがデータ値の小さい順あるいは大きい順に並べ換え
られ、この順にデータ値が加算される。そして、データ
値の加算が行われる度に累積値が出力される。さらに、
出力された各累積値の合計値が求められる。この合計値
が、評価対象の数値系列が有するピークの明確さを表す
評価値Hである。
According to such a configuration, all data of the numerical sequence are rearranged in ascending or descending order of the data value, and the data values are added in this order. Then, a cumulative value is output each time the data value is added. further,
The total value of the output cumulative values is obtained. This total value is the evaluation value H indicating the clarity of the peak of the numerical series to be evaluated.

【0012】例えば、ソート順にデータDi(i=1、
2、・・・、Nはソート順を表す。尚、Nは、数値系列
のデータ数である。)がソート部から累積部に出力され
るとすると、累積部は累積値D1、(D1+D2)、・
・・、(D1+D2+・・・+DN)を出力する。この
場合、積分部が出力する累積値の合計値Hは、 H={N×D1+(N−1)×D2+・・・+1×DN} (I) となる。
For example, data Di (i = 1,
2,..., N represent the sort order. Here, N is the number of data in the numerical sequence. ) Is output from the sorting unit to the accumulating unit, the accumulating unit calculates the accumulated value D1, (D1 + D2),.
.., (D1 + D2 +... + DN) are output. In this case, the total value H of the accumulated values output by the integration unit is as follows: H = {N × D1 + (N−1) × D2 +... + 1 × DN} (I)

【0013】このように、データ値が小さい順に加算さ
れるときには、データ値の小さいものほど多く加算され
ることになる。従って、評価値Hが小さいほど、ピーク
が大きいということが評価される。つまり、ピークから
はずれた部分のデータ値を多く加算することにより、ピ
ークの存在を強調させることができる。
As described above, when data values are added in ascending order, the smaller the data value, the more data values are added. Therefore, it is evaluated that the smaller the evaluation value H is, the larger the peak is. That is, the presence of a peak can be emphasized by adding a large number of data values in a portion deviating from the peak.

【0014】また、データ値が大きい順に加算されると
きには、データ値の大きいものほど多く加算される。従
って、評価値Hが大きいほど、ピークが大きいというこ
とが評価される。つまり、ピーク部分のデータ値を多く
加算することにより、ピークの存在を強調させることが
できる。
When data values are added in descending order, the larger the data value, the more data values are added. Therefore, it is evaluated that the larger the evaluation value H is, the larger the peak is. That is, the presence of a peak can be emphasized by adding a large number of data values at the peak portion.

【0015】よって、従来のように、となり同士のデー
タの差分を取るのではないから、ノイズを拾ってしま
い、ピークがノイズに埋もれてしまうといったことがな
くなる。
Therefore, unlike the conventional case, the difference between the data of the neighbors is not calculated, so that the noise is not picked up and the peak is not buried in the noise.

【0016】また、この発明のピーク評価装置におい
て、好ましくは、前記累積部は、計数部とメモリ部とを
具えており、前記計数部は、前記ソート部から入力され
るデータと、前記メモリ部に格納されているデータとを
加算して前記累積値として出力すると共に、前記メモリ
部に格納されているデータの代りにこの累積値を前記メ
モリ部に記録する構成とするのが良い。
Further, in the peak evaluation device of the present invention, preferably, the accumulating section includes a counting section and a memory section, wherein the counting section stores data input from the sorting section, And outputting the accumulated value by adding the data stored in the memory unit, and recording the accumulated value in the memory unit instead of the data stored in the memory unit.

【0017】このように構成すると、ソート部から入力
されるデータを順次に加算して、加算を行う度に、累積
値が出力されるようにできる。
With this configuration, the data input from the sorting unit is sequentially added, and each time the addition is performed, the accumulated value can be output.

【0018】また、この発明のピーク評価装置におい
て、好ましくは、前記記憶部に格納されている数値系列
の全データを読出し、全データの合計値Sと全データ数
Nとを計数して出力する加算部と、ピークが無い場合の
評価値H0を、前記加算部の出力SおよびNを用いて H0=S×(N+1)/2 (II) により求め、前記積分部から入力される前記評価値Hを
前記H0で除算して出力する正規化部とを具えるのが良
い。
Further, in the peak evaluation device of the present invention, preferably, all data of the numerical series stored in the storage unit are read, and the total value S of all data and the total number of data N are counted and output. An adder and an evaluation value H0 when there is no peak are obtained by using the outputs S and N of the adder according to H0 = S × (N + 1) / 2 (II), and the evaluation value input from the integration unit It is preferable to include a normalizing unit that divides H by H0 and outputs the result.

【0019】尚、上式(II)は、上式(I)における各
データDiを平均値S/Nに置き換えたものに等しい。
ゆえに、上式(II)は、ピークの無い数値系列の評価値
を表す。
The above equation (II) is equivalent to the above equation (I) in which each data Di is replaced with an average value S / N.
Therefore, the above equation (II) represents an evaluation value of a numerical series without a peak.

【0020】このように、評価値HをH0で除算するこ
とにより、数値系列を正規化することができる。従っ
て、ある数値系列に対して求めた評価値H/H0と、こ
の数値系列の全データ値を定数倍した数値系列に対して
求めた評価値H/H0とが同じ値になる。よって、異な
る条件下で測定した数値系列同士のピークを、比較する
ことができるようになる。
As described above, the numerical value series can be normalized by dividing the evaluation value H by H0. Therefore, the evaluation value H / H0 obtained for a certain numerical series is equal to the evaluation value H / H0 obtained for a numerical series obtained by multiplying all data values of this numerical series by a constant. Therefore, it is possible to compare the peaks of the numerical series measured under different conditions.

【0021】また、この発明のピーク評価方法によれ
ば、数値系列の全データを記憶部に格納するステップ
と、前記記憶部に格納されているデータを読出し、これ
らデータをデータ値に応じてソートするステップと、前
記ソート順にデータを順次に加算し、加算を行う度に、
累積値を出力するステップと、前記出力した累積値の合
計値を、前記数値系列のピークの明確さを表す評価値H
として出力するステップとを含むことを特徴とする。
Further, according to the peak evaluation method of the present invention, the step of storing all the data of the numerical series in the storage section, reading the data stored in the storage section, and sorting these data according to the data value And sequentially adding data in the sorting order, and each time the addition is performed,
Outputting a cumulative value, and calculating the total value of the output cumulative values as an evaluation value H representing the clarity of the peak of the numerical sequence.
And outputting the result as

【0022】このような方法によれば、従来のように、
となり同士のデータの差分を取るのではないから、ノイ
ズを拾ってしまい、ピークがノイズに埋もれてしまうと
いったことがなくなる。
According to such a method, as in the prior art,
Since the difference between adjacent data is not calculated, noise is not picked up and the peak is not buried in the noise.

【0023】また、この発明のピーク評価方法におい
て、好ましくは、前記記憶部に格納されている数値系列
の全データを読出し、全データの合計値Sと全データ数
Nとを計数して出力するステップと、ピークが無い場合
の評価値H0を、前記SおよびNを用いて H0=S×(N+1)/2 により求め、前記評価値Hを前記H0で除算して出力す
るステップとを含むのが良い。
In the peak evaluation method according to the present invention, preferably, all data of the numerical series stored in the storage section are read, and the total value S of all data and the total number of data N are counted and output. And a step of obtaining an evaluation value H0 when there is no peak by using S and N according to H0 = S × (N + 1) / 2, dividing the evaluation value H by the H0, and outputting the result. Is good.

【0024】このように、評価値HをH0で除算するこ
とにより、数値系列を正規化することができる。よっ
て、異なる条件下で測定した数値系列同士のピークを、
比較することができるようになる。
As described above, the numerical value series can be normalized by dividing the evaluation value H by H0. Therefore, the peak between the numerical series measured under different conditions,
Be able to compare.

【0025】[0025]

【発明の実施の形態】以下、図を参照して、この発明の
実施の形態につき説明する。尚、図は、この発明が理解
できる程度に、構成、接続関係および配置関係が概略的
に示されている。また、以下に記載する数値等の条件は
単なる一例に過ぎず、従って、この発明は、この実施の
形態に何ら限定されることがない。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. In the drawings, the configuration, the connection relation, and the arrangement relation are schematically shown to the extent that the present invention can be understood. The conditions such as numerical values described below are merely examples, and therefore, the present invention is not limited to this embodiment.

【0026】[第1の実施の形態]図1は、第1の実施
の形態のピーク評価装置の構成を示すブロック図であ
る。この構成例のピーク評価装置100は、記憶部10
と、ソート部12と、累積部14と、積分部16とを具
えている。各構成要素の接続関係は、記憶部10の出力
がソート部12に入力され、ソート部12の出力が累積
部14に入力され、および累積部14の出力が積分部1
6に入力されるようになっている。また、ピーク評価装
置100は、入力部120から処理対象の数値系列が入
力されるように構成されている。入力部120は、処理
対象の数値系列18をピーク評価装置100に入力する
ための装置であって、例えばキーボード、データ計測装
置等の装置である。さらに、ピーク評価装置100で処
理された結果は、出力部130に出力されるようになっ
ている。出力部130は、例えば、画像表示装置、プリ
ンタ等であって、ピーク評価装置100の処理結果の表
示を行う。また、ピーク評価装置100の処理結果が、
例えば、コンピュータ装置等に出力され、そこで活用さ
れるように構成されていてもよい。
[First Embodiment] FIG. 1 is a block diagram showing a configuration of a peak evaluation apparatus according to a first embodiment. The peak evaluation device 100 of this configuration example includes a storage unit 10
, A sorting unit 12, an accumulating unit 14, and an integrating unit 16. Regarding the connection relation of each component, the output of the storage unit 10 is input to the sorting unit 12, the output of the sorting unit 12 is input to the accumulating unit 14, and the output of the accumulating unit 14 is
6 is input. Further, the peak evaluation device 100 is configured so that a numerical sequence to be processed is input from the input unit 120. The input unit 120 is a device for inputting the numerical sequence 18 to be processed to the peak evaluation device 100, and is, for example, a device such as a keyboard and a data measurement device. Further, the result processed by the peak evaluation device 100 is output to the output unit 130. The output unit 130 is, for example, an image display device, a printer, or the like, and displays a processing result of the peak evaluation device 100. Also, the processing result of the peak evaluation device 100 is
For example, it may be configured to be output to a computer device or the like and utilized there.

【0027】上述のピーク評価装置100は、例えば、
これを構成する記憶部10、ソート部12、累積部14
および積分部16が、メモリ装置、入出力装置およびC
PU(中央演算処理装置)を具えるいわゆるコンピュー
タ装置として構成されている。そして、これら記憶部1
0、ソート部12、累積部14および積分部16は、制
御装置(図示せず)により同期が取られ、これらの動作
タイミングが制御されている。
The above-described peak evaluation device 100 is, for example,
The storage unit 10, the sorting unit 12, and the accumulating unit 14 that constitute this unit
And the integrator 16 include a memory device, an input / output device, and C
It is configured as a so-called computer device having a PU (Central Processing Unit). Then, these storage units 1
0, the sorting unit 12, the accumulating unit 14 and the integrating unit 16 are synchronized by a control device (not shown), and their operation timings are controlled.

【0028】この実施の形態では、ピーク評価装置の構
成および動作を、図2および図4に示された数値系列を
処理する場合を例に取り、説明する。図4の表には、こ
の実施の形態のピーク評価装置による処理結果が、処理
段階ごとに示されている。図4(A)は、図2(A)の
グラフに示された数値系列を、この実施の形態のピーク
評価装置により処理した例である。また、図4(C)
は、図2(B)のグラフに示された数値系列を、この実
施の形態のピーク評価装置により処理した例である。先
ず、図2(A)および図4(A)に示される数値系列を
処理対象とする場合を例に取り、ピーク評価装置の構成
および動作につき説明する。
In this embodiment, the configuration and operation of the peak evaluation device will be described by taking as an example the case of processing the numerical sequence shown in FIGS. The table of FIG. 4 shows the processing results by the peak evaluation device of this embodiment for each processing stage. FIG. 4A is an example in which the numerical sequence shown in the graph of FIG. 2A is processed by the peak evaluation device of this embodiment. FIG. 4 (C)
Is an example in which the numerical sequence shown in the graph of FIG. 2B is processed by the peak evaluation device of this embodiment. First, the configuration and operation of the peak evaluation device will be described by taking as an example a case where the numerical sequences shown in FIGS. 2A and 4A are to be processed.

【0029】上述の記憶部10は、全データを格納する
装置である。ここで、データとは、処理対象である数値
系列を構成する各数値(データ値)のことである。例え
ば、この構成例のピーク評価装置を、画像の傾きを検出
するのに使用するのであれば、処理対象の数値系列と
は、画像を任意の方向に走査した結果得られるヒストグ
ラムのことである。図1に示されるように、記憶部10
は、入力部120から処理対象の数値系列18すなわち
その数値系列18を構成するデータ値を読出してそれら
を記憶する。記憶部10は、通常のメモリ装置を用いて
構成される。
The storage unit 10 is a device for storing all data. Here, the data is each numerical value (data value) constituting the numerical sequence to be processed. For example, if the peak evaluation device of this configuration example is used for detecting the inclination of an image, the numerical sequence to be processed is a histogram obtained as a result of scanning the image in an arbitrary direction. As shown in FIG.
Reads out the numerical sequence 18 to be processed, that is, the data values constituting the numerical sequence 18 from the input unit 120 and stores them. The storage unit 10 is configured using a normal memory device.

【0030】この例では、この記憶部10により、図4
(A)の表24左欄に示された数値データの全てが記憶
される。図4(A)の表24には、データ検出順に、デ
ータが表中の上側から順次に並べられて示されている。
そして、この例の数値系列は、23個のデータからなっ
ている。
In this example, this storage unit 10
All of the numerical data shown in the left column of Table 24 of (A) are stored. In Table 24 of FIG. 4A, data is shown in order of data detection, arranged in order from the top of the table.
The numerical sequence in this example is composed of 23 pieces of data.

【0031】次に、ソート部12は、記憶部10に格納
されているデータを読出し、これらデータをデータ値に
応じてソートし、このソート順にデータを出力する装置
である。ソートは、公知の手法を用いて行われる。図4
(A)の表24右欄には、左欄のデータのとなり側に、
ソート順が示されている。ここでは、データ値の大きい
順に、1番から始めて23番まで、各データに番号付け
がなされている。また、同じ値のデータの場合には、デ
ータ検出順に若い番号を付している。尚、この例では、
データ値の大きい順にソートを行ったが、これに限ら
ず、データ値の小さい順にソートを行ってもよい。そし
て、ソート部12は、ソート順に、データを出力する。
この例では、1番のデータから順次に出力されてゆく。
Next, the sorting unit 12 is a device that reads data stored in the storage unit 10, sorts the data according to data values, and outputs data in the sorted order. Sorting is performed using a known technique. FIG.
In the right column of Table 24 in (A), on the side next to the data in the left column,
The sort order is shown. Here, each data is numbered from the first to the 23rd in order of the data value. In the case of data having the same value, the data is given a smaller number in the order of data detection. In this example,
Although the sorting is performed in descending order of data values, the present invention is not limited to this, and the sorting may be performed in descending order of data values. Then, the sorting unit 12 outputs the data in the sorting order.
In this example, data is output sequentially from the first data.

【0032】これらソート部12から出力されるデータ
は、累積部14に送られる。この累積部14は、ソート
部12から入力されるデータを順次に加算して、加算を
行う度に、累積値を出力する装置である。すなわち、累
積部14は、先のソート順に各データを加算してゆく。
この累積部14の詳細な構成を、図5のブロック図に示
す。
The data output from the sorting section 12 is sent to the accumulating section 14. The accumulating unit 14 is a device that sequentially adds data input from the sorting unit 12 and outputs a cumulative value each time the addition is performed. That is, the accumulating unit 14 adds the respective data in the above sort order.
The detailed configuration of the accumulator 14 is shown in the block diagram of FIG.

【0033】図5に示されるように、累積部14は、計
数部20およびメモリ部22を具えている。そして、計
数部20は、ソート部12から入力されるデータと、メ
モリ部22に格納されているデータとを加算して累積値
として出力すると共に、メモリ部22に格納されている
データの代りに、出力した累積値をメモリ部22に記録
する。計数部20およびメモリ部22の間の接続関係に
つき、さらに詳細に説明する。計数部20は、2つの入
力ポートI1およびI2を具えており、これら各ポート
に入力されたデータ値を加算する装置である。ポートI
1にはソート部12から出力されたデータが入力され
る。また、ポートI2には、メモリ部22から、そのメ
モリ部に格納されているデータが読出される。そして、
計数部20の出力ラインは2方向に分岐しており、一方
は、積分部16に接続される。また、他方の出力ライン
は、メモリ部22に接続されている。
As shown in FIG. 5, the accumulating unit 14 includes a counting unit 20 and a memory unit 22. Then, the counting unit 20 adds the data input from the sorting unit 12 and the data stored in the memory unit 22 and outputs the result as an accumulated value, and replaces the data stored in the memory unit 22 with the data. , And the output cumulative value is recorded in the memory unit 22. The connection relationship between the counting unit 20 and the memory unit 22 will be described in more detail. The counting section 20 is a device that includes two input ports I1 and I2 and adds data values input to each of these ports. Port I
1 is input with data output from the sorting unit 12. Further, data stored in the memory unit is read from the memory unit 22 to the port I2. And
The output line of the counting unit 20 is branched in two directions, and one is connected to the integrating unit 16. The other output line is connected to the memory unit 22.

【0034】以上説明した累積部14の構成により、ソ
ート部12からデータが入力されるタイミングで、加算
およびメモリ部22内のデータの置換えが行われる。図
4(A)のデータを例にして説明すると、先ず、1番目
のデータ(以下、D1と称する。D1=12)がソート
部12から計数部20の入力ポートI1に入力される。
このときのメモリ部22は初期化されているので、メモ
リ部22内にはNULL(=0)が格納されている。従
って、メモリ部22からはデータが出力されず、言い換
えれば、NULLデータが出力されるので、計数部20
は、データD1をそのまま1番目の累積値として出力す
る。図4(B)の表26には、累積結果すなわち計数部
20から出力される累積値が示されている。この表26
中に示される上側の累積値から、順次に、計数部20か
ら出力されてゆく。
With the configuration of the accumulating unit 14 described above, addition and replacement of data in the memory unit 22 are performed at the timing when data is input from the sorting unit 12. 4A as an example, first, first data (hereinafter, referred to as D1; D1 = 12) is input from the sorting unit 12 to the input port I1 of the counting unit 20.
Since the memory unit 22 at this time has been initialized, NULL (= 0) is stored in the memory unit 22. Accordingly, no data is output from the memory unit 22, in other words, NULL data is output.
Outputs the data D1 as it is as the first accumulated value. Table 26 in FIG. 4B shows the cumulative result, that is, the cumulative value output from the counting unit 20. This table 26
It is output from the counting section 20 sequentially from the upper cumulative value shown in the inside.

【0035】計数部20から出力されたデータD1は、
積分部16およびメモリ部22にそれぞれ送られる。従
って、メモリ部22には、NULLの代わりに、データ
D1が格納される。次に、ソート部12から計数部20
の入力ポートI1に、2番目のデータ(以下、D2と称
する。D2=8)が入力される。このデータD2が計数
部20に入力されると共に、メモリ部22は格納してい
るデータD1を計数部20の入力ポートI2に出力す
る。そして、計数部20は、各入力ポートI1およびI
2に入力されたデータ値同士の和(すなわちD1+D2
=20。図4(B)の表26参照。)を出力する。この
和が2番目の累積値として、積分部16およびメモリ部
22に対して出力される。そして、メモリ部22には、
格納されていたデータD1の代わりに、この累積値(D
1+D2)が格納される。
The data D1 output from the counting section 20 is
The signals are sent to the integration unit 16 and the memory unit 22, respectively. Therefore, the data D1 is stored in the memory unit 22 instead of NULL. Next, from the sorting unit 12 to the counting unit 20
, The second data (hereinafter, referred to as D2; D2 = 8) is input. The data D2 is input to the counting unit 20, and the memory unit 22 outputs the stored data D1 to the input port I2 of the counting unit 20. Then, the counting unit 20 determines whether each of the input ports I1 and I1
2 (that is, D1 + D2)
= 20. See Table 26 in FIG. ) Is output. This sum is output to the integrator 16 and the memory 22 as a second accumulated value. And in the memory unit 22,
Instead of the stored data D1, this accumulated value (D
1 + D2) is stored.

【0036】このように、ソート部12から累積部14
に、ソート順にデータが送られ、累積値が積分部16に
順次に出力される。ソート順にデータDi(i=1、
2、・・・、Nはソート順を表す。尚、Nは、数値系列
のデータ数である。)がソート部12から累積部14に
出力されるとすると、累積部14は累積値D1、(D1
+D2)、・・・、(D1+D2+・・・+DN)を出
力する。
As described above, the sorting unit 12 to the accumulating unit 14
, The data is sent in the sort order, and the accumulated value is sequentially output to the integrator 16. Data Di (i = 1,
2,..., N represent the sort order. Here, N is the number of data in the numerical sequence. ) Is output from the sorting unit 12 to the accumulating unit 14, the accumulating unit 14 calculates the accumulated values D1, (D1
+ D2),..., (D1 + D2 +... + DN).

【0037】そして、この積分部16は、累積部14か
ら入力される累積値の合計値を、数値系列のピークの明
確さを表す評価値Hとして、出力する装置である。積分
部16は、累積部14から受け取った全ての累積値を計
数する。そして、累積値の計数結果を評価値Hとして出
力部130に出力する。
The integrator 16 is a device that outputs the total value of the accumulated values input from the accumulator 14 as an evaluation value H indicating the clarity of the peak of the numerical sequence. The integrator 16 counts all the accumulated values received from the accumulator 14. Then, the counting result of the accumulated value is output to the output unit 130 as the evaluation value H.

【0038】先の例のように、累積部14から累積値D
1、(D1+D2)、・・・、(D1+D2+・・・+
DN)が出力された場合、積分部16が出力する累積値
の合計値Hは、 H={N×D1+(N−1)×D2+・・・+1×DN} (1) となる。
As in the previous example, the accumulation value D
1, (D1 + D2),..., (D1 + D2 +.
When (DN) is output, the total value H of the accumulated values output by the integrator 16 is as follows: H = {N × D1 + (N−1) × D2 +... + 1 × DN} (1)

【0039】図4(B)の表26に示される累積値を加
算すると、合計値Hは1425となる。この値が、図4
(A)の表24左欄および図2(A)に示される数値系
列に対して求められた評価値H(=1425)である。
この例では、データ値の大きい順にソートを行ったの
で、この評価値Hの値が大きいほど、その数値系列に現
れるピークが大きいということを意味している。尚、デ
ータ値の小さい順にソートを行った場合には、評価値H
の値が小さいほど、その数値系列に現れるピークが大き
いということを意味する。
When the cumulative values shown in Table 26 of FIG. 4B are added, the total value H becomes 1425. This value is shown in FIG.
It is an evaluation value H (= 1425) obtained for the numerical series shown in the left column of Table 24 of FIG. 2A and in FIG.
In this example, the data values are sorted in descending order, so that the larger the value of the evaluation value H, the larger the peak appearing in the numerical sequence. When the data values are sorted in ascending order, the evaluation value H
Means that the smaller the value of is, the larger the peak appearing in the numerical sequence.

【0040】次に、図2(B)および図4(C)の表2
8左欄に示された数値系列に対し、上述したのと同様に
して、評価値Hを求めてみる。図4(C)の表28の右
欄にはソート結果が示されており、また、図4(D)の
表30には累積値が示されている。そして、表30に示
される累積値の和を求めると、1309となる。この値
が、図2(B)および図4(C)に示される数値系列に
対して求められた評価値H(=1309)である。この
ように、図2(A)に示される数値系列の方が、図2
(B)に示される数値系列に比べ、ピークが大きい(鋭
い)ことが理解される。従って、この構成例のピーク評
価装置によれば、従来の手法でピークの差異を評価する
ことができなかった数値系列が評価可能である。
Next, Table 2 in FIGS. 2B and 4C is used.
8. An evaluation value H is obtained for the numerical series shown in the left column in the same manner as described above. The right column of the table 28 in FIG. 4C shows the sorting result, and the table 30 in FIG. 4D shows the accumulated values. Then, the sum of the accumulated values shown in Table 30 is 1309. This value is the evaluation value H (= 1309) obtained for the numerical sequences shown in FIGS. 2B and 4C. As described above, the numerical sequence shown in FIG.
It is understood that the peak is larger (sharp) than the numerical series shown in (B). Therefore, according to the peak evaluation device of this configuration example, it is possible to evaluate a numerical sequence in which the difference between the peaks cannot be evaluated by the conventional method.

【0041】この構成例のピーク評価装置は、例えば、
画像の傾きを検出する装置として応用される。画像の傾
きを検出する場合には、異なる走査方向に対して得られ
た各ヒストグラムの中から最もピークが顕著なものを選
ばなければならない。このピーク評価装置によれば、こ
のような複数の数値系列(ヒストグラム)が有するピー
クの明確さをそれぞれ評価することができる。従って、
最も顕著なピークを有するヒストグラムを選択すること
ができる。この構成例は、従来の手法よりも良好な精度
でピークを評価することができるので、より正確に、画
像の傾きを検出することが可能である。
The peak evaluation device of this configuration example is, for example,
It is applied as a device for detecting the inclination of an image. When detecting the inclination of the image, it is necessary to select the histogram having the most prominent peak from among the histograms obtained for different scanning directions. According to this peak evaluation device, it is possible to evaluate the clarity of the peaks of such a plurality of numerical sequences (histograms). Therefore,
The histogram with the most prominent peak can be selected. In this configuration example, the peak can be evaluated with higher accuracy than the conventional method, so that the inclination of the image can be detected more accurately.

【0042】また、この構成例のピーク評価装置を、N
MR(核磁気共鳴)測定に利用してもよい。NMR測定
では、ピークが最も顕著となる波長および磁場を探索す
る必要があるので、この構成例のピーク評価装置のよう
に、数値系列をグラフ化したもののピークの度合いを比
較することができる装置が必要である。そして、この構
成例のピーク評価装置によれば、従来の手法に比べて正
確なピークの評価が行えるので、より正確な測定を行う
ことができる。
The peak evaluation device of this configuration example is
It may be used for MR (nuclear magnetic resonance) measurement. In the NMR measurement, it is necessary to search for a wavelength and a magnetic field at which the peak is most remarkable. Therefore, as in the peak evaluation apparatus of this configuration example, an apparatus capable of comparing the degree of the peak of a numerical series in a graph is used. is necessary. Then, according to the peak evaluation device of this configuration example, since a more accurate peak evaluation can be performed as compared with the conventional method, more accurate measurement can be performed.

【0043】[第2の実施の形態]次に、第2の実施の
形態の構成につき説明する。図6は、この実施の形態の
ピーク評価装置110の構成を示すブロック図である。
この構成例のピーク評価装置110は、第1の実施の形
態で説明した構成すなわち記憶部10、ソート部12、
累積部14および積分部16の他に、加算部32および
正規化部34を具えている。加算部32は、記憶部10
からデータを受け取れるように設けられている。また、
正規化部34は、加算部32および積分部16からの出
力が入力されるように設けられている。そして、この構
成例では、正規化部34の処理結果が上述の出力部13
0に出力されるようになっている。
[Second Embodiment] Next, the configuration of a second embodiment will be described. FIG. 6 is a block diagram showing a configuration of the peak evaluation device 110 according to this embodiment.
The peak evaluation device 110 of this configuration example includes the configuration described in the first embodiment, that is, the storage unit 10, the sort unit 12,
An addition unit 32 and a normalization unit 34 are provided in addition to the accumulation unit 14 and the integration unit 16. The adding unit 32 includes the storage unit 10
It is provided to receive data from. Also,
The normalizing unit 34 is provided so that outputs from the adding unit 32 and the integrating unit 16 are input. In this configuration example, the processing result of the normalizing unit 34 is output to the output unit 13 described above.
0 is output.

【0044】上述の加算部32は、記憶部10に格納さ
れている数値系列の全データを読出し、全データの合計
値Sと全データ数Nとを計数して出力する装置である。
すなわち、図4(A)の表24左欄に示された数値系列
を例にすると、S=81であり、また、N=23であ
る。加算部32は、これら合計値Sおよびデータ数Nの
検出を通常の計数手段により実行する。そして、これら
合計値Sおよびデータ数Nは、正規化部34に出力され
る。
The above-mentioned adder 32 is a device for reading out all the data of the numerical sequence stored in the storage 10 and counting and outputting the total value S of all the data and the total number N of data.
That is, in the numerical series shown in the left column of Table 24 in FIG. 4A, S = 81 and N = 23. The adder 32 executes the detection of the total value S and the number of data N by a normal counting means. Then, the total value S and the number N of data are output to the normalization unit 34.

【0045】上述の正規化部34は、ピークが無い場合
の評価値H0を、加算部32の出力SおよびNを用いて H0=S×(N+1)/2 (2) により求め、積分部16から入力される評価値Hを上述
のH0で除算して出力する装置である。正規化部34
は、公知の加算器、積算器および除算器でもって構成す
ることができる。また、正規化部34は、上式(2)で
表される計算処理を行うためのプログラムがセットされ
ており、加算部32から読出したSおよびNの値を、上
式(2)に代入して評価値H0を算出するように構成さ
れていてもよい。
The above-mentioned normalizing section 34 finds the evaluation value H0 when there is no peak by using the outputs S and N of the adding section 32 as H0 = S × (N + 1) / 2 (2). Is a device that divides the evaluation value H input from the above by the above-mentioned H0 and outputs the result. Normalization unit 34
Can be constituted by a known adder, integrator and divider. In the normalization unit 34, a program for performing the calculation process represented by the above equation (2) is set, and the values of S and N read from the addition unit 32 are substituted into the above equation (2). To calculate the evaluation value H0.

【0046】尚、上式(2)は、上式(1)における各
データDiを平均値S/Nに置き換えたものに等しい。
ゆえに、上式(2)は、ピークの無い数値系列の評価値
を表す。
The above equation (2) is equivalent to the equation (1) in which each data Di is replaced with an average value S / N.
Therefore, the above equation (2) represents an evaluation value of a numerical series having no peak.

【0047】図4(A)の場合につき上式(2)を用い
てピークが無い場合の評価値H0を求めると、H0=9
72となる。そして、第1の実施の形態で求めた評価値
H(=1425)をこの値H0で除算すると、除算結果
H/H0は約1.466となる。この値が、図4(A)
に示される数値系列に対して求められた、正規化された
評価値である。このように正規化された評価値を用いる
と、数値系列の各データ値によらない、グラフ形状のみ
を考慮した評価ができる。
In the case of FIG. 4A, when the evaluation value H0 when there is no peak is obtained by using the above equation (2), H0 = 9
72. Then, when the evaluation value H (= 1425) obtained in the first embodiment is divided by this value H0, the division result H / H0 is approximately 1.466. This value is shown in FIG.
Is a normalized evaluation value obtained for the numerical series shown in FIG. By using the evaluation values thus normalized, it is possible to perform an evaluation in consideration of only the graph shape without depending on each data value of the numerical sequence.

【0048】例えば、図7(A)の表36左欄には、図
4(A)の表24左欄に示した数値系列において、各デ
ータ値が2倍された数値系列が示されている。従って、
図7(A)に示される数値系列をグラフ化したものと、
図4(A)に示される数値系列をグラフ化したものと
は、図2(A)に示されたグラフと同じ形状を呈してい
る。通常、このようにグラフの形状が同じであっても、
サイズが異なる場合には、評価値が相違してしまう。こ
れに対し、この構成例のピーク評価装置により正規化さ
れた評価値を求めれば、グラフすなわち数値系列のサイ
ズには依存しない。
For example, in the left column of Table 36 of FIG. 7A, a numerical sequence in which each data value is doubled in the numerical sequence shown in the left column of Table 24 of FIG. 4A is shown. . Therefore,
A graph of the numerical series shown in FIG.
The graph of the numerical sequence shown in FIG. 4 (A) has the same shape as the graph shown in FIG. 2 (A). Usually, even if the shape of the graph is the same,
If the sizes are different, the evaluation values will be different. On the other hand, if the normalized evaluation value is obtained by the peak evaluation device of this configuration example, it does not depend on the size of the graph, that is, the numerical sequence.

【0049】図7(A)の表36左欄に示される数値系
列を、上述と同様にして、正規化された評価値H/H0
を求めてみる。図7(A)の表36右欄には、ソート部
12によるソート結果が示されている。また、図7
(B)の表38には、累積部14から出力される累積値
が示されている。この表38に示される累積値の合計値
すなわち評価値Hを算出すると、2850となる。
The numerical value series shown in the left column of Table 36 in FIG. 7A is converted into a normalized evaluation value H / H0 in the same manner as described above.
Try to find. In the right column of the table 36 in FIG. 7A, the sorting result by the sorting unit 12 is shown. FIG.
(B) Table 38 shows the accumulated values output from the accumulating unit 14. When the total value of the accumulated values shown in Table 38, that is, the evaluation value H is calculated, it is 2850.

【0050】次に、加算部32により、全データの合計
値Sと、全データ数Nとが算出される。この場合には、
S=162、N=23である。そして、正規化部34に
より、上述の(2)式に従い、ピークが無い場合の評価
値H0が、1944と求められる。従って、正規化部3
4により、評価値HはこのH0で除算され、正規化され
た評価値H/H0が約1.466と求められる。このよ
うに、図7(A)に示される数値系列と、図4(A)に
示される数値系列とは、同じ明確さのピークを有してい
ることが確認される。
Next, the adder 32 calculates the total value S of all data and the total number N of data. In this case,
S = 162 and N = 23. Then, the normalizing unit 34 calculates 1944 as the evaluation value H0 when there is no peak according to the above-described equation (2). Therefore, the normalization unit 3
By 4, the evaluation value H is divided by this H0, and a normalized evaluation value H / H0 is obtained as about 1.466. As described above, it is confirmed that the numerical sequence shown in FIG. 7A and the numerical sequence shown in FIG. 4A have the same clear peak.

【0051】このように、この構成例のピーク評価装置
によれば、データ値全体が定数倍化されているような数
値系列、例えば、測定時の検出解像度が異なっている場
合の数値系列等、ピークの形状に変化はないが測定条件
が異なるような数値系列における各評価値が等しく算出
される。従って、観測条件が異なる場合の数値系列同士
を比較することが可能になる。例えば、異なる解像度の
画像から得られたヒストグラムを比較する場合や、画像
の異なる範囲から得られたヒストグラム同士の比較が可
能である。
As described above, according to the peak evaluation device of this configuration example, a numerical sequence in which the entire data value is multiplied by a constant, for example, a numerical sequence in which the detection resolutions at the time of measurement are different, etc. Each evaluation value in a numerical series in which the shape of the peak does not change but the measurement conditions are different is calculated equally. Therefore, it is possible to compare the numerical sequences when the observation conditions are different. For example, it is possible to compare histograms obtained from images of different resolutions, and to compare histograms obtained from different ranges of the image.

【0052】[0052]

【発明の効果】この発明のピーク評価装置によれば、数
値系列の全データがデータ値の小さい順あるいは大きい
順に並べ換えられ、この順にデータ値が加算される。そ
して、データ値の加算が行われる度に累積値が出力さ
れ、出力された各累積値の合計値が評価値として求めら
れる。
According to the peak evaluation apparatus of the present invention, all data of the numerical sequence are rearranged in ascending or descending order of the data value, and the data values are added in this order. Then, each time a data value is added, a cumulative value is output, and the total value of the output cumulative values is obtained as an evaluation value.

【0053】よって、従来のように、となり同士のデー
タの差分を取るのではないから、ノイズを拾ってしま
い、ピークがノイズに埋もれてしまうといったことがな
くなる。従って、従来の手法ではノイズ等に紛れて判定
できなかったピークの明確さが判定できるようになる。
Therefore, unlike the conventional case, the difference between the data of the neighbors is not calculated, so that noise is not picked up and the peak is not buried in the noise. Therefore, it becomes possible to determine the clarity of the peak that could not be determined due to noise or the like in the conventional method.

【0054】また、この発明のピーク評価装置によれ
ば、ピークが無い場合の評価値H0を求め、評価値Hを
H0で除算して出力する。このように、評価値HをH0
で除算することにより、数値系列を正規化することがで
きる。よって、異なる条件下で測定した数値系列同士の
ピークを、比較することができるようになる。
According to the peak evaluation device of the present invention, the evaluation value H0 when there is no peak is obtained, and the evaluation value H is divided by H0 and output. Thus, the evaluation value H is set to H0
By dividing by, the numerical sequence can be normalized. Therefore, it is possible to compare the peaks of the numerical series measured under different conditions.

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

【図1】第1の実施の形態のピーク評価装置の構成を示
す図である。
FIG. 1 is a diagram illustrating a configuration of a peak evaluation device according to a first embodiment.

【図2】数値系列の例を示す図である。FIG. 2 is a diagram illustrating an example of a numerical sequence.

【図3】従来技術の処理例を示す図である。FIG. 3 is a diagram illustrating a processing example of the related art.

【図4】第1の実施の形態の処理例を示す図である。FIG. 4 is a diagram illustrating a processing example according to the first embodiment;

【図5】累積部の構成を示す図である。FIG. 5 is a diagram illustrating a configuration of an accumulation unit.

【図6】第2の実施の形態のピーク評価装置の構成を示
す図である。
FIG. 6 is a diagram illustrating a configuration of a peak evaluation device according to a second embodiment.

【図7】第2の実施の形態の処理例を示す図である。FIG. 7 is a diagram illustrating a processing example according to the second embodiment;

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

10:記憶部 12:ソート部 14:累積部 16:積分部 18:数値系列 20:計数部 22:メモリ部 32:加算部 34:正規化部 100、110:ピーク評価装置 120:入力部 130:出力部 10: Storage unit 12: Sorting unit 14: Accumulating unit 16: Integrating unit 18: Numerical sequence 20: Counting unit 22: Memory unit 32: Addition unit 34: Normalization unit 100, 110: Peak evaluation device 120: Input unit 130: Output section

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 数値系列の全データを格納する記憶部
と、 前記記憶部に格納されているデータを読出し、これらデ
ータをデータ値に応じてソートし、該ソート順にデータ
を出力するソート部と、 該ソート部から入力されるデータを順次に加算して、加
算を行う度に、累積値を出力する累積部と、 該累積部から入力される累積値の合計値を、前記数値系
列のピークの明確さを表す評価値Hとして、出力する積
分部とを具えることを特徴とするピーク評価装置。
1. A storage unit for storing all data of a numerical series, a sort unit for reading data stored in the storage unit, sorting these data according to data values, and outputting data in the sort order. An accumulator for sequentially adding data input from the sorting unit and outputting a cumulative value each time the addition is performed; and a sum of the cumulative values input from the accumulator, the peak of the numerical sequence. A peak evaluation device comprising: an integration unit that outputs an evaluation value H indicating the clarity of the evaluation.
【請求項2】 請求項1に記載のピーク評価装置におい
て、 前記累積部は、計数部とメモリ部とを具えており、 前記計数部は、前記ソート部から入力されるデータと、
前記メモリ部に格納されているデータとを加算して前記
累積値として出力すると共に、前記メモリ部に格納され
ているデータの代りに該累積値を前記メモリ部に記録す
ることを特徴とするピーク評価装置。
2. The peak evaluation device according to claim 1, wherein the accumulation unit includes a counting unit and a memory unit, wherein the counting unit includes data input from the sorting unit,
Adding the data stored in the memory unit and outputting the added value as the accumulated value, and recording the accumulated value in the memory unit instead of the data stored in the memory unit. Evaluation device.
【請求項3】 請求項1に記載のピーク評価装置におい
て、 前記記憶部に格納されている数値系列の全データを読出
し、全データの合計値Sと全データ数Nとを計数して出
力する加算部と、 ピークが無い場合の評価値H0を、前記加算部の出力S
およびNを用いて H0=S×(N+1)/2 により求め、 前記積分部から入力される前記評価値Hを前記H0で除
算して出力する正規化部とを具えることを特徴とするピ
ーク評価装置。
3. The peak evaluation device according to claim 1, wherein all data of the numerical series stored in the storage unit are read, and a total value S of all data and a total data number N are counted and output. An adder, and an evaluation value H0 when there is no peak is output to the output S of the adder.
And a normalizing unit that divides the evaluation value H input from the integrating unit by the H0 and outputs the divided value by H0 = S × (N + 1) / 2. Evaluation device.
【請求項4】 数値系列の全データを記憶部に格納する
ステップと、 前記記憶部に格納されているデータを読出し、これらデ
ータをデータ値に応じてソートするステップと、 前記ソート順にデータを順次に加算し、加算を行う度
に、累積値を出力するステップと、 前記出力した累積値の合計値を、前記数値系列のピーク
の明確さを表す評価値Hとして出力するステップとを含
むことを特徴とするピーク評価方法。
4. A step of storing all data of a numerical series in a storage unit, a step of reading data stored in the storage unit, and a step of sorting these data according to data values; And a step of outputting a cumulative value each time the addition is performed, and a step of outputting a total value of the output cumulative values as an evaluation value H indicating the clarity of the peak of the numerical sequence. Characteristic peak evaluation method.
【請求項5】 請求項4に記載のピーク評価方法におい
て、 前記記憶部に格納されている数値系列の全データを読出
し、全データの合計値Sと全データ数Nとを計数して出
力するステップと、 ピークが無い場合の評価値H0を、前記SおよびNを用
いて H0=S×(N+1)/2 により求め、前記評価値Hを前記H0で除算して出力す
るステップとを含むことを特徴とするピーク評価方法。
5. The peak evaluation method according to claim 4, wherein all data of the numerical series stored in the storage unit are read, and a total value S of all data and a total number N of data are counted and output. And a step of obtaining an evaluation value H0 when there is no peak by using H and S and obtaining H0 = S × (N + 1) / 2, and dividing the evaluation value H by the H0 and outputting the result. A peak evaluation method.
JP04394697A 1997-02-27 1997-02-27 Peak evaluation device and peak evaluation method Expired - Fee Related JP3476328B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04394697A JP3476328B2 (en) 1997-02-27 1997-02-27 Peak evaluation device and peak evaluation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04394697A JP3476328B2 (en) 1997-02-27 1997-02-27 Peak evaluation device and peak evaluation method

Publications (2)

Publication Number Publication Date
JPH10240938A true JPH10240938A (en) 1998-09-11
JP3476328B2 JP3476328B2 (en) 2003-12-10

Family

ID=12677882

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04394697A Expired - Fee Related JP3476328B2 (en) 1997-02-27 1997-02-27 Peak evaluation device and peak evaluation method

Country Status (1)

Country Link
JP (1) JP3476328B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005122466A (en) * 2003-10-16 2005-05-12 Canon Inc Product sum calculation circuit and method therefor
JP2005122465A (en) * 2003-10-16 2005-05-12 Canon Inc Product sum calculation circuit and method therefor

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005122466A (en) * 2003-10-16 2005-05-12 Canon Inc Product sum calculation circuit and method therefor
JP2005122465A (en) * 2003-10-16 2005-05-12 Canon Inc Product sum calculation circuit and method therefor
US7747668B2 (en) 2003-10-16 2010-06-29 Canon Kabushiki Kaisha Product-sum operation circuit and method
JP4620943B2 (en) * 2003-10-16 2011-01-26 キヤノン株式会社 Product-sum operation circuit and method thereof

Also Published As

Publication number Publication date
JP3476328B2 (en) 2003-12-10

Similar Documents

Publication Publication Date Title
US8139117B2 (en) Image quality analysis with test pattern
US5373147A (en) Apparatus and method for detecting line segment direction
US5668898A (en) Device for detecting the inclination of image
JPH06208618A (en) Image processor and processing method
CN101888468B (en) Image interpolation apparatus and image interpolation method
US4601057A (en) Pattern analyzer
IE56452B1 (en) Image processors
US7333656B2 (en) Image processing method and image processing apparatus
JP2882409B1 (en) Appearance inspection device
US7158690B2 (en) Enhancing the resolution of measurement systems employing image capturing systems to measure lengths
US6269182B1 (en) Color measuring system using multispectral image data
US6442733B1 (en) Failure analyzing method and apparatus using two-dimensional wavelet transforms
JP3924796B2 (en) Pattern position measuring method and measuring apparatus
CN1331206C (en) Method for inspecting defect
TWI591545B (en) Fingerprint image detecting device and method thereof
US7646892B2 (en) Image inspecting apparatus, image inspecting method, control program and computer-readable storage medium
JPH10240938A (en) Peak evaluating device and its method
JP2587433B2 (en) Banknote recognition device
JP2628951B2 (en) Image defect determination processing device
CN100378753C (en) Method of determining the region of interest in images of skin prints
JPH05288520A (en) Pattern matching method
EP0416114B1 (en) Image processing method and apparatus
JP2761285B2 (en) Threshold value determination device
JPH04211874A (en) Method for detecting semiconductor pellet
KR100436294B1 (en) A search method of pattern block in machine vision

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20030916

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070926

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080926

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080926

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090926

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090926

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100926

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110926

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110926

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120926

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120926

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130926

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees