JPH0462680A - Method for reducing picture - Google Patents
Method for reducing pictureInfo
- Publication number
- JPH0462680A JPH0462680A JP2174145A JP17414590A JPH0462680A JP H0462680 A JPH0462680 A JP H0462680A JP 2174145 A JP2174145 A JP 2174145A JP 17414590 A JP17414590 A JP 17414590A JP H0462680 A JPH0462680 A JP H0462680A
- Authority
- JP
- Japan
- Prior art keywords
- line
- image
- picture
- pixel
- integer part
- 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
Links
- 238000000034 method Methods 0.000 title claims description 20
- 238000012937 correction Methods 0.000 claims description 16
- 238000007796 conventional method Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 235000012054 meals Nutrition 0.000 description 1
Landscapes
- Image Processing (AREA)
- Studio Circuits (AREA)
- Editing Of Facsimile Originals (AREA)
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野コ
本発明は原稿を読み取って得られた画像データを処理し
て縮小する画像の縮小方法に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image reduction method for processing and reducing image data obtained by reading a document.
[従来の技術]
原稿を読み取って得られた画像データを処理して縮小す
る従来の方法では、縮小のために消去の対象となる画素
は一定の規則性を有し、各ラインとも同一の番号の画素
が対象となっていた。[Prior Art] In the conventional method of processing and reducing image data obtained by reading a document, the pixels to be erased for reduction have a certain regularity, and each line has the same number. pixels were targeted.
例えば第2図に示すように、縮小率0.7の場合の消去
対象画素は2個おき若しくは3個おきの画素が消去され
ている。For example, as shown in FIG. 2, when the reduction ratio is 0.7, every second or third pixel to be erased is erased.
[発明が解決しようとする課題]
しかしながら、このような従来の画像の縮小方法では、
例えば第2図において第4番目の画素が消去されるよう
になっているが、該画素がたまたま縦の細線の画像デー
タであるとすると、縮小画像からは該細線が消失してし
まい、原稿は正確には再現されないこととなる。このよ
うに、縮小画像が原稿を再現しなかったり、再現したと
しても不正確なものや、不鮮明なものになるという問題
点があった。[Problems to be solved by the invention] However, in such conventional image reduction methods,
For example, in Figure 2, the fourth pixel is erased, but if that pixel happens to be the image data of a thin vertical line, the thin line will disappear from the reduced image, and the original will be It will not be reproduced accurately. As described above, there is a problem in that the reduced image does not reproduce the original, or even if it reproduces it, it is inaccurate or unclear.
[発明の目的コ
本発明は、このような従来の技術における問題点に鑑み
て成されたもので、縮小のために消去される画素が、近
接するライン毎に異なった番号の画素となり、原稿の画
像情報が縮小画像においても忠実に再現され、欠如しな
り、不正確ないしは不鮮明にならない画像の縮小方法を
提供することを目的としている。[Purpose of the Invention] The present invention has been made in view of the problems in the conventional technology.The pixels erased for reduction become pixels with different numbers for each adjacent line, and the original It is an object of the present invention to provide an image reduction method in which image information is faithfully reproduced even in a reduced image, and does not become missing, inaccurate, or unclear.
[課題を解決するための手段]
上記目的を達成するためのこの発明の要旨とするところ
は、
〈1) 縮小率Z を逐次加算していき、該演算によっ
て得られた第n番目の数値nx Z = Rnの整数部
Wnが、第(n−1)番目の数値 (n−1)×Z=R
nlの整数部W、−,と同一であるとき、該第n番目の
画素を間引くことによって縮小する画像の縮小方法にお
いて、各ライン毎に、少なくとも相隣なる前段のライン
とは異なる数の補正値を設定し、その補正値を上記第n
番目の数値n×Z=Rnに加えたことを特徴とする画像
の縮小方法。[Means for Solving the Problems] The gist of the present invention for achieving the above object is as follows: (1) Sequentially adding the reduction ratio Z, and calculating the n-th numerical value nx obtained by the calculation. The integer part Wn of Z = Rn is the (n-1)th number (n-1) x Z = R
In an image reduction method that reduces the size of an image by thinning out the n-th pixel when the integer part W,−, of nl is the same, each line has a different number of corrections than at least the adjacent previous line. Set the value and apply the correction value to the nth
An image reduction method characterized by adding the th numerical value n×Z=Rn.
(2)前記補正値の数は、所定範囲の正の整数から一個
の数を乱数発生手段を介して得られたものである1項記
載の画像の縮小方法。(2) The image reduction method according to item 1, wherein the number of correction values is one number obtained from a predetermined range of positive integers via random number generation means.
(3)縮小率Z を逐次加算していき、該演算によって
得られた第n番目の数値 n×Z=Rn、の整数部Wn
が、第(n −1)番目の数値 (n−1)×Z=Rn
、−、の整数部Wfi−,と同一であるとき、該第n番
目の画素を間引くことによって縮小する画像の縮小方法
において、
第m番目のラインに、m×Z=Rnの少数部Yおを補正
値として付加した画像の縮小方法。(3) Sequentially adding the reduction ratio Z, the integer part Wn of the n-th numerical value n×Z=Rn obtained by the operation
is the (n-1)th number (n-1)×Z=Rn
In an image reduction method that reduces the n-th pixel by thinning out the integer part Wfi-, of m×Z=Rn, the m-th line has the decimal part Y and An image reduction method that adds as a correction value.
に存する。exists in
[作用]
画像を縮小するために消去される画素は、ある定められ
た規則に従いって特定のものが指定される。[Operation] Specific pixels to be erased to reduce an image are specified according to a certain set of rules.
そこで、あるラインにおいて、例えばθ〜9までの数の
中から乱数発生手段を介して1個の数を得、該1個の数
を当該ラインの各画素に付加することにより、相前後す
るラインは相互にランダムに主走査方向にずれ、引き続
いて同じ番号の画素が消去されることが殆どなくなり、
原稿に関する画像情報は正確に縮小再現される。Therefore, in a certain line, for example, one number is obtained from among the numbers from θ to 9 through a random number generating means, and by adding this one number to each pixel of the line, successive lines are randomly shifted from each other in the main scanning direction, and pixels with the same number are rarely erased successively.
Image information regarding the original is accurately reduced and reproduced.
[実施例]
次に、第1実施例として、3(n+1)+1毎の画素を
消去して縮小させる場合を示す、ただし縮小率は約0.
7で、 n は0を含む正の整数とする。[Example] Next, as a first example, a case will be shown in which each 3(n+1)+1 pixel is erased and reduced, however, the reduction rate is approximately 0.
7, where n is a positive integer including 0.
先ず、何らの補正値も付加しない場合の第3ラインまで
の各画素の一部を示す。First, a portion of each pixel up to the third line is shown when no correction value is added.
LI L2 L3
画素NO
4☆4
7 ☆7
10 ☆10☆1
☆4
☆ 7
0 ☆ 1
13 ☆13☆13☆13
上記中、☆の画素が省除され、副走査方向に同じ位置の
画素が消去されている。ただし、Ll等はラインNoを
示している。LI L2 L3 Pixel No. 4☆4 7 ☆7 10 ☆10☆1 ☆4 ☆ 7 0 ☆ 1 13 ☆13☆13☆13 In the above, the pixels marked with ☆ are omitted, and the pixels at the same position in the sub-scanning direction are It has been erased. However, Ll etc. indicate line numbers.
そこで、今度は同じ規則に基づいて、消去すべき画素を
指定するとともに、各ラインにそれぞれ1づつ補正値を
付加したものを示す。Therefore, this time, based on the same rules, pixels to be erased are designated and one correction value is added to each line.
LI L2 L3 画素N。LI L2 L3 Pixel N.
4 ☆4
7 金7
8 8 9☆ 10
9 9食 10 11
10 合 10 11 1211
11 12☆13
12 12☆ 13 14
13 ☆13 14 15
上表によれば、消去される画素は副走査方向に並ばず、
したがって特定の縦細線が縮小画像で消えてしまったり
、不正確な縮小画像になったりすることがない。4 ☆4 7 Fri 7 8 8 9☆ 10 9 9 meals 10 11 10 Combined 10 11 1211
11 12☆13 12 12☆ 13 14 13 ☆13 14 15 According to the above table, the pixels to be erased are not lined up in the sub-scanning direction,
Therefore, a specific vertical thin line will not disappear in the reduced image, or the reduced image will not be inaccurate.
上表は、各ラインに順次1づつ付加したものであるが、
付加する補正値を乱数発生手段から得られた乱数であっ
てもよい。In the table above, one is added to each line in sequence,
The correction value to be added may be a random number obtained from a random number generating means.
次ぎに、第2実施例として、縮小率2 を逐次加算して
いき、該演算によって得られた第n番目の数値 nxZ
==R7の整数部W、が、第(n−1)番目の数値 (
n 1 ) XZ=Ra−+の整数部W、、と同一で
あるとき、該第n番目の画素を間引くようにした縮小方
法において、第m番目のラインに、mX Z = R*
の少数部Y、を補正値として付加した場合を第1図に示
す、ただし、縮小率Z=0.7としている6図中丸印つ
きの画素が消去される画素である。また、ライン番号0
とあるのは、なんら操作を加えない場合の上記方法の演
算数値であって、仮想のものである。Next, as a second example, the reduction ratio 2 is sequentially added, and the nth numerical value nxZ obtained by the operation is
==The integer part W of R7 is the (n-1)th numerical value (
n 1 ) When the integer part W of XZ=Ra−+ is the same as
FIG. 1 shows the case where the decimal part Y of is added as a correction value. However, the reduction rate Z=0.7 and the pixels marked with circles in FIG. 6 are the pixels to be erased. Also, line number 0
The values shown are hypothetical values calculated by the above method without any operations.
このように、ライン毎に主走査方向にずれることにより
、特定の画像情報が消滅したり、不鮮明になったりする
ことがなく、正確な縮小画像が得られる。In this way, by shifting each line in the main scanning direction, specific image information does not disappear or become unclear, and an accurate reduced image can be obtained.
なお、補正値の選定方法については、本実施例に挙げら
れたものに限定されるものでないことはいうまでもない
。Note that it goes without saying that the method for selecting the correction value is not limited to the one mentioned in this embodiment.
[発明の効果〕
本発明に係る画像の縮小方法によれば、例えば乱数発生
手段を介して得られた数を各ライン毎に補正値として加
えるようにしたから、消去される画素が主走査方向にお
いて同一位置に並ぶことがなく、したがって副走査方向
において特定の画素が消去されることにより、縮小画像
における特定の画像情報が欠如したり、不鮮明ないしは
不正確になることがない、すなわち、原稿からの画像情
報が縮小画像においても忠実に再現できる効果を有する
。[Effects of the Invention] According to the image reduction method according to the present invention, since the number obtained through the random number generation means is added as a correction value for each line, the pixels to be erased are Therefore, specific image information in the reduced image will not be missing, unclear, or inaccurate due to erasure of specific pixels in the sub-scanning direction. This has the effect that the image information can be faithfully reproduced even in a reduced image.
第1図は縮小の実際を示す第2実施例の消去方法の図表
、第2図は従来の方法による消去方法の図表である。FIG. 1 is a diagram of the erasing method of the second embodiment showing the actual reduction, and FIG. 2 is a diagram of the erasing method according to the conventional method.
Claims (4)
られた第n番目の数値n×Z=R_nの整数部W_nが
、第(n−1)番目の数値(n−1)×Z=R_n_−
_1の整数部W_n_−_1と同一であるとき、該第n
番目の画素を間引くことによって縮小する画像の縮小方
法において、 各ライン毎に、少なくとも相隣なる前段のラインとは異
なる数の補正値を設定し、その補正値を上記第n番目の
数値n×Z=R_nに加えたことを特徴とする画像の縮
小方法。(1) The reduction ratio Z is sequentially added, and the integer part W_n of the n-th numerical value n×Z=R_n obtained by the operation is the (n-1)th numerical value (n-1)× Z=R_n_-
When it is the same as the integer part W_n_−_1 of _1, the nth
In an image reduction method in which the image is reduced by thinning out the n-th pixel, a correction value that is different from at least the adjacent previous line is set for each line, and the correction value is set as the n-th value n× An image reduction method characterized by adding Z=R_n.
の数を乱数発生手段を介して得られたものである請求項
1記載の画像の縮小方法。(2) The image reduction method according to claim 1, wherein the number of correction values is one number obtained from a predetermined range of positive integers through random number generation means.
られた第n番目の数値n×Z=R_nの整数部W_nが
、第(n−1)番目の数値(n−1)×Z=R_n_−
_1の整数部W_n_−_1と同一であるとき、該第n
番目の画素を間引くことによって縮小する画像の縮小方
法において、 第m番目のラインに、m×Z=R_mの小数部Y_mを
補正値として付加したことを特徴とする画像の縮小方法
。(3) Sequentially add the reduction ratio Z, and the integer part W_n of the n-th numerical value n×Z=R_n obtained by this operation is the integer part W_n of the (n-1)-th numerical value (n-1 )×Z=R_n_-
When it is the same as the integer part W_n_−_1 of _1, the nth
A method for reducing an image by thinning out the pixel of the image, characterized in that a decimal part Y_m of m×Z=R_m is added to the m-th line as a correction value.
き画素を間引くことによって縮小する画像の縮小方法に
おいて、 各ライン毎に、少なくとも相隣なる前段のラインとは異
なる数の補正値を設定し、その補正値により前記間引き
画素の設定画素を異ならせたことを特徴とする画像の縮
小方法。(4) In an image reduction method that reduces pixels by thinning out pixels in one line that are set corresponding to a reduction rate Z, each line has at least a different number of correction values from the adjacent previous line. A method for reducing an image, characterized in that the pixel set as the thinned out pixel is varied depending on the correction value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2174145A JPH0462680A (en) | 1990-06-30 | 1990-06-30 | Method for reducing picture |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2174145A JPH0462680A (en) | 1990-06-30 | 1990-06-30 | Method for reducing picture |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0462680A true JPH0462680A (en) | 1992-02-27 |
Family
ID=15973461
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2174145A Pending JPH0462680A (en) | 1990-06-30 | 1990-06-30 | Method for reducing picture |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0462680A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH02137473A (en) * | 1988-11-17 | 1990-05-25 | Dainippon Screen Mfg Co Ltd | Interpolating method in image scan recording |
JPH03229375A (en) * | 1990-02-02 | 1991-10-11 | Fujitsu Ltd | Conversion system for picture element density of picture data |
-
1990
- 1990-06-30 JP JP2174145A patent/JPH0462680A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH02137473A (en) * | 1988-11-17 | 1990-05-25 | Dainippon Screen Mfg Co Ltd | Interpolating method in image scan recording |
JPH03229375A (en) * | 1990-02-02 | 1991-10-11 | Fujitsu Ltd | Conversion system for picture element density of picture data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7567260B2 (en) | Grouping layers in composited image manipulation | |
GB2192113A (en) | Method of processing image signal | |
JPH02137473A (en) | Interpolating method in image scan recording | |
JPH0462680A (en) | Method for reducing picture | |
JPS5935270A (en) | Picture element density converter | |
JPH05249953A (en) | Image display device | |
JPS63102473A (en) | Picture signal processor | |
JPS63155954A (en) | Picture signal processor | |
JPS63155952A (en) | Picture signal processor | |
JP6326914B2 (en) | Interpolation apparatus and interpolation method | |
JP2984295B2 (en) | Labeling equipment for image processing | |
JP2697679B2 (en) | Dither image display device | |
JP3534475B2 (en) | Character framing device for karaoke | |
JPH0722333B2 (en) | Image signal processor | |
JP2894649B2 (en) | Image processing circuit | |
JPH049149B2 (en) | ||
JPS62166473A (en) | Shadow graphic form generating device | |
JPH06168323A (en) | Image data reducing display device | |
JPS6155782A (en) | Reducing device of document image | |
JPS6375881A (en) | Dot picture screen line-number converter | |
JP2000350093A (en) | Special effect device for video image | |
JPH01142878A (en) | Method and device for interpolating digital image | |
JPH08317205A (en) | Image processor | |
JPH04184688A (en) | Boundary point generator for plane polygon | |
JPS63116193A (en) | Affine transformation system for image |