JPH047679A - Picture reducing device - Google Patents
Picture reducing deviceInfo
- Publication number
- JPH047679A JPH047679A JP2109107A JP10910790A JPH047679A JP H047679 A JPH047679 A JP H047679A JP 2109107 A JP2109107 A JP 2109107A JP 10910790 A JP10910790 A JP 10910790A JP H047679 A JPH047679 A JP H047679A
- Authority
- JP
- Japan
- Prior art keywords
- picture
- density parameter
- reduced
- density
- image
- 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
- 238000004364 calculation method Methods 0.000 claims description 26
- 238000000034 method Methods 0.000 abstract description 6
- 238000010586 diagram Methods 0.000 description 6
- 238000011946 reduction process Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
Landscapes
- Image Processing (AREA)
- Editing Of Facsimile Originals (AREA)
Abstract
Description
【発明の詳細な説明】
(イ)産業上の利用分野
本発明は、デジタル情報で表される画像を縮小する画像
縮小装置に関する。DETAILED DESCRIPTION OF THE INVENTION (A) Field of Industrial Application The present invention relates to an image reduction device for reducing an image represented by digital information.
(ロ)従来の技術
従来、デジタル情報で表される画像を扱う装置、例えば
ファクシミリ装置やワードプロセッサ、画像の編集を行
うイメージ処理装置等においては、ある大きさの画像を
適当な大きさに縮小する縮小処理が頻繁に行われる。(B) Conventional technology Conventionally, devices that handle images represented by digital information, such as facsimile machines, word processors, and image processing devices that edit images, reduce images of a certain size to an appropriate size. Reduction processing is performed frequently.
通常、縮小処理は、縮小率に応じて原画像の中の画素を
適当に間引いたり、あるいは縮小率に応じた隣接する複
数の画素間で論理和を取ることで行われている。Normally, reduction processing is performed by appropriately thinning out pixels in the original image according to the reduction ratio, or by taking a logical sum between a plurality of adjacent pixels according to the reduction ratio.
第4図Aに示される原画像を、3/10の縮小率で縮小
した画像を第4図B、Cに示す。Images obtained by reducing the original image shown in FIG. 4A at a reduction rate of 3/10 are shown in FIGS. 4B and 4C.
第4図Bは、間引き処理により縮小処理を行ったもので
、印を付けたライン以外のラインを間弓いており(間引
くラインは、原画像の大きさと縮小率の合わせて適当な
アルゴリズムにより決定される)、縮小画像は所謂”抜
け”の多いものとなってしまう。In Figure 4B, the reduction process was performed by thinning processing, and lines other than the marked lines are thinned out (the lines to be thinned out are determined by an appropriate algorithm according to the size of the original image and the reduction rate. ), the reduced image will have many so-called "missing parts".
また、第4図Cは、論理和演算により縮小処理を行った
もので、適当なアルゴリズムにより、第4図Aで示した
隣接する166画素12画素あるいは9画素で論理和を
取ったおり、縮小画像には、抜け”はないものの、所謂
”つぶれ”が生じている。In addition, Figure 4C shows the reduction process performed by logical sum operation, and by using an appropriate algorithm, the logical sum of the adjacent 166 pixels, 12 pixels, or 9 pixels shown in Figure 4A is performed, and the reduction process is performed. Although there is no "dropout" in the image, so-called "collapse" has occurred.
更にまた、白黒の2値により疑似的に中間階調を表す方
法に、白黒画素の分布により画像の濃度(階調)を表す
デイザ法があるが、デイザ法によって表現された画像を
縮小する場合、上述のような間引き処理により画像の縮
小を行うと、濃度分布が乱れ、著しく画質が劣化する。Furthermore, there is a dither method that expresses the density (gradation) of an image using the distribution of black and white pixels as a method of pseudo-representing intermediate gradations using black and white binary values, but when an image expressed using the dither method is reduced When an image is reduced by the above-mentioned thinning process, the density distribution is disturbed and the image quality is significantly deteriorated.
そこで、例えばデイザ画像から元の画像(画素)の濃度
を推定し、推定された画像に対して縮小処理を施す特開
昭62−164369号公報のように、デイザ画像に対
する専用の縮小装置が提案されている。Therefore, a dedicated reduction device for dithered images has been proposed, for example, as in Japanese Patent Application Laid-Open No. 164369/1983, which estimates the density of the original image (pixel) from the dithered image and performs reduction processing on the estimated image. has been done.
(ハ)発明が解決しようとする課題
上述のように画像情報を縮小する場合、画素データの抜
けやつぶれが生じて、原画像に比べて大幅に白黒画素の
分布が乱れてしまったり、複雑な縮小処理を必要とする
。(c) Problems to be Solved by the Invention When image information is reduced as described above, pixel data may be missing or distorted, and the distribution of black and white pixels may be significantly disordered compared to the original image. Requires reduction processing.
本発明は、斯様な点に鑑みて成されたもので、簡単な処
理により、原画像を、原画像の白黒画素の分布に対して
乱れの少ない画像に縮小する縮小装置を提供するもので
ある。The present invention has been made in view of the above, and provides a reduction device that reduces an original image into an image with less disturbance in the distribution of black and white pixels of the original image through simple processing. be.
(ニ)課題を解決するための手段
本発明は、デジタル情報で表される原画像を縮小する画
像縮小装置であって、原画像の画素が縮小後の画素に対
応する割合から縮小後の画素の濃度パラメータを演算す
るパラメータ演算手段と、該パラメータ演算手段で演算
された濃度パラメータから縮小画像の画素データを決定
する画素データ決定手段とを備えるものである。(d) Means for Solving the Problems The present invention is an image reduction device that reduces an original image represented by digital information, and the ratio of the pixels of the original image to the pixels after reduction is determined from the ratio of the pixels of the original image to the pixels after reduction. and pixel data determining means for determining pixel data of a reduced image from the density parameters calculated by the parameter calculating means.
(ホ)作用
パラメータ演算手段により、縮小後の画素に対応する原
画像の画素の夫々が縮小後の画素に対応する割合から縮
小後の画素の濃度パラメータを演算し、画素データ決定
手段でその濃度パラメータによって縮小後の画素の画素
データを決定するので、原画像の白黒分布に対して乱れ
の少ない縮小画像を得ることができる。(E) The effect parameter calculating means calculates the density parameter of the reduced pixel from the ratio of each pixel of the original image corresponding to the reduced pixel to the reduced pixel, and the pixel data determining means calculates the density parameter of the reduced pixel. Since the pixel data of the reduced pixel is determined by the parameters, it is possible to obtain a reduced image with less disturbance to the black and white distribution of the original image.
(へ)実施例
第1図は、本発明画像縮小装置の一実施例の概略構成図
である。(f) Embodiment FIG. 1 is a schematic diagram of an embodiment of the image reduction apparatus of the present invention.
(1)は原画像の画素データを主走査方向の順に入力し
、図示しない制御手段から指示される縮小率に従って、
原画像の各画素が縮小後の画素に対応する割合に応じて
濃度パラメータを演算し、原画像の主走査方向の縮小を
行う主走査方向濃度パラメータ演算回路、(2)は該主
走査方向濃度パラメータ演算回路(1)で得られた濃度
パラメータを格納する一次濃度パラメータメモリである
。In (1), the pixel data of the original image is input in the order of the main scanning direction, and according to the reduction rate instructed by the control means (not shown).
A main scanning direction density parameter calculation circuit which calculates a density parameter according to the proportion of each pixel of the original image corresponding to a pixel after reduction, and reduces the original image in the main scanning direction; (2) is the density parameter calculation circuit in the main scanning direction; This is a primary concentration parameter memory that stores the concentration parameters obtained by the parameter calculation circuit (1).
(3)は、主走査方向濃度パラメータ演算回路(1)で
演算され一次濃度パラメータメモリ(2)に記憶された
濃度パラメータを、副走査方向(Y方向)の順に入力し
、図示しない制御手段から指示される縮小率に従って、
原画像の各画素が縮小後の画素に対応する割合に応じて
濃度パラメータを演算し、原画像の副走査方向の縮小を
行う副走査方向濃度パラメータ演算回路である。In (3), the density parameters calculated by the main scanning direction density parameter calculation circuit (1) and stored in the primary density parameter memory (2) are inputted in the order of the sub-scanning direction (Y direction), and the density parameters are input from the control means (not shown). According to the indicated reduction rate,
This sub-scanning direction density parameter calculation circuit calculates a density parameter according to the proportion of each pixel of the original image corresponding to the pixel after reduction, and reduces the original image in the sub-scanning direction.
(4)は、主走査方向濃度パラメータ演算回路(1)及
び副走査方向濃度パラメータ演算回路(3)で演算され
、主走査方向及び副走査方向の縮小がされた濃度パラメ
ータに基づいて縮小画像の各画素の画素データを決定す
る画素データ決定手段としての画素データ判定回路であ
る。(4) is calculated by the main-scanning direction density parameter calculation circuit (1) and the sub-scanning direction density parameter calculation circuit (3), and is based on the reduced image density parameter that has been reduced in the main-scanning direction and the sub-scanning direction. This is a pixel data determination circuit as a pixel data determining means for determining pixel data of each pixel.
今、第2図Aに示す原画像(第4図Aと同じ画像)を3
710に縮小する場合を考える。Now, the original image shown in Figure 2A (the same image as Figure 4A) is
Consider the case of reducing the size to 710.
主走査方向の1ラインを考えたとき、原画像の1画素が
縮小画像の1画素に対応する割合は、縮小率の3/10
である。そして、原画像の各画素と縮小画像の各画素と
の対応関係は第3図に示す通りで、例えば、縮小画像の
左端の画素(DI)には、原画像の左端から3番目まで
の画素(Sl、S2、S3)が夫々3/10、左から4
番目の画素(S4)が1/10が対応している。When considering one line in the main scanning direction, the ratio that one pixel of the original image corresponds to one pixel of the reduced image is 3/10 of the reduction rate.
It is. The correspondence relationship between each pixel of the original image and each pixel of the reduced image is as shown in FIG. (Sl, S2, S3) are each 3/10, 4 from the left
The th pixel (S4) corresponds to 1/10.
原画像の画素が縮小画像の画素に対応する割合から、画
素D1の濃度パラメータは次のように演算される。The density parameter of pixel D1 is calculated as follows from the ratio of pixels of the original image to pixels of the reduced image.
DI=[S1]X 3/10+[S2]X 3/10+
[53]X 3/10+[S4]X 1/10また、縮
小画像の他の画素(D 2. D 3)についても、そ
の画素に対応する原画像の画素の割合がら次のような演
算で求められる。DI=[S1]X 3/10+[S2]X 3/10+
[53] X 3/10 + [S4] Desired.
D2=[S4]X 2/10+[S5]X 3/10+
[S6]x 3/10+[S7]X 2/10D3=(
S7)X 1 /10+[S8]X 3/10+ (S
91x 3 / 10+[S 10]x 3 /10
尚、これらの式で(Sl)や(S2)等の()でくくっ
たものは、夫々の画素の画素データを示し、画素が黒で
あるならば1、白であるならば0が当てはめられる。D2=[S4]X 2/10+[S5]X 3/10+
[S6]x 3/10+[S7]X 2/10D3=(
S7)X 1/10+[S8]X 3/10+ (S
91x 3/10+[S 10]x 3/10
In addition, in these formulas, (Sl), (S2), etc., enclosed in parentheses indicate the pixel data of each pixel, and if the pixel is black, 1 is applied, and if it is white, 0 is applied. .
原画像の画素データは、まず、主走査方向の順に主走査
方向濃度パラメータ演算回路(1)に入力され、主走査
方向濃度パラメータ演算回路(1)では、各主走査方向
のライン毎に上述の演算を行って濃度パラメータを得、
得た濃度パラメータを一次濃度パラメータメモリ(2)
に記憶する。第2図Aの原画像について主走査方向濃度
パラメータ演算回路(1)で演算された濃度パラメータ
を第2図Bに示す。この主走査方向濃度パラメータ演算
回路(1)における濃度パラメータの演算により原画像
の主走査方向の縮小がされる。The pixel data of the original image is first input to the main scanning direction density parameter calculation circuit (1) in the order of the main scanning direction, and the main scanning direction density parameter calculation circuit (1) performs the above-mentioned processing for each line in the main scanning direction. Perform calculations to obtain concentration parameters,
The obtained concentration parameters are stored in the primary concentration parameter memory (2)
to be memorized. FIG. 2B shows the density parameters calculated by the main scanning direction density parameter calculation circuit (1) for the original image shown in FIG. 2A. The original image is reduced in the main scanning direction by calculating the density parameters in the main scanning direction density parameter calculation circuit (1).
主走査方向濃度パラメータ演算回路(1)による濃度パ
ラメータの演算が終了したら、−次濃度パラメータメモ
リ (2)に記憶された濃度パラメータを、副走査方向
の順に副走査方向濃度パラメータ演算回路(3)に入力
する。副走査方向濃度パラメータ演算回路(3)でも、
の主走査方向濃度パラメータ演算回路(1)と同様に、
縮小画像の画素に対応する原画像の画素の割合に応じて
、上述と同じような演算を行う。第2図Cに、−次濃度
パラメータメモリ(2)に記憶された第2図Bに示す濃
度パラメータから、副走査方向濃度パラメータ演算回路
(3)で得られた濃度パラメータを示す。この副走査方
向濃度パラメータ演算回路(3)における濃度パラメー
タの演算により原画像の副走査方向の縮小がされる。When the density parameter calculation circuit (1) finishes calculating the density parameters, the density parameters stored in the -th density parameter memory (2) are transferred to the sub-scanning direction density parameter calculation circuit (3) in the order of the sub-scanning direction. Enter. In the sub-scanning direction density parameter calculation circuit (3),
Similarly to the main scanning direction density parameter calculation circuit (1),
Calculations similar to those described above are performed depending on the ratio of pixels in the original image to pixels in the reduced image. FIG. 2C shows the density parameters obtained by the sub-scanning direction density parameter calculation circuit (3) from the density parameters shown in FIG. 2B stored in the -th order density parameter memory (2). The original image is reduced in the sub-scanning direction by calculating the density parameters in the sub-scanning direction density parameter calculation circuit (3).
斯様にして、原画像の主走査方向、副走査方向の縮小が
され、副走査方向濃度パラメータ演算回路(3)から得
られる各濃度パラメータが順に、画素データ判定回路(
4)に入力され、適当な閾値(ここでは1/2とする)
を基準に濃度パラメータから各画素の画素データ(黒か
臼)を決定する。In this way, the original image is reduced in the main scanning direction and the sub-scanning direction, and each density parameter obtained from the sub-scanning direction density parameter calculation circuit (3) is sequentially processed by the pixel data determination circuit (
4) and set an appropriate threshold (here, 1/2)
The pixel data (black or black) of each pixel is determined from the density parameter based on .
而して、第2図りに示すように、原画像(第2図A)を
3710に縮小した縮小画像が得られる。As a result, as shown in the second diagram, a reduced image obtained by reducing the original image (FIG. 2 A) to 3710 pixels is obtained.
同じ原画像を従来の方法で縮小した第4図Bや第4図C
に比べると、抜けやつぶれの発生が少なく、原画像に対
して比較的忠実に画像の縮小が為されていることが分か
る。Figures 4B and 4C are the same original images reduced using the conventional method.
It can be seen that the image is reduced relatively faithfully to the original image, with fewer omissions and collapses.
尚、本実施例では、主走査方向と副走査方向の両方向の
濃度パラメータを演算した後に縮小画像の画素データを
決定しているが、主走査方向の濃度パラメータを求めた
後、−旦主走査方向に縮小した画像の画素データを決定
し、決定した画素データから副走査方向の濃度パラメー
タを演算して副走査方向の縮小を行い、そして副走査方
向にも縮小を行った濃度パラメータから縮小画像の画素
データを決定するようにしてもよい。In this embodiment, the pixel data of the reduced image is determined after calculating the density parameters in both the main scanning direction and the sub-scanning direction. Determine the pixel data of the image that has been reduced in the sub-scanning direction, calculate the density parameter in the sub-scanning direction from the determined pixel data, perform the reduction in the sub-scanning direction, and then create the reduced image from the density parameter that has also been reduced in the sub-scanning direction. pixel data may be determined.
また、画素データ判定回路による画素データの決定を、
一定の閾値によるものではなく、得られた濃度パラメー
タを推定濃度と見なして、推定濃度に対応する適当なデ
イザマトリクスにより画素データを決定するようにして
もよい。In addition, the determination of pixel data by the pixel data determination circuit is
Instead of using a fixed threshold value, the obtained density parameter may be regarded as the estimated density, and the pixel data may be determined using an appropriate dither matrix corresponding to the estimated density.
(ト)発明の効果
本発明は、以上の説明から明らかなように、濃度パラメ
ータ演算回路において、縮小後の画素に対応する原画像
の画素の夫々が縮小後の画素に対応する割合から縮小後
の画素の濃度パラメータを演算して求め、その得られた
濃度パラメータから縮小画像の各画素の画素データを画
素データ判定回路で決定するので、通常の2値画像やデ
イザ法による疑似中間調画像に対して、原画像の濃度分
布と比較して乱れの少ない縮小処理を行うことができる
。また、画素データの値を決定する際に、閾値を変える
ことで、縮小画像の濃度の調節をすることも可能である
。(g) Effects of the Invention As is clear from the above description, the present invention provides a density parameter calculation circuit in which each pixel of the original image corresponding to the pixel after reduction is calculated from the ratio corresponding to the pixel after reduction. The pixel data of each pixel in the reduced image is determined by the pixel data judgment circuit from the obtained density parameter, so it is not possible to create a normal binary image or a pseudo halftone image using the dither method. On the other hand, reduction processing can be performed with less disturbance than the density distribution of the original image. Further, when determining the value of pixel data, it is also possible to adjust the density of the reduced image by changing the threshold value.
更に、本発明の縮小処理装置は、画素単位で縮小処理を
行い、走査方向に連続する画素データからなる画像情報
に対する縮小処理ができるので、ファクシミリ装置等の
画像処理装置にも適用することができる。Further, the reduction processing device of the present invention performs reduction processing on a pixel-by-pixel basis and can perform reduction processing on image information consisting of pixel data that is continuous in the scanning direction, so it can be applied to image processing devices such as facsimile machines. .
第1図は本発明画像縮小装置の一実施例の概略構成図、
第2図は本発明装置一実施例の動作説明図、第3図は本
発明に係る縮小動作の説明図、第4図は従来の縮小処理
の説明図である。
(1)・・・主走査方向濃度パラメータ演算回路(パラ
メータ演算手段)、(2)・・・−次濃度パラメータメ
モリ、(3)・・・副走査方向濃度パラメータ演算回路
(パラメータ演算手段)、(4)・・・画素データ判定
回路(画素データ決定手段)。FIG. 1 is a schematic configuration diagram of an embodiment of the image reduction device of the present invention;
FIG. 2 is an explanatory diagram of the operation of an embodiment of the apparatus of the present invention, FIG. 3 is an explanatory diagram of the reduction operation according to the present invention, and FIG. 4 is an explanatory diagram of the conventional reduction processing. (1)...Main scanning direction density parameter calculation circuit (parameter calculation means), (2)...-next density parameter memory, (3)...Sub-scanning direction density parameter calculation circuit (parameter calculation means), (4) Pixel data determination circuit (pixel data determination means).
Claims (1)
小装置において、 原画像の画素が縮小後の画素に対応する割合から縮小後
の画素の濃度パラメータを演算するパラメータ演算手段
と、該パラメータ演算手段で演算された濃度パラメータ
から縮小画像の画素データを決定する画素データ決定手
段とを備えることを特徴とする画像縮小装置。(1) In an image reduction device that reduces an original image represented by digital information, a parameter calculation means calculates a density parameter of a reduced pixel from a ratio of pixels of the original image corresponding to a reduced pixel, and the parameter An image reduction device comprising: pixel data determining means for determining pixel data of a reduced image from density parameters calculated by the calculating means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2109107A JPH047679A (en) | 1990-04-25 | 1990-04-25 | Picture reducing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2109107A JPH047679A (en) | 1990-04-25 | 1990-04-25 | Picture reducing device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH047679A true JPH047679A (en) | 1992-01-13 |
Family
ID=14501751
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2109107A Pending JPH047679A (en) | 1990-04-25 | 1990-04-25 | Picture reducing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH047679A (en) |
-
1990
- 1990-04-25 JP JP2109107A patent/JPH047679A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH03193472A (en) | Highly definite image generating system of image processor | |
| US6201613B1 (en) | Automatic image enhancement of halftone and continuous tone images | |
| JP2007065916A (en) | Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium | |
| JP3625160B2 (en) | Image processing device | |
| JP3386203B2 (en) | Image information processing method and image information processing apparatus | |
| JP4067538B2 (en) | Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium | |
| JP2578409B2 (en) | Image processing device | |
| JPH0213510B2 (en) | ||
| JPH0662230A (en) | Image forming device | |
| JPH05160996A (en) | Image processing method | |
| JP2777378B2 (en) | Halftone area detection method | |
| JPH0318177A (en) | Picture processor | |
| JP2857906B2 (en) | Halftone binarization processor | |
| JPH05336365A (en) | Image forming device | |
| KR101833711B1 (en) | Error Diffusion apparatus and method using Half Toning in Color Images | |
| US7440142B2 (en) | Image processing system with multi-valued processing | |
| JPH05207273A (en) | Picture reduction method | |
| JPH07123246A (en) | Binary image reduction device | |
| JP3434395B2 (en) | Image processing device | |
| JP2836992B2 (en) | Image scaling processor | |
| JPH01173971A (en) | Image processing method | |
| JPH04349780A (en) | Device and method for outputting picture data | |
| JPH04229767A (en) | Picture processing unit | |
| JPH09247450A (en) | Image processing device | |
| JPH03219781A (en) | Picture processing unit |