JPH09261468A - Image processor - Google Patents

Image processor

Info

Publication number
JPH09261468A
JPH09261468A JP8093525A JP9352596A JPH09261468A JP H09261468 A JPH09261468 A JP H09261468A JP 8093525 A JP8093525 A JP 8093525A JP 9352596 A JP9352596 A JP 9352596A JP H09261468 A JPH09261468 A JP H09261468A
Authority
JP
Japan
Prior art keywords
image data
unit
valued
scaling
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP8093525A
Other languages
Japanese (ja)
Inventor
Hisahiro Yasuda
尚弘 安田
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 JP8093525A priority Critical patent/JPH09261468A/en
Publication of JPH09261468A publication Critical patent/JPH09261468A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To compactly and inexpensively perform the image processing of multilevel image data into binary image data and the magnification processing of binary image data while sharing a circuit. SOLUTION: In the case of fixed thresholding processing, a thresholding part 4 processes the mutilevel image data from an MTF correction part 2, afterwardsm a 3×3 matrix 9 forms matrix data corresponding to image data in the past from an external RAM, and an isolate point removal part 10 removes an isolate point and outputs fixed binary image data. In the case of error diffusion mode processing, an error diffusion part 7 performs the error diffusion processing of multi-level image data from the MTF correction part 2 corresponding to preceding line thresholding error data and a error from the thresholding part 4, and the thresholding part 4 processes these data and outputs binary image data. In the case of magnification mode processing, the 3×3 matrix 9 forms the matrix data from the binary image data from a multiplexer 8 and the external RAM, a multilevel part 11 makes the data into multilevel data, and an interpolation part 12 performs the magnification processing of multi-level image data. After the execution of addition correction at the error diffusion part 7 and thresholding at the thresholding part 4, magnified binary image data are outputted.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は画像処理装置に関
し、詳細には、原稿を読み取った多値画像データの2値
画像データへの画像処理と、2値画像データの変倍処理
と、を小型で、安価に行うことのできる画像処理装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus, and more particularly to a compact image processing of binary image data of multi-valued image data obtained by reading an original and scaling processing of the binary image data. The present invention relates to an image processing device that can be performed at low cost.

【0002】[0002]

【従来の技術】従来より2値化された画像データの変倍
方法に関して、種々の方法が提案されている。これは、
最も簡単な変倍手法である間引き法が、ディザ画像や誤
差拡散画像等の中間調画像に対して著しく画像を劣化さ
せるという問題があり、このような画像劣化を改良する
ために提案されている。
2. Description of the Related Art Conventionally, various methods have been proposed as a scaling method for binarized image data. this is,
The thinning method, which is the simplest scaling method, has a problem that the image is significantly deteriorated with respect to a halftone image such as a dither image or an error diffusion image, and it has been proposed to improve such image deterioration. .

【0003】ファクシミリ装置においては、近時、画像
メモリを備え、原稿を読み取った画像データを一旦画像
メモリに蓄積した後、送信しているが、原稿の画像を読
み取った画像データを画像メモリに蓄積する段階では、
相手側の記録紙サイズや線密度等が不明であるため、送
信側で指定した条件で読み取り、2値化画像データとし
て蓄積する。ところが、送信時のプロトコルにより相手
先の機能をチェックした段階で、相手先のファクシミリ
装置が原稿を蓄積した条件で受信することができない場
合、蓄積されている2値化画像データを変倍処理して、
送信する必要があるが、この場合、従来、間引き法によ
り変倍処理していたため、画質が劣化するという問題が
あった。
Recently, a facsimile apparatus is equipped with an image memory, and image data obtained by reading an original is temporarily stored in the image memory and then transmitted. However, image data obtained by reading an image of the original is stored in the image memory. At the stage of
Since the recording paper size, linear density, etc. of the other party are unknown, it is read under the conditions specified by the transmitting side and stored as binary image data. However, at the stage when the function of the other party is checked by the protocol at the time of transmission, if the facsimile machine of the other party cannot receive the original under the condition that the original is stored, the stored binary image data is scaled. hand,
Although it is necessary to transmit the data, in this case, there has been a problem that the image quality is deteriorated because the scaling processing is conventionally performed by the thinning method.

【0004】このような間引き法の欠点を補うものとし
ては、線形補間法があり、線形補間法は、2値画像デー
タを、平滑化処理と同様に、周辺画素との演算により多
値化し、原画像のサンプリングポイントとは、異なるポ
イントにある仮想画素(変倍画素)の濃度を推定し、再
び、2値化して変倍2値画像を得る方法である。この線
形補間法では、2値データを多値化する多値化部、線形
補間部、再2値化部の他に、外部RAMやそのI/F、
アドレス部など変倍専用のハードウェアが必要となり、
回路規模が大きくなる。
As a method of compensating for the drawbacks of such a thinning method, there is a linear interpolation method. In the linear interpolation method, binary image data is converted into a multi-valued image by calculation with peripheral pixels in the same manner as the smoothing processing. The sampling point of the original image is a method in which the densities of virtual pixels (variable-magnification pixels) at different points are estimated and binarized again to obtain a variable-magnification binary image. In this linear interpolation method, in addition to a multi-value conversion unit that multi-values binary data, a linear interpolation unit, and a re-binarization unit, an external RAM and its I / F,
Dedicated scaling hardware such as the address section is required,
The circuit scale becomes large.

【0005】そこで、本出願人は、先に、ディザ画像に
対するモアレを少なくするとともに、変倍画像処理装置
を簡単なハードウェアで構成した画像変倍方式(特開平
4−314265号公報参照)を提案しており、この画
像変倍方式は、2値化された画像信号に対して変倍処理
を行う画像変倍方式において、変倍処理された変換画像
上の注目画素位置に対応する原画像上の画素位置を算出
する手段と、前記算出された原画像上における注目画素
の近傍の4画素のうちから、該注目画素を取り込む3画
素をランダムに選択する手段と、該選択された3画素の
濃度値を用いて前記注目画素の濃度値を算出する手段
と、を備えたことを特徴としている。この画像変倍方式
によれば、原画素の選択をランダムに行うことができ、
画素選択処理の周期性が解消されて、ディザ画像に対す
るモアレ等を防止することができる。
Therefore, the present applicant has previously proposed an image scaling method (see Japanese Patent Application Laid-Open No. 4-314265) in which moire for dither images is reduced and the scaling image processing device is composed of simple hardware. The proposed image scaling method is an image scaling method that performs scaling processing on a binarized image signal, and is an original image corresponding to a pixel position of interest on a converted image that has been scaled. A means for calculating the upper pixel position, a means for randomly selecting 3 pixels for taking in the target pixel from the calculated 4 pixels in the vicinity of the target pixel on the original image, and the selected 3 pixels And means for calculating the density value of the pixel of interest using the density value of. According to this image scaling method, the original pixels can be randomly selected,
By eliminating the periodicity of the pixel selection processing, it is possible to prevent moire or the like from occurring in the dither image.

【0006】また、本出願人は、先に、簡単なハードウ
ェア構成で画質劣化の少ない変倍画像処理を行う画像変
倍方式(特開平4−314264号公報参照)を提案し
ており、この画像変倍方式は、2値化された画像信号に
対して変倍処理を行う画像変倍方式において、変倍処理
された変換画像上の注目画素位置に対応する原画像上の
画素位置を算出する手段と、前記算出された原画像上に
おける注目画素の近傍の3画素を選択する手段と、該選
択された3画素の濃度を用いて前記注目画素の濃度値を
算出する手段と、を備えたことを特徴としている。この
画像変倍方式によれば、変換画素濃度演算が符号反転及
び加算のみになり、ハードウェア構成が簡単化される。
Further, the present applicant has previously proposed an image scaling method (see Japanese Patent Laid-Open No. 4-314264) for performing a scaled image processing with a simple hardware configuration and with little deterioration in image quality. The image scaling method is an image scaling method that performs scaling processing on a binarized image signal, and calculates a pixel position on an original image corresponding to a target pixel position on a converted image subjected to scaling processing. Means, a means for selecting three pixels in the vicinity of the pixel of interest on the calculated original image, and a means for calculating the density value of the pixel of interest using the densities of the selected three pixels. It is characterized by that. According to this image scaling method, the conversion pixel density calculation only involves sign inversion and addition, and the hardware configuration is simplified.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、このよ
うな従来の画像処理装置においては、画像変倍処理と通
常の画像処理とを独立した回路構成で行うようになって
いたため、画像変倍処理用の回路を如何に簡単化して
も、限度があり、特に、ファクシミリ装置のように、ハ
ードウェアの規模やコストに対し、制約の厳しい画像処
理装置においては、通常の画像データに対する画像処理
部とは別に2値画像データの変倍処理部としてハードウ
ェアを全く独立に構成することは、困難であった。
However, in such a conventional image processing apparatus, since the image scaling processing and the normal image processing are performed by independent circuit configurations, the image scaling processing is performed. There is a limit to how simple the circuit can be. Especially, in an image processing apparatus such as a facsimile machine that has severe restrictions on the scale and cost of hardware, the image processing unit for normal image data is Separately, it was difficult to configure the hardware as a variable-magnification processing unit for binary image data completely independently.

【0008】そこで、請求項1記載の発明は、通常の読
取多値画像データを2値化する画像処理部の2値化部と
2値画像データを一旦多値化した後変倍して、当該変倍
した多値画像データを2値化する変倍処理手段の2値化
部を共用することにより、2値画像データの変倍処理機
能を備えた読取多値画像データを画像処理することので
きる小型で、かつ、安価な画像処理装置を提供すること
を目的としている。
Therefore, according to the first aspect of the invention, the binarization unit of the image processing unit for binarizing normal read multi-valued image data and the binary image data are once multi-valued and then scaled, Image processing of read multi-valued image data having a scaling function of binary image data by sharing the binarization unit of the scaling processing means for binarizing the scaled multi-valued image data. It is an object of the present invention to provide a small-sized and inexpensive image processing device that can be manufactured.

【0009】請求項2記載の発明は、通常の読取多値画
像データを誤差拡散処理した後、2値化する画像処理手
段の誤差拡散部及び2値化部と、2値画像データを一旦
多値画像データに変換して、変倍し、変倍した多値画像
データを周囲画素と誤差拡散した後、2値化する変倍処
理手段の誤差拡散部及び2値化部と、を共用することに
より、高画質で変倍処理することができるとともに読取
多値画像データを高品質な画像処理を行うことのできる
小型で、かつ、安価な画像処理装置を提供することを目
的としている。
According to a second aspect of the present invention, the error diffusion section and the binarization section of the image processing means for binarizing the ordinary read multi-valued image data after the error diffusion processing, and the binary image data are once stored. The error diffusion unit and the binarization unit of the scaling processing unit for converting the image data into the value image data, scaling the scaled image, performing error diffusion on the scaled multivalued image data with surrounding pixels, and then binarizing the shared image are shared. Thus, it is an object of the present invention to provide a small-sized and inexpensive image processing apparatus that can perform high-quality image scaling processing and high-quality image processing of read multi-valued image data.

【0010】請求項3記載の発明は、通常の読取多値画
像データをメモリに格納された前ラインの誤差データを
用いて誤差拡散処理した後、2値化する画像処理手段の
誤差拡散部及び2値化部と、2値画像データを一旦多値
画像データに変換して、メモリに格納された前ラインの
多値画像データを参照して補間演算することにより変倍
し、変倍した多値画像データをメモリに格納された周囲
画素と誤差拡散した後、2値化する変倍処理手段の誤差
拡散部及び2値化部と、を共用することにより、より一
層高画質で変倍処理することができるとともに読取多値
画像データをより一層高品質な画像処理を行うことので
きる小型で、かつ、安価な画像処理装置を提供すること
を目的としている。
According to a third aspect of the present invention, the error diffusion section of the image processing means for performing the error diffusion processing on the normal read multi-valued image data using the error data of the preceding line stored in the memory, and binarizing it. The binarization unit and the binary image data are once converted into multi-valued image data, and the multi-valued image data of the previous line stored in the memory are referred to for interpolation calculation to perform scaling and scaling. By performing error diffusion of the value image data with the surrounding pixels stored in the memory and then binarizing it, the error diffusion unit and the binarization unit of the scaling processing unit share the scaling process with higher image quality. It is an object of the present invention to provide a small-sized and inexpensive image processing apparatus capable of performing high-quality image processing of read multivalued image data.

【0011】請求項4記載の発明は、通常の読取多値画
像データを2値化した後、所定数の周囲画素とのマトリ
ックスデータに基づいて孤立点除去するする画像処理手
段のマトリックス部と、2値画像データを中心画素とし
た所定数の周囲画素とマトリックスデータを形成して、
当該中心画素を周囲画素と平滑化して多値化し、当該平
滑化した多値画像データを変倍した後、2値化する変倍
処理手段のマトリックス部と、を共用することにより、
より一層高画質で変倍処理することができるとともに読
取多値画像データを孤立点除去してより一層高品質な画
像処理を行うことのできる小型で、かつ、安価な画像処
理装置を提供することを目的としている。
According to a fourth aspect of the present invention, after the normal read multi-valued image data is binarized, the matrix portion of the image processing means for removing isolated points based on the matrix data with a predetermined number of surrounding pixels, By forming matrix data with a predetermined number of surrounding pixels centering on the binary image data,
By sharing the central pixel with surrounding pixels for multi-valued smoothing, and for scaling the smoothed multi-valued image data, and then for binarizing the same,
To provide a small-sized and inexpensive image processing apparatus capable of performing variable-magnification processing with higher image quality and removing isolated points of read multi-valued image data to perform higher-quality image processing. It is an object.

【0012】[0012]

【課題を解決するための手段】請求項1記載の発明の画
像処理装置は、読み取られた多値画像データを2値画像
データに画像処理する画像処理手段と、2値画像データ
を所定倍率に変倍する変倍手段と、を備えた画像処理装
置において、前記画像処理手段は、少なくとも前記多値
画像データを2値化する2値化部を備え、前記変倍手段
は、少なくとも、前記2値画像データを多値画像データ
に多値化する多値化部と、前記多値化された多値画像デ
ータを所定倍率に変倍する変倍部と、前記変倍された多
値画像データを2値化する2値化部と、を備え、前記画
像処理手段の前記2値化部と前記変倍手段の前記2値化
部を共用することにより、上記目的を達成している。
According to a first aspect of the present invention, there is provided an image processing apparatus, wherein image processing means for processing read multi-valued image data into binary image data and binary image data at a predetermined magnification. In the image processing apparatus including a scaling unit that scales, the image processing unit includes at least a binarizing unit that binarizes the multi-valued image data, and the scaling unit includes at least the binary unit. A multivalued unit for converting the multivalued image data into multivalued image data, a scaling unit for scaling the multivalued multivalued image data to a predetermined magnification, and the scaled multivalued image data And a binarizing unit for binarizing the binarizing unit and sharing the binarizing unit of the image processing unit and the binarizing unit of the scaling unit.

【0013】ここで、画像処理手段の2値化部は、例え
ば、多値画像データを所定のスレッシュ値と比較するこ
とにより、2値化する。変倍処理手段の2値化部は、変
倍された多値画像データを、画像処理手段の2値化部と
は異なる所定のスレッシュ値と比較することにより、2
値化する。
Here, the binarizing unit of the image processing means binarizes the multi-valued image data by comparing it with a predetermined threshold value, for example. The binarizing unit of the scaling processing unit compares the scaled multi-valued image data with a predetermined threshold value different from that of the binarizing unit of the image processing unit to obtain 2
Value.

【0014】上記構成によれば、通常の読取多値画像デ
ータを2値化する画像処理部の2値化部と、2値画像デ
ータを一旦多値化した後変倍して、当該変倍した多値画
像データを2値化する変倍処理手段の2値化部と、を共
用しているので、2値画像データの変倍処理機能を備え
た読取多値画像データを画像処理する画像処理装置を小
型で、かつ、安価なものとすることができる。
According to the above construction, the binarizing unit of the image processing unit for binarizing the ordinary read multi-valued image data, the binarized image data once being multi-valued and then scaled, the scaling is performed. Since the binarizing unit of the scaling processing unit that binarizes the multivalued image data is shared, an image for processing the read multivalued image data having the scaling processing function for the binary image data is also used. The processing device can be made small and inexpensive.

【0015】請求項2記載の発明は、読み取られた多値
画像データを2値画像データに画像処理する画像処理手
段と、2値画像データを所定倍率に変倍する変倍手段
と、を備えた画像処理装置において、前記画像処理手段
は、少なくとも、前記多値画像データを誤差拡散する誤
差拡散部と、前記誤差拡散された多値画像データを2値
化する2値化部と、を備え、前記変倍手段は、少なくも
と、前記2値画像データを多値画像データに多値化する
多値化部と、前記多値化された多値画像データを変倍す
る変倍部と、前記変倍された多値画像データを注目画素
として周囲画素との2値化誤差を誤差拡散して加算補正
を行う誤差拡散部と、前記加算補正された多値画像デー
タを2値画像データに2値化する2値化部と、を備え、
前記変倍手段の前記誤差拡散部及び前記2値化部と、前
記画像処理手段の前記誤差拡散部及び前記2値化部を共
用することにより、上記構成によれば。
According to a second aspect of the present invention, there is provided image processing means for image-processing the read multi-valued image data into binary image data, and scaling means for scaling the binary image data to a predetermined magnification. In the image processing device, the image processing means includes at least an error diffusion unit that error-diffuses the multi-valued image data, and a binarization unit that binarizes the error-diffused multi-valued image data. At least, the scaling means includes a multi-value conversion unit that multi-values the binary image data into multi-valued image data, and a scaling unit that scales the multi-valued multi-valued image data. An error diffusion unit that performs error correction on a binarization error with surrounding pixels by using the scaled multivalued image data as a target pixel, and performs addition correction; and the addition-corrected multivalued image data is binary image data. And a binarization unit for binarizing
According to the above configuration, the error diffusing unit and the binarizing unit of the scaling unit and the error diffusing unit and the binarizing unit of the image processing unit are shared.

【0016】ここで、画像処理手段は、読み取られた多
値画像データに誤差拡散処理を施した後、2値化する。
変倍処理手段は、2値画像データを一旦多値画像データ
に変換して、変倍し、変倍した多値画像データを周囲画
素と誤差拡散した後、2値化する。
Here, the image processing means binarizes the read multi-valued image data after performing error diffusion processing.
The scaling processing unit temporarily converts the binary image data into multi-valued image data, scales it, and error-diffuses the scaled multi-valued image data with surrounding pixels, and then binarizes it.

【0017】上記構成によれば、通常の読取多値画像デ
ータを誤差拡散処理した後、2値化する画像処理手段の
誤差拡散部及び2値化部と、2値画像データを一旦多値
画像データに変換して、変倍し、変倍した多値画像デー
タを周囲画素と誤差拡散した後、2値化する変倍処理手
段の誤差拡散部及び2値化部と、を共用しているので、
高画質で変倍処理することができるとともに読取多値画
像データを高品質で画像処理を行うことのできる画像処
理装置を小型で、かつ、安価なものとすることができ
る。
According to the above construction, the error diffusion section and the binarization section of the image processing means for binarizing the ordinary read multi-valued image data after performing the error diffusion processing, and the binary image data are once converted into the multi-valued image. The error diffusion unit and the binarization unit of the scaling processing unit for converting the data into data, scaling, and scaling the scaled multi-valued image data with the surrounding pixels for error diffusion are shared. So
It is possible to reduce the size and cost of an image processing apparatus that can perform high-quality image scaling processing and high-quality image processing of read multivalued image data.

【0018】請求項3記載の発明は、読み取られた多値
画像データを2値画像データに画像処理する画像処理手
段と、2値画像データを所定倍率に変倍する変倍手段
と、を備えた画像処理装置において、前記画像処理手段
は、少なくとも、前記多値画像データをメモリに格納さ
れた前ラインの誤差データを用いて誤差拡散する誤差拡
散部と、前記誤差拡散された多値画像データを2値化す
る2値化部と、を備え、前記変倍手段は、少なくとも、
前記2値画像データを多値画像データに多値化する多値
化部と、前記多値化された多値画像データをメモリに格
納された前ラインの多値画像データを参照して補間演算
することにより変倍する変倍部と、前記変倍された多値
画像データを注目画素としてメモリに格納された周囲画
素との2値化誤差を誤差拡散して加算補正を行う誤差拡
散部と、前記加算補正された多値画像データを2値画像
データに2値化する2値化部と、を備え、前記画像処理
手段の前記誤差拡散部で利用するメモリと、前記変倍手
段の前記変倍部及び前記誤差拡散部で利用するメモリ
と、を共用することにより、上記目的を達成している。
According to a third aspect of the present invention, there is provided image processing means for image-processing the read multi-valued image data into binary image data, and scaling means for scaling the binary image data to a predetermined magnification. In the image processing apparatus described above, the image processing means includes at least an error diffusion unit that performs error diffusion of the multi-valued image data using error data of the previous line stored in a memory, and the error-diffused multi-valued image data. And a binarization unit for binarizing,
A multi-value conversion unit that multi-values the binary image data into multi-valued image data, and an interpolation calculation with reference to the multi-valued image data of the previous line that stores the multi-valued multi-valued image data in a memory. A scaling unit that scales by doing so, and an error diffusion unit that performs error correction on a binarization error between the scaled multivalued image data and surrounding pixels stored in a memory as a pixel of interest to perform addition correction. A binarization unit that binarizes the addition-corrected multivalued image data into binary image data, a memory used in the error diffusion unit of the image processing unit, and the scaling unit. The above object is achieved by sharing the memory used in the variable power unit and the error diffusion unit.

【0019】ここで、画像処理手段は、読み取られた多
値画像データを、メモリに格納された前ラインの誤差デ
ータを用いて誤差拡散処理を施した後、2値化する。変
倍処理手段は、2値画像データを一旦多値画像データに
変換して、メモリに格納された前ラインの多値画像デー
タを参照して補間演算することにより変倍し、変倍した
多値画像データをメモリに格納された周囲画素と誤差拡
散した後、2値化する。
Here, the image processing means binarizes the read multi-valued image data after performing error diffusion processing using the error data of the previous line stored in the memory. The scaling processing unit converts the binary image data into multi-valued image data once, and performs interpolation calculation by referring to the multi-valued image data of the previous line stored in the memory to perform scaling and scaling. The value image data is binarized after error diffusion with the surrounding pixels stored in the memory.

【0020】上記構成によれば、通常の読取多値画像デ
ータをメモリに格納された前ラインの誤差データを用い
て誤差拡散処理した後、2値化する画像処理手段の誤差
拡散部及び2値化部と、2値画像データを一旦多値画像
データに変換して、メモリに格納された前ラインの多値
画像データを参照して補間演算することにより変倍し、
変倍した多値画像データをメモリに格納された周囲画素
と誤差拡散した後、2値化する変倍処理手段の誤差拡散
部及び2値化部と、を共用しているので、より一層高画
質で変倍処理することができるとともに読取多値画像デ
ータをより一層高品質で画像処理を行うことのできる画
像処理装置を小型で、かつ、安価なものとすることがで
きる。
According to the above-mentioned structure, the normal read multi-valued image data is subjected to error diffusion processing using the error data of the previous line stored in the memory, and then binarized. The conversion unit and the binary image data are once converted into multi-valued image data, and the multi-valued image data of the previous line stored in the memory is referred to for interpolation calculation to perform scaling.
Since the error diffusion unit and the binarization unit of the scaling processing unit for binarizing the scaled multi-valued image data with the surrounding pixels stored in the memory after the error diffusion are shared, it is further improved. It is possible to reduce the size and cost of an image processing apparatus that can perform variable-magnification processing with image quality and can perform high-quality image processing of read multivalued image data.

【0021】請求項4記載の発明は、読み取られた多値
画像データを2値画像データに画像処理する画像処理手
段と、2値画像データを所定倍率に変倍する変倍手段
と、を備えた画像処理装置において、前記画像処理手段
は、少なくとも、前記多値画像データを2値画像データ
に2値化する2値化部と、前記2値化された2値画像デ
ータを中心画素とした所定数の周辺2値画素のマトリッ
クスデータを形成するマトリックス部と、前記マトリッ
クスデータに基づいて前記2値画像データの孤立点を除
去する孤立点除去部と、を備え、前記変倍手段は、少な
くとも、前記2値画像データを中心画素とした所定数の
周辺2値画素のマトリックスデータを形成するマトリッ
クス部と、前記マトリクスデータの中心画素を周囲画素
と平滑化することにより多値化する多値化部と、前記多
値化された多値画像データを変倍する変倍部と、前記変
倍された多値画像データを2値画像データに2値化する
2値化部と、を備え、前記変倍手段の前記マトリックス
部と前記画像処理手段のマトリックス部とを共用するこ
とにより、上記目的を達成している。
According to a fourth aspect of the present invention, there is provided image processing means for image-processing the read multi-valued image data into binary image data, and scaling means for scaling the binary image data to a predetermined magnification. In the image processing device, the image processing means has at least a binarizing unit that binarizes the multi-valued image data into binary image data, and the binarized binary image data as a central pixel. The scaling section includes at least a matrix section that forms matrix data of a predetermined number of peripheral binary pixels, and an isolated point removal section that removes isolated points of the binary image data based on the matrix data. A matrix section for forming matrix data of a predetermined number of peripheral binary pixels with the binary image data as a central pixel, and smoothing the central pixel of the matrix data with peripheral pixels. A multi-valued conversion unit for converting the multi-valued image data into a multi-valued image, a scaling unit for changing the size of the multi-valued multi-valued image data, and a binarization of the scaled multi-valued image data into binary image data 2 The above-described object is achieved by including a binarizing unit and sharing the matrix unit of the scaling unit and the matrix unit of the image processing unit.

【0022】ここで、画像処理手段は、読み取られた多
値画像データを、2値化した後、所定数の周囲画素との
マトリックスデータに基づいて孤立点除去する。変倍処
理手段は、2値画像データを中心画素とした所定数の周
囲画素とマトリックスデータを形成して、当該中心画素
を周囲画素と平滑化して多値化し、当該平滑化して多値
化した多値画像データを変倍した後、2値化する。
Here, the image processing means binarizes the read multi-valued image data and then removes isolated points based on the matrix data with a predetermined number of surrounding pixels. The scaling processing means forms matrix data with a predetermined number of surrounding pixels with the binary image data as a central pixel, and smoothes the central pixel with the surrounding pixels into a multi-valued, and the smoothed into a multi-valued. The multi-valued image data is scaled and then binarized.

【0023】上記構成によれば、通常の読取多値画像デ
ータを2値化した後、所定数の周囲画素とのマトリック
スデータに基づいて孤立点除去するする画像処理手段の
マトリックス部と、2値画像データを中心画素とした所
定数の周囲画素とマトリックスデータを形成して、当該
中心画素を周囲画素と平滑化して多値化し、当該平滑化
した多値画像データを変倍した後、2値化する変倍処理
手段のマトリックス部と、を共用しているので、より一
層高画質で変倍処理することができるとともに読取多値
画像データを孤立点除去してより一層高品質で画像処理
を行うことのできる画像処理装置を小型で、かつ、安価
なものとすることができる。
According to the above construction, after the normal read multi-valued image data is binarized, the matrix portion of the image processing means for removing the isolated points based on the matrix data of the predetermined number of surrounding pixels and the binary value. Matrix data is formed with a predetermined number of surrounding pixels with the image data as the central pixel, the central pixel is smoothed with the surrounding pixels to be multi-valued, and the smoothed multi-valued image data is scaled and then binarized. Since it also shares the matrix part of the scaling processing means for changing the size, it is possible to perform scaling processing with higher image quality, and remove isolated points in the read multi-valued image data to perform image processing with higher quality. The image processing apparatus that can be used can be made small and inexpensive.

【0024】[0024]

【発明の実施の形態】以下、本発明の好適な実施の形態
を添付図面に基づいて詳細に説明する。なお、以下に述
べる実施の形態は、本発明の好適な具体例であるから、
技術的に好ましい種々の限定が付されているが、本発明
の範囲は、以下の説明において特に本発明を限定する旨
の記載がない限り、これらの態様に限られるものではな
い。
Preferred embodiments of the present invention will be described below in detail with reference to the accompanying drawings. Note that the embodiments described below are preferred specific examples of the present invention,
Although various technically preferable limits are given, the scope of the present invention is not limited to these embodiments unless otherwise specified in the following description.

【0025】図1は、本発明の画像処理装置の一実施の
形態をを適用した画像処理装置の要部回路ブロック図で
ある。
FIG. 1 is a circuit block diagram of a main part of an image processing apparatus to which an embodiment of the image processing apparatus of the present invention is applied.

【0026】図1において、画像処理装置1は、MTF
補正部2、マルチプレクサ(MPX)3、2値化部4、
マルチプレクサ(MPX)5、マルチプレクサ(MP
X)6、誤差拡散部7、マルチプレクサ(MPX)8、
3×3マトリックス9、孤立点除去部10、多値化部1
1、補間部12及びRAMインターフェース13等を備
えている。画像処理装置1は、誤差拡散部7と2値化部
4及び周辺2値画像データの3×3マトリックス9及び
外部RAMを読取画像データ処理と変倍画像データ処理
で共有しており、また、固定2値モード、誤差拡散モー
ド及び変倍モードの各画像処理モードでの処理を行う。
In FIG. 1, the image processing apparatus 1 is an MTF.
Correction unit 2, multiplexer (MPX) 3, binarization unit 4,
Multiplexer (MPX) 5, Multiplexer (MP
X) 6, error diffusion unit 7, multiplexer (MPX) 8,
3 × 3 matrix 9, isolated point removal unit 10, multi-value conversion unit 1
1, an interpolation unit 12, a RAM interface 13, and the like. The image processing apparatus 1 shares the error diffusion unit 7, the binarization unit 4, the 3 × 3 matrix 9 of peripheral binary image data, and the external RAM for read image data processing and variable-magnification image data processing, and Processing is performed in each of the image processing modes of the fixed binary mode, the error diffusion mode and the variable magnification mode.

【0027】MTF補正部2には、図示しないスキャナ
部で読み取られ、図示しないA/D変換回路により多値
化された多値画像データが入力され、MTF補正部2
は、多値画像データに対して画像の強調補正を行って、
マルチプレクサ3及びマルチプレクサ6に出力する。
Multivalued image data read by a scanner unit (not shown) and multivalued by an A / D conversion circuit (not shown) is input to the MTF correction unit 2.
Performs image enhancement correction on multi-valued image data,
Output to the multiplexer 3 and the multiplexer 6.

【0028】マルチプレクサ3には、さらに、誤差拡散
部7からの加算補正された画像データが入力され、マル
チプレクサ3は、処理モードに応じてMTF補正部2と
誤差拡散部7からの入力データの一方を選択して、2値
化部4に出力する。
The multiplexer 3 further receives the image data that has been subjected to addition correction from the error diffusion unit 7, and the multiplexer 3 receives one of the input data from the MTF correction unit 2 and the error diffusion unit 7 according to the processing mode. Is output to the binarization unit 4.

【0029】2値化部4には、さらに、マルチプレクサ
5から読取データ用スレッシュと変倍データ用スレッシ
ュの一方が入力され、2値化部4は、マルチプレクサ3
から入力される画像データをマルチプレクサ5から入力
されるスレッシュと比較することにより、2値化して、
2値画像データをそのまま図示しない選択回路に出力す
るとともに、マルチプレクサ8及び誤差拡散部7に出力
する。なお、この選択回路には、2値化部4から2値画
像データが入力されるとともに、後述する孤立点除去部
10から2値画像データが入力され、選択回路は、画像
処理モードに応じて、2値画像データ部4から入力され
る2値画像データと孤立点除去部10から入力される2
値画像データの一方を選択して、その後の回路、例え
ば、画像処理装置1がファクシミリ装置に適用されてい
る場合には、符号化・復号化部あるいは画像メモリに転
送する。
Further, one of the read data threshold and the scaling data threshold is input from the multiplexer 5 to the binarization unit 4, and the binarization unit 4 uses the multiplexer 3
By comparing the image data input from the with the threshold value input from the multiplexer 5, the image data is binarized,
The binary image data is output as it is to a selection circuit (not shown), and is also output to the multiplexer 8 and the error diffusion unit 7. The selection circuit receives the binary image data from the binarization unit 4 and also receives the binary image data from the isolated point removal unit 10 to be described later, and the selection circuit operates according to the image processing mode. Binary image data input from the binary image data unit 4 and 2 input from the isolated point removing unit 10.
One of the value image data is selected and then transferred to the encoding / decoding unit or the image memory when the subsequent circuit, for example, the image processing apparatus 1 is applied to a facsimile apparatus.

【0030】上記マルチプレクサ5には、スキャナ等で
読み取られた画像データを2値化するための読取データ
用スレッシュと変倍処理した画像データを2値化するた
めの変倍データ用スレッシュが入力され、マルチプレク
サ5は、固定2値モード、誤差拡散モード及び変倍モー
ドの各画像処理モードによって読取用スレッシュと変倍
用スレッシュの一方を選択して2値化部4に出力する。
To the multiplexer 5, a read data threshold for binarizing image data read by a scanner and a scaling data threshold for binarizing the scaled image data are input. The multiplexer 5 selects one of the reading threshold and the scaling threshold according to each image processing mode of the fixed binary mode, the error diffusion mode and the scaling mode, and outputs the selected threshold to the binarization unit 4.

【0031】マルチプレクサ8には、上記2値化部4か
らの2値画像データと図示しない画像メモリ等に蓄積さ
れている2値画像データが入力され、マルチプレクサ8
は、画像処理モードに応じて入力される2値画像データ
を選択して、3×3マトリックス9に出力する。すなわ
ち、マルチプレクサ8は、画像処理モードが変倍処理モ
ードのとき、画像メモリ等からの2値画像データを選択
して3×3マトリックス9に出力し、画像処理モードが
固定2値モード及び誤差拡散処理モードのとき、2値化
部4からの2値画像データを選択して、3×3マトリッ
クス9に出力する。
The multiplexer 8 is supplied with the binary image data from the binarizing section 4 and the binary image data stored in an image memory (not shown) or the like.
Selects binary image data input according to the image processing mode and outputs it to the 3 × 3 matrix 9. That is, when the image processing mode is the scaling processing mode, the multiplexer 8 selects the binary image data from the image memory or the like and outputs it to the 3 × 3 matrix 9, and the image processing mode is the fixed binary mode and the error diffusion mode. In the processing mode, the binary image data from the binarization unit 4 is selected and output to the 3 × 3 matrix 9.

【0032】3×3マトリックス9には、上記マルチプ
レクサ8から2値画像データが入力され、3×3マトリ
ックス9は、この2値画像データの前ライン及び前々ラ
インの2値画像データをRAMインターフェース13を
介して外部RAMから読み出して、3×3のマトリック
スデータを形成して、孤立点除去部10及び多値化部1
1に出力する。
Binary image data is input from the multiplexer 8 to the 3 × 3 matrix 9, and the 3 × 3 matrix 9 stores the binary image data of the preceding line and the preceding-preceding line of the binary image data in a RAM interface. 13 is read from the external RAM to form 3 × 3 matrix data, and the isolated point removing unit 10 and the multi-value quantization unit 1 are formed.
Output to 1.

【0033】孤立点除去部10は、画像処理モードが固
定2値モードのとき、3×3マトリックス9から入力さ
れるマトリックスデータの注目画素が、当該注目画素に
隣接する隣接画素の画像データに基づいて、孤立点か否
か判別して、孤立点除去を行い、図示しない選択回路に
固定2値画像データを出力する。
When the image processing mode is the fixed binary mode, the isolated point removing unit 10 determines that the pixel of interest of the matrix data input from the 3 × 3 matrix 9 is based on the image data of the adjacent pixel adjacent to the pixel of interest. Then, it is determined whether or not it is an isolated point, the isolated point is removed, and the fixed binary image data is output to a selection circuit (not shown).

【0034】多値化部11は、均等重みフィルタを用い
て、3×3マトリックス9から入力されるマトリックス
データの全画素の和をとることにより、マトリックスの
中心画素の2値画像データを平滑化して、0〜9までの
4ビットの多値画像データを得て、補間部12に出力す
る。多値化部11の平滑化方法は、上記均等重みフィル
ターを用いるものに限るものではなく、例えば、画素毎
に重み付けを変化させたフィルタを用いた平滑化方法で
あってもよく、どのような平滑化の方法を採用するか
は、変倍率に応じて最適な方法を選択する。
The multi-value quantization unit 11 smoothes the binary image data of the central pixel of the matrix by taking the sum of all the pixels of the matrix data input from the 3 × 3 matrix 9 using the uniform weight filter. Then, 4-bit multi-valued image data of 0 to 9 is obtained and output to the interpolation unit 12. The smoothing method of the multi-value quantization unit 11 is not limited to the one using the above uniform weight filter, and may be, for example, a smoothing method using a filter in which weighting is changed for each pixel. Whether or not to use the smoothing method is selected according to the scaling factor.

【0035】補間部12は、前ラインの多値画像データ
をRAMインターフェース13を介して外部RAMから
読み込み、多値化部11から入力される多値画像データ
を前ラインの多値画像データを参照して補間演算するこ
とにより、多値画像データの変倍処理を行って変倍画像
データに変換して、マルチプレクサ6に出力する。
The interpolating unit 12 reads the multi-valued image data of the previous line from the external RAM via the RAM interface 13, and refers to the multi-valued image data of the previous line for the multi-valued image data input from the multi-value conversion unit 11. Then, the multi-valued image data is subjected to a scaling process to be converted into scaled image data, and output to the multiplexer 6.

【0036】マルチプレクサ6は、画像処理モードに応
じて、上記MTF補正部2から入力される2値画像デー
タと補間部12から入力される多値画像データの一方を
選択して、誤差拡散部7に出力する。
The multiplexer 6 selects one of the binary image data input from the MTF correction unit 2 and the multivalued image data input from the interpolation unit 12 according to the image processing mode, and the error diffusion unit 7 is selected. Output to.

【0037】誤差拡散部7は、外部RAMに保存されて
いる前ラインの2値化誤差データをRAMインターフェ
ース13を介して取り込み、マルチプレクサ6を介して
入力されるMTF補正部2あるいは補間部12から入力
される画像データと2値化部4から入力される前画素、
前々画素の2値化誤差とを合わせて注目画素の加算補正
値を算出して、マルチプレクサ3に出力する。
The error diffusion unit 7 takes in the binarized error data of the previous line stored in the external RAM via the RAM interface 13, and inputs it from the MTF correction unit 2 or the interpolation unit 12 via the multiplexer 6. The input image data and the previous pixel input from the binarization unit 4,
The addition correction value of the pixel of interest is calculated together with the binarization error of the pixel before the pixel and output to the multiplexer 3.

【0038】RAMインターフェース13には、図示し
ない外部RAMが接続されており、RAMファクシミリ
装置13は、この外部RAMのインターフェース処理を
行う。
An external RAM (not shown) is connected to the RAM interface 13, and the RAM facsimile machine 13 performs interface processing of this external RAM.

【0039】次に、動作を説明する。画像処理装置1
は、読取画像データ処理である固定2値モードと誤差拡
散モード及び変倍画像データ処理である変倍モードの各
画像処理モードを備え、これらの読取画像データ処理と
変倍画像データ処理を、2値化部4、誤差拡散部7、3
×3マトリックス9及び外部RAMを共用することによ
り処理を行っている。
Next, the operation will be described. Image processing device 1
The image processing mode includes a fixed binary mode for reading image data processing, an error diffusion mode, and a scaling mode for scaling image data processing. These scanning image data processing and scaling image data processing Quantization unit 4, error diffusion units 7, 3
Processing is performed by sharing the × 3 matrix 9 and the external RAM.

【0040】まず、図示しないスキャナ等で読み取られ
た多値画像データを、固定のスレッシュ値で単純に2値
化して出力する固定2値モードの画像処理について説明
する。
First, a description will be given of image processing in a fixed binary mode in which multi-valued image data read by a scanner (not shown) is simply binarized with a fixed threshold value and output.

【0041】スキャナ等で読み取られたアナログ信号
は、上述のように、図示しないA/D変換回路により多
値画像データに変換されてMTF補正部2に入力され、
MTF補正部2は、入力される多値画像データに対して
画像の強調補正を行って、マルチプレクサ3及びマルチ
プレクサ6に出力する。
As described above, the analog signal read by the scanner or the like is converted into multi-valued image data by the A / D conversion circuit (not shown) and input to the MTF correction section 2.
The MTF correction unit 2 performs image enhancement correction on the input multi-valued image data and outputs it to the multiplexer 3 and the multiplexer 6.

【0042】マルチプレクサ3は、MTF補正部2から
の多値画像データを選択して、2値化部4に出力し、2
値化部4には、さらに、マルチプレクサ5により選択さ
れた読取データ用スレッシュが入力される。2値化部4
は、この読取データ用スレッシュによりマルチプレクサ
3を介して入力されるMTF補正された多値画像データ
を2値化して、そのまま2値画像データとして図示しな
い選択回路に出力するとともに、マルチプレクサ8に出
力する。
The multiplexer 3 selects the multivalued image data from the MTF correction unit 2 and outputs it to the binarization unit 4,
The threshold for read data selected by the multiplexer 5 is further input to the binarization unit 4. Binarization unit 4
Binarizes the MTF-corrected multi-valued image data input through the multiplexer 3 by the read data threshold, and outputs the binary image data as it is to the selection circuit (not shown) and the multiplexer 8. .

【0043】マルチプレクサ8は、固定2値モードにお
いていは、2値化部4で2値化された2値画像データを
選択して、3×3マトリックス9に出力し、3×3マト
リックス9は、マルチプレクサ8から入力される2値画
像データとこの2値画像データ(現2値画像データ)の
前ライン及び前々ラインの2値画像データを入力として
9画素の隣接ブロックを形成してマトリックスデータを
孤立点除去部10に出力する。固定2値モードでは、多
値化部11は、動作せず、孤立点除去部10が、この3
×3マトリックス9で形成した隣接画像データに基づい
て、孤立点除去を行って、孤立点を除去した2値画像デ
ータを固定2値画像データとして、上記選択回路に出力
する。選択回路は、固定2値モードにおいては、孤立点
除去部10から入力される画像データを選択して、以降
の回路に転送する。
In the fixed binary mode, the multiplexer 8 selects the binary image data binarized by the binarizing unit 4 and outputs it to the 3 × 3 matrix 9, and the 3 × 3 matrix 9 , The binary image data input from the multiplexer 8 and the binary image data of the preceding line and the preceding line of this binary image data (current binary image data) are input to form an adjacent block of 9 pixels to form matrix data. Is output to the isolated point removing unit 10. In the fixed binary mode, the multi-value quantization unit 11 does not operate, and the isolated point removal unit 10 does not
The isolated points are removed based on the adjacent image data formed by the × 3 matrix 9, and the binary image data from which the isolated points have been removed are output as fixed binary image data to the selection circuit. In the fixed binary mode, the selection circuit selects the image data input from the isolated point removal unit 10 and transfers it to the subsequent circuits.

【0044】すなわち、固定2値モード処理において
は、MTF補正部2、マルチプレクサ3、2値化部4、
マルチプレクサ5、マルチプレクサ8、3×3マトリッ
クス9及び孤立点除去部10を使用して、画像処理を行
う。
That is, in the fixed binary mode processing, the MTF correction unit 2, the multiplexer 3, the binarization unit 4,
Image processing is performed using the multiplexer 5, the multiplexer 8, the 3 × 3 matrix 9 and the isolated point removing unit 10.

【0045】次に、読取画像データを誤差拡散モード処
理する場合について説明する。誤差拡散モード処理にお
いては、固定2値モードの場合と同様に、MTF補正部
2は、入力される多値画像データをMTF補正して、マ
ルチプレクサ6に出力し、マルチプレクサ6は、MTF
補正部2から入力されるMTF補正された多値画像デー
タを選択して、誤差拡散部7に出力する。
Next, a case where the read image data is processed in the error diffusion mode will be described. In the error diffusion mode process, as in the fixed binary mode, the MTF correction unit 2 performs MTF correction on the input multi-valued image data and outputs it to the multiplexer 6, and the multiplexer 6 causes the MTF.
The MTF-corrected multivalued image data input from the correction unit 2 is selected and output to the error diffusion unit 7.

【0046】誤差拡散部7は、外部RAMから前ライン
の2値化誤差データをRAMインターフェース13を介
して取り込み、外部RAMから読み込んだ前ラインの2
値化誤差及び2値化部4から入力される前画素、前々画
素の2値化誤差と合わせ、マルチプレクサ6を介して入
力されるMTF補正された多値画像データである注目画
素の加算補正値を算出して、マルチプレクサ3に出力す
る。マルチプレクサ3は、この誤差拡散部7から入力さ
れる加算補正値を選択して、2値化部4へ出力し、2値
化部4は、マルチプレクサ5から入力される読取データ
用スレッシュで2値化する。ただし、このスレッシュ
は、上記固定2値モードのスレッシュとは異なり、画素
毎に重み付けをしたマトリクススレッシュである。2値
化部4は、2値画像データを、そのまま上記選択回路に
出力するとともに、注目画素の2値化誤差算出のため誤
差拡散部7にフィードバックする。選択回路は、誤差拡
散モード処理においては、2値化部4から入力される2
値画像データ、すなわち、誤差拡散2値画像データを選
択して、その後の回路に転送する。
The error diffusion unit 7 fetches the binarized error data of the previous line from the external RAM through the RAM interface 13, and the 2 of the previous line read from the external RAM.
Addition correction of the pixel of interest, which is MTF-corrected multi-valued image data input via the multiplexer 6, by combining the binarization error and the binarization error of the previous pixel and the previous pixel input from the binarization unit 4. The value is calculated and output to the multiplexer 3. The multiplexer 3 selects the addition correction value input from the error diffusion unit 7 and outputs it to the binarization unit 4, and the binarization unit 4 binarizes the read data threshold input from the multiplexer 5. Turn into. However, this threshold is a matrix threshold weighted for each pixel, unlike the threshold in the fixed binary mode. The binarization unit 4 outputs the binary image data as it is to the selection circuit and feeds it back to the error diffusion unit 7 for calculating the binarization error of the pixel of interest. In the error diffusion mode process, the selection circuit inputs the 2 input from the binarization unit 4.
The value image data, that is, the error diffusion binary image data is selected and transferred to the subsequent circuit.

【0047】すなわち、誤差拡散モード処理において
は、MTF補正部2、マルチプレクサ6、誤差拡散部
7、マルチプレクサ3、2値化部4及びマルチプレクサ
5を使用して、画像処理を行う。
That is, in the error diffusion mode processing, image processing is performed using the MTF correction unit 2, the multiplexer 6, the error diffusion unit 7, the multiplexer 3, the binarization unit 4 and the multiplexer 5.

【0048】次に、2値画像データを補間により変倍モ
ード処理する場合について説明する。変倍モード処理に
おいては、図示しない画像メモリ等に蓄積されていた2
値画像データ(原画像データ)を、マルチプレクサ8で
選択して、3×3マトリックス9へ入力し、3×3マト
リックス9は、外部RAMに保存されている前ライン及
び前々ラインの2値画像データを読み込んで、上記画像
メモリからの2値画像データと外部RAMからの前ライ
ン及び前々ラインを合わせたマトリクスデータを形成し
て、多値化部11に出力する。多値化部11は、マトリ
クスの中心画素の多値化を平滑化により算出・生成し、
生成した多値画像データを補間部12に出力する。
Next, the case where the binary image data is subjected to the scaling mode processing by interpolation will be described. In the variable magnification mode process, the image was stored in an image memory (not shown)
The value image data (original image data) is selected by the multiplexer 8 and input to the 3 × 3 matrix 9, and the 3 × 3 matrix 9 is a binary image of the previous line and the two lines before the line stored in the external RAM. The data is read to form matrix data in which the binary image data from the image memory and the previous line and the previous line from the external RAM are combined, and the matrix data is output to the multi-value quantization unit 11. The multi-value quantization unit 11 calculates and generates multi-value quantization of the central pixel of the matrix by smoothing,
The generated multi-valued image data is output to the interpolation unit 12.

【0049】補間部12は、前ラインの多値画像データ
をRAMインターフェース13を介して外部RAMから
読み込み、多値化部11から入力される多値画像データ
を前ラインの多値画像データを参照して補間演算するこ
とにより、多値画像データの変倍処理を行って変倍多値
画像データに変換して、マルチプレクサ6に出力する。
マルチプレクサ6は、補間部12から入力される変倍多
値画像データを誤差拡散部7に出力し、誤差拡散部7
は、外部RAMに保存されている前ラインの2値化誤差
データをRAMインターフェース13を介して取り込ん
で、マルチプレクサ6を介して補間部12から入力され
る変倍画像データを注目画素として、当該注目画素の周
囲画素の2値化誤差を積算して、注目変倍画素を加算補
正した加算補正多値画像データを算出する。誤差拡散部
7は、算出した加算補正多値画像データを、マルチプレ
クサ3を介して2値化部4に出力し、2値化部4は、マ
ルチプレクサ5を介して入力される変倍データ用スレッ
シュによって加算補正多値画像データを2値化する。こ
のときのスレッシュは、固定2値化モードと同様に所定
の固定値である。すなわち、2値化部4は、マルチプレ
クサ3を介して誤差拡散部7から入力される加算補正多
値画像データをマルチプレクサ5から入力される変倍デ
ータ用スレッシュで2値化して、変倍2値画像データ
を、上記選択回路に出力するとともに、2値化誤差算出
のため、誤差拡散部7にフィードバックする。このと
き、選択回路は、2値化部4から入力される変倍2値画
像データを選択して、その後の回路に出力する。
The interpolating unit 12 reads the multi-valued image data of the previous line from the external RAM via the RAM interface 13, and refers to the multi-valued image data of the previous line for the multi-valued image data input from the multi-value conversion unit 11. Then, the multi-valued image data is subjected to a scaling process to be converted into scaled multi-valued image data and output to the multiplexer 6.
The multiplexer 6 outputs the scaled multi-valued image data input from the interpolation unit 12 to the error diffusion unit 7, and the error diffusion unit 7
Takes in the binarized error data of the previous line stored in the external RAM via the RAM interface 13, and uses the scaled image data input from the interpolation unit 12 via the multiplexer 6 as the pixel of interest. The binarization errors of the pixels surrounding the pixel are integrated to calculate addition-corrected multi-valued image data in which the variable magnification pixel of interest is added and corrected. The error diffusion unit 7 outputs the calculated addition-correction multi-valued image data to the binarization unit 4 via the multiplexer 3, and the binarization unit 4 inputs the threshold for variable-magnification data input via the multiplexer 5. The addition-corrected multivalued image data is binarized by. The threshold at this time is a predetermined fixed value as in the fixed binarization mode. That is, the binarization unit 4 binarizes the addition-correction multivalued image data input from the error diffusion unit 7 via the multiplexer 3 with the threshold for scaling data input from the multiplexer 5 to perform scaling binarization. The image data is output to the selection circuit and fed back to the error diffusion unit 7 for calculating the binarization error. At this time, the selection circuit selects the scaled binary image data input from the binarization unit 4 and outputs it to the subsequent circuit.

【0050】すなわち、変倍モード処理においては、マ
ルチプレクサ8、3×3マトリックス9、多値化部1
1、補間部12、マルチプレクサ6、誤差拡散部7、マ
ルチプレクサ3及び2値化部4を使用して、画像処理を
行う。
That is, in the scaling mode processing, the multiplexer 8, the 3 × 3 matrix 9, the multi-value conversion unit 1
Image processing is performed using 1, the interpolation unit 12, the multiplexer 6, the error diffusion unit 7, the multiplexer 3, and the binarization unit 4.

【0051】このように、本実施の形態によれば、読取
画像データを固定2値化あるいは誤差拡散2値化するた
めに、MTF補正部2、マルチプレクサ3、2値化部
4、マルチプレクサ5、マルチプレクサ8、3×3マト
リックス9、孤立点除去部10、マルチプレクサ6及び
誤差拡散部7を利用し、2値画像データを多値化して、
変倍処理するために、マルチプレクサ8、3×3マトリ
ックス9、多値化部11、補間部12、マルチプレクサ
6、誤差拡散部7、マルチプレクサ3、2値化部4及び
マルチプレクサ5を利用している。
As described above, according to the present embodiment, in order to perform the fixed binarization or the error diffusion binarization of the read image data, the MTF correction unit 2, the multiplexer 3, the binarization unit 4, the multiplexer 5, By using the multiplexer 8, the 3 × 3 matrix 9, the isolated point removing unit 10, the multiplexer 6 and the error diffusion unit 7, the binary image data is multivalued,
A multiplexer 8, a 3 × 3 matrix 9, a multi-value quantization unit 11, an interpolation unit 12, a multiplexer 6, an error diffusion unit 7, a multiplexer 3, a binarization unit 4, and a multiplexer 5 are used for the scaling process. .

【0052】したがって、読取画像データの固定2値化
処理及び誤差拡散2値化処理と2値画像データの変倍処
理において、2値化部4を共用しており、画像処理装置
1の部品点数を削減して、画像処理装置1を小型化する
ことができるとともに、安価なものとすることができ
る。
Therefore, the binarization unit 4 is shared in the fixed binarization process of the read image data, the error diffusion binarization process, and the scaling process of the binary image data, and the number of parts of the image processing apparatus 1 is increased. Can be reduced, the image processing apparatus 1 can be downsized, and the cost can be reduced.

【0053】また、周辺画素参照用にマトリックスを形
成する3×3マトリックス9を、読取データを固定2値
化処理する際の孤立点除去に利用するとともに、被変倍
データの処理において2値画像データを多値化するのに
利用して共用し、さらに、外部RAMを共用しており、
画像処理装置1の部品点数を削減して、高品質な画像処
理を行うことのできる画像処理装置1をより一層小型化
することができるとともに、より一層安価なものとする
ことができる。
Further, the 3 × 3 matrix 9 forming a matrix for referring to the peripheral pixels is used to remove isolated points when the read data is subjected to the fixed binarization process, and the binary image is used in the process of the data to be scaled. It is used to make data multi-valued and shared, and also shares an external RAM.
The number of parts of the image processing apparatus 1 can be reduced, and the image processing apparatus 1 that can perform high-quality image processing can be further downsized and can be made more inexpensive.

【0054】さらに、読取データの誤差拡散2値化処理
と変倍データ処理において、2値化部4と誤差拡散部7
を共用するとともに、誤差拡散部7で使用する前ライン
の2値化誤差データの格納用に、外部RAMを共用して
いるので、画像処理装置1の部品点数を削減して、高品
質な画像処理を行うことのできる画像処理装置1をより
一層小型化することができるとともに、より一層安価な
ものとすることができる。
Further, in the error diffusion binarization processing and the variable magnification data processing of the read data, the binarization unit 4 and the error diffusion unit 7
In addition, the external RAM is shared for storing the binarized error data of the previous line used by the error diffusion unit 7, so that the number of parts of the image processing apparatus 1 is reduced and a high quality image is obtained. The image processing apparatus 1 capable of performing the processing can be further downsized and can be further inexpensive.

【0055】以上、本発明者によってなされた発明を好
適な実施の形態に基づき具体的に説明したが、本発明は
上記実施の形態に限定されるものではなく、その要旨を
逸脱しない範囲で種々変更可能であることはいうまでも
ない。
Although the invention made by the present inventor has been specifically described based on the preferred embodiments, the present invention is not limited to the above embodiments, and various modifications are possible without departing from the scope of the invention. It goes without saying that it can be changed.

【0056】例えば、上記実施の形態においては、外部
メモリとしてSRAMを用いた場合について説明した
が、外部メモリとしては、これに限るものではなく、例
えば、FIFOメモリ等を用いてよい。
For example, in the above embodiment, the case where the SRAM is used as the external memory has been described, but the external memory is not limited to this, and for example, a FIFO memory or the like may be used.

【0057】また、本実施の形態においては、変倍処理
で2値画像データを多値化するのに使用する3×3マト
リックス9を、読取画像データの固定2値化処理におけ
る孤立点除去のレジスタとして共用している場合につい
て説明したが、3×3マトリックス9の利用法として
は、これに限るものではなく、例えば、像域分離機能な
どを備えた画像処理装置であれば、エッジ分離部や白地
分離部のレジスタとして使用することもできる。
Further, in the present embodiment, the 3 × 3 matrix 9 used for converting the binary image data into multi-valued data in the scaling process is used for removing the isolated points in the fixed binarization process of the read image data. Although the case where the 3 × 3 matrix 9 is commonly used as a register has been described, the usage of the 3 × 3 matrix 9 is not limited to this. For example, in the case of an image processing apparatus having an image area separation function, the edge separation unit is used. It can also be used as a register for a white background separation section.

【0058】[0058]

【発明の効果】請求項1記載の発明の画像処理装置によ
れば、通常の読取多値画像データを2値化する画像処理
部の2値化部と、2値画像データを一旦多値化した後変
倍して、当該変倍した多値画像データを2値化する変倍
処理手段の2値化部と、を共用しているので、2値画像
データの変倍処理機能を備えた読取多値画像データを画
像処理する画像処理装置を小型で、かつ、安価なものと
することができる。
According to the image processing apparatus of the first aspect of the present invention, the binarization unit of the image processing unit for binarizing normal read multivalued image data and the binarization of the binary image data once. After that, scaling is performed and the binarizing unit of the scaling processing unit that binarizes the scaled multivalued image data is shared, so that a scaling processing function of the binary image data is provided. It is possible to reduce the size and cost of the image processing device that processes the read multi-valued image data.

【0059】請求項2記載の発明の画像処理装置によれ
ば、通常の読取多値画像データを誤差拡散処理した後、
2値化する画像処理手段の誤差拡散部及び2値化部と、
2値画像データを一旦多値画像データに変換して、変倍
し、変倍した多値画像データを周囲画素と誤差拡散した
後、2値化する変倍処理手段の誤差拡散部及び2値化部
と、を共用しているので、高画質で変倍処理することが
できるとともに読取多値画像データを高品質で画像処理
を行うことのできる画像処理装置を小型で、かつ、安価
なものとすることができる。
According to the image processing apparatus of the second aspect of the invention, after the normal read multi-valued image data is subjected to the error diffusion processing,
An error diffusion section and a binarization section of the image processing means for binarization;
The binary image data is once converted into multi-valued image data, scaled, the scaled multi-valued image data is error-diffused with surrounding pixels, and then binarized. Since it is also used as an image processing unit, a compact and inexpensive image processing apparatus capable of performing high-quality scaling processing and high-quality image processing of read multi-valued image data Can be

【0060】請求項3記載の発明の画像処理装置によれ
ば、通常の読取多値画像データをメモリに格納された前
ラインの誤差データを用いて誤差拡散処理した後、2値
化する画像処理手段の誤差拡散部及び2値化部と、2値
画像データを一旦多値画像データに変換して、メモリに
格納された前ラインの多値画像データを参照して補間演
算することにより変倍し、変倍した多値画像データをメ
モリに格納された周囲画素と誤差拡散した後、2値化す
る変倍処理手段の誤差拡散部及び2値化部と、を共用し
ているので、より一層高画質で変倍処理することができ
るとともに読取多値画像データをより一層高品質で画像
処理を行うことのできる画像処理装置を小型で、かつ、
安価なものとすることができる。
According to the image processing apparatus of the third aspect of the present invention, the image processing of performing the error diffusion processing on the normal read multi-valued image data using the error data of the previous line stored in the memory and then binarizing it The error diffusion unit and the binarization unit of the means, and the binary image data are once converted into multivalued image data, and the interpolation is performed by referring to the multivalued image data of the previous line stored in the memory. Since the scaled multi-valued image data is error-diffused with the surrounding pixels stored in the memory and then binarized, the error diffusion unit and the binarization unit of the scaling processing unit are shared. An image processing apparatus that is capable of performing high-quality image scaling processing and performing high-quality image processing of read multi-valued image data with a small size, and
It can be inexpensive.

【0061】請求項4記載の発明の画像処理装置によれ
ば、通常の読取多値画像データを2値化した後、所定数
の周囲画素とのマトリックスデータに基づいて孤立点除
去するする画像処理手段のマトリックス部と、2値画像
データを中心画素とした所定数の周囲画素とマトリック
スデータを形成して、当該中心画素を周囲画素と平滑化
して多値化し、当該平滑化した多値画像データを変倍し
た後、2値化する変倍処理手段のマトリックス部と、を
共用しているので、より一層高画質で変倍処理すること
ができるとともに読取多値画像データを孤立点除去して
より一層高品質で画像処理を行うことのできる画像処理
装置を小型で、かつ、安価なものとすることができる。
According to the image processing apparatus of the fourth aspect of the present invention, after the normal read multi-valued image data is binarized, the isolated point is removed based on the matrix data of a predetermined number of surrounding pixels. A matrix portion of the means, a predetermined number of surrounding pixels with the binary image data as the central pixel, and matrix data are formed, the central pixel is smoothed with the surrounding pixels to be multivalued, and the smoothed multivalued image data Is also shared with the matrix portion of the scaling processing unit that binarizes the image, so that the scaling processing can be performed with higher image quality and the read multi-valued image data can be removed by isolated points. An image processing apparatus capable of performing image processing with higher quality can be made small and inexpensive.

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

【図1】本発明の画像処理装置の一実施の形態を適用し
た画像処理装置の要部回路ブロック図。
FIG. 1 is a circuit block diagram of a main part of an image processing apparatus to which an embodiment of an image processing apparatus of the present invention is applied.

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

1 画像処理回路 2 MTF補正部 3、5、6、8 マルチプレクサ 4 2値化部 7 誤差拡散部 9 3×3マトリックス 10 孤立点除去部 11 多値化部 12 補間部 13 RAMインターフェース DESCRIPTION OF SYMBOLS 1 Image processing circuit 2 MTF correction part 3, 5, 6, 8 Multiplexer 4 Binarization part 7 Error diffusion part 9 3x3 matrix 10 Isolated point removal part 11 Multi-value conversion part 12 Interpolation part 13 RAM interface

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】読み取られた多値画像データを2値画像デ
ータに画像処理する画像処理手段と、2値画像データを
所定倍率で変倍する変倍手段と、を備えた画像処理装置
において、前記画像処理手段は、少なくとも前記多値画
像データを2値化する2値化部を備え、前記変倍手段
は、少なくとも、前記2値画像データを多値画像データ
に多値化する多値化部と、前記多値化された多値画像デ
ータを所定倍率に変倍する変倍部と、前記変倍された多
値画像データを2値化する2値化部と、を備え、前記画
像処理手段の前記2値化部と前記変倍手段の前記2値化
部を共用することを特徴とする画像処理装置。
1. An image processing apparatus comprising image processing means for image-processing read multi-valued image data into binary image data, and scaling means for scaling the binary image data by a predetermined magnification. The image processing unit includes at least a binarizing unit that binarizes the multi-valued image data, and the scaling unit at least multi-values the multi-valued image data into multi-valued image data. And a binarization unit that binarizes the scaled multi-valued image data, and a binarization unit that binarizes the scaled multi-valued image data. An image processing apparatus, wherein the binarizing unit of the processing unit and the binarizing unit of the scaling unit are shared.
【請求項2】読み取られた多値画像データを2値画像デ
ータに画像処理する画像処理手段と、2値画像データを
所定倍率に変倍する変倍手段と、を備えた画像処理装置
において、前記画像処理手段は、少なくとも、前記多値
画像データを誤差拡散する誤差拡散部と、前記誤差拡散
された多値画像データを2値化する2値化部と、を備
え、前記変倍手段は、少なくもと、前記2値画像データ
を多値画像データに多値化する多値化部と、前記多値化
された多値画像データを変倍する変倍部と、前記変倍さ
れた多値画像データを注目画素として周囲画素との2値
化誤差を誤差拡散して加算補正を行う誤差拡散部と、前
記加算補正された多値画像データを2値画像データに2
値化する2値化部と、を備え、前記変倍手段の前記誤差
拡散部及び前記2値化部と、前記画像処理手段の前記誤
差拡散部及び前記2値化部を共用することを特徴とする
画像処理装置。
2. An image processing apparatus comprising image processing means for image-processing read multi-valued image data into binary image data, and scaling means for scaling the binary image data to a predetermined magnification. The image processing unit includes at least an error diffusion unit that error-diffuses the multi-valued image data, and a binarization unit that binarizes the error-diffused multi-valued image data. At least, a multi-valued conversion unit that multi-values the binary image data into multi-valued image data, a scaling unit that scales the multi-valued multi-valued image data, and the scaling An error diffusion unit that performs error correction on a binarization error with surrounding pixels using multi-valued image data as a target pixel and performs addition correction, and the addition-corrected multi-valued image data is converted into binary image data.
A binarizing unit for binarizing, wherein the error diffusing unit and the binarizing unit of the scaling unit and the error diffusing unit and the binarizing unit of the image processing unit are shared. Image processing device.
【請求項3】読み取られた多値画像データを2値画像デ
ータに画像処理する画像処理手段と、2値画像データを
所定倍率に変倍する変倍手段と、を備えた画像処理装置
において、前記画像処理手段は、少なくとも、前記多値
画像データをメモリに格納された前ラインの誤差データ
を用いて誤差拡散する誤差拡散部と、前記誤差拡散され
た多値画像データを2値化する2値化部と、を備え、前
記変倍手段は、少なくとも、前記2値画像データを多値
画像データに多値化する多値化部と、前記多値化された
多値画像データをメモリに格納された前ラインの多値画
像データを参照して補間演算することにより変倍する変
倍部と、前記変倍された多値画像データを注目画素とし
てメモリに格納された周囲画素との2値化誤差を誤差拡
散して加算補正を行う誤差拡散部と、前記加算補正され
た多値画像データを2値画像データに2値化する2値化
部と、を備え、前記画像処理手段の前記誤差拡散部で利
用するメモリと、前記変倍手段の前記変倍部及び前記誤
差拡散部で利用するメモリと、を共用することを特徴と
する画像処理装置。
3. An image processing apparatus comprising image processing means for image-processing read multi-valued image data into binary image data, and scaling means for scaling the binary image data to a predetermined magnification. The image processing means binarizes at least the error diffusion unit that performs error diffusion of the multi-valued image data using the error data of the previous line stored in the memory, and binarizes the error-diffused multi-valued image data 2 A binarizing section, and the scaling means stores at least the multilevel binarizing section for binarizing the binary image data into multilevel image data, and the multilevel binarizing image data in a memory. A scaling unit that scales by performing interpolation calculation with reference to the stored multi-valued image data of the previous line, and surrounding pixels stored in a memory with the scaled multi-valued image data as a pixel of interest. Addition correction by error diffusion of digitization error An error diffusion unit, and a binarization unit that binarizes the addition-corrected multivalued image data into binary image data, and a memory used in the error diffusion unit of the image processing unit; An image processing apparatus, characterized in that it shares a memory used by the scaling unit and the error diffusion unit of the scaling unit.
【請求項4】読み取られた多値画像データを2値画像デ
ータに画像処理する画像処理手段と、2値画像データを
所定倍率に変倍する変倍手段と、を備えた画像処理装置
において、前記画像処理手段は、少なくとも、前記多値
画像データを2値画像データに2値化する2値化部と、
前記2値化された2値画像データを中心画素とした所定
数の周辺2値画素のマトリックスデータを形成するマト
リックス部と、前記マトリックスデータに基づいて前記
2値画像データの孤立点を除去する孤立点除去部と、を
備え、前記変倍手段は、少なくとも、前記2値画像デー
タを中心画素とした所定数の周辺2値画素のマトリック
スデータを形成するマトリックス部と、前記マトリクス
データの中心画素を周囲画素と平滑化することにより多
値化する多値化部と、前記多値化された多値画像データ
を変倍する変倍部と、前記変倍された多値画像データを
2値画像データに2値化する2値化部と、を備え、前記
変倍手段の前記マトリックス部と前記画像処理手段のマ
トリックス部とを共用することを特徴とする画像処理装
置。
4. An image processing apparatus comprising image processing means for image-processing read multi-valued image data into binary image data, and scaling means for scaling the binary image data to a predetermined magnification. The image processing means includes at least a binarizing unit that binarizes the multi-valued image data into binary image data.
A matrix portion that forms matrix data of a predetermined number of peripheral binary pixels with the binarized binary image data as a central pixel, and an isolation that removes isolated points of the binary image data based on the matrix data. A point removing unit, and the scaling unit includes at least a matrix unit that forms matrix data of a predetermined number of peripheral binary pixels with the binary image data as a central pixel, and a central pixel of the matrix data. A multi-valued unit that multi-values by smoothing with surrounding pixels, a scaling unit that scales the multi-valued multi-valued image data, and a binary image of the scaled multi-valued image data. An image processing device, comprising: a binarizing unit for binarizing data, wherein the matrix unit of the scaling unit and the matrix unit of the image processing unit are shared.
JP8093525A 1996-03-22 1996-03-22 Image processor Pending JPH09261468A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8093525A JPH09261468A (en) 1996-03-22 1996-03-22 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8093525A JPH09261468A (en) 1996-03-22 1996-03-22 Image processor

Publications (1)

Publication Number Publication Date
JPH09261468A true JPH09261468A (en) 1997-10-03

Family

ID=14084740

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8093525A Pending JPH09261468A (en) 1996-03-22 1996-03-22 Image processor

Country Status (1)

Country Link
JP (1) JPH09261468A (en)

Similar Documents

Publication Publication Date Title
US5124811A (en) Image encoding apparatus
US5371606A (en) Image encoding apparatus
JP3313447B2 (en) Image processing device
JPH03248674A (en) Half-tone picture processor
JPH1132208A (en) Variable magnification image processor
JPH10271326A (en) Image processor
JPH04238462A (en) Picture processor
JPH09261468A (en) Image processor
JPH029268A (en) Picture processor
JP3539552B2 (en) Image processing device
JPH0832820A (en) Coder for error spread binary image
JP3265100B2 (en) Facsimile machine
JP2941843B2 (en) Apparatus and method for reducing image signal
JPH11355575A (en) Image processor
JP2900907B2 (en) Image processing device
JP3221152B2 (en) Facsimile machine
JP3212339B2 (en) Image magnification device
JPH07170372A (en) Image reader and facsimile equipment using the same
JP2584826B2 (en) Image data processing device
JPH11177819A (en) Picture processor
JPH06205201A (en) Binary picture magnification/reduction device
JP2003283808A (en) Image processor
JPH04217166A (en) Image data processor
JPH06253133A (en) Picture processing device
JPH11331589A (en) Image processor and image processing method