JPH05219359A - Picture processor - Google Patents

Picture processor

Info

Publication number
JPH05219359A
JPH05219359A JP4016567A JP1656792A JPH05219359A JP H05219359 A JPH05219359 A JP H05219359A JP 4016567 A JP4016567 A JP 4016567A JP 1656792 A JP1656792 A JP 1656792A JP H05219359 A JPH05219359 A JP H05219359A
Authority
JP
Japan
Prior art keywords
data
image
processing
picture
thin line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP4016567A
Other languages
Japanese (ja)
Other versions
JP2877603B2 (en
Inventor
Hiroshi Maeda
博 前田
Yasuhiro Nakai
康博 中井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP4016567A priority Critical patent/JP2877603B2/en
Publication of JPH05219359A publication Critical patent/JPH05219359A/en
Application granted granted Critical
Publication of JP2877603B2 publication Critical patent/JP2877603B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4007Scaling of whole images or parts thereof, e.g. expanding or contracting based on interpolation, e.g. bilinear interpolation

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Control Or Security For Electrophotography (AREA)
  • Image Processing (AREA)

Abstract

PURPOSE:To enable the transfer without deleting a thin line at picture reduction by expanding the width of a thin line included in a read picture and applying magnification processing and then applying reduction processing to the picture. CONSTITUTION:A picture data input section 70 applies multi-value processing conversion to picture data of an original and applies 4-value processing to the data while taking a histogram and stores the result once to a memory 73. Then the inputted know data are subject to interpolation processing in response to a magnification commanded by a conversion processing section 71e of the input section 70 and picture element data after the magnification data are obtained and the width of a thin line is expanded. Then 4-value data are compressed by a compression processing section 71h by using run length coding. Then a picture data output section 72 decodes picture data stored in the memory 73 while being compressed and implements error spread of the 4-value data offering smooth expression of intermediate tone more than the binary data and the result is transferred to a laser output section 72d. Then a blur of an original at reduction/magnification processing is eliminated and the data are transferred without deleting the thin line.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ディジタル複写機等の
画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus such as a digital copying machine.

【0002】[0002]

【従来の技術】従来のディジタル複写機及びアナログ複
写機は、読取った画像を等倍で転写すると共に、拡大又
は縮小して転写紙に転写する機能を有している。
2. Description of the Related Art Conventional digital copying machines and analog copying machines have a function of transferring a read image at the same size and enlarging or reducing it to transfer it onto a transfer sheet.

【0003】ディジタル複写機においては、画像を構成
する画像データに対して単純サンプリング法等を用いて
原稿の縮小を行っている。
In a digital copying machine, a document is reduced by using a simple sampling method or the like for image data forming an image.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、縮小処
理の場合、アナログ複写機では、光学系の分解能の限度
から、薄くて細い文字などは転写されずに消えてしまっ
ていた。
However, in the case of reduction processing, in an analog copying machine, thin and thin characters have disappeared without being transferred because of the limit of resolution of an optical system.

【0005】一方、従来のディジタル複写機では、画像
データの縮小は、上記したように単純サンプリング法等
を用いて画像データの間引きを実施しているので、1画
素の幅、即ち1ドットの幅しかない細線は縮小率が大き
くなれば転写されずに消去されてしまう。
On the other hand, in the conventional digital copying machine, the image data is reduced by thinning out the image data by using the simple sampling method or the like as described above. Therefore, the width of one pixel, that is, the width of one dot is obtained. If there is only a thin line, if the reduction ratio becomes large, it will be erased without being transferred.

【0006】従って本発明は、画像縮小時に細線を消さ
ずに転写可能な画像処理装置を提供するものである。
Therefore, the present invention provides an image processing apparatus capable of transferring a thin line without erasing it when the image is reduced.

【0007】[0007]

【課題を解決するための手段】本発明によれば、原稿画
像を光学的に読取る機能を備えた画像処理装置であっ
て、読取った画像中に含まれる細線を拡幅する手段と、
該手段によって細線の拡幅された画像を縮小処理する手
段とを備えた装置が提供される。
According to the present invention, there is provided an image processing apparatus having a function of optically reading an original image, and a means for widening a thin line included in the read image,
An apparatus is provided which comprises means for reducing an image in which thin lines are widened by the means.

【0008】また、細線を拡幅する手段が、読取られた
画像の画像データを2値化する手段と、2値化された画
像の文字、図形及び記号以外の背景に対して細線化処理
を施す手段と、細線化処理された画像に対して画像デー
タの2値を反転する手段と、読取られた画像の文字、図
形及び記号のいずれかを表す画像データ領域を膨脹処理
する手段と、反転する手段によって形成された画像デー
タと膨脹処理する手段によって形成された画像データと
の論理積を求める手段とを含んでもよい。
Further, the means for widening the thin line performs a thinning process on the background other than the characters, figures and symbols of the binarized image and the means for binarizing the image data of the read image. Means, means for inverting the binary value of the image data for the thinned image, means for expanding the image data area representing any of the characters, figures and symbols of the read image, and the means for inverting It may include means for obtaining a logical product of the image data formed by the means and the image data formed by the expansion processing means.

【0009】[0009]

【作用】読取った画像中に含まれる細線を拡幅する手段
によって、読取った画像を縮小する前に細線が拡幅され
る。
The thin line included in the read image is widened before the reduced size of the read image.

【0010】また、細線を拡幅する処理において、読取
られた画像の各画素の画像データはまず2値化され、2
値化された画像の文字、図形及び記号以外の背景に対応
する画素に対して細線化処理がなされる。さらに、細線
化処理された画像に対して各画素の2値が反転される。
他方、読取られた画像の文字、図形及び記号のいずれか
を表す画像データ領域が膨脹処理される。そして、反転
する手段によって形成された画像データと膨脹処理する
手段によって形成された画像データとの論理積が算出さ
れて、細線が保持された画像が得られる。
Further, in the process of widening the thin line, the image data of each pixel of the read image is first binarized and
Thinning processing is performed on pixels corresponding to the background other than the characters, figures, and symbols in the binarized image. Further, the binary value of each pixel is inverted with respect to the thinned image.
On the other hand, the image data area representing any of the characters, figures and symbols of the read image is expanded. Then, the logical product of the image data formed by the inversion means and the image data formed by the expansion processing means is calculated, and the image in which the thin line is held is obtained.

【0011】[0011]

【実施例】以下図面を用いて本発明によるディジタル複
写機の一実施例を詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a digital copying machine according to the present invention will be described in detail below with reference to the drawings.

【0012】図7は本発明の一実施例の構成を概略的に
示すブロック図である。
FIG. 7 is a block diagram schematically showing the configuration of an embodiment of the present invention.

【0013】図7に示すように、本実施例のディジタル
複写機30には、スキャナ部31、レーザプリンタ部3
2、多段給紙ユニット33及びソータ34が備えられて
いる。 スキャナ部31は透明ガラスから成る原稿載置
台35、両面対応の自動原稿送り装置(ADF)36及
びスキャナユニット40から構成されている。
As shown in FIG. 7, the digital copying machine 30 of this embodiment includes a scanner section 31 and a laser printer section 3.
2. A multi-stage paper feeding unit 33 and a sorter 34 are provided. The scanner unit 31 is composed of a document placing table 35 made of transparent glass, an automatic document feeder (ADF) 36 compatible with both sides, and a scanner unit 40.

【0014】多段給紙ユニット33は、第1カセット5
1、第2カセット52、第3カセット53、及び選択に
より追加可能な第5カセット55を有している。多段給
紙ユニット33では、各段のカセットに収納された用紙
の上から用紙が1枚ずつ送り出され、レーザプリンタ部
32へ向けて搬送される。ADF36は、複数枚の原稿
を一度にセットしておき、自動的に原稿を一枚ずつスキ
ャナユニット40へ送給して、オペレータの選択に応じ
て原稿の片面又は両面をスキャナユニット40に読み取
らせるように構成されている。
The multi-stage sheet feeding unit 33 includes the first cassette 5
It has the 1st, 2nd cassette 52, the 3rd cassette 53, and the 5th cassette 55 which can be added by selection. In the multi-stage sheet feeding unit 33, the sheets are sent out one by one from the sheets stored in the cassettes of the respective stages and are conveyed toward the laser printer unit 32. The ADF 36 sets a plurality of originals at one time, automatically feeds the originals one by one to the scanner unit 40, and causes the scanner unit 40 to read one side or both sides of the original according to the operator's selection. Is configured.

【0015】スキャナユニット40は原稿を露光するラ
ンプリフレクタアセンブリ41、原稿から反射光像を電
荷結合素子(CCD)42に導くための複数の反射ミラ
ー43、及び原稿からの反射光像をCCD42に結像さ
せるためのレンズ44を含んでいる。スキャナ部31
は、原稿載置台35に載置された原稿を走査する場合に
は、原稿載置台35の下面に沿ってスキャナユニット4
0が移動しながら原稿画像を読み取るようにに構成され
ており、ADF36を使用する場合には、ADF36の
下方の所定位置にスキャナユニット40を停止させた状
態で原稿を搬送しながら原稿画像を読み取るように構成
されている。
The scanner unit 40 forms a lamp reflector assembly 41 for exposing a document, a plurality of reflecting mirrors 43 for guiding a reflected light image from the document to a charge coupled device (CCD) 42, and a reflected light image from the document on the CCD 42. It includes a lens 44 for imaging. Scanner unit 31
When scanning a document placed on the document table 35, the scanner unit 4 is arranged along the lower surface of the document table 35.
0 is configured to read an original image while moving, and when the ADF 36 is used, the original image is read while the original is conveyed while the scanner unit 40 is stopped at a predetermined position below the ADF 36. Is configured.

【0016】原稿画像をスキャナユニット40で読み取
ることにより得られた画像データは、図示していない後
述する画像処理部へ送られ各種処理が施された後、画像
処理部のメモリに一旦記憶され、出力指示に応じてメモ
リ内の画像データをレーザプリンタ部32に与えて用紙
上に画像を形成する。
The image data obtained by reading the original image with the scanner unit 40 is sent to an image processing unit (not shown), which will be described later, and subjected to various processing, and then temporarily stored in the memory of the image processing unit. In response to the output instruction, the image data in the memory is given to the laser printer unit 32 to form an image on a sheet.

【0017】レーザプリンタ部32は手差し原稿トレイ
45、レーザ書き込みユニット46及び画像を形成する
ための電子写真プロセス部47を備えている。レーザ書
き込みユニット46は、上述のメモリからの画像データ
に応じたレーザ光を出射する半導体レーザ、レーザ光を
等角速度偏向するポリゴンミラー、等角速度偏向された
レーザ光が静電写真プロセス部47の感光体ドラム48
上で等角速度偏向されるように補正するf−θレンズ等
を有している。
The laser printer unit 32 includes a manual document tray 45, a laser writing unit 46, and an electrophotographic process unit 47 for forming an image. The laser writing unit 46 is a semiconductor laser that emits a laser beam according to the image data from the above-mentioned memory, a polygon mirror that deflects the laser beam at a constant angular velocity, and a laser beam that is deflected at a constant angular velocity is exposed to the electrophotographic process section 47. Body drum 48
It has an f-θ lens and the like for performing correction so that the angular velocity is deflected.

【0018】電子写真プロセス部47は、周知の態様に
従い、感光ドラム48の周囲に帯電器、現像器、転写
器、剥離器、クリーニング器、除電器及び定着器49を
配置して成っている。定着器49より画像が形成される
べき用紙の搬送方向下流側には搬送路50が設けられて
おり、搬送路50はソータ34へ通じている搬送路57
と多段給紙ユニット33へ通じている搬送路58とに分
岐している。搬送路58は多段給紙ユニット33におい
て分岐しており、分岐後の搬送路として反転搬送路50
a及び両面/合成搬送路50bが設けられている。反転
搬送路50aは原稿の両面を複写する両面複写モードに
おいて、用紙の裏表を反転するための搬送路である。両
面/合成搬送路50bは、両面複写モードにおいて、反
転搬送路50aから感光ドラム48の画像形成位置まで
用紙を搬送したり、用紙の片面に異なる原稿の画像や異
なる色のトナーで画像を形成する合成複写を行う片面合
成複写モードにおいて用紙を反転することなく感光ドラ
ム48の画像形成位置まで搬送するための搬送路であ
る。
The electrophotographic process section 47 comprises a charging device, a developing device, a transfer device, a peeling device, a cleaning device, a static eliminator and a fixing device 49 around the photosensitive drum 48 in a known manner. A transport path 50 is provided on the downstream side of the fixing device 49 in the transport direction of the sheet on which the image is to be formed, and the transport path 50 communicates with the sorter 34.
And a conveyance path 58 leading to the multi-stage sheet feeding unit 33. The transport path 58 is branched in the multi-stage sheet feeding unit 33, and the reverse transport path 50 is used as a transport path after the branch.
a and a double-sided / composite transport path 50b are provided. The reverse conveyance path 50a is a conveyance path for reversing the front and back sides of a sheet in the double-sided copy mode for copying both sides of a document. The double-sided / composite conveyance path 50b conveys a sheet from the reverse conveyance path 50a to the image forming position of the photosensitive drum 48 in the double-sided copy mode, or forms an image of different originals or toners of different colors on one side of the sheet. This is a transport path for transporting the paper to the image forming position of the photosensitive drum 48 without inverting the paper in the single-sided synthetic copy mode for performing the synthetic copy.

【0019】多段給紙ユニット33は共通搬送路56を
含んでおり、共通搬送路56は第1カセット51、第2
カセット52、第3カセット53からの用紙を電子写真
プロセス部47に向かって搬出するように構成されてい
る。共通搬送路56は電子写真プロセス部47へ向かう
途中で第4カセット55からの搬送路59と合流して搬
送路60に通じている。搬送路60は両面/合成搬送路
50b及び手差し原稿トレイ45からの搬送路61と合
流点62で合流して静電写真プロセス部47の感光体ド
ラム48と転写器との間の画像形成位置へ通じるように
構成されており、これら3つの搬送路の合流点62は画
像形成位置に近い位置に設けられている。 従って、レ
ーザ書き込みユニット46及び電子写真プロセス部47
において、上述のメモリから読み出された画像データ
は、レーザ書き込みユニット46によってレーザ光線を
走査させることにより感光体ドラム48の表面上に静電
潜像として形成され、トナーによって可視像化されたト
ナー像は多段給紙ユニット33から搬送された用紙の面
上に静電転写され定着される。このようにして画像が形
成された用紙は定着器49から搬送路50及び57を介
してソータ34へ送られたり、搬送路50及び58を介
して反転搬送路50aへ搬送される。
The multi-stage paper feeding unit 33 includes a common transport path 56, which is the first cassette 51 and the second cassette 51.
The sheets from the cassette 52 and the third cassette 53 are carried out toward the electrophotographic process section 47. The common transport path 56 joins the transport path 59 from the fourth cassette 55 on the way to the electrophotographic process section 47 and communicates with the transport path 60. The conveyance path 60 merges with the conveyance path 61 from the double-sided / composite conveyance path 50b and the manual feed tray 45 at a confluence point 62 to reach an image forming position between the photosensitive drum 48 of the electrostatic photography process section 47 and the transfer device. The confluence point 62 of these three transport paths is provided at a position close to the image forming position. Therefore, the laser writing unit 46 and the electrophotographic process unit 47 are
In the above, the image data read from the above-mentioned memory is formed as an electrostatic latent image on the surface of the photosensitive drum 48 by scanning the laser beam by the laser writing unit 46, and visualized by the toner. The toner image is electrostatically transferred and fixed on the surface of the sheet conveyed from the multi-stage sheet feeding unit 33. The sheet on which the image is formed in this manner is sent from the fixing device 49 to the sorter 34 via the transport paths 50 and 57, or is transported to the reverse transport path 50a via the transport paths 50 and 58.

【0020】次に、本実施例のディジタル複写機30に
含まれる画像処理部の構成及び機能について説明する。
Next, the structure and function of the image processing unit included in the digital copying machine 30 of this embodiment will be described.

【0021】図8は、画像処理部の構成を概略的に示す
ブロック図である。
FIG. 8 is a block diagram schematically showing the structure of the image processing section.

【0022】ディジタル複写機30に含まれる画像処理
部は、画像データ入力部70、画像処理部71、画像デ
ータ出力部72、RAM(ランダムアクセスメモリ)等
から構成されるメモリ73及びCPU(中央処理演算装
置)74を備えている。画像データ入力部70はCCD
部70a、ヒストグラム処理部70b及び誤差拡散処理
部70cを含んでいる。
The image processing unit included in the digital copying machine 30 includes an image data input unit 70, an image processing unit 71, an image data output unit 72, a memory 73 including a RAM (random access memory) and a CPU (central processing unit). Arithmetic unit) 74. The image data input unit 70 is a CCD
The unit 70a, the histogram processing unit 70b, and the error diffusion processing unit 70c are included.

【0023】画像データ入力部70は、図7に示すCC
D42から読み込まれた原稿の画像データを多値化(8
ビット)変換して、多値のディジタル量としてヒストグ
ラムをとりながら、誤差拡散法によって画像データを4
値化処理して、メモリ73に一旦記憶するように構成さ
れている。即ち、CCD部70aでは、画像データの各
画素濃度に応じたアナログ電気信号がA/D変換された
後、MTF補正、白黒補正又はガンマ補正が行われ、2
56階調(8ビット)のディジタル信号としてヒストグ
ラム処理部70bへ出力される。
The image data input section 70 has the CC shown in FIG.
The image data of the original read from D42 is converted to multi-valued (8
Bit) conversion and taking a histogram as a multivalued digital amount, the image data is converted into 4 by the error diffusion method.
The memory 73 is configured to be digitized and temporarily stored in the memory 73. That is, in the CCD unit 70a, after the analog electric signal corresponding to each pixel density of the image data is A / D converted, MTF correction, black-and-white correction or gamma correction is performed.
The digital signal of 56 gradations (8 bits) is output to the histogram processing unit 70b.

【0024】ヒストグラム処理部70bでは、CCD部
70aから出力されたディジタル信号が256階調の画
素濃度別に加算され濃度情報(ヒストグラムデータ)が
得られると共に、必要に応じて、得られたヒストグラム
データはCPU74へ送られ、又は画素データとして誤
差拡散処理部70cへ送られる。誤差拡散処理部70c
では、疑似中間調処理の一種である誤差拡散法、即ち4
値化の誤差を隣接画素の4値化判定に反映させる方法に
より、CCD部70aから出力された8ビット/画素の
ディジタル信号が2ビット(4値)に変換され、原稿に
おける局所領域濃度を忠実に再現するための再配分演算
が行われる。
In the histogram processing section 70b, the digital signal output from the CCD section 70a is added for each pixel density of 256 gradations to obtain density information (histogram data), and if necessary, the obtained histogram data is It is sent to the CPU 74 or as pixel data to the error diffusion processing unit 70c. Error diffusion processing unit 70c
Then, the error diffusion method which is a kind of pseudo halftone processing, that is, 4
A digital signal of 8 bits / pixel output from the CCD unit 70a is converted into 2 bits (4 values) by a method of reflecting a quantization error in the quaternization judgment of an adjacent pixel to faithfully reproduce the local area density in the original. A redistribution operation is performed to reproduce the above.

【0025】画像処理部71は多値化処理部71a及び
71b,合成処理部71c、濃度変換処理部71d、変
倍処理部71e,画像プロセス部71f,誤差拡散処理
部71g並びに圧縮処理部71hを含んでいる。画像処
理部71は、入力された画像データをオペレ−タが希望
する画像データに最終的に変換する処理部であり、メモ
リ73に最終的に変換された出力画像データとして記憶
されるまでこの処理部にて処理するように構成されてい
る。但し、画像処理部71に含まれている上述の各処理
部は必要に応じて機能するものであり、機能しない場合
もある。
The image processing unit 71 includes multi-valued processing units 71a and 71b, a synthesis processing unit 71c, a density conversion processing unit 71d, a scaling processing unit 71e, an image processing unit 71f, an error diffusion processing unit 71g and a compression processing unit 71h. Contains. The image processing section 71 is a processing section for finally converting the input image data into image data desired by the operator, and this processing is carried out until it is stored in the memory 73 as finally converted output image data. It is configured to be processed by the department. However, each of the above-described processing units included in the image processing unit 71 functions as necessary and may not function.

【0026】即ち、多値化処理部71a及び71bで
は、誤差拡散処理部70cで4値化されたデータが再度
256階調に変換される。
That is, in the multilevel halftoning processing units 71a and 71b, the four-valued data in the error diffusion processing unit 70c is converted again into 256 gradations.

【0027】合成処理部71cでは、画素毎の論理演
算、即ち論理和、論理積又は排他的論理和の演算が選択
的に行われる。この演算の対象となるデータは、メモリ
73に記憶されている画素データ及びパターンジェネレ
ータ(PG)からのビットデータである。
In the synthesizing section 71c, a logical operation for each pixel, that is, a logical sum, a logical product or an exclusive logical sum is selectively performed. The data to be calculated are pixel data stored in the memory 73 and bit data from the pattern generator (PG).

【0028】濃度変換処理部71dでは、256階調の
ディジタル信号に対して、所定の階調変換テーブルに基
づいて入力濃度に対する出力濃度の関係が任意に設定さ
れる。
In the density conversion processing unit 71d, the relationship between the input density and the output density is arbitrarily set for the 256 gradation digital signal based on a predetermined gradation conversion table.

【0029】変換処理部71eでは、指示された変倍率
に応じて、入力される既知データにより補間処理を行う
ことによって、変倍後の対象画素に対する画素データ
(濃度値)が求められ、副走査が変倍された後に主走査
が変倍処理される。
In the conversion processing unit 71e, pixel data (density value) for the target pixel after scaling is obtained by performing interpolation processing with the known data that is input according to the designated scaling ratio, and the sub-scanning is performed. Is scaled, the main scanning is scaled.

【0030】画像プロセス部71fでは、入力された画
素データに対して様々な画像処理が行われ、又、特徴抽
出等データ列に対する情報収集が行われ得る。
In the image processing section 71f, various image processings can be performed on the input pixel data, and information collection such as feature extraction can be performed on the data string.

【0031】誤差拡散処理部71gでは、画像データ入
力部70の誤差拡散処理部70cと同様な処理が行われ
る。
The error diffusion processing section 71g performs the same processing as the error diffusion processing section 70c of the image data input section 70.

【0032】圧縮処理部71hでは、ランレスグスとい
う符号化により4値データが圧縮される。又、画像デー
タの圧縮に関しては、最終的な出力データが完成した時
点で最後の処理ループにおいて圧縮が機能する。
In the compression processing section 71h, 4-valued data is compressed by the coding called runless method. Regarding the compression of the image data, the compression functions in the final processing loop when the final output data is completed.

【0033】画像データ出力部72は復元部72a、多
値化処理部72b、誤差拡散処理部72c及びレーザ出
力部72dを含んでいる。
The image data output unit 72 includes a restoration unit 72a, a multi-value processing unit 72b, an error diffusion processing unit 72c, and a laser output unit 72d.

【0034】画像データ出力部72は、圧縮状態でメモ
リ73に記憶されている画像データを復元し、元の25
6階調に再度変換し、2値データより滑らかな中間調表
現となる4値データの誤差拡散を行い、レーザ出力部7
2dへデータを転送するように構成されている。即ち、
復元部72aでは、圧縮処理部71hによって圧縮され
た画像データが復元される。
The image data output unit 72 restores the image data stored in the memory 73 in a compressed state to the original 25
The laser output unit 7 converts the gradation into 6 gradations again and performs error diffusion of the 4-valued data, which is a smoother halftone expression than the binary data.
It is configured to transfer data to 2d. That is,
The decompression unit 72a decompresses the image data compressed by the compression processing unit 71h.

【0035】多値化処理部72bでは、画像処理部71
の多値化処理部71a及び71bと同様な処理が行われ
る。誤差拡散処理部72cでは、画像データ入力部70
の誤差拡散処理部70cと同様な処理が行われる。
In the multi-value processing section 72b, the image processing section 71
Processing similar to that of the multi-value quantization processing units 71a and 71b is performed. In the error diffusion processing unit 72c, the image data input unit 70
Processing similar to that of the error diffusion processing unit 70c is performed.

【0036】レーザ出力部72dでは、図に示していな
いシーケンスコントローラからの制御信号に基づき、デ
ィジタル画素データがレーザのオン/オフ信号に変換さ
れ、レーザがオン/オフ状態となる。
In the laser output section 72d, the digital pixel data is converted into a laser on / off signal based on a control signal from a sequence controller (not shown), and the laser is turned on / off.

【0037】尚、画像データ入力部70及び画像データ
出力部72において扱われるデータは、メモリ73の容
量の削減のため、基本的には4値データの形でメモリ7
3に記憶されているが、2値のデータの形で処理するこ
とも可能である。
The data handled by the image data input section 70 and the image data output section 72 is basically in the form of four-valued data in order to reduce the capacity of the memory 73.
Although stored in 3, it is also possible to process in the form of binary data.

【0038】次に、本発明の主要部分である、画像中に
含まれる細線を拡幅する手段の一実施例について説明す
る。
Next, one embodiment of the means for widening the fine lines included in the image, which is the main part of the present invention, will be described.

【0039】本発明による画像中に含まれる細線を拡幅
する手段は、変倍処理前の画像データに対して細線部分
を太らせるような処理を行う。また、これは、基本的に
は、CPUにて処理されるプログラムであるので、図8
に示した画像処理部の回路を変更する必要ない。
The means for widening the thin line included in the image according to the present invention performs a process for thickening the thin line portion of the image data before the scaling process. Further, since this is a program that is basically processed by the CPU, FIG.
It is not necessary to change the circuit of the image processing unit shown in FIG.

【0040】図1は、画像中に含まれる細線を拡幅する
手段の一実施例の処理手順を示すフローチャート図であ
る。
FIG. 1 is a flow chart showing a processing procedure of an embodiment of a means for widening a thin line included in an image.

【0041】初めに、図8に示すメモリ73に蓄えられ
た4値の画像データは再度256階調の画像データに多
値化された後、2値化する手段によって例えば黒を0、
白を255、とする2値のデータに2値化される(ステ
ップS1)。黒は、一般的に、文字、図形又は記号等を
表しており、白は背景を表している。次に、細線化処理
を施す手段である細線化アルゴリズムに基づいて、白の
データに対して細線化処理を行う(ステップS2)。即
ち、これによって、細線部分が拡幅することになる。そ
して、画像データの2値を反転する手段によって背景に
対して細線化処理を施した2値の画像データを白黒反転
する(ステップS3)。即ち、0を255として、25
5を0とする。これによって、太った細線部分は、2進
数で11111111で表されるデータを有することに
なる。
First, the four-valued image data stored in the memory 73 shown in FIG. 8 is again multivalued into 256-gradation image data, and then, for example, black is set to 0 by the binarizing means.
It is binarized into binary data in which white is 255 (step S1). Black generally represents a character, a figure, a symbol, or the like, and white represents a background. Next, thinning processing is performed on the white data based on a thinning algorithm that is a means for performing thinning processing (step S2). That is, this causes the thin line portion to widen. Then, the binary image data obtained by subjecting the background to the thinning processing is black-white inverted by the means for inverting the binary of the image data (step S3). That is, 0 is set to 255 and 25
Set 5 to 0. As a result, the thick thin line portion has the data represented by the binary number 11111111.

【0042】他方、256階調の画像データを膨脹処理
する手段である膨脹アルゴリズムに基づいて膨脹処理す
る(ステップS4)。即ち、256階調のデータで細線
部分を拡幅させる。次に、ステップS3で反転された2
値の反転データとステップS4で得られた256階調の
膨脹データとを用いて、論理積を求める手段に基づいて
これらのデータの各画素における論理積を算出して、A
ND合成処理を行う(ステップS5)。そして、最後
に、AND合成処理で得られた画像データに対して補間
変倍処理を行い(ステップS6)、処理結果の画像をメ
モリに保持した後画像出力部を用いて転写を行う。
On the other hand, expansion processing is performed on the image data of 256 gradations based on an expansion algorithm which is a means for performing expansion processing (step S4). That is, the thin line portion is widened with 256 gradation data. Next, the value 2 inverted in step S3
Using the value inversion data and the 256-gradation expansion data obtained in step S4, the logical product of each pixel is calculated based on the means for calculating the logical product, and A
ND synthesis processing is performed (step S5). Then, finally, interpolation scaling processing is performed on the image data obtained by the AND synthesis processing (step S6), the image of the processing result is held in the memory, and then transferred using the image output unit.

【0043】従って、本実施例によるディジタル複写機
は上記手段を備えたので、縮小変倍処理時の1ドットラ
インの消えや、鉛筆書き原稿のかすれ等を、画像処理の
ための回路を変更すること無く防止することができる。
Therefore, since the digital copying machine according to the present embodiment is provided with the above-mentioned means, the circuit for image processing is changed such as the disappearance of one dot line at the time of reduction / magnification processing and the blurring of the pencil-written original. Can be prevented without

【0044】図2は、上記したフローチャート図におけ
る一連の処理の過程における画像の一例を示している。
同図に示すように、Aという文字は256階調のデータ
として拡幅される。
FIG. 2 shows an example of an image in the course of a series of processing in the above flow chart.
As shown in the figure, the character A is widened as data of 256 gradations.

【0045】次に、上記した細線化アルゴリズム、膨脹
アルゴリズム、AND合成処理、及び変倍処理の単純サ
ンプリング法の一例について図を参照して説明する。
Next, an example of a simple sampling method of the above-described thinning algorithm, expansion algorithm, AND combination processing, and scaling processing will be described with reference to the drawings.

【0046】図3は、細線アルゴリズムの一例による処
理例、図4は、膨脹アルゴリズムの一例による処理例、
図5は、AND合成処理の一例による処理例、図6は、
単純サンプリング法の一例を示す。
FIG. 3 is a processing example according to an example of a thin line algorithm, FIG. 4 is a processing example according to an example of an expansion algorithm,
FIG. 5 shows an example of the AND combination process, and FIG.
An example of the simple sampling method will be shown.

【0047】細線化とは、一般的には、与えられた文
字、図形、又は記号から線幅を細めて幅1の中心線を抽
出する操作のことである。本実施例では、上記したよう
に背景のデータについて細線化を実行する。細線化アル
ゴリズムは、次に示す規則に従う。
The thinning is generally an operation of thinning the line width from a given character, figure, or symbol to extract the center line of width 1. In this embodiment, thinning is performed on the background data as described above. The thinning algorithm follows the rules shown below.

【0048】(a)処理対象の画素のデータは白(10
進数で255)、即ち背景である。 (b)4−近傍に1つでも黒(10進数で0)の画素が
あり、かつ、8−近傍に白の画素が2つ以上ある場合、
処理対象の画素のデータを白から黒に変える。
(A) The data of the pixel to be processed is white (10
255) in radix, that is, the background. (B) 4-If there is at least one black (decimal 0) pixel in the vicinity and 8-there are two or more white pixels,
The data of the pixel to be processed is changed from white to black.

【0049】この規則に従って、処理された4つの例を
図3(A)から(D)に示す。但し、4−近傍とは、図
3(A)の左の3x3画素で、処理対象の中心の画素に
対して黒の4つの画素のことであり、8−近傍とは、周
囲8つ全ての画素のことである。
Four examples processed according to this rule are shown in FIGS. 3A to 3D. However, 4-neighborhood is 3 × 3 pixels on the left side of FIG. 3A, and is four black pixels with respect to the central pixel of the processing target, and 8-neighborhood is all eight surrounding pixels. It is a pixel.

【0050】例えば、図3(B)では、処理対象の中心
画素が白で、左の4−近傍画素が黒であり、8−近傍に
白の画素が6つあるので、上記規則を満たし中心画素の
データは黒に変換される。
For example, in FIG. 3B, since the central pixel to be processed is white, the left 4-neighboring pixels are black, and there are 6 white pixels in 8-neighborhood, the above-mentioned rule is satisfied and the center is satisfied. The pixel data is converted to black.

【0051】尚、細線化アルゴリズムは、上記した実施
例に限られるものではなく、同様な効果が得られるので
あれば、他の規則に従ったものでもよい。
The thinning algorithm is not limited to the above-described embodiment, and may be one that follows other rules as long as the same effect can be obtained.

【0052】本実施例の膨脹アルゴリズムは、次に示す
規則に従う。
The dilation algorithm of this embodiment complies with the following rules.

【0053】(a)処理対象の画素のデータは白(10
進数で255)、即ち背景である。 (b)8−近傍の画素において、白以外のデータで一番
大きな値を処理画素のデータとする。
(A) The data of the pixel to be processed is white (10
255) in radix, that is, the background. (B) In the 8-neighboring pixels, the largest value of the data other than white is set as the processing pixel data.

【0054】例えば、図4では、処理対象の中心画素が
白(10進数で255)であり、8−近傍において25
5以外で一番大きな値である220を処理対象の画素の
データとして図4(B)に示すデータを得る。
For example, in FIG. 4, the central pixel to be processed is white (255 in decimal), and 25 in 8-neighborhood.
The data 220 shown in FIG. 4B is obtained by using 220, which is the largest value other than 5, as the data of the pixel to be processed.

【0055】尚、膨脹アルゴリズムは、上記した実施例
に限られるものではなく、同様な効果が得られるのであ
れば、他の規則に従ったものでもよい。
The expansion algorithm is not limited to the embodiment described above, and may follow other rules as long as the same effect can be obtained.

【0056】AND合成処理は、各画素において、上記
細線化アルゴリズムによって拡幅された細線の反転デー
タと膨脹アルゴリズムによって得られた256階調のデ
ータとの論理積を求めるものである。
The AND synthesizing process is to obtain the logical product of the inversion data of the thin line widened by the thinning algorithm and the data of 256 gradations obtained by the expansion algorithm in each pixel.

【0057】図5に示すように、画像Aと画像BとのA
ND合成処理は、各画素において2進数のデータの各ビ
ットで論理積を実行することによって達成される。従っ
て、画像Aにおける10進数で255、即ち2進数で1
1111111の画素に対応する画像Bのデータが、処
理後そのまま維持され、画像Aにおける10進数で0、
即ち2進数で00000000の画素に対応する画像B
のデータは、処理後10進数で0となる。
As shown in FIG. 5, A of image A and image B
The ND compositing process is accomplished by performing a logical AND on each bit of binary data at each pixel. Therefore, the decimal number in the image A is 255, that is, the binary number is 1.
The data of the image B corresponding to the pixel of 11111111 is maintained as it is after the processing, and is 0 in decimal number in the image A,
That is, the image B corresponding to the binary number 00000000 pixels
Data becomes 0 in decimal after processing.

【0058】本実施例の単純サンプリング法は、次に示
す手順で実行される。図6に示すように、例えば4x4
の画素マトリックスを1/2に縮小する場合、まず、2
列目、4列目の画素を間引き、(B)の画素マトリック
スを求め、次に、2行目、4行目を間引いて(C)の画
素マトリックスを求めて1/2に縮小する。このよう
に、画素を間引いて縮小する方法を総称して単純サンプ
リング法と呼んでいる。任意の縮尺の縮小は、この単純
サンプリング法と補間処理とを用いて実行される。
The simple sampling method of this embodiment is executed by the following procedure. As shown in FIG. 6, for example, 4 × 4
If the pixel matrix of is reduced to 1/2, first,
Pixels in the fourth and fourth columns are thinned out to obtain a pixel matrix of (B), then the second and fourth rows are thinned out to obtain a pixel matrix of (C) and reduced to 1/2. As described above, the method of thinning out pixels to reduce the size is collectively referred to as a simple sampling method. The reduction of an arbitrary scale is executed by using this simple sampling method and interpolation processing.

【0059】従って、上記したこれらのアルゴリズムを
用いることにより、画像の縮小変倍処理時の1ドットラ
インの消えや、鉛筆書き原稿のかすれ等を防止して、細
線を保存することができる。
Therefore, by using these algorithms described above, it is possible to prevent the disappearance of one dot line during image reduction / magnification processing, fading of the pencil-written original, and the like, and to save the thin line.

【0060】[0060]

【発明の効果】以上詳細に説明したように本発明によれ
ば、読取った画像中に含まれる細線を拡幅する手段と、
該拡幅するための手段によって処理された画像を縮小処
理する手段とを備えたので、縮小変倍処理時の1ドット
ラインの消えや、鉛筆書き原稿のかすれ等を、画像処理
のための回路を変更すること無く防止することができ
る。
As described above in detail, according to the present invention, a means for widening a fine line included in a read image,
Since a means for reducing the image processed by the means for enlarging the width is provided, a circuit for image processing such as disappearance of one dot line at the time of reduction / magnification processing, blurring of a pencil-written original, etc. is provided. It can be prevented without changing.

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

【図1】本発明に係わる細線を拡幅する手段の一実施例
の処理手順を説明するフローチャート図である。
FIG. 1 is a flowchart illustrating a processing procedure of an embodiment of a means for widening a thin line according to the present invention.

【図2】本発明に係わる細線を拡幅する手段の一実施例
による処理例を示す説明図である。
FIG. 2 is an explanatory diagram showing a processing example according to an embodiment of means for widening a thin line according to the present invention.

【図3】細線化アルゴリズムの一例による処理例を示す
説明図である。
FIG. 3 is an explanatory diagram illustrating a processing example according to an example of a thinning algorithm.

【図4】膨脹アルゴリズムの一例による処理例を示す説
明図である。
FIG. 4 is an explanatory diagram showing a processing example according to an example of an expansion algorithm.

【図5】AND合成処理の一例による処理例を示す説明
図である。
FIG. 5 is an explanatory diagram showing a processing example according to an example of an AND combination processing.

【図6】単純サンプリング法の一例を示す説明図であ
る。
FIG. 6 is an explanatory diagram showing an example of a simple sampling method.

【図7】本発明に係わるディジタル複写機の一例の構成
を概略的に示す断面図である。
FIG. 7 is a sectional view schematically showing the configuration of an example of a digital copying machine according to the present invention.

【図8】本発明に係わるディジタル複写機に含まれる画
像処理部の構成を概略的に示すブロック図である。
FIG. 8 is a block diagram schematically showing a configuration of an image processing unit included in the digital copying machine according to the present invention.

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

70 画像データ入力部 71 画像処理部 72 画像データ出力部 73 メモリ 74 CPU 70 image data input unit 71 image processing unit 72 image data output unit 73 memory 74 CPU

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 原稿画像を光学的に読取る機能を備えた
画像処理装置であって、読取られた画像中に含まれる細
線を拡幅する手段と、該手段によって細線の拡幅された
画像を縮小処理する手段とを備えたことを特徴とする画
像処理装置。
1. An image processing apparatus having a function of optically reading a document image, comprising means for widening a thin line included in a read image, and reduction processing for an image having the thin line widened by the means. An image processing apparatus comprising:
【請求項2】 前記細線を拡幅する手段が、読取られた
画像の画像データを2値化する手段と、2値化された画
像の文字、図形及び記号以外の背景に対して細線化処理
を施す手段と、前記細線化処理された画像に対して画像
データの2値を反転する手段と、前記読取られた画像の
文字、図形及び記号のいずれかを表す画像データ領域を
膨脹処理する手段と、前記反転する手段によって形成さ
れた画像データと前記膨脹処理する手段によって形成さ
れた画像データとの論理積を求める手段とを含むことを
特徴とする画像処理装置。
2. A means for widening the thin line, a means for binarizing image data of a read image, and a thinning process for a background other than characters, figures and symbols of the binarized image. A means for performing, a means for inverting the binary value of the image data for the thinned image, and a means for expanding the image data area representing any of the characters, figures and symbols of the read image. An image processing apparatus comprising: a means for obtaining a logical product of the image data formed by the inverting means and the image data formed by the expansion processing means.
JP4016567A 1992-01-31 1992-01-31 Image processing device Expired - Fee Related JP2877603B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4016567A JP2877603B2 (en) 1992-01-31 1992-01-31 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4016567A JP2877603B2 (en) 1992-01-31 1992-01-31 Image processing device

Publications (2)

Publication Number Publication Date
JPH05219359A true JPH05219359A (en) 1993-08-27
JP2877603B2 JP2877603B2 (en) 1999-03-31

Family

ID=11919870

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4016567A Expired - Fee Related JP2877603B2 (en) 1992-01-31 1992-01-31 Image processing device

Country Status (1)

Country Link
JP (1) JP2877603B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7430342B2 (en) 2004-03-29 2008-09-30 Konica Minolta Business Technologies, Inc. Image processing apparatus and image processing program to perform image data resolution conversion
JP2012249172A (en) * 2011-05-30 2012-12-13 Ricoh Co Ltd Image processing apparatus, image processing program and memory medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7430342B2 (en) 2004-03-29 2008-09-30 Konica Minolta Business Technologies, Inc. Image processing apparatus and image processing program to perform image data resolution conversion
JP2012249172A (en) * 2011-05-30 2012-12-13 Ricoh Co Ltd Image processing apparatus, image processing program and memory medium
US9721325B2 (en) 2011-05-30 2017-08-01 Ricoh Company, Ltd. Image processing apparatus, image processing method, and computer-readable recording medium
US10192285B2 (en) 2011-05-30 2019-01-29 Ricoh Company, Ltd. Image processing apparatus, image processing method, and computer-readable recording medium

Also Published As

Publication number Publication date
JP2877603B2 (en) 1999-03-31

Similar Documents

Publication Publication Date Title
ES2324611T3 (en) IMAGE PROCESSING DEVICE, IMAGE FORMATION DEVICE, AND IMAGE TREATMENT PROCEDURE.
JPH11175710A (en) Picture forming device
JP3192561B2 (en) Image processing device
US6678426B1 (en) Programmable mapping of lower resolution digital data to a higher resolution for output on a lower resolution device
JP3311549B2 (en) Magnification control device for image processing device
JP2877603B2 (en) Image processing device
JP2978012B2 (en) Image forming device
JP3124839B2 (en) Image forming device
JP3136024B2 (en) Halftone image processing device
JPH066600A (en) Image forming device
JP3313748B2 (en) Copying apparatus having additional information synthesizing function and additional information synthesizing method
JP2719473B2 (en) Image forming device
JP3031590B2 (en) Halftone image recording device
JP2752018B2 (en) Image forming device
JP2863039B2 (en) Halftone image recording circuit
JP3014877B2 (en) Image processing device
JP3877416B2 (en) Image processing apparatus and image processing method
JP2992167B2 (en) Image forming device
JPH0614180A (en) Image data processor
JPH0683953A (en) Image data processor
JP3625158B2 (en) Image forming apparatus and image forming method
JPH0670166A (en) Image forming device
JP2922736B2 (en) Digital copier
JPH0670161A (en) Image forming device
JPH05183726A (en) Picture processing system

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080122

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090122

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20100122

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20110122

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees