JP2625356B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JP2625356B2
JP2625356B2 JP5224326A JP22432693A JP2625356B2 JP 2625356 B2 JP2625356 B2 JP 2625356B2 JP 5224326 A JP5224326 A JP 5224326A JP 22432693 A JP22432693 A JP 22432693A JP 2625356 B2 JP2625356 B2 JP 2625356B2
Authority
JP
Japan
Prior art keywords
gene data
group
density
data
gene
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP5224326A
Other languages
Japanese (ja)
Other versions
JPH0785270A (en
Inventor
幹 江藤
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP5224326A priority Critical patent/JP2625356B2/en
Publication of JPH0785270A publication Critical patent/JPH0785270A/en
Application granted granted Critical
Publication of JP2625356B2 publication Critical patent/JP2625356B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、画像処理装置に関し、
特に画像を階調圧縮する画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus,
In particular, the present invention relates to an image processing apparatus for compressing a gradation of an image.

【0002】[0002]

【従来の技術】まず図16を参照して、画像の階調圧縮
について説明する。図16には、14階調で表される画
像の濃度ヒストグラムの一例が示されている。図16の
グラフにおいて、横軸は14階調の各濃度を示し、縦軸
は対応する濃度の画素が全画素に占める割合を示してい
る。ここで、14階調で表された画像を3階調で表現す
る場合を説明する。この場合、14階調の濃度を3つの
グループに分割し、さらに各グループに対して1つの濃
度を対応させる必要がある。ここでは、各グループに割
り当てられる濃度のことをグループ濃度と呼ぶことにす
る。図16の場合、14の階調は、G(1)〜G(3)
の3つのグループに分割され、各グループにはT(1)
〜T(3)のグループ濃度がそれぞれ割り当てられてい
る。
2. Description of the Related Art First, gradation compression of an image will be described with reference to FIG. FIG. 16 shows an example of a density histogram of an image represented by 14 gradations. In the graph of FIG. 16, the horizontal axis represents each density of 14 gradations, and the vertical axis represents the ratio of pixels of the corresponding density to all pixels. Here, a case where an image represented by 14 gradations is represented by 3 gradations will be described. In this case, it is necessary to divide the density of 14 gradations into three groups, and to associate one density with each group. Here, the density assigned to each group is called a group density. In the case of FIG. 16, the 14 gradations are G (1) to G (3).
, And each group has T (1)
To T (3).

【0003】このような階調圧縮は3つの行程に分割す
ることができる。
[0003] Such gradation compression can be divided into three processes.

【0004】第1の行程は原画像から濃度ヒストグラム
を作成する行程である。この行程では、高速に濃度ヒス
トグラムを作成することが求められる。
The first step is a step of creating a density histogram from an original image. In this process, it is required to create a density histogram at high speed.

【0005】第2の行程は、第1の行程で作成された濃
度ヒストグラムを基に、濃度をN個のグループに分割す
る行程である。濃度をN個のグループに分割すること
は、濃度ヒストグラムの横軸に(N−1)個のしきい値
を設定することと同じである。例えば、図16の場合は
N=3であるので、第1のしきい値、および第2のしき
い値により濃度が3分割されている。この行程では、圧
縮後の画像がなるべく自然に見えるように、しきい値が
設定されなければならない。具体的には、画像中、注視
される対象物を表現する濃度区間には多数のしきい値が
密に設定される。これにより対象物が多くの階調で表現
され、圧縮後でも不自然に感じないからである。一方、
画像の背景部分を表現する濃度区間にはしきい値を粗に
設定する。背景部分は注視されることがないので小数の
階調で表示しても不自然には感じられないからである。
The second step is a step of dividing the density into N groups based on the density histogram created in the first step. Dividing the density into N groups is the same as setting (N-1) thresholds on the horizontal axis of the density histogram. For example, in the case of FIG. 16, since N = 3, the density is divided into three by the first threshold value and the second threshold value. In this process, a threshold value must be set so that the compressed image looks as natural as possible. Specifically, in the image, a number of threshold values are densely set in a density section expressing a target to be watched. This is because the object is expressed with many gradations and does not feel unnatural even after compression. on the other hand,
The threshold is roughly set in the density section representing the background portion of the image. This is because the background portion is not watched, so that it does not seem unnatural even if it is displayed with a small number of gradations.

【0006】第3の行程は、第2の行程で分割された濃
度にグループ濃度を付与する行程である。
[0006] The third step is a step of giving a group density to the density divided in the second step.

【0007】上述した一連の階調圧縮処理のうち、第2
の行程の従来技術である積分分割法は例は、安居院猛、
中嶋正之共著「画像情報処理」1992年3月森北出版
発行(以下、文献1という)130頁〜132頁に記載
されている。積分分割法は、各グループの頻度が等しく
なるようにしきい値を設定する方法である。このように
しきい値を設定することにより、高頻度の濃度区間には
密にしきい値が設定され、低頻度の濃度区間には粗にし
きい値が設定される。高頻度の濃度区間は画像中で注視
される部分であることが多いため、注視される領域が多
数の階調で表現されることになる。
Of the series of gradation compression processing described above, the second
Examples of the integral division method, which is a conventional technique of the process, are Takeshi Aiin,
This is described in pages 130-132, published by Morikita Publishing Co., Ltd. (hereinafter referred to as Reference 1), published by Masayuki Nakajima, "Image Information Processing", March 1992. The integral division method is a method of setting a threshold value so that the frequency of each group becomes equal. By setting the threshold value in this manner, the threshold value is set densely in the high-frequency density section, and the threshold value is set coarsely in the low-frequency density section. Since the high-frequency density section is often a portion to be watched in the image, the watched region is expressed by a number of gradations.

【0008】[0008]

【発明が解決しようとする課題】積分分割法は実行が簡
便である反面、画像の種類によっては不適当な階調圧縮
が行われてしまうという問題があった。図17の画像を
圧縮する場合を一例として、この問題について説明す
る。図17の画像は、白色の背景中に、小さな対象物1
501が存在している。図18は、図17の画像の濃度
ヒストグラムである。図18において、濃度1は白色を
表し、濃度14は黒色を表している。図17の画像のほ
とんどの部分は白色の背景によって占められている。こ
のため、図18のヒストグラムでは白色の区間である濃
度1〜濃度4に頻度が集中している。一方、対象物15
01は微少であるため、対象物1501の表示区間であ
る濃度9〜濃度11は僅かな頻度を占有するにすぎな
い。したがって、図18の頻度ヒストグラムに積分分割
法を適用すると、濃度1〜濃度4にしきい値が集中して
しまう。このため、注視される対象物1501は僅か1
階調の濃度で表示され、圧縮後の画像は極めて不自然な
ものとなってしまう。
Although the integral division method is easy to execute, it has a problem that improper gradation compression is performed depending on the type of image. This problem will be described by taking the case of compressing the image of FIG. 17 as an example. The image of FIG. 17 shows a small object 1 in a white background.
501 exists. FIG. 18 is a density histogram of the image of FIG. In FIG. 18, density 1 represents white, and density 14 represents black. Most of the image in FIG. 17 is occupied by a white background. For this reason, in the histogram of FIG. 18, the frequencies are concentrated on the density 1 to density 4, which are white sections. On the other hand, object 15
Since 01 is very small, the density 9 to density 11, which is the display section of the object 1501, occupies only a small frequency. Therefore, when the integral division method is applied to the frequency histogram of FIG. 18, the threshold values concentrate on the density 1 to density 4. For this reason, only one object 1501 is watched.
The image is displayed at the gradation density, and the image after compression becomes extremely unnatural.

【0009】また、最適な階調圧縮は、原画像の状態
や、圧縮後の画像を表示させる表示装置によって、変化
する。このため、いくつかの階調圧縮を行って候補を作
成し、肉眼により最適なものを選択するのが好ましい。
ところが、上述した積分分割法では、1通りの階調圧縮
しか行えないので、いくつかの候補の中から最適な階調
圧縮を選択することはできなかった。
Further, the optimum gradation compression varies depending on the state of the original image and the display device for displaying the compressed image. For this reason, it is preferable to create candidates by performing some gradation compression and select the most suitable one with the naked eye.
However, in the above-mentioned integral division method, since only one type of gradation compression can be performed, the optimum gradation compression cannot be selected from several candidates.

【0010】[0010]

【課題を解決するための手段】上述の問題点を解決する
ため、本発明では、好適なしきい値のときは増大し、不
適なしきい値のときは減少する関数を設定し、この関数
を最大化するしきい値により画像の階調圧縮を実行す
る。関数を最大化するしきい値を求めるためには、遺伝
的アルゴリズムに基づいた方法を用いている。遺伝的ア
ルゴリズムの詳細については、安居院猛、長尾智晴共著
「画像の処理と認識」1992年11月25日、株式会
社昭晃堂発行、を参照されたい。
In order to solve the above-mentioned problems, according to the present invention, a function is set which increases when a suitable threshold value is used and decreases when an inappropriate threshold value is used. The tone compression of the image is executed according to the threshold value to be converted. A method based on a genetic algorithm is used to find a threshold that maximizes a function. For details of the genetic algorithm, see Takeshi Yasui and Tomoharu Nagao, "Processing and Recognition of Images," Nov. 25, 1992, published by Shokodo Co., Ltd.

【0011】 より具体的には、上述の課題を解決する
ため、本発明の画像処理装置は、複数のしきい値を保持
する遺伝子データと、この遺伝子データの保持するしき
い値が望ましいものであるときには大きな値を発生し、
前記遺伝子データの保持するしきい値が望ましくないも
のであるときには小さな値を発生する適応度発生手段
と、この適応度発生手段の発生する値を最大にする遺伝
子データを求めて出力する最適遺伝子データ計算手段
と、この最適遺伝子データ計算手段の出力する遺伝子デ
ータの保持するしきい値から濃度グループと該濃度グル
ープのグループ濃度とを作成して出力するグループ濃度
決定手段と、前記グループ濃度決定手段の出力する濃度
グループおよぶグループ濃度に基づいて前記原画像を階
調圧縮して出力する出力手段とを有することを特徴とす
る。
More specifically, in order to solve the above-described problem, the image processing apparatus according to the present invention is configured such that the gene data holding a plurality of threshold values and the threshold value holding the gene data are desirable. Sometimes it produces large values,
Fitness generating means for generating a small value when the threshold value held by the gene data is undesirable, and optimal gene data for obtaining and outputting gene data which maximizes the value generated by the fitness generating means. Calculating means, a group density determining means for creating and outputting a density group and a group density of the density group from a threshold value held by the gene data output from the optimum gene data calculating means, and a group density determining means. Output means for tone-compressing and outputting the original image based on the density group to be output and the group density.

【0012】[0012]

【実施例】次に本発明の第1の実施例について、図面を
参照して説明する。
Next, a first embodiment of the present invention will be described with reference to the drawings.

【0013】まず、本実施例中で「遺伝子データ」と呼
称されるデータについて、図3を参照して説明する。図
3を参照すると、画素指定手段120の遺伝子データ記
憶領域121には、XN個の遺伝子データX(i)が保
持されている。遺伝子データX(i)は、しきい値の位
置を示すSN個のセグメントS(i,0)〜S(i,S
N−1)から構成される。ここで、SNは階調圧縮によ
り設定されるしきい値の個数でありる。例えば、図14
の場合、SN=2である。さらにセグメントS(i,
j)は、0または1の値を保持するBN個のビットB
(i,j,0)〜B(i,j,BN−1)から構成され
る。ここで、BNはしきい値の位置を表現するのに十分
な数だけ用意される。例えば、図14の場合、BN=4
である。これにより、各セグメントS(i,j)は0〜
15の値を表現することができる。以下の説明ではS
(i,j)という記号で各セグメント自体を示すと同時
に、このセグメントが保持する数の値をも表現すること
にする。ところで、図14の場合、しきい値の位置を示
すには0〜12の値を表現できれば十分である。したが
って、S(i,j)>12のときはセグメントS(i,
j)の値は意味を持たなくなってしまう。したがって、
S(i,j)>12のときには、セグメントS(i,
j)は(S(i,j)−12)の数を示しているとみな
す循環式の記法を用いると便利である。以下の説明で
は、この循環式の記法が用いられているものとする。
First, data referred to as "gene data" in the present embodiment will be described with reference to FIG. Referring to FIG. 3, XN pieces of gene data X (i) are held in the gene data storage area 121 of the pixel specifying means 120. Gene data X (i) includes SN segments S (i, 0) to S (i, S) indicating the position of the threshold.
N-1). Here, SN is the number of thresholds set by gradation compression. For example, FIG.
, SN = 2. Further, the segment S (i,
j) are BN bits B holding a value of 0 or 1
(I, j, 0) to B (i, j, BN-1). Here, the BN is prepared in a sufficient number to express the position of the threshold. For example, in the case of FIG. 14, BN = 4
It is. Thereby, each segment S (i, j) is 0 to
15 values can be expressed. In the following description, S
Each segment itself is indicated by the symbol (i, j), and the value of the number held by this segment is also expressed. By the way, in the case of FIG. 14, it is sufficient to represent a value of 0 to 12 to indicate the position of the threshold value. Therefore, when S (i, j)> 12, the segment S (i, j)
The value of j) becomes meaningless. Therefore,
When S (i, j)> 12, the segment S (i, j)
It is convenient to use a cyclic notation in which j) is regarded as indicating the number of (S (i, j) -12). In the following description, it is assumed that this cyclic notation is used.

【0014】次に本実施例の構造について説明する。Next, the structure of this embodiment will be described.

【0015】図1を参照すると、本発明の第1の実施例
は、原画像を記憶する画像記憶手段140と、画像記憶
手段140に記憶された原画像を階調圧縮する階調圧縮
装置110と、階調圧縮装置110に乱数を供給する乱
数発生手段130と、階調圧縮装置110の階調圧縮処
理で生じる遺伝子データを記憶する画素指定手段120
とから構成されている。画素指定手段120は、遺伝子
データの情報を記憶する遺伝子データ記憶領域121
と、遺伝子データの更新の際に一時的に遺伝子データを
記憶する作業領域122とを有する。階調圧縮装置11
0は、画像記憶手段140に記憶された原画像の濃度ヒ
ストグラムを作成する濃度ヒストグラム作成手段111
と、ランダムに遺伝子データを生成して遺伝子データ記
憶領域121に設定する遺伝子データ発生手段112
と、遺伝子データ記憶領域121に記憶された遺伝子デ
ータを後述の手順に従って更新する遺伝子データ更新手
段113と、遺伝子データ更新手段113により更新さ
れた遺伝子データから最適な遺伝子データを選択する最
適遺伝子データ選択手段114と、最適遺伝子データ選
択手段114により選択された最適遺伝子データを基に
濃度のグループとそのグループ濃度とを決定するグルー
プ濃度決定手段115と、グループ濃度決定手段115
で決定されたグループとグループ濃度とに基づいて画像
記憶手段140に記憶された原画像を階調圧縮して出力
する出力手段116とから構成されている。
Referring to FIG. 1, according to a first embodiment of the present invention, an image storage means 140 for storing an original image and a gradation compression apparatus 110 for compressing the gradation of the original image stored in the image storage means 140 are provided. A random number generator 130 for supplying a random number to the gradation compressor 110; and a pixel designator 120 for storing gene data generated by the gradation compression process of the gradation compressor 110.
It is composed of The pixel designation means 120 includes a gene data storage area 121 for storing information of gene data.
And a work area 122 for temporarily storing the genetic data when updating the genetic data. Gradation compression device 11
0 is a density histogram creation unit 111 that creates a density histogram of the original image stored in the image storage unit 140
Gene data generating means 112 for randomly generating gene data and setting the gene data in the gene data storage area 121
A gene data updating means 113 for updating the gene data stored in the gene data storage area 121 in accordance with a procedure described later, and an optimal gene data selection for selecting the optimal gene data from the gene data updated by the gene data updating means 113 Means 114, group concentration determining means 115 for determining a group of concentrations and the group concentration based on the optimal gene data selected by optimal gene data selecting means 114, and group concentration determining means 115
And an output unit 116 for tone-compressing and outputting the original image stored in the image storage unit 140 on the basis of the group and the group density determined in (1).

【0016】さらに図2を参照すると、遺伝子データ更
新手段113は、後述の手順に従って遺伝子データ記憶
領域121内の遺伝子データの複製および削除を実行し
て遺伝子データの淘汰を実行する淘汰手段202と、淘
汰手段202により淘汰された遺伝子データの個数を一
定数に正規化する正規化手段203と、正規化手段20
3により正規化された遺伝子データをランダムに2個選
択し遺伝子データを構成する情報の一部を交換すること
により遺伝子データの交叉を実行する交叉手段204
と、交叉手段204で交叉が行われた遺伝子データの情
報をランダムに変更する変異手段205と、淘汰手段2
02と正規化手段203と交叉手段204と変異手段2
05とを制御する更新制御手段201とから構成されて
いる。
Still referring to FIG. 2, the genetic data updating means 113 performs duplication and deletion of the genetic data in the genetic data storage area 121 in accordance with a procedure described later to perform genetic data selection. A normalizing means 203 for normalizing the number of gene data selected by the selecting means 202 to a certain number;
3. Crossover means 204 for randomly selecting two pieces of gene data normalized by 3 and exchanging a part of the information constituting the gene data to perform crossover of the gene data.
A mutation means 205 for randomly changing information of the gene data crossed by the crossing means 204, and a selection means 2
02, normalization means 203, crossover means 204, and mutation means 2
05 and an update control means 201 for controlling the operation of the system.

【0017】次に本実施例の動作について説明する。本
実施例ではM階調の原画像をM’階調に階調圧縮する場
合を説明する。したがって、1遺伝子データあたりのセ
グメント数SNはM’−1であり、1セグメントあたり
のビット数BNは0〜(M−2)の数を表現するのに必
要最低限の数である。
Next, the operation of this embodiment will be described. In this embodiment, a case will be described in which an original image having M gradations is gradation-compressed to M 'gradations. Therefore, the number of segments SN per gene data is M'-1, and the number of bits BN per segment is the minimum number required to represent the number of 0 to (M-2).

【0018】本実施例の階調圧縮装置110が始動され
ると、まず階調圧縮装置110内の濃度ヒストグラム作
成手段111が作動される。濃度ヒストグラム作成手段
111では近似的な方法により、高速に濃度ヒストグラ
ムを求めている。遺伝子データ更新手段113の動作時
間を補償するためである。以下、図4のフローチャーを
参照して、濃度ヒストグラム作成手段111の動作を説
明する。
When the tone compression device 110 of this embodiment is started, first, the density histogram creating means 111 in the tone compression device 110 is operated. The density histogram creating means 111 obtains the density histogram at high speed by an approximate method. This is for compensating the operation time of the gene data updating means 113. Hereinafter, the operation of the density histogram creating unit 111 will be described with reference to the flowchart of FIG.

【0019】図4を参照すると、ステップ401におい
て濃度ヒストグラムH(i)に0が設定される。ここ
で、iは原画像のM階調の濃度に対応する0〜(M−
1)の数である。ステップ401が終了すると、ステッ
プ402に処理が移行される。
Referring to FIG. 4, in step 401, 0 is set in the density histogram H (i). Here, i is 0 to (M−) corresponding to the density of M gradation of the original image.
1). When step 401 ends, the process moves to step 402.

【0020】ステップ402では、画像記憶手段140
内に保持された原画像の画素からEN個の画素が抽出さ
れる。このとき抽出される画素は、信号線Aを介して乱
数発生手段130から供給される乱数に基づいてランダ
ムに選択される。ステップ401が終了すると、ステッ
プ403に処理が移行される。
In step 402, the image storage means 140
EN pixels are extracted from the pixels of the original image held in. Pixels extracted at this time are selected at random based on random numbers supplied from the random number generation means 130 via the signal line A. When step 401 ends, the process moves to step 403.

【0021】ステップ403では、N(i)が更新され
る。N(i)は、この時点までに抽出された画素のうち
濃度iの画素の個数である。N(i)の更新は、ステッ
プ402で抽出されたEN個の画素のうち濃度iの画素
の数をN(i)に加算することにより行われる。ステッ
プ402が終了すると、、ステップ404に処理が移行
される。
In step 403, N (i) is updated. N (i) is the number of pixels of density i among the pixels extracted up to this point. The update of N (i) is performed by adding the number of pixels having the density i among the EN pixels extracted in step 402 to N (i). When step 402 ends, the process moves to step 404.

【0022】ステップ404では、以下の(1)に従っ
て新濃度ヒストグラムH’(i)が計算される。
In step 404, a new density histogram H '(i) is calculated according to the following (1).

【0023】 [0023]

【0024】ステップ404が終了すると、、ステップ
405に処理が移行される。
When step 404 ends, the process moves to step 405.

【0025】ステップ405では以下の(2)式に従っ
てDが計算される。
In step 405, D is calculated according to the following equation (2).

【0026】 [0026]

【0027】Dは、濃度ヒストグラムH(i)から新濃
度ヒストグラムH’(i)への変化の度合いを示す指数
であり、Dが大きいほどH(i)からH’(i)への変
化が大きいことを示す。ステップ405が終了すると、
ステップ406へ処理が移行される。
D is an index indicating the degree of change from the density histogram H (i) to the new density histogram H '(i). As D increases, the change from H (i) to H' (i) occurs. Indicates that it is big. When step 405 ends,
The process proceeds to step 406.

【0028】ステップ406では、濃度ヒストグラムH
(i)に新濃度ヒストグラムH’(i)が設定される。
ステップ406が終了すると、ステップ407に処理が
移行される。
In step 406, the density histogram H
A new density histogram H ′ (i) is set in (i).
When step 406 ends, the process moves to step 407.

【0029】ステップ407では、Dの大きさが判定さ
れる。Dが予め定められた所定値よりも大きい場合は、
ステップ402に処理が分岐される。一方、Dが所定値
以下の場合は、ステップ408に処理が移行される。
In step 407, the magnitude of D is determined. If D is greater than a predetermined value,
The process branches to step 402. On the other hand, if D is equal to or smaller than the predetermined value, the process proceeds to step 408.

【0030】ステップ408では、濃度ヒストグラムH
(i)が遺伝子データ更新手段113に出力される。ス
テップ408の終了により濃度ヒストグラム作成手段1
11は動作を停止する。
In step 408, the density histogram H
(I) is output to the gene data updating means 113. Upon completion of step 408, density histogram creating means 1
11 stops the operation.

【0031】階調圧縮装置110の始動時には、濃度ヒ
ストグラム作成手段111と同時に遺伝子データ発生手
段112も起動される。遺伝子データ発生手段112に
より、遺伝子データ記憶領域121内の遺伝子データX
(i)の各ビットB(i,j,k)にランダムな値が設
定される。以下、図5のフローチャートを参照して、濃
度ヒストグラム作成手段111の動作を説明する。
When the tone compression device 110 is started, the gene data generating means 112 is also started at the same time as the density histogram creating means 111. Gene data X in the gene data storage area 121 is generated by the gene data generating means 112.
A random value is set to each bit B (i, j, k) of (i). Hereinafter, the operation of the density histogram creating unit 111 will be described with reference to the flowchart of FIG.

【0032】ステップ501では、変数wに0が設定さ
れる。ステップ501が終了するとステップ502に処
理が移行される。
In step 501, 0 is set to a variable w. When step 501 ends, the process moves to step 502.

【0033】ステップ502では、乱数発生手段130
において0〜1の乱数rが生成される。ステップ502
が終了すると、ステップ503に処理が移行される。
In step 502, the random number generating means 130
, A random number r of 0 to 1 is generated. Step 502
Is completed, the process moves to step 503.

【0034】ステップ503では、遺伝子データ記憶領
域121内の遺伝子データのビットのうち、(i×XN
×SN)+(j×SN)+kがwとなるビットB(i,
j,k)の値がrに設定される。ステップ503が終了
すると、ステップ504に処理が移行される。
In step 503, among the bits of the gene data in the gene data storage area 121, (i × XN
× SN) + (j × SN) + k is a bit B (i,
j, k) is set to r. When step 503 ends, the process moves to step 504.

【0035】ステップ504では、変数wに1が加算さ
れる。ステップ504が終了するとステップ505に処
理が移行される。
In step 504, 1 is added to the variable w. When step 504 ends, the process moves to step 505.

【0036】ステップ505では、変数wの値が判定さ
れる。変数wの値が(XN×SN)より小さいときはス
テップ502に処理が分岐される。一方、変数wの値が
(XN×SN)に等しくなった場合には、全体の処理が
終了する。ステップ505が終了すると、遺伝子データ
発生手段112は動作を停止する、濃度ヒストグラム作
成手段111および遺伝子データ発生手段112が処理
を終了すると、遺伝子データ更新手段113が起動され
る。
At step 505, the value of the variable w is determined. If the value of the variable w is smaller than (XN × SN), the process branches to step 502. On the other hand, when the value of the variable w becomes equal to (XN × SN), the entire process ends. When step 505 ends, the gene data generating means 112 stops operating. When the concentration histogram creating means 111 and the gene data generating means 112 end the processing, the gene data updating means 113 is activated.

【0037】 遺伝子データ更新手段113では、遺伝
的アルゴリズムに基づいて、後述する関数F()を最大
化する遺伝子データが求められる。すなわち、遺伝的ア
ルゴリズムでは遺伝子データの集団が保持される。本実
施例の場合、各遺伝子データはしきい値を示す。そし
て、淘汰手段202により、これら遺伝子データに、複
製、変異、消滅の操作が繰り返し実行され、仮想的な自
然淘汰が実行される。複製及び消滅の操作において、F
()が大きな遺伝子データに対しては複製の機会を増や
し、F()が小さな遺伝子データに対しては消滅の機会
を増やす。そして、仮想的な自然淘汰過程の進行につれ
て、F()が大きな遺伝子データが集団を占拠するよう
になる。また、交差手段204及び変異手段205によ
り実行される変異操作によって、次々と新規な遺伝子デ
ータが集団内に発生する。これにより、初期状態ではF
()を最大化する遺伝子データが集団内に存在しなかっ
たとしても、淘汰過程の進行中にこのような遺伝子が集
団内に発生し、やがてこの遺伝子データが集団を占拠す
る。そして、仮想的な自然淘汰を十分長時間実行すれ
ば、最終状態において、集団はF()を最大化する遺伝
子データで占拠される。このように、遺伝的アルゴリズ
ムにより、F()を最大化する遺伝子データを求めるこ
とができる。以上が、本実施例における遺伝子データア
ルゴリズムの概略である。具体的には、遺伝子データ更
新手段113が起動されると、まず、淘汰手段202が
作動する。以下、図6のフローチャートを参照して、淘
汰手段202の動作を説明する。
The genetic data updating means 113 obtains, based on a genetic algorithm, genetic data that maximizes a function F () described later. That is, the genetic algorithm holds a group of genetic data. In the case of this embodiment, each gene data indicates a threshold. The selection means 202 repeatedly performs the operations of duplication, mutation, and extinction on these genetic data, thereby executing virtual natural selection. In the duplication and extinction operations, F
() Increases the chances of replication for large genetic data, and F () increases the chances of disappearance for small genetic data. Then, as the virtual natural selection process progresses, genetic data having a large F () occupies the population. In addition, new genetic data is successively generated in the population by the mutation operation performed by the crossing means 204 and the mutation means 205. Thus, in the initial state, F
Even if genetic data that maximizes () does not exist in the population, such genes will occur in the population during the selection process, and the genetic data will eventually occupy the population. Then, if the virtual natural selection is performed for a sufficiently long time, in the final state, the population is occupied by the genetic data that maximizes F (). As described above, genetic data that maximizes F () can be obtained by the genetic algorithm. The above is the outline of the gene data algorithm in the present embodiment. Specifically, when the gene data updating means 113 is activated, first, the selection means 202 operates. Hereinafter, the operation of the selection unit 202 will be described with reference to the flowchart of FIG.

【0038】ステップ506では、変数wが0に設定さ
れる。ステップ506が終了すると、ステップ507に
処理が移行される。
In step 506, the variable w is set to 0. When step 506 ends, the process moves to step 507.

【0039】ステップ507では、淘汰手段202にお
いて適応度という数値が計算される。ここで適応度と
は、各遺伝子データの複製、削除を実行するための指標
である。適応度を求めるための関数F(X(i))は、
予め適応度発生手段206内に設定されている。F(X
(i))は、X(i)の示すしきい値が好適ものである
ときは大きな値となり、X(i)の示すしきい値が不適
なものであるときは小さな値をとるように設定される必
要がある。ここでは、上述した積分分割法の問題点を解
決するために以下の(3)式により関数F(X(i))
を定義する。
In step 507, the selection means 202 calculates a numerical value called fitness. Here, the fitness is an index for executing duplication and deletion of each gene data. The function F (X (i)) for determining the fitness is
It is set in the fitness generating means 206 in advance. F (X
(I)) is set so as to take a large value when the threshold value indicated by X (i) is suitable, and to take a small value when the threshold value indicated by X (i) is inappropriate. Need to be done. Here, in order to solve the above-mentioned problem of the integral division method, the function F (X (i)) is calculated by the following equation (3).
Is defined.

【0040】 [0040]

【0041】 式(4)において、S’(i,j)はS
(i,0)〜S(i,SN−1)を小さい順に並べたと
きに、j+1番目に当たるものの示す値である。すなわ
ち、S(i,j)により示されるSN個のしきい値のう
ち、左から数えたときにj+1番目に当たるしきい値を
示す。S(i,j)、S’(i,j)および各しきい値
の関係は図7に示されている。また、C1およびC2
は、適当な定数である。上述の(4)式の右辺第1項は
X(i)が示すしきい値が積分分割にしたがっていると
きに最大となる。一方、(4)式の右辺第2項は、X
(i)の示すしきい値が等間隔となっているときに最大
となる。したがって、F(X(i))は、X(i)の示
すしきい値が積分分割に近づくと、第1項の効果により
増大する。しかし、積分分割の結果、図18のようにし
きい値が特定区間に集中してしまう場合は、第2項の効
果により逆に減少してしまう。そして、F(X(i))
は、第1項/第2項の効果が拮抗する点で最大値を持
つ。関数F(X(i))は非線形な関数であるが、本実
施例では遺伝的アルゴリズムに基づいて処理が行われる
ので、F()を最大化する遺伝子データを求めることが
できる。ステップ507においてF(X(w))が計算
されると、ステップ508に処理が移行される。(4)
式の意義をさらに詳述すると次のようになる。(4)式
右辺のマイナス符号を含めた第1項は、f(S’(i,
j+1))とf(S’(i,j))が一致するとき、す
なわち、X(i)が示すしきい値が積分分割に一致する
ときに最大値となり、しきい値が積分分割から離れるほ
どその値が減少する。一方、(4)式右辺のマイナス符
号を含めた第2項は、S’(i,j+1)とS’(i,
j)が一致するとき、すなわち、X(i)が示すしきい
値が等間隔のときに最大値となり、しきい値が等間隔か
ら離れるほどその値が減少する。この第1項および第2
項をともに最大化するしきい値が存在することは極めて
まれであるので、第1項及び第2項を加算したF’(X
(i))は、通常、第1項を最大化するしきい値でもな
く、第2項を最大化するしきい値でもない、中庸なしき
い値で最大値をとる。この中庸なしきい値を、積分分割
と等分割のどちらに近づけるかは、係数C1及びC2の
値により調節できる。そして、C1及びC2の調節によ
り、F()を最大化するしきい値が次のような性質を持
つように設定できる。すなわち、このように設定された
しきい値は、通常は(4)式第1項の効果により積分分
割に近づくが、積分分割の結果しきい値間隔が特定区間
に集中する場合には、(4)式第2項の効果により積分
分割を離れ等分割に近づく。このようにして、しきい値
が特定区間に集中することを防止できる。
In equation (4), S ′ (i, j) is S
When (i, 0) to S (i, SN-1) are arranged in ascending order, this is a value indicating the (j + 1) th one. That is, among the SN thresholds represented by S (i, j), the threshold value is the (j + 1) th threshold when counted from the left. FIG. 7 shows the relationship between S (i, j), S ′ (i, j) and each threshold. Also, C1 and C2
Is an appropriate constant. The first term on the right side of the above equation (4) becomes maximum when the threshold value indicated by X (i) follows the integral division. On the other hand, the second term on the right side of the equation (4) is X
It becomes maximum when the threshold values shown in (i) are at equal intervals. Therefore, F (X (i)) increases due to the effect of the first term when the threshold value indicated by X (i) approaches the integral division. However, when the threshold value is concentrated in a specific section as shown in FIG. 18 as a result of the integral division, the threshold value is reduced by the effect of the second term. And F (X (i))
Has a maximum value in that the effects of the first and second terms are antagonized. Although the function F (X (i)) is a non-linear function, processing is performed based on a genetic algorithm in the present embodiment, so that gene data that maximizes F () can be obtained. When F (X (w)) is calculated in step 507, the process proceeds to step 508. (4)
The significance of the expression is described in more detail below. The first term including the minus sign on the right side of equation (4) is f (S ′ (i,
j + 1)) and f (S ′ (i, j)) match, that is, when the threshold value indicated by X (i) matches the integral division, the threshold value departs from the integral division. The more the value decreases. On the other hand, the second term including the minus sign on the right side of equation (4) is S ′ (i, j + 1) and S ′ (i,
When j) coincides, that is, when the threshold value indicated by X (i) is at equal intervals, the maximum value is obtained, and the value decreases as the threshold value moves away from the equal intervals. The first and second terms
Since it is extremely rare that there is a threshold value that maximizes both terms, F ′ (X
(I)) usually takes the maximum value at a moderate threshold, which is neither the threshold maximizing the first term nor the threshold maximizing the second term. Whether this moderate threshold value is closer to integral division or equal division can be adjusted by the values of the coefficients C1 and C2. By adjusting C1 and C2, the threshold value for maximizing F () can be set to have the following properties. That is, the threshold value thus set usually approaches the integral division due to the effect of the first term of the equation (4), but if the threshold interval is concentrated in a specific section as a result of the integral division, ( 4) Due to the effect of the second term of the equation, integral division is separated and approaches equal division. In this way, it is possible to prevent the threshold value from being concentrated on a specific section.

【0042】ステップ508では乱数発生手段130に
おいて0〜(2×F(X(w)))の乱数rが生成され
る。ステップ508が終了すると、ステップ509に処
理が移行される。
In step 508, the random number generator 130 generates a random number r of 0 to (2 × F (X (w))). When step 508 ends, the process moves to step 509.

【0043】ステップ509では、作業領域122にX
(w)がr個複製される。ステップ509を終了する
と、ステップ510に処理が移行される。
In step 509, X
R copies of (w). When step 509 ends, the process moves to step 510.

【0044】ステップ510では、wが1つ加算され
る。ステップ510が終了すると、ステップ511に処
理が移行される。
In step 510, w is incremented by one. When step 510 ends, the process moves to step 511.

【0045】ステップ511では、wの値が判定され
る。wがXN未満のとき、処理はステップ507に分岐
される。一方、w=XNのとき、すなわち、遺伝子デー
タ記憶領域121内の全ての遺伝子データX(i)に対
してステップ507〜ステップ509の処理が終了した
ときは、更新制御手段201は動作を停止する。淘汰手
段202により作業領域122内に生成された遺伝子デ
ータをX’(i)で表すことにする。X’(i)はF
(X’(i))が大きいものが多数を占有し、F(X’
(i))が小さいものは小数である。また、遺伝子デー
タX’(i)の総数はランダムであり一定していない。
このため、正規化手段203により総数をXNに正規化
する必要がある。
In step 511, the value of w is determined. If w is less than XN, the process branches to step 507. On the other hand, when w = XN, that is, when the processing of steps 507 to 509 is completed for all the gene data X (i) in the gene data storage area 121, the update control means 201 stops operating. . Gene data generated in the work area 122 by the selection means 202 is represented by X ′ (i). X '(i) is F
Those with large (X '(i)) occupy a large number, and F (X'
Those in which (i) is small are decimal numbers. In addition, the total number of the genetic data X '(i) is random and not constant.
Therefore, it is necessary to normalize the total number to XN by the normalizing means 203.

【0046】淘汰手段202の処理が終了すると、正規
化手段203が起動される。以下、図8のフローチャー
トを参照して、正規化手段203の動作について説明す
る。
When the processing of the selection means 202 is completed, the normalization means 203 is activated. Hereinafter, the operation of the normalizing means 203 will be described with reference to the flowchart of FIG.

【0047】ステップ601において、作業領域122
内に複製された遺伝子データX(i)の数XN’からX
Nを減じた数が変数wに設定される。ステップ601を
終了すると、ステップ602に処理が移行される。
In step 601, the work area 122
From the number XN 'of the gene data X (i) replicated in X
The number obtained by subtracting N is set as a variable w. When step 601 ends, the process moves to step 602.

【0048】ステップ602において、wの値が判定さ
れる。wが0のときはステップ611に処理が分岐され
る。wが0よりも小さいときにはステップ607に処理
が分岐される。wが0よりも大きいときにはステップ6
03に処理が移行される。
In step 602, the value of w is determined. If w is 0, the process branches to step 611. If w is smaller than 0, the process branches to step 607. Step 6 when w is greater than 0
The process is shifted to 03.

【0049】ステップ603〜606では、X’(i)
からランダムにw個の遺伝子データが抽出され、2個づ
つにそれぞれ複製される。これにより、作業領域122
内の遺伝子データの個数はXN個に正規化される。ステ
ップ606が終了すると、ステップ611に処理が移行
される。
In steps 603 to 606, X '(i)
, W genetic data is extracted at random and duplicated every two. Thereby, the work area 122
Is normalized to XN. When step 606 ends, the process moves to step 611.

【0050】また、ステップ607〜610では、X’
(i)からランダムにw個の遺伝子データが選択され削
除される。ただし、同じ遺伝子データを2度削除するこ
とがないように、乱数発生手段130が制御される。ス
テップ607〜610において、作業領域122内の遺
伝子データの個数はXN個に正規化される。ステップ6
10を終了すると、ステップ611に処理が移行され
る。
In steps 607 to 610, X '
From (i), w genetic data are randomly selected and deleted. However, the random number generating means 130 is controlled so that the same gene data is not deleted twice. In steps 607 to 610, the number of gene data in the work area 122 is normalized to XN. Step 6
When 10 is completed, the process moves to step 611.

【0051】ステップ611において、作業領域122
内のXN個の遺伝子データX’(0)〜X’(XN−
1)が遺伝子データ記憶領域121内に設定される。ス
テップ611が終了すると、正規化手段203は動作を
停止し、交叉手段204が起動される。
At step 611, the work area 122
XN gene data X ′ (0) to X ′ (XN−
1) is set in the gene data storage area 121. When step 611 ends, the normalizing means 203 stops operating and the crossover means 204 is activated.

【0052】以下、図9のフローチャートを参照して交
叉手段204の動作について説明する。
Hereinafter, the operation of the crossover means 204 will be described with reference to the flowchart of FIG.

【0053】ステップ701においてwにINT(XN
×CR)なる数が設定される。ここで、CRは交叉率と
呼ばれる定数である。また、INT()は小数を丸め処
理して整数化する関数である。ステップ701が終了す
ると、ステップ702に処理が移行される。
In step 701, INT (XN
× CR) is set. Here, CR is a constant called a crossover rate. INT () is a function for rounding a decimal number and converting it to an integer. When step 701 ends, the process moves to step 702.

【0054】ステップ702〜704では、乱数発生手
段130において、0〜(XN−1)の乱数r1、r
2、および0〜(SN−1)の乱数r3が発生される。
ステップ704が終了すると、ステップ705に処理が
移行される。
In steps 702 to 704, the random number generation means 130 generates random numbers r1 and r1 of 0 to (XN-1).
2, and a random number r3 of 0 to (SN-1) are generated.
When step 704 ends, the process moves to step 705.

【0055】ステップ705では、S(r1,r3)〜
S(r1,SN−1)とS(r2,r3)〜S(r2,
SN−1)が交換される。この操作の概略が図10に示
されている。ステップ705が終了すると、ステップ7
06に処理が移行される。
In step 705, S (r1, r3) 〜
S (r1, SN-1) and S (r2, r3) to S (r2,
SN-1) are exchanged. An outline of this operation is shown in FIG. When step 705 is completed, step 7
The process is shifted to 06.

【0056】ステップ706では、wが1だけ減じられ
る。ステップ706が終了すると、ステップ707に処
理が移行される。
In step 706, w is reduced by one. When step 706 ends, the process moves to step 707.

【0057】ステップ707では、wの値が判定され
る。wが1以上の場合は、ステップ702に処理が分岐
される。一方、wが0のとき、すなわち、ステップ70
2〜705の処理がINT(XN×CR)回終了したと
きには、交叉手段204は動作を停止し、変異手段20
5が起動される。
In step 707, the value of w is determined. If w is 1 or more, the process branches to step 702. On the other hand, when w is 0, that is, at step 70
When the processing of steps 2 to 705 has been completed INT (XN × CR) times, the crossover means 204 stops operating and the mutation means 20
5 is activated.

【0058】以下、図11のフローチャートを参照し
て、変異手段205の動作について説明する。 ステッ
プ901においてwにINT(XN×MR)なる数が設
定される。ここで、MRは突然変異率と呼ばれる定数で
ある。ステップ901が終了すると、ステップ702に
処理が移行される。
Hereinafter, the operation of the mutation means 205 will be described with reference to the flowchart of FIG. In step 901, the number INT (XN × MR) is set to w. Here, MR is a constant called a mutation rate. When step 901 ends, the process moves to step 702.

【0059】ステップ902では、乱数発生手段130
において、0〜(XN×SN−1)の乱数rが発生され
る。ステップ902が終了すると、ステップ903に処
理が移行される。
In step 902, the random number generation means 130
, A random number r of 0 to (XN × SN−1) is generated. When step 902 ends, the process moves to step 903.

【0060】ステップ903では、(i×XN×SN)
+(j×SN)+k=wとなるB(i,j,k)の値が
反転される。ステップ903が終了すると、ステップ9
04に処理が移行される。
In step 903, (i × XN × SN)
The value of B (i, j, k) that satisfies + (j × SN) + k = w is inverted. When step 903 ends, step 9
The process is shifted to 04.

【0061】ステップ904では、wが1だけ減じられ
る。ステップ904が終了すると、ステップ905に処
理が移行される。
In step 904, w is reduced by one. When step 904 ends, the process moves to step 905.

【0062】ステップ905では、wの値が判定され
る。wが1以上の場合は、ステップ902に処理が分岐
される。一方、wが0のとき、すなわち、ステップ90
2〜903の処理がINT(XN×MR)回終了したと
きには、変異手段205は処理を停止し、更新制御手段
201により遺伝子データ記憶領域121内の遺伝子デ
ータX(i)の構成が判定される。 以下、図12のフ
ローチャートを参照して、更新制御手段201の動作に
ついて説明する。
In step 905, the value of w is determined. If w is 1 or more, the process branches to step 902. On the other hand, when w is 0, that is, at step 90
When the processing of steps 2 to 903 has been completed INT (XN × MR) times, the mutation unit 205 stops the processing, and the update control unit 201 determines the configuration of the gene data X (i) in the gene data storage area 121. . Hereinafter, the operation of the update control unit 201 will be described with reference to the flowchart of FIG.

【0063】ステップ1001〜1004により淘汰手
段202〜変異手段205を順次起動した更新制御手段
201は、遺伝子データ記憶領域121内の遺伝子デー
タX(i)の構成を判定する。遺伝子データ記憶領域1
21内の遺伝子データX(i)が特定の遺伝子データX
maxにより所定割合以上占有されていれば、更新制御
手段201はXmaxをグループ濃度決定手段115に
出力する。このとき、X(i)の異同は、S’(i,
j)により判定する。すなわち、S(i,j)が異なっ
ている場合でも、S’(i,j)が同一の遺伝子データ
は同一と判定する。
The update control means 201 which has sequentially activated the selection means 202 to the mutation means 205 in steps 1001 to 1004 determines the configuration of the gene data X (i) in the gene data storage area 121. Gene data storage area 1
21 is the specific genetic data X (i).
If it is occupied by a predetermined ratio or more by the maximum, the update control unit 201 outputs Xmax to the group density determination unit 115. At this time, the difference of X (i) is S ′ (i,
j) is determined. That is, even when S (i, j) is different, it is determined that the genetic data having the same S ′ (i, j) is the same.

【0064】一方、遺伝子データ記憶領域121が特定
の遺伝子データにより所定割合以上占有されていないと
きには、ステップ1001に処理を分岐する。ステップ
1001〜ステップ1004を繰り返し実行することに
より、遺伝子データ記憶領域121内の遺伝子データは
順次変化していく。そして、最終的には、F()を最大
にする遺伝子データX(i)により遺伝子データ記憶領
域121の大半が占有され、更新制御手段201の処理
は終了する。更新制御手段201の処理が終了すると、
グループ濃度決定手段115が起動される。 グループ
濃度決定手段115は、遺伝子データ更新手段113か
ら出力された最適遺伝子データXmaxの示すしきい値
に基づいて、M’個の階調濃度のグループG(0)〜G
(M’−1)と、このグループのグループ濃度T(0)
〜T(M’−1)とを決定する。
On the other hand, when the gene data storage area 121 is not occupied by the specific gene data at a predetermined ratio or more, the process branches to step 1001. By repeatedly executing steps 1001 to 1004, the gene data in the gene data storage area 121 changes sequentially. Finally, most of the gene data storage area 121 is occupied by the gene data X (i) that maximizes F (), and the processing of the update control means 201 ends. When the processing of the update control means 201 ends,
The group density determining means 115 is activated. The group density determination means 115 determines the groups G (0) to G ′ of M ′ gradation densities based on the threshold indicated by the optimal gene data Xmax output from the gene data update means 113.
(M'-1) and the group density T (0) of this group
~ T (M'-1).

【0065】具体的には、0<i<(SN−1)のと
き、G(i)は、(S’max(i)+1)〜S’ma
x(i+1)の濃度により構成される。ここで、S’m
ax(i)は、遺伝子データXmaxのS’である。
S’の定義は上述している。
Specifically, when 0 <i <(SN−1), G (i) is (S′max (i) +1) to S′ma
x (i + 1). Where S'm
ax (i) is S ′ of the genetic data Xmax.
The definition of S 'has been described above.

【0066】また、i=0のとき、G(i)は、0〜
S’max(0)の濃度により構成される。そして、i
=SN−1のときはG(i)は、S’max(SN−
1)+1〜(M−1)の濃度により構成される。
When i = 0, G (i) is 0 to
It is constituted by the density of S'max (0). And i
= SN-1, G (i) is S'max (SN-
1) It is composed of +1 to (M-1) concentrations.

【0067】一方、グループ濃度の決定方法には、いく
つかの方法がある。ここでは、2つの方法を説明する。
On the other hand, there are several methods for determining the group density. Here, two methods will be described.

【0068】第1の方法は、各グループG(i)内の中
間の濃度をグループ濃度T(i)とする場合である。図
13の1102には、この方法によって決定されたグル
ープ濃度T(i)が示されている。
The first method is a case where an intermediate density in each group G (i) is set as a group density T (i). A group density T (i) determined by this method is shown at 1102 in FIG.

【0069】第2の方法は、各グループG(i)の中
で、最も高頻度の濃度をグループ濃度T(i)とする方
法である。図13の1101には、この方法によって決
定されたグループ濃度T(i)が示されている。
The second method is a method in which the most frequent density in each group G (i) is set as the group density T (i). The reference numeral 1101 in FIG. 13 shows the group density T (i) determined by this method.

【0070】決定された、グループG(i)およびグル
ープ濃度T(i)は出力手段116に出力される。グル
ープG(i)およびグループ濃度T(i)が出力される
とグループ濃度決定手段115は動作を停止し、出力手
段116が起動される。
The determined group G (i) and group density T (i) are output to the output means 116. When the group G (i) and the group density T (i) are output, the operation of the group density determining means 115 stops, and the output means 116 is activated.

【0071】出力手段116は、グループ濃度決定手段
115で決定されたグループG(i)およびグループ濃
度T(i)に従って、画像記憶手段140内の原画像を
階調圧縮し、外部へ出力する。グループG(i)および
グループ濃度T(i)が既に決定している場合の画像の
階調圧縮は、通常に実施されている技術であるので、詳
細な説明は省略する。出力手段116により階調圧縮さ
れた画像117が出力されると階調圧縮装置110は動
作を停止する。
The output means 116 compresses the gradation of the original image in the image storage means 140 according to the group G (i) and the group density T (i) determined by the group density determining means 115, and outputs it to the outside. Since the gradation compression of an image when the group G (i) and the group density T (i) have already been determined is a commonly practiced technique, a detailed description thereof will be omitted. When the tone-compressed image 117 is output by the output unit 116, the tone compression device 110 stops operating.

【0072】次に、本実施例の効果について説明する。Next, the effect of this embodiment will be described.

【0073】本実施例では、しきい値が積分分割に近づ
くと増大すると同時に、各しきい値が過度に密集すると
減少する関数F()を設定し、この関数F()を最大化
するしきい値により画像の階調圧縮を行っている。この
ため、しきい値が特定区間に密集してしまうという積分
分割法の問題点を解決し、より自然な階調圧縮画像を得
ることができる。このとき、関数F()が非線形になる
ため、遺伝的アルゴリズムによりしきい値を求めてい
る。
In this embodiment, a function F () is set which increases as the threshold approaches the integral division and decreases when the thresholds are excessively dense, and maximizes the function F (). The gradation compression of the image is performed by the threshold value. Therefore, it is possible to solve the problem of the integral division method in which threshold values are concentrated in a specific section, and to obtain a more natural gradation compressed image. At this time, since the function F () becomes non-linear, the threshold value is obtained by a genetic algorithm.

【0074】また、本実施例ではF()を(3)式によ
り定義したが、本発明の適用範囲はこれに制限されるも
のではない。F()は、遺伝子データの示すしきい値が
好ましいものであるときには増大し、好ましくないもの
であるときには減少する関数であればよく、F()の設
定の仕方により様々な階調圧縮を実現することができ
る。
In the present embodiment, F () is defined by equation (3), but the scope of the present invention is not limited to this. F () may be a function that increases when the threshold value indicated by the gene data is favorable and decreases when the threshold value is undesirable, and realizes various gradation compression depending on the setting method of F (). can do.

【0075】次に本発明の第2の実施例について説明す
る。
Next, a second embodiment of the present invention will be described.

【0076】図14を参照すると、本発明の第2の実施
例では、第1の実施例の構成に加えて、出力手段116
から出力された2つの画像をそれぞれ表示する第1の表
示手段1202および第2の表示手段1203と、2つ
の画像を選択するための情報を入力する入力手段120
4と、入力手段1204から入力された情報に従って2
つの画像のうち何れか一方を選択出力する選択手段12
01とを有している。
Referring to FIG. 14, in the second embodiment of the present invention, in addition to the configuration of the first embodiment, output means 116 is provided.
Display means 1202 and second display means 1203 for respectively displaying the two images output from the printer, and input means 120 for inputting information for selecting the two images
4 and 2 according to the information input from the input means 1204.
Selecting means 12 for selectively outputting one of the two images
01.

【0077】次に本実施例の動作について説明する。本
実施においても、濃度ヒストグラム作成手段111、遺
伝子データ発生手段112、淘汰手段202、正規化手
段203、交叉手段204、変異手段205の動作につ
いては第1の実施例の場合と何等変わるところはない。
本実施例の特徴は、更新制御手段201の動作およびグ
ループ濃度決定手段115以降の処理にある。
Next, the operation of this embodiment will be described. Also in the present embodiment, the operations of the density histogram creation unit 111, the gene data generation unit 112, the selection unit 202, the normalization unit 203, the crossover unit 204, and the mutation unit 205 are not different from those in the first embodiment. .
The feature of this embodiment lies in the operation of the update control means 201 and the processing after the group density determination means 115.

【0078】図15には、本実施例における更新制御手
段201の動作のフローチャートが示されている。図1
5において、ステップ1301〜1304については第
1の実施例の場合と何等変わるところはない。一方、ス
テップ1305は、第1の実施例の場合とは異なった動
作を実行する。
FIG. 15 shows a flowchart of the operation of the update control means 201 in the present embodiment. FIG.
In step 5, steps 1301 to 1304 are not different from those of the first embodiment. On the other hand, step 1305 executes an operation different from that of the first embodiment.

【0079】ステップ1305において、更新制御手段
201は遺伝子データ記憶領域121内の遺伝子データ
が特定の2つの遺伝子データXmax1、およびXma
x2により所定割合以上占有されているか否かを判定す
る。占有されていない場合には、ステップ1301に処
理を分岐する。一方、Xmax1およびXmax2によ
り遺伝子データ記憶領域121が所定以上の割合で占有
されている場合には、ステップ1306に処理が移行さ
れる。ここでは、適当な時点で処理を停止すれば、目的
関数を最大化する変数の候補を複数得ることができると
いう、遺伝的アルゴリズムの性質が利用されている。
In step 1305, the update control means 201 determines that the genetic data in the genetic data storage area 121 is the two specific genetic data Xmax1 and Xmax.
It is determined based on x2 whether or not a predetermined ratio or more is occupied. If not occupied, the process branches to step 1301. On the other hand, if the gene data storage area 121 is occupied by Xmax1 and Xmax2 at a predetermined ratio or more, the process proceeds to step 1306. Here, the property of the genetic algorithm is used, in which if the processing is stopped at an appropriate time, a plurality of variable candidates that maximize the objective function can be obtained.

【0080】ステップ1306においてXmax1およ
びXmax2がグループ濃度決定手段115に出力され
る。ステップ1306の終了により、遺伝子データ更新
手段113は動作を停止し、グループ濃度決定手段11
5が起動される。
At step 1306, Xmax1 and Xmax2 are output to group density determining means 115. Upon completion of step 1306, the gene data updating means 113 stops operating and the group concentration determining means 11
5 is activated.

【0081】グループ濃度決定手段115は、遺伝子デ
ータ更新手段113から出力されたXmax1およびX
max2に基づいて、第1のグループ、第1のグループ
濃度、第2のグループおよび第2のグループ濃度を決定
し、出力手段116に出力する。グループおよびグルー
プ濃度の決定方法は、第1の実施例の場合と何等変わる
ところはない。
The group density determining means 115 outputs Xmax1 and Xmax output from the genetic data updating means 113.
The first group, the first group density, the second group, and the second group density are determined based on max2, and output to the output unit 116. The method of determining the group and the group density is not different from that of the first embodiment.

【0082】出力手段116は、グループ濃度決定手段
115から入力した第1のグループ、第1のグループ濃
度、第2のグループおよび第2のグループ濃度に基づい
て、画像記憶手段140に保持された原画像の階調圧縮
を実行し、第1の画像および第2の画像を、選択手段1
201、第1の表示手段1202および第2の表示手段
1203に出力する。
The output means 116 outputs the original data stored in the image storage means 140 based on the first group, the first group density, the second group, and the second group density input from the group density determining means 115. Executing gradation compression of the image, and selecting the first image and the second image by the selecting means 1
201, a first display means 1202 and a second display means 1203.

【0083】第1の表示手段1202は、出力手段11
6の出力した第1の画像を表示する。
The first display means 1202 is connected to the output means 11
6 is displayed.

【0084】第2の表示手段1203は、出力手段11
6の出力した第2の画像を表示する。
The second display means 1203 is connected to the output means 11
6 is displayed.

【0085】入力手段1204は、例えばキーボード等
であり、第1の画像と、第2の画像の何れを選択するか
を入力し、選択手段1201に出力する。
The input unit 1204 is, for example, a keyboard or the like. The input unit 1204 inputs which of the first image and the second image is to be selected, and outputs the selected image to the selection unit 1201.

【0086】選択手段1201は、入力手段1204か
ら入力した情報に基づいて、第1の画像と第2の画像の
何れかを選択し、階調圧縮された画像117として出力
する。階調圧縮された画像117が出力されたことによ
り階調圧縮装置110は動作を停止する。
The selecting means 1201 selects one of the first image and the second image based on the information input from the input means 1204, and outputs it as a gradation-compressed image 117. When the gradation-compressed image 117 is output, the gradation compression device 110 stops operating.

【0087】次に本実施例の効果について説明する。Next, the effect of this embodiment will be described.

【0088】本実施例では、2つの最適遺伝子データの
候補から2通りの階調圧縮を実行して画像を表示し、選
択手段によりこれらの一方を選択するようにした。この
ため、表示画像や表示装置に適応した階調圧縮を実行す
ることができる。そして、本実施例では、適当な時点で
処理を停止すれば、目的関数を最大化する変数の候補が
複数得られるという遺伝的アルゴリズムの性質が利用さ
れている。
In the present embodiment, an image is displayed by executing two types of gradation compression from two candidates of the optimal gene data, and one of them is selected by the selection means. For this reason, gradation compression suitable for a display image or a display device can be executed. In the present embodiment, the property of the genetic algorithm is utilized in which a plurality of variable candidates for maximizing the objective function can be obtained by stopping the processing at an appropriate time.

【0089】[0089]

【発明の効果】本発明の第1の実施例では、しきい値が
好適なものであるときには増大し、不適なものであると
きには減少する関数F()を設定し、この関数を最大化
するしきい値により画像の階調圧縮を実行するようにし
た。このため、所望の階調圧縮が柔軟に行える。また、
関数F()として、(3)式を採用したことにより、原
画像の状態によっては、しきい値が特定の区間に集中し
てしまうといった積分分割法の問題点を解決することが
できる。
In the first embodiment of the present invention, a function F () is set which increases when the threshold value is favorable and decreases when the threshold value is inappropriate, and maximizes this function. The gradation compression of the image is executed by the threshold value. Therefore, desired gradation compression can be performed flexibly. Also,
By employing the equation (3) as the function F (), it is possible to solve the problem of the integral division method in which the threshold value concentrates in a specific section depending on the state of the original image.

【0090】また、本発明の第1の実施例では、濃度ヒ
ストグラムの作成において、画素の抽出を分割して実施
し、濃度ヒストグラムの変化が一定水準以下となったと
ころで、処理を打ち切っている。このため、濃度ヒスト
グラムの作成が高速に実行できる。
In the first embodiment of the present invention, when creating a density histogram, pixels are extracted in a divided manner, and the process is terminated when the change in the density histogram falls below a certain level. Therefore, the creation of the density histogram can be executed at high speed.

【0091】さらに、本発明の第2の実施例では、複数
の階調圧縮の候補を作成し、選択手段により好適なもの
を選択するようにしたので、原画像や画像表示装置に適
応したより自然な階調圧縮を行うことができる。
Further, in the second embodiment of the present invention, a plurality of gradation compression candidates are created and a suitable one is selected by the selection means. Natural gradation compression can be performed.

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

【図1】本発明の第1の実施例を示すブロック図。FIG. 1 is a block diagram showing a first embodiment of the present invention.

【図2】遺伝子データ更新手段113の詳細な構造を示
すブロック図。
FIG. 2 is a block diagram showing a detailed structure of a gene data updating means 113.

【図3】遺伝子データX、セグメントSおよびビットB
の構造を示す図。
FIG. 3 Gene data X, segment S and bit B
FIG.

【図4】濃度ヒストグラム作成手段111の動作を示す
フローチャート。
FIG. 4 is a flowchart showing the operation of a density histogram creation unit 111;

【図5】遺伝子データ発生手段112の動作を示すフロ
ーチャート。
FIG. 5 is a flowchart showing the operation of the gene data generating means 112.

【図6】遺伝子データ更新手段113の動作を示すフロ
ーチャート。
FIG. 6 is a flowchart showing the operation of the gene data updating means 113.

【図7】SとS’の関係を示す図。FIG. 7 is a diagram showing a relationship between S and S ′.

【図8】正規化手段203の動作を示すフローチャー
ト。
FIG. 8 is a flowchart showing the operation of the normalizing means 203.

【図9】交叉手段204の動作を示すフローチャート。FIG. 9 is a flowchart showing the operation of the crossover means 204.

【図10】交叉手段204の動作を示す図。FIG. 10 is a diagram showing the operation of the crossover means 204.

【図11】変異手段205の動作を示すフローチャー
ト。
FIG. 11 is a flowchart showing the operation of the mutation means 205.

【図12】更新制御手段201の動作を示すフローチャ
ート。
FIG. 12 is a flowchart showing the operation of the update control means 201.

【図13】グループ階調決定手段115の動作を示す
図。
FIG. 13 is a diagram showing the operation of the group gradation determining means 115.

【図14】本発明の第2の実施例を示すブロック図。FIG. 14 is a block diagram showing a second embodiment of the present invention.

【図15】本発明の第2の実施例の更新制御手段201
の動作を示すフローチャート。
FIG. 15 shows an update control unit 201 according to the second embodiment of the present invention.
5 is a flowchart showing the operation of the embodiment.

【図16】画像の階調圧縮を示す図。FIG. 16 is a diagram showing gradation compression of an image.

【図17】原画像の一例を示す図。FIG. 17 is a diagram showing an example of an original image.

【図18】積分分割の一例を示す図。FIG. 18 is a diagram showing an example of integral division.

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

110 階調圧縮装置 111 濃度ヒストグラム作成手段 112 遺伝子データ発生手段 113 遺伝子データ更新手段 114 最適遺伝子データ選択手段 115 グループ濃度決定手段 116 出力手段 121 遺伝子データ記憶領域 122 作業領域 130 乱数発生手段 140 画像記憶手段 201 更新制御手段 202 淘汰手段 203 正規化手段 204 交叉手段 205 変異手段 1201 選択手段 1202 第1の表示手段 1203 第2の表示手段 1204 入力手段 1501 対象物 Reference Signs List 110 tone compression device 111 density histogram creating means 112 gene data generating means 113 gene data updating means 114 optimal gene data selecting means 115 group density determining means 116 output means 121 gene data storage area 122 work area 130 random number generation means 140 image storage means 201 update control means 202 selection means 203 normalization means 204 crossover means 205 mutation means 1201 selection means 1202 first display means 1203 second display means 1204 input means 1501 object

Claims (8)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数のしきい値を保持する遺伝子データ
と、 この遺伝子データの保持するしきい値が望ましいもので
あるときには大きな値を発生し、前記遺伝子データの保
持するしきい値が望ましくないものであるときには小さ
な値を発生する適応度発生手段と、 この適応度発生手段の発生する値を最大にする遺伝子デ
ータを求めて出力する最適遺伝子データ計算手段と、 この最適遺伝子データ計算手段の出力する遺伝子データ
の保持するしきい値から濃度グループと該濃度グループ
のグループ濃度とを作成して出力するグループ濃度決定
手段と、 前記グループ濃度決定手段の出力する濃度グループおよ
ぶグループ濃度に基づいて前記原画像を階調圧縮して出
力する出力手段とを有することを特徴とする画像処理装
置。
1. Gene data holding a plurality of threshold values, and when the threshold value held by the gene data is desirable, a large value is generated, and the threshold value held by the gene data is undesirable. A fitness value generating means for generating a small value when the value is obtained, an optimal gene data calculating means for obtaining and outputting gene data which maximizes a value generated by the fitness value generating means, and an output of the optimal gene data calculating means. Group density determining means for creating and outputting a density group and a group density of the density group from the threshold value held by the gene data to be processed, and the density group and the density based on the group density output by the group density determining means. An output unit for outputting an image after gradation-compressing the image.
【請求項2】 前記適応度発生手段の発生する値は、前
記遺伝子データの保持するしきい値が積分分割に近づく
ときに増大する第1の項と、前記遺伝子データの保持す
るしきい値が過度に密集したときに減少する第2の項と
を有することを特徴とする請求項1記載の画像処理装
置。
2. The method according to claim 1, wherein the value generated by said fitness generating means is a first term that increases when a threshold value held by said gene data approaches an integral division, 2. The image processing apparatus according to claim 1, further comprising a second term that decreases when the density is excessively high.
【請求項3】 複数のしきい値を保持する遺伝子データ
を記憶する遺伝子データ記憶手段と、 この遺伝子データの保持するしきい値が望ましいもので
あるときには大きな値を発生し、前記遺伝子データの保
持するしきい値が望ましくないものであるときには小さ
な値を発生する適応度発生手段と、 この適応度発生手段の発生する値に応じて前記遺伝子デ
ータ記憶手段内の遺伝子データを複製もしくは消滅する
遺伝子データ淘汰手段と、 前記遺伝子データ記憶手段内の遺伝子データから2個の
遺伝子データを選択し、該2個の遺伝子データの情報を
交換して再び遺伝子データ記憶手段に記憶する遺伝子デ
ータ交叉手段と、 前記遺伝子データ記憶手段内の遺伝子データの情報を変
化させる遺伝子データ変異手段と、 前記遺伝子データ記憶手段内の遺伝子データが第1の遺
伝子データで所定割合以上占有されるまで前記遺伝子デ
ータ淘汰手段と前記交叉手段と前記遺伝子データ変異手
段とを起動し、前記遺伝子データ記憶手段内の遺伝子デ
ータが第1の遺伝子データで所定割合以上占有されたと
きにはこの第1の遺伝子データを出力する制御手段と、 前記制御手段の出力する第1の遺伝子データの保持する
しきい値から濃度グループと該濃度グループのグループ
濃度とを作成して出力するグループ濃度決定手段と、 前記グループ濃度決定手段の出力する濃度グループおよ
ぶグループ濃度を基に前記原画像を階調圧縮して主力す
る出力手段とを有することを特徴とする画像処理装置。
3. Gene data storage means for storing gene data holding a plurality of threshold values, and when the threshold value held by the gene data is desirable, a large value is generated to hold the gene data. A fitness generating means for generating a small value when the threshold value to be performed is not desirable; and gene data for duplicating or extinguishing the genetic data in the genetic data storage means according to the value generated by the fitness generating means. A selection means; a gene data crossing means for selecting two gene data from the gene data in the gene data storage means, exchanging information of the two gene data, and storing the information again in the gene data storage means; Gene data mutation means for changing the information of the gene data in the gene data storage means; Activating the genetic data selection means, the crossover means, and the genetic data mutation means until the genetic data is occupied by the first genetic data in a predetermined ratio or more, and the genetic data in the genetic data storage means is changed to the first gene data. A control means for outputting the first gene data when the data is occupied by a predetermined ratio or more; a density group and a group density of the density group based on a threshold value held by the first gene data output from the control means; And a group density determining unit for generating and outputting the image, and an output unit for performing a gradation compression of the original image based on the density group and the group density output from the group density determining unit. Processing equipment.
【請求項4】 前記適応度発生手段の発生する値は、前
記遺伝子データの保持するしきい値が積分分割に近づく
ときに増大する第1の項と、前記遺伝子データの保持す
るしきい値が過度に密集したときに減少する第2の項と
を有することを特徴とする請求項3記載の画像処理装
置。
4. The method according to claim 1, wherein the value generated by the fitness generating means is a first term that increases when a threshold value held by the gene data approaches an integral division, The image processing apparatus according to claim 3, further comprising a second term that decreases when the density is excessively high.
【請求項5】 複数のしきい値を保持する遺伝子データ
と、 この遺伝子データの保持するしきい値が望ましいもので
あるときには大きな値を発生し、前記遺伝子データの保
持するしきい値が望ましくないものであるときには小さ
な値を発生する適応度発生手段と、 この適応度発生手段の発生する値を最大にする遺伝子デ
ータの候補を複数を求めて出力する最適遺伝子データ計
算手段と、 この最適遺伝子データ計算手段の出力する複数の遺伝子
データの保持するしきい値から濃度グループと該濃度グ
ループのグループ濃度とを複数作成して出力するグルー
プ濃度決定手段と、 前記グループ濃度決定手段の出力する複数のグループお
よぶグループ濃度を基に前記原画像を階調圧縮して複数
の階調圧縮画像を出力する出力手段と、 この出力手段の出力する前記複数の階調圧縮画像を選択
出力する選択手段とを有することを特徴とする画像処理
装置。
5. Genetic data holding a plurality of threshold values, and a large value is generated when the threshold value held by the genetic data is desirable, and the threshold value held by the genetic data is undesirable. A fitness generating means for generating a small value when the value is an optimal gene data calculating means for obtaining and outputting a plurality of gene data candidates which maximize the value generated by the fitness generating means; Group concentration determining means for creating and outputting a plurality of concentration groups and group concentrations of the concentration groups from threshold values held by the plurality of gene data output by the calculating means; and a plurality of groups output by the group concentration determining means Output means for outputting a plurality of gradation-compressed images by gradation-compressing the original image based on the extended group density; The image processing apparatus characterized by having a selection means for selectively outputting the plurality of gradation compression image force.
【請求項6】 前記適応度発生手段の発生する値は、前
記遺伝子データの保持するしきい値が積分分割のときに
増大する第1の項と、前記遺伝子データの保持するしき
い値が過度に密集したときに減少する第2の項とを有す
ることを特徴とする請求項5記載の画像処理装置。
6. A value generated by said fitness generating means is a first term which increases when a threshold value held by said genetic data is an integral division, and when a threshold value held by said gene data is excessive. 6. The image processing apparatus according to claim 5, further comprising: a second term that decreases when the density is high.
【請求項7】 複数のしきい値を保持する遺伝子データ
を記憶する遺伝子データ記憶手段と、 この遺伝子データの保持するしきい値が望ましいもので
あるときには大きな値を発生し、前記遺伝子データの保
持するしきい値が望ましくないものであるときには小さ
な値を発生する適応度発生手段と、 この適応度発生手段の発生する値に応じて前記遺伝子デ
ータ記憶手段内の遺伝子データを複製もしくは消滅する
遺伝子データ淘汰手段と、 前記遺伝子データ記憶手段内の遺伝子データから2個の
遺伝子データを選択し、該2個の遺伝子データの情報を
交換して再び遺伝子データ記憶手段に記憶する遺伝子デ
ータ交叉手段と、 前記遺伝子データ記憶手段内の遺伝子データの情報を変
化させる遺伝子データ変異手段と、 前記遺伝子データ記憶手段内の遺伝子データが第1の遺
伝子データの遺伝子データと第2の遺伝子データとで所
定割合以上占有されるまで前記遺伝子データ淘汰手段と
前記交叉手段と前記遺伝子データ変異手段とを起動し、
前記遺伝子データ記憶手段内の遺伝子データが第1の遺
伝子データと第2の遺伝子データとで所定割合以上占有
されたときにはこの第1の遺伝子データを出力する制御
手段と、 前記制御手段の出力する第1の遺伝子データの保持する
しきい値から第1のグループと第1のグループ濃度を作
成して出力するとともに、前記制御手段の出力する第2
の遺伝子データの保持するしきい値から第2のグループ
と第2のグループ濃度を作成して出力するグループ濃度
決定手段と、 前記グループ濃度決定手段の出力する前記第1のグルー
プおよび前記第1のグループ濃度を基に前記原画像を階
調圧縮して第1の階調圧縮画像を出力するとともに、前
記グループ濃度決定手段の出力する前記第2のグループ
および前記第2のグループ濃度を基に前記原画像を階調
圧縮して第2の階調圧縮画像を出力する出力手段と、 前記出力手段の出力する前記第1の階調圧縮画像と前記
第2の階調圧縮画像とのうち一方を選択して出力する選
択手段とを有することを特徴とする画像処理装置。
7. Gene data storage means for storing gene data holding a plurality of threshold values, and when the threshold value held by the gene data is desirable, a large value is generated to hold the gene data. A fitness generating means for generating a small value when the threshold value to be performed is not desirable; and gene data for duplicating or extinguishing the genetic data in the genetic data storage means according to the value generated by the fitness generating means. A selection means; a gene data crossing means for selecting two gene data from the gene data in the gene data storage means, exchanging information of the two gene data, and storing the information again in the gene data storage means; Gene data mutation means for changing the information of the gene data in the gene data storage means; Start with the genetic data mutation means, the cross unit and the genetic data selection means to the genetic data is occupied predetermined proportion or more in the first gene data gene data and the second gene data,
Control means for outputting the first gene data when the gene data in the gene data storage means is occupied by the first gene data and the second gene data in a predetermined ratio or more; A first group and a first group concentration are created and output from the threshold value held by the first genetic data, and the second group output by the control means is output.
Group density determining means for generating and outputting a second group and a second group density from threshold values held by the gene data of the first and second groups, and the first group and the first group output by the group density determining means. The original image is gradation-compressed based on the group density and a first gradation-compressed image is output, and the second group and the second group density output from the group-density determining means are used to generate the first gradation-compressed image. Output means for outputting a second gradation-compressed image by gradation-compressing the original image; and outputting one of the first gradation-compressed image and the second gradation-compressed image output from the output means. An image processing apparatus comprising: a selection unit for selecting and outputting.
【請求項8】 前記適応度発生手段の発生する値は、前
記遺伝子データの保持するしきい値が積分分割に近づく
ときに増大する第1の項と、前記遺伝子データの保持す
るしきい値が過度に密集したときに減少する第2の項と
を有することを特徴とする請求項7記載の画像処理装
置。
8. A value generated by the fitness generating means is a first term that increases when a threshold value held by the genetic data approaches an integral division, and a value generated by the fitness value generating means includes a threshold value held by the genetic data. The image processing apparatus according to claim 7, further comprising: a second term that decreases when the density is excessively high.
JP5224326A 1993-09-09 1993-09-09 Image processing device Expired - Fee Related JP2625356B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5224326A JP2625356B2 (en) 1993-09-09 1993-09-09 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5224326A JP2625356B2 (en) 1993-09-09 1993-09-09 Image processing device

Publications (2)

Publication Number Publication Date
JPH0785270A JPH0785270A (en) 1995-03-31
JP2625356B2 true JP2625356B2 (en) 1997-07-02

Family

ID=16812006

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5224326A Expired - Fee Related JP2625356B2 (en) 1993-09-09 1993-09-09 Image processing device

Country Status (1)

Country Link
JP (1) JP2625356B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5651099A (en) * 1995-01-26 1997-07-22 Hewlett-Packard Company Use of a genetic algorithm to optimize memory space
KR100292348B1 (en) * 1997-12-29 2001-06-01 윤종용 Initializing method according to the feature of a detected shape in block matching algorithm to apply genetic algorithm
KR20020040406A (en) * 2000-11-24 2002-05-30 김응수 A method of compressing and storing data based on genetic code

Also Published As

Publication number Publication date
JPH0785270A (en) 1995-03-31

Similar Documents

Publication Publication Date Title
US10089953B2 (en) Image processing circuit for image compression and decompression and display panel driver incorporating the same
US20030086609A1 (en) Parity-grid steganographic method and apparatus
US5933549A (en) Method and apparatus for image editing using key frame image control data
US7307642B2 (en) Graphics compression
JP2625356B2 (en) Image processing device
JP2615625B2 (en) Image processing device
CN115713579A (en) Wav2Lip model training method, image frame generation method, electronic device and storage medium
JP2000059774A (en) Video encoding controller
CN111563863A (en) Histogram-limited image enhancement method and device
JP3688937B2 (en) Integrated probability estimation value generation method, encoding method, integrated probability estimation value generation device, and recording medium
JP3314443B2 (en) Character output device
US5987177A (en) Method for compressing image signal and method for expanding the compressed image signal
JP3789394B2 (en) Character data generating apparatus, method and program
JP3922473B2 (en) Image conversion device, image conversion method, learning device, learning method, and recording medium
Mullery et al. Batch normalization in the final layer of generative networks
JPH1078971A (en) Document sort device and its method
JPH07271949A (en) Image editing device and electronic filing device
JP2861816B2 (en) Pattern recognition dictionary generation device and pattern recognition device
JP5141527B2 (en) Image processing method, image processing apparatus, and image processing program
US20230037904A1 (en) Model compression device, model compression method, and program recording medium
JP2994310B2 (en) Method and apparatus for generating pattern such as multi-tone characters, and recording medium
CN116072090A (en) Short video automatic music distribution method and system based on reinforcement learning
JP2002171412A (en) Simd type information processing apparatus provided with x-branch tree instruction
JPS60221873A (en) Thinning processing system of binary picture
JP2002007998A (en) Interactive optimizing device

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

LAPS Cancellation because of no payment of annual fees