JP2003060896A - Picture processor, picture processing method, program for making computer conduct the method and computer readable recoding medium with recorded program therein - Google Patents

Picture processor, picture processing method, program for making computer conduct the method and computer readable recoding medium with recorded program therein

Info

Publication number
JP2003060896A
JP2003060896A JP2001249012A JP2001249012A JP2003060896A JP 2003060896 A JP2003060896 A JP 2003060896A JP 2001249012 A JP2001249012 A JP 2001249012A JP 2001249012 A JP2001249012 A JP 2001249012A JP 2003060896 A JP2003060896 A JP 2003060896A
Authority
JP
Japan
Prior art keywords
image
image data
data
pixels
processing
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
JP2001249012A
Other languages
Japanese (ja)
Inventor
Fumio Yoshizawa
史男 吉澤
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2001249012A priority Critical patent/JP2003060896A/en
Publication of JP2003060896A publication Critical patent/JP2003060896A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To perform a double density thresholding conversion with less deterioration in picture quality and without requiring a large scale of memory and a large scale of arithmetic means. SOLUTION: When the double density thresholding conversion is performed, a feature amount extracting part 1903 obtains the feature of input picture data S1 with the amount of continuity of pixels equal to or more than a prescribed threshold and pixels less than the threshold as a feature amount. A threshold matrix generating part 1906 obtains the feature amount and generates the threshold matrix of horizontally and vertically two-by-two pixels per one pixel of input picture data S1 in the resolution of 2N (dpi). A comparison part 1909 determines a binary density for the portion of four pixels concerning one pixel of input picture data S1 based on the threshold matrix. A judging part 1907 selects first and second transmitting parts 1910 and 1911 for transmitting binary picture data which is processed by double density thresholding based on the feature amount by the minimum data amount and outputs them.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】この発明は、ディジタル画像
データに対する画像処理をおこなう、より詳しくは、複
写機、ファクシミリ、プリンター、スキャナーなどの機
能を複合したディジタル複合機において、スキャナーな
どを用いて画像を入力する際の解像度および階調とプリ
ンターなどを用いて出力する際の解像度および階調が異
なる場合に、階調変換処理と密度変換処理を同時におこ
なえる画像処理装置、画像処理方法、およびその方法を
コンピュータに実行させるプログラム、並びにそのプロ
グラムを記録したコンピュータ読み取り可能な記録媒体
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to image processing for digital image data, and more specifically, in a digital multi-function peripheral that combines functions of a copying machine, a facsimile, a printer, a scanner, etc. An image processing device, an image processing method, and a method for performing the gradation conversion processing and the density conversion processing at the same time when the resolution and gradation when inputting and the resolution and gradation when outputting using a printer are different. The present invention relates to a program executed by a computer, and a computer-readable recording medium recording the program.

【0002】[0002]

【従来の技術】従来、アナログ複写機からディジタル化
された画像データの処理をおこなうディジタル複写機が
登場し、さらに、ディジタル複写機が複写機としての機
能だけでなく、複写機の機能に加えて、ファクシミリの
機能、プリンターの機能、スキャナーの機能などの各機
能を複合したディジタル複合機が存在する。
2. Description of the Related Art Conventionally, a digital copying machine for processing digitized image data from an analog copying machine has appeared, and the digital copying machine has not only the function as a copying machine but also the function of the copying machine. There are digital multi-function peripherals that combine various functions such as a facsimile function, a printer function, and a scanner function.

【0003】スキャナー機能などで原稿画像を読み取
り、プリンターなどから印刷出力する場合、読み取った
原稿画像は、画像処理部で印刷出力に適した所定の画像
処理が施されるようになっている。この画像処理時、読
み取った画像の解像度および階調と、印刷出力時の解像
度および階調が異なる場合には、密度変換処理と階調変
換処理が必要となる。
When a document image is read by a scanner function or the like and is printed out from a printer or the like, the read document image is subjected to predetermined image processing suitable for print output by an image processing section. During this image processing, if the resolution and gradation of the read image differ from the resolution and gradation at the time of print output, density conversion processing and gradation conversion processing are required.

【0004】スキャナーで読み取った原稿画像がn値画
像データであり、これを高解像度化してプリンターから
印刷出力する場合の画像処理例について説明する。この
ような、n値画像データを、2倍の解像度をもつ2値画
像データへ変換する第1の方法は、拡大処理(特開平1
0−327316号公報)と同様のプロセスを用いて解
像度を2倍に増やし(密度変換処理)、その後、階調変
換処理(特開平09−294209号公報)で2値化を
施すようになっている。
An example of image processing in the case where a document image read by a scanner is n-valued image data and the resolution of the document image is increased and printed out from a printer will be described. A first method of converting such n-valued image data into binary image data having a double resolution is an enlargement process (Japanese Patent Laid-Open No. Hei 1
No. 0-327316), the resolution is doubled by using the same process (density conversion processing), and thereafter, binarization is performed by gradation conversion processing (Japanese Patent Laid-Open No. 09-294209). There is.

【0005】第2の方法は、第1の方法と逆のプロセス
で階調変換処理後に密度変換処理がおこなわれる。この
ように、従来は、これら2つの異なる画像処理である階
調変換処理と密度変換処理が別途単独で実行されてい
た。
In the second method, the density conversion processing is performed after the gradation conversion processing in the reverse process of the first method. As described above, conventionally, these two different image processes, that is, the gradation conversion process and the density conversion process have been separately executed separately.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上記第
1の方法では、拡大処理をするときに、n値画素の補間
をおこなうため、最終的に処理結果として出力される画
像が2値画像データであるのにもかかわらず、拡大され
たn値画像を一時的に格納するために大容量のメモリー
が必要になった。また、n値画像データの補間を円滑に
実行するために高いパフォーマンスをもった演算器など
が必要になった。
However, in the first method, since the n-valued pixels are interpolated during the enlargement processing, the image finally output as the processing result is binary image data. Nevertheless, a large amount of memory was required to temporarily store the enlarged n-value image. In addition, an arithmetic unit having high performance is required to smoothly execute the interpolation of n-valued image data.

【0007】一方、第2の方法では、階調変換処理の2
値化後に密度変換処理が実行され、2値化された画像デ
ータを用いて画素の補間をおこなうため、当初n値の画
像情報を十分に活用することができず、画質が低下する
問題があった。
On the other hand, in the second method, the gradation conversion process
Since the density conversion processing is executed after the binarization and the pixel is interpolated using the binarized image data, there is a problem that the image information of n values cannot be fully utilized at the beginning and the image quality is deteriorated. It was

【0008】この発明は、上述した従来技術の問題点を
解消するためになされたもので、倍密度2値化変換処理
を画質の劣化が少なく、また大容量のメモリーおよび大
規模な演算手段を必要とせずに実行できる画像処理装
置、画像処理方法、およびその方法をコンピュータに実
行させるプログラム、およびそのプログラムを記録した
コンピュータ読み取り可能な記録媒体を提供することを
目的とする。
The present invention has been made in order to solve the above-mentioned problems of the prior art, and the double density binarization conversion process is performed with less deterioration of the image quality, and a large capacity memory and a large-scale arithmetic means are provided. An object is to provide an image processing device that can be executed without need, an image processing method, a program that causes a computer to execute the method, and a computer-readable recording medium that records the program.

【0009】[0009]

【課題を解決するための手段】上述した課題を解決し、
目的を達成するため、請求項1の発明にかかる画像処理
装置は、読み取った画像信号をディジタル変換された画
像信号に変換し、もしくはディジタル的に生成された画
像情報を画像信号に変換し、ディジタル変換された画像
信号を顕像として出力可能な画像信号になるように画像
処理するためのプログラマブルな演算手段を備えた画像
処理装置において、前記演算手段は、N(dpi)の解
像度をもつn値(n>2)の入力画像データを、2N
(dpi)の解像度をもつ2値の出力画像データへ倍密
度2値化変換処理する機能を有し、該演算手段には、倍
密度2値化変換処理の実行時には、入力画像データの特
徴を所定の閾値以上の画素と閾値未満の画素の連続量を
特徴量として求める特徴量抽出手段と、前記特徴量を得
て、2N(dpi)の解像度で前記入力画像データの1
画素につき縦2×横2画素の閾値マトリクスを作成する
閾値マトリクス作成手段と、前記閾値マトリクスに基づ
き、入力画像データの1画素に対する4画素分の2値化
濃度を決定する比較手段とを備えたことを特徴とする。
[Means for Solving the Problems]
In order to achieve the object, an image processing apparatus according to the invention of claim 1 converts a read image signal into a digitally converted image signal, or converts digitally generated image information into an image signal, and digitally In an image processing apparatus provided with a programmable arithmetic means for performing image processing so that the converted image signal can be output as a visible image, the arithmetic means is an n-value having a resolution of N (dpi). Input image data of (n> 2) to 2N
It has a function of performing a double-density binarization conversion process to binary output image data having a resolution of (dpi), and the arithmetic means has a characteristic of the input image data when executing the double-density binarization conversion process. A feature amount extraction unit that obtains a continuous amount of pixels that are equal to or greater than a predetermined threshold value and pixels that are less than the threshold value as a feature amount, and obtains the feature amount, and 1
A threshold matrix creating means for creating a threshold matrix of vertical 2 × horizontal 2 pixels per pixel, and a comparing means for determining a binarized density for 4 pixels for 1 pixel of the input image data based on the threshold matrix are provided. It is characterized by

【0010】この請求項1の発明によれば、入力画像デ
ータの画素の連続量を特徴量として求め、縦横2画素ず
つの4画素の閾値マトリクスを作成し各画素の2値化濃
度を決定することにより、画質の劣化が少なく、また大
容量のメモリーおよび大規模な演算手段を必要とせず
に、階調変換と密度変換を同時に実行することができ
る。
According to the first aspect of the present invention, the continuous amount of pixels of the input image data is obtained as a feature amount, and a threshold matrix of 4 pixels each having 2 pixels vertically and horizontally is created to determine the binarized density of each pixel. This makes it possible to perform gradation conversion and density conversion at the same time, with little deterioration in image quality, and without requiring a large-capacity memory and a large-scale arithmetic means.

【0011】また、請求項2の発明にかかる画像処理装
置は、請求項1に記載の発明において、前記特徴量抽出
手段は、2N(dpi)の解像度をもつ閾値マトリクス
を作成するための複数のアルゴリズムを具備し、外部か
らの切り換え指示によってアルゴリズムを切り換え可能
なことを特徴とする。
The image processing apparatus according to a second aspect of the present invention is the image processing apparatus according to the first aspect of the present invention, wherein the feature amount extraction means creates a plurality of threshold matrixes having a resolution of 2N (dpi). It is characterized in that it has an algorithm and that the algorithm can be switched by an external switching instruction.

【0012】この請求項2の発明によれば、閾値マトリ
クスを作成するための複数のアルゴリズムが切り換え可
能であり、入力画像データの種類などに対応して最適な
アルゴリズムを選択して倍密度2値化変換処理のパフォ
ーマンス向上を図ることができる。
According to the second aspect of the present invention, a plurality of algorithms for creating the threshold matrix can be switched, and the optimum algorithm is selected according to the type of input image data and the like, and the double density binary value is selected. The performance of the conversion processing can be improved.

【0013】また、請求項3の発明にかかる画像処理装
置は、請求項2に記載の発明において、前記特徴量抽出
手段は、前記アルゴリズムとして、入力される画像デー
タのエッジ度を抽出すべく該画像データを注目画素とし
た方向別に異なる4枚のフィルター演算をおこない、絶
対値が最も大きな演算結果を、その画素に対する特徴量
と決定することを特徴とする。
The image processing apparatus according to a third aspect of the present invention is the image processing apparatus according to the second aspect of the invention, wherein the feature amount extraction means uses the algorithm to extract the edge degree of the input image data. The present invention is characterized in that four different filter operations are performed for each direction with image data as a pixel of interest, and the operation result with the largest absolute value is determined as the feature amount for that pixel.

【0014】この請求項3の発明によれば、複数枚のフ
ィルターを用いて入力される画像データのエッジ度を抽
出するだけで特徴量を容易に得ることができ、倍密度2
値化変換処理のパフォーマンス向上を図ることができ
る。
According to the third aspect of the present invention, the feature amount can be easily obtained only by extracting the edge degree of the input image data using a plurality of filters, and the double density 2
The performance of the binarization conversion process can be improved.

【0015】また、請求項4の発明にかかる画像処理装
置は、請求項2に記載の発明において、前記特徴量抽出
手段は、前記アルゴリズムとして、受信した1ライン分
の画像データについて、与えられた閾値と画素濃度を比
較して、閾値以上の画素と閾値未満の画素の連続量を特
徴量であると決定することを特徴とする。
According to a fourth aspect of the present invention, in the image processing apparatus according to the second aspect, the feature amount extracting means is given as the algorithm for the received image data of one line. The feature is that the threshold value and the pixel density are compared with each other, and the continuous amount of the pixels equal to or more than the threshold value and the pixels less than the threshold value is determined as the feature value.

【0016】この請求項4の発明によれば、画像データ
の画素の濃度別の連続量に基づき特徴量を容易に得るこ
とができ、倍密度2値化変換処理のパフォーマンス向上
を図ることができる。
According to the invention of claim 4, the feature amount can be easily obtained based on the continuous amount for each density of the pixel of the image data, and the performance of the double density binarization conversion process can be improved. .

【0017】また、請求項5の発明にかかる画像処理装
置は、請求項1に記載の発明において、前記演算手段
は、2N(dpi)の解像度をもつ2値画像データを異
なる送信形式で外部送信する複数の送信手段と、前記特
徴量に基づき、最も少ないデータ量で送信できる送信手
段を選択して外部出力する判定手段とを備えたことを特
徴とする。
The image processing apparatus according to a fifth aspect of the present invention is the image processing apparatus according to the first aspect, wherein the arithmetic means externally transmits binary image data having a resolution of 2N (dpi) in different transmission formats. A plurality of transmitting means, and a determining means for selecting and transmitting the transmitting means that can transmit with the smallest data amount to the outside based on the characteristic amount.

【0018】この請求項5の発明によれば、入力画像デ
ータの特徴によって、倍密度2値画像データを最も少な
いデータ量で画像データする送信形式を選択できるた
め、画像データの転送効率を向上でき、画像処理パフォ
ーマンスの向上を図ることができる。
According to the fifth aspect of the present invention, the transmission format for image data of the double-density binary image data with the smallest data amount can be selected depending on the characteristics of the input image data, so that the transfer efficiency of the image data can be improved. It is possible to improve the image processing performance.

【0019】また、請求項6の発明にかかる画像処理装
置は、請求項5に記載の発明において、前記複数の送信
手段のうち一つは、2値画像データ中の白画素と黒画素
の連続量を所定ビット数で表現し、かつ、所定ビットを
用いて該連続量が白あるいは黒画素を指定して送信する
ことを特徴とする。
Further, in the image processing apparatus according to a sixth aspect of the present invention, in the invention according to the fifth aspect, one of the plurality of transmitting means has a sequence of white pixels and black pixels in the binary image data. It is characterized in that the quantity is expressed by a predetermined number of bits, and that the continuous quantity designates a white or black pixel by using a predetermined bit and transmits.

【0020】この請求項6の発明によれば、送信する2
値画像データの画素の濃度の連続を所定ビット数で表現
するため、画素の濃度が多数連続する場合データ量の削
減を図ることができる。
According to the invention of claim 6, the transmission 2
Since the continuity of the pixel densities of the value image data is expressed by a predetermined number of bits, it is possible to reduce the data amount when a large number of pixel densities are continuous.

【0021】また、請求項7の発明にかかる画像処理装
置は、請求項5に記載の発明において、前記複数の送信
手段のうち一つは、所定ビット数のデータ列に同ビット
数に対応した画素分の2値画像データを詰め込み送信す
ることを特徴とする。
Further, in the image processing apparatus according to the invention of claim 7, in the invention according to claim 5, one of the plurality of transmitting means corresponds to the same number of bits in a data string of a predetermined number of bits. It is characterized in that binary image data for pixels is packed and transmitted.

【0022】この請求項7の発明によれば、送信する2
値画像データのビットそれぞれに画素濃度を詰め込むた
め、画素の濃度が連続しない場合にデータ量の削減を図
ることができる。
According to the invention of claim 7, the transmission 2
Since the pixel density is packed into each bit of the value image data, the data amount can be reduced when the pixel density is not continuous.

【0023】また、請求項8の発明にかかる画像処理方
法は、読み取った画像信号をディジタル変換された画像
信号に変換し、もしくはディジタル的に生成された画像
情報を画像信号に変換し、ディジタル変換された画像信
号を顕像として出力可能な画像信号になるように画像処
理する画像処理方法において、N(dpi)の解像度を
もつn値(n>2)の入力画像データを、2N(dp
i)の解像度をもつ2値の出力画像データへ倍密度2値
化変換処理する際には、入力画像データの特徴を所定の
閾値以上の画素と閾値未満の画素の連続量を特徴量とし
て求める特徴量抽出工程と、前記特徴量を得て、2N
(dpi)の解像度で前記入力画像データの1画素につ
き縦2×横2画素の閾値マトリクスを作成する閾値マト
リクス作成工程と、前記閾値マトリクスに基づき、入力
画像データの1画素に対する4画素分の2値化濃度を決
定する比較工程とを備えたことを特徴とする。
In the image processing method according to the present invention, the read image signal is converted into a digitally converted image signal, or the digitally generated image information is converted into an image signal, and the image signal is converted into a digital signal. In the image processing method of performing image processing so that the generated image signal becomes an image signal that can be output as a visible image, input image data of n value (n> 2) having a resolution of N (dpi) is converted into 2N (dp).
When performing the double density binarization conversion processing on the binary output image data having the resolution of i), the feature of the input image data is obtained as a feature amount of a continuous amount of pixels equal to or more than a predetermined threshold value and pixels below the threshold value. 2N by obtaining the feature amount extraction step and the feature amount
A threshold matrix creating step of creating a threshold matrix of vertical 2 × horizontal 2 pixels for each pixel of the input image data at a resolution of (dpi), and 2 pixels for 4 pixels for 1 pixel of the input image data based on the threshold matrix. And a comparison step of determining a threshold concentration.

【0024】この請求項8の発明によれば、入力画像デ
ータの画素の連続量を特徴量として求め、縦横2画素ず
つの4画素の閾値マトリクスを作成し各画素の2値化濃
度を決定するため、簡単な演算処理で階調変換と密度変
換を同時に実行でき、画質の劣化が少なく、また大容量
のメモリーおよび大規模な演算手段を不要にできる。
According to the eighth aspect of the present invention, the continuous amount of pixels of the input image data is obtained as a feature amount, a four-pixel threshold matrix of two vertical and horizontal pixels is created, and the binarized density of each pixel is determined. Therefore, the gradation conversion and the density conversion can be simultaneously performed by a simple arithmetic processing, the deterioration of the image quality is small, and a large-capacity memory and a large-scale arithmetic means can be eliminated.

【0025】また、請求項9の発明にかかる画像処理方
法は、請求項8に記載の発明において、前記特徴量抽出
工程では、2N(dpi)の解像度をもつ閾値マトリク
スを作成するための複数のアルゴリズムを具備し、切り
換え指示に基づきアルゴリズムを切り換え可能なことを
特徴とする。
The image processing method according to a ninth aspect of the present invention is the image processing method according to the eighth aspect, wherein in the feature amount extracting step, a plurality of threshold matrixes having a resolution of 2N (dpi) are created. An algorithm is provided, and the algorithm can be switched based on a switching instruction.

【0026】この請求項9の発明によれば、閾値マトリ
クスを作成するための複数のアルゴリズムが切り換え可
能であり、入力画像データの種類などに対応して最適な
アルゴリズムを選択して倍密度2値化変換処理のパフォ
ーマンス向上を図ることができる。
According to the ninth aspect of the present invention, a plurality of algorithms for creating the threshold matrix can be switched, and the optimum algorithm is selected according to the type of input image data and the like, and the double density binary value is selected. The performance of the conversion processing can be improved.

【0027】また、請求項10の発明にかかる画像処理
方法は、請求項9に記載の発明において、前記特徴量抽
出工程の前記アルゴリズムは、入力される画像データの
エッジ度を抽出すべく該画像データを注目画素とした方
向別に異なる4枚のフィルター演算をおこない、絶対値
が最も大きな演算結果を、その画素に対する特徴量と決
定することを特徴とする。
The image processing method according to a tenth aspect of the present invention is the image processing method according to the ninth aspect, wherein the algorithm of the feature amount extracting step is to extract the edge degree of the input image data. It is characterized in that four different filter operations are performed for each direction with data as the pixel of interest, and the operation result with the largest absolute value is determined as the feature amount for that pixel.

【0028】この請求項10の発明によれば、複数枚の
フィルターを用いて入力される画像データのエッジ度を
抽出するだけで特徴量を容易に得ることができ、倍密度
2値化変換処理のパフォーマンス向上を図ることができ
る。
According to the tenth aspect of the present invention, the feature amount can be easily obtained only by extracting the edge degree of the input image data by using a plurality of filters, and the double density binarization conversion processing is performed. The performance of can be improved.

【0029】また、請求項11の発明にかかる画像処理
方法は、請求項9に記載の発明において、前記特徴量抽
出工程の前記アルゴリズムは、受信した1ライン分の画
像データについて、与えられた閾値と画素濃度を比較し
て、閾値以上の画素と閾値未満の画素の連続量を特徴量
であると決定することを特徴とする。
Further, in the image processing method according to the invention of claim 11, in the invention of claim 9, the algorithm of the feature amount extraction step is such that a given threshold value is applied to the received image data for one line. And comparing the pixel densities with the pixel densities, and determining the continuous amount of pixels that are equal to or greater than the threshold value and pixels that are less than the threshold value as the feature value.

【0030】この請求項11の発明によれば、画像デー
タの画素の濃度別の連続量に基づき特徴量を容易に得る
ことができ、倍密度2値化変換処理のパフォーマンス向
上を図ることができる。
According to the eleventh aspect of the present invention, it is possible to easily obtain the feature amount based on the continuous amount for each density of the pixels of the image data, and it is possible to improve the performance of the double density binarization conversion process. .

【0031】また、請求項12の発明にかかる画像処理
方法は、請求項8に記載の発明において、前記倍密度2
値化変換処理後、2N(dpi)の解像度をもつ2値画
像データを、前記特徴量に基づき、最も少ないデータ量
で送信できる複数の送信形式のうち一つを選択して外部
出力させる出力工程を備えたことを特徴とする。
An image processing method according to a twelfth aspect of the present invention is the image processing method according to the eighth aspect, wherein the double density is 2
After binarization conversion processing, an output step of selecting one of a plurality of transmission formats capable of transmitting binary image data having a resolution of 2N (dpi) with a minimum data amount based on the characteristic amount and outputting the same to the outside. It is characterized by having.

【0032】この請求項12の発明によれば、入力画像
データの特徴によって、倍密度2値画像データを最も少
ないデータ量で画像データする送信形式を選択できるた
め、画像データの転送効率を向上でき、画像処理パフォ
ーマンスの向上を図ることができる。
According to the twelfth aspect of the present invention, the transmission format for image data of the double-density binary image data with the smallest data amount can be selected depending on the characteristics of the input image data, so that the image data transfer efficiency can be improved. It is possible to improve the image processing performance.

【0033】また、請求項13の発明にかかる画像処理
方法は、請求項12に記載の発明において、前記出力工
程の送信形式は、2値画像データ中の白画素と黒画素の
連続量を所定ビット数で表現し、かつ、所定ビットを用
いて該連続量が白あるいは黒画素を指定して送信するこ
とを特徴とする。
Further, in the image processing method according to the thirteenth aspect of the present invention, in the invention according to the twelfth aspect, the transmission format of the output step is a predetermined continuous amount of white pixels and black pixels in the binary image data. It is characterized in that it is expressed by the number of bits, and that the continuous amount specifies a white pixel or a black pixel by using a predetermined bit and transmits.

【0034】この請求項13の発明によれば、送信する
2値画像データの画素の濃度の連続を所定ビット数で表
現するため、画素の濃度が多数連続する場合データ量の
削減を図ることができる。
According to the thirteenth aspect of the present invention, since the pixel density continuity of the binary image data to be transmitted is represented by a predetermined number of bits, it is possible to reduce the data amount when the pixel density is continuous. it can.

【0035】また、請求項14の発明にかかる画像処理
方法は、請求項12に記載の発明において、前記出力工
程の送信形式は、所定ビット数のデータ列に同ビット数
に対応した画素分の2値画像データを詰め込み送信する
ことを特徴とする。
Further, in the image processing method according to the fourteenth aspect of the present invention, in the invention according to the twelfth aspect, the transmission format of the output step is a data string of a predetermined number of bits for pixels corresponding to the same number of bits. It is characterized in that binary image data is packed and transmitted.

【0036】この請求項14の発明によれば、送信する
2値画像データのビットそれぞれに画素濃度を詰め込む
ため、画素の濃度が連続しない場合にデータ量の削減を
図ることができる。
According to the fourteenth aspect of the present invention, since the pixel density is packed into each bit of the binary image data to be transmitted, the data amount can be reduced when the pixel density is not continuous.

【0037】また、請求項15の発明にかかるコンピュ
ータに実行させるプログラムは、前記請求項8〜14の
いずれかに記載された方法をコンピュータに実行させる
ことを特徴とする。
A computer program according to a fifteenth aspect of the present invention causes a computer to execute the method according to any one of the eighth to fourteenth aspects.

【0038】この請求項15の発明によれば、請求項8
〜14に記載された方法をコンピュータに実行させるこ
とができ、コンピュータを用いてを実行できるようにな
り、画像処理パフォーマンスの向上が図れるようにな
る。
According to the invention of claim 15, claim 8
It is possible to cause a computer to execute the method described in any one of 14 to 14, and to perform using the computer, thereby improving the image processing performance.

【0039】また、請求項16の発明にかかるコンピュ
ータ読み取り可能な記録媒体は、前記請求項15に記載
されたプログラムを記録したことを特徴とする。
Further, a computer-readable recording medium according to the invention of claim 16 is characterized in that the program according to claim 15 is recorded.

【0040】この請求項16の発明にかかる記録媒体
は、請求項15に記載されたコンピュータに実行させる
プログラムを記録したことで、そのプログラムを機械読
み取り可能となり、これによって、請求項15の動作を
コンピュータによって実現することができる。
The recording medium according to the sixteenth aspect of the present invention, which records the program to be executed by the computer according to the fifteenth aspect, makes the program readable by the machine, thereby performing the operation of the fifteenth aspect. It can be realized by a computer.

【0041】[0041]

【発明の実施の形態】以下に添付図面を参照して、この
発明にかかる画像処理装置、画像処理方法およびその方
法をコンピュータに実行させるプログラム、並びにその
プログラムを記録したコンピュータ読み取り可能な記録
媒体の好適な実施の形態を詳細に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION An image processing apparatus, an image processing method, a program for causing a computer to execute the method, and a computer-readable recording medium recording the program according to the present invention will be described below with reference to the accompanying drawings. A preferred embodiment will be described in detail.

【0042】まず、本実施の形態にかかる画像処理装置
の原理について説明する。図1は、この発明の本実施の
形態にかかる画像処理装置の構成を機能的に示すブロッ
ク図である。図1において、画像処理装置は、以下に示
す5つのユニットを含む構成である。
First, the principle of the image processing apparatus according to this embodiment will be described. FIG. 1 is a block diagram functionally showing the configuration of the image processing apparatus according to the embodiment of the present invention. In FIG. 1, the image processing apparatus has a configuration including the following five units.

【0043】上記5つのユニットとは、画像データ制御
ユニット100と、画像データを読み取る画像読取ユニ
ット101と、画像を蓄積する画像メモリーを制御して
画像データの書込み/読出しをおこなう画像メモリー制
御ユニット102と、画像データに対し加工編集などの
画像処理を施す画像処理ユニット103と、画像データ
を転写紙などに書き込む画像書込ユニット104と、で
ある。
The above-mentioned five units are the image data control unit 100, the image reading unit 101 for reading the image data, and the image memory control unit 102 for controlling the image memory for storing the images to write / read the image data. An image processing unit 103 for performing image processing such as processing and editing on the image data, and an image writing unit 104 for writing the image data on a transfer sheet or the like.

【0044】上記各ユニットは、画像データ制御ユニッ
ト100を中心に、画像読取ユニット101と、画像メ
モリー制御ユニット102と、画像処理ユニット103
と、画像書込ユニット104とがそれぞれ画像データ制
御ユニット100に接続されている。
Each of the above-mentioned units is centered on the image data control unit 100, an image reading unit 101, an image memory control unit 102, and an image processing unit 103.
And the image writing unit 104 are respectively connected to the image data control unit 100.

【0045】(画像データ制御ユニット100)画像デ
ータ制御ユニット100によりおこなわれる処理として
は以下のようなものがある。
(Image Data Control Unit 100) The following is the processing performed by the image data control unit 100.

【0046】たとえば、(1)データのバス転送効率を
向上させるためのデータ圧縮処理(一次圧縮)、(2)
一次圧縮データの画像データへの転送処理、(3)画像
合成処理(複数ユニットからの画像データを合成するこ
とが可能である。また、データバス上での合成も含
む。)、(4)画像シフト処理(主走査および副走査方
向の画像のシフト)、(5)画像領域拡張処理(画像領
域を周辺へ任意量だけ拡大することが可能)、(6)画
像変倍処理(たとえば、50%または200%の固定変
倍)、(7)パラレルバス・インターフェース処理、
(8)シリアルバス・インターフェース処理(後述する
プロセス・コントローラー211とのインターフェー
ス)、(9)パラレルデータとシリアルデータのフォー
マット変換処理、(10)画像読取ユニット101との
インターフェース処理、(11)画像処理ユニット10
3とのインターフェース処理、などである。
For example, (1) data compression processing (primary compression) for improving data bus transfer efficiency, (2)
Transfer processing of primary compressed data to image data, (3) image combining processing (image data from a plurality of units can be combined, and combining on a data bus is also included.), (4) image Shift processing (shifting of images in the main scanning and sub-scanning directions), (5) image area expansion processing (image area can be expanded to the periphery by an arbitrary amount), (6) image scaling processing (for example, 50% Or fixed magnification of 200%), (7) parallel bus interface processing,
(8) Serial bus interface processing (interface with a process controller 211 described later), (9) format conversion processing between parallel data and serial data, (10) interface processing with the image reading unit 101, (11) image processing Unit 10
Interface processing with 3.

【0047】(画像読取ユニット101)画像読取ユニ
ット101によりおこなわれる処理としては以下のよう
なものがある。
(Image Reading Unit 101) The processing performed by the image reading unit 101 is as follows.

【0048】たとえば、(1)光学系による原稿反射光
の読み取り処理、(2)CCD(Charge Cou
pled Device:電荷結合素子)での電気信号
への変換処理、(3)A/D変換器でのディジタル化処
理、(4)シェーディング補正処理(光源の照度分布ム
ラを補正する処理)、(5)スキャナーγ補正処理(読
み取り系の濃度特性を補正する処理)、などである。
For example, (1) reading processing of reflected light from an original by an optical system, (2) CCD (Charge Cou)
conversion to electric signals in a piled device (charge-coupled device), (3) digitization processing in an A / D converter, (4) shading correction processing (processing for correcting uneven illuminance distribution of a light source), (5) ) Scanner γ correction processing (processing for correcting the density characteristic of the reading system) and the like.

【0049】(画像メモリー制御ユニット102)画像
メモリー制御ユニット102によりおこなわれる処理と
しては以下のようなものがある。
(Image memory control unit 102) The following processes are performed by the image memory control unit 102.

【0050】たとえば、(1)システム・コントローラ
ーとのインターフェース制御処理、(2)パラレルバス
制御処理(パラレルバスとのインターフェース制御処
理)、(3)ネットワーク制御処理、(4)シリアルバ
ス制御処理(複数の外部シリアルポートの制御処理)、
(5)内部バスインターフェース制御処理(操作部との
コマンド制御処理)、(6)ローカルバス制御処理(シ
ステム・コントローラーを起動させるためのROM、R
AM、フォントデータのアクセス制御処理)、(7)メ
モリー・モジュールの動作制御処理(メモリー・モジュ
ールの書き込み/読み出し制御処理など)、(8)メモ
リー・モジュールへのアクセス制御処理(複数のユニッ
トからのメモリー・アクセス要求の調停をおこなう処
理)、(9)データの圧縮/伸張処理(メモリー有効活
用のためのデータ量の削減するための処理)、(10)
画像編集処理(メモリー領域のデータクリア、画像デー
タの回転処理、メモリー上での画像合成処理など)、な
どである。
For example, (1) interface control processing with the system controller, (2) parallel bus control processing (interface control processing with parallel bus), (3) network control processing, (4) serial bus control processing (plurality) External serial port control process),
(5) Internal bus interface control processing (command control processing with the operation unit), (6) Local bus control processing (ROM and R for starting the system controller)
AM, font data access control processing, (7) memory module operation control processing (memory module write / read control processing, etc.), (8) memory module access control processing (from multiple units) Memory access request arbitration processing), (9) Data compression / expansion processing (processing to reduce the amount of data for effective use of memory), (10)
Image editing processing (data clearing of memory area, image data rotation processing, image composition processing on memory, etc.).

【0051】(画像処理ユニット103)画像処理ユニ
ット103によりおこなわれる処理としては以下のよう
なものがある。
(Image Processing Unit 103) The processing performed by the image processing unit 103 is as follows.

【0052】たとえば、(1)シェーディング補正処理
(光源の照度分布ムラを補正する処理)、(2)スキャ
ナーγ補正処理(読み取り系の濃度特性を補正する処
理)、(3)MTF補正処理、(4)平滑処理、(5)
主走査方向の任意変倍処理、(6)濃度変換(γ変換処
理:濃度ノッチに対応)、(7)単純多値化処理、
(8)単純二値化処理、(9)誤差拡散処理、(10)
ディザ処理、(11)ドット配置位相制御処理(右寄り
ドット、左寄りドット)、(12)孤立点除去処理、
(13)像域分離処理(色判定、属性判定、適応処
理)、(14)密度変換処理、などである。
For example, (1) shading correction processing (processing for correcting unevenness in the illuminance distribution of the light source), (2) scanner γ correction processing (processing for correcting the density characteristic of the reading system), (3) MTF correction processing, ( 4) Smoothing, (5)
Arbitrary scaling processing in the main scanning direction, (6) density conversion (γ conversion processing: corresponding to density notch), (7) simple multi-value processing,
(8) Simple binarization process, (9) Error diffusion process, (10)
Dither processing, (11) dot arrangement phase control processing (dots to the right, dots to the left), (12) isolated point removal processing,
(13) Image area separation processing (color determination, attribute determination, adaptive processing), (14) density conversion processing, and the like.

【0053】(画像書込ユニット104)画像書込ユニ
ット104によりおこなわれる処理としては以下のよう
なものがある。
(Image Writing Unit 104) The processing performed by the image writing unit 104 is as follows.

【0054】たとえば、(1)エッジ平滑処理(ジャギ
ー補正処理)、(2)ドット再配置のための補正処理、
(3)画像信号のパルス制御処理、(4)パラレルデー
タとシリアルデータのフォーマット変換処理、などであ
る。
For example, (1) edge smoothing processing (jaggy correction processing), (2) correction processing for dot rearrangement,
(3) pulse control processing of image signals, (4) format conversion processing of parallel data and serial data, and the like.

【0055】(ディジタル複合機のハードウエア構成)
つぎに、本実施の形態にかかる画像処理装置がディジタ
ル複合機を構成する場合のハードウエア構成について説
明する。図2は本実施の形態にかかる画像処理装置のハ
ードウエア構成の一例を示すブロック図である。
(Hardware Configuration of Digital Multifunction Peripheral)
Next, a hardware configuration when the image processing apparatus according to the present embodiment constitutes a digital multi-function peripheral will be described. FIG. 2 is a block diagram showing an example of the hardware configuration of the image processing apparatus according to this embodiment.

【0056】図2のブロック図において、本実施の形態
にかかる画像処理装置は、読取ユニット201と、セン
サー・ボード・ユニット202と、画像データ制御部2
03と、画像処理プロセッサー204と、ビデオ・デー
タ制御部205と、作像ユニット(エンジン)206と
を備える。また、本実施の形態にかかる画像処理装置
は、シリアルバス210を介して、プロセス・コントロ
ーラー211と、RAM212と、ROM213とを備
える。
In the block diagram of FIG. 2, the image processing apparatus according to the present embodiment includes a reading unit 201, a sensor board unit 202, and an image data control unit 2.
03, an image processor 204, a video data control unit 205, and an image forming unit (engine) 206. Further, the image processing apparatus according to this embodiment includes a process controller 211, a RAM 212, and a ROM 213 via the serial bus 210.

【0057】また、本実施の形態にかかる画像処理装置
は、パラレルバス220を介して、画像メモリー・アク
セス制御部221とファクシミリ制御ユニット224と
を備え、さらに、画像メモリー・アクセス制御部221
に接続されるメモリー・モジュール222と、システム
・コントローラー231と、RAM232と、ROM2
33と、操作パネル234とを備える。
Further, the image processing apparatus according to the present embodiment is provided with an image memory access control section 221 and a facsimile control unit 224 via the parallel bus 220, and further, the image memory access control section 221.
Connected to the memory module 222, system controller 231, RAM232, ROM2
33 and an operation panel 234.

【0058】ここで、上記各構成部と、図1に示した各
ユニット100〜104との関係について説明する。す
なわち、読取ユニット201およびセンサー・ボード・
ユニット202により、図1に示した画像読取ユニット
101の機能を実現する。また同様に、画像データ制御
部203により、画像データ制御ユニット100の機能
を実現する。また同様に、画像処理プロセッサー204
により画像処理ユニット103の機能を実現する。
Now, the relationship between the above-mentioned components and the units 100 to 104 shown in FIG. 1 will be described. That is, the reading unit 201 and the sensor board
The unit 202 realizes the function of the image reading unit 101 shown in FIG. Similarly, the image data control unit 203 realizes the function of the image data control unit 100. Similarly, the image processor 204
The function of the image processing unit 103 is realized by.

【0059】また同様に、ビデオ・データ制御部205
および作像ユニット(エンジン)206により画像書込
ユニット104を実現する。また同様に、画像メモリー
・アクセス制御部221およびメモリー・モジュール2
22により画像メモリー制御ユニット102を実現す
る。
Similarly, the video data control unit 205
The image writing unit 104 is realized by the image forming unit (engine) 206. Similarly, the image memory access control unit 221 and the memory module 2
The image memory control unit 102 is realized by 22.

【0060】つぎに、各構成部の内容について説明す
る。原稿を光学的に読み取る読取ユニット201は、ラ
ンプとミラーとレンズから構成され、原稿に対するラン
プ照射の反射光をミラーおよびレンズにより受光素子に
集光する。
Next, the contents of each component will be described. The reading unit 201 that optically reads a document is composed of a lamp, a mirror, and a lens, and collects the reflected light of the lamp irradiation on the document on the light receiving element by the mirror and the lens.

【0061】受光素子、たとえばCCDは、センサー・
ボード・ユニット202に搭載され、CCDにおいて電
気信号に変換された画像データはディジタル信号に変換
された後、センサー・ボード・ユニット202から出力
(送信)される。
A light receiving element such as a CCD is a sensor
The image data, which is mounted on the board unit 202 and converted into an electric signal by the CCD, is converted into a digital signal and then output (transmitted) from the sensor board unit 202.

【0062】センサー・ボード・ユニット202から出
力(送信)された画像データは画像データ制御部203
に入力(受信)される。機能デバイス(処理ユニット)
およびデータバス間における画像データの伝送は画像デ
ータ制御部203がすべて制御する。
The image data output (transmitted) from the sensor board unit 202 is the image data control unit 203.
Is input (received) to. Functional device (processing unit)
The image data control unit 203 controls all transmission of image data between the data bus and the data bus.

【0063】画像データ制御部203は、画像データに
関し、センサー・ボード・ユニット202、パラレルバ
ス220、画像処理プロセッサー204間のデータ転
送、画像データに対するプロセス・コントローラー21
1と画像処理装置の全体制御を司るシステム・コントロ
ーラー231との間の通信をおこなう。また、RAM2
12はプロセス・コントローラー211のワークエリア
として使用され、ROM213はプロセス・コントロー
ラー211のブートプログラムなどを記憶している。
The image data control unit 203 transfers image data between the sensor board unit 202, the parallel bus 220 and the image processor 204, and the process controller 21 for the image data.
1 and a system controller 231 that controls the entire image processing apparatus. In addition, RAM2
12 is used as a work area of the process controller 211, and the ROM 213 stores a boot program of the process controller 211.

【0064】センサー・ボード・ユニット202から出
力(送信)された画像データは画像データ制御部203
を経由して画像処理プロセッサー204に転送(送信)
され、光学系およびディジタル信号への量子化にともな
う信号劣化(スキャナー系の信号劣化とする)を補正
し、再度、画像データ制御部203へ出力(送信)され
る。
The image data output (transmitted) from the sensor board unit 202 is the image data control unit 203.
Transfer (send) to image processor 204 via
Then, the signal deterioration due to the quantization into the optical system and the digital signal (signal deterioration of the scanner system) is corrected, and the result is output (transmitted) again to the image data control unit 203.

【0065】画像メモリー・アクセス制御部221は、
メモリー・モジュール222に対する画像データの書き
込み/読み出しを制御する。また、パラレルバス220
に接続される各構成部の動作を制御する。また、RAM
232はシステム・コントローラー231のワークエリ
アとして使用され、ROM233はシステム・コントロ
ーラー231のブートプログラムなどを記憶している。
The image memory access control unit 221
It controls writing / reading of image data to / from the memory module 222. In addition, the parallel bus 220
Control the operation of each component connected to. RAM
232 is used as a work area of the system controller 231, and the ROM 233 stores a boot program of the system controller 231.

【0066】操作パネル234は、画像処理装置がおこ
なうべき処理を入力する。たとえば、処理の種類(複
写、ファクシミリ送信、画像読込、プリントなど)およ
び処理の枚数などを入力する。これにより、画像データ
制御情報の入力をおこなうことができる。
The operation panel 234 inputs processing to be performed by the image processing apparatus. For example, the type of processing (copying, facsimile transmission, image reading, printing, etc.) and the number of processings are input. As a result, the image data control information can be input.

【0067】つぎに、読み取った画像データにはメモリ
ー・モジュール222に蓄積して再利用するジョブと、
メモリー・モジュール222に蓄積しないジョブとがあ
り、それぞれの場合について説明する。メモリー・モジ
ュール222に蓄積する例としては、1枚の原稿につい
て複数枚を複写する場合に、読取ユニット201を1回
だけ動作させ、読取ユニット201により読み取った画
像データをメモリー・モジュール222に蓄積し、蓄積
された画像データを複数回読み出すという方法がある。
Next, the read image data is stored in the memory module 222 and reused.
There are jobs that are not stored in the memory module 222, and each case will be described. As an example of accumulating in the memory module 222, when copying a plurality of originals, the reading unit 201 is operated only once and the image data read by the reading unit 201 is accumulated in the memory module 222. There is a method of reading the stored image data a plurality of times.

【0068】メモリー・モジュール222を使わない例
としては、1枚の原稿を1枚だけ複写する場合に、読み
取り画像データをそのまま再生すればよいので、画像メ
モリー・アクセス制御部221によるメモリー・モジュ
ール222へのアクセスをおこなう必要はない。
As an example in which the memory module 222 is not used, the read image data may be reproduced as it is when only one original is copied. Therefore, the memory module 222 by the image memory access control unit 221 is used. There is no need to access to.

【0069】まず、メモリー・モジュール222を使わ
ない場合、画像処理プロセッサー204から画像データ
制御部203へ転送されたデータは、再度画像データ制
御部203から画像処理プロセッサー204へ戻され
る。画像処理プロセッサー204においては、センサー
・ボード・ユニット202におけるCCDによる輝度デ
ータを面積階調に変換するための画質処理をおこなう。
First, when the memory module 222 is not used, the data transferred from the image processing processor 204 to the image data control section 203 is returned from the image data control section 203 to the image processing processor 204 again. The image processor 204 performs image quality processing for converting the luminance data by the CCD in the sensor board unit 202 into area gradation.

【0070】画質処理後の画像データは画像処理プロセ
ッサー204からビデオ・データ制御部205に転送さ
れる。面積階調に変化された信号に対し、ドット配置に
関する後処理およびドットを再現するためのパルス制御
をおこない、その後、作像ユニット206において転写
紙上に再生画像を形成する。
The image data after the image quality processing is transferred from the image processing processor 204 to the video / data control unit 205. Post-processing regarding dot arrangement and pulse control for reproducing dots are performed on the signal changed to the area gradation, and thereafter, a reproduced image is formed on the transfer paper in the image forming unit 206.

【0071】つぎに、メモリー・モジュール222に蓄
積し画像読み出し時に付加的な処理、たとえば画像方向
の回転、画像の合成などをおこなう場合の画像データの
流れについて説明する。画像処理プロセッサー204か
ら画像データ制御部203へ転送された画像データは、
画像データ制御部203からパラレルバス220を経由
して画像メモリー・アクセス制御部221に送られる。
Next, the flow of image data when the image data is stored in the memory module 222 and additional processing is performed at the time of image reading, for example, rotation in the image direction, image composition, and the like will be described. The image data transferred from the image processor 204 to the image data control unit 203 is
It is sent from the image data control unit 203 to the image memory access control unit 221 via the parallel bus 220.

【0072】ここでは、システム・コントローラー23
1の制御に基づいて画像データとメモリー・モジュール
222のアクセス制御、外部PC(パーソナル・コンピ
ュータ)223のプリント用データの展開、メモリー・
モジュール222の有効活用のための画像データの圧縮
/伸張をおこなう。
Here, the system controller 23
Image data and the access control of the memory module 222 based on the control of 1, the expansion of the print data of the external PC (personal computer) 223, the memory.
Image data is compressed / decompressed for effective use of the module 222.

【0073】画像メモリー・アクセス制御部221へ送
られた画像データは、所定の画像処理後(詳細は後述す
るが所望時にのみ実行される)、データ圧縮後メモリー
・モジュール222へ蓄積され、蓄積された画像データ
は必要に応じて読み出される。読み出された画像データ
は伸張され、本来の画像データに戻し画像メモリー・ア
クセス制御部221からパラレルバス220を経由して
画像データ制御部203へ戻される。
The image data sent to the image memory access control section 221 is stored in the memory module 222 after data compression after predetermined image processing (details will be described later but is executed only when desired). The image data is read out as needed. The read image data is decompressed, restored to the original image data, and returned from the image memory access control unit 221 to the image data control unit 203 via the parallel bus 220.

【0074】画像データ制御部203から画像処理プロ
セッサー204への転送後は画質処理、およびビデオ・
データ制御部205でのパルス制御をおこない、作像ユ
ニット206において転写紙上に再生画像を形成する。
After transfer from the image data control unit 203 to the image processor 204, image quality processing and video
The data control unit 205 performs pulse control, and the image forming unit 206 forms a reproduced image on the transfer paper.

【0075】画像データの流れにおいて、パラレルバス
220および画像データ制御部203でのバス制御によ
り、ディジタル複合機の機能を実現する。ファクシミリ
送信機能は読み取られた画像データを画像処理プロセッ
サー204にて画像処理を実施し、画像データ制御部2
03およびパラレルバス220を経由してファクシミリ
制御ユニット224へ転送する。ファクシミリ制御ユニ
ット224にて通信網へのデータ変換をおこない、公衆
回線(PN)225へファクシミリデータとして送信す
る。
In the flow of image data, the functions of the digital multi-function peripheral are realized by the bus control of the parallel bus 220 and the image data control unit 203. The facsimile transmission function performs image processing on the read image data by the image processing processor 204, and the image data control unit 2
03 and the parallel bus 220 to the facsimile control unit 224. The facsimile control unit 224 converts the data into a communication network and sends it to the public line (PN) 225 as facsimile data.

【0076】一方、受信されたファクシミリデータは、
公衆回線(PN)225からの回線データをファクシミ
リ制御ユニット224にて画像データへ変換され、パラ
レルバス220および画像データ制御部203を経由し
て画像処理プロセッサー204へ転送される。この場
合、特別な画質処理はおこなわず、ビデオ・データ制御
部205においてドット再配置およびパルス制御をおこ
ない、作像ユニット206において転写紙上に再生画像
を形成する。
On the other hand, the received facsimile data is
The line data from the public line (PN) 225 is converted into image data by the facsimile control unit 224 and transferred to the image processor 204 via the parallel bus 220 and the image data control unit 203. In this case, no special image quality processing is performed, the video data control unit 205 performs dot rearrangement and pulse control, and the image forming unit 206 forms a reproduced image on the transfer paper.

【0077】複数ジョブ、たとえば、コピー機能、ファ
クシミリ送受信機能、プリンター出力機能が並行に動作
する状況において、読取ユニット201、作像ユニット
206およびパラレルバス220の使用権のジョブへの
割り振りをシステム・コントローラー231およびプロ
セス・コントローラー211において制御する。
In a situation in which a plurality of jobs, for example, a copy function, a facsimile transmission / reception function, and a printer output function operate in parallel, allocation of the usage right of the reading unit 201, the image forming unit 206 and the parallel bus 220 to the job is assigned to the system controller. 231 and the process controller 211.

【0078】プロセス・コントローラー211は画像デ
ータの流れを制御し、システム・コントローラー231
はシステム全体を制御し、各リソースの起動を管理す
る。また、ディジタル複合機の機能選択は操作パネル
(操作部)234において選択入力し、コピー機能、フ
ァクシミリ機能などの処理内容を設定する。
The process controller 211 controls the flow of image data, and the system controller 231
Controls the entire system and manages the activation of each resource. The function selection of the digital multi-function peripheral is selected and input on the operation panel (operation unit) 234, and the processing contents such as the copy function and the facsimile function are set.

【0079】システム・コントローラー231とプロセ
ス・コントローラー211は、パラレルバス220、画
像データ制御部203およびシリアルバス210を介し
て相互に通信をおこなう。具体的には、画像データ制御
部203内においてパラレルバス220とシリアルバス
210とのデータ・インターフェースのためのデータフ
ォーマット変換をおこなうことにより、システム・コン
トローラー231とプロセス・コントローラー211間
の通信をおこなう。
The system controller 231 and the process controller 211 communicate with each other via the parallel bus 220, the image data control unit 203 and the serial bus 210. Specifically, communication between the system controller 231 and the process controller 211 is performed by performing data format conversion for the data interface between the parallel bus 220 and the serial bus 210 in the image data control unit 203.

【0080】(画像処理ユニット103/画像処理プロ
セッサー204)つぎに、画像処理ユニット103を構
成する画像処理プロセッサー204における処理の概要
について説明する。図3は本実施の形態にかかる画像処
理装置の画像処理プロセッサー204の処理の概要を示
すブロック図である。
(Image Processing Unit 103 / Image Processing Processor 204) Next, an outline of processing in the image processing processor 204 constituting the image processing unit 103 will be described. FIG. 3 is a block diagram showing an outline of processing of the image processing processor 204 of the image processing apparatus according to the present embodiment.

【0081】図3のブロック図において、画像処理プロ
セッサー204は、第1入力I/F301と、スキャナ
ー画像処理部302と、第1出力I/F303と、第2
入力I/F304と、出力画像処理部(画質処理部)3
05と、第2出力I/F306とを含む構成となってい
る。
In the block diagram of FIG. 3, the image processor 204 includes a first input I / F 301, a scanner image processing section 302, a first output I / F 303, and a second input I / F 303.
Input I / F 304 and output image processing unit (image quality processing unit) 3
05 and the second output I / F 306.

【0082】上記構成において、読み取られた画像デー
タはセンサー・ボード・ユニット202、画像データ制
御部203を介して画像処理プロセッサー204の第1
入力インターフェース(I/F)301からスキャナー
画像処理部302へ伝達される。
In the above structure, the read image data is sent to the first of the image processor 204 via the sensor board unit 202 and the image data control unit 203.
It is transmitted from the input interface (I / F) 301 to the scanner image processing unit 302.

【0083】スキャナー画像処理部302は読み取られ
た画像データの劣化を補正することを目的とし、具体的
には、シェーディング補正、スキャナーγ補正、MTF
補正などをおこなう。補正処理ではないが、拡大/縮小
の変倍処理もおこなうことができる。読み取り画像デー
タの補正処理が終了すると、第1出力インターフェース
(I/F)303を介して画像データ制御部203へ画
像データを転送する。
The scanner image processing unit 302 aims to correct the deterioration of the read image data, and specifically, shading correction, scanner γ correction, MTF
Make corrections. Although it is not a correction process, a scaling process of enlargement / reduction can also be performed. When the correction process of the read image data is completed, the image data is transferred to the image data control unit 203 via the first output interface (I / F) 303.

【0084】転写紙への出力の際は、画像データ制御部
203からの画像データを第2入力I/F304より受
信し、画質処理部305において面積階調処理をおこな
う。画質処理後の画像データは第2出力I/F306を
介してビデオ・データ制御部205または画像データ制
御部203へ出力される。
At the time of outputting to the transfer paper, the image data from the image data control unit 203 is received from the second input I / F 304, and the image quality processing unit 305 performs the area gradation processing. The image data after the image quality processing is output to the video / data control unit 205 or the image data control unit 203 via the second output I / F 306.

【0085】画質処理部305における面積階調処理
は、濃度変換処理、ディザ処理、誤差拡散処理などがあ
り、階調情報の面積近似を主な処理とする。一旦、スキ
ャナー画像処理部302により処理された画像データを
メモリー・モジュール222に蓄積しておけば、画質処
理部305により画質処理を変えることによって種々の
再生画像を確認することができる。
The area gradation processing in the image quality processing unit 305 includes density conversion processing, dither processing, error diffusion processing, etc., and the area approximation of gradation information is the main processing. Once the image data processed by the scanner image processing unit 302 is stored in the memory module 222, various reproduced images can be confirmed by changing the image quality processing by the image quality processing unit 305.

【0086】たとえば、再生画像の濃度を振って(変更
して)みたり、ディザマトリクスの線数を変更してみた
りすることにより、再生画像の雰囲気を容易に変更する
ことができる。この際、処理を変更するごとに画像を読
取ユニット201からの読み込みをやり直す必要はな
く、メモリー・モジュール222から蓄積された画像デ
ータを読み出すことにより、同一画像データに対して、
何度でも異なる処理を迅速に実施することができる。
For example, by changing (changing) the density of the reproduced image or changing the number of lines of the dither matrix, the atmosphere of the reproduced image can be easily changed. At this time, it is not necessary to read the image from the reading unit 201 again each time the process is changed, and the image data accumulated from the memory module 222 is read,
It is possible to quickly perform different processings many times.

【0087】また、システムを単体スキャナーで構成し
た場合などには、スキャナー画像処理と階調処理を合せ
て実施し、画像データ制御部203へ出力する。処理内
容はプログラマブルに変更することができる。処理の切
り換え、処理手順の変更などはシリアルI/F308を
介してコマンド制御部307において管理する。
In the case where the system is composed of a single scanner, the scanner image processing and the gradation processing are performed together and output to the image data control unit 203. The processing content can be changed in a programmable manner. The command control unit 307 manages switching of processing, change of processing procedure, and the like via the serial I / F 308.

【0088】つぎに、画像処理プロセッサー204の内
部構成について説明する。図4は本実施の形態にかかる
画像処理装置の画像処理プロセッサー204の内部構成
の概要を示すブロック図である。図4のブロック図にお
いて、画像処理プロセッサー204は、外部とのデータ
入出力に関し、複数個の入出力ポート401を備え、そ
れぞれデータの入力および出力を任意に設定することが
できる。
Next, the internal structure of the image processor 204 will be described. FIG. 4 is a block diagram showing the outline of the internal configuration of the image processing processor 204 of the image processing apparatus according to this embodiment. In the block diagram of FIG. 4, the image processor 204 is provided with a plurality of input / output ports 401 for data input / output to / from the outside, and data input and output can be set arbitrarily.

【0089】また、入出力ポート401と接続するよう
に内部にバス・スイッチ/ローカル・メモリー群402
を備え、使用するメモリー領域、データバスの経路をメ
モリー制御部403において制御する。入力されたデー
タおよび出力のためのデータは、バス・スイッチ/ロー
カル・メモリー群402をバッファー・メモリーとして
割り当て、それぞれに格納し、外部とのI/Fを制御す
る。
Further, a bus switch / local memory group 402 is internally provided so as to be connected to the input / output port 401.
The memory control unit 403 controls the memory area to be used and the path of the data bus. The input data and the data for output are assigned to the bus switch / local memory group 402 as a buffer memory and stored in each, and the I / F with the outside is controlled.

【0090】バス・スイッチ/ローカル・メモリー群4
02に格納された画像データに対してプロセッサー・ア
レー部404において各種処理をおこない、出力結果
(処理された画像データ)を再度バス・スイッチ/ロー
カル・メモリー群402に格納する。プロセッサー・ア
レー部404における処理手順、処理のためのパラメー
ターなどは、プログラムRAM405およびデータRA
M406との間でやりとりがおこなわれる。
Bus switch / local memory group 4
The processor array unit 404 performs various processes on the image data stored in 02, and the output result (processed image data) is stored again in the bus switch / local memory group 402. The processing procedure in the processor / array unit 404, parameters for processing, and the like are stored in the program RAM 405 and the data RA.
Exchanges with M406.

【0091】プログラムRAM405、データRAM4
06の内容はシリアルI/F408を通じて、プロセス
・コントローラー211からホスト・バッファー407
にダウンロードされる。なお、シリアルI/F408は
図3におけるシリアルI/F308と同一のものであ
る。また、プロセス・コントローラー211がデータR
AM406の内容を読み出して、処理の経過を監視す
る。
Program RAM 405, data RAM 4
The contents of 06 are transferred from the process controller 211 to the host buffer 407 through the serial I / F 408.
Downloaded to. The serial I / F 408 is the same as the serial I / F 308 in FIG. In addition, the process controller 211 uses the data R
The contents of AM 406 are read and the progress of processing is monitored.

【0092】処理の内容を変えたり、システムで要求さ
れる処理形態が変更になる場合は、プロセッサー・アレ
ー部404が参照するプログラムRAM405およびデ
ータRAM406の内容を更新して対応する。
When the processing contents are changed or the processing form required by the system is changed, the contents of the program RAM 405 and the data RAM 406 referred to by the processor array unit 404 are updated and dealt with.

【0093】(画像データ制御ユニット100/画像デ
ータ制御部203)つぎに、画像データ制御ユニット1
00を構成する画像データ制御部203における処理の
概要について説明する。図5は本実施の形態にかかる画
像処理装置の画像データ制御部203の処理の概要を示
すブロック図である。
(Image Data Control Unit 100 / Image Data Control Unit 203) Next, the image data control unit 1
The outline of the processing in the image data control unit 203 which configures 00 will be described. FIG. 5 is a block diagram showing an outline of processing of the image data control unit 203 of the image processing apparatus according to this embodiment.

【0094】図5のブロック図において、画像データ入
出力制御部501は、センサー・ボード・ユニット20
2からの画像データを入力(受信)し、画像処理プロセ
ッサー204に対して画像データを出力(送信)する。
すなわち、画像データ入出力制御部501は、画像読取
ユニット101と画像処理ユニット103(画像処理プ
ロセッサー204)とを接続するための構成部であり、
画像読取ユニット101により読み取られた画像データ
を画像処理ユニット103へ送信するためだけの専用の
入出力部であるといえる。
In the block diagram of FIG. 5, the image data input / output control unit 501 is the sensor board unit 20.
The image data from 2 is input (received), and the image data is output (transmitted) to the image processor 204.
That is, the image data input / output control unit 501 is a component for connecting the image reading unit 101 and the image processing unit 103 (image processing processor 204),
It can be said that this is an exclusive input / output unit only for transmitting the image data read by the image reading unit 101 to the image processing unit 103.

【0095】また、画像データ入力制御部502は、画
像処理プロセッサー204でスキャナー画像補正された
画像データを入力(受信)する。入力された画像データ
はパラレルバス220における転送効率を高めるため
に、データ圧縮部503においてデータ圧縮処理をおこ
なう。その後、データ変換部504を経由し、パラレル
データI/F505を介してパラレルバス220へ送出
される。
Further, the image data input control section 502 inputs (receives) the image data whose scanner image has been corrected by the image processing processor 204. The input image data is subjected to data compression processing in the data compression unit 503 in order to improve transfer efficiency in the parallel bus 220. Then, the data is sent to the parallel bus 220 via the data conversion unit 504 and the parallel data I / F 505.

【0096】パラレルバス220からパラレルデータI
/F505を介して入力される画像データは、バス転送
のために圧縮されているため、データ変換部504を経
由してデータ伸張部506へ送られ、そこでデータ伸張
処理をおこなう。伸張された画像データは画像データ出
力制御部507において画像処理プロセッサー204へ
転送される。
Parallel data I from the parallel bus 220
Since the image data input via the / F 505 has been compressed for bus transfer, it is sent to the data decompression unit 506 via the data conversion unit 504, and the data decompression processing is performed there. The decompressed image data is transferred to the image processor 204 by the image data output control unit 507.

【0097】また、画像データ制御部203は、パラレ
ルデータとシリアルデータの変換機能も備えている。シ
ステム・コントローラー231はパラレルバス220に
データを転送し、プロセス・コントローラー211はシ
リアルバス210にデータを転送する。画像データ制御
部203は2つのコントローラーの通信のためにデータ
変換をおこなう。
The image data control unit 203 also has a conversion function of parallel data and serial data. The system controller 231 transfers data to the parallel bus 220, and the process controller 211 transfers data to the serial bus 210. The image data control unit 203 performs data conversion for communication between the two controllers.

【0098】また、シリアルデータI/Fは、シリアル
バス210を介してプロセス・コントローラー211と
のデータのやりとりをする第1シリアルデータI/F5
08と、画像処理プロセッサー204とのデータのやり
とりに用いる第2シリアルデータI/F508を備え
る。画像処理プロセッサー204との間に独立に1系統
もつことにより、画像処理プロセッサー204とのイン
ターフェースを円滑化することができる。
The serial data I / F is the first serial data I / F 5 for exchanging data with the process controller 211 via the serial bus 210.
08 and the second serial data I / F 508 used for exchanging data with the image processor 204. By independently providing one system with the image processing processor 204, the interface with the image processing processor 204 can be made smooth.

【0099】コマンド制御部510は、入力された命令
にしたがって、上述した画像データ制御部203内の各
構成部および各インターフェースの動作を制御する。
The command control unit 510 controls the operation of each component and each interface in the above-mentioned image data control unit 203 according to the input instruction.

【0100】(画像書込ユニット104/ビデオ・デー
タ制御部205)つぎに、画像書込ユニット104の一
部を構成するビデオ・データ制御部205における処理
の概要について説明する。図6は本実施の形態にかかる
画像処理装置のビデオ・データ制御部205の処理の概
要を示すブロック図である。
(Image Writing Unit 104 / Video Data Control Unit 205) Next, an outline of the processing in the video data control unit 205 forming a part of the image writing unit 104 will be described. FIG. 6 is a block diagram showing an outline of processing of the video / data control unit 205 of the image processing apparatus according to the present embodiment.

【0101】図6のブロック図において、ビデオ・デー
タ制御部205は、入力される画像データに対して、作
像ユニット206の特性に応じて、追加の処理をおこな
う。すなわち、エッジ平滑処理部601がエッジ平滑処
理によるドットの再配置処理をおこない、パルス制御部
602がドット形成のための画像信号のパルス制御をお
こない、上記の処理がおこなわれた画像データを作像ユ
ニット206へ出力する。
In the block diagram of FIG. 6, the video / data control unit 205 performs additional processing on the input image data according to the characteristics of the image forming unit 206. That is, the edge smoothing processing unit 601 performs the dot rearrangement processing by the edge smoothing processing, the pulse control unit 602 performs the pulse control of the image signal for dot formation, and forms the image data on which the above processing is performed. Output to the unit 206.

【0102】画像データの変換とは別に、パラレルデー
タとシリアルデータのフォーマット変換機能を備え、ビ
デオ・データ制御部205単体でもシステム・コントロ
ーラー231とプロセス・コントローラー211の通信
に対応することができる。すなわち、パラレルデータを
送受信するパラレルデータI/F603と、シリアルデ
ータを送受信するシリアルデータI/F604と、パラ
レルデータI/F603およびシリアルデータI/F6
04により受信されたデータを相互に変換するデータ変
換部605とを備えることにより、両データのフォーマ
ットを変換する。
In addition to the conversion of image data, a format conversion function for parallel data and serial data is provided, and the video data control unit 205 alone can support communication between the system controller 231 and the process controller 211. That is, parallel data I / F 603 for transmitting / receiving parallel data, serial data I / F 604 for transmitting / receiving serial data, parallel data I / F 603, and serial data I / F 6
By including a data conversion unit 605 that converts the data received by 04 to each other, the formats of both data are converted.

【0103】(画像メモリー制御ユニット102/画像
メモリー・アクセス制御部221)つぎに、画像メモリ
ー制御ユニット102の一部を構成する画像メモリー・
アクセス制御部221における処理の概要について説明
する。図7は本実施の形態にかかる画像処理装置の画像
メモリー・アクセス制御部221の処理の概要を示すブ
ロック図である。
(Image Memory Control Unit 102 / Image Memory Access Control Unit 221) Next, an image memory control unit 102, which constitutes a part of the image memory control unit 102,
The outline of the processing in the access control unit 221 will be described. FIG. 7 is a block diagram showing an outline of processing of the image memory access control unit 221 of the image processing apparatus according to this embodiment.

【0104】図7のブロック図において、画像メモリー
・アクセス制御部221は、パラレルバス220との画
像データのインターフェースを管理し、また、メモリー
・モジュール222への画像データのアクセス、すなわ
ち格納(書込み)/読出しを制御し、また、主に外部P
C223から入力されるコードデータの画像データへの
展開を制御する。
In the block diagram of FIG. 7, the image memory access control unit 221 manages the interface of the image data with the parallel bus 220, and accesses the image data to the memory module 222, that is, stores (writes) the image data. / Controls read-out and is mainly external P
Controls expansion of code data input from C223 into image data.

【0105】そのために、画像メモリー・アクセス制御
部221は、パラレルデータI/F701と、システム
・コントローラーI/F702と、メモリー・アクセス
制御部703と、ラインバッファー704と、ビデオ制
御部705と、データ圧縮部706と、データ伸張部7
07と、データ変換部708と、図示を省略するメモリ
ー画像処理部と、を含む構成である。
Therefore, the image memory access control unit 221 includes a parallel data I / F 701, a system controller I / F 702, a memory access control unit 703, a line buffer 704, a video control unit 705, and a data control unit 705. Compressor 706 and data decompressor 7
07, a data conversion unit 708, and a memory image processing unit (not shown).

【0106】ここで、パラレルデータI/F701は、
パラレルバス220との画像データのインターフェース
を管理する。また、メモリー・アクセス制御部703
は、メモリー・モジュール222への画像データのアク
セス、すなわち格納(書込み)/読出しを制御する。
Here, the parallel data I / F 701 is
It manages the image data interface with the parallel bus 220. In addition, the memory access control unit 703
Controls the access of the image data to the memory module 222, that is, the storage (writing) / reading.

【0107】また、入力されたコードデータは、ライン
バッファー704において、ローカル領域でのデータの
格納をおこなう。ラインバッファー704に格納された
コードデータは、システム・コントローラーI/F70
2を介して入力されたシステム・コントローラー231
からの展開処理命令に基づき、ビデオ制御部705にお
いて画像データに展開される。
The input code data is stored in the line buffer 704 in the local area. The code data stored in the line buffer 704 is the system controller I / F 70.
System controller 231 input via 2
The video control unit 705 expands the image data into image data on the basis of the expansion processing command.

【0108】展開された画像データもしくはパラレルデ
ータI/F701を介してパラレルバス220から入力
された画像データは、メモリー・モジュール222に格
納される。この場合、データ変換部708において格納
対象となる画像データを選択し、データ圧縮部706に
おいてメモリー使用効率を上げるためにデータ圧縮をお
こない、メモリー・アクセス制御部703にてメモリー
・モジュール222のアドレスを管理しながらメモリー
・モジュール222に画像データを格納(書込み)す
る。
The expanded image data or the image data input from the parallel bus 220 via the parallel data I / F 701 is stored in the memory module 222. In this case, the data conversion unit 708 selects the image data to be stored, the data compression unit 706 performs data compression to improve memory usage efficiency, and the memory access control unit 703 sets the address of the memory module 222. Image data is stored (written) in the memory module 222 while being managed.

【0109】メモリー・モジュール222に格納(蓄
積)された画像データの読み出しは、メモリー・アクセ
ス制御部703において読み出し先アドレスを制御し、
読み出された画像データをデータ伸張部707において
伸張する。伸張された画像データをパラレルバス220
へ転送する場合、パラレルデータI/F701を介して
データ転送をおこなう。
To read the image data stored (stored) in the memory module 222, the memory access control unit 703 controls the read destination address,
The read image data is expanded by the data expansion unit 707. The decompressed image data is sent to the parallel bus 220.
When the data is transferred to, the data is transferred via the parallel data I / F 701.

【0110】この画像メモリーアクセス制御部221に
設けられる上記メモリー画像処理部は、入力された画像
データに対する所定の画像処理を実行する。このメモリ
ー画像処理部は、主にメモリー・モジュール222に対
する画像データの格納を前提とした画像処理を実行する
ものであり、データ圧縮部706でのデータ圧縮前に画
像処理を実行する。
The memory image processing section provided in the image memory access control section 221 executes predetermined image processing on the input image data. The memory image processing unit mainly executes image processing premised on storing image data in the memory module 222, and executes image processing before data compression by the data compression unit 706.

【0111】(ユニット構成)つぎに、本実施の形態に
かかる画像処理装置のユニット構成について説明する。
図8は、画像処理装置がディジタル複合機の場合のユニ
ット構成の一例を示すブロック図である。また、図9
は、画像処理装置が単体プリンターの場合のユニット構
成の一例を示すブロック図である。
(Unit Configuration) Next, the unit configuration of the image processing apparatus according to the present embodiment will be described.
FIG. 8 is a block diagram showing an example of a unit configuration when the image processing apparatus is a digital multi-function peripheral. In addition, FIG.
FIG. 3 is a block diagram showing an example of a unit configuration when the image processing apparatus is a single printer.

【0112】図8に示すようにディジタル複合機の場合
においては、画像読取ユニット101、画像エンジン制
御ユニット800、画像書込ユニット104の3つのユ
ニットで構成され、各ユニットはそれぞれ単独のPCB
基板で管理できる。
As shown in FIG. 8, in the case of a digital multi-function peripheral, it is composed of three units, an image reading unit 101, an image engine control unit 800 and an image writing unit 104, and each unit is a single PCB.
Can be managed on the board.

【0113】画像読取ユニット101は、CCD80
1、A/D変換モジュール802、ゲイン制御モジュー
ル803などから構成され、光学的に読み取られた光学
画像情報をディジタル画像信号に変換する。
The image reading unit 101 is a CCD 80.
1, an A / D conversion module 802, a gain control module 803, etc., and converts the optically read optical image information into a digital image signal.

【0114】画像エンジン制御ユニット800は、シス
テム・コントローラー231、プロセス・コントローラ
ー211、画像メモリー制御ユニット102内のメモリ
ー・モジュール222を中心に構成し、画像処理プロセ
ッサー204、画像メモリー・アクセス制御部221お
よびバス制御をおこなう画像データ制御部203をひと
まとまりとしてあつかう。
The image engine control unit 800 mainly comprises a system controller 231, a process controller 211, and a memory module 222 in the image memory control unit 102, and includes an image processor 204, an image memory access control unit 221 and The image data control unit 203 that performs bus control is handled as a unit.

【0115】また、画像書込ユニット104は、ビデオ
・データ制御部205を中心に作像ユニット206を含
む構成である。
The image writing unit 104 has a structure including an image forming unit 206 centering on the video / data control unit 205.

【0116】これらのユニット構成において、画像読取
ユニット101の仕様、性能が変更になった場合、ディ
ジタル複合機のシステムでは画像読取ユニット101の
みを変更すれば、データ・インターフェースは保持され
ているので他のユニットは変更する必要がない。また、
作像ユニット(エンジン)206が変更になった場合、
画像書込ユニット104のみ変更すればシステムの再構
築が可能となる。
In these unit configurations, when the specifications and performances of the image reading unit 101 are changed, the data interface is held by changing only the image reading unit 101 in the system of the digital multi-function peripheral. Units do not need to be changed. Also,
When the image forming unit (engine) 206 is changed,
The system can be reconstructed by changing only the image writing unit 104.

【0117】このように、入出力デバイスに依存するユ
ニットは別々な構成でシステムを構築するので、データ
・インターフェースが保持されている限り、最小ユニッ
トの交換のみでシステムのアップグレードがおこなえ
る。
As described above, the units depending on the input / output devices form a system with different configurations, so that the system can be upgraded only by exchanging the minimum unit as long as the data interface is held.

【0118】図9に示す単体プリンターにおいては、デ
ィジタル複合機と同じ作像ユニット(エンジン)206
を使う場合、ディジタル複写機と画像書込ユニット10
4を共有することができる。
In the stand-alone printer shown in FIG. 9, the same image forming unit (engine) 206 as that of the digital multifunction peripheral is used.
When using, a digital copying machine and an image writing unit 10
4 can be shared.

【0119】画像処理装置を単体プリンターとして用い
る場合は、画像読取ユニット101は必要なく、ディジ
タル複合機のシステム構成から画像読取ユニット101
は取り除く。画像エンジン制御ユニット800はディジ
タル複合機と共通にしても機能は達成できるが、スペッ
クオーバーとなる。また、画像処理プロセッサー204
は不要であるため、システムに最適なコントローラーを
別な基板で構成し、コストの最適化を図ることができ
る。
When the image processing apparatus is used as a single printer, the image reading unit 101 is not necessary, and the image reading unit 101 can be used because of the system configuration of the digital multi-function peripheral.
Remove. The image engine control unit 800 can achieve the function even if it is shared with the digital multi-function peripheral, but the specifications are exceeded. In addition, the image processor 204
Since it is unnecessary, it is possible to optimize the cost by configuring the optimal controller for the system on another board.

【0120】図8に示した画像エンジン制御ユニット8
00の構成において、画像処理プロセッサー204、画
像データ制御部203、画像メモリー・アクセス制御部
221の各モジュール(構成部)は独立なモジュールで
構成する。したがって、画像エンジン制御ユニット80
0からコントローラーへの転用は不要なモジュールを削
除することで、共通モジュールは汎用的に使用されてい
る。このように、画像エンジン制御用のモジュール、コ
ントローラー用のモジュールを別々に作成せずに、同様
な機能は共通のモジュールを使用することで実現してい
る。
Image engine control unit 8 shown in FIG.
In the configuration of 00, each module (configuration unit) of the image processor 204, the image data control unit 203, and the image memory access control unit 221 is configured by an independent module. Therefore, the image engine control unit 80
Common module is used for general purpose by deleting unnecessary modules from 0 to controller. As described above, similar functions are realized by using a common module without separately creating a module for controlling the image engine and a module for the controller.

【0121】(画像処理の内容)つぎに、本実施の形態
にかかる画像処理装置の画像処理の内容について説明す
る。図10は、本実施の形態にかかる画像処理装置のス
キャナーの概略(空間フィルターの一例)を示す説明図
である。MTF補正機能は空間フィルターの構成により
実現する。
(Details of Image Processing) Next, contents of image processing of the image processing apparatus according to the present embodiment will be described. FIG. 10 is an explanatory diagram showing an outline (an example of a spatial filter) of the scanner of the image processing apparatus according to the present embodiment. The MTF correction function is realized by the configuration of the spatial filter.

【0122】図10において、二次元の空間フィルター
が、A〜Yまでのフィルター係数をともなって構成され
る場合に、入力画像データに関しては、すべての画像に
同一の演算処理でフィルター処理を実施している。たと
えば、入力画像データ(i行、j列)を中心にして空間
フィルター処理をおこなう場合、それぞれi行、j列の
画像に対し、対応する係数との演算処理理をおこなう。
(i,j)の画素は係数値Mとの演算を、(i,j+
1)の画素は係数値Nとの演算をそれぞれおこない、フ
ィルターマトリクス内の計算結果が、注目画素(i,
j)の処理結果として出力される。
In FIG. 10, when a two-dimensional spatial filter is constructed with filter coefficients A to Y, the input image data is filtered by the same arithmetic processing for all the images. ing. For example, when the spatial filter processing is performed centering on the input image data (i row, j column), the arithmetic processing with the corresponding coefficient is performed on the image of the i row, j column, respectively.
The pixel of (i, j) is calculated with the coefficient value M by (i, j +
The pixel of 1) is respectively calculated with the coefficient value N, and the calculation result in the filter matrix shows the pixel of interest (i,
It is output as the processing result of j).

【0123】注目画素が(i,j+1)の場合、(i,
j+1)の画素は係数値Mとの演算をおこない、(i,
j+2)の画素は係数値Nとの演算をおこない、フィル
ターマトリクス内の計算結果が、注目画素(i,j+
1)の処理結果として出力される。
If the pixel of interest is (i, j + 1), (i, j
The pixel of (j + 1) is calculated with the coefficient value M, and (i,
The pixel of (j + 2) is calculated with the coefficient value N, and the calculation result in the filter matrix is the pixel of interest (i, j +).
It is output as the processing result of 1).

【0124】入力画像データが異なり、処理のためのパ
ラメーターが共通な処理となっている。この空間フィル
ター処理において、係数値A〜Yの値は固定ではなく、
入力画像の特性、所望の画像品質に応じて値は任意に変
更できる。また変更できないと画像処理機能の柔軟性が
確保できなくなる場合がある。
The input image data is different, and the processing parameters are common. In this spatial filtering process, the coefficient values A to Y are not fixed,
The value can be arbitrarily changed according to the characteristics of the input image and the desired image quality. If it cannot be changed, the flexibility of the image processing function may not be secured.

【0125】画像処理プロセッサー204での実施は、
係数値をプロセス・コントローラー211よりダウンロ
ードし、読み取りユニットの構成が変更になり、読み取
り画像劣化の特性が変更になっても、ロードするデータ
の内容を変更することでシステムの変更に対応できる。
Implementation in the image processor 204 is
Even if the coefficient value is downloaded from the process controller 211 and the configuration of the reading unit is changed and the characteristic of the read image deterioration is changed, the content of the data to be loaded can be changed to cope with the system change.

【0126】図11は、本実施の形態にかかる画像処理
装置のシェーディング補正の概略を示す説明図である。
また、図12は、本実施の形態にかかる画像処理装置の
シェーディング・データの概略を示す説明図である。シ
ェーディング補正は照明系の照度分布に基づく反射光特
性の不均一性を補正するもので、原稿の読み取りに先立
ち濃度が均一な基準白板を読み取り、シェーディング補
正のための基準データを生成し、このシェーディング・
データに基づき、読み取り画像の読み取り位置に依存す
る反射分布の正規化をおこなう。
FIG. 11 is an explanatory diagram showing an outline of shading correction of the image processing apparatus according to the present embodiment.
Further, FIG. 12 is an explanatory diagram showing an outline of shading data of the image processing apparatus according to the present embodiment. Shading correction corrects non-uniformity of reflected light characteristics based on the illuminance distribution of the illumination system.Before reading the original, a reference white plate with uniform density is read and reference data for shading correction is generated.・
Based on the data, the reflection distribution depending on the reading position of the read image is normalized.

【0127】図12に示すように、シェーディング・デ
ータは、原稿読み取り位置nに依存して反射分布が異な
る。原稿読み取り位置の端部では均一濃度の白板が暗く
読まれる。Snは読み取り位置nでの白板読み取り信号
レベルを示しており、Snが大きいほど明るく読まれた
ことを示している。
As shown in FIG. 12, the shading data has a different reflection distribution depending on the document reading position n. A white plate of uniform density is read dark at the end of the document reading position. Sn represents the white plate read signal level at the read position n, and the larger Sn is, the brighter the read was.

【0128】シェーディング補正は、位置に依存するデ
ータに関して、同一内容の処理を各読み取り画像データ
に対し実施することでランプの光量分布ムラを補正す
る。図11に示すSデータは、図12に示す白板読み取
りによって生成されたシェーディング・データである。
また、図11に示すDデータは、各読み取りラインの読
み取り画像データである。また、nは読み取り位置を示
す。
The shading correction corrects the unevenness of the light quantity distribution of the lamp by performing the same processing on the read image data for the position-dependent data. The S data shown in FIG. 11 is shading data generated by the white plate reading shown in FIG.
The D data shown in FIG. 11 is read image data of each reading line. Further, n indicates a reading position.

【0129】Cデータは、Dデータのシェーディング補
正後のデータであり、 Cn=A*(Dn/Sn) で正規化される。ここで、Aは正規化係数である。
The C data is the data after the shading correction of the D data and is normalized by Cn = A * (Dn / Sn). Here, A is a normalization coefficient.

【0130】画像処理プロセッサー204においては、
Sデータをローカル・メモリーに格納し、入力されたD
データに対し対応するDn、Sn間で補正演算をおこな
う。
In the image processor 204,
S data stored in local memory, input D
A correction calculation is performed between Dn and Sn corresponding to the data.

【0131】(データフロー)つぎに、メモリー・モジ
ュール222に画像を蓄積する処理について説明する。
図13および図14は、本実施の形態にかかるメモリー
・モジュール222に画像を蓄積する処理をともなうデ
ィジタル複合機としての画像処理装置のデータフローを
示す説明図である。
(Data Flow) Next, a process of accumulating an image in the memory module 222 will be described.
13 and 14 are explanatory diagrams showing the data flow of the image processing apparatus as a digital multi-function peripheral with the processing of accumulating an image in the memory module 222 according to the present embodiment.

【0132】図13は、読取ユニット201からメモリ
ー・モジュール222までの流れを示し、図14は、メ
モリー・モジュール222から作像ユニット206まで
の流れを示す。なお、各処理は、画像データ制御部20
3の制御によりバスおよびユニット間のデータフローが
制御されることによりおこなわれる。
FIG. 13 shows the flow from the reading unit 201 to the memory module 222, and FIG. 14 shows the flow from the memory module 222 to the image forming unit 206. Note that each process is performed by the image data control unit 20.
This is done by controlling the data flow between the bus and the unit by the control of 3.

【0133】図13において、読取ユニット201およ
びセンサー・ボード・ユニット202が読み取り制御を
おこなう(ステップS1301)。つぎに、画像データ
制御部203が、画像データの入力処理および出力制御
をおこなう(ステップS1302)。つぎに、画像処理
プロセッサー204が、入力I/F制御処理をおこない
(ステップS1303)、上述したスキャナー画像処理
をおこない(ステップS1304)、出力I/F処理を
おこなう(ステップS1305)。
In FIG. 13, the reading unit 201 and the sensor board unit 202 perform reading control (step S1301). Next, the image data control unit 203 performs input processing and output control of image data (step S1302). Next, the image processing processor 204 performs an input I / F control process (step S1303), the above-mentioned scanner image process (step S1304), and an output I / F process (step S1305).

【0134】つぎに、再び、画像データ制御部203
が、画像データの入力処理をおこない(ステップS13
06)、データ圧縮(ステップS1307)およびデー
タ変換(ステップS1308)をおこない、パラレルI
/F制御処理をおこなう(ステップS1309)。
Next, again, the image data control unit 203
Performs image data input processing (step S13).
06), data compression (step S1307) and data conversion (step S1308).
/ F control processing is performed (step S1309).

【0135】つぎに、画像メモリー・アクセス制御部2
21が、パラレルI/F制御処理をおこない(ステップ
S1310)、データ変換し(ステップS1311)、
データ圧縮(ステップS1312)をおこない、メモリ
ー・モジュール222に対してメモリー・アクセス制御
をおこなう(ステップS1313)。それにより、メモ
リー・モジュール222に画像データが記憶される(ス
テップS1314)。
Next, the image memory access control unit 2
21 performs parallel I / F control processing (step S1310), performs data conversion (step S1311),
Data compression (step S1312) is performed, and memory access control is performed on the memory module 222 (step S1313). As a result, the image data is stored in the memory module 222 (step S1314).

【0136】また、図14において、メモリー・モジュ
ール222に記憶されている画像データ(ステップS1
401)に対し、画像メモリー・アクセス制御部221
が、メモリー・アクセス制御をおこない(ステップS1
402)、データ伸張(ステップS1403)およびデ
ータ変換(ステップS1404)をおこない、パラレル
I/F制御処理をおこなう(ステップS1405)。
In FIG. 14, the image data stored in the memory module 222 (step S1
401) to the image memory access control unit 221
Performs memory access control (step S1
402), data expansion (step S1403) and data conversion (step S1404), and parallel I / F control processing is performed (step S1405).

【0137】つぎに、画像データ制御部203が、パラ
レルI/F制御処理をおこない(ステップS140
6)、データ変換(ステップS1407)およびデータ
伸張(ステップS1408)をおこない、画像データ出
力制御をおこなう(ステップS1409)。
Next, the image data control unit 203 performs parallel I / F control processing (step S140).
6), data conversion (step S1407) and data expansion (step S1408) are performed, and image data output control is performed (step S1409).

【0138】つぎに、画像処理プロセッサー204が、
入力I/F制御処理をおこない(ステップS141
0)、画質処理をおこない(ステップS1411)、出
力I/F制御処理をおこなう(ステップS1412)。
Next, the image processor 204
Input I / F control processing is performed (step S141
0), image quality processing is performed (step S1411), and output I / F control processing is performed (step S1412).

【0139】つぎに、ビデオ・データ制御部205が、
エッジ平滑処理をおこない(ステップS1413)、パ
ルス制御をおこない(ステップS1414)、その後、
作像ユニット206が作像処理をおこなう(ステップS
1415)。
Next, the video data control unit 205
Edge smoothing processing is performed (step S1413), pulse control is performed (step S1414), and then
The image forming unit 206 performs an image forming process (step S
1415).

【0140】読み取り画像データに関しては画像処理プ
ロセッサー204でのスキャナー画像処置を、作像ユニ
ット206へ出力のための画像データに関しては画像処
理プロセッサー204での画質処理を独立に実施する。
Scanner image processing is executed by the image processing processor 204 for the read image data, and image quality processing is executed by the image processing processor 204 for the image data to be output to the image forming unit 206.

【0141】また、スキャナー画像処理と画質処理は並
行して動作可能であり、読み取り画像はファクシミリ送
信に対し実施し、並行してあらかじめメモリー・モジュ
ール222に蓄積されている画像データを画質処理の内
容を変えながら転写紙へ出力することができる。
Further, the scanner image processing and the image quality processing can be operated in parallel, the read image is executed for the facsimile transmission, and the image data stored in advance in the memory module 222 is processed in parallel with the contents of the image quality processing. It is possible to output to transfer paper while changing.

【0142】また、図15および図16は、本実施の形
態にかかるメモリー・モジュール222に画像を蓄積す
る処理をともなう画像処理装置のデータフローを示す説
明図である。図15は、PC223からメモリー・モジ
ュール222までの流れを示し、図16は、メモリー・
モジュール222から作像ユニット206までの流れを
示す。
FIG. 15 and FIG. 16 are explanatory diagrams showing the data flow of the image processing apparatus with the processing of accumulating an image in the memory module 222 according to this embodiment. FIG. 15 shows the flow from the PC 223 to the memory module 222, and FIG.
A flow from the module 222 to the image forming unit 206 is shown.

【0143】図15において、PC223が画像データ
を出力し(ステップS1501)、画像メモリー・アク
セス制御部221がラインバッファーによりに画像デー
タを保持し(ステップS1502)、ビデオ制御し(ス
テップS1503)、データ変換(ステップS150
4)後に、圧縮をおこない(ステップS1505)、メ
モリー・モジュール222に対してメモリー・アクセス
制御をおこなう(ステップS1506)。それにより、
画像データはメモリー・モジュール222に記憶される
(ステップS1507)。
In FIG. 15, the PC 223 outputs the image data (step S1501), the image memory access control unit 221 holds the image data in the line buffer (step S1502), and the video control (step S1503) is performed. Conversion (step S150
After 4), compression is performed (step S1505), and memory access control is performed on the memory module 222 (step S1506). Thereby,
The image data is stored in the memory module 222 (step S1507).

【0144】図16において、メモリー・モジュール2
22に記憶されている画像データ(ステップS160
1)に対し、画像メモリー・アクセス制御部221が、
メモリー・アクセス制御をおこない(ステップS160
2)、データ伸張(ステップS1603)およびデータ
変換(ステップS1604)をおこない、パラレルI/
F制御処理をおこなう(ステップS1605)。
In FIG. 16, the memory module 2
Image data stored in step 22 (step S160
In contrast to 1), the image memory access control unit 221
Memory access control is performed (step S160
2), data expansion (step S1603) and data conversion (step S1604) are performed, and parallel I / O is performed.
F control processing is performed (step S1605).

【0145】つぎに、ビデオ・データ制御部205が、
エッジ平滑処理をおこない(ステップS1606)、パ
ルス制御をおこない(ステップS1607)、その後、
作像ユニット206が作像処理をおこなう(ステップS
1608)。
Next, the video data control unit 205
Edge smoothing processing is performed (step S1606), pulse control is performed (step S1607), and then
The image forming unit 206 performs an image forming process (step S
1608).

【0146】このように、PC223からのコードデー
タを画像データに変換し一旦メモリー・モジュール22
2に蓄積すれば、複数部数を出力する場合、データの展
開時間は1回だけであるので、毎回展開処理するコント
ローラーに比べ、印字パフォーマンスは向上する。
In this way, the code data from the PC 223 is converted into the image data and the memory module 22
If the data is stored in 2, when outputting a plurality of copies, since the data development time is only once, the printing performance is improved as compared with the controller that performs the expansion processing each time.

【0147】また、メモリー・モジュール222から読
み出された画像データはビデオ・データ制御部205で
の後処理の内容を変更することで、同一画像に対し複数
のバリエーションで転写紙に再生画像を形成できる。さ
らに、ビデオ・データ制御部205のエッジ平滑処理、
パルス制御処理のパラメーターを変更するたびにコード
データを画像データに展開する必要はない。
The image data read from the memory module 222 is changed in post-processing by the video data control unit 205 to form reproduced images on a transfer sheet with a plurality of variations for the same image. it can. Furthermore, the edge smoothing processing of the video / data control unit 205,
It is not necessary to expand the code data into image data every time the parameter of the pulse control process is changed.

【0148】(ファクシミリ制御ユニット224の構
成)つぎに、ファクシミリ制御ユニット224の機能的
な構成について説明する。図17は、本実施の形態にお
ける画像処理装置のファクシミリ制御ユニット224の
構成を示すブロック図である。
(Structure of Facsimile Control Unit 224) Next, the functional structure of the facsimile control unit 224 will be described. FIG. 17 is a block diagram showing the configuration of the facsimile control unit 224 of the image processing apparatus according to this embodiment.

【0149】図17のブロック図において、ファクシミ
リ制御ユニット224は、ファクシミリ送受信部170
1と外部I/F1702とから構成される。ここで、フ
ァクシミリ送受信部1701は、画像データを通信形式
に変換して外部回線に送信し、また、外部からのデータ
を画像データに戻して外部I/F1702およびパラレ
ルバス220を介して作像ユニットにおいて記録出力す
る。
In the block diagram of FIG. 17, the facsimile control unit 224 includes a facsimile transmission / reception unit 170.
1 and an external I / F 1702. Here, the facsimile transmission / reception unit 1701 converts the image data into a communication format and transmits it to an external line, and converts the external data back into image data to form an image forming unit via the external I / F 1702 and the parallel bus 220. Record and output at.

【0150】ファクシミリ送受信部1701は、ファク
シミリ画像処理部1703、画像メモリー1704、メ
モリー制御部1705、データ制御部1706、画像圧
縮伸張部1707、モデム1708および網制御装置1
709を含む構成である。
The facsimile transmission / reception unit 1701 includes a facsimile image processing unit 1703, an image memory 1704, a memory control unit 1705, a data control unit 1706, an image compression / expansion unit 1707, a modem 1708 and a network control device 1.
709 is included in the configuration.

【0151】このうち、ファクシミリ画像処理に関し、
受信画像に対する二値スムージング処理は、図6に示し
たビデオ・データ制御部205内のエッジ平滑処理部6
01においておこなう。また、画像メモリー1704に
関しても、出力バッファー機能に関しては画像メモリー
・アクセス制御部221およびメモリー・モジュール2
22にその機能の一部を移行する。
Of these, regarding facsimile image processing,
The binary smoothing processing on the received image is performed by the edge smoothing processing unit 6 in the video / data control unit 205 shown in FIG.
At 01. Also, regarding the image memory 1704, regarding the output buffer function, the image memory access control unit 221 and the memory module 2
A part of the function is transferred to 22.

【0152】このように構成されたファクシミリ送受信
部1701では、画像データの伝送を開始するとき、デ
ータ制御部1706がメモリー制御部1705に指令
し、画像メモリー1704から蓄積している画像データ
を順次読み出させる。読み出された画像データは、ファ
クシミリ画像処理部1703によって元の信号に復元さ
れるとともに、密度変換処理や変倍処理がなされ、デー
タ制御部1706に加えられる。
In the facsimile transmission / reception unit 1701 having the above-described structure, when the transmission of image data is started, the data control unit 1706 instructs the memory control unit 1705 to sequentially read the image data stored from the image memory 1704. Let out. The read-out image data is restored to the original signal by the facsimile image processing unit 1703, subjected to density conversion processing and scaling processing, and added to the data control unit 1706.

【0153】データ制御部1706に加えられた画像デ
ータは、画像圧縮伸張部1707によって符号圧縮さ
れ、モデム1708によって変調された後、網制御装置
1709を介して宛先へと送出される。そして、送信が
完了した画像情報は、画像メモリー1704から削除さ
れる。
The image data added to the data control unit 1706 is code-compressed by the image compression / expansion unit 1707, modulated by the modem 1708, and then sent to the destination via the network control device 1709. Then, the transmitted image information is deleted from the image memory 1704.

【0154】受信時には、受信画像は一旦画像メモリー
1704に蓄積され、そのときに受信画像を記録出力可
能であれば、1枚分の画像の受信を完了した時点で記録
出力する。また、複写動作時に発呼されて受信を開始し
たときは、画像メモリー1704の使用率が所定値、た
とえば80%に達するまでは画像メモリー1704に蓄
積し、画像メモリー1704の使用率が80%に達した
場合には、そのときに実行している書き込み動作を強制
的に中断し、受信画像を画像メモリー1704から読み
出し記録出力する。
At the time of reception, the received image is temporarily stored in the image memory 1704, and if the received image can be recorded and output at that time, it is recorded and output when the reception of one image is completed. Further, when a call is made during the copying operation and reception is started, the image memory 1704 is accumulated in the image memory 1704 until the usage rate reaches a predetermined value, for example, 80%, and the usage rate of the image memory 1704 becomes 80%. When it reaches, the writing operation being executed at that time is forcibly interrupted, and the received image is read from the image memory 1704 and recorded and output.

【0155】このとき画像メモリー1704から読み出
した受信画像は画像メモリー1704から削除し、画像
メモリー1704の使用率が所定値、たとえば10%ま
で低下した時点で中断していた書き込み動作を再開し、
その書き込み動作をすべて終了した時点で、残りの受信
画像を記録出力する。また、書き込み動作を中断した後
に、再開できるように中断時における書き込み動作のた
めの各種パラメーターを内部的に退避し、再開時に、パ
ラメーターを内部的に復帰する。
At this time, the received image read from the image memory 1704 is deleted from the image memory 1704, and the writing operation that was interrupted when the usage rate of the image memory 1704 drops to a predetermined value, for example, 10%, is resumed.
When all the writing operations are completed, the remaining received image is recorded and output. Further, after the write operation is interrupted, various parameters for the write operation at the time of interruption are internally saved so that it can be restarted, and the parameters are internally restored when restarted.

【0156】(SIMD型プロセッサーの構成)図18
は、画像処理プロセッサー204に設けられるSIMD
型演算処理手段(SIMD型プロセッサー)の概略構成
を示す説明図である。SIMD(Single Ins
truction stream Multiple
Datastream)は複数のデータに対し、単一の
命令を並列に実行させるもので、複数のPE(プロセッ
サー・エレメント)より構成される。
(Structure of SIMD type processor) FIG.
Is a SIMD provided in the image processor 204
It is explanatory drawing which shows schematic structure of a type arithmetic processing means (SIMD type processor). SIMD (Single Ins
truncation stream Multiple
Datastream) executes a single instruction in parallel for a plurality of data, and is composed of a plurality of PEs (processor elements).

【0157】それぞれのPEはデータを格納するレジス
ター(Reg)1801、他のPEのレジスターをアク
セスするためのマルチプレクサー(MUX)1802、
バレルシフター(Shift Expand)180
3、論理演算器(ALU)1804、論理結果を格納す
るアキュムレーター(A)1805、アキュムレーター
1805の内容を一時的に退避させるテンポラリー・レ
ジスター(F)1806から構成される。
Each PE has a register (Reg) 1801 for storing data, a multiplexer (MUX) 1802 for accessing the register of another PE,
Barrel shifter (Shift Expand) 180
3, a logical operation unit (ALU) 1804, an accumulator (A) 1805 for storing a logical result, and a temporary register (F) 1806 for temporarily saving the contents of the accumulator 1805.

【0158】各レジスター1801はアドレスバスおよ
びデータバス(リード線およびワード線)に接続されて
おり、処理を規定する命令コード、処理の対象となるデ
ータを格納する。レジスター1801の内容は論理演算
器1804に入力され、演算処理結果はアキュムレータ
ー1805に格納される。結果をPE外部に取り出すた
めに、テンポラリー・レジスター1806に一旦退避さ
せる。テンポラリー・レジスター1806の内容を取り
出すことにより、対象データに対する処理結果が得られ
る。
Each register 1801 is connected to an address bus and a data bus (read line and word line), and stores an instruction code defining the process and data to be processed. The content of the register 1801 is input to the logical operation unit 1804, and the operation processing result is stored in the accumulator 1805. In order to take the result out of the PE, it is temporarily saved in the temporary register 1806. By extracting the contents of the temporary register 1806, the processing result for the target data can be obtained.

【0159】命令コードは各PEに同一内容で与え、処
理の対象データをPEごとに異なる状態で与え、隣接P
Eのレジスター1801の内容をマルチプレクサー18
02において参照することで、演算結果は並列処理さ
れ、各アキュムレーター1805に出力される。
The instruction code is given to each PE in the same content, the data to be processed is given in a different state for each PE, and the adjacent P
The contents of the register 1801 of E are transferred to the multiplexer 18
With reference to 02, the calculation result is processed in parallel and output to each accumulator 1805.

【0160】たとえば、画像データ1ラインの内容を各
画素ごとにPEに配置し、同一の命令コードで演算処理
させれば、1画素ずつ逐次処理するよりも短時間で1ラ
イン分の処理結果が得られる。特に、空間フィルター処
理、シェーディング補正処理はPEごとの命令コードは
演算式そのもので、PEすべてに共通に処理を実施する
ことができる。
For example, if the contents of one line of image data are arranged in the PE for each pixel and arithmetic processing is performed with the same instruction code, the processing result for one line can be obtained in a shorter time than when the pixels are sequentially processed. can get. In particular, in the spatial filter processing and the shading correction processing, the instruction code for each PE is the arithmetic expression itself, and the processing can be performed commonly to all PEs.

【0161】(倍密度階調処理の内容)つぎに、画像処
理プロセッサー204が実行する倍密度階調処理の処理
内容について説明する。図19は、画像処理プロセッサ
ー204内部において倍密度階調処理にかかる構成を示
すブロック図である。
(Contents of Double-Density Gradation Processing) Next, the processing content of the double-density gradation processing executed by the image processor 204 will be described. FIG. 19 is a block diagram showing a configuration related to double density gradation processing inside the image processor 204.

【0162】一事例として、画像データ制御部203か
ら画像処理プロセッサー204に対し、600dpiの
解像度をもつ8ビット(256値)の画像データが入力
され、画像処理プロセッサー204が1200dpiの
解像度をもつ2値の画像データに変換してビデオ・デー
タ制御部205へ出力するとする。
As an example, 8-bit (256-value) image data having a resolution of 600 dpi is input from the image data control unit 203 to the image processing processor 204, and the image processing processor 204 outputs a binary value having a resolution of 1200 dpi. It is assumed that the image data is converted into image data and output to the video data control unit 205.

【0163】まず、ユーザーは操作パネル234から、
原稿の種類を選択する。原稿の種類に限らず、たとえば
画像処理プロセッサー204へ入力される画像データの
階調数や総データ転送量といった、画像処理プロセッサ
ー204が倍密度2値化処理を実行するために必要な情
報は、画像データS1の入力が開始される前に、システ
ム・コントローラー231が画像データ制御部203へ
伝達し、画像データ制御部203は、これらの情報を書
きこみ要求信号S2と共に、コマンド信号S3を画像処
理プロセッサー204内の制御部1901へ伝達する。
First, the user uses the operation panel 234 to
Select the type of original. The information necessary for the image processing processor 204 to execute the double-density binarization processing, such as the number of gradations of image data input to the image processing processor 204 and the total data transfer amount, is not limited to the type of document. Before the input of the image data S1 is started, the system controller 231 transmits the image data control unit 203 to the image data control unit 203, and the image data control unit 203 image-processes the command signal S3 together with the write request signal S2. It is transmitted to the control unit 1901 in the processor 204.

【0164】制御部1901は、書きこみ要求信号S2
を受信すると、コマンド信号S3から得た情報にしたが
って、特徴量抽出アルゴリズム記憶部1902から特徴
量抽出アルゴリズムのプログラムデータS5を特徴量抽
出部1903へ転送する。画像データS1を受信するた
めに必要な手順がすべて完了するまでは、画像データ制
御部203に対してBusy信号S3を発信する。ま
た、すべての手順が完了したらReady信号S3を発
信し、画像データS1が入力されるまで待機する。
The control section 1901 controls the write request signal S2.
When it receives, the program data S5 of the feature quantity extraction algorithm is transferred from the feature quantity extraction algorithm storage unit 1902 to the feature quantity extraction unit 1903 according to the information obtained from the command signal S3. The Busy signal S3 is transmitted to the image data control unit 203 until all the procedures necessary for receiving the image data S1 are completed. When all the procedures are completed, the Ready signal S3 is transmitted, and the process waits until the image data S1 is input.

【0165】画像データ制御部203は、書きこみ要求
信号S2を画像処理プロセッサー204へ発信後、ある
一定時間内に画像処理プロセッサー204からのRea
dy信号S3が確認されない場合には、システム・コン
トローラー231に対しエラーを通知する。
The image data control unit 203 transmits the write request signal S2 to the image processing processor 204, and then, within a certain fixed time, the Rea from the image processing processor 204.
If the dy signal S3 is not confirmed, an error is notified to the system controller 231.

【0166】入力される画像データS1は、一旦、入力
部1904の速度変換FIFO1905に蓄えられた
後、特徴量抽出部1903へ送られる。特徴量抽出部1
903は、特徴量抽出アルゴリズム記憶部1902から
転送された特徴量抽出アルゴリズムのプログラムデータ
S5にしたがって、受信した画像データの特徴をスカラ
ー量(以降、特徴量S6)で求める。閾値マトリクスを
作成するために必要な特徴量と、2値画像データの送信
フォーマットを決定するために必要な特徴量は、個別に
抽出することが可能で、特徴量抽出アルゴリズムの簡単
な例としてはつぎが挙げられる。
The input image data S1 is temporarily stored in the speed conversion FIFO 1905 of the input unit 1904 and then sent to the feature amount extraction unit 1903. Feature quantity extraction unit 1
903 obtains the feature of the received image data by a scalar amount (hereinafter, feature amount S6) according to the program data S5 of the feature amount extraction algorithm transferred from the feature amount extraction algorithm storage unit 1902. The feature amount required to create the threshold matrix and the feature amount required to determine the transmission format of the binary image data can be extracted individually. As a simple example of the feature amount extraction algorithm, Is mentioned.

【0167】一つは、入力される画像データのエッジ度
(濃淡の度合い)を抽出するもので、図20(a)〜
(d)に示す4枚のフィルターを用い、各フィルターの
数値を対応画素に乗算する演算処理をおこない、絶対値
が最も大きな演算結果を、その画素に対する特徴量S6
と決定する。図20(a)に示すフィルター2001は
注目画素を中心として左右方向のエッジ度を検出する。
また、(b)のフィルター2002は上下方向、(c)
のフィルター2003は右上左下方向、(d)のフィル
ター2004は右下左上方向のエッジ度を検出する。こ
れら複数のフィルターを用いて得られた特徴量S6は、
閾値マトリクス作成部1906へ送信される。
One is to extract the edge degree (the degree of shading) of the input image data, as shown in FIG.
Using the four filters shown in (d), a calculation process of multiplying the corresponding pixel by the numerical value of each filter is performed, and the calculation result with the largest absolute value is obtained as the feature amount S6 for that pixel.
To decide. The filter 2001 shown in FIG. 20A detects the edge degree in the left-right direction with the pixel of interest as the center.
Further, the filter 2002 of (b) is in the vertical direction, (c)
The filter 2003 of (3) detects the edge degree in the upper right lower left direction, and the filter 2004 (d) detects the edge degree of the lower right upper left direction. The feature amount S6 obtained by using these plural filters is
It is transmitted to the threshold matrix creating unit 1906.

【0168】他には、受信した1ライン分の画像データ
S1について、与えられた閾値と画素濃度を比較して、
閾値以上の画素と閾値未満の画素の連続量を特徴量S6
と決定する。画素の連続量はカウンタなどでカウントす
る。この特徴量S6は、入力された画像データの中で低
濃度部と高濃度部の分布をスカラー量で表したもので、
判定部1907へ送信される。
In addition, with respect to the received image data S1 for one line, the given threshold value is compared with the pixel density,
The continuous amount of pixels that are greater than or equal to the threshold value and pixels that are less than the threshold value is the feature value S6.
To decide. The continuous amount of pixels is counted by a counter or the like. The feature amount S6 is a scalar amount representing the distribution of the low density portion and the high density portion in the input image data.
It is transmitted to the determination unit 1907.

【0169】これらのアルゴリズムは複数搭載され、外
部からのコマンド信号S4によって選択することが可能
である。選択は、画像データの種類(イメージ、文字、
写真線画など)に応じて適切なアルゴリズムを選択する
ことができる。
A plurality of these algorithms are mounted and can be selected by a command signal S4 from the outside. Select the type of image data (image, character,
An appropriate algorithm can be selected according to the photograph line drawing, etc.).

【0170】コマンド信号S4を受信した制御部190
1は、特徴量抽出部1903に対して、選択されたアル
ゴリズムのプログラムデータS5を特徴量抽出アルゴリ
ズム記憶部1902からロードし、処理を実行するよう
に指示する。
Control unit 190 which received the command signal S4
1 instructs the feature amount extraction unit 1903 to load the program data S5 of the selected algorithm from the feature amount extraction algorithm storage unit 1902 and execute the process.

【0171】閾値マトリクス作成部1906は、特徴量
抽出部1903から得られた特徴量S5を受信し、閾値
マトリクス作成アルゴリズム記憶部1908から転送さ
れた閾値マトリクス作成アルゴリズムのプログラムデー
タS7にしたがって、入力された画像データS1の1画
素につき、縦2×横2画素からなる閾値マトリクスS8
を作成する。
The threshold value matrix creating unit 1906 receives the feature value S5 obtained from the feature value extracting unit 1903, and inputs it according to the program data S7 of the threshold value matrix creating algorithm transferred from the threshold value matrix creating algorithm storage unit 1908. A threshold matrix S8 consisting of vertical 2 × horizontal 2 pixels for each pixel of the image data S1
To create.

【0172】閾値を決定するアルゴリズムの例として
は、つぎの方法が挙げられる。特徴量S6を使って、入
力される画像データS1の中間値を補正するもので、上
記入力される画像データS1の場合濃淡階調が256値
なので中間値は128となる。そして下記演算式を実行
する。
The following method can be given as an example of the algorithm for determining the threshold value. The characteristic value S6 is used to correct the intermediate value of the input image data S1. In the case of the input image data S1, since the gray scale is 256, the intermediate value is 128. Then, the following arithmetic expression is executed.

【0173】F(x,y)=128+K×C(x,y)F (x, y) = 128 + K × C (x, y)

【0174】但し、F(x,y):補正された閾値 K :補正係数 C(x,y):特徴量 x,y :注目画素の位置座標However, F (x, y): corrected threshold value K: correction factor C (x, y): feature amount x, y: Position coordinates of the pixel of interest

【0175】図20のフィルター演算をおこなうことに
より、入力される画像データに対する特徴量が求めら
れ、この結果入力される画像データの各1画素につき一
つの特徴量が得られる。そして、上記演算式に示すよう
な特徴量を重みとする補正値{K×C(x,y)}を求
め、中間値である128に加算する。
By performing the filter calculation shown in FIG. 20, the feature amount for the input image data is obtained, and as a result, one feature amount is obtained for each pixel of the input image data. Then, a correction value {K × C (x, y)} having the feature amount as the weight shown in the above arithmetic expression is obtained, and added to the intermediate value 128.

【0176】この後、補正された特徴量の一つから、4
つの閾値(2×2の閾値マトリクス)を求める。ここ
で、図21および図22に示す縦16×横16からなる
係数マトリクス2101を参照して閾値を求める。すな
わち、特徴量に中間値を加えた後、係数マトリクス21
01内の4つの値を加算して、4つの閾値を求める。こ
の際、係数マトリクス2101自体は縦16×横16の
サイズを有するが、その中の縦2×横2マトリクスから
なる4つの値を用いる。
After this, from one of the corrected feature quantities to 4
Two thresholds (2 × 2 threshold matrix) are obtained. Here, the threshold value is obtained by referring to the coefficient matrix 2101 consisting of vertical 16 × horizontal 16 shown in FIG. 21 and FIG. That is, after adding the intermediate value to the feature quantity, the coefficient matrix 21
The four values in 01 are added to obtain four threshold values. At this time, the coefficient matrix 2101 itself has a size of vertical 16 × horizontal 16, but uses four values of the matrix of vertical 2 × horizontal 2 therein.

【0177】図21および図22を用いて説明すると、
図21に示す各中間値を加えた後の各画素の特徴量a,
b,c,…には、図22に示す係数マトリクス2101
内の対応する画素の4つの値を加算する。たとえば図2
1に示す特徴量aには図22の係数マトリクス2101
内の4つの値Aが加算される。同様に図21の特徴量b
には図22のBに示す4つの値が加算される。図21に
示す特徴量の位置が1画素縦横にシフトすると、それに
加算する4つの値は、図22に示す係数マトリクス21
01内で縦横いずれも2倍ずつシフトさせた位置にある
値を用いておこなう。
Explaining with reference to FIGS. 21 and 22,
The feature value a of each pixel after addition of each intermediate value shown in FIG.
b, c, ... Are the coefficient matrices 2101 shown in FIG.
Add the four values of the corresponding pixels in. Figure 2
The coefficient a shown in FIG.
The four values A in the above are added. Similarly, the feature amount b in FIG.
Is added with four values shown in B of FIG. When the position of the feature amount shown in FIG. 21 is shifted vertically and horizontally by one pixel, the four values added to it are the coefficient matrix 21 shown in FIG.
Within 01, the values in both the vertical and horizontal directions are shifted by a factor of two and used.

【0178】256階調(白0〜黒:255)の入力さ
れた画像データを、2階調(白:0と黒:1)の画像へ
変換するときに使用する閾値は、0〜255までが考え
られる。これら256種類の閾値を表現できる最小の正
方マトリクスは縦16×横16サイズ(マトリクスのマ
スの数が256個)になる。ゆえに、上記係数マトリク
ス2101は縦16×横16サイズとなる。
The threshold value used when converting input image data of 256 gradations (white 0 to black: 255) into an image of 2 gradations (white: 0 and black: 1) is from 0 to 255. Can be considered. The smallest square matrix capable of expressing these 256 types of thresholds has a size of 16 vertical × 16 horizontal (the number of squares in the matrix is 256). Therefore, the coefficient matrix 2101 has a size of 16 vertical × 16 horizontal.

【0179】このように、補正と中間値の加算をした後
の特徴量に対して、上記係数マトリクス2101を用い
て、さらに4つの値を加算をおこない周期的に加算して
いく。この周期的とは、注目画素が1画素シフトするた
びに、係数マトリクス2101から抽出する4つの値の
位置を2マスずつシフトさせることを示す。この周期
は、注目画素の2倍の周期となる。ここで、中間値12
8は固定の加算量であり、その後、係数マトリクス21
01を用いた際の4つの値は変動する加算量である。つ
ぎに、加算した結果が負の値になった場合は0に修正
し、255以上ならば255に修正する。
As described above, the coefficient matrix 2101 is used to add four more values to the feature quantity after the correction and the addition of the intermediate value, and the values are added periodically. The term "periodic" means that the position of the four values extracted from the coefficient matrix 2101 is shifted by 2 squares each time the pixel of interest is shifted by 1 pixel. This cycle is twice as long as the pixel of interest. Where the intermediate value 12
8 is a fixed amount of addition, and then the coefficient matrix 21
The four values when 01 is used are fluctuating addition amounts. Next, if the added result is a negative value, it is corrected to 0, and if it is 255 or more, it is corrected to 255.

【0180】ここで、図22に示す係数マトリクス21
01の値は、ユーザーが期待する出力画像の質(たとえ
ば、滑らかな画像にしたい、めりはりのある画像にした
いなど)によって決定される。なお、ランダムな値では
効果が得られない。この、期待する出力画像の質は、ユ
ーザーが操作パネル234で選択する原稿の種類に基づ
き判断し、選択することができる。
Here, the coefficient matrix 21 shown in FIG.
The value of 01 is determined by the quality of the output image that the user expects (for example, a smooth image, a sharp image, etc.). Note that the effect cannot be obtained with a random value. The expected quality of the output image can be determined and selected based on the type of document selected by the user on the operation panel 234.

【0181】値の配置例としては、滑らかな画像にする
ための係数マトリクス2101では、値の近い係数を遠
ざけて配置させる。また、めりはりのある画像にするた
めの係数マトリクス2101では、マトリクスの中心部
には正の係数を、端部には負の係数を偏らせて配置させ
る。
As an example of the arrangement of values, in the coefficient matrix 2101 for making a smooth image, the coefficients having similar values are arranged apart from each other. Further, in the coefficient matrix 2101 for producing a sharp image, a positive coefficient is biased at the center of the matrix and a negative coefficient is biased at the ends.

【0182】比較部1909は、入力される画像データ
S1の1画素に対して、縦2×横2画素からなる閾値マ
トリクスS8を用いて、4画素分の2値化濃度を決定す
る。比較部1909から出力される画像データは、入力
される画像データS1(n値、NDpi)と比較して解
像度が2倍の2値画像データS9(2値、2NDpi)
となる。
The comparison unit 1909 determines the binarized density for four pixels for one pixel of the input image data S1 by using the threshold matrix S8 consisting of vertical 2 × horizontal 2 pixels. The image data output from the comparison unit 1909 is binary image data S9 (binary, 2NDpi) whose resolution is double that of the input image data S1 (n value, NDpi).
Becomes

【0183】2値画像データS9は、最も少ないデータ
量で送信が完了するフォーマットに変換された後、外部
へ出力される。画像処理プロセッサー204内部には第
1の送信部1910と第2の送信部1911が搭載さ
れ、比較部1909から出力された画像データS9を、
それぞれ異なる送信フォーマットS10,S11に変換
する。
The binary image data S9 is output to the outside after being converted into a format in which transmission is completed with the smallest amount of data. A first transmission unit 1910 and a second transmission unit 1911 are installed inside the image processing processor 204, and the image data S9 output from the comparison unit 1909 is
The transmission formats S10 and S11 are different from each other.

【0184】図23および図24は、第1の送信部19
10で変換された送信データS10を示す図である。図
23に示すように、この送信データS10は、8bit
からなり、2値画像データ中の白画素と黒画素の連続量
を7bitで表現する。図24は連続量を説明する図で
あり、白、黒それぞれの2値画像データに対する画素の
連続状態と連続量は図示の関係(数値)となる。図23
において、最上位ビット(MSB)は連続量が白画素で
あるのか(0)黒画素であるのか(1)を示す。送信デ
ータS10は連続量が大きい場合に少ないデータ量とな
る。
23 and 24 show the first transmitting section 19
It is a figure which shows the transmission data S10 converted by 10. As shown in FIG. 23, this transmission data S10 has 8 bits.
The continuous amount of white pixels and black pixels in the binary image data is represented by 7 bits. FIG. 24 is a diagram for explaining the continuous amount, and the continuous state and continuous amount of pixels for binary image data of white and black have the illustrated relationship (numerical value). FIG. 23
In, the most significant bit (MSB) indicates whether the continuous amount is a white pixel (0) or a black pixel (1). The transmission data S10 has a small data amount when the continuous amount is large.

【0185】また、第2の送信部1911で変換された
送信データS11は8bitからなり、8画素分の2値
画像データを詰め込んだものである。送信データS11
は連続量が小さい場合に少ないデータ量となる。
The transmission data S11 converted by the second transmission section 1911 is composed of 8 bits, and the binary image data for 8 pixels is packed. Transmission data S11
Is a small amount of data when the continuous amount is small.

【0186】外部へ出力する際に使用する送信フォーマ
ットS1,S2は、判定部1907によって決定され
る。判定部1907は、特徴量抽出部1903で求めた
特徴量S6から、最も少ないデータ量で送信が完了でき
るフォーマットS1,S2のいずれかを選択する。
The transmission formats S1 and S2 used when outputting to the outside are determined by the determination unit 1907. The determination unit 1907 selects one of the formats S1 and S2 that can complete the transmission with the smallest data amount from the feature amount S6 obtained by the feature amount extraction unit 1903.

【0187】上記構成例の場合、画像処理プロセッサー
204に入力された画像データS1の中で低濃度部と高
濃度部の分布を表す特徴量S6を求めている。低濃度部
と高濃度部の連続量が大きい場合には、第1の送信部1
910で変換された2値画像データS10を出力部19
12へ送る。逆に、連続量が小さい場合には、第2の送
信部1911で変換された2値画像データS11を出力
部1912へ送る。判定部1907は、いずれの送信フ
ォーマットで2値画像データS10,S11を送ってい
るかを、制御部1901を介して出力部1912へ情報
S14として伝達する。
In the case of the above configuration example, the characteristic amount S6 representing the distribution of the low density portion and the high density portion in the image data S1 input to the image processing processor 204 is obtained. When the continuous amount of the low-density portion and the high-density portion is large, the first transmitting unit 1
The output unit 19 outputs the binary image data S10 converted in 910.
Send to 12. On the contrary, when the continuous amount is small, the binary image data S11 converted by the second transmission unit 1911 is sent to the output unit 1912. The determination unit 1907 notifies the output unit 1912 via the control unit 1901 of information S14 as to which transmission format the binary image data S10 and S11 are sent.

【0188】出力部1912は、判定部1907から2
値画像データS1,S2を受信し、また制御部1901
から送信フォーマットに関する情報S14を受信し、外
部からの要求に応じて画像データS12と、送信フォー
マット識別信号S13を出力する。
The output unit 1912 outputs the judgment units 1907 to 2
The value image data S1 and S2 are received, and the control unit 1901
Receives the information S14 regarding the transmission format, and outputs the image data S12 and the transmission format identification signal S13 in response to a request from the outside.

【0189】なお、本実施の形態で説明した画像処理に
かかる各構成部は、あらかじめ用意されたプログラムを
パーソナル・コンピュータやワークステーションなどの
コンピュータで実行することにより実現することができ
る。このプログラムは、ハードディスク、フロッピー
(R)ディスク、CD−ROM、MO、DVDなどのコ
ンピュータで読み取り可能な記録媒体に記録され、コン
ピュータによって記録媒体から読み出されることによっ
て実行される。またこのプログラムは、上記記録媒体を
介して、インターネットなどのネットワークを介して配
布することができる。
[0189] Note that each component relating to the image processing described in this embodiment can be realized by executing a program prepared in advance on a computer such as a personal computer or a workstation. This program is recorded on a computer-readable recording medium such as a hard disk, a floppy (R) disk, a CD-ROM, an MO, or a DVD, and is executed by being read from the recording medium by the computer. Further, this program can be distributed through the recording medium and a network such as the Internet.

【0190】[0190]

【発明の効果】以上説明したように、請求項1に記載の
発明によれば、読み取った画像信号をディジタル変換さ
れた画像信号に変換し、もしくはディジタル的に生成さ
れた画像情報を画像信号に変換し、ディジタル変換され
た画像信号を顕像として出力可能な画像信号になるよう
に画像処理するためのプログラマブルな演算手段を備え
た画像処理装置において、前記演算手段は、N(dp
i)の解像度をもつn値(n>2)の入力画像データ
を、2N(dpi)の解像度をもつ2値の出力画像デー
タへ倍密度2値化変換処理する機能を有し、該演算手段
には、倍密度2値化変換処理の実行時には、入力画像デ
ータの特徴を所定の閾値以上の画素と閾値未満の画素の
連続量を特徴量として求める特徴量抽出手段と、前記特
徴量を得て、2N(dpi)の解像度で前記入力画像デ
ータの1画素につき縦2×横2画素の閾値マトリクスを
作成する閾値マトリクス作成手段と、前記閾値マトリク
スに基づき、入力画像データの1画素に対する4画素分
の2値化濃度を決定する比較手段とを備えた構成とした
ので、入力画像データの画素の連続量を特徴量として求
め、縦横2画素ずつの4画素の閾値マトリクスを作成し
各画素の2値化濃度を決定することにより、画質の劣化
が少なく、また大容量のメモリーおよび大規模な演算手
段を必要とせずに、階調変換と密度変換を同時に実行で
きるという効果を奏する。
As described above, according to the first aspect of the invention, the read image signal is converted into a digitally converted image signal, or the digitally generated image information is converted into an image signal. In an image processing apparatus provided with a programmable arithmetic means for converting and digitally converting the image signal into an image signal that can be output as a visible image, the arithmetic means is N (dp
i) The function of performing n-valued (n> 2) input image data having a resolution into binary output image data having a resolution of 2N (dpi) by double density binarization conversion processing, In addition, when executing the double density binarization conversion process, a feature amount extraction unit that obtains a feature amount of a pixel of the input image data that is a continuous amount of pixels that are equal to or more than a predetermined threshold value and a pixel that is less than the threshold value is obtained, And threshold value matrix creating means for creating a threshold value matrix of vertical 2 × horizontal 2 pixels for each pixel of the input image data at a resolution of 2N (dpi), and 4 pixels for 1 pixel of the input image data based on the threshold matrix. And a comparison means for determining the binary density for each pixel. Therefore, the continuous amount of pixels of the input image data is obtained as a feature amount, and a threshold matrix of 4 pixels each having 2 pixels in the vertical and horizontal directions is created to generate each pixel. Binary density Achieved by determining, less deterioration of the image quality, and without the need for memory and large computing means large, an effect of executing the gradation conversion and density conversion simultaneously.

【0191】また、請求項2の発明によれば、請求項1
に記載の発明において、前記特徴量抽出手段は、2N
(dpi)の解像度をもつ閾値マトリクスを作成するた
めの複数のアルゴリズムを具備し、外部からの切り換え
指示によってアルゴリズムを切り換え可能な構成とした
ので、閾値マトリクスを作成するための複数のアルゴリ
ズムが切り換え可能であり、入力画像データの種類など
に対応して最適なアルゴリズムを選択して倍密度2値化
変換処理のパフォーマンス向上を図ることができるとい
う効果を奏する。
According to the invention of claim 2, claim 1
In the invention described in [3], the feature amount extraction means is 2N.
Since a plurality of algorithms for creating a threshold matrix having a resolution of (dpi) are provided and the algorithms can be switched by an external switching instruction, a plurality of algorithms for creating the threshold matrix can be switched. Therefore, there is an effect that an optimum algorithm can be selected according to the type of input image data and the like to improve the performance of the double density binarization conversion process.

【0192】また、請求項3の発明によれば、請求項2
に記載の発明において、前記特徴量抽出手段は、前記ア
ルゴリズムとして、入力される画像データのエッジ度を
抽出すべく該画像データを注目画素とした方向別に異な
る4枚のフィルター演算をおこない、絶対値が最も大き
な演算結果を、その画素に対する特徴量と決定する構成
としたので、複数枚のフィルターを用いて入力される画
像データのエッジ度を抽出するだけで特徴量を容易に得
ることができ、倍密度2値化変換処理のパフォーマンス
向上が図れるという効果を奏する。
According to the invention of claim 3, claim 2
In the invention described in (1), the feature amount extraction means performs, as the algorithm, four filter operations that are different for each direction in which the image data is a target pixel in order to extract the edge degree of the input image data, and an absolute value is calculated. Has a configuration in which the largest calculation result is determined as the feature amount for the pixel, so that the feature amount can be easily obtained only by extracting the edge degree of the image data input using a plurality of filters, This has the effect of improving the performance of the double-density binarization conversion process.

【0193】また、請求項4の発明によれば、請求項2
に記載の発明において、前記特徴量抽出手段は、前記ア
ルゴリズムとして、受信した1ライン分の画像データに
ついて、与えられた閾値と画素濃度を比較して、閾値以
上の画素と閾値未満の画素の連続量を特徴量であると決
定する構成としたので、画像データの画素の濃度別の連
続量に基づき特徴量を容易に得ることができ、倍密度2
値化変換処理のパフォーマンス向上を図れるという効果
を奏する。
According to the invention of claim 4, claim 2
In the invention described in (1), the feature amount extraction means, as the algorithm, compares a given threshold value and a pixel density with respect to the received image data of one line, and continuously connects pixels equal to or more than the threshold value and pixels less than the threshold value. Since the amount is determined to be the feature amount, the feature amount can be easily obtained based on the continuous amount for each density of the pixels of the image data.
This has the effect of improving the performance of the binarization conversion process.

【0194】また、請求項5の発明によれば、請求項1
に記載の発明において、前記演算手段は、2N(dp
i)の解像度をもつ2値画像データを異なる送信形式で
外部送信する複数の送信手段と、前記特徴量に基づき、
最も少ないデータ量で送信できる送信手段を選択して外
部出力する判定手段とを備えた構成としたので、入力画
像データの特徴によって、倍密度2値画像データを最も
少ないデータ量で画像データする送信形式を選択できる
ため、画像データの転送効率を向上でき、画像処理パフ
ォーマンスの向上が図れるという効果を奏する。
According to the invention of claim 5, claim 1
In the invention described in (1), the calculating means is 2N (dp
i) a plurality of transmitting means for externally transmitting binary image data having a resolution in different transmission formats, and based on the characteristic amount,
Since the configuration is such that the transmission means that can transmit with the smallest amount of data is selected and the determination means that outputs to the outside is provided, the transmission with which the double-density binary image data is imaged with the smallest amount of data depending on the characteristics of the input image data. Since the format can be selected, the transfer efficiency of the image data can be improved, and the image processing performance can be improved.

【0195】また、請求項6の発明によれば、請求項5
に記載の発明において、前記複数の送信手段のうち一つ
は、2値画像データ中の白画素と黒画素の連続量を所定
ビット数で表現し、かつ、所定ビットを用いて該連続量
が白あるいは黒画素を指定して送信する構成としたの
で、送信する2値画像データの画素の濃度の連続を所定
ビット数で表現するため、画素の濃度が多数連続する場
合データ量の削減が図れるという効果を奏する。
Further, according to the invention of claim 6, claim 5
In one aspect of the invention described above, one of the plurality of transmission means represents a continuous amount of white pixels and black pixels in the binary image data by a predetermined number of bits, and the continuous amount is expressed by using a predetermined bit. Since the configuration is such that the white or black pixels are designated and transmitted, the consecutive pixel densities of the binary image data to be transmitted are expressed by a predetermined number of bits, so that the data amount can be reduced when a large number of pixel densities are consecutive. Has the effect.

【0196】また、請求項7の発明によれば、請求項5
に記載の発明において、前記複数の送信手段のうち一つ
は、所定ビット数のデータ列に同ビット数に対応した画
素分の2値画像データを詰め込み送信する構成としたの
で、送信する2値画像データのビットそれぞれに画素濃
度を詰め込むため、画素の濃度が連続しない場合にデー
タ量の削減が図れるという効果を奏する。
According to the invention of claim 7, claim 5
In the invention described in (1), since one of the plurality of transmitting means is configured to stuff and transmit binary image data of pixels corresponding to the same number of bits in a data string of a predetermined number of bits, a binary value to be transmitted. Since the pixel density is packed into each bit of the image data, there is an effect that the data amount can be reduced when the pixel density is not continuous.

【0197】また、請求項8の発明によれば、読み取っ
た画像信号をディジタル変換された画像信号に変換し、
もしくはディジタル的に生成された画像情報を画像信号
に変換し、ディジタル変換された画像信号を顕像として
出力可能な画像信号になるように画像処理する画像処理
方法において、N(dpi)の解像度をもつn値(n>
2)の入力画像データを、2N(dpi)の解像度をも
つ2値の出力画像データへ倍密度2値化変換処理する際
には、入力画像データの特徴を所定の閾値以上の画素と
閾値未満の画素の連続量を特徴量として求める特徴量抽
出工程と、前記特徴量を得て、2N(dpi)の解像度
で前記入力画像データの1画素につき縦2×横2画素の
閾値マトリクスを作成する閾値マトリクス作成工程と、
前記閾値マトリクスに基づき、入力画像データの1画素
に対する4画素分の2値化濃度を決定する比較工程とを
含む構成としたので、入力画像データの画素の連続量を
特徴量として求め、縦横2画素ずつの4画素の閾値マト
リクスを作成し各画素の2値化濃度を決定するため、簡
単な演算処理で階調変換と密度変換を同時に実行でき、
画質の劣化が少なく、また大容量のメモリーおよび大規
模な演算手段を不要にできるという効果を奏する。
According to the invention of claim 8, the read image signal is converted into a digitally converted image signal,
Alternatively, in an image processing method of converting digitally generated image information into an image signal and performing image processing so that the digitally converted image signal becomes an image signal that can be output as a visible image, a resolution of N (dpi) is set. N value (n>)
When the input image data of 2) is subjected to the double density binarization conversion processing to the binary output image data having a resolution of 2N (dpi), the characteristics of the input image data are set to the pixels which are equal to or more than a predetermined threshold value and less than the threshold value. Feature amount extraction step of obtaining a continuous amount of pixels as the feature amount, and obtaining the feature amount, and creating a threshold matrix of vertical 2 × horizontal 2 pixels for each pixel of the input image data with a resolution of 2N (dpi). A threshold matrix creating step,
Since the configuration includes a comparison step of determining the binarized densities of four pixels for one pixel of the input image data based on the threshold matrix, the continuous amount of pixels of the input image data is obtained as a feature amount, Since a threshold matrix of 4 pixels for each pixel is created and the binarized density of each pixel is determined, gradation conversion and density conversion can be performed simultaneously with simple arithmetic processing.
The image quality is less deteriorated, and a large-capacity memory and a large-scale arithmetic means can be eliminated.

【0198】また、請求項9の発明によれば、請求項8
に記載の発明において、前記特徴量抽出工程では、2N
(dpi)の解像度をもつ閾値マトリクスを作成するた
めの複数のアルゴリズムを具備し、切り換え指示に基づ
きアルゴリズムを切り換え可能な構成としたので、閾値
マトリクスを作成するための複数のアルゴリズムが切り
換え可能であり、入力画像データの種類などに対応して
最適なアルゴリズムを選択して倍密度2値化変換処理の
パフォーマンス向上が図れるという効果を奏する。
Further, according to the invention of claim 9, claim 8 is provided.
In the invention described in the paragraph 3, in the feature amount extraction step, 2N
Since a plurality of algorithms for creating a threshold matrix having a resolution of (dpi) are provided and the algorithms can be switched based on the switching instruction, a plurality of algorithms for creating the threshold matrix can be switched. An effect that the performance of the double-density binarization conversion process can be improved by selecting the optimum algorithm according to the type of input image data and the like.

【0199】また、請求項10の発明によれば、請求項
9に記載の発明において、前記特徴量抽出工程の前記ア
ルゴリズムは、入力される画像データのエッジ度を抽出
すべく該画像データを注目画素とした方向別に異なる4
枚のフィルター演算をおこない、絶対値が最も大きな演
算結果を、その画素に対する特徴量と決定する構成とし
たので、複数枚のフィルターを用いて入力される画像デ
ータのエッジ度を抽出するだけで特徴量を容易に得るこ
とができ、倍密度2値化変換処理のパフォーマンス向上
が図れるという効果を奏する。
According to a tenth aspect of the invention, in the invention of the ninth aspect, the algorithm of the feature amount extracting step focuses on the image data to extract the edge degree of the input image data. Different for each pixel direction 4
Since the filter result is calculated for a single image and the calculation result with the largest absolute value is determined as the feature amount for that pixel, it is possible to use only multiple filters to extract the edge degree of the input image data. The amount can be easily obtained, and the performance of the double-density binarization conversion process can be improved.

【0200】また、請求項11の発明によれば、請求項
9に記載の発明において、前記特徴量抽出工程の前記ア
ルゴリズムは、受信した1ライン分の画像データについ
て、与えられた閾値と画素濃度を比較して、閾値以上の
画素と閾値未満の画素の連続量を特徴量であると決定す
る構成としたので、画像データの画素の濃度別の連続量
に基づき特徴量を容易に得ることができ、倍密度2値化
変換処理のパフォーマンス向上が図れるという効果を奏
する。
According to an eleventh aspect of the invention, in the invention of the ninth aspect, the algorithm of the feature amount extracting step is such that, for the received image data for one line, a given threshold value and pixel density are given. And the continuous amount of pixels that are equal to or larger than the threshold value and the pixels that are less than the threshold value are determined to be the feature amount. Therefore, the feature amount can be easily obtained based on the continuous amount for each density of the pixels of the image data. Therefore, it is possible to improve the performance of the double-density binarization conversion process.

【0201】また、請求項12の発明によれば、請求項
8に記載の発明において、前記倍密度2値化変換処理
後、2N(dpi)の解像度をもつ2値画像データを、
前記特徴量に基づき、最も少ないデータ量で送信できる
複数の送信形式のうち一つを選択して外部出力させる出
力工程を含む構成としたので、入力画像データの特徴に
よって、倍密度2値画像データを最も少ないデータ量で
画像データする送信形式を選択できるため、画像データ
の転送効率を向上でき、画像処理パフォーマンスの向上
が図れるという効果を奏する。
According to the twelfth aspect of the invention, in the eighth aspect of the invention, the binary image data having a resolution of 2N (dpi) after the double density binarization conversion process is
Since the configuration includes an output step of selecting one of a plurality of transmission formats that can be transmitted with the smallest data amount based on the characteristic amount and externally outputting the same, the double-density binary image data is Since it is possible to select the transmission format in which the image data is transmitted with the smallest amount of data, the transfer efficiency of the image data can be improved, and the image processing performance can be improved.

【0202】また、請求項13の発明によれば、請求項
12に記載の発明において、前記出力工程の送信形式
は、2値画像データ中の白画素と黒画素の連続量を所定
ビット数で表現し、かつ、所定ビットを用いて該連続量
が白あるいは黒画素を指定して送信する構成としたの
で、送信する2値画像データの画素の濃度の連続を所定
ビット数で表現するため、画素の濃度が多数連続する場
合データ量の削減が図れるという効果を奏する。
According to the thirteenth aspect of the present invention, in the invention of the twelfth aspect, the transmission format of the output step is a predetermined amount of consecutive white and black pixels in the binary image data. Since the image data is expressed and the continuous amount is designated and transmitted by designating the white or black pixel, the continuous pixel density of the binary image data to be transmitted is expressed by the predetermined number of bits. When a large number of pixel densities are continuous, the data amount can be reduced.

【0203】また、請求項14の発明によれば、請求項
12に記載の発明において、前記出力工程の送信形式
は、所定ビット数のデータ列に同ビット数に対応した画
素分の2値画像データを詰め込み送信する構成としたの
で、送信する2値画像データのビットそれぞれに画素濃
度を詰め込むため、画素の濃度が連続しない場合にデー
タ量の削減が図れるという効果を奏する。
According to the invention of claim 14, in the invention of claim 12, the transmission format of the output step is a binary image of pixels corresponding to the same number of bits in a data string of a predetermined number of bits. Since the data is packed and transmitted, the pixel density is packed in each bit of the binary image data to be transmitted, so that the data amount can be reduced when the pixel density is not continuous.

【0204】また、請求項15の発明によれば、前記請
求項8〜14のいずれかに記載された方法をコンピュー
タに実行させる構成としたので、コンピュータを用いて
階調変換と密度変換を同時に実行できるようになり、画
像処理パフォーマンスの向上が図れるという効果を奏す
る。
Further, according to the fifteenth aspect of the present invention, since the method according to any one of the eighth to fourteenth aspects is configured to cause a computer to execute, the gradation conversion and the density conversion are simultaneously performed using the computer. Since it can be executed, the effect of improving the image processing performance can be achieved.

【0205】また、請求項16の発明によれば、前記請
求項15に記載されたプログラムを記録した構成とした
ので、そのプログラムを機械読み取り可能となり、これ
によって、請求項15の動作をコンピュータによって実
現することができるという効果を奏する。
According to the sixteenth aspect of the present invention, since the program described in the fifteenth aspect is recorded, the program can be machine-readable, whereby the operation of the fifteenth aspect can be performed by a computer. There is an effect that can be realized.

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

【図1】この発明の本実施の形態にかかる画像処理装置
の構成を機能的に示すブロック図である。
FIG. 1 is a block diagram functionally showing a configuration of an image processing apparatus according to an embodiment of the present invention.

【図2】本実施の形態にかかる画像処理装置のハードウ
エア構成の一例を示すブロック図である。
FIG. 2 is a block diagram showing an example of a hardware configuration of the image processing apparatus according to the present embodiment.

【図3】本実施の形態にかかる画像処理装置の画像処理
プロセッサーの処理の概要を示すブロック図である。
FIG. 3 is a block diagram showing an outline of processing of an image processing processor of the image processing apparatus according to the present embodiment.

【図4】本実施の形態にかかる画像処理装置の画像処理
プロセッサーの内部構成の概要を示すブロック図であ
る。
FIG. 4 is a block diagram showing an outline of an internal configuration of an image processing processor of the image processing apparatus according to the present embodiment.

【図5】本実施の形態にかかる画像処理装置の画像デー
タ制御部の処理の概要を示すブロック図である。
FIG. 5 is a block diagram showing an outline of processing of an image data control unit of the image processing apparatus according to the present embodiment.

【図6】本実施の形態にかかる画像処理装置のビデオ・
データ制御部の処理の概要を示すブロック図である。
FIG. 6 illustrates a video of the image processing apparatus according to the present embodiment.
It is a block diagram which shows the outline | summary of a process of a data control part.

【図7】本実施の形態にかかる画像処理装置の画像メモ
リー・アクセス制御部の処理の概要を示すブロック図で
ある。
FIG. 7 is a block diagram showing an outline of processing of an image memory access control unit of the image processing apparatus according to the present embodiment.

【図8】本実施の形態にかかる画像処理装置のユニット
構成の一例を示すブロック図である。
FIG. 8 is a block diagram showing an example of a unit configuration of the image processing apparatus according to the present embodiment.

【図9】本実施の形態にかかる画像処理装置のユニット
構成の別の一例を示すブロック図である。
FIG. 9 is a block diagram showing another example of the unit configuration of the image processing apparatus according to the present embodiment.

【図10】本実施の形態にかかる画像処理装置のスキャ
ナーの概略(空間フィルターの一例)を示す説明図であ
る。
FIG. 10 is an explanatory diagram showing an outline (an example of a spatial filter) of the scanner of the image processing apparatus according to the present embodiment.

【図11】本実施の形態にかかる画像処理装置のシェー
ディング補正の概略を示す説明図である。
FIG. 11 is an explanatory diagram showing an outline of shading correction of the image processing apparatus according to the present embodiment.

【図12】本実施の形態にかかる画像処理装置のシェー
ディング・データの概略を示す説明図である。
FIG. 12 is an explanatory diagram showing an outline of shading data of the image processing apparatus according to the present embodiment.

【図13】本実施の形態にかかる画像処理装置の画像デ
ータのデータフローの一例を示す説明図である。
FIG. 13 is an explanatory diagram showing an example of a data flow of image data of the image processing apparatus according to the present embodiment.

【図14】本実施の形態にかかる画像処理装置の画像デ
ータのデータフローの別の一例を示す説明図である。
FIG. 14 is an explanatory diagram showing another example of the data flow of image data of the image processing apparatus according to the present embodiment.

【図15】本実施の形態にかかる画像処理装置の画像デ
ータのデータフローの別の一例を示す説明図である。
FIG. 15 is an explanatory diagram showing another example of the data flow of the image data of the image processing apparatus according to the present embodiment.

【図16】本実施の形態にかかる画像処理装置の画像デ
ータのデータフローの別の一例を示す説明図である。
FIG. 16 is an explanatory diagram showing another example of the data flow of the image data of the image processing apparatus according to the present embodiment.

【図17】本実施の形態にかかる画像処理装置のファク
シミリ制御ユニットの構成を示すブロック図である。
FIG. 17 is a block diagram showing the configuration of a facsimile control unit of the image processing apparatus according to the present embodiment.

【図18】本発明の形態にかかる画像処理装置に用いら
れるSIMD型プロセッサーの概略構成を示す説明図で
ある。
FIG. 18 is an explanatory diagram showing a schematic configuration of a SIMD type processor used in the image processing apparatus according to the embodiment of the present invention.

【図19】本発明の形態にかかる画像処理装置の画像処
理プロセッサー内部において倍密度階調処理にかかる構
成を示すブロック図である。
FIG. 19 is a block diagram showing a configuration related to double density gradation processing inside the image processing processor of the image processing apparatus according to the embodiment of the present invention.

【図20】本発明の形態にかかる画像処理装置の倍密度
階調処理で用いられるエッジ抽出用のフィルターを示す
説明図である。
FIG. 20 is an explanatory diagram showing an edge extraction filter used in double-density gradation processing of the image processing apparatus according to the embodiment of the present invention.

【図21】本発明の形態にかかる画像処理装置の倍密度
階調処理で用いられる閾値マトリクスを示す説明図であ
る。
FIG. 21 is an explanatory diagram showing a threshold matrix used in double density gradation processing of the image processing apparatus according to the embodiment of the present invention.

【図22】本発明の形態にかかる画像処理装置の倍密度
階調処理で用いられる閾値マトリクスを示す別の説明図
である。
FIG. 22 is another explanatory diagram showing a threshold matrix used in the double density gradation processing of the image processing apparatus according to the embodiment of the present invention.

【図23】本発明の形態にかかる画像処理装置の送信部
が送信する送信データを示す説明図である。
FIG. 23 is an explanatory diagram showing transmission data transmitted by the transmission unit of the image processing apparatus according to the embodiment of the present invention.

【図24】本発明の形態にかかる画像処理装置の送信部
が送信する送信データを示す別の説明図である。
FIG. 24 is another explanatory diagram showing transmission data transmitted by the transmission unit of the image processing apparatus according to the embodiment of the present invention.

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

100 画像データ制御ユニット 101 画像読取ユニット 102 画像メモリー制御ユニット 103 画像処理ユニット 104 画像書込ユニット 201 読取ユニット 202 センサー・ボード・ユニット 203 画像データ制御部 204 画像処理プロセッサー 205 ビデオ・データ制御部 206 作像ユニット(エンジン) 210 シリアルバス 211 プロセス・コントローラー 212,232 RAM 213,233 ROM 220 パラレルバス 221 画像メモリー・アクセス制御部 222 メモリー・モジュール 223 パーソナル・コンピュータ(PC) 224 ファクシミリ制御ユニット 225 公衆回線 231 システム・コントローラー 234 操作パネル 301,303,304,306 インターフェース
(I/F) 302 スキャナー画像処理部 305 出力画像処理部(画質処理部) 307 コマンド制御部 308 シリアルインターフェース 401 入出力ポート 402 バス・スイッチ/ローカル・メモリー 403 メモリー制御部 404 プロセッサー・アレー部 405 プログラムRAM 406 データRAM 408 シリアルインターフェース 501 画像データ入出力制御部 502,507 画像データ入力/出力制御部 504 データ変換部 505,508,509 I/F 510 コマンド制御部 601 エッジ平滑処理部 602 パルス制御部 603,604,701,702 I/F 605 データ変換部 703 メモリー・アクセス制御部 704 ラインバッファー 705 ビデオ制御部 706 データ圧縮部 707 データ伸張部 708 データ変換部 800 画像エンジン制御ユニット 1701 ファクシミリ送受信部 1801 レジスター(Reg) 1802 マルチプレクサー(MUX) 1803 バレルシフター(Shift Expan
d) 1804 論理演算器(ALU) 1805 アキュムレーター(A) 1806 テンポラリー・レジスター(F) 1901 制御部 1902 特徴量抽出アルゴリズム記憶部 1903 特徴量抽出部 1904 入力部 1905 速度変換FIFO 1906 閾値マトリクス作成部 1907 判定部 1908 閾値マトリクス作成アルゴリズム記憶部 1909 比較部 1910 第1の送信部 1911 第2の送信部 1912 出力部 2001〜2004 フィルター 2101 係数マトリクス
100 image data control unit 101 image reading unit 102 image memory control unit 103 image processing unit 104 image writing unit 201 reading unit 202 sensor board unit 203 image data control unit 204 image processing processor 205 video data control unit 206 imaging Unit (engine) 210 Serial bus 211 Process controller 212,232 RAM 213,233 ROM 220 Parallel bus 221 Image memory access control unit 222 Memory module 223 Personal computer (PC) 224 Facsimile control unit 225 Public line 231 system Controller 234 Operation panel 301, 303, 304, 306 Interface (I / F) 302 Scanner image Processing unit 305 Output image processing unit (image quality processing unit) 307 Command control unit 308 Serial interface 401 Input / output port 402 Bus switch / local memory 403 Memory control unit 404 Processor array unit 405 Program RAM 406 Data RAM 408 Serial interface 501 Image data input / output control unit 502, 507 Image data input / output control unit 504 Data conversion unit 505, 508, 509 I / F 510 command control unit 601 edge smoothing processing unit 602 pulse control unit 603, 604, 701, 702 I / F 605 Data conversion unit 703 Memory access control unit 704 Line buffer 705 Video control unit 706 Data compression unit 707 Data decompression unit 708 Data conversion unit 800 Image engine control unit Doo 1701 facsimile transmission and reception unit 1801 register (Reg) 1802 multiplexer (MUX) 1803 barrel shifter (Shift Expan
d) 1804 Logical operation unit (ALU) 1805 Accumulator (A) 1806 Temporary register (F) 1901 Control unit 1902 Feature amount extraction algorithm storage unit 1903 Feature amount extraction unit 1904 Input unit 1905 Speed conversion FIFO 1906 Threshold matrix creation unit 1907 Judgment unit 1908 Threshold matrix creation algorithm storage unit 1909 Comparison unit 1910 First transmission unit 1911 Second transmission unit 1912 Output units 2001 to 2004 Filter 2101 Coefficient matrix

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B057 AA11 BA02 BA11 CA12 CA16 CB06 CB12 CB16 CC01 CD10 CE05 CE13 CH04 CH05 CH14 DC16 DC22 5C076 AA21 BA06 BB04 5C077 LL19 MP01 PP01 PP47 PP68 PQ08 PQ12 PQ23 RR04 RR06 SS02 TT02    ─────────────────────────────────────────────────── ─── Continued front page    F-term (reference) 5B057 AA11 BA02 BA11 CA12 CA16                       CB06 CB12 CB16 CC01 CD10                       CE05 CE13 CH04 CH05 CH14                       DC16 DC22                 5C076 AA21 BA06 BB04                 5C077 LL19 MP01 PP01 PP47 PP68                       PQ08 PQ12 PQ23 RR04 RR06                       SS02 TT02

Claims (16)

【特許請求の範囲】[Claims] 【請求項1】 読み取った画像信号をディジタル変換さ
れた画像信号に変換し、もしくはディジタル的に生成さ
れた画像情報を画像信号に変換し、ディジタル変換され
た画像信号を顕像として出力可能な画像信号になるよう
に画像処理するためのプログラマブルな演算手段を備え
た画像処理装置において、 前記演算手段は、N(dpi)の解像度をもつn値(n
>2)の入力画像データを、2N(dpi)の解像度を
もつ2値の出力画像データへ倍密度2値化変換処理する
機能を有し、 該演算手段には、 倍密度2値化変換処理の実行時には、入力画像データの
特徴を所定の閾値以上の画素と閾値未満の画素の連続量
を特徴量として求める特徴量抽出手段と、 前記特徴量を得て、2N(dpi)の解像度で前記入力
画像データの1画素につき縦2×横2画素の閾値マトリ
クスを作成する閾値マトリクス作成手段と、 前記閾値マトリクスに基づき、入力画像データの1画素
に対する4画素分の2値化濃度を決定する比較手段と、 を備えたことを特徴とする画像処理装置。
1. An image capable of converting a read image signal into a digitally converted image signal, or converting digitally generated image information into an image signal, and outputting the digitally converted image signal as a visible image. In an image processing apparatus equipped with a programmable arithmetic means for performing image processing so as to obtain a signal, the arithmetic means is an n-value (n-value) having a resolution of N (dpi).
> 2) input image data has a function of performing a double density binarization conversion process to binary output image data having a resolution of 2N (dpi), and the arithmetic means has a double density binarization conversion process. At the time of executing, the feature amount extraction unit that obtains the feature of the input image data as a feature amount that is a continuous amount of pixels that are equal to or greater than a predetermined threshold value and pixels that are less than the threshold value, Threshold matrix creating means for creating a threshold matrix of vertical 2 × horizontal 2 pixels for each pixel of input image data, and comparison for determining binarized densities for 4 pixels for 1 pixel of input image data based on the threshold matrix An image processing apparatus comprising:
【請求項2】 前記特徴量抽出手段は、 2N(dpi)の解像度をもつ閾値マトリクスを作成す
るための複数のアルゴリズムを具備し、外部からの切り
換え指示によってアルゴリズムを切り換え可能なことを
特徴とする請求項1に記載の画像処理装置。
2. The feature quantity extracting means comprises a plurality of algorithms for creating a threshold matrix having a resolution of 2N (dpi), and the algorithms can be switched by a switching instruction from the outside. The image processing apparatus according to claim 1.
【請求項3】 前記特徴量抽出手段は、 前記アルゴリズムとして、入力される画像データのエッ
ジ度を抽出すべく該画像データを注目画素とした方向別
に異なる4枚のフィルター演算をおこない、絶対値が最
も大きな演算結果を、その画素に対する特徴量と決定す
る請求項2に記載の画像処理装置。
3. The feature amount extraction means performs, as the algorithm, four filter operations that are different for each direction with the image data as a target pixel in order to extract the edge degree of the input image data, and an absolute value is obtained. The image processing apparatus according to claim 2, wherein the largest calculation result is determined as the feature amount for the pixel.
【請求項4】 前記特徴量抽出手段は、 前記アルゴリズムとして、受信した1ライン分の画像デ
ータについて、与えられた閾値と画素濃度を比較して、
閾値以上の画素と閾値未満の画素の連続量を特徴量であ
ると決定する請求項2に記載の画像処理装置。
4. The feature amount extraction means, as the algorithm, compares a given threshold value and pixel density with respect to received image data for one line,
The image processing apparatus according to claim 2, wherein a continuous amount of pixels equal to or larger than a threshold value and pixels smaller than the threshold value is determined as a feature amount.
【請求項5】 前記演算手段は、 2N(dpi)の解像度をもつ2値画像データを異なる
送信形式で外部送信する複数の送信手段と、 前記特徴量に基づき、最も少ないデータ量で送信できる
送信手段を選択して外部出力する判定手段と、 を備えたことを特徴とする請求項1に記載の画像処理装
置。
5. The plurality of transmitting means for externally transmitting binary image data having a resolution of 2N (dpi) in different transmission formats, and the transmitting means capable of transmitting with the smallest data amount based on the characteristic amount. The image processing apparatus according to claim 1, further comprising: a determining unit that selects a unit and outputs it to the outside.
【請求項6】 前記複数の送信手段のうち一つは、 2値画像データ中の白画素と黒画素の連続量を所定ビッ
ト数で表現し、かつ、所定ビットを用いて該連続量が白
あるいは黒画素を指定して送信することを特徴とする請
求項5に記載の画像処理装置。
6. One of the plurality of transmitting means represents a continuous amount of white pixels and black pixels in the binary image data by a predetermined number of bits, and the predetermined amount is used to determine the continuous amount of white pixels. Alternatively, the image processing apparatus according to claim 5, wherein a black pixel is designated and transmitted.
【請求項7】 前記複数の送信手段のうち一つは、 所定ビット数のデータ列に同ビット数に対応した画素分
の2値画像データを詰め込み送信することを特徴とする
請求項5に記載の画像処理装置。
7. The method according to claim 5, wherein one of the plurality of transmitting means packs and transmits binary image data of pixels corresponding to the same number of bits in a data string having a predetermined number of bits. Image processing device.
【請求項8】 読み取った画像信号をディジタル変換さ
れた画像信号に変換し、もしくはディジタル的に生成さ
れた画像情報を画像信号に変換し、ディジタル変換され
た画像信号を顕像として出力可能な画像信号になるよう
に画像処理する画像処理方法において、 N(dpi)の解像度をもつn値(n>2)の入力画像
データを、2N(dpi)の解像度をもつ2値の出力画
像データへ倍密度2値化変換処理する際には、 入力画像データの特徴を所定の閾値以上の画素と閾値未
満の画素の連続量を特徴量として求める特徴量抽出工程
と、 前記特徴量を得て、2N(dpi)の解像度で前記入力
画像データの1画素につき縦2×横2画素の閾値マトリ
クスを作成する閾値マトリクス作成工程と、 前記閾値マトリクスに基づき、入力画像データの1画素
に対する4画素分の2値化濃度を決定する比較工程と、 を含んだことを特徴とする画像処理方法。
8. An image capable of converting a read image signal into a digitally converted image signal, or converting digitally generated image information into an image signal, and outputting the digitally converted image signal as a visible image. In an image processing method for processing an image into a signal, an n-value (n> 2) input image data having a resolution of N (dpi) is doubled to a binary output image data having a resolution of 2N (dpi). When performing the density binarization conversion process, a feature amount extracting step of obtaining a feature amount of a continuous amount of pixels having a threshold value or more and a pixel having a threshold value or less as a feature amount of the input image data; A threshold matrix creating step of creating a threshold matrix of vertical 2 × horizontal 2 pixels per pixel of the input image data with a resolution of (dpi); An image processing method, comprising: a comparison step of determining binarized densities of four pixels with respect to one pixel.
【請求項9】 前記特徴量抽出工程では、 2N(dpi)の解像度をもつ閾値マトリクスを作成す
るための複数のアルゴリズムを具備し、切り換え指示に
基づきアルゴリズムを切り換え可能なことを特徴とする
請求項8に記載の画像処理方法。
9. The feature extraction step comprises a plurality of algorithms for creating a threshold matrix having a resolution of 2N (dpi), and the algorithms can be switched based on a switching instruction. 8. The image processing method according to item 8.
【請求項10】 前記特徴量抽出工程の前記アルゴリズ
ムは、 入力される画像データのエッジ度を抽出すべく該画像デ
ータを注目画素とした方向別に異なる4枚のフィルター
演算をおこない、絶対値が最も大きな演算結果を、その
画素に対する特徴量と決定する請求項9に記載の画像処
理方法。
10. The algorithm of the feature amount extracting step performs four filter operations which are different for each direction with the image data as a target pixel in order to extract the edge degree of the input image data, and the absolute value is the most significant. The image processing method according to claim 9, wherein a large calculation result is determined as a feature amount for the pixel.
【請求項11】 前記特徴量抽出工程の前記アルゴリズ
ムは、 受信した1ライン分の画像データについて、与えられた
閾値と画素濃度を比較して、閾値以上の画素と閾値未満
の画素の連続量を特徴量であると決定する請求項9に記
載の画像処理方法。
11. The algorithm of the feature amount extracting step compares a given threshold value and a pixel density with respect to the received image data for one line, and obtains a continuous amount of pixels equal to or more than the threshold value and pixels less than the threshold value. The image processing method according to claim 9, wherein the image processing method is determined to be a feature amount.
【請求項12】 前記倍密度2値化変換処理後、 2N(dpi)の解像度をもつ2値画像データを、前記
特徴量に基づき、最も少ないデータ量で送信できる複数
の送信形式のうち一つを選択して外部出力させる出力工
程を含んだことを特徴とする請求項8に記載の画像処理
方法。
12. One of a plurality of transmission formats capable of transmitting binary image data having a resolution of 2N (dpi) after the double-density binarization conversion processing with the smallest data amount based on the feature amount. 9. The image processing method according to claim 8, further comprising an output step for selecting and outputting to.
【請求項13】 前記出力工程の送信形式は、 2値画像データ中の白画素と黒画素の連続量を所定ビッ
ト数で表現し、かつ、所定ビットを用いて該連続量が白
あるいは黒画素を指定して送信することを特徴とする請
求項12に記載の画像処理方法。
13. The transmission format of the output step expresses a continuous amount of white pixels and black pixels in binary image data by a predetermined number of bits, and the predetermined amount is used to determine the continuous amount of white or black pixels. 13. The image processing method according to claim 12, wherein the image is designated and transmitted.
【請求項14】 前記出力工程の送信形式は、 所定ビット数のデータ列に同ビット数に対応した画素分
の2値画像データを詰め込み送信することを特徴とする
請求項12に記載の画像処理方法。
14. The image processing according to claim 12, wherein the transmission format of the output step is to pack and transmit binary image data of pixels corresponding to the same number of bits in a data string of a predetermined number of bits. Method.
【請求項15】 前記請求項8〜14のいずれか一つに
記載された方法をコンピュータに実行させることを特徴
とするプログラム。
15. A program for causing a computer to execute the method according to any one of claims 8 to 14.
【請求項16】 前記請求項15に記載されたプログラ
ムを記録したことを特徴とするコンピュータ読み取り可
能な記録媒体。
16. A computer-readable recording medium on which the program according to claim 15 is recorded.
JP2001249012A 2001-08-20 2001-08-20 Picture processor, picture processing method, program for making computer conduct the method and computer readable recoding medium with recorded program therein Pending JP2003060896A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001249012A JP2003060896A (en) 2001-08-20 2001-08-20 Picture processor, picture processing method, program for making computer conduct the method and computer readable recoding medium with recorded program therein

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001249012A JP2003060896A (en) 2001-08-20 2001-08-20 Picture processor, picture processing method, program for making computer conduct the method and computer readable recoding medium with recorded program therein

Publications (1)

Publication Number Publication Date
JP2003060896A true JP2003060896A (en) 2003-02-28

Family

ID=19078082

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001249012A Pending JP2003060896A (en) 2001-08-20 2001-08-20 Picture processor, picture processing method, program for making computer conduct the method and computer readable recoding medium with recorded program therein

Country Status (1)

Country Link
JP (1) JP2003060896A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006046154A2 (en) * 2004-06-30 2006-05-04 Aloka Co., Ltd. Method and apparatus of image processing

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006046154A2 (en) * 2004-06-30 2006-05-04 Aloka Co., Ltd. Method and apparatus of image processing
WO2006046154A3 (en) * 2004-06-30 2006-09-28 Aloka Co Ltd Method and apparatus of image processing
US8031978B2 (en) 2004-06-30 2011-10-04 Hitachi Aloka Medical, Ltd. Method and apparatus of image processing to detect edges
JP4787828B2 (en) * 2004-06-30 2011-10-05 日立アロカメディカル株式会社 Image processing method and apparatus
US8391650B2 (en) 2004-06-30 2013-03-05 Hitachi Aloka Medical, Ltd Method and apparatus of image processing to detect edges

Similar Documents

Publication Publication Date Title
US7599087B2 (en) Method and apparatus for image processing, and a computer product
US7200287B2 (en) Method and apparatus for image processing, and a computer product
US6836346B2 (en) Method and apparatus for image processing, and a computer product
JP3732702B2 (en) Image processing device
JP3927388B2 (en) Image processing apparatus, image processing method, and recording medium
JP3974730B2 (en) Image processing apparatus, image processing procedure in image processing apparatus, method for adding and updating data for image processing, and computer-readable recording medium recording program for causing computer to execute the method
JP2001157042A (en) Image processor, image processing method and computer- readable recording medium recorded with program for executing computer the method
JP2002300407A (en) Image processor, image processing method, image processing program and computer-readable recording medium recorded with the program
JP2003060896A (en) Picture processor, picture processing method, program for making computer conduct the method and computer readable recoding medium with recorded program therein
JP3346051B2 (en) Image processing device
JP3938837B2 (en) Image processing device
JP3669574B2 (en) Image processing apparatus, image processing method, program for causing computer to execute the method, and computer-readable recording medium storing the program
JP3537589B2 (en) Image processing device
JP2004072571A (en) Image data processor, image data processing method, program and recording medium
JP2002359743A (en) Image processing device, image processing method and program to allow computer to execute the method, and computer-readable recording medium for recording the program
JP2003250031A (en) Image processing apparatus and image processing method
JP3657161B2 (en) Image processing apparatus, image processing method, and computer-readable recording medium storing program for causing computer to execute the method
JP2974361B2 (en) Color image communication device
JP3785295B2 (en) Image processing device
JP2000278506A (en) Image processor
JP2001186333A (en) Picture processor, picture processing method and computer-readable recording medium with program for making computer execute the method recorded thereon
JP5753370B2 (en) Image processing apparatus, method, and program
JP2974360B2 (en) Image communication method
JP2006014378A (en) Image processing apparatus, image processing method, and computer readable recording medium recorded with program for computer to execute the method
JP2006109042A (en) Image processor and image processing system

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050630

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050712

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050909

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060425

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060531

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070206

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070710