JP2003132344A - Image processing method and image processing apparatus, program, recording medium, and image forming apparatus - Google Patents

Image processing method and image processing apparatus, program, recording medium, and image forming apparatus

Info

Publication number
JP2003132344A
JP2003132344A JP2001329689A JP2001329689A JP2003132344A JP 2003132344 A JP2003132344 A JP 2003132344A JP 2001329689 A JP2001329689 A JP 2001329689A JP 2001329689 A JP2001329689 A JP 2001329689A JP 2003132344 A JP2003132344 A JP 2003132344A
Authority
JP
Japan
Prior art keywords
noise
image
input image
fractal dimension
superimposing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2001329689A
Other languages
Japanese (ja)
Inventor
Hirotaka Nakamura
宏貴 中村
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2001329689A priority Critical patent/JP2003132344A/en
Publication of JP2003132344A publication Critical patent/JP2003132344A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

(57)【要約】 【課題】 入力画像を視覚的に好ましい画像に変換する
ために、入力画像に重畳するノイズの種類およびノイズ
の強さを決定して、入力画像にノイズを重畳する重畳処
理を円滑に行うことができる画像処理方法および画像処
理装置、プログラムおよび記録媒体ならびに画像形成装
置を提供する。 【解決手段】 入力画像のフラクタル次元を求める解析
工程と、求めたフラクタル次元に基づいて、入力画像を
所定の画像に変換するために入力画像に重畳するノイズ
の種類およびノイズの強さを決定するノイズパラメータ
設定工程とを含むことを特徴とする画像処理方法であ
る。これによって入力画像に重畳するノイズの種類およ
び強さを決定するために試行錯誤することなく、入力画
像の複雑さに適応するノイズの種類を円滑に決定するこ
とができる。このように決定された種類および強さのノ
イズを入力画像に重畳することで、入力画像を視覚的に
好ましい画像に変換することができる。
(57) Abstract: To convert an input image into a visually preferable image, a type of noise to be superimposed on the input image and a strength of the noise are determined, and a superimposition process for superimposing the noise on the input image is performed. Provided are an image processing method and an image processing apparatus, a program, a recording medium, and an image forming apparatus capable of smoothly performing the processing. An analysis step for obtaining a fractal dimension of an input image, and a type and a noise intensity of a noise to be superimposed on the input image for converting the input image into a predetermined image are determined based on the obtained fractal dimension. And a noise parameter setting step. This makes it possible to smoothly determine the type of noise adapted to the complexity of the input image without trial and error to determine the type and intensity of the noise to be superimposed on the input image. By superimposing the noise of the type and the strength determined in this way on the input image, the input image can be converted into a visually preferable image.

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 method for converting an input image into a visually pleasing image by superimposing noise such that a predetermined visual effect such as giving a texture to the input image can be obtained. The present invention relates to an image processing device, a program and a recording medium, and an image forming device.

【0002】[0002]

【従来の技術】近年、事務機器のデジタル化が急速に進
展するとともに、コンピュータが個人レベルにまで普及
してきた。このようなコンピュータの普及によって、デ
ジタルカメラで撮影した画像およびスキャナ装置などの
画像入力装置で読取った画像に対して、コンピュータを
用いて画像処理を施し、さまざまな画像を作成すること
が容易になってきた。
2. Description of the Related Art In recent years, with the rapid progress of digitization of office equipment, computers have spread to the individual level. With the widespread use of such computers, it becomes easy to perform various types of images by using a computer to perform image processing on an image captured by a digital camera and an image read by an image input device such as a scanner device. Came.

【0003】コンピュータを用いて作成した画像に質感
を与え、画像をよりリアルにするための画像処理の1つ
に、ノイズ重畳処理がある。ノイズ重畳処理は、コンピ
ュータの操作者が画像において選択した領域に対して、
予め用意されている複数種類のノイズのサンプルから操
作者の希望に応じたノイズを選択して重畳することによ
って、画像に質感を持たせる処理である。
Noise superposition processing is one of image processing for giving a texture to an image created by using a computer so as to make the image more realistic. Noise superimposition processing is performed on the area selected in the image by the computer operator.
This is a process of giving a texture to an image by selecting and superimposing noise according to the operator's request from a plurality of types of noise samples prepared in advance.

【0004】[0004]

【発明が解決しようとする課題】このようなノイズ重畳
処理では、操作者はノイズが重畳された画像を見ながら
試行錯誤して、どのようなノイズをどのくらいの強度で
重畳するかを判断しなければならず、操作者は、重畳す
るノイズの種類およびノイズの強度などのノイズの性質
を熟知しておく必要があり、画像処理に不慣れな操作者
にとっては、希望するノイズを画像に重畳することは、
極めて困難である。
In such a noise superimposing process, the operator must make a trial and error while observing the image on which the noise is superimposed to determine what kind of noise is superposed and at what strength. Therefore, the operator needs to be familiar with the nature of noise such as the type of noise to be superimposed and the intensity of noise, and an operator unfamiliar with image processing should superimpose the desired noise on the image. Is
It's extremely difficult.

【0005】したがって本発明の目的は、入力画像を視
覚的に好ましい画像に変換するために、入力画像に重畳
するノイズの種類およびノイズの強さを決定して、入力
画像にノイズを重畳する重畳処理を円滑に行うことがで
きる画像処理方法および画像処理装置、プログラムおよ
び記録媒体ならびに画像形成装置を提供することであ
る。
Therefore, in order to convert an input image into a visually preferable image, an object of the present invention is to determine the type of noise to be superimposed on the input image and the strength of the noise, and to superimpose the noise on the input image. An object of the present invention is to provide an image processing method, an image processing apparatus, a program, a recording medium, and an image forming apparatus that can smoothly perform processing.

【0006】[0006]

【課題を解決するための手段】本発明は、入力画像のフ
ラクタル次元を求める解析工程と、求めたフラクタル次
元に基づいて、入力画像に重畳するノイズの種類を決定
する種類決定工程とを含むことを特徴とする画像処理方
法である。
The present invention includes an analysis step for determining a fractal dimension of an input image and a type determination step for determining the type of noise to be superimposed on the input image based on the determined fractal dimension. Is an image processing method.

【0007】本発明に従えば、解析工程では、入力画像
のフラクタル次元を求め、種類決定工程では、フラクタ
ル次元に基づいて、入力画像に重畳するノイズの種類を
決定する。フラクタル次元は、入力画像の複雑さを定量
的に表すので、入力画像に重畳するノイズの種類を決定
するために試行錯誤することなく、入力画像の複雑さに
適応するノイズの種類を円滑に決定することができる。
このように決定された種類のノイズを入力画像に重畳す
ることで、入力画像を視覚的に好ましい画像に変換する
ことができる。
According to the present invention, in the analyzing step, the fractal dimension of the input image is obtained, and in the type determining step, the type of noise to be superimposed on the input image is determined based on the fractal dimension. Since the fractal dimension quantitatively represents the complexity of the input image, it is possible to smoothly determine the type of noise that adapts to the complexity of the input image without trial and error to determine the type of noise to be superimposed on the input image. can do.
By superimposing the type of noise thus determined on the input image, the input image can be converted into a visually preferable image.

【0008】また本発明は、種類決定工程の後に、フラ
クタル次元に基づいて、入力画像に対するノイズによる
変換の度合いを示すノイズの強さを決定する強度決定工
程を含むことを特徴とする。
Further, the present invention is characterized in that, after the type determining step, an intensity determining step of determining the intensity of noise indicating the degree of conversion by the noise with respect to the input image is included based on the fractal dimension.

【0009】本発明に従えば、種類決定工程の後に行う
強度決定工程では、フラクタル次元に基づいて、入力画
像に対するノイズによる変換の度合いを示すノイズの強
さを決定する。これによって、入力画像に重畳するノイ
ズの強さを決定するために試行錯誤することなく、入力
画像の複雑さに適応するノイズの強さを円滑に決定する
ことができる。このように決定された強さでノイズを入
力画像に重畳することで、入力画像を視覚的に好ましい
画像に変換することができる。
According to the present invention, in the intensity determining step performed after the type determining step, the intensity of noise indicating the degree of conversion of the input image due to noise is determined based on the fractal dimension. This makes it possible to smoothly determine the noise intensity that adapts to the complexity of the input image without trial and error for determining the noise intensity that is superimposed on the input image. By superimposing noise on the input image with the strength thus determined, the input image can be converted into a visually preferable image.

【0010】また本発明は、解析工程の後に、フラクタ
ル次元に基づいて、入力画像にノイズを重畳する重畳処
理の必要度を決定し、この必要度に基づいて、重畳処理
をするか否かを決定する処理決定工程を含むことを特徴
とする。
Further, according to the present invention, after the analysis step, the necessity of the superimposing process for superimposing noise on the input image is determined based on the fractal dimension, and whether or not the superimposing process is performed is determined based on the necessity. It is characterized by including a process determining step of determining.

【0011】本発明に従えば、解析工程の後に行う処理
決定工程では、フラクタル次元に基づいて、入力画像に
ノイズを重畳する重畳処理の必要度を決定し、この必要
度に基づいて、重畳処理をするか否かを決定する。これ
によって重畳処理の必要度が高い場合、換言すれば、入
力画像にノイズを重畳することが好ましい場合には重畳
処理を行い、重畳処理の必要度が低い場合、換言すれ
ば、入力画像にノイズを重畳しないほうが好ましい場合
には重畳処理を行わないので、入力画像を視覚的に好ま
しい画像に確実に変換することができる。
According to the present invention, in the process determining process performed after the analyzing process, the necessity of the superimposing process for superimposing noise on the input image is determined based on the fractal dimension, and the superimposing process is performed based on the necessity. Decide whether to do or not. As a result, when the necessity of the superimposing process is high, in other words, when it is preferable to superpose the noise on the input image, the superimposing process is performed. When the necessity of the superimposing process is low, in other words, the noise is added to the input image. If it is preferable not to superpose, the superimposing process is not performed, so that the input image can be surely converted into a visually preferable image.

【0012】処理決定工程は、解析工程の後であれば、
種類決定工程および強度決定工程に対する順序は限定さ
れることはないが、重畳処理を行うまでの工程数を少な
くするために、種類決定工程の前に処理決定工程を行う
ようにしてもよい。またこのような処理決定工程は、重
畳処理の必要度をユーザに報知し、ユーザに重畳処理を
するか否かを入力させるようにしてもよいし、必要度に
対してしきい値を設定して、必要度がしきい値を越える
か否かによって、重畳処理をするか否かを決定するよう
にしてもよい。
If the process determination step is after the analysis step,
The order of the type determining process and the intensity determining process is not limited, but the process determining process may be performed before the type determining process in order to reduce the number of processes until the superimposing process. Further, in such a process determining step, the user may be notified of the necessity degree of the superimposing process, and the user may be made to input whether or not to perform the superimposing process, or a threshold value may be set for the necessity degree. Then, it may be determined whether or not to perform the superimposing process depending on whether or not the necessity degree exceeds the threshold value.

【0013】また本発明は、上述の画像処理方法をコン
ピュータに実行させるためのプログラムである。
The present invention is also a program for causing a computer to execute the above-described image processing method.

【0014】本発明に従えば、コンピュータに上述のよ
うな画像処理を実行させることができる。コンピュータ
は、解析工程において、入力画像のフラクタル次元を求
め、種類決定工程において、フラクタル次元に基づい
て、入力画像を所定の画像に変換するために入力画像に
重畳するノイズの種類を自動的に決定する。またコンピ
ュータは、種類決定工程の後に行う強度決定工程では、
フラクタル次元に基づいて、入力画像に対するノイズに
よる変換の度合いを示すノイズの強さを自動的に決定す
る。フラクタル次元は、入力画像の複雑さを定量的に表
すので、入力画像に重畳するノイズの種類およびノイズ
の強さを決定するために試行錯誤することなく、入力画
像の複雑さに適応するノイズの種類およびノイズの強さ
を自動的かつ円滑に決定することができる。このように
決定された種類および強さのノイズを入力画像に重畳す
ることで、入力画像を視覚的に好ましい画像に変換する
ことができる。
According to the present invention, the computer can be made to execute the above-mentioned image processing. The computer obtains the fractal dimension of the input image in the analysis step, and automatically determines the type of noise to be superimposed on the input image in order to convert the input image into a predetermined image based on the fractal dimension in the type determination step. To do. In addition, the computer, in the strength determination process performed after the type determination process,
Based on the fractal dimension, the strength of noise that indicates the degree of conversion by the noise with respect to the input image is automatically determined. Since the fractal dimension quantitatively represents the complexity of the input image, the noise that adapts to the complexity of the input image can be determined without trial and error to determine the type of noise and noise intensity to be superimposed on the input image. The type and the strength of noise can be determined automatically and smoothly. By superimposing the noise of the type and strength thus determined on the input image, the input image can be converted into a visually preferable image.

【0015】さらにコンピュータは、解析工程の後に行
う処理決定工程において、フラクタル次元に基づいて、
入力画像にノイズを重畳する重畳処理の必要度を決定
し、この必要度に基づいて、重畳処理をするか否かを決
定する。これによって重畳処理の必要度が高い場合、換
言すれば、入力画像にノイズを重畳することが好ましい
場合には重畳処理を行い、重畳処理の必要度が低い場
合、換言すれば、入力画像にノイズを重畳しないほうが
好ましい場合には重畳処理を行わないので、入力画像を
視覚的に好ましい画像に確実に変換することができる。
Further, the computer, in the process determining step performed after the analyzing step, based on the fractal dimension,
The necessity of the superimposing process for superimposing noise on the input image is determined, and based on the necessity, whether or not to perform the superimposing process is determined. As a result, when the necessity of the superimposing process is high, in other words, when it is preferable to superpose the noise on the input image, the superimposing process is performed. When the necessity of the superimposing process is low, in other words, the noise is added to the input image. If it is preferable not to superpose, the superimposing process is not performed, so that the input image can be surely converted into a visually preferable image.

【0016】また本発明は、上述のプログラムが記録さ
れるコンピュータ読取り可能な記録媒体である。
Further, the present invention is a computer-readable recording medium in which the above program is recorded.

【0017】本発明に従えば、コンピュータに読取らせ
て、記録されるプログラムを実行させて、上述の画像処
理方法を実行させることができる。また記録媒体を介し
て、複数のコンピュータにプログラムを容易に供給する
ことができる。
According to the present invention, it is possible to cause the computer to read and execute the recorded program to execute the above-described image processing method. Further, the program can be easily supplied to a plurality of computers via the recording medium.

【0018】また本発明は、入力画像のフラクタル次元
を求める解析手段と、解析手段によって求められたフラ
クタル次元に基づいて、入力画像に重畳するノイズの種
類を決定する種類決定手段と、種類決定手段によって決
定された種類のノイズを入力画像に重畳する重畳処理手
段とを含むことを特徴とする画像処理装置である。
The present invention also provides an analyzing means for determining the fractal dimension of the input image, a type determining means for determining the type of noise to be superimposed on the input image based on the fractal dimension obtained by the analyzing means, and a type determining means. An image processing apparatus comprising: a superposition processing unit that superimposes noise of a type determined by the above on an input image.

【0019】本発明に従えば、解析手段は、入力画像の
フラクタル次元を求め、種類決定手段は、解析手段によ
って求められたフラクタル次元に基づいて、入力画像に
重畳するノイズの種類を決定し、重畳処理手段は、種類
決定手段によって決定された種類のノイズを入力画像に
重畳する。フラクタル次元は、入力画像の複雑さを定量
的に表すので、入力画像に重畳するノイズの種類を決定
するために試行錯誤することなく、入力画像の複雑さに
適応するノイズの種類を自動的かつ円滑に決定すること
ができる。このように決定された種類のノイズを入力画
像に重畳することで、入力画像を視覚的に好ましい画像
に変換することができる。
According to the present invention, the analyzing means determines the fractal dimension of the input image, and the type determining means determines the type of noise to be superimposed on the input image based on the fractal dimension obtained by the analyzing means, The superposition processing means superimposes the type of noise determined by the type determination means on the input image. The fractal dimension quantitatively represents the complexity of the input image, so that the type of noise that adapts to the complexity of the input image is automatically and automatically determined without trial and error to determine the type of noise to be superimposed on the input image. It can be decided smoothly. By superimposing the type of noise thus determined on the input image, the input image can be converted into a visually preferable image.

【0020】また本発明は、フラクタル次元に基づい
て、入力画像に対するノイズによる変換の度合いを示す
ノイズの強さを決定する強度決定手段を含み、重畳処理
手段は、強度決定手段によって決定されたノイズの強さ
で入力画像にノイズを重畳することを特徴とする。
The present invention further includes intensity determining means for determining the intensity of noise indicating the degree of conversion by the noise with respect to the input image based on the fractal dimension, and the superimposing processing means includes the noise determined by the intensity determining means. Is characterized in that noise is superimposed on the input image with the strength of.

【0021】本発明に従えば、強度決定手段は、フラク
タル次元に基づいて、入力画像に対するノイズによる変
換の度合いを示すノイズの強さを決定し、重畳処理手段
は、強度決定手段によって決定されたノイズの強さで入
力画像にノイズを重畳する。これによって、入力画像に
重畳するノイズの強さを決定するために試行錯誤するこ
となく、入力画像の複雑さに適応するノイズの強さを自
動的かつ円滑に決定することができる。このように決定
された強さでノイズを入力画像に重畳することで、入力
画像を視覚的に好ましい画像に変換することができる。
According to the present invention, the intensity determining means determines the intensity of noise indicating the degree of conversion by the noise with respect to the input image based on the fractal dimension, and the superposition processing means is determined by the intensity determining means. Noise is superimposed on the input image according to the strength of the noise. This makes it possible to automatically and smoothly determine the noise intensity that adapts to the complexity of the input image, without trial and error to determine the intensity of noise that is superimposed on the input image. By superimposing noise on the input image with the strength thus determined, the input image can be converted into a visually preferable image.

【0022】また本発明は、フラクタル次元に基づい
て、入力画像にノイズを重畳する重畳処理の必要度を決
定する判定手段を含み、判定手段によって決定された重
畳処理の必要度を表示手段に表示し、重畳処理を実行す
るか否かの処理情報を入力する入力手段によって重畳処
理を実行する処理情報が入力されたとき、重畳処理手段
は、重畳処理をすることを特徴とする。
Further, the present invention includes a judging means for deciding the necessity of the superimposing processing for superposing noise on the input image based on the fractal dimension, and displaying the necessity of the superimposing processing decided by the judging means on the display means. However, when the processing information for executing the superimposition processing is input by the input means for inputting the processing information as to whether or not to execute the superposition processing, the superposition processing means is characterized by performing the superposition processing.

【0023】本発明に従えば、判定手段は、フラクタル
次元に基づいて、入力画像にノイズを重畳する重畳処理
の必要度を決定し、判定手段によって決定された重畳処
理の必要度は表示手段に表示される。重畳処理を実行す
るか否かの処理情報は入力手段から入力され、重畳処理
手段は、入力手段によって重畳処理を実行する処理情報
が入力されたとき、重畳処理をする。これによってユー
ザは、表示手段に表示される重畳処理の必要度に応じ
て、重畳処理を行うか否かを選択して、入力手段に処理
情報を入力することができる。
According to the invention, the determining means determines the necessity of the superimposing processing for superimposing noise on the input image based on the fractal dimension, and the necessity of the superimposing processing determined by the determining means is displayed on the display means. Is displayed. The processing information indicating whether or not to execute the superimposition processing is input from the input unit, and the superposition processing unit performs the superposition processing when the processing information for executing the superposition processing is input by the input unit. With this, the user can select whether or not to perform the superimposing process according to the necessity of the superimposing process displayed on the display unit and input the process information to the input unit.

【0024】また本発明は、上述の画像処理装置を備え
ることを特徴とする画像形成装置である。
Further, the present invention is an image forming apparatus including the above-mentioned image processing apparatus.

【0025】本発明に従えば、上述のような作用を達成
できる画像形成装置を実現することができる。これによ
って入力画像を視覚的に好ましい画像に変換して、記録
紙にその画像を形成することができる。
According to the present invention, it is possible to realize an image forming apparatus capable of achieving the above-described operation. As a result, the input image can be converted into a visually preferable image and the image can be formed on the recording paper.

【0026】[0026]

【発明の実施の形態】図1は、本発明の実施の一形態の
画像処理方法の手順のメインルーチンを示すフローチャ
ートである。画像処理方法は、入力画像に質感を持たせ
るなどの予め定める視覚効果が得られるようなノイズを
重畳して、入力画像を視覚的に好ましい画像に変換する
方法である。ステップs0で画像処理方法の手順が開始
されてステップs1の白黒濃淡画像変換工程、ステップ
s2の解析工程、ステップs3のノイズパラメータ設定
工程、ステップs4のノイズ生成工程、ステップs5の
ノイズ重畳工程の順序で処理が進み、ステップs6で全
ての手順を終了する。
1 is a flowchart showing a main routine of a procedure of an image processing method according to an embodiment of the present invention. The image processing method is a method for converting an input image into a visually preferable image by superimposing noise that gives a predetermined visual effect such as giving a texture to the input image. In step s0, the procedure of the image processing method is started, and the order of the monochrome grayscale image conversion step of step s1, the analysis step of step s2, the noise parameter setting step of step s3, the noise generation step of step s4, and the noise superposition step of step s5. The process proceeds in step S6, and all procedures are completed in step s6.

【0027】ステップs1の白黒濃淡画像変換工程で
は、入力画像がカラー画像である場合には、入力画像の
各画素の濃度のRGB(赤色、緑色、青色)成分を次式
(1)を用いて1つの輝度に変換して、入力画像を白黒
濃淡画像に変換して、後述の解析工程においてフラクタ
ル次元を求めるための解析用画像にする。 Yi=0.30Ri+0.59Gi+0.11Bi …(1)
In the black-and-white gradation image conversion step of step s1, if the input image is a color image, the RGB (red, green, blue) components of the density of each pixel of the input image are calculated using the following equation (1). It is converted into one luminance and the input image is converted into a black and white grayscale image to be an analysis image for obtaining a fractal dimension in an analysis step described later. Y i = 0.30R i + 0.59G i + 0.11B i (1)

【0028】上式(1)において、Yiは、白黒濃淡画
像に変換された入力画像のi番目の画素の輝度を表し、
iは、入力画像のi番目の画素の赤色の濃度を表し、
iは、入力画像のi番目の画素の緑色の濃度を表し、
iは、入力画像のi番目の画素の青色の濃度を表す。
たとえば24ビットカラーの画像では、Ri,Gi,Bi
はそれぞれ0以上255以下の値をとり、このときYi
は0以上255以下の値をとる。入力画像が2値画像お
よび白黒濃淡画像である場合には、変換は行わないで、
入力画像をそのまま解析用画像とする。
In the above equation (1), Y i represents the luminance of the i-th pixel of the input image converted into the monochrome grayscale image,
R i represents the red density of the i-th pixel of the input image,
G i represents the green density of the i-th pixel of the input image,
B i represents the blue density of the i-th pixel of the input image.
For example, in a 24-bit color image, R i , G i , B i
Respectively take a value of 0 or more and 255 or less, and at this time Y i
Takes a value of 0 or more and 255 or less. If the input image is a binary image or a grayscale image, no conversion is performed,
The input image is directly used as the analysis image.

【0029】図2は、図1の画像処理方法の手順のメイ
ンルーチンにおけるステップs2の解析工程のサブルー
チンを示すフローチャートである。画像処理方法の手順
のメインルーチンにおけるステップs2の解析工程で
は、入力画像のフラクタル次元を求める。フラクタル次
元は、図形の自己相似性および複雑さを定量的に表す数
値であり、その数値が大きくなるほど図形は複雑であ
る。たとえば線図形のフラクタル次元は、1.0以上
2.0未満の実数の値をとり、白黒濃淡画像のフラクタ
ル次元は、2.0以上3.0未満の実数の値をとる。本
実施の形態において、入力画像のフラクタル次元は、ボ
ックスカウント法によって求める。また本実施の形態に
おいて、入力画像は、横方向にP個の画素が並び、縦方
向にQ個の画素が並ぶ、画素数P×Qの画像である。
FIG. 2 is a flow chart showing a subroutine of the analysis process of step s2 in the main routine of the procedure of the image processing method of FIG. In the analysis step of step s2 in the main routine of the procedure of the image processing method, the fractal dimension of the input image is obtained. The fractal dimension is a numerical value that quantitatively represents the self-similarity and complexity of a figure, and the larger the value, the more complicated the figure. For example, the fractal dimension of a line figure takes a real value of 1.0 or more and less than 2.0, and the fractal dimension of a monochrome grayscale image takes a real number of 2.0 or more and less than 3.0. In this embodiment, the fractal dimension of the input image is obtained by the box count method. Further, in the present embodiment, the input image is an image of P × Q pixels in which P pixels are arranged in the horizontal direction and Q pixels are arranged in the vertical direction.

【0030】図3は、2値画像である解析用画像G1の
一例を示す図である。まず解析用画像G1が図3に示さ
れるような黒色の曲線Lが描かれる2値画像である場合
の解析工程について述べる。図2に示す解析工程の手順
は、ステップa0で開始されてステップa1に進む。
FIG. 3 is a diagram showing an example of the analysis image G1 which is a binary image. First, the analysis process when the analysis image G1 is a binary image in which a black curve L as shown in FIG. 3 is drawn will be described. The procedure of the analysis process shown in FIG. 2 starts at step a0 and proceeds to step a1.

【0031】図4は、格子分割した解析用画像G1を示
す図である。ステップa1では、解析用画像G1を格子
分割する格子間隔rの初期値を設定し、ステップa2に
進む。本実施の形態において、解析用画像G1は、縦方
向および横方向ともに格子間隔rで分割され、格子間隔
rの初期値は、たとえば解析用画像G1の画素間隔Δで
あるとする。
FIG. 4 is a diagram showing a grid-divided analysis image G1. At step a1, an initial value of the grid interval r for dividing the analysis image G1 into grids is set, and the process proceeds to step a2. In the present embodiment, the analysis image G1 is divided in the vertical direction and the horizontal direction at the grid spacing r, and the initial value of the grid spacing r is, for example, the pixel spacing Δ of the analysis image G1.

【0032】ステップa2では、解析用画像G1におい
て格子分割された1辺の長さがrの正方形の領域(ボッ
クス)のうち、黒色の曲線Lを含むボックスB1の数N
(r)をカウントして、ステップa3に進む。図4に示
される格子間隔rで格子分割される解析用画像G1にお
いては、N(r)は13である。
In step a2, the number N of the boxes B1 including the black curve L in the square region (box) of one side length r which is grid-divided in the analysis image G1.
(R) is counted and the process proceeds to step a3. N (r) is 13 in the analysis image G1 that is grid-divided at the grid interval r shown in FIG.

【0033】ステップa3では、格子間隔rに2を乗じ
た値2rが、解析用画像G1の横方向の画素数Pおよび
縦方向の画素数Qのいずれか小さい方の値min(P,
Q)未満であるか否かを判断し、2rがmin(P,
Q)未満である場合にはステップa4に進み、2rがm
in(P,Q)以上である場合にはステップa5に進
む。
At step a3, the value 2r obtained by multiplying the lattice spacing r by 2 is the smaller value min (P, P of the number of pixels P in the horizontal direction and the number of pixels Q in the vertical direction of the image for analysis G1).
It is determined whether or not it is less than Q), and 2r is min (P,
If it is less than Q), the process proceeds to step a4 and 2r is m.
If it is greater than or equal to in (P, Q), the process proceeds to step a5.

【0034】ステップa3において、2rがmin
(P,Q)未満であると判断されてステップa4に進む
と、ステップa4では、格子間隔rに2を乗じた値2r
を、新たな格子間隔rと設定して、ステップa2に戻
る。このように格子間隔rを、Δ,2Δ,4Δ,8Δ,
16Δ,…,EΔと大きくしながら、2rがmin
(P,Q)以上であると判断されるまで、ステップa2
〜ステップa4を繰り返す。格子間隔rは次式(2)で
表される。
In step a3, 2r is min
When it is determined that the value is less than (P, Q) and the process proceeds to step a4, at step a4, a value 2r obtained by multiplying the lattice interval r by 2 is obtained.
Is set as a new lattice spacing r, and the process returns to step a2. In this way, the lattice spacing r is set to Δ, 2Δ, 4Δ, 8Δ,
While increasing to 16Δ, ..., EΔ, 2r is min
Until it is determined that (P, Q) or more, step a2
~ Repeat step a4. The lattice spacing r is expressed by the following equation (2).

【0035】[0035]

【数1】 [Equation 1]

【0036】上式(2)において、[ ]は、ガウス記
号を表す。ガウス記号は、ある実数eに対して、[e]
はeを越えない最大の整数を示す。
In the above equation (2), [] represents a Gauss symbol. The Gauss symbol is [e] for some real number e.
Indicates the maximum integer not exceeding e.

【0037】図5は、log rとlog N(r)との
関係および回帰直線を示すグラフである。ステップa3
において、2rがmin(P,Q)以上であると判断さ
れてステップa5に進むと、ステップa5では、各格子
間隔rについて横軸にlogrを、縦軸にlog N
(r)をとり、座標(log r,log N(r))
を、図5に示すようにプロットして、ステップa6に進
む。
FIG. 5 is a graph showing the relationship between log r and log N (r) and the regression line. Step a3
In 2a, it is determined that 2r is equal to or greater than min (P, Q), and the process proceeds to step a5. At step a5, the abscissa indicates logr and the ordinate indicates log N for each lattice spacing r.
(R), and coordinates (log r, log N (r))
Are plotted as shown in FIG. 5, and the process proceeds to step a6.

【0038】ステップa6では、ステップa5において
プロットされた座標(log r,log N(r))に
関して最小2乗法によって回帰直線を求め、回帰直線の
傾きを導出する。ボックスカウント法では、ボックス次
元と呼ばれるフラクタル次元Dimは次式(3)に示す
ように定義されている。
At step a6, a regression line is obtained by the method of least squares with respect to the coordinates (log r, log N (r)) plotted at step a5, and the slope of the regression line is derived. In the box count method, a fractal dimension Dim called a box dimension is defined as shown in the following expression (3).

【0039】[0039]

【数2】 [Equation 2]

【0040】すなわち回帰直線の傾きを求めることは、
フラクタル次元Dimを求めることと同じである。この
ようにしてステップa6でフラクタル次元Dimが求め
られると、ステップa7に進み、解析工程の手順を終了
して、図1に示す画像処理方法のメインルーチンに復帰
する。
That is, to obtain the slope of the regression line,
This is the same as obtaining the fractal dimension Dim. When the fractal dimension Dim is obtained in this way in step a6, the process proceeds to step a7, the procedure of the analysis process is ended, and the process returns to the main routine of the image processing method shown in FIG.

【0041】図6は、解析用画像G2を含む画像空間S
を示す図である。次に入力画像が白黒濃淡画像であっ
て、この入力画像が解析用画像G2となる場合、および
メインルーチンのステップs1において入力画像が白黒
濃淡画像である解析用画像G2に変換された場合の解析
工程について述べる。図2に示す解析工程の手順は、ス
テップa0で開始されてステップa1に進む。
FIG. 6 shows an image space S containing the analysis image G2.
FIG. Next, an analysis is performed when the input image is a monochrome grayscale image and this input image is the analysis image G2, and when the input image is converted to the analysis image G2 which is a monochrome grayscale image in step s1 of the main routine. The process will be described. The procedure of the analysis process shown in FIG. 2 starts at step a0 and proceeds to step a1.

【0042】ステップa1では、解析用画像G2を含む
画像空間Sを格子分割する格子間隔rの初期値を設定
し、ステップa2に進む。画像空間Sは、解析用画像G
2を含み、解析用画像G2の横方向を示すx軸および縦
方向を示すy軸、ならびに解析用画像G2に垂直な一方
向に、解析用画像G2の各画素の輝度を示す輝度軸Yを
3軸として形成される空間である。前記画像空間Sに
は、解析用画像G2の各画素の輝度が連なって形成され
る画像輝度面Dが存在する。本実施の形態において、前
記画像空間は、x軸方向、y軸方向および輝度軸Y方向
に格子間隔rで分割され、格子間隔rの初期値は、たと
えば解析用画像G2の画素間隔Δとする。
At step a1, an initial value of a grid interval r for dividing the image space S containing the image for analysis G2 into grids is set, and the routine proceeds to step a2. The image space S is the analysis image G.
2, the x-axis indicating the horizontal direction and the y-axis indicating the vertical direction of the analysis image G2, and the luminance axis Y indicating the luminance of each pixel of the analysis image G2 in one direction perpendicular to the analysis image G2. It is a space formed as three axes. In the image space S, there is an image brightness plane D formed by connecting the brightness of each pixel of the analysis image G2. In the present embodiment, the image space is divided in the x-axis direction, the y-axis direction, and the luminance axis Y direction at the grid spacing r, and the initial value of the grid spacing r is, for example, the pixel spacing Δ of the analysis image G2. .

【0043】ステップa2では、画像空間Sにおいて格
子分割された1辺の長さがrの立方体の領域(ボック
ス)のうち、画像輝度面Dを含むボックスB2の数N
(r)をカウントして、ステップa3に進む。画像輝度
面Dを含むボックスB2の数N(r)をカウントするた
めには、画像輝度面DとボックスB2との交差状況を調
べる必要があるが、このような3次元探索は計算時間が
長くなるので、「電子情報通信学会論文誌Vol.J83-D-II
No.4 pp.1082-1089(2000年4月)」に掲載されて
いる方法を用いてN(r)を推測する。これによって3
次元探索を2次元的な処理として行うことができ、計算
時間を短縮することができる。以下にその詳細を述べ
る。
In step a2, the number N of the boxes B2 including the image luminance plane D in the cubic area (box) having a side length of r and divided into a lattice in the image space S.
(R) is counted and the process proceeds to step a3. In order to count the number N (r) of the boxes B2 including the image brightness plane D, it is necessary to check the intersection situation between the image brightness plane D and the box B2, but such a three-dimensional search requires a long calculation time. Therefore, "The Institute of Electronics, Information and Communication Engineers, Vol.J83-D-II
No.4 pp.1082-1089 (April 2000) ”is used to estimate N (r). This makes 3
The dimension search can be performed as a two-dimensional process, and the calculation time can be shortened. The details will be described below.

【0044】まず図6に示すような、画像空間Sが格子
分割されたときの解析用画像G2における1辺の長さが
rの正方形の領域を、単位領域Aとする。ある単位領域
Aの輝度軸Y方向に存在し、画像輝度面Dを含むボック
スB2の数の推定値n(r)は、次式(4)で求められ
る。
First, a square area having a side length r in the analysis image G2 when the image space S is divided into lattices as shown in FIG. 6 is defined as a unit area A. An estimated value n (r) of the number of boxes B2 existing in the luminance axis Y direction of a certain unit area A and including the image luminance plane D is obtained by the following equation (4).

【0045】[0045]

【数3】 [Equation 3]

【0046】上式(4)において、Y1,Y2,Y3,Y4
は、単位領域A内に存在する単位領域Aの4個の角C
1,C2,C3,C4を含む各画素の輝度を表し、ma
xYjは、輝度Y1〜Y4のうちの最大の値を示し、mi
nYjは、輝度Y1〜Y4のうちの最小の値を示し、
[ ]は、ガウス記号を表す。
In the above equation (4), Y 1 , Y 2 , Y 3 , Y 4
Are four corners C of the unit area A existing in the unit area A.
Represents the luminance of each pixel including 1, C2, C3, C4, and ma
xY j represents the maximum value of the luminances Y 1 to Y 4 , and mi
nY j represents the minimum value of the luminances Y 1 to Y 4 ,
[] Represents a Gauss symbol.

【0047】解析用画像G2における全ての単位領域に
おいて、上述のようにしてn(r)を求め、その平均値
ave(r)を求める。このとき画像輝度面Dを含むボ
ックスB2の数N(r)は、次式(5)で求められる。
In all the unit areas in the analysis image G2, n (r) is calculated as described above, and the average value n ave (r) is calculated. At this time, the number N (r) of the boxes B2 including the image brightness surface D is obtained by the following equation (5).

【0048】[0048]

【数4】 [Equation 4]

【0049】上式(5)において、SDは、画像輝度面
Dの面積である。このようにしてN(r)を求めること
によって、N(r)を求めるときの計算時間を短縮する
ことができる。
In the above equation (5), S D is the area of the image brightness plane D. By calculating N (r) in this way, the calculation time for calculating N (r) can be shortened.

【0050】続いてステップa3では、格子間隔rに2
を乗じた値2rが、解析用画像G2の横方向の画素数P
および縦方向の画素数Qのいずれか小さい方の値min
(P,Q)未満であるか否かを判断し、2rがmin
(P,Q)未満である場合にはステップa4に進み、2
rがmin(P,Q)以上である場合にはステップa5
に進む。
Then, in step a3, the lattice spacing r is set to 2
The value 2r multiplied by is the number of pixels P in the horizontal direction of the analysis image G2.
And the vertical direction pixel number Q, whichever is smaller, min
It is determined whether or not it is less than (P, Q), and 2r is min.
If it is less than (P, Q), the process proceeds to step a4, and 2
If r is more than min (P, Q), step a5
Proceed to.

【0051】ステップa3において、2rがmin
(P,Q)未満であると判断されてステップa4に進む
と、ステップa4では、格子間隔rに2を乗じた値2r
を、新たな格子間隔rと設定して、ステップa2に戻
る。このように格子間隔rを、式(2)に示すように、
Δ,2Δ,4Δ,8Δ,16Δ,…,EΔと大きくしな
がら、2rがmin(P,Q)以上であると判断される
まで、ステップa2〜ステップa4を繰り返す。
In step a3, 2r is min
When it is determined that the value is less than (P, Q) and the process proceeds to step a4, at step a4, a value 2r obtained by multiplying the lattice interval r by 2 is obtained.
Is set as a new lattice spacing r, and the process returns to step a2. In this way, the lattice spacing r can be expressed by the following equation (2).
While increasing Δ, 2Δ, 4Δ, 8Δ, 16Δ, ..., EΔ, step a2 to step a4 are repeated until 2r is determined to be min (P, Q) or more.

【0052】ステップa3において、2rがmin
(P,Q)以上であると判断されてステップa5に進む
と、ステップa5では、各格子間隔rについて横軸にl
og rを、縦軸にlog N(r)とり、座標(log
r,log N(r))を、図5に示すようにプロット
して、ステップa6に進む。
In step a3, 2r is min
When it is determined that the value is (P, Q) or more and the process proceeds to step a5, in step a5, the abscissa indicates l for each lattice interval r.
The vertical axis is log N (r), and the coordinate (log
r, log N (r)) is plotted as shown in FIG. 5, and the process proceeds to step a6.

【0053】ステップa6では、ステップa5において
プロットされた座標(log r,log N(r))に
関して最小2乗法によって回帰直線を求め、回帰直線の
傾きからフラクタル次元Dimを求められると、ステッ
プa7に進み、解析工程の手順を終了して、図1に示す
画像処理方法のメインルーチンに復帰する。
In step a6, a regression line is obtained by the method of least squares with respect to the coordinates (log r, log N (r)) plotted in step a5, and the fractal dimension Dim is obtained from the slope of the regression line. Then, the procedure of the analysis process is completed, and the process returns to the main routine of the image processing method shown in FIG.

【0054】図7は、図1の画像処理方法の手順のメイ
ンルーチンにおけるステップs3のノイズパラメータ設
定工程のサブルーチンを示すフローチャートである。画
像処理方法の手順のメインルーチンにおけるステップs
3のノイズパラメータ設定工程は、種類決定工程、強度
決定工程および処理決定工程である。このノイズパラメ
ータ設定工程では、ステップs2の解析工程で求めたフ
ラクタル次元Dimに基づいて、入力画像を所定の画像
に変換するために入力画像に重畳するノイズの種類およ
びノイズの強さの最大値、ならびに重畳処理の必要度を
決定する。
FIG. 7 is a flowchart showing a subroutine of the noise parameter setting step of step s3 in the main routine of the procedure of the image processing method of FIG. Step s in the main routine of the procedure of the image processing method
The noise parameter setting step 3 is a type determining step, an intensity determining step, and a process determining step. In this noise parameter setting step, based on the fractal dimension Dim obtained in the analysis step of step s2, the type of noise to be superimposed on the input image for converting the input image into a predetermined image and the maximum value of the noise intensity, Also, the necessity of the superimposition processing is determined.

【0055】入力画像が白黒の2値画像である場合に
は、ノイズを重畳しても視覚的にほとんど変化しなかっ
たり、劣化したりする恐れがあるため、以後、画像処理
方法の説明において、白黒濃淡画像である解析用画像を
扱うものとする。
When the input image is a black-and-white binary image, there is a possibility that even if noise is superimposed, it hardly changes visually or deteriorates. Therefore, in the following description of the image processing method, An analysis image, which is a black and white gray image, is handled.

【0056】図7に示すノイズパラメータ設定工程の手
順は、ステップb0で開始されてステップb1に進む。
ステップb0において、予め第1しきい値aおよび第2
しきい値bを設定する。第1しきい値aは、2.0以上
かつ第2しきい値b未満である。第2しきい値bは、第
1しきい値aより大きく、かつ3.0未満である。この
ように第1しきい値aおよび第2しきい値bには、次式
(6)の関係がある。 2.0≦a<b<3.0 …(6)
The procedure of the noise parameter setting process shown in FIG. 7 starts at step b0 and proceeds to step b1.
In step b0, first threshold value a and second threshold value
Set the threshold value b. The first threshold value a is 2.0 or more and less than the second threshold value b. The second threshold value b is greater than the first threshold value a and less than 3.0. As described above, the first threshold value a and the second threshold value b have the relationship of the following expression (6). 2.0 ≦ a <b <3.0 (6)

【0057】ステップb1では、解析工程において求め
たフラクタル次元Dimが、2.0以上第1しきい値a
未満であるか否かを判断し、フラクタル次元Dimが
2.0以上第1しきい値a未満であると判断されると、
ステップb2に進み、フラクタル次元Dimが2.0以
上第1しきい値a未満でないと判断されると、ステップ
b4に進む。
In step b1, the fractal dimension Dim obtained in the analysis step is 2.0 or more and the first threshold value a.
If it is determined that the fractal dimension Dim is 2.0 or more and less than the first threshold value a,
When it is determined that the fractal dimension Dim is not less than 2.0 and less than the first threshold value a, the process proceeds to step b2.

【0058】ステップb1においてフラクタル次元Di
mが2.0以上第1しきい値a未満であると判断されて
ステップb2に進むと、ステップb2では、フラクタル
次元Dimに基く入力画像に重畳するノイズの種類およ
びノイズの強さの最大値を含む第1ノイズパラメータが
設定されて、ステップb3に進み、ノイズパラメータ設
定工程の手順を終了し、図1に示す画像処理方法のメイ
ンルーチンに復帰する。
In step b1, the fractal dimension Di
When it is determined that m is 2.0 or more and less than the first threshold value a and the process proceeds to step b2, in step b2, the type of noise and the maximum value of noise intensity to be superimposed on the input image based on the fractal dimension Dim. The first noise parameter including the parameter is set, the process proceeds to step b3, the procedure of the noise parameter setting process is ended, and the process returns to the main routine of the image processing method shown in FIG.

【0059】ステップb1においてフラクタル次元Di
mが2.0以上第1しきい値a未満でないと判断されて
ステップb4に進むと、ステップb4では、求めたフラ
クタル次元Dimが、第1しきい値a以上第2しきい値
b未満であるか否かを判断し、フラクタル次元Dimが
第1しきい値a以上第2しきい値b未満であると判断さ
れると、ステップb5に進み、フラクタル次元Dimが
第1しきい値a以上第2しきい値b未満でないと判断さ
れると、ステップb6に進む。
In step b1, the fractal dimension Di
When it is determined that m is not 2.0 or more and less than the first threshold value a and the process proceeds to step b4, at step b4, the obtained fractal dimension Dim is not less than the first threshold value a and less than the second threshold value b. If it is determined that the fractal dimension Dim is greater than or equal to the first threshold value a and less than the second threshold value b, the process proceeds to step b5, and the fractal dimension Dim is greater than or equal to the first threshold value a. If it is determined that it is not less than the second threshold value b, the process proceeds to step b6.

【0060】ステップb4においてフラクタル次元Di
mが第1しきい値a以上第2しきい値b未満であると判
断されてステップb5に進むと、ステップb5では、フ
ラクタル次元Dimに基く入力画像に重畳するノイズの
種類およびノイズの強さの最大値を含む第2ノイズパラ
メータが設定されて、ステップb3に進み、ノイズパラ
メータ設定工程の手順を終了し、図1に示す画像処理方
法のメインルーチンに復帰する。
In step b4, the fractal dimension Di
When it is determined that m is greater than or equal to the first threshold value a and less than the second threshold value b, and the process proceeds to step b5, in step b5, the type of noise and the strength of noise that are superimposed on the input image based on the fractal dimension Dim. The second noise parameter including the maximum value is set, the process proceeds to step b3, the procedure of the noise parameter setting process is ended, and the process returns to the main routine of the image processing method shown in FIG.

【0061】ステップb4においてフラクタル次元Di
mが第1しきい値a以上第2しきい値b未満でない、換
言すれば、フラクタル次元Dimが第2しきい値以上
3.0未満であると判断されてステップb6に進むと、
ステップb6では、フラクタル次元Dimに基く入力画
像に重畳するノイズの種類およびノイズの強さの最大値
を含む第3ノイズパラメータが設定されて、ステップb
3に進み、ノイズパラメータ設定工程の手順を終了し、
図1に示す画像処理方法のメインルーチンに復帰する。
In step b4, the fractal dimension Di
If m is not greater than or equal to the first threshold value a and less than the second threshold value b, in other words, it is determined that the fractal dimension Dim is greater than or equal to the second threshold value and less than 3.0 and the process proceeds to step b6,
In step b6, the third noise parameter including the type of noise and the maximum value of noise intensity to be superimposed on the input image based on the fractal dimension Dim is set, and step b
3 and finish the procedure of the noise parameter setting process,
The procedure returns to the main routine of the image processing method shown in FIG.

【0062】図8は、第1〜第3ノイズパラメータの設
定の第1設定例におけるフラクタル次元とノイズの強さ
との関係を示すグラフである。表1は、第1〜第3ノイ
ズパラメータの設定の第1設定例を示す表である。
FIG. 8 is a graph showing the relationship between the fractal dimension and the noise intensity in the first setting example of the setting of the first to third noise parameters. Table 1 is a table showing a first setting example of the settings of the first to third noise parameters.

【0063】[0063]

【表1】 [Table 1]

【0064】図8および表1に示す第1〜第3ノイズパ
ラメータの設定の第1設定例において、ノイズの強さ
は、ノイズの強さの絶対値の最大値が1となるように規
格化している。このノイズの強さに、表1に示されるノ
イズの強さの最大値を乗算して、フラクタル次元Dim
に基いて、入力画像に重畳するノイズの強さを決定す
る。
In the first setting example of the setting of the first to third noise parameters shown in FIG. 8 and Table 1, the noise intensity is standardized so that the maximum absolute value of the noise intensity is 1. ing. This noise intensity is multiplied by the maximum value of the noise intensity shown in Table 1 to calculate the fractal dimension Dim.
Based on, the strength of noise superimposed on the input image is determined.

【0065】入力画像のフラクタル次元Dimが2.0
以上第1しきい値a未満であるときは、入力画像の複雑
さが小さいと考えられ、このような入力画像にノイズを
重畳すると、重畳したノイズが視覚的に目立ちやすくな
るので、重畳するノイズの種類を、視覚的に知覚し難い
ブルーノイズに決定し、ノイズの強さの最大値を、小さ
めの1以上3以下に決定する。
The fractal dimension Dim of the input image is 2.0.
When it is less than the first threshold value a, it is considered that the complexity of the input image is small, and when noise is superimposed on such an input image, the superimposed noise becomes visually conspicuous. Is determined as blue noise that is hard to be visually perceived, and the maximum value of noise intensity is determined as a small value of 1 or more and 3 or less.

【0066】入力画像のフラクタル次元Dimが第1し
きい値a以上第2しきい値b未満であるときは、入力画
像の複雑さがある程度大きいと考えられるので、重畳す
るノイズの種類を、1/fノイズおよびブルーノイズの
いずれかに決定し、ノイズの強さの最大値を、5以上7
以下に決定する。ノイズの強さは、フラクタル次元に応
じて、徐々に大きくする。
When the fractal dimension Dim of the input image is greater than or equal to the first threshold value a and less than the second threshold value b, the complexity of the input image is considered to be large to some extent. / F noise or blue noise, and the maximum value of noise intensity is 5 or more 7
Determined below. The intensity of noise is gradually increased according to the fractal dimension.

【0067】入力画像に画像処理を施した出力画像を記
録紙に画像形成する場合、たとえばインクジェット方式
の画像形成装置で普通紙に画像形成したり、電子写真方
式の画像形成装置で画像形成したりする場合には、入力
画像に1/fノイズを重畳する。ブルーノイズは、高周
波の空間周波数成分が強く、ブルーノイズを重畳するこ
とによる画像の変化は激しいものとなる。このためにブ
ルーノイズを重畳した入力画像を記録紙に画像形成する
ときに、ノイズの再現性を良好にするには、ドット再現
性の良好な画像形成装置を用いなければならない。この
ためドット再現性の低い画像形成装置を用いるときに
は、入力画像に1/fノイズを重畳する。画像形成する
ときに用いる画像形成装置に従って、ブルーノイズおよ
び1/fノイズのいずれかを予め選択しておき、選択さ
れたノイズの種類を入力画像に重畳するようにしてもよ
い。
When an output image obtained by subjecting an input image to image processing is formed on a recording paper, for example, an image is formed on plain paper by an ink jet type image forming apparatus or an electrophotographic image forming apparatus. If so, 1 / f noise is superimposed on the input image. The blue noise has a strong high-frequency spatial frequency component, and the image changes due to the superposition of the blue noise becomes severe. For this reason, when forming an input image on which blue noise is superimposed on a recording sheet, in order to improve noise reproducibility, an image forming apparatus having good dot reproducibility must be used. Therefore, when an image forming apparatus having low dot reproducibility is used, 1 / f noise is superimposed on the input image. Depending on the image forming apparatus used when forming an image, either blue noise or 1 / f noise may be selected in advance, and the selected type of noise may be superimposed on the input image.

【0068】入力画像のフラクタル次元Dimが第2し
きい値b以上3.0未満であるときは、入力画像の複雑
さが非常に大きいと考えられ、このような入力画像にノ
イズを重畳しても、視覚的にノイズが目立たないので、
ノイズを重畳しないようにする。すなわち重畳するノイ
ズは無しで、ノイズの強さの最大値は0とする。
When the fractal dimension Dim of the input image is not less than the second threshold value b and less than 3.0, it is considered that the complexity of the input image is very large, and noise is superimposed on such an input image. Also, since the noise is not noticeable visually,
Avoid superimposing noise. That is, there is no superimposed noise, and the maximum value of noise intensity is 0.

【0069】またフラクタル次元Dimに基いて、入力
画像にノイズを重畳する重畳処理の必要度を決定する。
たとえば表1に示す第1設定例では、ノイズの強さの最
大値が大きくなるにつれて必要度を大きくするように決
定する。
Further, the necessity degree of the superimposing process for superimposing noise on the input image is determined based on the fractal dimension Dim.
For example, in the first setting example shown in Table 1, it is determined that the necessity level increases as the maximum value of the noise intensity increases.

【0070】図9は、第1〜第3ノイズパラメータの設
定の第2設定例におけるフラクタル次元とノイズの強さ
との関係を示すグラフである。表2は、第1〜第3ノイ
ズパラメータの設定の第2設定例を示す表である。
FIG. 9 is a graph showing the relationship between fractal dimension and noise intensity in the second setting example of the setting of the first to third noise parameters. Table 2 is a table showing a second setting example of the settings of the first to third noise parameters.

【0071】[0071]

【表2】 [Table 2]

【0072】図9および表2に示す第1〜第3ノイズパ
ラメータの設定の第2設定例において、ノイズの強さ
は、ノイズの強さの絶対値の最大値が1となるように規
格化している。このノイズの強さに、表2に示されるノ
イズの強さの最大値を乗算して、フラクタル次元Dim
に基いて、入力画像に重畳するノイズの強さを決定す
る。図9および表2のようにノイズの種類およびノイズ
の強さを決定して、入力画像にノイズを重畳することに
よって、効果的に画像に質感を持たせることができる。
In the second setting example of the setting of the first to third noise parameters shown in FIG. 9 and Table 2, the noise intensity is standardized so that the maximum absolute value of the noise intensity is 1. ing. This noise intensity is multiplied by the maximum value of the noise intensity shown in Table 2 to calculate the fractal dimension Dim.
Based on, the strength of noise superimposed on the input image is determined. As shown in FIG. 9 and Table 2, by determining the type and intensity of noise and superimposing the noise on the input image, it is possible to effectively give the image a texture.

【0073】入力画像のフラクタル次元Dimが2.0
以上第1しきい値a未満であるときは、入力画像の複雑
さが小さいと考えられ、このような入力画像にノイズを
重畳すると、重畳したノイズが視覚的に目立ちやすくな
り、ノイズを重畳することによる入力画像の質感の向上
が期待できるので、重畳するノイズの種類を、1/fノ
イズに決定し、ノイズの強さの最大値を、大きめの5以
上7以下に決定する。
The fractal dimension Dim of the input image is 2.0.
When it is less than the first threshold value a, it is considered that the complexity of the input image is small. When noise is superimposed on such an input image, the superimposed noise becomes visually noticeable, and the noise is superimposed. Since the texture of the input image can be expected to be improved by this, the type of noise to be superimposed is determined to be 1 / f noise, and the maximum value of the noise intensity is determined to be a larger value of 5 or more and 7 or less.

【0074】入力画像のフラクタル次元Dimが第1し
きい値a以上第2しきい値b未満であるときは、入力画
像の複雑さがある程度大きいと考えられるので、重畳す
るノイズの種類を、ブルーノイズに決定し、ノイズの強
さの最大値を、小さめの1以上3以下に決定する。
When the fractal dimension Dim of the input image is greater than or equal to the first threshold value a and less than the second threshold value b, the complexity of the input image is considered to be large to some extent. Noise is determined, and the maximum value of noise intensity is determined to be a small value of 1 or more and 3 or less.

【0075】入力画像のフラクタル次元Dimが第2し
きい値b以上3.0未満であるときは、入力画像の複雑
さが非常に大きいと考えられ、このような入力画像にノ
イズを重畳しても、視覚的にノイズが目立たないので、
重畳するノイズの種類を、ブルーノイズに決定して、ノ
イズの強さの最大値を、1以上3以下に決定する場合
と、ノイズを重畳しないようにする場合とのいずれかに
決定する。このブルーノイズの重畳およびノイズ無しの
いずれかとする決定は、たとえば予め選択されているよ
うにしてもよい。
When the fractal dimension Dim of the input image is not less than the second threshold value b and less than 3.0, it is considered that the complexity of the input image is very large, and noise is superimposed on such an input image. Also, since the noise is not noticeable visually,
The type of noise to be superimposed is determined to be blue noise, and the maximum value of the noise intensity is determined to be 1 or more and 3 or less, or to prevent noise from being superimposed. The determination as to whether the superposition of blue noise or the absence of noise may be performed in advance, for example.

【0076】上述のような予め設定されている図8およ
び表1、ならびに図9および表2を用いたノイズの強さ
の決定は、各ノイズパラメータが設定された後に行われ
る。図8および図9のように、フラクタル次元Dimに
対するノイズの強さをノイズの強さの絶対値の最大値が
1となるように規格化することによって、表1および表
2のノイズの強さの最大値を図8および図9のグラフで
示される計算式に乗算するだけで、ノイズの強さを容易
に決定することができる。
The determination of the noise intensity using the previously set FIG. 8 and Table 1, and FIG. 9 and Table 2 as described above is performed after each noise parameter is set. As shown in FIGS. 8 and 9, by normalizing the noise intensity with respect to the fractal dimension Dim so that the maximum absolute value of the noise intensity is 1, the noise intensity of Tables 1 and 2 is obtained. The noise intensity can be easily determined only by multiplying the maximum value of ω by the calculation formula shown in the graphs of FIGS. 8 and 9.

【0077】図10は、図1の画像処理方法の手順のメ
インルーチンにおけるステップs4のノイズ生成工程の
サブルーチンを示すフローチャートである。画像処理方
法の手順のメインルーチンにおけるステップs4のノイ
ズ生成工程は、ステップs3のノイズパラメータ設定工
程で決定された種類および強さのノイズを生成する。図
10に示すノイズ生成工程の手順は、ステップc0で開
始されてステップc1に進む。
FIG. 10 is a flow chart showing a subroutine of the noise generating step of step s4 in the main routine of the procedure of the image processing method of FIG. The noise generation step of step s4 in the main routine of the procedure of the image processing method generates noise of the type and intensity determined in the noise parameter setting step of step s3. The procedure of the noise generation process shown in FIG. 10 starts at step c0 and proceeds to step c1.

【0078】図11は、ノイズマトリクスを示す図であ
り、図12は、周波数帯域の分割状態を示す図である。
ノイズマトリクスは、後述する画像処理方法のメインル
ーチンにおけるステップs5のノイズ重畳工程におい
て、入力画像にノイズを重畳するときに用いられる。ノ
イズマトリクスは、H個の列およびK個の行を有し、本
実施の形態においては、H=K=64の要素(h,k)
を有し、各要素(h,k)には、ノイズ値Noise
(h,k)が設定される。hは、0以上(H−1)以下
の値をとり、kは、0以上(K−1)以下の値をとる。
このノイズマトリクスの列の数Hおよび行の数Kは、予
めユーザに設定させるようにしてもよい。
FIG. 11 is a diagram showing a noise matrix, and FIG. 12 is a diagram showing how the frequency band is divided.
The noise matrix is used when noise is superimposed on the input image in the noise superimposing step of step s5 in the main routine of the image processing method described later. The noise matrix has H columns and K rows, and in the present embodiment, H = K = 64 elements (h, k).
And each element (h, k) has a noise value Noise.
(H, k) is set. h has a value of 0 or more (H-1) or less, and k has a value of 0 or more (K-1) or less.
The number H of columns and the number K of rows of this noise matrix may be set in advance by the user.

【0079】ステップc1では、空間周波数帯域を互い
に重なり合わないよう複数の帯域に等分割し、パワース
ペクトルが空間周波数に逆比例するように、分割された
各帯域のパワースペクトルの値を設定し、ステップc2
に進む。ステップc1において分割される空間周波数帯
域は、入力画像にノイズを重畳して得られる出力画像の
解像度に依存する。たとえば横方向および縦方向の解像
度が600dpiの出力画像であるとすると、この出力
画像の空間周波数の範囲は、横方向および縦方向とも
に、−11.82[lines/mm]以上11.82
[lines/mm]以下である。
In step c1, the spatial frequency bands are equally divided into a plurality of bands so as not to overlap each other, and the power spectrum values of the respective divided bands are set so that the power spectrum is inversely proportional to the spatial frequency. Step c2
Proceed to. The spatial frequency band divided in step c1 depends on the resolution of the output image obtained by superimposing noise on the input image. For example, assuming that the output image has a horizontal and vertical resolution of 600 dpi, the spatial frequency range of this output image is -11.82 [lines / mm] or more and 11.82 in both the horizontal and vertical directions.
It is below [lines / mm].

【0080】またフーリエ変換の性質から、パワースペ
クトルを設定する帯域の範囲は、画像形成装置の空間周
波数帯域の半分、すなわちナイキスト周波数でよい。本
実施の形態において、分割する周波数帯域は、次式
(7)で表す。 −μN≦μ≦μN,0≦ν≦νN …(7)
From the property of Fourier transform, the range of the band for setting the power spectrum may be half the spatial frequency band of the image forming apparatus, that is, the Nyquist frequency. In the present embodiment, the frequency band to be divided is expressed by the following equation (7). −μ N ≦ μ ≦ μ N , 0 ≦ ν ≦ ν N (7)

【0081】上式(7)において、μは、横方向の空間
周波数を表し、μNは、横方向のナイキスト周波数を表
し、νは、縦方向の空間周波数を表し、νNは、縦方向
のナイキスト周波数を表す。上式(7)で表される周波
数帯域を、H×K/2個に等分割し、分割された各帯域
におけるパワースペクトルを設定する。
In the above equation (7), μ represents a horizontal spatial frequency, μ N represents a horizontal Nyquist frequency, ν represents a vertical spatial frequency, and ν N represents a vertical direction. Represents the Nyquist frequency of. The frequency band represented by the above equation (7) is equally divided into H × K / 2 pieces, and the power spectrum in each divided band is set.

【0082】分割された帯域(m,n)におけるパワー
スペクトルF(m,n)は、表3に示されるように、入
力画像に重畳されるノイズの種類に対して予め設定され
るノイズ生成パラメータα,βを用いて、次式(8)で
表すように設定する。
As shown in Table 3, the power spectrum F (m, n) in the divided band (m, n) is a noise generation parameter preset for the type of noise superimposed on the input image. Using α and β, it is set as expressed by the following equation (8).

【0083】[0083]

【表3】 [Table 3]

【0084】[0084]

【数5】 [Equation 5]

【0085】上式(8)において、mは、分割された帯
域の横方向の座標を表し、nは、分割された帯域の縦方
向の座標を示し、Δμは、分割された各帯域の横方向の
長さを表し、Δνは、分割された各帯域の縦方向の長さ
を表す。
In the above equation (8), m is the horizontal coordinate of the divided band, n is the vertical coordinate of the divided band, and Δμ is the horizontal coordinate of each divided band. Represents the length in the direction, and Δν represents the length in the vertical direction of each divided band.

【0086】ステップc2では、ステップc1で分割さ
れた帯域(m,n)における位相φ(m,n)を次式
(9)で表されるように設定して、ステップc3に進
む。
At step c2, the phase φ (m, n) in the band (m, n) divided at step c1 is set as expressed by the following equation (9), and the process proceeds to step c3.

【0087】[0087]

【数6】 [Equation 6]

【0088】上式(9)において、RANDは、乱数を
表し、2πRANDは、0以上2π以下の範囲の乱数を
表す。上式(9)において、m=0かつn=0のときに
φ(m,n)を0とするのは、直流成分のノイズを重畳
することによって、画像データ全体の濃度値が変らない
ようにするためである。
In the above equation (9), RAND represents a random number, and 2πRAND represents a random number in the range of 0 or more and 2π or less. In the above equation (9), φ (m, n) is set to 0 when m = 0 and n = 0 so that the density value of the entire image data does not change by superimposing the noise of the DC component. This is because

【0089】ステップc3では、ノイズマトリクスを構
成する各要素(h,k)におけるノイズ値Noise
(h,k)を、次式(10)に基いて算出して、ノイズ
マトリクスを生成して、ステップc4に進む。
At step c3, the noise value Noise in each element (h, k) forming the noise matrix
(H, k) is calculated based on the following equation (10) to generate a noise matrix, and the process proceeds to step c4.

【0090】[0090]

【数7】 [Equation 7]

【0091】上式(10)において、W(m,n)は、
各帯域(m,n)の重み係数であり、次式(11)で表
される。
In the above equation (10), W (m, n) is
It is a weighting coefficient of each band (m, n) and is expressed by the following equation (11).

【0092】[0092]

【数8】 [Equation 8]

【0093】ステップc4では、ステップc3で算出し
たノイズマトリクスにおける各要素(h,k)における
ノイズ値Noise(h,k)を、−1以上1以下の範
囲に正規化して、ステップc5に進む。ステップc5で
は、ステップc4において正規化したノイズマトリクス
における各要素(h,k)におけるノイズ値Noise
(h,k)に、任意の値を乗算して、ノイズの増幅を行
い、ステップc6に進み、ノイズ生成工程の手順を終了
し、図1に示す画像処理方法のメインルーチンに復帰す
る。ステップc4においてノイズ値Noise(h,
k)を正規化することによって、ステップc5における
ノイズの増幅を、正規化したノイズ値に任意の値を乗算
するだけで容易に行うことができる。
In step c4, the noise value Noise (h, k) in each element (h, k) in the noise matrix calculated in step c3 is normalized to a range of -1 or more and 1 or less, and the process proceeds to step c5. In step c5, the noise value Noise in each element (h, k) in the noise matrix normalized in step c4
(H, k) is multiplied by an arbitrary value to amplify noise, and the process proceeds to step c6 to end the procedure of the noise generation process and return to the main routine of the image processing method shown in FIG. In step c4, the noise value Noise (h,
By normalizing k), the noise amplification in step c5 can be easily performed only by multiplying the normalized noise value by an arbitrary value.

【0094】画像処理方法のメインルーチンにおけるス
テップs5のノイズ重畳工程では、入力画像における処
理対象となる画素に対応するノイズ値を、図11に示す
ノイズマトリクスから読み出して、処理対象となる画素
にノイズ値Noise(h,k)を加算して、入力画像
にノイズを重畳し、ステップs6に進み、画像処理方法
の全ての手順を終了する。
In the noise superimposing step of step s5 in the main routine of the image processing method, the noise value corresponding to the pixel to be processed in the input image is read from the noise matrix shown in FIG. The value Noise (h, k) is added to superimpose noise on the input image, and the process proceeds to step s6 to end all the steps of the image processing method.

【0095】以上のように本実施の形態の画像処理方法
によれば、解析工程では、入力画像のフラクタル次元を
求め、ノイズパラメータ設定工程では、フラクタル次元
に基づいて、入力画像に重畳するノイズの種類およびノ
イズの強さを決定する。フラクタル次元は、入力画像の
複雑さを定量的に表すので、入力画像に重畳するノイズ
の種類およびノイズの強さを決定するために試行錯誤す
ることなく、入力画像の複雑さに適応するノイズの種類
およびノイズの強さを円滑に決定することができる。こ
のように決定された種類のノイズを決定された強さで入
力画像に重畳することで、入力画像を視覚的に好ましい
画像に変換することができる。
As described above, according to the image processing method of this embodiment, the fractal dimension of the input image is obtained in the analysis step, and the noise superimposed on the input image is calculated in the noise parameter setting step based on the fractal dimension. Determine type and noise intensity. Since the fractal dimension quantitatively represents the complexity of the input image, the noise that adapts to the complexity of the input image can be determined without trial and error to determine the type of noise and noise intensity to be superimposed on the input image. The type and the strength of noise can be smoothly determined. By superimposing the type of noise thus determined on the input image with the determined strength, the input image can be converted into a visually preferable image.

【0096】また本実施の形態の画像処理方法によれ
ば、まずフラクタル次元に基いて表1および表2のよう
に予め用意されているノイズの種類から入力画像の複雑
さに適する種類のノイズを段階的に決定し、その後、ノ
イズの強さを図8および図9に示されるようなグラフを
示す計算式に当てはめて無段階的に決定することで、ノ
イズの種類とノイズの強さとを対応させて無段階的に決
定する場合に比べて、計算量が極めて少なくすることが
できるとともに、計算式として表現しにくいノイズの種
類をできるだけ少ない種類に抑えて、ノイズの強さを無
段階的に変化させることで、入力画像に質感を持たせる
などの予め定める視覚効果が得られるようなノイズの種
類および強さを決定することができる。
Further, according to the image processing method of the present embodiment, first, based on the fractal dimension, the types of noise prepared in advance as shown in Tables 1 and 2 are selected to suit the complexity of the input image. Corresponding the noise type to the noise intensity by making a stepwise decision and then applying the noise intensity to a calculation formula showing a graph as shown in FIGS. 8 and 9 to make a stepless determination. The amount of calculation can be significantly reduced compared to the case where the noise is determined steplessly, and the number of types of noise that are difficult to express as a calculation formula is suppressed to the smallest possible number, and the noise intensity is changed steplessly. By changing the type, it is possible to determine the type and intensity of noise such that a predetermined visual effect such as giving a texture to the input image can be obtained.

【0097】本実施の形態の画像処理方法において、図
1の画像処理方法のフローチャートにおけるステップs
2の解析工程の後に、フラクタル次元に基づいて、入力
画像にノイズを重畳する重畳処理の必要度を決定し、こ
の必要度に基づいて、重畳処理をするか否かを決定する
処理決定工程を含むようにしてもよい。
In the image processing method of this embodiment, step s in the flowchart of the image processing method of FIG.
After the analysis step of 2, a process determining step of determining the necessity of the superimposing process for superimposing noise on the input image based on the fractal dimension, and determining whether or not to perform the superimposing process based on the necessity. It may be included.

【0098】これによって重畳処理の必要度が高い場
合、換言すれば、入力画像にノイズを重畳することが好
ましい場合には重畳処理を行い、重畳処理の必要度が低
い場合、換言すれば、入力画像にノイズを重畳しないほ
うが好ましい場合には重畳処理を行わないので、入力画
像を視覚的に好ましい画像に確実に変換することができ
る。
Accordingly, when the necessity of the superimposing process is high, in other words, when it is preferable to superpose noise on the input image, the superimposing process is performed, and when the necessity of the superimposing process is low, in other words, the input image is input. If it is preferable not to superpose noise on the image, the superimposing process is not performed, so that the input image can be surely converted into a visually preferable image.

【0099】処理決定工程は、解析工程の後であれば、
他の工程に対する順序は限定されることはないが、ノイ
ズ重畳工程までの工程数を少なくするために、ノイズパ
ラメータ設定工程の前に処理決定工程を行うようにして
もよい。またこのような処理決定工程は、重畳処理の必
要度をユーザに報知し、ユーザに重畳処理をするか否か
を入力させるようにしてもよい。またたとえば必要度を
フラクタル次元として、フラクタル次元が第2しきい値
b以上、すなわち必要度が第2しきい値b以上であれ
ば、重畳処理を行わないとするように、必要度に対して
しきい値を設定して、必要度がしきい値を越えるか否か
によって、重畳処理をするか否かを決定するようにして
もよい。
If the process determining step is after the analyzing step,
Although the order of the other steps is not limited, the process determining step may be performed before the noise parameter setting step in order to reduce the number of steps up to the noise superimposing step. Further, in such a process determination step, the necessity degree of the superimposing process may be notified to the user, and the user may be prompted to input whether or not to perform the superimposing process. Further, for example, if the necessity degree is a fractal dimension and the fractal dimension is equal to or larger than the second threshold value b, that is, if the necessity degree is equal to or larger than the second threshold value b, the superimposition processing is not performed. A threshold value may be set and whether or not to perform the superimposing process may be determined depending on whether or not the necessity degree exceeds the threshold value.

【0100】また本実施の形態の画像処理方法におい
て、表1および表2に示される、各ノイズパラメータに
おける、ノイズの種類、およびノイズの強さの最大値
は、ユーザが任意に設定できるようにしてもよい。また
図8および図9に示される、フラクタル次元とノイズの
強さとの関係は、ユーザが任意に設定できるようにして
もよい。
In the image processing method of the present embodiment, the types of noise and the maximum value of noise intensity in each noise parameter shown in Tables 1 and 2 can be arbitrarily set by the user. May be. Further, the relationship between the fractal dimension and the noise intensity shown in FIGS. 8 and 9 may be arbitrarily set by the user.

【0101】上述の画像処理方法は、所定のプログラム
言語によって記述して、このプログラムをコンピュータ
に実行させる。これによって画像処理方法の各工程を自
動的に行うことができる。またこのプログラムを、コン
ピュータ読取可能な記録媒体に記録することによって、
この記録媒体をコンピュータに読取らせて、記録媒体に
記録されるプログラムをコンピュータに実行させること
ができる。また記録媒体を介して、複数のコンピュータ
にプログラムを容易に供給することができる。
The above-described image processing method is described in a predetermined programming language and causes the computer to execute this program. This allows each step of the image processing method to be automatically performed. By recording this program in a computer-readable recording medium,
It is possible to cause the computer to read the recording medium and execute the program recorded in the recording medium. Further, the program can be easily supplied to a plurality of computers via the recording medium.

【0102】記録媒体は、たとえばマスクROM、EP
ROM、EEPROMおよびフラッシュROMなどのデ
ータの記録および消去が可能な半導体メモリを有するメ
モリカード、フレキシブルディスクなどの磁気ディス
ク、CD−ROMおよびDVDなどの光ディスク、なら
びにMOなどの光磁気ディスクで実現される。
The recording medium is, for example, a mask ROM or EP.
It is realized by a memory card having a semiconductor memory capable of recording and erasing data such as ROM, EEPROM and flash ROM, a magnetic disk such as a flexible disk, an optical disk such as CD-ROM and DVD, and a magneto-optical disk such as MO. .

【0103】またプログラムのコンピュータへの供給
は、記録媒体を介して行うだけでなく、コンピュータが
接続されるコンピュータネットワークを介して行っても
よい。この場合、コンピュータネットワークを介してコ
ンピュータに供給されたプログラムは、コンピュータに
備えられるハードディスクドライブなどの記憶装置に記
憶するようにしてもよい。
The program may be supplied to the computer not only via a recording medium but also via a computer network to which the computer is connected. In this case, the program supplied to the computer via the computer network may be stored in a storage device such as a hard disk drive provided in the computer.

【0104】コンピュータに画像処理方法を実行させる
ときの入力画像は、たとえばコンピュータに接続可能な
スキャナ装置およびデジタルカメラからコンピュータに
与えられるようにしてもよいし、コンピュータネットワ
ークを介してコンピュータに与えられるようにしてもよ
い。またノイズが重畳された入力画像は、たとえばコン
ピュータに接続される陰極線管を有する表示装置および
液晶表示装置などで実現される表示手段によって表示
し、コンピュータに接続されるインクジェット方式およ
び電子写真方式のプリンタ装置などによって記録紙に画
像形成するようにしてもよい。
The input image when the computer executes the image processing method may be provided to the computer from a scanner device or a digital camera connectable to the computer, or may be provided to the computer via a computer network. You may An input image on which noise is superimposed is displayed by a display unit including a display device having a cathode ray tube connected to a computer and a liquid crystal display device, and is connected to a computer by an inkjet or electrophotographic printer. An image may be formed on the recording paper by an apparatus or the like.

【0105】前記表示手段は、重畳処理の必要度を表示
したり、ノイズパラメータ設定工程において決定された
ノイズの種類およびノイズの強さの最大値を表示したり
してもよい。またコンピュータに備えられるキーボード
およびマウスなどの入力手段から、ノイズの種類および
ノイズの強さの最大値を入力するようにしてもよい。
The display means may display the necessity degree of the superimposing process or the maximum value of the noise type and the noise intensity determined in the noise parameter setting step. Alternatively, the maximum value of the noise type and the noise intensity may be input from an input means such as a keyboard and a mouse provided in the computer.

【0106】図13は、本発明の実施の一形態の画像処
理装置10を備える画像形成装置50の構成を示すブロ
ック図である。画像形成装置50は、画像処理装置1
0、操作パネル21、画像入力装置30および画像出力
装置40を含んで構成される。画像形成装置50は、画
像入力装置30から入力された入力画像に、画像処理装
置10によって入力画像のフラクタル次元に基いて決定
された種類および強さのノイズを重畳して、画像出力装
置40によってノイズが重畳された入力画像を記録紙に
画像形成する。
FIG. 13 is a block diagram showing the arrangement of an image forming apparatus 50 including the image processing apparatus 10 according to the embodiment of the present invention. The image forming apparatus 50 is the image processing apparatus 1.
0, an operation panel 21, an image input device 30, and an image output device 40. The image forming apparatus 50 superimposes, on the input image input from the image input apparatus 30, noise of the type and intensity determined by the image processing apparatus 10 based on the fractal dimension of the input image, and the image output apparatus 40 outputs the superimposed noise. An input image on which noise is superimposed is formed on a recording paper.

【0107】画像入力装置30は、たとえば画像が形成
されている原稿に光を照射して、主走査方向に複数個並
ぶ光電変換素子(略称:CCD)を有するスキャナヘッ
ドを、副走査方向に変位させながら、原稿からの反射光
をRGBのアナログの反射率信号に変換して出力するス
キャナ装置で実現される。画像出力装置40は、たとえ
ば記録紙にインクを付着させて画像を形成するインクジ
ェット方式のプリンタ装置で実現される。
The image input device 30 irradiates a document on which an image is formed with light, for example, and displaces a scanner head having a plurality of photoelectric conversion elements (abbreviation: CCD) arranged in the main scanning direction in the sub scanning direction. The scanner device that converts the reflected light from the document into RGB analog reflectance signals and outputs the converted signals is also realized. The image output device 40 is realized by, for example, an inkjet printer device that forms an image by adhering ink to recording paper.

【0108】画像処理装置10は、A/D変換部11、
シェーディング補正部12、入力階調補正部13、フラ
クタル次元解析部14、色補正部15、像域分離処理部
16、墨生成下色処理部17、空間フィルタ処理部1
8、ノイズ重畳処理部19、中間調出力階調処理部20
および操作パネル21を含んで構成される。
The image processing apparatus 10 includes an A / D converter 11,
Shading correction unit 12, input tone correction unit 13, fractal dimension analysis unit 14, color correction unit 15, image area separation processing unit 16, black generation undercolor processing unit 17, spatial filter processing unit 1.
8, noise superposition processing unit 19, halftone output gradation processing unit 20
And an operation panel 21.

【0109】A/D変換部11は、画像入力装置30か
らの入力画像のアナログの反射率信号をデジタルの反射
率信号に変換して、シェーディング補正部12に与え
る。シェーディング補正部12は、A/D変換部11か
らの反射率信号に、シェーディング補正処理を施して、
入力階調補正部13に与える。シェーディング補正処理
は、画像入力装置30の照明系、結像系および撮像系の
構成に起因して、入力画像の反射率信号に生じる各種歪
みを取り除く。入力階調補正部13は、シェーディング
補正部12からの反射率信号に、入力階調補正処理を施
して出力する。入力階調補正処理は、反射率信号を、た
とえばRGBの各色の濃度を示すRGB濃度信号などの
画像処理に適した信号に変換する処理である。また入力
階調補正処理は、反射率信号に、さらにカラーバランス
処理を施すようにしてもよい。
The A / D converter 11 converts the analog reflectance signal of the input image from the image input device 30 into a digital reflectance signal and supplies it to the shading correction unit 12. The shading correction unit 12 performs shading correction processing on the reflectance signal from the A / D conversion unit 11,
It is applied to the input gradation correction unit 13. The shading correction process removes various distortions generated in the reflectance signal of the input image due to the configurations of the illumination system, the imaging system, and the imaging system of the image input device 30. The input gradation correction unit 13 performs input gradation correction processing on the reflectance signal from the shading correction unit 12 and outputs the result. The input tone correction process is a process of converting the reflectance signal into a signal suitable for image processing, such as an RGB density signal indicating the density of each color of RGB. In the input tone correction processing, color balance processing may be further performed on the reflectance signal.

【0110】図14は、フラクタル次元解析部14の構
成を示すブロック図である。解析手段、種類決定手段、
強度決定手段および判定手段であるフラクタル次元解析
部14は、輝度値変換部141および解析部142を含
んで構成される。フラクタル次元解析部14は、入力階
調補正部13からのRGB濃度信号を後述する色補正部
15に与える。またフラクタル次元解析部14は、入力
階調補正部13からのRGB濃度信号から入力画像のフ
ラクタル次元を求め、フラクタル次元に基づいて、入力
画像を視覚的に好ましい画像に変換するために、入力画
像に重畳するノイズの種類を決定するとともに、フラク
タル次元に基づいて、入力画像に対するノイズによる変
換の度合いを示すノイズの強さを決定する。さらにフラ
クタル次元解析部14は、フラクタル次元に基いて、入
力画像にノイズを重畳する重畳処理の必要度を決定し、
入力画像のフラクタル次元、入力画像に重畳するノイズ
の種類、入力画像に重畳する種類のノイズの強さ、およ
び重畳処理の必要度を含む解析信号を後述するノイズ重
畳処理部19および操作パネル21に与える。
FIG. 14 is a block diagram showing the configuration of the fractal dimension analyzing unit 14. Analysis means, type determination means,
The fractal dimension analysis unit 14, which is the intensity determination unit and the determination unit, is configured to include a brightness value conversion unit 141 and an analysis unit 142. The fractal dimension analysis unit 14 gives the RGB density signals from the input tone correction unit 13 to the color correction unit 15 described later. In addition, the fractal dimension analysis unit 14 obtains the fractal dimension of the input image from the RGB density signals from the input tone correction unit 13, and converts the input image into a visually preferable image based on the fractal dimension. The type of noise to be superimposed on is determined, and the intensity of noise indicating the degree of conversion by the noise to the input image is determined based on the fractal dimension. Further, the fractal dimension analysis unit 14 determines the necessity degree of the superimposing process for superimposing noise on the input image based on the fractal dimension,
An analysis signal including the fractal dimension of the input image, the type of noise to be superimposed on the input image, the strength of the type of noise to be superimposed on the input image, and the necessity of the superimposing process is sent to the noise superimposing processing unit 19 and the operation panel 21 described later. give.

【0111】輝度値変換部141は、入力階調補正部1
3からのRGB濃度信号に示される各色の濃度値を、1
つの輝度値に変換することで、入力画像を白黒濃淡画像
に変換して、白黒濃淡画像となった入力画像を示す白黒
入力画像信号を出力する。輝度値変換部141におい
て、図1に示す画像処理方法のフローチャートにおける
ステップs1の白黒濃淡画像変換工程が行われる。解析
部142は、輝度値変換部141からの白黒入力画像信
号から、フラクタル次元を求め、フラクタル次元に基づ
いて、入力画像を視覚的に好ましい画像に変換するため
に、入力画像に重畳するノイズの種類を決定するととも
に、フラクタル次元に基づいてノイズの強さを決定す
る。また解析部142は、フラクタル次元に基いて、入
力画像にノイズを重畳する重畳処理の必要度を決定す
る。さらに解析部42は、入力画像のフラクタル次元、
入力画像に重畳するノイズの種類、入力画像に重畳する
種類のノイズの強さ、および重畳処理の必要度を含む解
析信号をノイズ重畳処理部19および操作パネル21に
与える。解析部142において、図1に示す画像処理方
法のフローチャートにおけるステップs2の解析工程、
およびステップs3のノイズパラメータ設定工程が行わ
れ、詳細には、図2および図7に示すフローチャートに
沿って行われる。
The brightness value conversion unit 141 is the input gradation correction unit 1.
The density value of each color shown in the RGB density signals from 3 is set to 1
The input image is converted into a monochrome grayscale image by converting it into one luminance value, and a monochrome input image signal indicating the input image that has become the monochrome grayscale image is output. In the brightness value conversion unit 141, the monochrome grayscale image conversion process of step s1 in the flowchart of the image processing method shown in FIG. 1 is performed. The analysis unit 142 obtains a fractal dimension from the black-and-white input image signal from the luminance value conversion unit 141, and based on the fractal dimension, converts the input image into a visually preferable image. In addition to determining the type, noise intensity is determined based on the fractal dimension. Further, the analysis unit 142 determines the necessity degree of the superimposing process for superimposing noise on the input image based on the fractal dimension. Further, the analysis unit 42 uses the fractal dimension of the input image,
An analysis signal including the type of noise to be superimposed on the input image, the strength of the type of noise to be superimposed on the input image, and the necessity of the superimposing process is given to the noise superimposing processing unit 19 and the operation panel 21. In the analysis unit 142, the analysis step of step s2 in the flowchart of the image processing method shown in FIG.
And the noise parameter setting step of step s3 is performed, and in detail, it is performed according to the flowcharts shown in FIG. 2 and FIG.

【0112】色補正部15は、フラクタル次元解析部1
4からのRGB濃度信号を、シアン、マゼンダおよびイ
エローの濃度を示すCNY濃度信号に変換するととも
に、画像出力装置40において色再現が忠実に行われる
ようにするために、CMY濃度信号に色補正処理を施し
て、CMY濃度信号を墨生成下色処理部17および像域
分離処理部16に与える。色補正処理は、具体的には、
不要吸収成分をそれぞれ含むシアン、マゼンダおよびイ
エロー(CMY)のインクおよびトナーの分光特性に基
く色濁りを、CMY濃度信号から取り除く。
The color correction unit 15 includes the fractal dimension analysis unit 1.
4 is converted into CNY density signals indicating the densities of cyan, magenta, and yellow, and color correction processing is performed on the CMY density signals in order to faithfully reproduce colors in the image output device 40. Then, the CMY density signal is given to the black generation undercolor processing unit 17 and the image area separation processing unit 16. Specifically, the color correction process is
Color turbidity based on the spectral characteristics of cyan, magenta, and yellow (CMY) inks and toners that respectively contain unnecessary absorption components is removed from the CMY density signal.

【0113】像域分離処理部16は、色補正部15から
のCMY濃度信号を、画素毎または複数の画素からなる
ブロック毎に、文字領域、網点領域、ならびに文字およ
び網点を除く領域に分離する領域分離処理を行い、その
分離結果である領域識別信号を、墨生成下色処理部1
7、空間フィルタ処理部18および中間調出力階調処理
部20に与える。
The image area separation processing section 16 applies the CMY density signal from the color correction section 15 to a character area, a halftone area, and an area excluding the character and the halftone dot for each pixel or for each block composed of a plurality of pixels. Region separation processing for separation is performed, and the region identification signal that is the separation result is used as the black generation and undercolor processing unit 1.
7, the spatial filter processing unit 18 and the halftone output gradation processing unit 20.

【0114】墨生成下色処理部17は、色補正部15か
らのCMY濃度信号に含まれるCMY色信号に基いて、
黒色の色信号を生成する墨生成処理を行うとともに、C
MY色信号に対して、下色除去処理を施す。下色除去処
理は、CMY色信号から墨生成処理において生成された
黒色の色信号を差し引いて、新たなCMY色信号を得る
処理である。このように墨生成下色処理部17は、色補
正部15からのCMY濃度信号を、黒色の色信号と、黒
色の色信号を差し引いたCMY色信号とを含む、CMY
K色信号に変換して、空間フィルタ処理部18に与え
る。
The black generation and undercolor processing unit 17 determines, based on the CMY color signals included in the CMY density signals from the color correction unit 15,
In addition to performing black generation processing for generating a black color signal, C
Undercolor removal processing is performed on the MY color signals. The undercolor removal processing is processing for subtracting the black color signal generated in the black generation processing from the CMY color signal to obtain a new CMY color signal. As described above, the black generation and undercolor processing unit 17 includes the CMY density signal from the color correction unit 15 including the CMY color signal obtained by subtracting the black color signal and the black color signal.
It is converted to a K color signal and given to the spatial filter processing unit 18.

【0115】空間フィルタ処理部18は、墨生成下色処
理部17からの入力画像のCMYK色信号に、デジタル
フィルタを用いて空間フィルタ処理を施し、空間フィル
タ処理が施されたCMYK色信号をノイズ重畳処理部1
9に与える。これによって画像の空間周波数特性が補正
されるので、画像出力装置40が記録紙に画像形成した
ときに、形成された画像に、ぼやけおよび粒状性劣化が
生じることを防止することができる。空間フィルタ処理
は、像域分離処理部16からの領域識別信号に基いて行
うようにしてもよい。
The spatial filter processing section 18 performs spatial filter processing on the CMYK color signal of the input image from the black generation and undercolor processing section 17 using a digital filter, and noises the CMYK color signal subjected to the spatial filter processing. Superposition processing unit 1
Give to 9. Since the spatial frequency characteristic of the image is corrected by this, when the image output device 40 forms an image on the recording paper, it is possible to prevent the formed image from being blurred and from having graininess deterioration. The spatial filter processing may be performed based on the area identification signal from the image area separation processing unit 16.

【0116】図15は、ノイズ重畳処理部19の構成を
示すブロック図である。重畳処理手段であるノイズ重畳
処理部19は、制御部191、記憶部192、ノイズ生
成部193およびノイズ重畳部194を含んで構成され
る。ノイズ重畳処理部19は、フラクタル次元解析部1
4からの解析信号に含まれる、入力画像に重畳するノイ
ズの種類、および入力画像に重畳する種類のノイズの強
さ、ならびに操作パネル21からの制御信号に含まれる
処理情報に基いて、入力画像にノイズが重畳されるよう
に、空間フィルタ処理部18からのCMYK色信号に重
畳処理を施す。
FIG. 15 is a block diagram showing the structure of the noise superposition processing section 19. The noise superimposition processing unit 19, which is a superimposition processing unit, includes a control unit 191, a storage unit 192, a noise generation unit 193, and a noise superposition unit 194. The noise superposition processing unit 19 is a fractal dimension analysis unit 1.
The input image based on the type of noise to be superimposed on the input image and the intensity of the type of noise to be superimposed on the input image included in the analysis signal from 4 and the processing information included in the control signal from the operation panel 21. Superimposition processing is performed on the CMYK color signals from the spatial filter processing unit 18 so that noise is superposed on.

【0117】制御部191は、フラクタル次元解析部1
4からの解析信号に含まれる入力画像のフラクタル次元
および重畳処理の必要度、ならびに後述する操作パネル
21からの制御信号に含まれる処理情報に基いて、ノイ
ズ生成部193にノイズを生成させるか否かの生成制御
信号を与える。
The control unit 191 includes the fractal dimension analysis unit 1
Whether or not the noise generation unit 193 is caused to generate noise based on the fractal dimension of the input image included in the analytic signal from 4 and the necessity of the superimposition processing, and the processing information included in the control signal from the operation panel 21 described later. It gives a generation control signal.

【0118】記憶部192は、フラクタル次元とノイズ
の強さとの関係を記憶する。具体的には、上述の画像処
理方法における図8および図9に示すグラフ、またはこ
のグラフに相当するルックアップテーブル(look up ta
ble;略称:LUT)として記憶される。
The storage unit 192 stores the relationship between the fractal dimension and the noise intensity. Specifically, the graphs shown in FIGS. 8 and 9 in the above-described image processing method, or a look-up table (look up ta) corresponding to this graph.
ble; abbreviated name: LUT).

【0119】ノイズ生成部193は、制御部191を介
してフラクタル次元解析部14から与えられる解析信号
に含まれるノイズの種類およびノイズの強さの最大値
(表1および表2参照)、ならびに記憶部192に記憶
されるフラクタル次元とノイズの強さとの関係に基い
て、ブルーノイズ、ホワイトノイズおよび1/fノイズ
を制御部191からの生成制御信号に基いて生成し、ノ
イズを生成した場合には、ノイズを示す重畳ノイズ信号
をノイズ重畳部194に与える。
The noise generation unit 193 stores the type of noise and the maximum value of noise intensity included in the analytic signal supplied from the fractal dimension analysis unit 14 via the control unit 191 (see Tables 1 and 2), and stores it. When noise is generated by generating blue noise, white noise, and 1 / f noise based on the generation control signal from the control unit 191, based on the relationship between the fractal dimension stored in the unit 192 and the strength of noise. Gives a superimposed noise signal indicating noise to the noise superimposing unit 194.

【0120】ノイズ重畳部194は、空間フィルタ処理
部18からの入力画像のCMYK色信号に、ノイズ生成
部193からの重畳ノイズ信号を付加することによっ
て、入力画像にノイズを重畳して、ノイズが重畳された
入力画像のCMYK色信号を、中間調出力階調処理部2
0に与える。
The noise superimposing unit 194 adds noise to the CMYK color signals of the input image from the spatial filter processing unit 18 from the noise generating unit 193, thereby superimposing noise on the input image to reduce noise. The CMYK color signals of the superimposed input image are output to the halftone output gradation processing unit 2
Give to 0.

【0121】中間調出力階調処理部20は、ノイズ重畳
処理部19からのノイズが重畳された入力画像のCMY
K色信号に、階調補正処理および中間調生成処理を施し
て、画像出力装置40に与える。中間調生成処理は、ノ
イズが重畳された入力画像を複数の画素に分割して、階
調を再現できるようにする処理であり、2値および多値
のディザ法ならびに誤差拡散法などを用いることができ
る。また中間調出力階調処理部20は、入力画像のCM
YK色信号に含まれる濃度値を、画像出力装置40の特
性値である網点面積率に変換する処理を行ってもよい。
The halftone output gradation processing unit 20 outputs the CMY of the input image on which the noise from the noise superimposing processing unit 19 is superimposed.
The K color signal is subjected to gradation correction processing and halftone generation processing, and is given to the image output device 40. The halftone generation process is a process of dividing an input image on which noise is superimposed into a plurality of pixels so that gradations can be reproduced, and uses a binary or multivalued dither method, an error diffusion method, or the like. You can Further, the halftone output gradation processing unit 20 is a CM of the input image.
The density value included in the YK color signal may be converted into a halftone dot area ratio, which is a characteristic value of the image output device 40.

【0122】表示手段および入力手段である操作パネル
21は、たとえば液晶表示装置などの表示装置およびタ
ッチパネルなどの入力装置で実現される。操作パネル2
1は、フラクタル次元解析部14からの解析信号に含ま
れる入力画像のフラクタル次元、入力画像に重畳するノ
イズの種類、入力画像に重畳するノイズの強さ、および
重畳処理の必要度を表示するとともに、ユーザに入力画
像にノイズを重畳するか否かを問うなどの内容の文章を
表示する。操作パネル21に表示される内容は、ユーザ
にノイズの種類および強さを選択させるような内容でも
よいし、ユーザに対してノイズを重畳するか否かを報知
するような内容でもよい。また操作パネル21は、ユー
ザによって入力操作され、入力画像にノイズを重畳する
重畳処理を実行するか否かの処理情報が入力されると、
処理情報を含む制御信号がノイズ重畳処理部19に与え
られる。
The operation panel 21 which is the display means and the input means is realized by a display device such as a liquid crystal display device and an input device such as a touch panel. Operation panel 2
1 indicates the fractal dimension of the input image included in the analysis signal from the fractal dimension analysis unit 14, the type of noise to be superimposed on the input image, the strength of noise to be superimposed on the input image, and the necessity degree of the superimposing process. , A sentence is displayed that asks the user whether or not noise should be superimposed on the input image. The content displayed on the operation panel 21 may be content that allows the user to select the type and strength of noise, or content that informs the user whether or not noise should be superimposed. Further, when the operation panel 21 is input by a user and processing information indicating whether or not to perform a superimposing process for superimposing noise on an input image is input,
The control signal including the processing information is given to the noise superimposition processing unit 19.

【0123】図16は、画像形成装置50における画像
処理の手順を示すフローチャートである。ステップt0
で画像処理の手順が開始されて、ステップt1に進む。
ステップt1では、操作パネル21に「ノイズ重畳処理
を行いますか?Yes/No」というメッセージを表示
する。ユーザによって操作パネル21が入力操作され、
重畳処理を行うか否かのモード選択が行われると、操作
パネル21は、重畳処理を行うか否かの処理情報を含む
制御信号をノイズ重畳処理部19に与え、ステップt2
に進む。ユーザが重畳処理を行わないというモードを選
択した場合には、重畳処理に関する手順は行われない。
FIG. 16 is a flowchart showing the procedure of image processing in the image forming apparatus 50. Step t0
Then, the image processing procedure is started, and the process proceeds to step t1.
At step t1, a message "Do you wish to perform noise superimposition processing? Yes / No" is displayed on the operation panel 21. The operation panel 21 is input by the user,
When the mode selection as to whether or not to perform the superimposing processing is performed, the operation panel 21 gives a control signal including processing information as to whether or not to perform the superimposing processing to the noise superimposing processing unit 19, and step t2.
Proceed to. When the user selects the mode in which the superimposing process is not performed, the procedure regarding the superimposing process is not performed.

【0124】ステップt1において、重畳処理がどのよ
うなものであるかの説明、および重畳処理前のサンプル
画像と重畳処理後のサンプル画像とを、操作パネル21
に表示するようにしてもよい。
At step t1, a description of what the superimposing process is, and a sample image before the superimposing process and a sample image after the superimposing process are given to the operation panel 21.
May be displayed on the screen.

【0125】ステップt2では、入力画像が複雑な画像
であるか否かを判断するために、画像入力装置30によ
る正式な入力画像の入力前に、画像入力装置30によっ
てプレスキャンを行い、ステップt3に進む。
At step t2, in order to determine whether or not the input image is a complicated image, a prescan is performed by the image input device 30 before the formal input image is input by the image input device 30, and step t3 Proceed to.

【0126】ステップt3では、ステップt2において
プレスキャンされた入力画像のフラクタル次元解析を行
い、ステップt4に進む。フラクタル次元解析は、フラ
クタル次元解析部14によって、図1に示す画像処理方
法のフローチャートにおけるステップs2の解析工程お
よびステップs3のノイズパラメータ設定工程と同様に
して行われるので、詳細な説明は省略する。
At step t3, the fractal dimension analysis of the input image prescanned at step t2 is performed, and the process proceeds to step t4. The fractal dimension analysis is performed by the fractal dimension analysis unit 14 in the same manner as the analysis step of step s2 and the noise parameter setting step of step s3 in the flowchart of the image processing method shown in FIG.

【0127】ステップt4では、ステップt3において
求められた入力画像のフラクタル次元、入力画像に重畳
するノイズの種類、入力画像に重畳するノイズの強さ、
および重畳処理の必要度を操作パネル21に表示すると
ともに、ユーザに入力画像にノイズを重畳するか否かを
問うなどの内容の文章を操作パネル21に表示して、ス
テップt5に進む。このように入力画像のフラクタル次
元、入力画像に重畳するノイズの種類、入力画像に重畳
するノイズの強さ、および重畳処理の必要度を表示する
ことによって、たとえば入力画像が非常に複雑な場合、
換言すればフラクタル次元が大きく3.0に近い値とな
る場合には、ノイズを重畳しても、視覚的に変化が見受
けられないことがあるために、操作パネル21に表示す
ることでユーザに報知し、重畳処理を行うか否かをユー
ザの判断に委ねることができる。
At step t4, the fractal dimension of the input image obtained at step t3, the type of noise superimposed on the input image, the strength of noise superimposed on the input image,
And the necessity degree of the superimposing process is displayed on the operation panel 21, and a sentence such as a question asking the user whether to superpose noise on the input image is displayed on the operation panel 21, and the process proceeds to step t5. By displaying the fractal dimension of the input image, the type of noise to be superimposed on the input image, the strength of the noise to be superimposed on the input image, and the necessity of the superimposing process, for example, when the input image is very complicated,
In other words, when the fractal dimension is large and close to 3.0, even if noise is superimposed, the change may not be visually recognized. Therefore, by displaying it on the operation panel 21, the user can see it. It is possible to notify the user and entrust it to the user to decide whether or not to perform the superimposing process.

【0128】ステップt5では、ユーザは、入力画像に
ノイズを重畳するか否かを判断して、操作パネル21を
入力操作して重畳処理を行うか否かの処理情報を入力す
る。ユーザからの処理情報を含む制御信号は、ノイズ重
畳処理部19に与えられる。ノイズ重畳処理部19は、
処理情報に基いて、重畳処理を行うか否かを判断し、重
畳処理を行うと判断するときは、ステップt6に進み、
重畳処理を行わないと判断するときには、画像出力装置
40は、ノイズが重畳されていない入力画像を記録紙に
画像形成して、ステップt7に進み、全ての手順を終了
する。
At step t5, the user determines whether or not noise should be superimposed on the input image, and inputs the processing information as to whether or not to perform the superimposing processing by inputting the operation on the operation panel 21. The control signal including the processing information from the user is given to the noise superimposition processing unit 19. The noise superimposition processing unit 19
Based on the processing information, it is determined whether or not the superimposing process is performed. When it is determined that the superimposing process is performed, the process proceeds to step t6,
When it is determined that the superimposing process is not performed, the image output device 40 forms an input image on which noise is not superimposed on the recording paper, proceeds to step t7, and ends all the procedures.

【0129】ステップt5において重畳処理を行うと判
断されて、ステップt6に進むと、ステップt6では、
ノイズ重畳処理部20は、入力画像にノイズを重畳し
て、画像出力装置40は、入力画像にノイズを重畳した
出力画像を記録紙に画像形成して、ステップt7に進
み、全ての手順を終了する。
When it is determined in step t5 that the superimposing process is to be performed, the process proceeds to step t6.
The noise superimposition processing unit 20 superimposes noise on the input image, and the image output device 40 forms an image of the output image on which noise is superposed on the input image on recording paper, and proceeds to step t7 to end all procedures. To do.

【0130】以上のように本実施の形態の画像処理装置
10によれば、フラクタル次元解析部14は、入力画像
のフラクタル次元を求め、そのフラクタル次元に基づい
て、入力画像を視覚的に好ましい画像に変換するために
入力画像に重畳するノイズの種類およびノイズの強さの
最大値を決定し、ノイズ重畳処理部19は、フラクタル
次元解析部14によって決定された種類のノイズを入力
画像に重畳する。フラクタル次元は、入力画像の複雑さ
を定量的に表すので、入力画像に重畳するノイズの種類
および強さを決定するために試行錯誤することなく、入
力画像の複雑さに適応するノイズの種類および強さを自
動的かつ円滑に決定することができる。このように決定
された種類および強さのノイズを入力画像に重畳するこ
とで、入力画像を視覚的に好ましい画像に変換すること
ができる。
As described above, according to the image processing apparatus 10 of the present embodiment, the fractal dimension analysis unit 14 obtains the fractal dimension of the input image, and based on the fractal dimension, the input image is a visually preferable image. The type of noise to be superimposed on the input image and the maximum value of the intensity of the noise for conversion into the noise are determined, and the noise superimposition processing unit 19 superimposes the type of noise determined by the fractal dimension analysis unit 14 on the input image. . Since the fractal dimension quantitatively represents the complexity of the input image, the type of noise that adapts to the complexity of the input image and the type of noise that adapts to the complexity of the input image can be obtained without trial and error to determine the type and strength of the noise to be superimposed on the input image. The strength can be determined automatically and smoothly. By superimposing the noise of the type and strength thus determined on the input image, the input image can be converted into a visually preferable image.

【0131】またフラクタル次元解析部14は、フラク
タル次元に基づいて、入力画像にノイズを重畳する重畳
処理の必要度を決定し、重畳処理の必要度は操作パネル
21に表示される。また重畳処理を実行するか否かの処
理情報は、操作パネル21からユーザの入力操作によっ
て入力され、ノイズ重畳処理部19は、操作パネル21
から重畳処理を実行する処理情報を含む制御信号が与え
られると、重畳処理をする。これによってユーザは、操
作パネル21に表示される重畳処理の必要度に応じて、
重畳処理を行うか否かを選択して、操作パネル21に処
理情報を入力することができる。
Further, the fractal dimension analysis unit 14 determines the necessity degree of the superimposing processing for superimposing noise on the input image based on the fractal dimension, and the necessity degree of the superimposing processing is displayed on the operation panel 21. Further, the processing information indicating whether or not to execute the superimposition processing is input by the user's input operation from the operation panel 21, and the noise superimposition processing unit 19 causes the operation panel 21
When a control signal including processing information for executing the superimposing process is given from, the superimposing process is performed. As a result, the user can select whether the superimposition processing displayed on the operation panel 21 is necessary.
The processing information can be input to the operation panel 21 by selecting whether or not to perform the superimposition processing.

【0132】本実施の形態の画像処理装置10を備える
画像形成装置50によれば、上述のような作用および効
果を達成できる画像形成装置を実現することができる。
これによって入力画像を視覚的に好ましい画像に変換し
て、記録紙にその画像を形成することができる。
According to the image forming apparatus 50 having the image processing apparatus 10 of the present embodiment, it is possible to realize the image forming apparatus capable of achieving the above-described actions and effects.
As a result, the input image can be converted into a visually preferable image and the image can be formed on the recording paper.

【0133】本実施の形態の画像形成装置50は、画像
入力装置30としてフラットベッドスキャナ、フィルム
スキャナおよびデジタルカメラを用い、画像出力装置4
0としてインクジェット方式のプリンタ装置および電子
写真方式のプリンタ装置を用い、表示手段および入力手
段である操作パネル21の代わりに、陰極線管を有する
表示装置および液晶表示装置などで実現される表示手段
と、キーボードおよびマウスなどの入力装置で実現され
る入力手段とを用いて、これらの装置が接続されるコン
ピュータシステムによって実現されてもよい。このよう
なコンピュータシステムには、コンピュータネットワー
クを介してサーバなどの他のコンピュータに接続するた
めの通信手段を備えるようにしてもよい。
The image forming apparatus 50 of this embodiment uses a flatbed scanner, a film scanner and a digital camera as the image input apparatus 30, and uses the image output apparatus 4
An ink jet type printer device and an electrophotographic printer device are used as 0, and a display device having a cathode ray tube and a liquid crystal display device instead of the operation panel 21 which is a display device and an input device; It may be realized by a computer system to which these devices are connected by using an input unit realized by an input device such as a keyboard and a mouse. Such a computer system may include communication means for connecting to another computer such as a server via a computer network.

【0134】[0134]

【発明の効果】以上のように本発明によれば、入力画像
に重畳するノイズの種類を決定するために試行錯誤する
ことなく、入力画像の複雑さに適応するノイズの種類を
円滑に決定することができる。このように決定された種
類のノイズを入力画像に重畳することで、入力画像を視
覚的に好ましい画像に変換することができる。
As described above, according to the present invention, the type of noise adapted to the complexity of the input image can be smoothly determined without trial and error for determining the type of noise to be superimposed on the input image. be able to. By superimposing the type of noise thus determined on the input image, the input image can be converted into a visually preferable image.

【0135】また本発明によれば、入力画像に重畳する
ノイズの強さを決定するために試行錯誤することなく、
入力画像の複雑さに適応するノイズの強さを円滑に決定
することができる。このように決定された強さでノイズ
を入力画像に重畳することで、入力画像を視覚的に好ま
しい画像に変換することができる。
Further, according to the present invention, it is possible to determine the strength of noise superimposed on the input image without trial and error.
It is possible to smoothly determine the noise intensity that adapts to the complexity of the input image. By superimposing noise on the input image with the strength thus determined, the input image can be converted into a visually preferable image.

【0136】また本発明によれば、重畳処理の必要度が
高い場合、換言すれば、入力画像にノイズを重畳するこ
とが好ましい場合には重畳処理を行い、重畳処理の必要
度が低い場合、換言すれば、入力画像にノイズを重畳し
ないほうが好ましい場合には重畳処理を行わないので、
入力画像を視覚的に好ましい画像に確実に変換すること
ができる。
Further, according to the present invention, when the necessity of the superimposing processing is high, in other words, when it is preferable to superpose noise on the input image, the superimposing processing is performed, and when the necessity of the superimposing processing is low, In other words, when it is preferable not to superimpose noise on the input image, the superimposing process is not performed,
The input image can be reliably converted into a visually pleasing image.

【0137】また本発明によれば、コンピュータによっ
て、上述の効果を自動的に実現することができる。
Further, according to the present invention, the above effects can be automatically realized by the computer.

【0138】また本発明によれば、コンピュータに読取
らせて、記録されるプログラムを実行させて、上述の画
像処理方法を実行させることができる。また記録媒体を
介して、複数のコンピュータにプログラムを容易に供給
することができる。
Further, according to the present invention, it is possible to cause the computer to read and execute the recorded program to execute the above-described image processing method. Further, the program can be easily supplied to a plurality of computers via the recording medium.

【0139】また本発明によれば、入力画像に重畳する
ノイズの種類を決定するために試行錯誤することなく、
入力画像の複雑さに適応するノイズの種類を自動的かつ
円滑に決定することができる。このように決定された種
類のノイズを入力画像に重畳することで、入力画像を視
覚的に好ましい画像に変換することができる。
Further, according to the present invention, it is possible to determine the kind of noise to be superimposed on the input image without trial and error.
The type of noise adapted to the complexity of the input image can be automatically and smoothly determined. By superimposing the type of noise thus determined on the input image, the input image can be converted into a visually preferable image.

【0140】また本発明によれば、入力画像に重畳する
ノイズの強さを決定するために試行錯誤することなく、
入力画像の複雑さに適応するノイズの強さを自動的かつ
円滑に決定することができる。このように決定された強
さでノイズを入力画像に重畳することで、入力画像を視
覚的に好ましい画像に変換することができる。
Further, according to the present invention, it is possible to determine the strength of the noise superimposed on the input image without trial and error.
It is possible to automatically and smoothly determine the strength of noise that adapts to the complexity of the input image. By superimposing noise on the input image with the strength thus determined, the input image can be converted into a visually preferable image.

【0141】また本発明によれば、ユーザは、表示手段
に表示される重畳処理の必要度に応じて、重畳処理を行
うか否かを選択して、入力手段に処理情報を入力するこ
とができる。
Further, according to the present invention, the user can select whether or not to perform the superimposing processing according to the necessity of the superimposing processing displayed on the display means, and input the processing information to the input means. it can.

【0142】また本発明によれば、上述のような効果を
達成できる画像形成装置を実現することができる。これ
によって入力画像を視覚的に好ましい画像に変換して、
記録紙にその画像を形成することができる。
Further, according to the present invention, it is possible to realize an image forming apparatus capable of achieving the above effects. This transforms the input image into a visually pleasing image,
The image can be formed on the recording paper.

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

【図1】本発明の実施の一形態の画像処理方法の手順の
メインルーチンを示すフローチャートである。
FIG. 1 is a flowchart showing a main routine of a procedure of an image processing method according to an embodiment of the present invention.

【図2】図1の画像処理方法の手順のメインルーチンに
おけるステップs2の解析工程のサブルーチンを示すフ
ローチャートである。
FIG. 2 is a flow chart showing a subroutine of an analysis process of step s2 in the main routine of the procedure of the image processing method of FIG.

【図3】2値画像である解析用画像G1の一例を示す図
である。
FIG. 3 is a diagram showing an example of an analysis image G1 which is a binary image.

【図4】格子分割した解析用画像G1を示す図である。FIG. 4 is a diagram showing a grid-divided analysis image G1.

【図5】log rとlog N(r)との関係および回
帰直線を示すグラフである。
FIG. 5 is a graph showing a relationship between log r and log N (r) and a regression line.

【図6】解析用画像G2を含む画像空間Sを示す図であ
る。
FIG. 6 is a diagram showing an image space S including an analysis image G2.

【図7】図1の画像処理方法の手順のメインルーチンに
おけるステップs3のノイズパラメータ設定工程のサブ
ルーチンを示すフローチャートである。
7 is a flowchart showing a subroutine of a noise parameter setting step of step s3 in the main routine of the procedure of the image processing method of FIG.

【図8】第1〜第3ノイズパラメータの設定の第1設定
例におけるフラクタル次元とノイズの強さとの関係を示
すグラフである。
FIG. 8 is a graph showing a relationship between fractal dimension and noise intensity in a first setting example of setting first to third noise parameters.

【図9】第1〜第3ノイズパラメータの設定の第2設定
例におけるフラクタル次元とノイズの強さとの関係を示
すグラフである。
FIG. 9 is a graph showing a relationship between fractal dimension and noise intensity in a second setting example of setting first to third noise parameters.

【図10】図1の画像処理方法の手順のメインルーチン
におけるステップs4のノイズ生成工程のサブルーチン
を示すフローチャートである。
10 is a flowchart showing a subroutine of a noise generation process of step s4 in the main routine of the procedure of the image processing method of FIG.

【図11】ノイズマトリクスを示す図である。FIG. 11 is a diagram showing a noise matrix.

【図12】周波数帯域の分割状態を示す図である。FIG. 12 is a diagram showing how the frequency band is divided.

【図13】本発明の実施の一形態の画像処理装置10を
備える画像形成装置50の構成を示すブロック図であ
る。
FIG. 13 is a block diagram showing a configuration of an image forming apparatus 50 including the image processing apparatus 10 according to the embodiment of the present invention.

【図14】フラクタル次元解析部14の構成を示すブロ
ック図である。
FIG. 14 is a block diagram showing a configuration of a fractal dimension analysis unit 14.

【図15】ノイズ重畳処理部19の構成を示すブロック
図である。
FIG. 15 is a block diagram showing a configuration of a noise superimposition processing unit 19.

【図16】画像形成装置50における画像処理の手順を
示すフローチャートである。
16 is a flowchart showing a procedure of image processing in the image forming apparatus 50. FIG.

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

10 画像処理装置 14 フラクタル次元解析部 19 ノイズ重畳処理部 21 操作パネル 50 画像形成装置 10 Image processing device 14 Fractal dimension analysis unit 19 Noise superposition processing unit 21 Operation panel 50 image forming apparatus

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 入力画像のフラクタル次元を求める解析
工程と、 求めたフラクタル次元に基づいて、入力画像に重畳する
ノイズの種類を決定する種類決定工程とを含むことを特
徴とする画像処理方法。
1. An image processing method, comprising: an analyzing step of obtaining a fractal dimension of an input image; and a type determining step of determining a type of noise to be superimposed on the input image based on the obtained fractal dimension.
【請求項2】 種類決定工程の後に、フラクタル次元に
基づいて、入力画像に対するノイズによる変換の度合い
を示すノイズの強さを決定する強度決定工程を含むこと
を特徴とする請求項1記載の画像処理方法。
2. The image according to claim 1, further comprising, after the type determining step, an intensity determining step of determining a noise intensity indicating a degree of conversion of the input image due to noise, based on the fractal dimension. Processing method.
【請求項3】 解析工程の後に、フラクタル次元に基づ
いて、入力画像にノイズを重畳する重畳処理の必要度を
決定し、この必要度に基づいて、重畳処理をするか否か
を決定する処理決定工程を含むことを特徴とする請求項
1または2記載の画像処理方法。
3. After the analysis step, a process of determining the necessity of a superimposing process for superimposing noise on an input image based on the fractal dimension, and deciding whether or not to perform the superimposing process based on the necessity. The image processing method according to claim 1, further comprising a determining step.
【請求項4】 請求項1〜3のいずれかに記載の画像処
理方法をコンピュータに実行させるためのプログラム。
4. A program for causing a computer to execute the image processing method according to claim 1.
【請求項5】 請求項4記載のプログラムが記録される
コンピュータ読取り可能な記録媒体。
5. A computer-readable recording medium in which the program according to claim 4 is recorded.
【請求項6】 入力画像のフラクタル次元を求める解析
手段と、 解析手段によって求められたフラクタル次元に基づい
て、入力画像に重畳するノイズの種類を決定する種類決
定手段と、 種類決定手段によって決定された種類のノイズを入力画
像に重畳する重畳処理手段とを含むことを特徴とする画
像処理装置。
6. An analyzing means for obtaining a fractal dimension of an input image, a type determining means for determining a type of noise to be superimposed on an input image based on the fractal dimension obtained by the analyzing means, and a type determining means. An image processing apparatus, comprising: a superimposing processing unit that superimposes different types of noise on an input image.
【請求項7】 フラクタル次元に基づいて、入力画像に
対するノイズによる変換の度合いを示すノイズの強さを
決定する強度決定手段を含み、 重畳処理手段は、強度決定手段によって決定されたノイ
ズの強さで入力画像にノイズを重畳することを特徴とす
る請求項6記載の画像処理装置。
7. The strength determination means for determining the strength of noise indicating the degree of conversion by the noise to the input image based on the fractal dimension, and the superposition processing means includes the strength of noise determined by the strength determination means. 7. The image processing apparatus according to claim 6, wherein noise is superimposed on the input image by.
【請求項8】 フラクタル次元に基づいて、入力画像に
ノイズを重畳する重畳処理の必要度を決定する判定手段
を含み、 判定手段によって決定された重畳処理の必要度を表示手
段に表示し、 重畳処理を実行するか否かの処理情報を入力する入力手
段によって重畳処理を実行する処理情報が入力されたと
き、重畳処理手段は、重畳処理をすることを特徴とする
請求項6または7記載の画像処理装置。
8. A determination means for determining the necessity of a superimposing process for superimposing noise on an input image based on the fractal dimension, the necessity of the superimposing process determined by the determining means is displayed on the display means, and the superimposing is performed. 8. The superimposition processing means performs the superimposition processing when the processing information for executing the superimposition processing is input by the input means for inputting the processing information as to whether or not to execute the processing. Image processing device.
【請求項9】 請求項6〜8のいずれかに記載の画像処
理装置を備えることを特徴とする画像形成装置。
9. An image forming apparatus comprising the image processing apparatus according to claim 6.
JP2001329689A 2001-10-26 2001-10-26 Image processing method and image processing apparatus, program, recording medium, and image forming apparatus Pending JP2003132344A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001329689A JP2003132344A (en) 2001-10-26 2001-10-26 Image processing method and image processing apparatus, program, recording medium, and image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001329689A JP2003132344A (en) 2001-10-26 2001-10-26 Image processing method and image processing apparatus, program, recording medium, and image forming apparatus

Publications (1)

Publication Number Publication Date
JP2003132344A true JP2003132344A (en) 2003-05-09

Family

ID=19145545

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001329689A Pending JP2003132344A (en) 2001-10-26 2001-10-26 Image processing method and image processing apparatus, program, recording medium, and image forming apparatus

Country Status (1)

Country Link
JP (1) JP2003132344A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009163383A (en) * 2007-12-28 2009-07-23 Juki Corp Characteristic evaluation method and apparatus for curved object outline
JP2009207113A (en) * 2008-02-01 2009-09-10 Sony Corp Gradation converting device, gradation converting method, and program
US7692817B2 (en) 2004-06-23 2010-04-06 Sharp Kabushiki Kaisha Image processing method, image processing apparatus, image forming apparatus, computer program product and computer memory product for carrying out image processing by transforming image data to image data having spatial frequency components
JP2018182353A (en) * 2017-04-03 2018-11-15 日本電信電話株式会社 Image generation apparatus, image generation method, and program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7692817B2 (en) 2004-06-23 2010-04-06 Sharp Kabushiki Kaisha Image processing method, image processing apparatus, image forming apparatus, computer program product and computer memory product for carrying out image processing by transforming image data to image data having spatial frequency components
JP2009163383A (en) * 2007-12-28 2009-07-23 Juki Corp Characteristic evaluation method and apparatus for curved object outline
JP2009207113A (en) * 2008-02-01 2009-09-10 Sony Corp Gradation converting device, gradation converting method, and program
US8295636B2 (en) 2008-02-01 2012-10-23 Sony Corporation Gradation converting device, gradation converting method, and computer program
JP2018182353A (en) * 2017-04-03 2018-11-15 日本電信電話株式会社 Image generation apparatus, image generation method, and program

Similar Documents

Publication Publication Date Title
JP4902837B2 (en) How to convert to monochrome image
JP2008227759A (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and computer-readable recording medium
JP4173154B2 (en) Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium
JP2007150607A (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium therefor
JP4381360B2 (en) Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium
JP4429439B2 (en) Color conversion method and conversion processor
JP2003132344A (en) Image processing method and image processing apparatus, program, recording medium, and image forming apparatus
JP2010278933A (en) Image processing apparatus, image forming apparatus, image processing method, program, and recording medium
JP3749102B2 (en) Image processing apparatus, image forming apparatus, and image processing method
JP4067538B2 (en) Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium
JP4596964B2 (en) Image processing apparatus, image forming apparatus, image processing method, computer program, and recording medium
JP2003023541A (en) Image processing method, image processing apparatus, and image forming apparatus
JP4792893B2 (en) Image processing apparatus and program
JP5079904B2 (en) Multilevel dither processing method, image processing apparatus, image forming apparatus, multi-function machine, multilevel dither processing program, and computer-readable recording medium
JP2008271131A (en) Image processing method, image processing apparatus, and image forming apparatus
JP4549306B2 (en) Image processing method, image processing apparatus, image forming apparatus, and computer program
JP4499685B2 (en) Image processing apparatus, image forming apparatus including the same, image processing method, image processing program, and recording medium
JP4027300B2 (en) Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium
JP4176656B2 (en) Image processing apparatus, image processing method, image forming apparatus, image processing program, and recording medium recording the program
JP2001320593A (en) Image processing apparatus, image forming apparatus having the same, and image processing method
JP2978060B2 (en) Color image data conversion method
JP4386870B2 (en) Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium
JP4266004B2 (en) Image processing method, image processing apparatus, image forming apparatus, image processing program, and recording medium recording image processing program
JP4987833B2 (en) Dither matrix creation method, dither matrix creation device, image processing device, image forming device, program, and recording medium
KR20070063411A (en) Noise reduction for primary color tones in an image reproduction system