JPH04168878A - Picture smoothing processing system - Google Patents

Picture smoothing processing system

Info

Publication number
JPH04168878A
JPH04168878A JP2296809A JP29680990A JPH04168878A JP H04168878 A JPH04168878 A JP H04168878A JP 2296809 A JP2296809 A JP 2296809A JP 29680990 A JP29680990 A JP 29680990A JP H04168878 A JPH04168878 A JP H04168878A
Authority
JP
Japan
Prior art keywords
main scanning
scanning direction
data
smoothing
circuit
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
JP2296809A
Other languages
Japanese (ja)
Inventor
Michihiko Ota
充彦 太田
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.)
Kyocera Corp
Original Assignee
Kyocera 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 Kyocera Corp filed Critical Kyocera Corp
Priority to JP2296809A priority Critical patent/JPH04168878A/en
Publication of JPH04168878A publication Critical patent/JPH04168878A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To attain smoothing processing in response to the tilt of a slant line without useless preparation of a standard picture element pattern while avoiding complicated circuit constitution by applying individually magnification in the main scanning direction and magnification in the subscanning direction sequentially and applying smoothing processing only at the point of time of the magnification in the subscanning direction to form a final picture. CONSTITUTION:A bit data magnified twice in the main scanning direction is serially inputted to a main scanning reduction circuit 20 from a shift register 15. The data is not subject to interleave processing in the main scanning reduction circuit 20 but stored to a cyclic line buffer circuit 3 as it is serially. A smoothing logic circuit 4 implements smoothing based on a current line data stored in a shift register and main scanning line data information by preceding and succeeding three lines, and a unit division data outputted serially or a serial output from the shift register of the current line is properly selected based on a selection signal from an operation mode register and printed out.

Description

【発明の詳細な説明】 「産業上の利用分野」 本発明は例えばファクシミリ等で読取った送信画像を解
像度を高めてページプリンタで出力する場合の様に、画
素密度を高解像度に変換する場合若しくは画素数を増加
する事により画像拡大を図る場合における画像平滑化処
理方式に関する。
Detailed Description of the Invention "Industrial Application Field" The present invention is applicable to converting pixel density to high resolution, such as when transmitting an image read by a facsimile machine, increasing the resolution, and outputting it on a page printer. The present invention relates to an image smoothing processing method when enlarging an image by increasing the number of pixels.

「従来の技術] 従来よりファクシミリやイメージスキャナにおいては読
取速度の向上と読取コストの低減を図る為に、一般に8
dat(line)/mm程度の画素密度(ノーマルモ
ード)で読取りを行い、これをレーザプリンタその他の
イメージプリンタで出力する際に該プリンタ側の解像度
に合致させるために、前記送信画像の対象となる注目画
素の周囲の画像情報に基づいて例えば2倍の解像度を有
する単位画素を補完する事により、プリンタ側のビデオ
メモリに展開格納されるイメージデータの画素密度を(
16dot/ma+)に拡大して高解像化する構成を取
るが、この様な補間方法では輪郭線が階段状に形成され
、高品質な画質が形成し得ない。
“Conventional technology” Conventionally, facsimile machines and image scanners have generally used 8
It is read at a pixel density (normal mode) of about dat(line)/mm, and when outputting this with a laser printer or other image printer, it becomes the target of the transmission image in order to match the resolution of the printer. By interpolating a unit pixel with, for example, twice the resolution based on the image information surrounding the pixel of interest, the pixel density of the image data expanded and stored in the printer's video memory can be increased (
A configuration is adopted in which the resolution is increased by enlarging the image to 16 dots/ma+), but with such an interpolation method, the contour line is formed in a step-like manner, and a high-quality image cannot be formed.

そこで従来装置においては前記階段状の歪を解消する為
に、輪郭線に対する法線の方向によって単位画素を付加
するか削除するか決定するようにした平滑化法を開発し
ているが、かかる平滑化法は45“の角度をもった斜線
に対しては有効であるが、傾きが主走査方向若しくは副
走査方向に片寄った傾きを有する斜線に対しては平滑化
の効果が少ないという欠点を有す。
Therefore, in conventional devices, in order to eliminate the step-like distortion, a smoothing method has been developed that determines whether to add or delete a unit pixel depending on the direction of the normal to the contour line. Although the smoothing method is effective for diagonal lines with an angle of 45", it has the disadvantage that it has little smoothing effect on diagonal lines whose slope is biased toward the main scanning direction or the sub-scanning direction. vinegar.

かかる欠点を解消する為に、対象となるべき送信画素(
以下注目画素と言う)を主走査方向/副走査方向共に2
倍の解像度を有する2X2の単位画素(ビデオメモリに
展開される画素)に分割するとともに、該単位画素の付
加及び削除の処理内容を、対象とする注目画素及び該注
目画素を取囲む少な(とも主走査方向の5送信画素と副
走査方向の3送信画素の、5X3の送信画素データを参
照して予め定められた標準パターンに従って前記2X2
の単位画素、言換えれば主走査方向と副走査方向の単位
画素を同時に生成する事により斜線の傾きに応じた平滑
化処理を可能とする画像処理方式を提案している。(特
開昭58−114573)「発明が解決しようとする技
術的課題」しかしながら前記処理方式においては主走査
方向と副走査方向の単位画素を同時に生成する為に回路
構成が煩雑化すると共に、((5X3)・(2X2))
の標準画素パターン数を、必要とする拡大倍率に応じた
パターン群だけ用意せねばならず、結果とし該画素パタ
ーン格納メモリが大になる。
In order to eliminate this drawback, the target transmission pixel (
(hereinafter referred to as the pixel of interest) in both the main scanning direction and the sub-scanning direction.
It is divided into 2×2 unit pixels (pixels developed in video memory) with twice the resolution, and the processing content of adding and deleting the unit pixels is divided into the target pixel of interest and the pixels surrounding the pixel of interest. The 2×2 transmission pixel data is 2×2 according to a predetermined standard pattern with reference to 5×3 transmitted pixel data of 5 transmitted pixels in the main scanning direction and 3 transmitted pixels in the sub-scanning direction.
We have proposed an image processing method that enables smoothing processing according to the slope of the diagonal line by simultaneously generating unit pixels in the main scanning direction and sub-scanning direction. (Japanese Unexamined Patent Publication No. 58-114573) "Technical Problems to be Solved by the Invention" However, in the above processing method, since unit pixels in the main scanning direction and sub-scanning direction are generated simultaneously, the circuit configuration becomes complicated and ( (5X3)・(2X2))
It is necessary to prepare only the number of standard pixel patterns corresponding to the required enlargement magnification, and as a result, the memory for storing the pixel patterns becomes large.

又主走査方向と副走査方向の単位画素を同時に生成する
事は、例えばトップマージンやレフトマージンを設定す
る場合に一方を偏倚(長手方向と短手方向の倍率が異な
る事)する事が困難であり、又該偏倚を可能にしようと
するとこれらを可能とする画素パターンを無限に用意し
なければならず、実用的に不可能である。
In addition, it is difficult to generate unit pixels in the main scanning direction and sub-scanning direction at the same time, for example, when setting the top margin or left margin, it is difficult to bias one side (the magnification in the longitudinal direction and the width direction is different). However, if we try to make this deviation possible, we would have to prepare an infinite number of pixel patterns that would make this possible, which is practically impossible.

本発明はかかる従来技術の欠点に鑑み、回路構成の煩雑
化を避けつつ且つ又標準画素パターンを無用に用意する
事なく斜線の傾きに応じた平滑化処理を可能にした平滑
化処理方式を提供する事を目的とする。
In view of the drawbacks of the prior art, the present invention provides a smoothing processing method that makes it possible to perform smoothing processing according to the slope of a diagonal line without complicating the circuit configuration and without needlessly preparing a standard pixel pattern. The purpose is to do.

本発明の他の目的とする所は主走査方向と副走査方向の
拡大倍率を夫々独立して設定した場合にも容易に平滑化
処理を可能にし、これによりトップマージンやレフトマ
ージンを設定する場合の偏倚処理を可能にした平滑化処
理方式を提供する事にある。
Another object of the present invention is to easily perform smoothing processing even when the enlargement magnifications in the main scanning direction and sub-scanning direction are set independently, and thereby when setting the top margin and left margin. The object of the present invention is to provide a smoothing processing method that enables bias processing.

尚、本発明は前記した画素密度の高解像度を図る場合の
みならず画素数を増加する事により画像拡大を図る場合
における画像平滑化処理方式にも適用可能である。
It should be noted that the present invention is applicable not only to the above-mentioned image smoothing processing method for achieving high resolution with a pixel density but also for enlarging an image by increasing the number of pixels.

「課題を解決する為の技術手段」 本発明はかかる技術的課題を達成する為に、前記送信画
像その他の原画像を構成する画素群を前記従来技術の様
に主走査方向と副走査方向に同時に拡大処理と平滑処理
を行う事なく、第1図に示すように主走査方向側では平
滑処理を行うことなく拡大倍率(第1の設定倍率:W)
に応じて注目画素をそのまま単位分割して中間拡大像を
形成した後、 該中間拡大像を所定の拡大倍率(第一若しくは第二の設
定倍率)に応じて副走査方向にのみ単位分割して拡大処
理と同時に後記平滑処理動作にて、該単位分割信号を設
定するものであり、即ち本発明を要約すると主走査拡大
と副走査拡大を順次個別に行うと共に、最終画像を形成
する副走査方向拡大時点でのみ平滑処理を行う点を特徴
とするものである。
"Technical Means for Solving the Problem" In order to achieve the technical problem, the present invention arranges pixel groups constituting the transmitted image and other original images in the main scanning direction and the sub-scanning direction, as in the prior art. Enlargement magnification (first set magnification: W) without performing enlargement processing and smoothing processing at the same time, and without performing smoothing processing on the main scanning direction side, as shown in Figure 1.
After forming an intermediate enlarged image by directly dividing the target pixel into units according to At the same time as the enlargement process, the unit division signal is set in the smoothing operation described later.In other words, to summarize the present invention, main scanning enlargement and sub-scanning enlargement are sequentially and individually performed, and the sub-scanning direction in which the final image is formed is set. This method is characterized in that smoothing processing is performed only at the point of enlargement.

そして前記平滑処理は副走査方向に単位分割すべき注目
画素を含むその周囲の画素群を参照して行うわけである
が、前もって主走査方向に拡大処理を行っているために
、参照すべき画素群は、主/副走査方向に均等に参照す
るのではなく、主走査方向に拡大処理した画素数を考慮
して副走査方向の参照画素数の少なくともW倍(第1の
設定倍率)参照画素数を多くする必要がある。
The smoothing process is performed by referring to the surrounding pixel group including the target pixel to be divided into units in the sub-scanning direction, but since the enlargement process has been performed in the main-scanning direction in advance, the pixel to be referenced The group is not uniformly referenced in the main/sub-scanning directions, but the reference pixels are at least W times (first set magnification) the number of reference pixels in the sub-scanning direction, taking into account the number of pixels enlarged in the main-scanning direction. It is necessary to increase the number.

そこで本発明は副走査方向の参照画素数がn(注目画素
を含めるとn+1画素)の場合に、主走査方向にn+(
m≧Wn+ 1、l11=注目画素を含む)画素のm×
(n+1)画素群を参照して前記注目画素の副走査方向
の単位分割信号を設定することを本発明の第2の特徴と
するものである。
Therefore, in the present invention, when the number of reference pixels in the sub-scanning direction is n (n+1 pixels including the pixel of interest), the number of reference pixels in the main scanning direction is n+(
m≧Wn+ 1, l11 = m× of pixels (including the pixel of interest)
A second feature of the present invention is that the sub-scanning direction unit division signal of the pixel of interest is set with reference to the (n+1) pixel group.

「作用」 かかる技術手段によれば原画像そのままではなく主走査
方向に単位分割して主走査方向に緻密化させた中間画像
について平滑化処理を行い、而もその参照画素群は緻密
化させた単位画素数に対応させて主走査方向にW倍に増
加させているために、円滑な平滑化処理が可能となる。
"Operation" According to this technical means, smoothing processing is performed not on the original image as it is, but on an intermediate image that is divided into units in the main scanning direction and densified in the main scanning direction, and the reference pixel group is densified. Since the number of pixels is increased by a factor of W in the main scanning direction in correspondence with the number of unit pixels, smooth smoothing processing is possible.

又本発明は副走査方向の1軸のみの平滑処理で足りるた
めに回路構成が簡単化すると共に、例えば拡大率が2倍
の場合生成すべき単位画素がXu、XLの2画素の場合
に前記従来技術より平滑化処理を行うために必要な参照
画素数を7×3〜9×3に増やした場合にも[(7x 
3 )x2]若しくは[(9x3)x2]と従来技術[
(5X 3) X (2X 2)コに比較して標準画素
パターンが少なくて済み、又例え参照画素数を11×3
に増やして一層の平滑化を図った場合においても前記従
来技術とほぼ同等の画素パターンで足り、効率的な平滑
化処理が可能となる。
In addition, since the present invention suffices with smoothing processing on only one axis in the sub-scanning direction, the circuit configuration is simplified. [(7x
3)x2] or [(9x3)x2] and the prior art [
(5X 3)
Even when smoothing is attempted by increasing the number of pixels, a pixel pattern substantially the same as that of the prior art is sufficient, and efficient smoothing processing becomes possible.

又主走査方向と副走査方向の単位画素を夫々独立して拡
大処理を行うために、例えばトップマージンやレフトマ
ージンを設定する場合に一方の拡大倍率を変えて容易に
偏倚する事が出来、又偏倚をした場合においても主走査
方向の拡大処理と無関係に副走査方向のみについて平滑
化処理を行えばよいために、必要とする標準画素パター
ンを無用に増やす事なく、偏倚倍率に制限を受ける事な
く円滑に平滑化処理が可能となる。
In addition, since the unit pixels in the main scanning direction and the sub-scanning direction are enlarged independently, for example, when setting the top margin or left margin, it is possible to easily shift the enlargement ratio by changing one of the enlargement magnifications. Even in the case of deviation, smoothing processing only needs to be performed in the sub-scanning direction, regardless of enlargement processing in the main-scanning direction, so the number of required standard pixel patterns is not increased unnecessarily and the deviation magnification is limited. Smooth smoothing processing is possible without any problems.

「実施例」 以下、図面に基づいて本発明の実施例を例示的に詳しく
説明する。但しこの実施例に記載されている構成部品の
寸法、材質、形状、その相対配置などは特に特定的な記
載がない限りは、この発明の範囲をそれのみに限定する
趣旨ではなく単なる説明例に過ぎない。
"Embodiments" Hereinafter, embodiments of the present invention will be described in detail by way of example based on the drawings. However, unless otherwise specified, the dimensions, materials, shapes, and relative positions of the components described in this example are not intended to limit the scope of this invention, but are merely illustrative examples. Not too much.

第2図は本発明の実施例に係る画像処理装置を示す全体
ブロック図で、その構成を画像信号の流れに従って簡単
に説明するに、インタフェース部1はパラレル入力17
Fllとシリアル入力17F12とを有し、これらは例
えばM P U I/FIOよりの信号に基づいて選択
的に切換え可能なセレクタ13を介して主走査拡大レジ
スタと接続させている。
FIG. 2 is an overall block diagram showing an image processing apparatus according to an embodiment of the present invention.The configuration will be briefly explained according to the flow of image signals.The interface unit 1 has a parallel input 17
Fll and a serial input 17F12, which are connected to a main scanning enlargement register via a selector 13 which can be selectively switched based on a signal from, for example, MPU I/FIO.

その構成を第3図に基づいて簡単に説明するに、18は
DMA制御回路14よりの制御信号に基づいて、例えば
後記するシステムメモリ8に格納されたイメージデータ
をデータバスを介して16ビツトづつパラレルに入力さ
れるパラレル1n10utレジスタ、12はファクシミ
リ等の画像読み取り部より読取られたビットデータをシ
リアルに16ビツトづつ入力させるシリアルin/パラ
レルoutレジスタで、該夫々のレジスタ12.18に
入力された16ビツトデータはセレクタ機能を含む論理
回路13により、自動的に主走査方向に2倍に拡大(パ
ラレル複写)され、32ビツトデータとしてシフトレジ
スタ15に入力される。
To briefly explain its configuration based on FIG. 3, the DMA control circuit 18 inputs, for example, image data stored in the system memory 8, which will be described later, in 16-bit increments via a data bus based on a control signal from the DMA control circuit 14. The parallel 1n10ut registers are input in parallel, and 12 is a serial in/parallel out register that serially inputs bit data read from an image reading unit such as a facsimile machine, 16 bits at a time. The 16-bit data is automatically enlarged twice in the main scanning direction (parallel copying) by a logic circuit 13 including a selector function, and inputted to the shift register 15 as 32-bit data.

そして前記主走査方向に拡大されたビットデータは前記
シフトレジスタ15よりシリアルに主走査縮小部20に
入力する。尚、16は前記パラレル複写を制御するため
のデータ制御部である。
The bit data expanded in the main scanning direction is serially input from the shift register 15 to the main scanning reduction section 20. Note that 16 is a data control section for controlling the parallel copying.

主走査縮小部20は本発明の要部でないので簡単に説明
するに、前記インタフェース部1で無条件に2倍に拡大
された32ビツトデータを所定の指定モードにより間引
き、0.25〜1゜0倍の変倍処理を行なう、この結果
前記縮小部20より出力されるビットデータは原画像に
対し2X(0,25〜1.0)即ち0.5〜2.0の変
倍処理が可能となる。
Since the main scanning reduction unit 20 is not an essential part of the present invention, it will be briefly explained.The 32-bit data that has been unconditionally enlarged by 2 times in the interface unit 1 is thinned out by 0.25 to 1° according to a predetermined specified mode. As a result, the bit data output from the reduction unit 20 can be subjected to 2X (0.25 to 1.0), that is, 0.5 to 2.0 scaling processing on the original image. becomes.

そして前記変倍処理されたデータはシリアルにサイクリ
ックラインバッファ回路3に格納される。
The scaled data is serially stored in the cyclic line buffer circuit 3.

サイクリックラインバッファ回路3は第4図に示すよう
に、3主走査ライン分以上の画像データが格納可能な2
KWX 8bitsのメモリ領域を有するRAMメモリ
31を有し、前記縮小部20より出力される変倍データ
をシフトレジスタ32に8ビツトづつシリアル転送した
後、ライトバッファ33を介してRAMメモリ31の指
定アドレス領域に書込まれ、そして前記RAMメモリ3
1内には現ラインデータとともにその前後の3ライン分
の主走査ラインデータが常に格納されることとなる。
As shown in FIG. 4, the cyclic line buffer circuit 3 has two main scanning lines capable of storing image data for three main scanning lines or more.
KWX has a RAM memory 31 having a memory area of 8 bits, and after serially transferring the scaling data output from the reduction unit 20 to the shift register 32 in 8 bits at a time, it is transferred to the specified address of the RAM memory 31 via the write buffer 33. area, and the RAM memory 3
1, main scanning line data for three lines before and after the current line data are always stored together with the current line data.

そして前記RAMメモリ31内に格納された画像データ
は3ライン同時にスムージングロジック回路4側の対応
する夫々のシフトレジスタ41〜43にシリアル転送さ
れる。
The image data stored in the RAM memory 31 is simultaneously serially transferred to the corresponding shift registers 41 to 43 on the smoothing logic circuit 4 side for three lines.

尚図中34はサイクリックラインバッファ制御回路、3
5はRAMメモリ31へのライトアドレス指定レジスタ
、36A、36B、36Cはその読み出し用リードアド
レス指定レジスタ、37はそのリードライトアドレス切
換回路である。
In addition, 34 in the figure is a cyclic line buffer control circuit, 3
5 is a write address designation register for the RAM memory 31; 36A, 36B, and 36C are read address designation registers for reading the same; and 37 is a read/write address switching circuit.

一方5は副走査拡大/縮小回路でサイクリックラインバ
ッファ制御回路34を介してサイクリックラインバッフ
ァ回路3の出力を制御し、その出力。
On the other hand, 5 is a sub-scanning enlarging/reducing circuit which controls the output of the cyclic line buffer circuit 3 via the cyclic line buffer control circuit 34, and its output.

OR出力、スムージングロジック回路4よりの単位分割
された出力Xu、XLを、不図示の動作モードレジスタ
よりの選択信号に基づいて出力切換回路44を介して適
宜選択出力する事により副走査方向の縮小拡大倍率を任
意に設定できる。
Reduction in the sub-scanning direction is achieved by appropriately selecting and outputting the OR output and the unit-divided outputs Xu and XL from the smoothing logic circuit 4 via the output switching circuit 44 based on a selection signal from an operation mode register (not shown). Enlargement magnification can be set arbitrarily.

例えば前記動作モードは、前記サイクリックラインバッ
ファ回路3から出力される画像データをライン単位に繰
返し若しくは間引く事により拡大/縮小を実現するノー
マルモード、前記間引く際に論理和を取るオアモード、
注目画素とその周囲の7X3若しくは11X3ラインの
画素を参照して、所定の標準パターンに従って前記注目
画素を副走査方向に2画素に単位分割するスムージング
モード、又4進カウンタと繰返し出力を組合せ、該カウ
ント値が0、■の場合に現ラインデータをそのまま出力
し、該カウント値が2.3の場合に現ラインデータを繰
返し出力する4/3モード、更に3進カウンタと間引き
モードを組合せ、該カウント値がO12の場合に現ライ
ンデータをそのまま出力し、該カウント値が1の場合に
現ラインデータは出力せずにスキップする2/3モード
を設け、これらのモードを組合せる事により副走査方向
の縮小拡大を0゜5〜4.0倍の範囲で任意に設定でき
るものである。
For example, the operation modes include a normal mode in which enlargement/reduction is realized by repeating or thinning out the image data output from the cyclic line buffer circuit 3 line by line, an OR mode in which logical OR is performed when thinning out the image data,
A smoothing mode that refers to a pixel of interest and pixels in 7×3 or 11×3 lines around it and divides the pixel of interest into two pixels in the sub-scanning direction according to a predetermined standard pattern, and a combination of a quaternary counter and repeated output, When the count value is 0 or ■, the current line data is output as is, and when the count value is 2.3, the current line data is repeatedly output. A 2/3 mode is provided in which when the count value is O12, the current line data is output as is, and when the count value is 1, the current line data is skipped without being output, and by combining these modes, sub-scanning can be performed. The reduction/enlargement in the direction can be arbitrarily set within the range of 0°5 to 4.0 times.

次にスムージングロジック回路4の構成について説明す
るに、スムージングロジック回路4は副走査拡大/縮小
回路5にて拡大処理を行う場合にその斜線部分の段差を
平滑化するために使用される回路で、リードバッファ4
1a〜43aを介して現ラインデータとともにその前後
の3ライン分の主走査ラインデータを8ビツトづつ格納
するシフトレジスタ41〜43で、該シフトレジスタ4
1〜43はスムージングを行う参照画素データに対応さ
せて(8+11)ビットの画像データがレジスト可能に
構成されている。そして前記シフトレジスタ41〜43
に格納されたデータは制御回路47よりの指示に基づい
て11ビツトづつスムージングロジック145Aに、又
7ビツトづつスムージングロジック245Bに夫々パラ
レル入力され、該ロジック45A、 45B内で所定の
平滑処理を行った後、いずれか一方のロジック45A、
 45Bで生成された平滑化データをMPUI/Fより
の選択信号に基づいてスムージング切換回路邸を介して
出力切換回路44@に出力される。
Next, the configuration of the smoothing logic circuit 4 will be explained. The smoothing logic circuit 4 is a circuit used to smooth out the step difference in the shaded area when the sub-scanning enlargement/reduction circuit 5 performs enlargement processing. read buffer 4
Shift registers 41 to 43 store main scanning line data for three lines before and after the current line data in 8 bits each via channels 1a to 43a.
1 to 43 are configured such that (8+11) bits of image data can be registered in correspondence with reference pixel data to be smoothed. and the shift registers 41 to 43
Based on instructions from the control circuit 47, the data stored in the smoothing logic 145A and 7 bits each are input in parallel to the smoothing logic 145A and 7 bits each to the smoothing logic 245B, respectively, and predetermined smoothing processing is performed within the logics 45A and 45B. After that, one of the logic 45A,
The smoothed data generated by 45B is output to the output switching circuit 44 via the smoothing switching circuit based on the selection signal from the MPU I/F.

出力切換回路44では前記スムージング切換回路46よ
りシリアル出力される単位分割データと現ラインのシフ
トレジスタよりシリアル出力とを動作モードレジスタよ
りの選択信号に基づいて適宜選択してプリント出力を行
う。
The output switching circuit 44 appropriately selects the unit divided data serially outputted from the smoothing switching circuit 46 and the serial output from the shift register of the current line based on the selection signal from the operation mode register, and prints out the data.

尚前記拡大若しくは縮小処理後のデータをそのままプリ
ント出力を行う事なく、例えば拡大/縮小若しくはスム
ージング処理のみを行い、紙切れ、親展通話その他の理
由によりプリント出力は後日行いたい場合は前記出力切
換回路44よりのシリアル信号変換回路7Aを介して1
6ビツトパラレル変換を行い、該パラレルデータをパラ
レル出力17F7Bを介してシステムメモリ8に入力す
る。
If the data after the enlargement or reduction processing is not printed out as is, but only the enlargement/reduction processing or smoothing processing is performed, and the printout is to be performed at a later date due to running out of paper, a confidential call, or other reasons, the output switching circuit 44 is used. 1 through the serial signal conversion circuit 7A of
6-bit parallel conversion is performed and the parallel data is input to the system memory 8 via the parallel output 17F7B.

尚6BはLBPよりのエンジン側よりの水平同期信号と
垂直同期信号に基づいてトップマージンとレフトマージ
ンを設定する回路でその偏倚制御信号を副走査拡大/縮
小回路5とスムージングロジック回路に送信する。9は
シリアル入力17Fより取り込まれる原画像データの1
ラインを示すラインネーブル信号生成回路、10はMP
UI/F生成回路である。
Note that 6B is a circuit that sets the top margin and left margin based on the horizontal synchronization signal and vertical synchronization signal from the engine side of the LBP, and transmits the bias control signal to the sub-scanning enlargement/reduction circuit 5 and the smoothing logic circuit. 9 is 1 of the original image data taken in from the serial input 17F
A line enable signal generation circuit indicating a line, 10 is MP
This is a UI/F generation circuit.

つぎに本実施例の動作を本発明との関連において説明す
る。
Next, the operation of this embodiment will be explained in relation to the present invention.

先ず本発明の理解を容易にする為に原画像を主走査方向
に2倍に拡大する場合の動作を説明する。
First, in order to facilitate understanding of the present invention, the operation when an original image is enlarged twice in the main scanning direction will be explained.

ファクシミリ等の画像読み取り部より読取られたビット
データはシリアルin/パラレルoutレジスタ12に
シリアルに16ビツトづつ入力され、そして該レジスタ
12に入力された!6ビツトデータはセレフタ機能を含
む論理回路13により、パラレルに主走査方向に2倍に
拡大され、32ビツトデータとしてシフトレジスタ15
に入力される。
Bit data read by an image reading unit such as a facsimile machine is serially input into the serial in/parallel out register 12 in 16-bit units, and then input into the register 12! The 6-bit data is expanded twice in parallel in the main scanning direction by a logic circuit 13 including a selector function, and then sent to the shift register 15 as 32-bit data.
is input.

そして前記主走査方向に2倍に拡大されたビットデータ
は前記シフトレジスタ15よりシリアルに主走査縮小回
路20に入力する。
The bit data enlarged twice in the main scanning direction is serially input from the shift register 15 to the main scanning reduction circuit 20.

主走査縮小回路20では間引き処理を行う事なくそのま
まシリアルにサイクリックラインバッファ回路3に格納
される。
The main scanning reduction circuit 20 stores the data serially in the cyclic line buffer circuit 3 without performing any thinning processing.

サイクリックラインバッファ回路3では第4図に示すよ
うに、RAMメモリ31内に3主走査ライン分以上の画
像データを格納した後、該画像データは3ライン同時に
スムージングロジック回路4側の対応する夫々のシフト
レジスタ41〜43にシリアル転送する。
In the cyclic line buffer circuit 3, as shown in FIG. 4, after storing image data for three main scanning lines or more in the RAM memory 31, the image data is simultaneously transferred to the corresponding respective lines in the smoothing logic circuit 4. The data is serially transferred to shift registers 41-43.

スムージングロジック回路4ではシフトレジスタ41〜
43に格納された現ラインデータとその前後の3ライン
分の主走査ラインデータ情報を基にスムージングロジッ
ク245Bでは注目画素とその周囲の7X3ラインのデ
ータを基に又スムージングロジック145Aでは11X
、3ラインのデータを基に、下記論理式に基づいて前記
注目画素を副走査方向に2画素に単位分割する。
In the smoothing logic circuit 4, the shift register 41~
Based on the current line data stored in the pixel 43 and the main scanning line data for three lines before and after it, the smoothing logic 245B uses the current line data stored in the pixel of interest and the data of the 7X3 lines around it, and the smoothing logic 145A
, 3 lines of data, the target pixel is divided into two pixels in the sub-scanning direction based on the following logical formula.

QIOQ9  G8  G7  G6  G5  G4
  G3  G2  QI  QOXu= X (酊■
ττり四)+Y (F5+F6+F7+F8)XL−X
(+  +  +  +  +  )+Y(F1+F2
+F3+F4+F7+F8)E1=nコ丁Tl1rA’
l B3 B687 C3(n口V B4 C2+県「
朗88 G4)E2=屈コTIr届B3 B41117
 C7(X7 B6 u C8+X’282 u C6
)E3=84 罰ニア1「a(A6(羽+C3+A2 
訂−)+■]rπC3)E4=U B6 スTr】(A
4(?17+C7+A8 TIF口ff)+■コr届C
7)関=A6 B411!’iAゴτて1皿(830(
罷]「巴+B2+C2) (肩T7+C7)+A7 r
ロア(X’J’11丁’Q+83+C3) (1701
+c8))E6=A4 u B6 り1rs(B7 ?
l’7(屈]「血+88+C8) (fflD+c3)
+A3 丁璽コ(肩]r口+B7+C7) (Ω]トC
2) )B7−A4 A5届B4蔀ヌTて「α(C3+
83 C20)B8−n A5 A6 u B67了r
】(C7+87 ’n C3)F1=WロIB6倶C5
(届(コ+A7+(B2+f7) (?l’ffコ「口
+82 B7)十屈^4A5 Q) F2−8411′nr7C5C6(n [ffl+A3
+(111’l+B8)(ローr口+83 B8] +
A5 A6V]コ) F3−訂u B7 C4C5(It璽諏B6 C3σ「
πB8 C61F4=D B31170117 C5C
6(n B4 u C7+X’2 B2 Ill’! 
C4)F5−A5 A6 A7 B3        
 (A4 B2 π−+A8 B4101)F6−A3
 A4 A5 r訂B73ズ酊口(A6皿B8 ?2+
A2 HB6ス)F7=X’K A611i’?ロIB
64C5(肩=口+口C3)F8−A4 B B4 ’
trT7 C5C6(H’?7+C7りそして前記単位
分割されたデータはスムージング切換回路46を介して
出力切換回路44側に出力され、該出力切換回路44で
前記単位分割データと現ラインのシフトレジスタ42よ
りシリアル出力されたデータを動作モードレジスタより
の選択信号に基づいて適宜選択してビデオメモリ6入側
にシリアル出力し、データ展開を行う。
QIOQ9 G8 G7 G6 G5 G4
G3 G2 QI QOXu=
ττri4)+Y (F5+F6+F7+F8)XL-X
(+ + + + + )+Y(F1+F2
+F3+F4+F7+F8)E1=nkodingTl1rA'
l B3 B687 C3 (n mouth V B4 C2+ prefecture
Ro88 G4) E2 = Kuko TIr Notification B3 B41117
C7(X7 B6 u C8+X'282 u C6
) E3 = 84 Punishment Near 1 ``a (A6 (feather + C3 + A2
Correction-)+■]rπC3)E4=U B6 STr](A
4(?17+C7+A8 TIF mouth ff)+■Cor notification C
7) Seki = A6 B411! 1 dish (830 (
] "Tomoe + B2 + C2) (Shoulder T7 + C7) + A7 r
Lower (X'J'11'Q+83+C3) (1701
+c8))E6=A4 u B6 ri1rs(B7?
l'7 (flex) "Blood+88+C8) (fflD+c3)
+A3 Dong Seiko (Shoulder) r mouth + B7 + C7) (Ω] To C
2) ) B7-A4 A5 notification B4
83 C20) B8-n A5 A6 u B67 completed
](C7+87 'n C3)F1=Wro IB6C5
(Notification (ko+A7+(B2+f7)
+(111'l+B8)(low r mouth+83 B8] +
A5 A6V] ko) F3-revised B7 C4C5 (It seal B6 C3σ
πB8 C61F4=D B31170117 C5C
6(n B4 u C7+X'2 B2 Ill'!
C4) F5-A5 A6 A7 B3
(A4 B2 π-+A8 B4101) F6-A3
A4 A5 r edition B73's drunken mouth (A6 plate B8 ?2+
A2 HB6) F7=X'K A611i'? ro IB
64C5 (shoulder = mouth + mouth C3) F8-A4 B B4'
trT7 C5C6(H'?7+C7) Then, the unit divided data is outputted to the output switching circuit 44 side via the smoothing switching circuit 46, and the output switching circuit 44 outputs the unit divided data and the shift register 42 of the current line. The serially outputted data is appropriately selected based on the selection signal from the operation mode register, and is serially outputted to the input side of the video memory 6 for data expansion.

「効果」 以上記載した如く本発明は、回路構成と論理式の煩雑化
を避けつつ斜線の傾きに応じた平滑化処理を可能にする
"Effects" As described above, the present invention enables smoothing processing according to the slope of the diagonal line while avoiding complication of the circuit configuration and logical formula.

又本発明は主走査方向と副走査方向の拡大倍率を夫々独
立して設定した場合にも容易に平滑化処理を可能にし、
これによりトップマージンやレフトマージンを設定する
場合の偏着処理を可能にする1等の種々の著効を有す。
Furthermore, the present invention enables smoothing processing easily even when the enlargement magnifications in the main scanning direction and the sub-scanning direction are set independently.
This has various effects such as enabling biased distribution processing when setting the top margin and left margin.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の基本構成図、第2図は本発明の実施例
に係る画像処理装置の全体ブロック図、第3図はインタ
フェース部の詳細ブロック図、第4図はサイクリックラ
インバッファ回路とスムージングロジック回路の詳細ブ
ロック図である。
Fig. 1 is a basic configuration diagram of the present invention, Fig. 2 is an overall block diagram of an image processing device according to an embodiment of the present invention, Fig. 3 is a detailed block diagram of the interface section, and Fig. 4 is a cyclic line buffer circuit. FIG. 3 is a detailed block diagram of a smoothing logic circuit.

Claims (1)

【特許請求の範囲】 1)原画像を構成する画素群を第一の設定倍率Wに基づ
いて主走査方向にのみ単位分割して中間拡大像を形成し
た後、該中間拡大像を第一若しくは第二の設定倍率に基
づいて副走査方向にのみ単位分割して最終拡大画像を形
成する際に、単位分割すべき注目画素を含む画素群の内
、副走査方向にn+1画素(n:偶数)、主走査方向に
n(m≧Wn+1、m:奇数)画素のm×(n+1)画
素群を参照して前記注目画素の副走査方向の単位分割信
号を設定して平滑化処理を行なう事を特徴とする画像平
滑化処理方式 2)前記中間拡大像を格納するバッファメモリにサイク
リックバッフアを用いた事を特徴とする請求項1)記載
の画像平滑化処理方式
[Claims] 1) After forming an intermediate enlarged image by dividing the pixel group constituting the original image into units only in the main scanning direction based on the first setting magnification W, the intermediate enlarged image is divided into the first or second enlarged image. When forming a final enlarged image by dividing into units only in the sub-scanning direction based on the second setting magnification, n+1 pixels (n: even number) in the sub-scanning direction among the pixel group including the pixel of interest to be divided into units. , refer to m×(n+1) pixel group of n (m≧Wn+1, m: odd number) pixels in the main scanning direction, set a unit division signal in the sub-scanning direction of the pixel of interest, and perform smoothing processing. 2) Image smoothing processing method according to claim 1, characterized in that a cyclic buffer is used as a buffer memory for storing the intermediate enlarged image.
JP2296809A 1990-10-31 1990-10-31 Picture smoothing processing system Pending JPH04168878A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2296809A JPH04168878A (en) 1990-10-31 1990-10-31 Picture smoothing processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2296809A JPH04168878A (en) 1990-10-31 1990-10-31 Picture smoothing processing system

Publications (1)

Publication Number Publication Date
JPH04168878A true JPH04168878A (en) 1992-06-17

Family

ID=17838429

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2296809A Pending JPH04168878A (en) 1990-10-31 1990-10-31 Picture smoothing processing system

Country Status (1)

Country Link
JP (1) JPH04168878A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0610928A2 (en) * 1993-02-12 1994-08-17 Fuji Xerox Co., Ltd. Image data enlarging/smoothing processor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0610928A2 (en) * 1993-02-12 1994-08-17 Fuji Xerox Co., Ltd. Image data enlarging/smoothing processor
EP0610928A3 (en) * 1993-02-12 1995-01-25 Fuji Xerox Co Ltd Image data enlarging/smoothing processor.
US6091859A (en) * 1993-02-12 2000-07-18 Fuji Xerox Co., Ltd. Image data enlarging/smoothing processor

Similar Documents

Publication Publication Date Title
JPH08331372A (en) Method for performing nonintegral resolution change of imagesignal
KR19980019708A (en) Image magnification random change device and method
US6289137B1 (en) Image processing apparatus and method
JPH07220061A (en) Picture interpolation device
US7053895B2 (en) Image processing apparatus, image processing method, control program and recording medium
JPH05328094A (en) Method and device for picture processing
JP3007001B2 (en) Image processing apparatus and method
JPH04168878A (en) Picture smoothing processing system
JP2014209711A (en) Image processing apparatus, image processing method, and program capable of copying document
JPS5935270A (en) Picture element density converter
JP4863846B2 (en) Color image forming apparatus and color image processing apparatus
JP2005269502A (en) Image processing apparatus and image processing method
JP2955300B2 (en) Image processing method and apparatus
JP3785295B2 (en) Image processing device
JPH05219360A (en) Picture processor
JP3698196B2 (en) Image processing apparatus and image input apparatus
JP2903175B2 (en) Image processing device
JP2002290716A (en) Image processing device
JP2993618B2 (en) Image processing method
JP2001053959A (en) Magnifying device for image data
JPH06325137A (en) Image processing system
JPH02214378A (en) Picture processing unit
JP2002271615A (en) Image processing unit and imaging device
JPH10327316A (en) Image processing unit
JP2000196868A (en) Image processor