[go: up one dir, main page]

JP2000196859A - Image processing method - Google Patents

Image processing method

Info

Publication number
JP2000196859A
JP2000196859A JP10371119A JP37111998A JP2000196859A JP 2000196859 A JP2000196859 A JP 2000196859A JP 10371119 A JP10371119 A JP 10371119A JP 37111998 A JP37111998 A JP 37111998A JP 2000196859 A JP2000196859 A JP 2000196859A
Authority
JP
Japan
Prior art keywords
image
area
information
contone
images
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
JP10371119A
Other languages
Japanese (ja)
Inventor
Takayuki Okumura
孝之 奥村
Yoshihiro Osada
嘉浩 長田
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.)
Kyocera Corp
Original Assignee
Kyocera 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 Kyocera Corp filed Critical Kyocera Corp
Priority to JP10371119A priority Critical patent/JP2000196859A/en
Publication of JP2000196859A publication Critical patent/JP2000196859A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Storing Facsimile Image Data (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

PROBLEM TO BE SOLVED: To prevent the quality degradation of contone images, even in the case that bitone images and the contone images coexist by dividing images into plural small areas, encoding the image information of the divided small areas, storing it in a bit group and sweeping out the bit group from a memory to a display output part after encoding it. SOLUTION: A bitone image 1 and a contone image 2 are separated from the information of a page description language sent from a host computer. In the bitone image 1 of characters and linear graphics, etc., since it is not required to express tones, information is converted into information of 1 bit per pixel. In the contone image 2 of the image of photographs and pictures, etc., since the tones are expressed, it is converted into the information of K bits per pixel. In order to distinguish the two kinds of the images, one page is divided into the rectangular areas of vertical M pixels and horizontal N pixels size and attribute bits are supplied in one-to-one correspondence with the pixels inside the rectangular area.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、原稿となる画像を
高速かつ忠実に、少容量の記憶媒体で再現することが要
求されるプリンタ等の画像形成装置における画像処理方
式に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing method in an image forming apparatus such as a printer which is required to reproduce an image as an original on a small-capacity storage medium at high speed and with high fidelity.

【0002】[0002]

【従来の技術】プリンタなどの画像形成装置において
は、ホストコンピュータから送られてきた情報を、画素
単位で扱い、1画素に対してN(N=1,2,3……)
ビットの情報を持たせ、RAMなどの記憶媒体に記憶す
る。その後、記憶した情報はそのままあるいは画像の質
を向上させるために、何らかの処理が行われ、表示出力
部へ掃き出される。画像中の文字や線などのバイトーン
・イメージに関しては、水平又は垂直に近い線がジャギ
ーになることが知られており、それを改善する処理が施
される。
2. Description of the Related Art In an image forming apparatus such as a printer, information sent from a host computer is handled in units of pixels, and N (N = 1, 2, 3,...)
Bit information is stored and stored in a storage medium such as a RAM. After that, some processing is performed on the stored information as it is or in order to improve the quality of the image, and the stored information is discharged to the display output unit. It is known that a horizontal or vertical line becomes jaggy with respect to a Viton image such as a character or a line in an image, and a process for improving the line is performed.

【0003】一方画像中の写真や絵画などのコントーン
・イメージに関しては、ハーフトーンを美しく再現させ
るために、疑似中間画像処理が行われる。
On the other hand, for a contone image such as a photograph or a painting in an image, pseudo intermediate image processing is performed in order to reproduce the halftone beautifully.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記従
来技術においては、画像中の文字や線といったバイトー
ン・イメージと写真屋絵画といったコントーン・イメー
ジとが混在した場合、バイトーン・イメージに対する処
理がコントーン・イメージに対しても行われるといった
弊害が発生していた。この弊害の結果、コントーン・イ
メージの質が劣化することが問題となる。
However, in the above-mentioned prior art, when a Viton image such as a character or a line in an image and a Contone image such as a photographer's painting are mixed, the processing for the Viton image is performed by the Contone image. Adverse effects such as being performed for As a result of this adverse effect, the quality of the contone image is degraded.

【0005】本発明の目的は、上記弊害を解決し、バイ
トーン・イメージとコントーン・イメージとが混在した
場合でも、コントーン・イメージの質が劣化しないよう
にする画像処理方式を提供することにある。
An object of the present invention is to solve the above-mentioned problems and to provide an image processing method for preventing the quality of a contone image from deteriorating even when a vitone image and a contone image are mixed.

【0006】[0006]

【課題を解決するための手段】上記課題を解決するため
に、本発明は、画像を複数の小領域に分け、分けられた
小領域の画像情報を符号化し、小領域に対応するメモリ
内のビット群に記憶させ、該ビット群をメモリから表示
出力部に掃き出す際に復号化して掃き出すように構成し
た。
In order to solve the above problems, the present invention divides an image into a plurality of small areas, encodes image information of the divided small areas, and stores the image information in a memory corresponding to the small areas. The bit group is stored, and the bit group is decoded and swept out when the bit group is swept from the memory to the display output unit.

【0007】[0007]

【発明の実施の形態】本発明の実施形態を図面に従って
説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described with reference to the drawings.

【0008】図1 は、バイトーン・イメージとコントー
ン・イメージの説明図であり、図2 は、複数M×N方形
領域への分割を示す図、図3 は、VRAMのデータプレ
ーン、属性プレーン格納状態を示す図、図4は、注目領
域と隣接する領域のデータプレーンを示す図、図5は、
注目領域と隣接する領域の属性プレーンを示す図であ
る。
FIG. 1 is an explanatory diagram of a Viton image and a contone image. FIG. 2 is a diagram showing division into a plurality of M × N rectangular areas. FIG. 3 is a data plane and attribute plane storage state of a VRAM. FIG. 4 is a diagram showing a data plane of a region adjacent to the region of interest, and FIG.
FIG. 8 is a diagram illustrating an attribute plane of an area adjacent to the attention area.

【0009】まず、本発明は、ホストコンピュータから
送られてきたページ記述言語の情報から、図1に示すよ
うに、バイトーン・イメージ1とコントーン・イメージ
2を分ける。文字や線図形などのバイトーン・イメージ
1では、トーンを表現する必要がないため、1画素あた
り1 ビットの情報に変換する。写真・絵画などのイメー
ジのコントーン・イメージ2では、トーンを表現するた
め、1 画素あたりK(K=1,2,3,4…・・)ビッ
トの情報に変換する。
First, according to the present invention, as shown in FIG. 1, a Viton image 1 and a Contone image 2 are separated from the page description language information sent from the host computer. In the case of a Viton image 1 such as a character or a line figure, since it is not necessary to represent a tone, it is converted into information of one bit per pixel. In the contone image 2 of an image such as a photograph or a picture, the information is converted into K (K = 1, 2, 3, 4,...) Bits of information per pixel in order to express a tone.

【0010】本実施形態では、これら2 種類のイメージ
を区別するために、1 ページを縦M画素、横N画素サイ
ズの方形領域3に分割し、その方形領域3内の画素と1
対1に対応して属性ビット4を与える。この属性ビット
4は、コントーン・イメージであるか、それともバイト
ーン・イメージであるかの属性を持つ。この属性ビット
4は、図3に示すように、印字する順序を考慮して画素
データをラスタ順に並べたとき、副走査方向にM画素、
主走査方向にN画素の方形領域3のそれぞれの画素デー
タと対応したVRAM内の位置に格納される。
In the present embodiment, in order to distinguish these two types of images, one page is divided into a rectangular area 3 having a size of M pixels vertically and N pixels horizontally, and one pixel in the rectangular area 3 is divided into one page.
Attribute bit 4 is given corresponding to pair 1. This attribute bit 4 has an attribute of whether it is a contone image or a Viton image. As shown in FIG. 3, when the pixel data is arranged in the raster order in consideration of the printing order, as shown in FIG.
The pixel data is stored at a position in the VRAM corresponding to each pixel data of the rectangular area 3 of N pixels in the main scanning direction.

【0011】方形領域3内がすべてコントーン・イメー
ジである場合には、方形領域3内のM×Nビットの情報
を使って2つのM×N乗の階調を持つハーフトーンを表
現する目的で、方形領域3に対応する位置にあるVRA
M領域にM×Nビットの情報が符号化されVRAMに格
納される。この場合、方形領域3内のすべての属性ビッ
トは1となる(5)。
When the entire area of the rectangular area 3 is a contone image, the halftone having two M × N power gradations is expressed by using the information of M × N bits in the rectangular area 3. , The VRA at the position corresponding to the rectangular area 3
M × N bits of information are encoded in the M area and stored in the VRAM. In this case, all attribute bits in the rectangular area 3 become 1 (5).

【0012】一方、方形領域3内がすべてバイトーン・
イメージである場合には、方形領域3を1画素あたり1
ビットの情報に二値化し、ビットマップとして方形領域
3に対応する位置にあるVRAM領域に格納する。この
場合、方形領域3内のすべての属性ビットは0となる
(6)。
On the other hand, all of the rectangular area 3 is Viton
In the case of an image, the square area 3 is set to 1 per pixel.
The information is binarized into bit information and stored in a VRAM area at a position corresponding to the rectangular area 3 as a bit map. In this case, all the attribute bits in the rectangular area 3 become 0 (6).

【0013】さらに、方形領域3内にバイトーン・イメ
ージとコントーン・イメージが混在する場合には、バイ
トーン・イメージ部分(属性ビットは0)は、1画素あ
たり1ビットの情報に二値化し、コントーン・イメージ
部分(属性ビットは1)は、隣接する方形領域3の情報
によって補間され、ビットマップとなる。つまり、この
処理後、混在している方形領域3はバイトーン・イメー
ジとして扱われる。
Further, when the Viton image and the Contone image are mixed in the rectangular area 3, the Viton image portion (the attribute bit is 0) is binarized into 1-bit information per pixel, and The image portion (the attribute bit is 1) is interpolated by the information of the adjacent rectangular area 3 to form a bit map. That is, after this processing, the mixed rectangular area 3 is treated as a Viton image.

【0014】次に、方形領域3として3×3の正方形領
域を用いた実施例で説明する。この実施例では、1枚の
画素を3×3の正方形領域に分割しているため、領域内
のすべての属性ビットが1であるとき(領域内がすべて
コントーン・イメージであるとき)、5のように3×3
=9ビットを使って512(2の9乗)階調の濃淡デー
タを表わすように符号化する。
Next, an embodiment using a 3 × 3 square area as the square area 3 will be described. In this embodiment, since one pixel is divided into a 3 × 3 square area, when all the attribute bits in the area are 1 (when the area is all contone images), 5 3x3 as
= 9 bits are used to represent 512 (2 9) grayscale data.

【0015】次に、方形領域3内にバイトーン・イメー
ジとコントーン・イメージが混在した場合に、ビットマ
ップにするために補間する方法の例について図4に従い
説明する。まず、画素上任意に位置するバイトーン・イ
メージとコントーン・イメージが混在した3×3領域7
に注目する。注目領域7に隣接する領域内の全画素の属
性がコントーンである3×3領域8,9,10の平均濃
淡値を求める。次に数1により注目する3×3領域7内
で、ビットマップに変換した際に、データが1となるべ
き画素数Lを求める。
Next, an example of a method of interpolating to make a bitmap when a Viton image and a contone image are mixed in the rectangular area 3 will be described with reference to FIG. First, a 3 × 3 area 7 where a Viton image and a contone image arbitrarily located on a pixel are mixed.
Pay attention to. The average gray value of the 3 × 3 regions 8, 9, and 10 in which the attributes of all pixels in the region adjacent to the region of interest 7 are contones is obtained. Next, within the 3 × 3 area 7 of interest by Equation 1, the number L of pixels whose data should be 1 when converted into a bitmap is determined.

【0016】[0016]

【数1】 (Equation 1)

【0017】この実施例で、数1を適応すると、数2に
なる。
In this embodiment, when Equation 1 is applied, Equation 2 results.

【0018】[0018]

【数2】 (Equation 2)

【0019】数2より、データが1となるべき画素数L
が求められたら、注目領域7のバイトーン・イメージ部
分にデータが1である画素がいくつあるか数え、その数
がデータが1となるべき画素数L以上であれば、注目領
域7のコントーン・イメージ部分のデータは0として補
間される。その数がデータが1となるべき画素数Lより
も少なければ、注目領域7のコントーン・イメージ部分
のデータは、ラスタ順に注目領域7内でデータが1の画
素が画素数L個になるまで、データは1として補間され
る。注目領域7内で、データが1の画素が画素数L個に
なったら、残りのコントーン・イメージ部分のデータは
0で補間される。
From equation (2), the number L of pixels for which the data should be 1
Is calculated, the number of pixels whose data is 1 is counted in the byteon image portion of the attention area 7, and if the number is equal to or larger than the number L of pixels where the data should be 1, the contone image of the attention area 7 is obtained. Part of the data is interpolated as 0. If the number is smaller than the number L of pixels for which the data should be 1, the data of the contone image portion of the region of interest 7 is in raster order until the number of pixels of 1 in the region of interest 7 becomes L pixels. The data is interpolated as 1. When the number of pixels having data of 1 becomes L in the attention area 7, the data of the remaining contone image portion is interpolated by 0.

【0020】図5に従い、他の補間方法を説明すると、
まず画像上任意に位置するバイトーン・イメージとコン
トーン・イメージが混在した3×3領域11に注目す
る。注目領域11に隣接する領域内の全画素の属性がコ
ントーンである3×3領域(12、13、14)の平均
濃淡値を求める。次に、その平均濃淡値に対応するハー
フトーンスクリーンと注目領域11の属性プレーンの論
理積に注目領域11のデータプレーンとの論理和を求め
る。この結果を新たな注目領域11のデータプレーンと
する。
Referring to FIG. 5, another interpolation method will be described.
First, attention is paid to a 3 × 3 region 11 in which a vitone image and a contone image are arbitrarily located on the image. The average density value of the 3 × 3 area (12, 13, 14) in which the attributes of all pixels in the area adjacent to the area of interest 11 are contones is obtained. Next, the logical sum of the logical product of the halftone screen corresponding to the average gray value and the attribute plane of the attention area 11 and the data plane of the attention area 11 is obtained. This result is used as a new data plane of the attention area 11.

【0021】このようにして、VRAMに格納された情
報は、レーザースキャナユニットへ掃き出されることと
なるが、その過程において、属性がコントーンである方
形領域では、組織的デイザ法や誤差拡散法などの中間調
画像の表現方法により、モノクロプリンタなどの画像形
成装置上でコントーンに再現されることになる。属性が
バイトーンである方形領域では、高密度・高解像度画像
形成方法により、ビットマップ画像中のエッジのスムー
ジング処理が行われ、画像形成装置上で美しく再現され
る。
In this way, the information stored in the VRAM is swept out to the laser scanner unit. In the process, in a rectangular area whose attribute is contone, the systematic dither method, the error diffusion method, etc. Is expressed in a contone on an image forming apparatus such as a monochrome printer. In a rectangular area whose attribute is Viton, the edge in the bitmap image is smoothed by the high-density and high-resolution image forming method, and is beautifully reproduced on the image forming apparatus.

【0022】[0022]

【発明の効果】以上説明したように、本発明は、画像を
複数の小領域に分割し、領域毎に属性を持たせることに
より、バイトーンな領域とコントーンな領域を独立して
処理できるようにしたので、画像表示速度を遅らせるこ
とがない。またコントーン・イメージの劣化を防ぐこと
ができる。
As described above, according to the present invention, an image is divided into a plurality of small areas, and attributes are assigned to each area, so that a vitone area and a contone area can be processed independently. Therefore, the image display speed is not reduced. Further, deterioration of the contone image can be prevented.

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

【図1】図1 は、バイトーン・イメージとコントーン・
イメージの説明図。
FIG. 1 shows a Viton image and a Contone image.
FIG.

【図2】図2 は、複数M×N方形領域への分割を示す
図。
FIG. 2 is a diagram illustrating division into a plurality of M × N rectangular regions;

【図3】図3 は、VRAMのデータプレーン、属性プレ
ーン格納状態を示す図。
FIG. 3 is a diagram illustrating a storage state of a data plane and an attribute plane of a VRAM;

【図4】図4は、注目領域7と隣接する領域のデータプ
レーンを示す図。
FIG. 4 is a diagram showing a data plane in an area adjacent to a target area 7;

【図5】図5は、注目領域11と隣接する領域の属性プ
レーンを示す図。
FIG. 5 is a diagram showing an attribute plane of an area adjacent to the area of interest 11;

【符号の説明】[Explanation of symbols]

1 バイトーン・イメージ 2 コントーン・イメージ 3 M×N方形領域 4 属性ビット 5 領域内の全画素の属性がコントーンである領域 6 領域内の全画素の属性がバイトーンである領域 7 注目領域のデータプレーン 8、9、10全画素コントーン・イメージであり、注目
領域に隣接する領域のデータプレーン 11 注目領域の属性プレーン 12、 13、14 全画素コントーン・イメージであ
り、注目領域に隣接する領域の属性プレーン
Reference Signs List 1 bitone image 2 contone image 3 M × N square area 4 attribute bit 5 area where attribute of all pixels in area is contone 6 area where attribute of all pixels in area is viton 7 data plane of attention area 8 , 9, 10 all-pixel contone image, data plane of the area adjacent to the area of interest 11 attribute plane of the area of interest 12, 13, 14 all-pixel contone image, attribute plane of the area adjacent to the area of interest

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B057 AA11 BA24 BA30 CA06 CA08 CA16 CB06 CB08 CB12 CB16 CB18 CC03 CD06 CE12 CG01 CG02 CH11 DA08 DA16 DB02 DB08 DB09 DC22 5C073 AA04 BB03 BB04 BB07 BC04 CE02 5C076 AA02 AA36 BA03 BA06 BA09 BB04 BB05  ──────────────────────────────────────────────────続 き Continued on the front page F-term (reference) BB05

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】画像を複数の小領域に分け、分けられた小
領域の画像情報を符号化し、小領域に対応するメモリ内
のビット群に記憶させ、該ビット群をメモリから表示出
力部に掃き出す際に復号化して掃き出すように構成した
ことを特徴とする画像処理方式。
An image is divided into a plurality of small areas, image information of the divided small areas is encoded and stored in a bit group in a memory corresponding to the small area, and the bit group is transferred from the memory to a display output unit. An image processing method characterized in that it is configured to decode and sweep out when sweeping out.
【請求項2】前記メモリに画像情報のデータと属性を記
憶する際に、前記メモリを上位区域と下位区域に分け、
前記メモリから前記表示出力部への掃き出し順序を考慮
し、一方の区域にデータを、他方の区域に属性を記憶す
るようにしたことを特徴とする請求項1記載の画像処理
方式。
2. When storing data and attributes of image information in the memory, the memory is divided into an upper area and a lower area.
2. The image processing system according to claim 1, wherein data is stored in one area and an attribute is stored in another area in consideration of the order of sweeping from the memory to the display output unit.
JP10371119A 1998-12-25 1998-12-25 Image processing method Pending JP2000196859A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10371119A JP2000196859A (en) 1998-12-25 1998-12-25 Image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10371119A JP2000196859A (en) 1998-12-25 1998-12-25 Image processing method

Publications (1)

Publication Number Publication Date
JP2000196859A true JP2000196859A (en) 2000-07-14

Family

ID=18498180

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10371119A Pending JP2000196859A (en) 1998-12-25 1998-12-25 Image processing method

Country Status (1)

Country Link
JP (1) JP2000196859A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6882447B1 (en) * 1999-10-13 2005-04-19 Seiko Epson Corporation Image converting apparatus, storage medium, and image converting method
KR100495001B1 (en) * 2002-12-14 2005-06-14 (주)이엔제이소프트 Image compression encoding method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6882447B1 (en) * 1999-10-13 2005-04-19 Seiko Epson Corporation Image converting apparatus, storage medium, and image converting method
KR100495001B1 (en) * 2002-12-14 2005-06-14 (주)이엔제이소프트 Image compression encoding method and system

Similar Documents

Publication Publication Date Title
US5528704A (en) Image resolution conversion using a plurality of image registrations
US5832141A (en) Image processing method and apparatus using separate processing for pseudohalf tone area
US7319548B2 (en) Image processing device having functions for detecting specified images
US6137918A (en) Memory efficient method and apparatus to enable tagging of thin antialiased lines
CA2132248C (en) Apparatus and method for arbitrary binary resolution conversion
US7013050B2 (en) Image encoding apparatus and method, program code, and storage medium
JPH06133168A (en) Image processing method
JPH08235367A (en) Antialiasing method by gray masking technique
JPH08228282A (en) Processing method of document picture and binary picture picture element processor
US6144461A (en) Method for generating rendering tags to facilitate the printing of antialiased images
JP3176195B2 (en) Image processing device
EP0808490A1 (en) Enhancement of image resolution and contrast
US20010048771A1 (en) Image processing method and system for interpolation of resolution
JP2000196859A (en) Image processing method
WO1999053441A1 (en) Image data interpolating device, image data interpolating method, and medium on which image data interpolating program is recorded
JP3262425B2 (en) Image processing device
US6771392B1 (en) High resolution image mapping for simulating high resolution printing using high addressability without affecting halftone rendering
JP3539552B2 (en) Image processing device
JPH0793563A (en) Image processing device
JP3112316B2 (en) Image conversion method
JP2941288B2 (en) Image processing system
JP2003198843A (en) Reduced-buffer error diffusion
JP3815514B2 (en) High-speed pixel interpolation method and image processing apparatus for enlarged image
JP3054315B2 (en) Image processing method and apparatus
JP3078875B2 (en) Facsimile broadcasting signal processor