JPH0263268A - Method and apparatus for reducing picture - Google Patents
Method and apparatus for reducing pictureInfo
- Publication number
- JPH0263268A JPH0263268A JP63213673A JP21367388A JPH0263268A JP H0263268 A JPH0263268 A JP H0263268A JP 63213673 A JP63213673 A JP 63213673A JP 21367388 A JP21367388 A JP 21367388A JP H0263268 A JPH0263268 A JP H0263268A
- Authority
- JP
- Japan
- Prior art keywords
- converted
- pixel
- converted pixel
- density
- pixels
- 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
Links
Landscapes
- Editing Of Facsimile Originals (AREA)
- Image Processing (AREA)
Abstract
Description
【発明の詳細な説明】
(目次)
概要
産業上の利用分野
技術の背景(第12.13.14図)
従来の技術(第11.14図)
発明が解決しようとする課題(第1,2図)課題を解決
するための手段(第1,2図)作用(第1,2図)
実施例(第3〜10図)
発明の効果
〔概要〕
被変換画素が配列された平面上に、縮小率に応じて分割
領域を設定し、当該平面上に投影された変換画素が位置
する分割領域に対応する論理式に従い近傍被変換画素の
濃度から各変換画素の濃度を決定する画素縮小装置及び
方法に関し、細線の消失をしないように変換を行う画像
縮小装置及び方法を提供することを目的とし、前記平面
上に設定され、縮小率に基づいて定められる区分領域の
うち前記変換画素が位置する区分領域を順次指定し、区
分領域に基づいて変換画素の近傍に位置する所定の被変
換画素群の濃度データを順次入力し、区分領域及び縮小
率に基づいて被変換画素群の中から縮小により間引かれ
る細線上の間引き対象画素を検知する為に必要な間引き
データを発生し、縮小率に基づいて変換画素が位置する
分割領域を判定し、間引きデータ、分割領域、被変換画
素の濃度データ及び区分領域に基づいて間引き対象か否
かを検知して変換画素の濃度を算出する構成である。[Detailed description of the invention] (Table of contents) Overview Background of the industrial application field technology (Figures 12, 13, and 14) Prior art (Figures 11 and 14) Problems to be solved by the invention (Figures 1 and 2) Figure) Means for solving the problem (Figures 1 and 2) Effect (Figures 1 and 2) Example (Figures 3 to 10) Effects of the invention [Summary] On a plane on which pixels to be converted are arranged, A pixel reduction device that sets divided regions according to a reduction ratio and determines the density of each converted pixel from the density of neighboring converted pixels according to a logical formula corresponding to the divided region in which the converted pixels projected on the plane are located; Regarding the method, the object is to provide an image reduction device and method that performs conversion so that thin lines do not disappear, and the converted pixel is located in a segmented area set on the plane and determined based on the reduction rate. Sequentially specify the segmented areas, sequentially input the density data of a predetermined group of converted pixels located near the converted pixel based on the segmented area, and perform reduction from among the group of converted pixels based on the segmented area and the reduction rate. Generates the thinning data necessary to detect thinning target pixels on the thin line to be thinned out, determines the divided area where the converted pixel is located based on the reduction ratio, and generates the thinned data, divided area, and density data of the converted pixel. The density of the converted pixel is calculated by detecting whether or not the converted pixel is to be thinned out based on the segmented area.
本発明は、G4ファクシミリから03フアクシミリへの
変換にみられるような高密度から低密度への画素解像度
変換、又は画像編集処理における画像縮小装置及び方法
に係り、特に被変換画素が配列された平面上に、希望す
る縮小率に応じて分割領域を設定し、当該平面上に投影
された変換画素が位置する分割領域に対応する論理式に
従い近傍被変換画素の濃度から各変換画素の濃度を決定
する画素縮小装置及び方法に関する。The present invention relates to an image reduction device and method in pixel resolution conversion from high density to low density, such as in conversion from G4 facsimile to 03 facsimile, or image editing processing, and in particular to a plane on which pixels to be converted are arranged. Set the divided areas above according to the desired reduction ratio, and determine the density of each converted pixel from the density of neighboring converted pixels according to the logical formula corresponding to the divided area where the converted pixels projected on the plane are located. The present invention relates to a pixel reduction device and method.
従来、画像の縮小を行う場合にS P C(Selec
tive Processing Conversio
n)法、論理和法、九分割法、高速投影法(特開昭58
−97958)等が提案されており、いずれも変換画素
の近傍の被変換画素4画素から変換画素の濃度を求める
方法である。Conventionally, when reducing an image, SPC (Select
tive Processing Conversio
n) method, disjunction method, nine-part method, high-speed projection method
-97958) and the like have been proposed, all of which are methods for determining the density of a converted pixel from four converted pixels in the vicinity of the converted pixel.
S2O法では、縮小時に画像が細る傾向にあり、白、黒
画素の抜け(欠落)が目立つ。In the S2O method, the image tends to become thinner when reduced, and missing white and black pixels are noticeable.
また、論理和法、九分割法では画像が太り、黒画素によ
る潰れが増える欠点を持っている。Furthermore, the logical sum method and the nine-division method have the disadvantage that the image becomes thicker and the black pixels increase.
一方、高速投影法は白、黒画素の抜けや潰れが少ない方
法として知られている。高速投影法とは、変換画素の濃
度を決定する際の算術演算を論理演算に替えて高速処理
を実現したものである。On the other hand, the high-speed projection method is known as a method that causes less omission and collapse of white and black pixels. The high-speed projection method realizes high-speed processing by replacing arithmetic operations with logical operations when determining the density of converted pixels.
高速投影法は、第14図に示すように被変換画素の平面
内に変換倍率に応じた分割領域を設定し、当該分割領域
内に被変換画素から変換画素の濃度を決定する為の論理
式を予め用意し、当該変換が位置する前記分割領域に割
り当てられた論理式に基づいて変換画素の濃度を求めよ
うとしていた。In the high-speed projection method, as shown in Fig. 14, a divided area is set in the plane of the converted pixel according to the conversion magnification, and a logical formula is used to determine the density of the converted pixel from the converted pixel within the divided area. was prepared in advance, and the density of the converted pixel was to be determined based on the logical formula assigned to the divided area where the conversion is located.
第12図に投影法の原理を示す。同図に示すように先ず
所定の変換画素の近傍4画素A、B。FIG. 12 shows the principle of the projection method. As shown in the figure, first, four pixels A and B near a predetermined converted pixel.
C,Dを含む被変換画素を4等分する。近傍4画素の画
素濃度をI、、1.、IC,I。とじ、変換画素Rを被
変換画素面に投影した際に前記4等分領域に投影される
面積比率をWA、Wa、Wc、Wnとする。Divide the pixels to be converted including C and D into four equal parts. Let the pixel densities of four neighboring pixels be I, , 1. , I.C., I. When the converted pixel R is projected onto the pixel surface to be converted, the area ratios projected onto the four equally divided areas are expressed as WA, Wa, Wc, and Wn.
投影法では、変換画素Rの濃度をIR=Σif* w。In the projection method, the density of the converted pixel R is IR=Σif*w.
i*A、B、C,Dとして二値化するのでIR≧0.5
→ IR−1(黒’) 、 1.<0.5→ IR
=0(白)
のようになる。尚、第12図中のp、qはX軸、Y軸方
向の変換縮小倍率である。Since it is binarized as i*A, B, C, D, IR≧0.5
→ IR-1 (black'), 1. <0.5→IR
=0 (white). Note that p and q in FIG. 12 are conversion/reduction magnifications in the X-axis and Y-axis directions.
更に当該投影法では変換画素Rの濃度を求めるのに算術
が必要な為、高速処理が出来ない。そこで、高速投影法
では、その算術演算を論理演算に置き変えて高速化を図
っている。第13図の曲線は4画素中の1画素のみで変
換画素Rの濃度が決定できる境界を示している。例えば
、G3と07を分ける曲線は次式で与えられる。Furthermore, since this projection method requires arithmetic to determine the density of the converted pixel R, high-speed processing is not possible. Therefore, in the high-speed projection method, the arithmetic operations are replaced with logical operations to increase the speed. The curve in FIG. 13 shows a boundary where the density of the converted pixel R can be determined by only one pixel among the four pixels. For example, the curve that separates G3 and 07 is given by the following equation.
(p X +0.5 ) (q Y +0.5 )
= 0.5従って、表1に示すように領域G□〜Gうで
は1画素のみ、領域G、〜G8では他の3画素との結合
を考慮した論理式となっている。(p X +0.5) (q Y +0.5)
= 0.5 Therefore, as shown in Table 1, the logical expression takes into consideration only one pixel in the regions G□ to G, and the combination with the other three pixels in the regions G and G8.
表1.高速投影法の論理式
〔従来の技術〕
従来以上の高速投影法を用いて画像の縮小を行う場合に
は、第11図に示すように変換画素の近傍に位置する被
変換画素群の各濃度データを順次入力する被変換画素入
力手段21と、希望する縮小率に基づいて変換画素がど
の領域に属するかを判定する分割領域判定手段24と、
被変換画素人古手段21が入力した前記被変換画素群の
濃度データ及び各変換画素が属する分割領域に基づいて
変換画素の濃度を算出する変換画素濃度算出手段25と
を有する画像縮小装置を用いて画像の縮小を行っていた
。Table 1. Logical formula for high-speed projection method [Prior art] When reducing an image using a higher-speed projection method than conventional technology, each density of a group of converted pixels located near a converted pixel is calculated as shown in FIG. Converted pixel input means 21 that sequentially inputs data; divided area determination means 24 that determines to which area the converted pixel belongs based on a desired reduction rate;
An image reduction device is used, which has a converted pixel density calculation means 25 that calculates the density of the converted pixel based on the density data of the group of converted pixels inputted by the converted pixel group 21 and the divided area to which each converted pixel belongs. The image was reduced.
ところで、spc法や高速投影法等の従来方法による画
像縮小装置では、縮小時において、X軸方向に対して垂
直な線幅1/p (pはX軸方向の縮小率)未満の縦
線、Y軸方向に対して垂直な線幅1/q(qはY軸方向
の縮小率)未満の横線を消失する問題を有していた。By the way, in image reduction apparatuses using conventional methods such as the SPC method and the high-speed projection method, during reduction, vertical lines with a line width perpendicular to the X-axis direction of less than 1/p (p is the reduction ratio in the X-axis direction), There has been a problem in which horizontal lines with a line width of less than 1/q (q is the reduction ratio in the Y-axis direction) perpendicular to the Y-axis direction disappear.
第14図にX軸、Y軸共に273に縮小する場合の被変
換画素と変換画素との位置関係を示す。被変換画素Si
t〜S33に対して変換画素R11゜R1□、R20,
R22が位置する領域は各々G5゜G6.G、、G8と
なる。従って、変換画素R11の値は表4の論理式、即
ちAt(B+C+D)十Bt C木りから“0″となる
。以下、変換画素R,2,R2,、R2□についても同
様に“0°′となる為、被変換画素S1□→S2□→S
32又はS21→S2□→S23に線幅1の白黒パター
ンが現れた場合に、変換画素には上記の細線パターンが
表現されずに間引かれた形となるという問題点を有して
いた。FIG. 14 shows the positional relationship between the pixel to be converted and the pixel to be converted when reducing the size to 273 on both the X and Y axes. Converted pixel Si
For t~S33, the converted pixel R11°R1□, R20,
The regions where R22 is located are G5°G6. G,, G8. Therefore, the value of the converted pixel R11 becomes "0" from the logical formula in Table 4, that is, At(B+C+D)+BtC. Hereinafter, since the converted pixels R, 2, R2, and R2□ are also "0°', the converted pixels S1□→S2□→S
32 or S21→S2□→S23, when a black and white pattern with a line width of 1 appears, the above-mentioned thin line pattern is not expressed in the converted pixel, but becomes a thinned out form.
また、高速投影法では、領域分割において四等分割の他
に式■を境界とする分割を行わなければならず、乗算3
回、加算2回、比較1回の演算を必要とし、回路規模が
大きくなる欠点をもっていた。In addition, in the high-speed projection method, in addition to quadrangulating the area, it is necessary to divide the area using the formula
This method requires two additions, two additions, and one comparison, and has the drawback of increasing the circuit scale.
本発明は以上の問題点を解決することを技術的課題とす
るものであり、領域分割を簡単にするとともに縮小率に
応じて間引きの対象となる(細線消失の可能性のある)
被変換画素を検知して、細線を再現する画像縮小装置及
び方法を提供することを目的としたものである。The technical objective of the present invention is to solve the above-mentioned problems, and it simplifies area division and is subject to thinning according to the reduction ratio (there is a possibility of thin lines disappearing).
It is an object of the present invention to provide an image reduction device and method that detects pixels to be converted and reproduces thin lines.
(課題を解決するだめの手段)
本発明は以上の技術的課題を解決するため、第一の発明
は第1図に示すように、被変換画素が配列された平面上
に、希望する縮小率に応じて分割領域を設定し、当該平
面上に投影された変換画素か位置する分割領域に対応す
る論理式に従い近傍被変換画素の濃度から各変換画素の
濃度を決定する画素縮小装置において、
前記平面上に設定され、縮小率に基づいて定められる区
分領域のうち前記変換画素が位置する区分領域を順次指
定する区分領域指定手段2と、当該区分領域に基づいて
変換画素の近傍に位置する所定の被変換画素群の濃度デ
ータを順次入力する被変換画素入力手段1と、前記区分
領域及び縮小率に基づいて被変換画素群の中から縮小に
より間引かれる細線上の間引き対象画素を検知する為に
必要な間引きデータの発生を行う間引きデータ発生手段
3と、前記縮小率に基づいて変換画素が位置する分割領
域を判定する分割領域判定手段4と、間引きデータ、分
割領域、被変換画素の濃度データ及び区分領域に基づい
て間引き対象か否かを検知して変換画素の濃度を算出す
る変換画素濃度算出手段5とを有するものである。(Means for Solving the Problems) In order to solve the above-mentioned technical problems, the present invention has a first aspect of the present invention, as shown in FIG. In the pixel reduction device, the density of each converted pixel is determined from the density of neighboring pixels to be converted according to a logical formula corresponding to the divided area in which the converted pixel projected on the plane is located. a segmented area specifying means 2 for sequentially specifying a segmented area in which the converted pixel is located among segmented areas set on a plane and determined based on a reduction ratio; and a predetermined area located near the converted pixel based on the segmented area. a pixel input means 1 to be converted which sequentially inputs density data of a group of pixels to be converted; and a pixel to be thinned out on a thin line to be thinned out by reduction from among the group of pixels to be converted based on the segmented area and the reduction rate. A thinning data generating means 3 generates the thinning data necessary for the reduction, a divided area determining means 4 determines the divided area in which the converted pixel is located based on the reduction ratio, and a divided area determining means 4 generates the thinned data, divided area, and converted pixel. The converted pixel density calculation means 5 calculates the density of the converted pixel by detecting whether or not the converted pixel is to be thinned out based on the density data and the segmented area.
第二の発明は第2図に示すように、被変換画素が配列さ
れた平面上に、希望する縮小率に応じて分割領域を設定
し、当該平面上に投影された変換画素が位置する分割領
域に対応する論理式に従い近傍被変換画素の濃度から各
変換画素の濃度を決定する画素縮小方法において、
前記平面上に設定され、縮小率に基づいて定められる区
分領域のうち前記変換画素が位置する区分領域を順次指
定するとともに、当該区分領域に基づいて変換画素の近
傍に位置する所定の被変換画素群の濃度データを順次入
力する過程(S1)と、前記区分領域及び縮小率に基づ
いて被変換画素群の中から縮小により間引かれる細線上
の間引き対象画素を検知する為に必要な間引きデータを
発生する過程(S2)と、前記縮小率に基づいて変換画
素が位置する分割領域を判定する過程(S3)と、間引
きデータ、分割領域、被変換画素の濃度データ及び区分
領域に基づいて間引き対象か否かを検知して変換画素の
濃度を算出する過程(S4)とを有するものである。As shown in FIG. 2, the second invention is to set divided areas according to a desired reduction ratio on a plane on which pixels to be converted are arranged, and to divide areas in which converted pixels projected onto the plane are located. In a pixel reduction method that determines the density of each converted pixel from the density of neighboring pixels to be converted according to a logical formula corresponding to the area, the converted pixel is located in a segmented area set on the plane and determined based on a reduction rate. a step (S1) of sequentially specifying segmented areas to be converted and sequentially inputting density data of a predetermined group of converted pixels located in the vicinity of the converted pixel based on the segmented area; A process (S2) of generating thinning data necessary for detecting thinning target pixels on a thin line thinned out by reduction from among a group of converted pixels, and determining a divided area in which converted pixels are located based on the reduction rate. A process of determining (S3), and a process (S4) of calculating the density of the converted pixel by detecting whether or not it is a thinning target based on the thinning data, the divided area, the density data of the converted pixel, and the divided area. It is.
本発明の詳細な説明する。本発明により画像の縮小を行
なう場合には、現時点で濃度を定めようとする対象であ
る変換画素に対して、ステップS1において前記区分領
域指定手段2により縮小率(変換倍率)に基づいて被変
換画素の平面上に設定された区分領域のどれに変換画素
が位置するかを指定するとともに、変換画素の近傍に位
置する所定の被変換画素群の濃度データを順次被変換画
素入力手段1により入力する。The present invention will be described in detail. When reducing an image according to the present invention, in step S1, the divided area specifying means 2 selects the converted pixel whose density is to be determined based on the reduction ratio (conversion magnification). In addition to specifying which of the segmented areas set on the pixel plane the converted pixel is located, the density data of a predetermined group of converted pixels located in the vicinity of the converted pixel is sequentially input using the converted pixel input means 1. do.
ここで、区分領域の指定を行うのは、後の細線パターン
検出処理に当たって、被変換画素群の中から必要な参照
画素だけを選択して、検出処理を行う際に必要とされる
被変換画素数の減少を図るためである。Here, the purpose of specifying the segmented area is to select only the necessary reference pixels from the group of converted pixels in the subsequent thin line pattern detection process, and select the converted pixels that are required when performing the detection process. This is to reduce the number of
ここで、「所定の」とは当該変換画素の濃度を定める際
に影響を与える被変換画素群であって、区分領域の指定
結果を利用することにより当該被変換画素群の個数が制
限され、処理が簡単化されることになる。Here, "predetermined" is a group of converted pixels that affects the density of the converted pixel, and the number of the converted pixel group is limited by using the designation result of the segmented area, Processing will be simplified.
尚、ステップS1の被変換画素の入力の過程と区分領域
の指定の過程とは必ずしもこの順序に限られるものでは
なく、先に当該被変換画素入力手段1へ入力が行われた
後に、前記区分領域指定手段2により区分領域の指定が
行われ、当該区分領域に基づいて前記入力手段1から限
定された被変換画素が変換画素濃度算出手段5へ送出さ
れるようにしても良い。Note that the process of inputting the converted pixel and the process of specifying the segmented area in step S1 are not necessarily limited to this order. The area specifying means 2 may specify a divided area, and the input means 1 may send limited pixels to be converted to the converted pixel density calculating means 5 based on the specified area.
ステップS2において、間引きデータ発生手段3は前記
区分領域及び縮小率に基づいて前記被変換画素が間引き
対象画素であるか否かを検知する為に必要な間引きデー
タを発生させる。In step S2, the thinning data generating means 3 generates thinning data necessary for detecting whether or not the pixel to be converted is a pixel to be thinned out based on the segmented area and the reduction rate.
その際、当該区分領域についても間引きデータの一部と
して含める。At that time, the segmented area is also included as part of the thinning data.
ここで、「間引き対象画素」とは被変換画素が前記縮小
重分の一未満の線幅を持つ細線(黒又は白画素が線状に
連続的に配列されたもの)を形成する場合に、従来のs
pc法や高速投影法によって縮小変換の際に消去されて
しまう被変換画素のことであり、間引きデータとは当該
被変換画素が間引き対象画素であるか否かの判断を行う
為に必要なデータであって、本来前記縮小率に基づいて
定められる。これはある被変換画素が間引かれるか否か
は、隣接する変換画素位置より定められるものであり、
当該変換画素位置は始点の座標を定めた後は、希望する
縮小率によって一義的に定めることができるからである
。Here, "pixel to be thinned out" means that the pixel to be converted forms a thin line (black or white pixels arranged continuously in a line) having a line width less than one of the reduction weight. conventional s
Pixels to be converted are erased during reduction conversion using the PC method or high-speed projection method, and thinning data is the data necessary to determine whether or not the pixel to be converted is a pixel to be thinned out. It is originally determined based on the reduction rate. This means that whether or not a certain pixel to be converted is thinned out is determined by the position of the adjacent converted pixel.
This is because, after determining the coordinates of the starting point, the converted pixel position can be uniquely determined based on the desired reduction ratio.
本発明では当該間引きデータを発生させる際に区分領域
を考慮に入れることにより間引きデータの発生を容易に
している。In the present invention, the generation of thinned data is facilitated by taking into account the divided areas when generating the thinned data.
ステップS3ては、分割領域判定手段4は前記縮小率に
基づいて現時点の変換画素がどの分割領域に位置するか
を判断する。In step S3, the divided area determining means 4 determines in which divided area the current converted pixel is located based on the reduction ratio.
もし、実施例で示すように当該分割領域を前記区分領域
と同一の境界により分割したものとすると、分割領域の
判定が区分領域と同じ条件(論理)で行われることにな
り、判定がより容易なものになる。If the divided area is divided by the same boundary as the divided area as shown in the example, the divided area will be judged under the same conditions (logic) as the divided area, making the judgment easier. Become something.
さらに、ステップS4では、変換画素濃度算出手段5に
より前記間引きデータ、判定された当該変換画素が位置
する分割領域及び前記被変換画素群の濃度データに基づ
いて変換画素の濃度を算出することになり、以上の手順
は各変換画素毎に繰り返される。Further, in step S4, the converted pixel density calculation means 5 calculates the density of the converted pixel based on the thinned-out data, the divided area in which the determined converted pixel is located, and the density data of the converted pixel group. , the above procedure is repeated for each converted pixel.
すなわち、ステップS4では、前記間引きデータにより
前記変換画素内に間引き対象画素が存在すると判断され
た場合であっても、前記被変換画素群の濃度データから
当該間引き対象の画素が細線を形成しない場合には従来
と同様の方法で変換画素の濃度を決定するが、当該被変
換画素群の濃度データから縮小により間引かれることに
なる当該細線を消去させない為に、当該細線パターンを
変換画素の濃度に再現できるようにし、前記被変換画素
が間引き対象でない場合、又は間引き対象であっても細
線を形成しない場合には従来の方法に従って変換画素の
濃度を出力させるようにする。That is, in step S4, even if it is determined based on the thinning data that a pixel to be thinned out exists among the converted pixels, if the pixel to be thinned out does not form a thin line based on the density data of the group of converted pixels. The density of the converted pixel is determined using the same method as before, but in order to avoid erasing the thin line that would be thinned out due to reduction from the density data of the converted pixel group, the thin line pattern is determined by the density of the converted pixel. If the pixel to be converted is not to be thinned out, or if it is to be thinned out but does not form a thin line, the density of the converted pixel is output according to a conventional method.
本発明による実施例について説明する。 Examples according to the present invention will be described.
実施例に係る画像縮小装置を第3図に示す。FIG. 3 shows an image reduction device according to an embodiment.
本装置はX軸及びY軸方向に細線消失を防止しながら画
像の縮小を行う装置であって、縮小率として1<p、q
≦1/2に対応するものである。This device is a device that reduces the image while preventing thin lines from disappearing in the X-axis and Y-axis directions, and the reduction ratio is 1<p, q.
This corresponds to ≦1/2.
尚、pはX軸方向の縮小率、qはY軸方向の縮小率であ
る。Note that p is the reduction rate in the X-axis direction, and q is the reduction rate in the Y-axis direction.
本装置は被変換画素平面内に現時点の変換画素を投影さ
せた場合に当該変換画素の近傍に位置する被変換画素群
の各濃度データを順次入力する被変換画素入力手段11
と、原画像の被変換画素の濃度データが格納されている
二次元画像メモリ10とを有する。This device includes a converted pixel input means 11 which sequentially inputs each density data of a group of converted pixels located in the vicinity of the converted pixel when the current converted pixel is projected onto the converted pixel plane.
and a two-dimensional image memory 10 in which density data of pixels to be converted of the original image are stored.
さらに当該二次元画像メモリ10に対するアクセス制御
、前記被変換画素入力手段11に対する制御、前記区分
領域指定手段2、前記分割領域判定手段4及び前記間引
きデータ発生手段3として現時点の変換画素の位置情報
から区分領域の指定、分割領域の判定並びに間引きデー
タを発生させる制御部12と、前記被変換画素濃度算出
手段5としての変換画素濃度決定用論理回路15とを有
する。Furthermore, access control to the two-dimensional image memory 10, control to the converted pixel input means 11, the divided area specifying means 2, the divided area determining means 4, and the thinning data generating means 3 are performed based on the current position information of the converted pixels. It has a control section 12 that specifies a divided area, determines a divided area, and generates thinned-out data, and a logic circuit 15 for determining a converted pixel density as the converted pixel density calculation means 5.
被変換画素入力手段11は第3図に示すように、6個の
シフトレジスタlla〜llfを有している。シフトレ
ジスタlla、llbは第1ライン目に存在する被変換
画素を保持するものである。同様に、シフトレジスタl
lc、lidは第2ライン目、シフトレジスタ11e、
シフトレジスタllfは第3ライン目に存在する被変換
画素を保持するものである。As shown in FIG. 3, the converted pixel input means 11 has six shift registers lla to llf. The shift registers lla and llb hold the pixels to be converted existing in the first line. Similarly, shift register l
lc, lid are on the second line, shift register 11e,
The shift register llf holds the pixel to be converted existing on the third line.
前記制御部12は希望するX軸方向及びY軸方向に関す
る縮小率p、qに基づいて現時点での変換画素が属する
前記分割領域の判定を行うと共に、当該変換画素の近傍
に位置する各被変換画素に間引き対象があるか否かを検
出する為に必要な間引きデータ発生及び現時点の変換画
素が位置する前記各区分領域の指定をするものである。The control unit 12 determines the divided area to which the current converted pixel belongs based on the desired reduction ratios p and q in the X-axis direction and the Y-axis direction, and also determines the divided area to which the current converted pixel belongs, as well as each converted area located near the converted pixel. It generates the thinning data necessary to detect whether or not a pixel is to be thinned out, and specifies each of the divided areas where the current converted pixel is located.
ここで、間引きデータとは第4図に示すように、X軸方
向に関しては直前の変換画素R1oの被変換画像平面内
での座標位置X。>0.0 、現時点の変換画素R1□
の座標位置X□>0.0 、次の変換画素R□2の座標
位置x2>0.0という条件を満たしているか否か及び
前記変換画素R工。からR1□に移行する際に通過する
被変換画素の数xshifto、変換画素R□、からR
1□に移行する際に通過する被変換画素の数xshif
tlの値を表示する1ビツト又は2ビツトのデータであ
り、Y軸方向に関しては直前の変換画素R旧の被変換画
像平面内での座標位置y。〉0.0.現時点の変換画素
R工、の座標位置y工〉0.01次の変換画素R2□の
座標位置y2>o、oという条件を満たしているか否か
及び前記変換画素Ro工からR□1に移行する際に通過
する被変換画素の数ysiftO,変換画素R11から
R2□に移行する際に通過する被変換画素の数ysif
t01の値を表示するデータである。Here, as shown in FIG. 4, the thinned-out data is the coordinate position X of the immediately preceding converted pixel R1o within the converted image plane in the X-axis direction. >0.0, current converted pixel R1□
Whether or not the following conditions are satisfied: the coordinate position X□>0.0 of the next converted pixel R□2, and the coordinate position x2>0.0 of the next converted pixel R□2, and the converted pixel R process. The number of converted pixels that pass when moving from to R1□xshifto, converted pixels R□, to R
1 Number of pixels to be converted that pass when transitioning to □xshif
This is 1-bit or 2-bit data that indicates the value of tl, and in the Y-axis direction, it is the coordinate position y of the previous converted pixel R in the converted image plane. 〉0.0. Whether or not the following conditions are satisfied: Coordinate position y of the current converted pixel R〉0.01 Coordinate position y2 of the next converted pixel R2〉o, o, and transition from the converted pixel Ro to R□1 The number of converted pixels passing through when moving from converted pixel R11 to R2□ ysif
This is data that displays the value of t01.
更に、本実施例においては前記区分領域として、現時点
の変換画素を囲む4個の被変換画素が形成する正方形の
領域を4個の正方形に四等分したもの(以下「四区分領
域」という)を使用し、前記変換画素がどの領域に位置
するかのデータをも間引きデータとして使用する。Furthermore, in this embodiment, the divided area is a square area formed by four converted pixels surrounding the current converted pixel, which is divided into four squares (hereinafter referred to as "four divided area"). , and data indicating in which area the converted pixel is located is also used as thinning data.
尚、区分領域の指定を行うようにしたのは参照する被変
換画素の数をあまり増やさずに間引き対象の細線パター
ンを検知する為である。The purpose of specifying the divided areas is to detect the thin line pattern to be thinned out without significantly increasing the number of converted pixels to be referred to.
即ち第5図、第6図に示すように変換画素が領域g工+
g 4に位置する場合にはn 、n+1. n+2ラ
イン目のデータで足り、変換画素が領域g2.g3に位
置する場合にはn−1,n 、n+1ライン目のデータ
を読み出すことで間引き対象のデータを検知することが
できる。That is, as shown in FIGS. 5 and 6, the converted pixels are in the area g
If it is located at g4, then n, n+1. The n+2nd line data is sufficient, and the converted pixels are in the area g2. When located at g3, the data to be thinned out can be detected by reading out the data on the n-1, n, and n+1 lines.
言い変えれば、変換画素が区分領域g1.gsに位置す
る場合、画素A、B、C,D、E、F。In other words, the converted pixels are in the segmented area g1. If located at gs, pixels A, B, C, D, E, F.
I、J、L、にの10画素を参照し、変換画素が区分領
域gt 、g3に位置する場合、画素A。Referring to the 10 pixels of I, J, and L, if the converted pixel is located in the segmented areas gt and g3, the pixel A.
B、C,D、E、F、G、H,I、Jの10画素が参照
される。Ten pixels B, C, D, E, F, G, H, I, and J are referenced.
以上のように、四区分領域の情報を利用して参照画素を
限定した形での間引き対象となる細線パターンを第7図
に示す。縮小率1>p、q≧1/2に対応した細線パタ
ーンであり、線幅1のパターンが対象となる。また、第
7図の細線パターンは、表2の間引き検知条件に従って
間引き対象となるか否かを決定する。次に前記条件と被
変換画素の濃度及び前記分割領域に基づいて現時点の変
換画素の濃度を算出する。As described above, FIG. 7 shows a thin line pattern to be thinned out in a manner in which the reference pixels are limited using the information of the four divided regions. This is a thin line pattern corresponding to a reduction ratio of 1>p and q≧1/2, and a pattern with a line width of 1 is targeted. Furthermore, whether or not the thin line pattern in FIG. 7 is to be thinned out is determined according to the thinning detection conditions in Table 2. Next, the current density of the converted pixel is calculated based on the conditions, the density of the pixel to be converted, and the divided area.
表2−1.1>p、q≧l/
表2−2.1>p、Q≧1/2の場合の間引き対象の被
変換画素検知条件本実施例では分割領域を第8図に示す
ように、第4図の区分領域と同じ四区分領域を適用する
。Table 2-1.1>p, q≧l/Table 2-2.1>p, Q≧1/2 Detection conditions for pixels to be thinned out When p, Q≧1/2 In this example, the divided areas are shown in FIG. As shown in FIG. 4, the same four-part area as shown in FIG. 4 is applied.
すなわち、g□→G1 g2→Gz、g3→G3.g<
→G4この事により、区分領域指定、分割領域判定、間
引きデータ発生(一部分)が四区分領域の条件で全て実
現でき、大幅な処理の簡略化ができる。That is, g□→G1 g2→Gz, g3→G3. g<
→G4 As a result, division area designation, division area determination, and thinning data generation (partially) can all be realized under the conditions of four division areas, and processing can be greatly simplified.
前記変換画素濃度決定用論理回路15は前記制御部12
で判定された分割領域及び前記被変換画素入力手段11
が入力した被変換画素の濃度に基づいて変換画素の濃度
を表3、表4に示すような論理式を使用することにより
算出する。表3は従来のSpC法に本発明を適用したも
の、表4は高速投影法(表1)の05〜G8に対して本
発明を適用したものである。(表4を適用することによ
り、縮小率が1から離れるに従って、処理がより簡単な
形で高速投影法と同じ変換画素が得られる。)
表31本実施例に係る論理式1
(1>p、q≧1/2の場合)
(t>p、Q≧1/2の場合)
Pl・Yl車(パターンNo、I):第7図の細線パタ
ーン1に対応P2−Yl求(パターンNo、2) :
ffs 7 U2の細線パターン2に対応P3−X+喧
パターンNo、3);第7図の細線パターン3に対応P
4・×1京(パターンNo、4);第7図の細線パター
ン4に対応Yに表2の条件より、パターンNo、 l
、 2が対象となる場合=1.他=OX1+表2の条件
より、パターンNo、3.4が対象となる場合=1.他
;0さて、本実施例に係る装置の動作について説明する
。The converted pixel density determination logic circuit 15 is connected to the control section 12.
The divided regions determined in and the converted pixel input means 11
The density of the converted pixel is calculated based on the density of the converted pixel input by using the logical formulas shown in Tables 3 and 4. Table 3 shows the results obtained by applying the present invention to the conventional SpC method, and Table 4 shows the results obtained by applying the present invention to 05 to G8 of the high-speed projection method (Table 1). (By applying Table 4, as the reduction ratio moves away from 1, the same converted pixels as in the fast projection method can be obtained in a simpler form.) Table 31 Logical formula 1 according to this embodiment (1>p , when q≧1/2) (when t>p, Q≧1/2) Pl/Yl wheel (pattern No., I): Corresponds to thin line pattern 1 in Fig. 7 P2-Yl search (pattern No., 2) :
ffs 7 Corresponds to thin line pattern 2 of U2 P3-X+Kin pattern No., 3); Corresponds to thin line pattern 3 of Fig. 7 P
4.×1 quintillion (pattern No. 4); Corresponds to thin line pattern 4 in Fig. 7 Based on the conditions in Table 2 for Y, pattern No. l
, 2 is the target = 1. Others = OX1 + According to the conditions in Table 2, if pattern No. 3.4 is the target = 1. Others: 0 Now, the operation of the apparatus according to this embodiment will be explained.
二次元画素メモリ10に格納されている被変換画素を縮
小率p 、 q = 2/3で縮小する場合を例とする
。前記制御部12は縮小変換の対象となる現画像が格納
されている前記二次元画像メモリ10に対して、一定語
長単位毎(第3図では4ビツト/ワードとしている。)
に読み出して、各現時点の変換画素の近傍に位置する被
変換画素群の各濃度データを最大順次3ライン分を保持
する前記被変換画素入力手段11の機能を果たすシフト
レジスタlla、llc、lieに入力させる。Let us take as an example a case where pixels to be converted stored in the two-dimensional pixel memory 10 are reduced at a reduction rate p, q = 2/3. The control unit 12 controls the two-dimensional image memory 10, which stores the current image to be reduced, in units of a certain word length (4 bits/word in FIG. 3).
The density data of the converted pixel group located in the vicinity of each current converted pixel is read out to shift registers lla, llc, and lie which function as the converted pixel input means 11 and sequentially hold up to three lines of each density data. Let them input.
すなわち、第6図、第7図に示すように、現時点の変換
画素を被変換画素平面内の被変換画素A、B、C,Dで
構成される格子内に投影する場合、各被変換画素A−L
の各濃度データが各ライン(n−1、n 、 n+1
、 n+2 )毎に前記各シフトレジスタlla、ll
c、lieにロードされるのである。In other words, as shown in FIGS. 6 and 7, when projecting the current converted pixel onto a grid composed of converted pixels A, B, C, and D in the converted pixel plane, each converted pixel A-L
Each density data of each line (n-1, n, n+1
, n+2), each of the shift registers lla, ll
c, lie.
制御部12は所定のタイミングで当該シフトレジスタl
la、llc、lieに保持されている各被変換画素の
濃度データを前記シフトレジスタ11b、lid、ll
fに移動させ、前記論理回路15に送出する。The control unit 12 controls the shift register l at a predetermined timing.
The density data of each pixel to be converted held in la, llc, lie is transferred to the shift registers 11b, lid, ll.
f and sends it to the logic circuit 15.
その際、当該制御部12は第5図に示されているように
現時点での変換画素の近傍に位置している4個の被変換
画素群によって形成される格子内を4区分された前記区
分領域としての各四区分領域g□+ g2 r g3
! g4のいずれかに位置するかを判断して当該領域を
区別する2ビツトのデータを前記論理回路15に送出す
る。このデータは、同時に分割領域の判定条件にもなる
。また、当該制御部12では、所望される縮小率に従っ
て間引き対象となる細線を検出、保存する為に作成した
間引きデータ(表2参照)を前記論理演算回路15に送
出する。尚、間引きデータをそのまま出すと、4ビツト
(xshift、yshift、x:>O,y〉0の区
別)を必要とするので、第3図では、第7図に示した細
線対象パターンを区別する事で2ビツトに凝縮した形で
送出している。次に、論理演算回路15では、当該制御
部12により出力された前記四区分領域g工〜g4につ
いての情報、前記間引きデータ及び被変換画素群の濃度
データに基づいて間引き対象か否かを検知し、表3又は
表4の論理式に従って被変換画素の濃度を算出する。At this time, as shown in FIG. 5, the control unit 12 divides the lattice formed by the four pixel groups located near the currently converted pixel into four sections. Each quadrant area g□+ g2 r g3
! g4, and sends 2-bit data to the logic circuit 15 to distinguish the area. This data also serves as a criterion for determining divided regions. Further, the control unit 12 sends thinning data (see Table 2) created to detect and store thin lines to be thinned out according to a desired reduction rate to the logical operation circuit 15. Note that if the thinned data is output as is, 4 bits (xshift, yshift, x:>O, y>0 distinction) are required, so in Fig. 3, the thin line target pattern shown in Fig. 7 is distinguished. Therefore, it is transmitted in a condensed form of 2 bits. Next, the logical operation circuit 15 detects whether or not it is a thinning target based on the information about the four divided areas g-g4 outputted by the control unit 12, the thinning data, and the density data of the pixel group to be converted. Then, the density of the pixel to be converted is calculated according to the logical formula in Table 3 or Table 4.
以下、縮小率p、qが共に273の場合について、
■X軸に垂直な細線パターンが存在する場合、■Y軸に
垂直な細線パターンが存在する場合に分けて説明する。Hereinafter, the case where both the reduction ratios p and q are 273 will be explained separately into (1) a case where a thin line pattern perpendicular to the X axis exists, and (2) a case where a thin line pattern perpendicular to the Y axis exists.
論理式は表4を用いている。Table 4 is used as the logical formula.
■ X軸に垂直な細線パターンが存在する場合第9図に
より、被変換画素S1□→s2□→s3□が11111
(黒)で、他の被変換画素が全て0″(白)の場合
を考える。この場合、表2の条件、第7図の細線パター
ン及び表4の論理式が対応する。現時点の変換画素R1
1に対する周囲4画素A、B、C,Dは各々5H2S□
2.S2□+S2□である。変換画素R工□の位置は分
割領域G1に属し、xshiftl=1.yshift
l=1゜X2)0.0.Y2)0.0.から表2−1の
条件G□−4に対応する。よって対象となる細線パター
ンは、第7図のgl−No、1−4である。そして上記
例の細線バターンはg□−No、3が現れたので表4の
論理式から“1゛′とする。同じく変換画素R1□では
、表2−2の条件G4−4より細線パターンg4−No
、’)が細線パターンとなる。しかし、S工2.S2□
に存在する細線パターンは既に画素R工、で表現してい
るので、画素R□□の濃度は対象となる細線とは認めず
“0パとなる。以上の過程は、画素R2□、R22につ
いても同様である。■ When there is a thin line pattern perpendicular to the
(black) and all other converted pixels are 0'' (white). In this case, the conditions in Table 2, the thin line pattern in Figure 7, and the logical formula in Table 4 correspond.The current converted pixel R1
The surrounding four pixels A, B, C, and D for 1 are each 5H2S□
2. S2□+S2□. The position of the converted pixel R □ belongs to the divided area G1, and xshiftl=1. yshift
l=1°×2)0.0. Y2) 0.0. This corresponds to condition G□-4 in Table 2-1. Therefore, the target thin line pattern is gl-No. 1-4 in FIG. Since g□-No.3 appears in the thin line pattern in the above example, it is set to "1'' from the logical formula in Table 4. Similarly, in the converted pixel R1□, from the condition G4-4 in Table 2-2, the thin line pattern g4 -No
,') becomes a thin line pattern. However, S engineering 2. S2□
The thin line pattern existing in , has already been expressed by pixel R, so the density of pixel R is not recognized as the target thin line and becomes 0.The above process is for pixels R2 and R22. The same is true.
また、逆に被変換画素S12→S2□→S3□が“0”
(白)で、他の被変換画素が全て“1゛(黒)の場合、
変換画素R□□に対しては、条件G1−4より細線パタ
ーンg 1−No、4が該当する。Conversely, the converted pixel S12→S2□→S3□ is “0”
(white) and all other pixels to be converted are “1” (black),
For the converted pixel R□□, the thin line pattern g1-No.4 corresponds to the condition G1-4.
従って変換画素R1□の濃度は表4の論理式から“0″
とする。変換画素R02の濃度は前例と同様に細線パタ
ーンと見做さず、1゛となる。Therefore, the density of converted pixel R1□ is "0" from the logical formula in Table 4.
shall be. As in the previous example, the density of the converted pixel R02 is not regarded as a thin line pattern, and is 1.
以上の過程は、画素R,,,R2□についても同様であ
る。The above process is the same for pixels R, , R2□.
■ Y軸に垂直な細線パターンが存在する場合第9図に
より、被変換画素S2□→S2□→523II 111
(黒)で、他の被変換画素が全て“0”(白)の場
合を考える。この場合、表2の条件、第7図の細線パタ
ーン及び表4の論理式が対応する。現時点の変換画素R
11に対する周囲4画素A、B、C,Dは各々S□4.
S□2゜S2□+S2□である。変換画素R0□の位置
は分割領域G、に属し、xshfftl=1.yshi
ftl=1.X2)0.0.Y2)0.0.から表2−
1の条件G4−4に対応する。よって対象となる細線パ
ターンは、第7図のg□−No、1−4である。そして
上記例の細線パターンはg 1−No、1になる。従っ
て、変換画素R□1の濃度は細線パターンはg、−No
、1が現れたので表4の論理式から“1′′とする。同
じく変換画素R12では、表2−2の条件G4−4に相
当し、第7図のg 4−No、1が細線パターンとなる
。しかし、S12.S22に存在する細線パターンは既
に画素R1□で表現しているので、画素R1□の濃度は
対象となる細線とは認めず“0”′となる。以上の過程
は、画素R2,、R2□についても同様である。■ When a thin line pattern perpendicular to the Y axis exists According to Figure 9, the converted pixel S2□→S2□→523II 111
(black) and all other pixels to be converted are "0" (white). In this case, the conditions in Table 2, the thin line pattern in FIG. 7, and the logical formula in Table 4 correspond. Current conversion pixel R
The surrounding four pixels A, B, C, and D for 11 are each S□4.
S□2°S2□+S2□. The position of the converted pixel R0□ belongs to the divided area G, and xshfftl=1. yshi
ftl=1. X2) 0.0. Y2) 0.0. From Table 2-
This corresponds to condition G4-4 of No. 1. Therefore, the target thin line pattern is g□-No. 1-4 in FIG. The thin line pattern in the above example becomes g1-No.1. Therefore, the density of the converted pixel R□1 is g for the thin line pattern, -No.
, 1 appears, so it is determined as "1'' from the logical formula in Table 4. Similarly, in the converted pixel R12, it corresponds to condition G4-4 in Table 2-2, and g4-No. 1 in FIG. 7 is a thin line. However, since the thin line pattern existing in S12 and S22 is already expressed by the pixel R1□, the density of the pixel R1□ is not recognized as the target thin line and becomes “0”.The above process The same holds true for pixels R2, , R2□.
また、逆に被変換画素S21→S2□→S23が“0°
゛で、他の被変換画素が全て“1″(黒)の場合、変換
画素R工、に対しては、条件Gニー4より細線パターン
g 、−No、2が該当する。従って変換画素R1□の
濃度は表4の論理式から“0”′とする。変換画素R工
。の濃度は前例と同様に細線パターンと見做さず、“1
゛′となる。以上の過程は、画素R2,、R2□につい
ても同様である。Conversely, the converted pixel S21→S2□→S23 is “0°
If all other pixels to be converted are "1" (black), the thin line pattern g, -No., 2 corresponds to the conversion pixel R, according to the condition G knee 4. Therefore, the density of the converted pixel R1□ is set to "0"' from the logical formula in Table 4. Conversion pixel R engineering. As in the previous example, the density of
It becomes ゛′. The above process is the same for pixels R2, , R2□.
以上本実施例によれば、四区分領域という簡単な領域分
割処理で、且つ白または黒の細線パターンを同じ条件で
然も逆に線巾な太らすこともなく、少ない被変換画素(
8画素)を参照することで変換画像に細線を再現するこ
とができる。As described above, according to this embodiment, a simple area division process of four divided areas can be used, and a thin white or black line pattern can be created under the same conditions, without increasing the line width, and with fewer pixels to be converted (
8 pixels), it is possible to reproduce thin lines in the converted image.
また、第10図に示すように、所望の縮小率が1>p
、q≧1/n (n =2″I、m=o、1,2.・
・・)の場合、縮小率1/2を指定した( m−1)個
の本実施例に係る回路を直列に多段に接続し、かつ縮小
率2111−1*p、 2FT1−1*qを指定した本
実施例に係る回路を接続して実現するか、又は同じ回路
でループさせる事により172以下の倍率についても同
じ回路構成で実現できる。Moreover, as shown in FIG. 10, the desired reduction ratio is 1>p
, q≧1/n (n=2″I, m=o, 1,2.・
...), (m-1) circuits according to this embodiment specifying a reduction rate of 1/2 are connected in series in multiple stages, and the reduction rate is 2111-1*p, 2FT1-1*q. A magnification of 172 or less can be realized with the same circuit configuration by connecting the specified circuits according to this embodiment or by looping the same circuit.
さらに、本実施例では分割領域を区分領域と同一の境界
により分割しているため、分割領域の判定が区分領域と
同じ条件(論理)で行われることになり、判定がより容
易なものとなって、処理を高速に行うことができる。Furthermore, in this embodiment, since the divided area is divided by the same boundary as the divided area, the determination of the divided area is performed under the same conditions (logic) as the divided area, making the determination easier. processing can be performed at high speed.
以上説明したように本発明では現画像の縮小により間引
かれる事になる線巾が縮小重分の一未満の細線パターン
を持つ被変換画素を検知する為に必要な被変換画素群及
び間引きデータを区分領域に基いて入力及び発生させる
とともに、変換画素濃度算出手段で変換画素の算出を行
う場合にも当該区分領域を利用して自動的に変換画素の
細線パターンの再現を行うようにしている。As explained above, in the present invention, the converted pixel group and thinning data necessary to detect converted pixels having a thin line pattern whose line width is less than one of the reduction weight due to reduction of the current image. is input and generated based on the segmented area, and when the converted pixel density calculation means calculates the converted pixel, the segmented area is used to automatically reproduce the thin line pattern of the converted pixel. .
これによって、細線情報を保存した形で信頼性のある縮
小画像を簡単な回路構成で高速に得る事ができる。As a result, a reliable reduced image with thin line information preserved can be obtained at high speed with a simple circuit configuration.
第1図は第一の発明の原理ブロック図、第2図は第二の
発明の原理流れ図、第3図は実施例に係る画像縮小装置
の回路ブロック図、第4図は実施例に係る間引き対象の
被変換画素を検知するために必要な間引きデータの説明
図、第5図は四区分領域を示す図、第6図は実施例に係
る縮小率1〉p、q≧172の場合の参照画素を示す図
、第7図は実施例に係る縮小率1)p I q≧172
の場合の細線パターンを示す図、第8図は実施例に係る
分割領域を示す図、第9図は実施例に係る縮小率2/3
の場合の変換画素と被変換画素の位置関係を示す図、第
10図は実施例に係る縮小率1)p 、 q≧1/nの
場合のブロック図、第11図は従来例に係るブロック図
、第12図は投影法の原理を示す図、第13図は高速投
影法の分割領域を示す図、第14図は高速投影法に係る
縮小率2/3の場合の変換画素と被変換画素の位置関係
を示す図である。
1.11・・・被変換画素入力手段
2(12)・・・区分領域指定手段(制御部)3(12
)・・・間引きデータ発生手段(制御部)
4(12)・・・分割領域判定手段(制御部)5(15
)・・・変換画素濃度算出手段(変換画素濃度決定用論
理回路)FIG. 1 is a block diagram of the principle of the first invention, FIG. 2 is a flowchart of the principle of the second invention, FIG. 3 is a circuit block diagram of an image reduction device according to an embodiment, and FIG. 4 is a thinning-out diagram according to an embodiment. An explanatory diagram of the thinning data necessary to detect the target pixel to be converted, FIG. 5 is a diagram showing a four-section area, and FIG. 6 is a reference in the case of reduction ratio 1>p, q≧172 according to the embodiment. A diagram showing pixels, FIG. 7 shows the reduction ratio according to the embodiment 1) p I q≧172
FIG. 8 is a diagram showing the divided area according to the example, and FIG. 9 is a diagram showing the thin line pattern according to the example.
A diagram showing the positional relationship between the converted pixel and the converted pixel in the case of , FIG. 10 is a block diagram in the case of reduction ratio 1) p and q≧1/n according to the embodiment, and FIG. 11 is a block diagram according to the conventional example. Figure 12 is a diagram showing the principle of the projection method, Figure 13 is a diagram showing the divided areas of the high-speed projection method, and Figure 14 is a diagram showing the converted pixels and the converted pixels when the reduction rate is 2/3 according to the high-speed projection method. FIG. 3 is a diagram showing the positional relationship of pixels. 1.11...Transformed pixel input means 2 (12)...Segmented area designation means (control unit) 3 (12)
)... Thinning data generation means (control unit) 4 (12)... Divided area determination means (control unit) 5 (15
)...Converted pixel density calculation means (logic circuit for determining converted pixel density)
Claims (6)
率に応じて分割領域を設定し、当該平面上に投影された
変換画素が位置する分割領域に対応する論理式に従い近
傍被変換画素の濃度から各変換画素の濃度を決定する画
像縮小装置において、前記平面上に設定され、縮小率に
基づいて定められる区分領域のうち前記変換画素が位置
する区分領域を順次指定する区分領域指定手段(2)と
、 区分領域に基づいて変換画素の近傍に位置する所定の被
変換画素群の濃度データを順次入力する被変換画素入力
手段(1)と、 前記区分領域及び縮小率に基づいて被変換画素群の中か
ら縮小により間引かれる細線上の間引き対象画素を検知
する為に必要な間引きデータの発生を行う間引きデータ
発生手段(3)と、 前記縮小率に基づいて変換画素が位置する分割領域を判
定する分割領域判定手段(4)と、間引きデータ、分割
領域、被変換画素の濃度データ及び区分領域に基づいて
間引き対象か否かを検知して変換画素の濃度を算出する
変換画素濃度算出手段(5)とを有することを特徴とす
る画像縮小装置。(1) Set divided areas according to the desired reduction ratio on the plane where the converted pixels are arranged, and follow the logical formula corresponding to the divided area where the converted pixels projected onto the plane are located In an image reduction device that determines the density of each converted pixel from the density of the pixel, segmented area designation that sequentially specifies a segmented area in which the converted pixel is located among segmented areas set on the plane and determined based on a reduction rate. means (2); converted pixel input means (1) for sequentially inputting density data of a predetermined group of converted pixels located in the vicinity of the converted pixel based on the segmented area; and based on the segmented area and reduction rate. a thinning data generating means (3) for generating thinning data necessary for detecting thinning target pixels on a thin line thinned out by reduction from a group of converted pixels; a divided area determining means (4) for determining a divided area to be converted, and a conversion for calculating the density of a converted pixel by detecting whether or not it is a target for thinning based on the thinning data, the divided area, the density data of the converted pixel, and the divided area. An image reduction device comprising: pixel density calculation means (5).
率に応じて分割領域を設定し、当該平面上に投影された
変換画素が位置する分割領域に対応する論理式に従い近
傍被変換画素の濃度から各変換画素の濃度を決定する画
素縮小方法において、前記平面上に設定され、縮小率に
基づいて定められる区分領域のうち前記変換画素が位置
する区分領域を順次指定するとともに、当該区分領域に
基づいて変換画素の近傍に位置する所定の被変換画素群
の濃度データを順次入力する過程(S1)と、 前記区分領域及び縮小率に基づいて被変換画素群の中か
ら縮小により間引かれる細線上の間引き対象画素を検知
する為に必要な間引きデータを発生する過程(S2)と
、 前記縮小率に基づいて変換画素が位置する分割領域を判
定する過程(S3)と、 間引きデータ、分割領域、被変換画素の濃度データ及び
区分領域に基づいて間引き対象か否かを検知して変換画
素の濃度を算出する過程(S4)とを有することを特徴
とする画像縮小方法。(2) Set divided areas according to the desired reduction ratio on the plane where the converted pixels are arranged, and follow the logical formula corresponding to the divided area where the converted pixels projected onto the plane are located In a pixel reduction method in which the density of each converted pixel is determined from the density of the pixel, a segmented area in which the converted pixel is located is sequentially specified among segmented areas set on the plane and determined based on the reduction rate, and a step (S1) of sequentially inputting density data of a predetermined group of converted pixels located in the vicinity of the converted pixel based on the segmented area; A process (S2) of generating thinning data necessary to detect pixels to be thinned out on the thin line to be drawn, a process (S3) of determining a divided area in which a converted pixel is located based on the reduction ratio, and a process (S3) of generating thinning data. , a step (S4) of calculating the density of the converted pixel by detecting whether or not it is to be thinned out based on the divided area, the density data of the converted pixel, and the divided area.
素を取り囲む被変換画素4画素を基準とする座標面とし
て横軸をX軸、縦軸をY軸とした場合に、 X軸方向について、被変換画素面上での直前の変換画素
の位置座標x_0、現時点の変換画素の位置座標x_1
、次の変換画素の位置座標x_2により、x_0>座標
基準値、x_1>座標基準値、x_2>座標基準値の不
等式の真偽及び前記直前と現時点での変換画素との間に
存在する被変換画素数もしくは前記時点での変換画素と
次の変換画素との間に存在する被変換画素数を間引きデ
ータとして発生し、 Y軸方向について、被変換画素面上での直前の変換画素
の位置座標y_0、現時点の変換画素の位置座標y_1
、次の変換画素の位置座標y_2により、y_0>座標
基準値、y_1>座標基準値、y_2>座標基準値の不
等式の真偽及び前記直前と現時点での変換画素との間に
存在する被変換画素もしくは前記時点での変換画素と次
の変換画素との間に存在する被変換画素数を間引きデー
タとして発生することを特徴とする請求項第一項記載の
画像縮小装置。(3) As the thinning data generating means (3), when the horizontal axis is the X axis and the vertical axis is the Y axis as a coordinate plane based on the four converted pixels surrounding the converted pixel, in the X axis direction, Position coordinate x_0 of the immediately preceding converted pixel on the pixel surface to be converted, position coordinate x_1 of the current converted pixel
, by the position coordinate x_2 of the next converted pixel, the truth or falsity of the inequality x_0>coordinate reference value, x_1>coordinate reference value, x_2>coordinate reference value, and the converted pixel that exists between the above-mentioned immediately before and the current converted pixel. The number of pixels or the number of converted pixels existing between the converted pixel at the above point and the next converted pixel is generated as thinning data, and the position coordinates of the immediately previous converted pixel on the converted pixel surface in the Y-axis direction. y_0, current position coordinate of the converted pixel y_1
, by the position coordinate y_2 of the next converted pixel, the truth or falsity of the inequality y_0>coordinate reference value, y_1>coordinate reference value, y_2>coordinate reference value, and the converted pixel that exists between the immediately preceding and current converted pixel. 2. The image reduction apparatus according to claim 1, wherein the pixel or the number of converted pixels existing between the converted pixel at the time and the next converted pixel is generated as thinning data.
取り囲む被変換画素4画素を基準とする座標面として横
軸をX軸、縦軸をY軸とした場合に、X軸方向について
は、被変換画素面上での現時点の変換画素の位置座標x
_1によるx_1>座標基準値の不等式の真偽、Y軸方
向については、被変換画素面上での現時点の変換画素の
位置座標y_1>座標基準値の不等式の真偽を用いるこ
とを特徴とする請求項第一項記載の画像縮小装置。(4) As the divided area determination means (4), when the horizontal axis is the X axis and the vertical axis is the Y axis as a coordinate plane based on the four converted pixels surrounding the converted pixel, the X axis direction is , the current position coordinate x of the converted pixel on the converted pixel surface
For the Y-axis direction, the truth or falsity of the inequality x_1 by _1>coordinate reference value, the current position coordinate of the converted pixel on the pixel surface to be converted y_1>coordinate reference value, is used. An image reduction device according to claim 1.
の被変換画素又は最近傍周辺の画素との結合を考慮した
論理式に間引きデータに基づいて細線を保存する論理式
を加味したことを特徴とする請求項第一項記載の画像縮
小装置。(5) As the converted pixel density calculation means (5), a logical formula for preserving a thin line based on the thinning data is added to a logical formula that takes into account the connection with the nearest converted pixel or the nearest neighboring pixel. An image reduction device according to claim 1, characterized in that:
n=2^m(m=0,1,2、・・・)とした場合希望
する縮小率が1>p,q≧1/nに対しては、倍率1/
2の縮小処理を(m−1)回と倍率2^m^−^1*p
,2^m^−^1*qの縮小処理を1回行う事を特徴と
する画像縮小方法。(6) The reduction rate in the X-axis direction is p, the reduction rate in the Y-axis direction is q,
When n = 2^m (m = 0, 1, 2, ...), if the desired reduction rate is 1>p, q≧1/n, then the magnification is 1/n.
2 reduction processing (m-1) times and magnification 2^m^-^1*p
, 2^m^-^1*q reduction processing is performed once.
Priority Applications (6)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63213673A JP2588758B2 (en) | 1988-08-30 | 1988-08-30 | Image reduction apparatus and method |
| CA000593928A CA1306052C (en) | 1988-03-18 | 1989-03-16 | Process and apparatus for reducing picture with fine line disappearance prevention |
| DE68923110T DE68923110T2 (en) | 1988-03-18 | 1989-03-17 | Avoiding the disappearance of thin lines in image reduction processes. |
| EP89302645A EP0333496B1 (en) | 1988-03-18 | 1989-03-17 | Avoiding fine line disappearance in picture reduction processes |
| KR1019890003372A KR920008904B1 (en) | 1988-03-18 | 1989-03-18 | Picture decreasing method and device for fax |
| US07/325,912 US4930021A (en) | 1988-03-18 | 1989-03-20 | Process and apparatus for reducing a picture with fine line disappearance prevention |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63213673A JP2588758B2 (en) | 1988-08-30 | 1988-08-30 | Image reduction apparatus and method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0263268A true JPH0263268A (en) | 1990-03-02 |
| JP2588758B2 JP2588758B2 (en) | 1997-03-12 |
Family
ID=16643074
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63213673A Expired - Fee Related JP2588758B2 (en) | 1988-03-18 | 1988-08-30 | Image reduction apparatus and method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2588758B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012080255A (en) * | 2010-09-30 | 2012-04-19 | Canon Inc | Image processing device and control method of the same |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS61147668A (en) * | 1984-12-21 | 1986-07-05 | Nippon Telegr & Teleph Corp <Ntt> | Reduction converting method of image |
| JPS6363802A (en) * | 1986-09-02 | 1988-03-22 | 東レ株式会社 | Sand-containing artificial turf ground |
-
1988
- 1988-08-30 JP JP63213673A patent/JP2588758B2/en not_active Expired - Fee Related
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS61147668A (en) * | 1984-12-21 | 1986-07-05 | Nippon Telegr & Teleph Corp <Ntt> | Reduction converting method of image |
| JPS6363802A (en) * | 1986-09-02 | 1988-03-22 | 東レ株式会社 | Sand-containing artificial turf ground |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012080255A (en) * | 2010-09-30 | 2012-04-19 | Canon Inc | Image processing device and control method of the same |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2588758B2 (en) | 1997-03-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH05334427A (en) | Image scaling method | |
| JPH1173501A (en) | Reference picture preparation method and pattern detection device | |
| KR920008904B1 (en) | Picture decreasing method and device for fax | |
| JP2006222965A (en) | Image processing method and image processing apparatus | |
| US7257276B2 (en) | Digital image interpolation method | |
| JP2588758B2 (en) | Image reduction apparatus and method | |
| JP2885999B2 (en) | Image processing apparatus and method | |
| JP2010039672A (en) | Magnified image generation apparatus | |
| JP2588742B2 (en) | Image reduction apparatus and method | |
| JPH02131690A (en) | Movement compensation circuit | |
| JPS5935270A (en) | Picture element density converter | |
| JP2613080B2 (en) | Image enlargement apparatus and method | |
| JPS63166369A (en) | Mobile vector detection circuit | |
| JP2775474B2 (en) | Binary image reduction apparatus and method | |
| JP2613095B2 (en) | Image enlargement apparatus and method | |
| JPS61184687A (en) | Control system of multilevel image magnification and reduction | |
| US5680529A (en) | Image reduction conversion method | |
| TWI915138B (en) | Image processing method and associated image processing circuit | |
| JP2768331B2 (en) | Curve linear approximation device | |
| JPH0785266A (en) | Image rotation device | |
| JP2001111820A (en) | Image magnification device and image magnification method | |
| KR0122093B1 (en) | Digital image data rotation method and apparatus | |
| JP3286345B2 (en) | Motion vector detection circuit | |
| TW202614620A (en) | Image processing method and associated image processing circuit | |
| TW202443490A (en) | Image processing method and image processing device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |