JPS6335071A - Variable power method - Google Patents

Variable power method

Info

Publication number
JPS6335071A
JPS6335071A JP61177657A JP17765786A JPS6335071A JP S6335071 A JPS6335071 A JP S6335071A JP 61177657 A JP61177657 A JP 61177657A JP 17765786 A JP17765786 A JP 17765786A JP S6335071 A JPS6335071 A JP S6335071A
Authority
JP
Japan
Prior art keywords
image
edge information
circuit
data
deterioration
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
JP61177657A
Other languages
Japanese (ja)
Inventor
Katsuhisa Tsuji
辻 勝久
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 JP61177657A priority Critical patent/JPS6335071A/en
Publication of JPS6335071A publication Critical patent/JPS6335071A/en
Pending 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/403Edge-driven scaling; Edge-based scaling

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Image Processing (AREA)

Abstract

PURPOSE:To reserve the information of a detailed part of an image in a state that a halftone reproducibility remains maintained as it is, by detecting whether density information and edge information exist or not by a small block unit, from a binary original image, and switching adaptively a variable power processing method in accordance with the presence and absence of the edge information. CONSTITUTION:As for an image whose density variation is flat, the deterioration of a halftone expressiveness is related to the deterioration of the picture quality as a visual sense, and on the contrary, as for an image containing many edge information, the deterioration of a resolving power is related to the deterioration of the picture quality. Accordingly, by switching these two variable power methods in accordance with the quantity of edge information, the deterioration of the picture quality is reduced. A binary data outputted from a dither processing circuit 2 and a line buffer 7 is inputted to an edge information detecting circuit 8. An area deciding circuit 9 adds the edge information of a 4-line portion, and outputs a select signal 1, when the edge information exceeds 4 picture elements at every 4X4 areas. The result of decision outputted from the area deciding circuit 9 is inputted to a selector 6, and uses as a select signal for switching adaptively variable power images of 2 systems from a dither circuit 3 and a variable power circuit 5.

Description

【発明の詳細な説明】 (技術分野) 面積階調法(デイザ処理)により2値化された画像の処
理方法に関し、特にその変倍方法に関する。
DETAILED DESCRIPTION OF THE INVENTION (Technical Field) The present invention relates to a method of processing an image binarized by area gradation method (dither processing), and particularly to a scaling method thereof.

(従来技術) −iに、レーザープリンタ、感熱転写プリンタ、インク
ジエツI−プリンタ等のドツトプリンタを用いて、写真
のような中間調画像を表現するには、単位面積当たりの
ドツト数を変化させる面積階調法が用いられる。このと
き、階調性、低ノイズ性を考慮すれば、組織的デイザ法
を用いるのが一般的である。
(Prior art) In order to express a half-tone image like a photograph using a dot printer such as a laser printer, thermal transfer printer, or inkjet I-printer, an areal scale that changes the number of dots per unit area is used. A formula is used. At this time, in consideration of gradation and low noise, it is common to use a systematic dither method.

ところで、画像のデジタル化の利点として、データの保
存、伝送、編集等が可能となることが揚げられる。ここ
で、画像データの量について考えると、A4版の原稿を
4QQdpiの密度で、1画素当たり8ビツトの多階調
データとして読み取る場合、約15メガバイトとなる。
Incidentally, an advantage of digitizing images is that data can be stored, transmitted, edited, and the like. Now, considering the amount of image data, if an A4 size original is read as multi-gradation data of 8 bits per pixel at a density of 4QQdpi, it will be about 15 megabytes.

一方、プリンタ出力用に2値化処理をした画像データは
、1画素当たり1ビツトであるから、A41枚当たり、
1.9メガバイトとなる。このように、画像データは一
般に膨大な量となるため、データの保存、伝送を考える
ときは多値データをそのまま取り扱うことは非常にコス
ト高となり、非現実的である。
On the other hand, image data that has been binarized for printer output has 1 bit per pixel, so per A4 sheet,
It becomes 1.9 megabytes. As described above, image data generally has a huge amount, so when considering data storage and transmission, handling multi-level data as is is extremely expensive and unrealistic.

従って、中間調画像データは2値データとして保存され
ることになる。また、画像を編集する場合には保存デー
タに対して、拡大、縮小処理を行いたい時があると思わ
れるが、この・ときには2値画像の変倍処理が必要とな
る。
Therefore, halftone image data is stored as binary data. Furthermore, when editing an image, there may be times when it is desired to perform enlargement or reduction processing on the saved data, and in this case, scaling processing of the binary image is required.

2値画像の拡大、縮小処理に関しては、従来がら種々の
方式が提案されている。
Various methods have been proposed for enlarging and reducing binary images.

例えば、第1図に示す原画像の各ビットデータを縦方向
及び横方向ともに2倍に拡大することにより、第2図に
示すような拡大画像を得る処理方式が知られている。
For example, a processing method is known in which an enlarged image as shown in FIG. 2 is obtained by enlarging each bit data of the original image shown in FIG. 1 twice in both the vertical and horizontal directions.

また、画像の縮小に際しては、例えば第1図に示す原画
像のビットデータを、縦方向および横方向ともに1ビッ
ト置きにサンプリングすることにより、第3図に示すよ
うな1/2縮小画像を得る処理方式が知られている。
When reducing an image, for example, by sampling the bit data of the original image shown in Fig. 1 every other bit in both the vertical and horizontal directions, a 1/2 reduced image as shown in Fig. 3 is obtained. Processing methods are known.

このような方法は、通常の2値画像に適用した場合には
さしたる問題は無いが、デイザ処理した画像に適用した
場合には、デイザパターンが破壊されるため、拡大、到
小後の画質が劣化する恐れがあった。
This method does not pose any major problems when applied to normal binary images, but when applied to dithered images, the dither pattern is destroyed, resulting in poor image quality after enlargement or miniaturization. There was a risk of deterioration.

特開昭61−35070号公報〜35073号公報に開
示された技術では、次の方法により2値画像の変倍処理
を行っている。
In the techniques disclosed in Japanese Unexamined Patent Publication Nos. 61-35070 to 35073, magnification processing of binary images is performed by the following method.

(1)単位領域毎に黒ドツト数を計数し、平均濃度デー
タを得る。
(1) Count the number of black dots for each unit area and obtain average density data.

(2)濃度データ、即ち多値データに対し変倍処理を行
う。
(2) Perform scaling processing on density data, that is, multivalued data.

(3)変倍後の多値画像データをデイザ処理により2イ
直化する。
(3) The multivalued image data after scaling is converted into two-digit data by dither processing.

この方法では、2値データを濃度データに変換し、変倍
処理を行うため中間調表現性は劣化しない。しかし、2
値画像データから濃度(濃淡)情報を得るために、単位
領域のドツト密度(=平均濃度)を検出している。この
方法だけでは単位領域を例えば、4×4 (ドツト*ド
ツト)、読取り密度を400dpi とした場合、10
0ド・ント/インチ=4本/ m m以上の周波数成分
が消えるため特に拡大時においては解像度の低い、いわ
ゆるボケた画像となってしまう。
In this method, binary data is converted to density data and scaling processing is performed, so that the halftone expressivity does not deteriorate. However, 2
In order to obtain density (shade) information from value image data, the dot density (=average density) of a unit area is detected. With this method alone, for example, if the unit area is 4 x 4 (dot * dot) and the reading density is 400 dpi, 10
Since frequency components of 0 dots/inch = 4 lines/mm or more disappear, the image becomes a so-called blurred image with low resolution, especially during enlargement.

(目的) 本発明の目的は、上記従来技術の欠点を解消し、中間調
再現性を維持したまま、特に拡大時においても画像の詳
細部の情報を保存することが出来る変倍方法を提供する
ことにある。
(Objective) The object of the present invention is to provide a magnification change method that eliminates the drawbacks of the above-mentioned prior art and can preserve information on detailed parts of an image, especially during enlargement, while maintaining halftone reproducibility. There is a particular thing.

(構成) 本発明のアルゴリズムは、2値の原画像より、小ブロッ
ク単位に濃度情報およびエツジ情報の有無を検出し、エ
ツジ情報の有無に応じて変倍処理法を適応的に切り換え
るものである。
(Configuration) The algorithm of the present invention detects the presence or absence of density information and edge information in small block units from a binary original image, and adaptively switches the scaling processing method depending on the presence or absence of edge information. .

まず、図面を参照して本発明に用いる変倍アルゴリズム
について説明する。
First, the scaling algorithm used in the present invention will be explained with reference to the drawings.

第4図は、中間調原稿の一部および読取りスキャナーに
よるサンプリングの例を示している。本発明では、中間
調画像中に混在する文字、!#ii郭等のエツジ情報の
保存を目的とするものである。従って、例示した原稿は
中間”1546M域中の文字の一部を想定している。
FIG. 4 shows a part of a halftone original and an example of sampling by a reading scanner. In the present invention, characters mixed in a halftone image, ! The purpose is to save edge information such as #ii. Therefore, the illustrated manuscript assumes some characters in the middle "1546M area."

第5図は、第4図に示した原稿の読取りデー76表して
いる。但し面単のため、階調数は16段〔0(白)〜I
 5  BB> )の場合としている。この多値画像デ
ータを第11図に示すデイザマトリクスを用いて2値化
すると、第8図に示すようになる。原稿と比べるとシャ
ープ名スに欠ける画像となっている。一般にデイザ処理
を行うと、高い空間周波数の成分の伝達が悪く、解像度
の低下が起きる。この解像度の低下を補正するため、例
えば第7図で示したようなディジタルフィルタを用い、
いわゆるエツジ強調処理を施す方法がある。
FIG. 5 shows a reading date 76 of the document shown in FIG. However, since it is single-sided, the number of gradations is 16 steps [0 (white) to I
5BB> ). When this multivalued image data is binarized using the dither matrix shown in FIG. 11, it becomes as shown in FIG. The image lacks sharpness compared to the original. Generally, when dither processing is performed, the transmission of high spatial frequency components is poor, resulting in a decrease in resolution. In order to correct this decrease in resolution, for example, a digital filter as shown in Fig. 7 is used,
There is a method of performing so-called edge enhancement processing.

第6図は、第7図に示すエツジ強調用フィルタを通した
多値画像データである。これを前述と同様、第11図の
デイザマトリクスを用いて2値化処理を行うと、第9図
のようになる。]ソ下の変倍処理では、第9図に示す2
値画像を原画像として用いることにする。
FIG. 6 shows multivalued image data that has been passed through the edge enhancement filter shown in FIG. If this is binarized using the dither matrix shown in FIG. 11 as described above, the result will be as shown in FIG. 9. ] In the scaling process below, the 2
Let us use the value image as the original image.

前述の通り、本発明のアルゴリズムは、2値の原画像よ
り小ブロック単位に4度情報およびエツジ情報の有無を
検出し、エッヂ清掃の有無に応じて変イサ処理法を適応
的に切り換えるものである。
As mentioned above, the algorithm of the present invention detects the presence or absence of 4-degree information and edge information in small blocks from a binary original image, and adaptively switches the variable Isa processing method depending on whether or not edge cleaning is performed. be.

第10図は、4×1領域の平均濃度データを同領域内の
黒ドツトの数を計数することにより求めたものを示して
いる。
FIG. 10 shows average density data for a 4×1 area obtained by counting the number of black dots in the area.

次にエツジ+:1報の検出方法について説明する。Next, a method for detecting Edge+:1 report will be explained.

まず、第10図に示した多値データを、原画像を得るの
に用いたデイザパターン、即ち、第1I図に示すデイザ
マトリクスを用いて2値処理をする。その結果を第12
図に示す。ここで第9図と第12図を比べると、第12
図では平均濃度データを用いているため、原画像から空
間周波数の高い成分が失われているため、エツジ情報の
ないボケた画像になっているのがわかる。従って、第9
図の原画像から第12図のボケ画像を引くことにより、
エツジ情報を抽出することができる。第13図は、こう
して得られたエッヂ情報を示している。ここで○印は記
録(黒ドツト)情報を、X印は非記録(白ドツト)情報
を示している。
First, the multivalued data shown in FIG. 10 is subjected to binary processing using the dither pattern used to obtain the original image, that is, the dither matrix shown in FIG. 1I. The result is the 12th
As shown in the figure. If we compare Figure 9 and Figure 12 here, we can see that
In the figure, since average density data is used, high spatial frequency components are lost from the original image, resulting in a blurred image with no edge information. Therefore, the ninth
By subtracting the blurred image in Figure 12 from the original image in the figure,
Edge information can be extracted. FIG. 13 shows the edge information thus obtained. Here, the circle mark indicates recorded (black dot) information, and the X mark indicates non-recorded (white dot) information.

第9図は、文字等のエツジ情報を有する領域を想定して
いるが、逆に、濃度変化のなだらかな領域について考え
てみる。第14図は、濃度変化のなだらかな領域をスキ
ャナーで読み取った多値データを想定している。この画
像データに、エツジ領域の画像に施したのと同様に、第
7図のディジタルフィルタを通したデータを第15図に
示す。
Although FIG. 9 assumes an area having edge information such as characters, conversely, consider an area where the density changes gradually. FIG. 14 assumes multivalued data obtained by reading a region with a gentle density change using a scanner. FIG. 15 shows data obtained by passing this image data through the digital filter shown in FIG. 7 in the same way as the image of the edge area.

さらに、第11図のデイザパターンを用いて2値化した
画像を第16図に示す。この2値画像を平坦領域の原画
像として用いることにする。先に述べた方法によりエツ
ジ情報を検出する。第17図は平均濃度データであり、
第18図はそのデイザ処理画像である。第16図の原画
像から第18図のボケ画像を引くことにより、第19図
に示すエツジ情報が得られる。
Further, FIG. 16 shows an image binarized using the dither pattern shown in FIG. 11. This binary image will be used as the original image of the flat area. Edge information is detected using the method described above. Figure 17 is the average concentration data,
FIG. 18 is the dithered image. By subtracting the blurred image shown in FIG. 18 from the original image shown in FIG. 16, edge information shown in FIG. 19 is obtained.

ここで第9図および第16図から検出したエツジ情報の
量、即ち、第13図および第19図中の○印または×印
の付いた画素の数を比べると、文字を含む領域では単位
領域(=4X4)当たり、4〜10画素有画素子坦領域
ではO〜2画素である。言い換えれば、平坦領域では原
画像とボケ画像の一致度が良く、文字を含むような領域
では両者の一致度が悪いということである。平坦領域と
は、空間周波数の高い成分が少ない領域であるため、平
均化により失われる情報が少ないため、原画像とボケ画
像が良く一致することが説明できる。
Comparing the amount of edge information detected from FIG. 9 and FIG. 16, that is, the number of pixels marked with ○ or × in FIG. 13 and FIG. (=4×4), there are 0 to 2 pixels in a flat area with 4 to 10 pixels. In other words, the degree of coincidence between the original image and the blurred image is good in flat areas, and the degree of coincidence between the two is poor in areas that include text. A flat area is an area where there are few components with high spatial frequencies, so less information is lost due to averaging, which explains why the original image and the blurred image match well.

現実には濃度の平坦な領域でも、高周波のノイズが含ま
れることがあり、エツジ強調処理を施された場合には一
層この傾向が強くなる。対策としてはエツジ領域かどう
かの判定をする際に、エツジ情報の量に適当な闇値を設
けてやれば良い。
In reality, even areas with flat density may contain high-frequency noise, and this tendency becomes even stronger when edge enhancement processing is performed. As a countermeasure, it is sufficient to set an appropriate dark value for the amount of edge information when determining whether or not it is an edge area.

この例では、エツジ画素が単位領当たり4個以上のとき
エツジ領域とし、3個以下のとき平坦領域であると判断
するようにすれば良い。
In this example, when there are four or more edge pixels per unit area, it is determined that the area is an edge area, and when there are three or less edge pixels, it is determined that the area is a flat area.

次に、2値画像の変倍方法について述べる。Next, a method of scaling a binary image will be described.

第20図は、第9図に示す画像から4×4画素単位の平
均濃度を求め、得られた多値濃度データを2倍に拡大し
た後、第11図のデイザパターンを用いて得られた2値
拡大画像である。同様に第16図の画像を拡大すると、
第21図の画像が得られる。この方法では中間調表現性
はばれているが、第20図をみて分かるとおり、解像度
が著しく低下している。変倍に際し、多項式近似等の補
間法を用いろことにより、若干の改善は可能であるが限
界がある。
FIG. 20 shows the average density in 4×4 pixel units obtained from the image shown in FIG. This is a binary enlarged image. Similarly, if you enlarge the image in Figure 16,
The image shown in FIG. 21 is obtained. Although this method has good halftone expression, as can be seen from FIG. 20, the resolution is significantly reduced. When changing the magnification, some improvement is possible by using an interpolation method such as polynomial approximation, but there is a limit.

第22図および第23図は、それぞれ第9図および第1
6図に示す2値画像を従来技術の項で説明した方法によ
り、単に1画素を2×2画素に拡大した画像である。こ
の変倍法は、エツジ情報がそのまま保存されるため解像
度の優れた方法であるが、デイザパターンが粗くなった
り破壊されることが有るため、中間調表現性は劣ってい
る。
Figures 22 and 23 are similar to Figures 9 and 1, respectively.
This is an image obtained by simply enlarging one pixel of the binary image shown in FIG. 6 to 2×2 pixels using the method described in the prior art section. This scaling method is a method with excellent resolution because edge information is preserved as is, but the dither pattern may become rough or destroyed, resulting in poor halftone expressivity.

ここで画質の劣化について考えると、第16図のような
濃度変化の平坦な画像は、中間調表現性の劣化が視覚的
に画質の劣化につながる。逆に第9図のようなエツジ情
報を多く含む画像では、解像力の低下が画質の劣化につ
ながる。従って、エツジ情報の多少に応じてこれら2つ
の変倍方法を切り換えろことにより、画質の劣化を少な
くすることが可能であることがわかる。
Considering deterioration in image quality here, in an image with flat density changes as shown in FIG. 16, deterioration in halftone expression visually leads to deterioration in image quality. On the other hand, in an image containing a lot of edge information as shown in FIG. 9, a decrease in resolution leads to a deterioration in image quality. Therefore, it can be seen that deterioration in image quality can be reduced by switching between these two scaling methods depending on the amount of edge information.

ところで、この方法では2値の原画像を得るために用い
たデイザパターンのデータおよび画像データとデイザマ
トリクスの位相差の情報が必要である。これは次のよう
にすれば実現できる。この処理で汲われろ2値画像デー
タは、磁気ディスク、磁気テープ、光ディスク等の外部
記tα′装置に保存されているか、通信により伝送され
てくることを前提とし°ζいる。そこで、画像データを
保存、伝送する際には、デイザパターンに関するデータ
をヘッダーとして画像データに付けておくようにすれば
良い。変倍処理を行う際は、処理される画像データのヘ
ッダ一部を解読し、デイザマトリクスのサイズ、闇値、
画像との位相差を得るようにする。このときヘッダーと
して付けるデータとしては、一連のシステム内では幾つ
かの決まったデイザパターンを用いるとすれば、デイザ
パターンの通し番号および位相情報のみで良い。また、
−船釣には、中間調を表現した画像は圧縮効率も悪く、
データ量が非常に大きいことを考えれば、ヘッダーにデ
イザパターンの闇値データ等を全て付けたとしても、大
した負担にはならず、むしろ変倍装置に多数のROM等
のデイザパターンデータ用の記憶装置を節約できる利点
もある。
By the way, this method requires data on the dither pattern used to obtain the binary original image and information on the phase difference between the image data and the dither matrix. This can be accomplished as follows. It is assumed that the binary image data obtained in this process is stored in an external storage device such as a magnetic disk, magnetic tape, or optical disk, or is transmitted via communication. Therefore, when storing and transmitting image data, data regarding the dither pattern may be attached to the image data as a header. When performing scaling processing, a part of the header of the image data to be processed is decoded, and the size of the dither matrix, darkness value, etc.
Try to obtain a phase difference with the image. If several fixed dither patterns are used in a series of systems, the data added as a header at this time may be only the serial number and phase information of the dither patterns. Also,
- For boat fishing, images that express halftones have poor compression efficiency.
Considering that the amount of data is extremely large, even if all the dark value data of the dither pattern is attached to the header, it will not be a big burden, but rather the dither pattern data stored in a large number of ROMs etc. in the variable magnification device. It also has the advantage of saving storage space.

第24図に本発明の方法による変倍処理を行うための画
像処理装置の一例を示す。1は2値データから4×4ブ
ロック単位の平均濃度を検出する回路である。この回路
は、2値データ中の記録画素(黒画素)の数を計数する
ためのROM、4ライン分のデータを加算するための加
算器、加算されたデータを保持するためのRAM等から
なっている。2は濃度データ検出回路1からの濃度デー
タに従いデイザ処理により2値化する回路で、ROMま
たはRAMを用いる。RAMを用いる場合は、原画像の
ヘッダー情趨に従いデイザパターンデータが外部から書
き込まれる。ROM、RAMいずれの場合も、多値濃度
データおよび縦、横アドレスデータでアドレシングする
ことにより、テーブル参照式に2値データを出力するこ
とができる。7はデイザ処理回路2から出力されるボケ
画像の2値データと原画像の2値データの同期をとるた
めのラインバッファである。デイザ処理回路2およびラ
インバッファ7より出力される2値データは、エツジ情
報検出回路8に入力される。これは比較器が用いられ、
2つの2値データの値が一致するときO(非エツジ画素
)、一致しないとき1 (エツジ画素)を出力する。エ
ツジ情報検出回路8の出力は領域判定回路9に入力され
る。領域判定回路9は4ライン分のエツジ情報を加算、
4×4領域ごとにエツジ情報が4画素以上のとき、セレ
クト信号1を出力する。領域判定回路9は、例えば第2
5図に示すように、3ラインバツフア、加算器および領
域判定結果を保持し、後述するデイザ回路3、変倍回路
5から出力される変倍画像データと同期をとるためのラ
インバッファからなる。領域判定回路9から出力される
判定結果は、セレクタ6に入力され、デイザ回路3と変
倍回路5からの2系統の変倍画像を適応的に切り換える
ためのセレクト信号として用いられる。4は濃度データ
を変倍する回路であり、拡大、縮小率に応して補間、間
引き等の処理を行う。変倍回路4で変倍された濃度デー
タは、デイザ回路3により2値化される。デイザ回路3
は、デイザ処理回路2と同様のものであるが、デイザパ
ターンは、2と同じでも異なるものを用いることもでき
る。  5は2(iデータ変倍回路であるが、デイザ回
路3からの2値画像と同期をとるためラインバッファを
有する。デイザ回路3および変倍回路5から出力される
2値画像は、セレクタ6に入力され、前述のごとくエツ
ジ領域か否かを示すセレクト信号によって、エツジ領域
の場合は5、非エツジ領域の場合は3からの画像データ
が選択される。
FIG. 24 shows an example of an image processing apparatus for performing magnification processing according to the method of the present invention. 1 is a circuit that detects the average density in 4×4 block units from binary data. This circuit consists of a ROM for counting the number of recorded pixels (black pixels) in binary data, an adder for adding four lines of data, a RAM for holding the added data, etc. ing. Reference numeral 2 denotes a circuit that binarizes the density data from the density data detection circuit 1 by dither processing, and uses a ROM or RAM. When a RAM is used, dither pattern data is externally written according to the header information of the original image. In both ROM and RAM, binary data can be output in a table-reference manner by addressing with multi-level density data and vertical and horizontal address data. 7 is a line buffer for synchronizing the binary data of the blurred image output from the dither processing circuit 2 and the binary data of the original image. Binary data output from the dither processing circuit 2 and line buffer 7 is input to an edge information detection circuit 8. This uses a comparator,
When the two binary data values match, O (non-edge pixel) is output, and when they do not match, 1 (edge pixel) is output. The output of the edge information detection circuit 8 is input to the area determination circuit 9. The area determination circuit 9 adds edge information for four lines,
When the edge information is 4 or more pixels for each 4×4 area, select signal 1 is output. For example, the area determination circuit 9
As shown in FIG. 5, it consists of a 3-line buffer, an adder, and a line buffer for holding area determination results and synchronizing with variable-scale image data output from a dither circuit 3 and a variable-magnification circuit 5, which will be described later. The determination result output from the area determination circuit 9 is input to the selector 6 and is used as a selection signal for adaptively switching between the two systems of variable magnification images from the dither circuit 3 and the variable magnification circuit 5. Reference numeral 4 denotes a circuit that scales the density data, and performs processing such as interpolation and thinning according to the enlargement and reduction ratio. The density data scaled by the scaling circuit 4 is binarized by the dither circuit 3. Dither circuit 3
is similar to dither processing circuit 2, but the dither pattern may be the same as or different from 2. 5 is a 2(i data scaling circuit), which has a line buffer to synchronize with the binary image from the dither circuit 3. The binary image output from the dither circuit 3 and the scaling circuit 5 is As described above, the image data from 5 is selected in the case of an edge area, and the image data from 3 is selected in the case of a non-edge area, depending on the selection signal indicating whether the area is an edge area or not.

(効果) 以上説明したように、本発明の処理方法により、原画像
に対し領域判定をし、階調性または解像力を優先させる
変倍処理を適応的に切り換えることができるため、視覚
的に、階調性、解像度とも良好な変倍画像を得ることが
できる。
(Effects) As explained above, with the processing method of the present invention, it is possible to perform region determination on the original image and adaptively switch the magnification processing that prioritizes gradation or resolution. A variable magnification image with good gradation and resolution can be obtained.

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

第1図は原画像の各ビットデータを示す図、第2図は第
1図に基づく拡大画像を示す図、第3図は同、縮小画像
を示す図、第4図は中間調原稿の一部を示す図、第5図
はその原稿の読み取りデータを示す図、第6図はエツジ
強調用フィルタを通した多値画像データを示す図、第7
図はディジタルフィルタのパターンを示す図、第8図は
第5図のデータをデイザマトリクスを用いて2値化した
パターンを示す図、第9図は第6図に示すデータをデイ
ザマトリクスを用いて2イ直かしたパターンを示す図、
第10図は小ブロック単位の濃度情報を示す図、第11
図はデイザマトリクスを示す図、第12図は第10図の
多値データをデイザマトリクスを用いて2値化したパタ
ーンを示す図、第13図はエツジ情報を示す図、第14
図は濃度変化のなだらかな領域の多値データを示す図、
第15図はこのデータをディジタルフィルタにかけたデ
ータを示す図、第16図はさらにデイザパターンを用い
て2値化した画像パターンを示す図、第17図は第10
図同様の平均濃度データを示す図、第18図はそのデイ
ザ処理画像を示す図、第19図は第13図同様のエツジ
情報を示す図、第20図、第21図は同種の変倍方法に
よる拡大画像パターンを示す図、第22図、第23図は
それとは異なる共通の変倍方法による拡大画像パターン
を示す図、第24図は変倍処回路の一例を示すブロック
図、第25図はその要部の内部を示すブロック図である
。 第1図 木l     第3図 第2図 第4図     第5図 第6図     第7図 第8図     第9図 第10図       第11図 第12図      第13図 第14図      第15図 第16図      第17図 第18図       第19図 第20図 第21図
Figure 1 is a diagram showing each bit data of the original image, Figure 2 is a diagram showing an enlarged image based on Figure 1, Figure 3 is a diagram showing the same reduced image, and Figure 4 is a diagram of a halftone original. FIG. 5 is a diagram showing the read data of the original, FIG. 6 is a diagram showing multivalued image data passed through an edge enhancement filter, and FIG.
The figure shows a digital filter pattern, Figure 8 shows a pattern obtained by converting the data shown in Figure 5 into a binary format using a dither matrix, and Figure 9 shows the data shown in Figure 6 converted into a binary pattern using a dither matrix. A diagram showing a pattern corrected by using
Figure 10 is a diagram showing density information in small block units;
The figure shows a dither matrix, FIG. 12 shows a pattern obtained by binarizing the multivalued data in FIG. 10 using a dither matrix, FIG. 13 shows edge information, and FIG.
The figure shows multi-value data in a region with a gentle concentration change.
Figure 15 is a diagram showing the data obtained by applying a digital filter to this data, Figure 16 is a diagram showing an image pattern further binarized using a dither pattern, and Figure 17 is a diagram showing the image pattern 10
Figure 18 is a diagram showing the same dithered image; Figure 19 is a diagram showing edge information similar to Figure 13; Figures 20 and 21 are similar to the same magnification method. FIG. 22 and FIG. 23 are diagrams showing enlarged image patterns obtained by a common scaling method different from the above. FIG. 24 is a block diagram showing an example of a scaling processing circuit. FIG. 25 is a block diagram showing the inside of the main part thereof. Figure 1 Tree l Figure 3 Figure 2 Figure 4 Figure 5 Figure 6 Figure 7 Figure 8 Figure 9 Figure 10 Figure 11 Figure 12 Figure 13 Figure 14 Figure 15 Figure 16 Figure 17 Figure 18 Figure 19 Figure 20 Figure 21

Claims (1)

【特許請求の範囲】[Claims] 面積階調法によつて中間調濃度を表す画像に変倍処理を
施す画像処理方法において、2値の原画像より、小ブロ
ック単位に濃度情報及びエッジ情報の有無を検出し、エ
ッジ情報の有無に応じて少なくとも2種類の異なる変倍
手段のいずれかを選択するようにしたことを特徴とする
変倍方法。
In an image processing method that performs scaling processing on an image representing halftone density using the area gradation method, the presence or absence of density information and edge information is detected in small blocks from a binary original image, and the presence or absence of edge information is detected. A magnification changing method characterized in that one of at least two different types of magnification changing means is selected depending on the size of the image.
JP61177657A 1986-07-30 1986-07-30 Variable power method Pending JPS6335071A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61177657A JPS6335071A (en) 1986-07-30 1986-07-30 Variable power method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61177657A JPS6335071A (en) 1986-07-30 1986-07-30 Variable power method

Publications (1)

Publication Number Publication Date
JPS6335071A true JPS6335071A (en) 1988-02-15

Family

ID=16034821

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61177657A Pending JPS6335071A (en) 1986-07-30 1986-07-30 Variable power method

Country Status (1)

Country Link
JP (1) JPS6335071A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04111678A (en) * 1990-08-31 1992-04-13 Canon Inc Picture processing unit
US8144378B2 (en) 2007-12-19 2012-03-27 Ricoh Company, Ltd. Image processing device, image processing method, and computer program product

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04111678A (en) * 1990-08-31 1992-04-13 Canon Inc Picture processing unit
US8144378B2 (en) 2007-12-19 2012-03-27 Ricoh Company, Ltd. Image processing device, image processing method, and computer program product

Similar Documents

Publication Publication Date Title
JP3097785B2 (en) Image processing device
US6373990B1 (en) Image processing utilizing luminance-density conversion
JPH0683365B2 (en) Image processing device
JPH03193472A (en) Highly definite image generating system of image processor
JPS583374A (en) Intermediate tone processing system
JPH04354470A (en) Picture processing method, scanning/printing system for executing said method and picture selector for said scanning/printing system
JPH03248674A (en) Half-tone picture processor
JP3310744B2 (en) Resolution converter
JP4228466B2 (en) Image processing apparatus, image processing method, and computer-readable storage medium storing image processing procedure
JPS6335071A (en) Variable power method
JPH07170391A (en) Picture element density converter
JPH029268A (en) Picture processor
CA2215555C (en) Image processing device
JPH0730752A (en) Image area discriminating device
JP3117331B2 (en) Image data processing device
JP3658273B2 (en) Image processing apparatus and method
JP3679522B2 (en) Image processing method and apparatus
JP3451490B2 (en) Image information processing method
JPH0644800B2 (en) Image processing device
JPH0457274B2 (en)
JPS6374369A (en) Power varying method
JPH06326859A (en) Picture processing unit
JP3146517B2 (en) Image processing device
JP3146516B2 (en) Image processing device
JPS63191475A (en) Image data compressing device