JPH01117568A - Binary picture magnification and reduction device - Google Patents

Binary picture magnification and reduction device

Info

Publication number
JPH01117568A
JPH01117568A JP62275275A JP27527587A JPH01117568A JP H01117568 A JPH01117568 A JP H01117568A JP 62275275 A JP62275275 A JP 62275275A JP 27527587 A JP27527587 A JP 27527587A JP H01117568 A JPH01117568 A JP H01117568A
Authority
JP
Japan
Prior art keywords
transforming
magnification
converted pixel
lattice
pixel
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
JP62275275A
Other languages
Japanese (ja)
Inventor
Toru Takahara
徹 高原
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP62275275A priority Critical patent/JPH01117568A/en
Publication of JPH01117568A publication Critical patent/JPH01117568A/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

Landscapes

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

Abstract

PURPOSE:To obtain an excellent transformed picture with less missing of black information independently of the quantity of the transforming rate by applying transformation by the projection method when the transforming magnification is large and applying the transforming by the logical OR method when the transforming magnification is small. CONSTITUTION:In giving an original picture 11 to a coordinate transforming section 1, a coordinate transforming section 1 outputs a color signal 12 of four points original picture elements a, b, c, d around the transforming picture element (x) and a coordinate 13 of the transforming picture element (x) in response to a magnification signal 17 outputted by a control section 5. An OR arithmetic section 2 outputs a chrominance signal 14 of the transforming picture element (x) based on the OR method from the chrominance signal 12 of the original picture elements a, b, c, d. A projection method arithmetic section 3 uses the chrominance signal 12 of the original picture elements a, b, c, d and the coordinate 13 of the transforming picture element (x) to output a chrominance signal 15 of the transforming picture element (x) based on the projection method. The control section 5 compares the magnification T with a threshold level T and selects the output of the selector 4 from the result.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ファクシミリ装置に利用する。本発明は、二
値画像の拡大縮小回路に利用する。特に、座標変換によ
る拡大縮小回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention is applied to a facsimile machine. INDUSTRIAL APPLICATION This invention is utilized for the enlargement/reduction circuit of a binary image. In particular, it relates to an enlargement/reduction circuit using coordinate transformation.

〔概要〕〔overview〕

本発明は、二次元二値画像を拡大縮小する手段において
、 変換倍率が大きいときは投影法で変換を行い、変換倍率
が小さいときは論理和法で変換を行うことにより、 黒画素の消失を防止しかつ良好な変換画像を得ることが
できるようにしたものである。
The present invention is a means for enlarging/reducing a two-dimensional binary image, in which the conversion is performed using a projection method when the conversion magnification is large, and the conversion is performed using the logical sum method when the conversion magnification is small, thereby preventing the disappearance of black pixels. This makes it possible to prevent this problem and obtain a good converted image.

〔従来の技術〕[Conventional technology]

座標変換による二値画像の拡大縮小に関する従来の技術
としては論理和法と投影法とがある。第2図は座標変換
の説明図である。丸印は原画像の画素の中心の行列であ
り、隣接する画素間の距離はlである。ここで倍率0.
75の縮小を行うときに新たな変換画素の行列は三角印
で表され、格子間隔は1.33である。
Conventional techniques for enlarging/reducing binary images by coordinate transformation include the logical sum method and the projection method. FIG. 2 is an explanatory diagram of coordinate transformation. The circles are the matrix of the centers of the pixels of the original image, and the distance between adjacent pixels is l. Here, the magnification is 0.
When performing the reduction by 75, the new matrix of converted pixels is represented by triangles, and the grid spacing is 1.33.

さて、論理和法では、新たな変換画素Xの白黒は周囲4
点の原画素a、bSc、dの白黒にょっで決定される。
Now, in the logical sum method, the black and white of the new converted pixel X is the surrounding 4
It is determined by the black and white colors of the original pixels a, bSc, and d.

すなわち、原画素aSbSCSdのうち1つでも黒であ
れば新たな変換画素Xを黒に決定する。第3図は投影法
の説明図である。直線AおよびBは原画素a、b、c、
dによって構成される四角形abcdを4等分する十字
線である。すなわち、直線Aは線分adと線分bcを等
分し、直線Bは線分abと線分cdを等分する。
That is, if even one of the original pixels aSbSCSd is black, the new converted pixel X is determined to be black. FIG. 3 is an explanatory diagram of the projection method. Straight lines A and B are original pixels a, b, c,
This is a crosshair that divides the rectangle abcd formed by d into four equal parts. That is, straight line A equally divides line segment ad and line segment bc, and straight line B equally divides line segment ab and line segment cd.

四角形りは変換画素Xの原座標への投影領域であり、変
換画素Xは四角形りの中心である。変換倍率は0.75
(−−)であるので、四角形りの一辺の長さはその逆数
すなわち1.33(=−)である。領域a′、b′、α
′、d′は四角形りを直線AおよびBで分割した四角形
である。ここで、α、β、T1δをそれぞれの原画素a
、b、cSdの画素濃度(黒=1、白=0)とし、α′
、β′、γ′、δ′を領域a′、b′、α′、d′のそ
れぞれの面積とすると、変換画素Xの変換濃度Xは次式
で表される。
The rectangle is a projection area of the converted pixel X to the original coordinates, and the converted pixel X is the center of the rectangle. Conversion magnification is 0.75
(--), the length of one side of the rectangle is its reciprocal, ie, 1.33 (=-). Area a', b', α
', d' are quadrilaterals divided by straight lines A and B. Here, α, β, and T1δ are each original pixel a
, b, cSd pixel density (black = 1, white = 0), and α'
, β', γ', and δ' are the areas of regions a', b', α', and d', respectively, then the converted density X of the converted pixel X is expressed by the following equation.

ただし、F:倍率、0≦X≦1とする。However, F: magnification, 0≦X≦1.

この変換濃度Xがあらかじめ定められたスレッショルド
レベルTH(0<TH< 1人を上回るときは変換画素
Xを黒に決定し、下回るときは白に決定する。
When this conversion density X exceeds a predetermined threshold level TH (0<TH<1 person), the conversion pixel X is determined to be black, and when it is below, it is determined to be white.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかし、論理和法は、変換により情報としての黒画素が
消失することは少ないが、画が全体としてつぶれぎみに
なる欠点があり、一方、投影法は、全体的に光学的変換
に近く良好な変換画像を得られるが、変換倍率が小さい
ときすなわち縮小のときに黒画素の消失により情報が失
われやすい欠点がある。
However, although the disjunction method rarely loses black pixels as information during conversion, it has the disadvantage that the image as a whole becomes blurred, whereas the projection method is close to optical conversion and is good overall. Although a converted image can be obtained, there is a drawback that information is easily lost due to the disappearance of black pixels when the conversion magnification is small, that is, during reduction.

本発明はこのような欠点を除去するもので、黒画素の消
失を防ぐ一方良好な変換画像が得られる二値画像拡大縮
小装置を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention aims to eliminate such drawbacks and to provide a binary image enlarging/reducing device that can prevent black pixels from disappearing and at the same time provide a good converted image.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、二次元二値の原画像に対する拡大または縮小
倍率の逆数に比例する値を格子間隔とする格子の格子点
に位置する画素を変換画素とし、この変換画素をその領
域内に含み倍率を「1」とする格子間隔の格子の四つの
格子点で形成される四角形を十字線で分割した四つの領
域の面積の割合で重み付けされた四つの格子点に位置す
る原画像の画素の濃度値の平均値をこの変換画素の濃度
値とし、この濃度値と閾値とを比較してこの変換画素の
黒白を決定する第一手段を備えた二値画像拡大縮小装置
において、倍率「1」を格子間隔とする格子の四つの格
子点に位置する原画像の画素の黒白に応じてこの四つの
格子点で定まる領域内に位置する変換画素の黒白を決定
する第二手段と、上記第一手段の出力信号または上記第
二手段の出力信号のいずれかを拡大または縮小倍率に応
じて選択するセレクタとを備えたことを特徴とする。
In the present invention, pixels located at the lattice points of a lattice whose lattice spacing is a value proportional to the reciprocal of the enlargement or reduction magnification for a two-dimensional binary original image are converted pixels, and this converted pixel is included in the area and the magnification is The density of the pixel of the original image located at the four grid points weighted by the area ratio of the four regions obtained by dividing the rectangle formed by the four grid points of the grid with the grid spacing set to "1" by cross lines. In a binary image enlarging/reducing device having a first means for determining the black and white of this converted pixel by determining the black and white of this converted pixel by determining the average value of the values as the density value of this converted pixel and comparing this density value with a threshold value, a magnification of "1" is used. a second means for determining the blackness and whiteness of a converted pixel located within an area defined by the four grid points according to the blackness and whiteness of pixels of the original image located at four grid points of a grid having a grid interval, and the first means described above; or the output signal of the second means according to the enlargement or reduction magnification.

〔作用〕[Effect]

倍率が一定値を上回るときは、投影法による演算で変換
画素の黒白を決定し、一方、下回るときは論理和法によ
る演算で変換画素の黒白を決定する。これにより投影法
による縮小時の黒画素の消失を防止しかつ投影法による
良好な変換画像が拡大時に得られる。
When the magnification exceeds a certain value, the black and white of the converted pixel is determined by calculations using the projection method, while when it is below, the black and white of the converted pixel is determined by calculations using the logical sum method. This prevents the disappearance of black pixels during reduction by the projection method, and provides a good converted image by the projection method during enlargement.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面に基づき説明する。第1
図はこの実施例の構成を示すブロック構成図である。
Hereinafter, one embodiment of the present invention will be described based on the drawings. 1st
The figure is a block configuration diagram showing the configuration of this embodiment.

この実施例は、第1図に示すように、二次元二値の原画
像に対する拡大または縮小倍率の逆数に比例する値を格
子間隔とする格子の格子点に位置する画素を変換画素と
し、この変換画素をその領域内に含み倍率を「1」とす
る格子間隔の格子の四つの格子点で形成される四角形を
十字線で分割した四つの領域の面積の割合で重み付けさ
れた四つの格子点に位置する原画像の画素の濃度値の平
均値をこの変換画素の濃度値とし、この濃度値と閾値と
を比較してこの変換画素の黒白を決定する第一手段であ
る投影法演算部3と、倍率「1」を格子間隔とする格子
の四つの格子点に位置する原画像の画素の黒白に応じて
この四つの格子点で定まる領域内に位置する変換画素の
黒白を決定する第二手段である論理和演算部2と、上記
第一手段の出力信号または上記第二手段の出力信号のい
ずれかを拡大または縮小倍率に応じて選択するセレクタ
4とを備える。
In this embodiment, as shown in FIG. 1, pixels located at grid points of a grid whose grid spacing is a value proportional to the reciprocal of the enlargement or reduction magnification for a two-dimensional binary original image are used as conversion pixels. Four lattice points weighted by the area ratio of four regions obtained by dividing a rectangle formed by four lattice points of a lattice with a lattice interval with a magnification of "1" into four regions with cross lines, including the converted pixel in that region. The projection method calculation unit 3 is a first means for determining the black and white of this converted pixel by determining the average value of the density values of pixels of the original image located at , as the density value of this converted pixel, and comparing this density value with a threshold value. and a second method that determines the blackness and whiteness of the converted pixels located within the area defined by these four lattice points according to the blackness and whiteness of the pixels of the original image located at the four lattice points of the lattice whose lattice spacing is a magnification of "1". It is provided with a logical sum calculation unit 2 which is a means, and a selector 4 which selects either the output signal of the first means or the output signal of the second means according to the enlargement or reduction magnification.

さて、原画像11は座標変換部1に入力される。Now, the original image 11 is input to the coordinate transformation section 1.

座標変換部1は制御部5が出力する倍率信号17に応じ
て変換画素Xの座標13と変換画素Xの周囲4点の原画
素aSb、’ c、dの色信号12を出力する。
The coordinate conversion unit 1 outputs the coordinates 13 of the converted pixel X and the color signals 12 of four original pixels aSb, 'c, and d around the converted pixel X in accordance with the magnification signal 17 outputted by the control unit 5.

論理和演算部2は原画素a、b、c、dの色信号12よ
り論理和法に基づき変換画素Xの色信号14を出力する
。投影法演算部3は、原画素aSbSc。
The logical sum calculation unit 2 outputs the color signal 14 of the converted pixel X based on the logical sum method from the color signals 12 of the original pixels a, b, c, and d. The projection method calculation unit 3 calculates the original pixel aSbSc.

dの色信号12と変換画素Xの座標13により投影法に
基づき変換画素Xの色信号15を出力する。制御部5は
変換倍率rとスレッショルドレベルTとを比較し、その
結果でセレクタ4の出力を選択する。
A color signal 15 of the converted pixel X is output based on the projection method using the color signal 12 of d and the coordinates 13 of the converted pixel X. The control unit 5 compares the conversion magnification r and the threshold level T, and selects the output of the selector 4 based on the comparison result.

すなわち、r≧Tのときセレクタ4は信号線15を出力
し、r<Tのとき信号線14を出力する。
That is, when r≧T, the selector 4 outputs the signal line 15, and when r<T, the selector 4 outputs the signal line 14.

〔発明の効果〕〔Effect of the invention〕

本発明は以上説明したように、変換倍率が大きいときに
はく拡大方向)投影法による変換を行い、変換倍率が小
さいときに(縮小方向)論理和法による変換を行うので
、変換率の大小によらず良好で黒情報の消失の少ない変
換画像が得られる効果がある。
As explained above, in the present invention, when the conversion magnification is large, the conversion is performed using the projection method (in the direction of enlargement), and when the conversion magnification is small, the conversion is performed using the disjunctive method (in the direction of reduction). This has the effect of obtaining a converted image with good quality and less loss of black information.

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

第1図は本発明実施例の構成を示すブロック構成図。 第2図は論理和法の動作を示す説明図。 第3図は投影法の動作を示す説明図。 1・・・座標変換部、2・・・論理和演算部、3・・・
投影法演算部、4・・・セレクタ、5・・・制御部。 特許出願人 日本電気株式会社1.−1−代理人  弁
理士 井 出 直 孝 実麺例の構べ 第 1 回 φ           6 0i   0   i。 一−−−宋−−−−−−−−−−−−−一穴−−−−−
−−−−−−−−−−−−人ミーーーーーーーーーーー
ー々辷−請埋jFo志 肩 2 回 A ■ 投影法 肩 3 巳
FIG. 1 is a block configuration diagram showing the configuration of an embodiment of the present invention. FIG. 2 is an explanatory diagram showing the operation of the logical sum method. FIG. 3 is an explanatory diagram showing the operation of the projection method. 1... Coordinate transformation section, 2... Logical OR operation section, 3...
Projection calculation unit, 4...Selector, 5...Control unit. Patent applicant: NEC Corporation 1. -1- Agent Patent Attorney Nao Ide Takami Noodles Example 1st φ 6 0i 0i. 1---Song dynasty------------One hole------
−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−

Claims (1)

【特許請求の範囲】[Claims] (1)二次元二値の原画像に対する拡大または縮小倍率
の逆数に比例する値を格子間隔とする格子の格子点に位
置する画素を変換画素とし、この変換画素をその領域内
に含み倍率を「1」とする格子間隔の格子の四つの格子
点で形成される四角形を十字線で分割した四つの領域の
面積の割合で重み付けされた四つの格子点に位置する原
画像の画素の濃度値の平均値をこの変換画素の濃度値と
し、この濃度値と閾値とを比較してこの変換画素の黒白
を決定する第一手段(3)を備えた二値画像拡大縮小装
置において、 倍率「1」を格子間隔とする格子の四つの格子点に位置
する原画像の画素の黒白に応じてこの四つの格子点で定
まる領域内に位置する変換画素の黒白を決定する第二手
段(2)と、 上記第一手段の出力信号または上記第二手段の出力信号
のいずれかを拡大または縮小倍率に応じて選択するセレ
クタ(4)と を備えたことを特徴とする二値画像拡大縮小装置。
(1) A pixel located at a lattice point of a lattice whose lattice spacing is a value proportional to the reciprocal of the enlargement or reduction magnification for a two-dimensional binary original image is a converted pixel, and this converted pixel is included in the area and the magnification is The density value of the pixel of the original image located at the four grid points weighted by the area ratio of the four regions obtained by dividing the rectangle formed by the four grid points of the grid with a grid interval of "1" by cross lines. In a binary image enlarging/reducing device comprising a first means (3) for determining the black and white of this converted pixel by determining the black and white of this converted pixel by determining the average value of this converted pixel as the density value and comparing this density value with a threshold value, a second means (2) for determining the blackness and whiteness of a converted pixel located within an area defined by these four lattice points according to the blackness and whiteness of pixels of the original image located at four lattice points of a lattice whose lattice spacing is ``; A binary image enlarging/reducing device comprising: a selector (4) for selecting either the output signal of the first means or the output signal of the second means according to an enlargement or reduction magnification.
JP62275275A 1987-10-30 1987-10-30 Binary picture magnification and reduction device Pending JPH01117568A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62275275A JPH01117568A (en) 1987-10-30 1987-10-30 Binary picture magnification and reduction device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62275275A JPH01117568A (en) 1987-10-30 1987-10-30 Binary picture magnification and reduction device

Publications (1)

Publication Number Publication Date
JPH01117568A true JPH01117568A (en) 1989-05-10

Family

ID=17553155

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62275275A Pending JPH01117568A (en) 1987-10-30 1987-10-30 Binary picture magnification and reduction device

Country Status (1)

Country Link
JP (1) JPH01117568A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02308378A (en) * 1989-05-24 1990-12-21 Toshiba Corp Discreted density conversion method for discreted multilevel signal
JPH0311880A (en) * 1989-06-09 1991-01-21 Canon Inc Picture element density converter
US5491769A (en) * 1992-06-11 1996-02-13 International Business Machines Corporation Method and apparatus for variable minification of an image
US6360029B1 (en) 1992-06-11 2002-03-19 International Business Machines Corporation Method and apparatus for variable magnification of an image
JP2009294031A (en) * 2008-06-04 2009-12-17 Kansai Electric Power Co Inc:The Waveform recording device, and control method of waveform recording device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02308378A (en) * 1989-05-24 1990-12-21 Toshiba Corp Discreted density conversion method for discreted multilevel signal
JPH0311880A (en) * 1989-06-09 1991-01-21 Canon Inc Picture element density converter
US5491769A (en) * 1992-06-11 1996-02-13 International Business Machines Corporation Method and apparatus for variable minification of an image
US6360029B1 (en) 1992-06-11 2002-03-19 International Business Machines Corporation Method and apparatus for variable magnification of an image
JP2009294031A (en) * 2008-06-04 2009-12-17 Kansai Electric Power Co Inc:The Waveform recording device, and control method of waveform recording device

Similar Documents

Publication Publication Date Title
US5021876A (en) Image processing apparatus with real-time texture processing
EP0677820B1 (en) Magnifying digital image using edge mapping
EP0650287B1 (en) Image processing method and apparatus
US5170443A (en) Image processor for processing source pixel intensity values
US6115078A (en) Image sharpness processing method and apparatus, and a storage medium storing a program
US5491769A (en) Method and apparatus for variable minification of an image
JP3830304B2 (en) Interpolation method and apparatus
JPH01117568A (en) Binary picture magnification and reduction device
JP2001014454A (en) Picture processor
US8358836B2 (en) Specific color detection applicator
US5502642A (en) HSL neighborhoods in CMY color space
JP2920635B2 (en) Image processing device
JP4067538B2 (en) Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium
JP2601265B2 (en) Color correction method
US20030112255A1 (en) Method to upscale single-pixel wide text without loss of image sharpness
JPH0814843B2 (en) Color conversion method and color conversion device
TWI830484B (en) A method for driving a color electrophortic display having a plurality of display pixels in an array, and an electrophortic display configured to carry out the method
JPH0383177A (en) Dither image enlargement system
TW202414377A (en) A method for driving a color electrophoretic display having a plurality of display pixels in an array, and an electrophoretic display configured to carry out the method
JPH02192363A (en) Method for converting image data of dot image
EP0439714A2 (en) Anti-aliasing method for graphic display
JPH02112077A (en) Dot area separating system
JP2891318B2 (en) How to create a bitmap font
JPS58108867A (en) Picture converter
JPS63282886A (en) Graphic processor

Legal Events

Date Code Title Description
A02 Decision of refusal

Effective date: 20040127

Free format text: JAPANESE INTERMEDIATE CODE: A02