JP2002247343A - Image processing device, method therefor and storage medium - Google Patents

Image processing device, method therefor and storage medium

Info

Publication number
JP2002247343A
JP2002247343A JP2001046795A JP2001046795A JP2002247343A JP 2002247343 A JP2002247343 A JP 2002247343A JP 2001046795 A JP2001046795 A JP 2001046795A JP 2001046795 A JP2001046795 A JP 2001046795A JP 2002247343 A JP2002247343 A JP 2002247343A
Authority
JP
Japan
Prior art keywords
image
pixel
binary image
image processing
setting
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
Application number
JP2001046795A
Other languages
Japanese (ja)
Other versions
JP4378060B2 (en
JP2002247343A5 (en
Inventor
Toshihiro Miyamoto
智弘 宮本
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.)
Canon Inc
Canon Marketing Japan Inc
Original Assignee
Canon Inc
Canon Marketing Japan Inc
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 Canon Inc, Canon Marketing Japan Inc filed Critical Canon Inc
Priority to JP2001046795A priority Critical patent/JP4378060B2/en
Publication of JP2002247343A publication Critical patent/JP2002247343A/en
Publication of JP2002247343A5 publication Critical patent/JP2002247343A5/ja
Application granted granted Critical
Publication of JP4378060B2 publication Critical patent/JP4378060B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To remove moires in a multi-level image generated on the basis of a binary image. SOLUTION: A buffer region for the angle α for rotating a target block is determined by using a conversion table (S201), and a ratio (weight) of region where the buffer region and the block after rotating superimpose is calculated for each pixel (S202). Next, all the weights for the pixels each having value of 1 which are binary images corresponding to the buffer region are added (S203). Subsequently, an added value of weight S' in the case that a bit value k to be normalized, a maximum value of k bit and all the pixel values in the buffer region are 1 is specified from a table on the basis of the rotation angle α(S204), and an added value S is normalized using S' as the maximum value of the bit value k (S205). This normalized value is used as a pixel value in the buffer region (S206).

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、2値画像に基づいて多
値画像を生成する画像処理装置及びその方法並びに記憶
媒体に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus for generating a multivalued image based on a binary image, a method thereof, and a storage medium.

【0002】[0002]

【従来の技術】印刷業において、本番の印刷の前には試
し刷りを行う。この試し刷りは、本番の印刷を行う印刷
機と試し刷りを行う装置との解像度の違いやハードウェ
ア固有の色特性を原画像に対して補正する事で得られ
る。そして、原画像を試し刷りのために補正した結果
(プルーフ)には、試し刷りとしての充分な精度を保持
する必要がある。
2. Description of the Related Art In the printing industry, test printing is performed before actual printing. The test printing can be obtained by correcting a difference in resolution between a printing machine that performs actual printing and a device that performs test printing and color characteristics unique to hardware with respect to the original image. The result (proof) of correcting the original image for test printing needs to maintain sufficient accuracy as test printing.

【0003】また、網点を使用した二値画像印刷の試し
刷りを行う際、コストと時間の問題から、より安いコス
トでより短い時間でできる、二値多値変換を原画像に対
して行った画像を用いていた。そしてこの二値多値変換
の際、特定の1点に着目し、その近傍のn画素×n画素
の領域内の画素に対して、二値がONかOFFかを判定
し、ONの画素の比率をkビット(例えば8ビットなら
0〜255)で正規化して多値化していた。
[0003] Further, when trial printing of binary image printing using halftone dots is performed, due to the problem of cost and time, binary and multi-level conversion that can be performed at lower cost and in shorter time is performed on the original image. Image was used. At the time of this binary / multi-value conversion, attention is paid to a specific point, and it is determined whether or not the binary value is ON or OFF with respect to a pixel in an area of n pixels × n pixels in the vicinity thereof. The ratio is normalized by k bits (for example, 0 to 255 in the case of 8 bits) and multi-valued.

【0004】[0004]

【発明が解決すべき課題】しかし従来の技術では以下の
問題があった。
However, the prior art has the following problems.

【0005】1) 二値画像印刷で各色の網点を異なる
回転角で印刷する場合においては、従来技術では二値多
値変換した試し刷りにおいてモアレ(干渉縞)が生じて
しまい、試し刷りのプルーフとして充分な精度が得られ
ない。
[0005] 1) When halftone dots of each color are printed at different rotation angles in binary image printing, moire (interference fringes) is generated in a test print subjected to binary / multi-value conversion in the prior art, and the test print is not printed. Sufficient accuracy cannot be obtained as a proof.

【0006】2) モアレを防ぐために画像全体に対し
て回転処理を行ったり、画像の走査方向を変えて各色の
走査方向を合致させようとすると計算量が膨大になり、
実用的な時間で試し刷りを作成することができない。
2) If a rotation process is performed on the entire image in order to prevent moire, or if the scanning direction of the image is changed to match the scanning direction of each color, the amount of calculation becomes enormous,
Proofs cannot be created in practical time.

【0007】3) 計算量を少しでも削減するために
は、特定の1点の近傍において、n画素×n画素の領域
内の画素の二値がONかOFFかを判定する際、nを小
さくすると良い。しかし、元の画像が高解像度の場合は
それに応じてnも大きくする必要があるためnを小さく
できない。
[0007] 3) In order to reduce the amount of calculation as much as possible, in the vicinity of a specific point, when determining whether the binary value of a pixel in an area of n pixels × n pixels is ON or OFF, n is reduced. Good. However, if the original image has a high resolution, it is necessary to increase n accordingly, so that n cannot be reduced.

【0008】本発明は以上の問題に対して鑑みてなされ
たものであり、2値画像に基づいて生成される多値画像
のモアレの除去を行うことを目的とする。
The present invention has been made in view of the above problems, and has as its object to remove moiré from a multi-valued image generated based on a binary image.

【0009】[0009]

【課題を解決するための手段】本発明の目的を達成する
ために、例えば本発明の画像処理装置は以下の構成を備
える。すなわち、2値画像に基づいて多値画像を生成す
る画像処理装置であって、2値画像を所望のサイズを有
する方形状のブロックに分割する分割手段と、前記分割
手段により分割された注目ブロックを所望の角度回転さ
せ、回転後の当該注目ブロックを含む方形状の領域を設
定する領域設定手段と、前記領域設定手段による前記方
形状の領域と前記回転後の注目ブロックとが重なる割合
に応じて、前記方形状の領域に含まれる画素の画素値を
設定する画素値設定手段と、前記画素値設定手段による
画素値を有する前記方形の領域を用いて、多値画像を生
成する生成手段とを備える。
In order to achieve the object of the present invention, for example, an image processing apparatus of the present invention has the following arrangement. That is, an image processing apparatus that generates a multi-valued image based on a binary image, a dividing unit that divides the binary image into rectangular blocks having a desired size, and a target block that is divided by the dividing unit. Is rotated by a desired angle to set a rectangular area including the target block after rotation, and according to a ratio of the rectangular area and the target block after rotation by the area setting means overlapping with each other. A pixel value setting unit that sets a pixel value of a pixel included in the rectangular region; and a generating unit that generates a multi-valued image using the rectangular region having a pixel value by the pixel value setting unit. Is provided.

【0010】更に、2値画像を入力する入力手段と、前
記入力手段に入力された2値画像によって、前記入力手
段に当該2値画像を入力した対象に課金する課金手段と
を備える。
[0010] Further, there are provided input means for inputting a binary image, and charging means for charging, based on the binary image input to the input means, a target for inputting the binary image to the input means.

【0011】[0011]

【発明の実施の形態】以下添付図面に従って、本発明を
好適な実施形態に従って詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in detail according to preferred embodiments with reference to the accompanying drawings.

【0012】[第1の実施形態]本実施形態における画
像処理装置の概略構成を示すブロック図を図1に示す。
101はCPUで、RAM102やROM103に格納
されたプログラムコードやデータを用いて、画像処理装
置全体の制御を行ったり、後述する画像処理を行ったり
する。
[First Embodiment] FIG. 1 is a block diagram showing a schematic configuration of an image processing apparatus according to this embodiment.
A CPU 101 controls the entire image processing apparatus using the program codes and data stored in the RAM 102 and the ROM 103, and performs image processing to be described later.

【0013】102はRAMで、外部記憶装置104か
らロードしたプログラムコードやデータを一時記憶した
り、CPU101が処理を実行している際にワークエリ
アとして用いられる。
A RAM 102 temporarily stores program codes and data loaded from the external storage device 104, and is used as a work area when the CPU 101 is executing a process.

【0014】103はROMで、図3に示す制御手順を
実行する本画像処理装置全体の制御を行うプログラムコ
ードやデータを格納している。また、表示部105に文
字を表示するための文字コードなども格納している。
A ROM 103 stores program codes and data for controlling the entire image processing apparatus for executing the control procedure shown in FIG. Also, a character code for displaying characters on the display unit 105 is stored.

【0015】104は外部記憶装置で、CD−ROMや
フロッピー(登録商標)ディスクなどの記憶媒体からイ
ンストールされたプログラムコードやデータなどを保存
する。
An external storage device 104 stores program codes and data installed from a storage medium such as a CD-ROM or a floppy (registered trademark) disk.

【0016】105は表示部で、CRTや液晶画面など
により構成されており、ユーザに対して各種のシステム
メッセージを表示すると共に、後述する各種の画像処理
結果を表示することができる。
A display unit 105 includes a CRT and a liquid crystal display, and is capable of displaying various system messages to the user and displaying various image processing results described later.

【0017】106は、インターフェース部(I/F
部)で、他の機器との接続を図るためにのインターフェ
ースである。本実施形態では、本画像処理装置に画像を
入力する装置をこのI/F部106を介して接続する。
Reference numeral 106 denotes an interface unit (I / F)
Section) for connecting to other devices. In the present embodiment, a device for inputting an image to the image processing apparatus is connected via the I / F unit 106.

【0018】107は上述の各部を繋ぐバスである。Reference numeral 107 denotes a bus connecting the above-described units.

【0019】次に、以上の構成を有する本実施形態にお
ける画像処理装置が行う画像処理(モアレ除去処理)に
ついて、この画像処理のフローチャートを示す図2を参
照して以下説明する。なお、図3に示すとおり、元の2
値画像301はRAM112内の所定のエリアAに記憶され、
解像度に応じてn画素×n画素のブロック状の領域30
2(以下、ブロックと呼ぶ)に分割され、本フローチャ
ートは、一つのブロックに対する処理のフローチャート
であり、2値画像に基づいて生成され、且つモアレが除
去された多値画像を生成する際には、全てのブロックに
対して、図2に示すフローチャートに従った処理を実行
すればよい。また、以下の多値画像を生成する際には、
2値画像に対する上書きでなく、新たに生成する。
Next, image processing (moire removal processing) performed by the image processing apparatus according to the present embodiment having the above configuration will be described below with reference to FIG. 2 showing a flowchart of this image processing. In addition, as shown in FIG.
The value image 301 is stored in a predetermined area A in the RAM 112,
A block-shaped area 30 of n pixels × n pixels according to the resolution
2 (hereinafter, referred to as a block). This flowchart is a flowchart of a process for one block. The processing according to the flowchart shown in FIG. Also, when generating the following multi-valued image,
A new image is generated instead of overwriting a binary image.

【0020】まず、注目ブロックを回転させる角度αに
応じたバッファ領域(m画素×m画素のサイズ m>
n)RAM112の所定のエリアBを決める(ステップS20
1)。この回転角αは、外部の印刷装置(輪転機)によ
り一意に決まってしまう値である。また、バッファ領域
は、図4に示すとおり、n=4の場合、αだけ回転させ
た注目ブロック402を含む最小の方形領域(401)
であって、同図ではバッファ領域401のサイズは5×
5、つまり、m=5である。図5に、n、α、mそれぞ
れの関係について記載している変換テーブルを示す。回
転角αは上述の通り輪転機により一意に決まってしまう
が、具体的には図5に示すとおり、輪転機の解像度に応
じて決まる。なおこの変換テーブルはROM103に予
め格納されている。また、外部記憶装置104から読み
出してRAM102に格納しても良い。
First, a buffer area (the size of m pixels × m pixels m>
n) Determine a predetermined area B of the RAM 112 (Step S20)
1). The rotation angle α is a value uniquely determined by an external printing device (rotary press). As shown in FIG. 4, when n = 4, the buffer area is the smallest rectangular area (401) including the target block 402 rotated by α.
In this figure, the size of the buffer area 401 is 5 ×
5, that is, m = 5. FIG. 5 shows a conversion table describing the relationships among n, α, and m. Although the rotation angle α is uniquely determined by the rotary press as described above, specifically, as shown in FIG. 5, it is determined according to the resolution of the rotary press. This conversion table is stored in the ROM 103 in advance. Alternatively, the data may be read from the external storage device 104 and stored in the RAM 102.

【0021】次に、バッファ領域と注目ブロックとが重
なった領域の割合(重み)を画素毎に求める(ステップ
S202)。具体的には図4より、バッファ領域401
の各画素内で、色の付いた部分の割合を画素毎に求め
る。
Next, the ratio (weight) of the area where the buffer area and the block of interest overlap is obtained for each pixel (step S202). Specifically, from FIG.
In each pixel, the ratio of the colored portion is determined for each pixel.

【0022】求める方法を以下に説明する。この画素毎
の割合は、バッファ領域のサイズと回転角αが決まれば
一意に決まるものなので、予め作成しておいて、図6に
示すテーブル(重みテーブル)としてROM103、も
しくはRAM102に格納しておく。そして必要に応じ
て、このテーブルを用いて求めることができる。その結
果、画素毎の割合の計算を毎度バッファ領域毎に行うこ
と無く、全体の処理を高速化することができる。
The method for obtaining the value will be described below. Since the ratio for each pixel is uniquely determined when the size of the buffer area and the rotation angle α are determined, it is created in advance and stored in the ROM 103 or the RAM 102 as a table (weight table) shown in FIG. . Then, if necessary, it can be obtained using this table. As a result, the entire processing can be speeded up without having to calculate the ratio for each pixel for each buffer area.

【0023】重みテーブルの各要素は、図4に示したバ
ッファ領域の各画素に対応しており、重みテーブルの各
要素内の数値は、バッファ領域の画素毎に求めた上述の
割合である。同テーブルにおいて、100と記載された
要素に対応するバッファ領域401の画素は、注目ブロ
ック402と100%重なっており、バッファ領域40
1のこの画素は100%色が付いたブロックとなってい
る。一方、同テーブルにおいて、2と記載された要素に
対応するバッファ領域401の画素は、注目ブロック4
02と2%重なっており、バッファ領域401のこの画
素は2%と、わずかに色が付いた領域を含む。
Each element of the weight table corresponds to each pixel of the buffer area shown in FIG. 4, and the numerical value in each element of the weight table is the above-described ratio obtained for each pixel of the buffer area. In the same table, the pixels of the buffer area 401 corresponding to the elements described as 100 overlap the target block 402 by 100%, and
1 is a block with 100% color. On the other hand, in the same table, the pixels of the buffer area 401 corresponding to the element described as 2
02 and 2%, this pixel in buffer area 401 includes 2% and a slightly colored area.

【0024】次に、バッファ領域の各画素に対応する2
値画像を参照し、この画素の二値がONかOFFか(画
素値が1か0か)を判定する。そして、画素値が1の画
素に対応する重みを全て加算する。しかし実際の計算で
は、このバッファ領域の各画素に対応する2値画像の画
素値をP(i,j)(図7参照)、このバッファ領域の
各画素に対応する重みをa(i,j)とすると、以下の
式で計算できる(ステップS203)。なお、i,j
は、バッファ領域内の各画素値のインデックスである。
Next, 2 corresponding to each pixel in the buffer area
With reference to the value image, it is determined whether the binary value of this pixel is ON or OFF (pixel value is 1 or 0). Then, all the weights corresponding to the pixels having the pixel value of 1 are added. However, in the actual calculation, the pixel value of the binary image corresponding to each pixel in this buffer area is P (i, j) (see FIG. 7), and the weight corresponding to each pixel in this buffer area is a (i, j). ), It can be calculated by the following equation (step S203). Note that i, j
Is an index of each pixel value in the buffer area.

【0025】S=ΣΣa(i,j)×P(i,j) なお、この加算は各バッファ領域内での加算であって、
バッファ領域のサイズをm×mとすると、0≦i≦m、
0≦j≦mである。又、以下ΣΣを0≦i≦m、0≦j
≦mにおける範囲内の加算とする。
S = ΣΣa (i, j) × P (i, j) This addition is an addition in each buffer area, and
If the size of the buffer area is m × m, 0 ≦ i ≦ m,
0 ≦ j ≦ m. Also, the following ΣΣ is defined as 0 ≦ i ≦ m, 0 ≦ j
Addition within the range of ≦ m.

【0026】そしてこの加算値Sをkビットで正規化す
る。ここでk=8とすると、Sのとる値の範囲は0≦S
≦255となる。ここで、バッファ領域内の全ての画素
値が1であった場合の加算値S'(=ΣΣa(i,
j))が、上記の正規化では255に対応するので、正
規化するビット値k、kビットの最大値、加算値S'
を、回転角αに基づいて図5に示したテーブルから特定
し(ステップS204)、その後に、加算値Sの正規化
後の値Cは以下のように計算できる(ステップS20
5)。
The sum S is normalized by k bits. If k = 8, the range of values of S is 0 ≦ S
≤ 255. Here, the added value S ′ (= ΣΣa (i, i) when all the pixel values in the buffer area are 1
j)) corresponds to 255 in the above normalization, so that the bit value k to be normalized, the maximum value of the k bits, and the added value S ′
Is specified from the table shown in FIG. 5 based on the rotation angle α (step S204), and the normalized value C of the added value S can be calculated as follows (step S20).
5).

【0027】C=255×S/S' なおこの式ではk=8とした場合の式である。C = 255 × S / S ′ Note that this equation is an equation when k = 8.

【0028】よってこの値Cをバッファ領域内の全ての
画素値とする(ステップS206)。
Thus, the value C is set as all the pixel values in the buffer area (step S206).

【0029】以上のフローチャートに従った処理の結
果、生成されるバッファ領域内の画像を図8に示すとお
りに並べ、多値画像を生成する。
As a result of the processing according to the above flowchart, the images in the buffer area generated are arranged as shown in FIG. 8 to generate a multi-valued image.

【0030】同図において、801a、802a、80
3aは2値画像におけるブロックであり、801b、8
02b、803bは領域バッファである。ブロックに比
べて領域バッファは縦横の画素数が大きい為に、重なら
ずに隣接して並べると、2値画像よりも多値画像の方が
大きい画像となってしまう。よって同図の通り、バッフ
ァ領域をブロックよりも大きい分に応じて重ねて多値画
像を生成する。
In the figure, 801a, 802a, 80
3a is a block in the binary image, and 801b, 8
02b and 803b are area buffers. Since the area buffer has a larger number of vertical and horizontal pixels than the block, if the area buffer is arranged adjacently without overlapping, the multi-valued image will be larger than the binary image. Therefore, as shown in the figure, a multi-valued image is generated by overlapping the buffer area according to the size larger than the block.

【0031】以上の説明により、本実施形態における画
像処理装置及びその方法は、2値画像に基づいて生成さ
れる多値画像のモアレ除去の処理において、ブロック毎
の回転計算を行うが、その際、回転後のブロックとバッ
ファ領域とが重なる領域の割合を各画素毎に計算する
際、テーブルを用いて計算するので、全体としての処理
速度を向上することができる。
As described above, the image processing apparatus and the image processing method according to the present embodiment perform the rotation calculation for each block in the moire removal processing of the multi-valued image generated based on the binary image. When calculating the ratio of the area where the rotated block and the buffer area overlap each other for each pixel, the calculation is performed using the table, so that the overall processing speed can be improved.

【0032】又、重なる領域内で、更に2値画像におけ
る画素値が1である画素の数に応じてバッファ領域の色
を決定することから、この色の決定に網点の方向は関係
なく、モアレを除去することができる。
In the overlapping area, the color of the buffer area is further determined according to the number of pixels having a pixel value of 1 in the binary image. Therefore, the direction of the halftone dot does not affect the determination of this color. Moire can be removed.

【0033】なお図2に示されたフローチャートに従っ
たプログラムコードは、RAM102内に格納され、C
PU101により読み出され、実行される。
The program code according to the flowchart shown in FIG. 2 is stored in the RAM 102,
It is read and executed by the PU 101.

【0034】[第2の実施形態]第1の実施形態で示し
た画像処理装置及び方法は、試し刷りのための画像を生
成する装置及び方法であった。この装置をサーバとして
所定の位置に配置し、I/F部106を介して複数の依
頼者のコンピュータを接続することで、各依頼者が2値
画像をサーバに送信することで、サーバはこの依頼者か
ら受信した2値画像に基づいて図2に示したフローチャ
ートに従った処理による多値画像を送信するサービスを
行うシステムを構築することができる。
[Second Embodiment] The image processing apparatus and method described in the first embodiment is an apparatus and method for generating an image for test printing. This apparatus is arranged at a predetermined position as a server, and by connecting computers of a plurality of requesters via the I / F unit 106, each requester transmits a binary image to the server. Based on the binary image received from the requester, it is possible to construct a system for providing a service for transmitting a multivalued image by processing according to the flowchart shown in FIG.

【0035】また、このサービスを受けた依頼者に対し
て、一定の料金体系に従った課金を行うこともできる。
It is also possible to charge a client who has received this service according to a fixed fee system.

【0036】以上のシステムの概略構成を図9に示す。FIG. 9 shows a schematic configuration of the above system.

【0037】同図では、本実施形態をわかりやすくする
ために、依頼者のコンピュータが1台だけサーバに接続
された例を示すが、本実施形態がこれに限ったものでは
なく、複数の依頼者に対しても適用可能であることは以
下の説明により明白である。
FIG. 3 shows an example in which only one client computer is connected to the server in order to make the present embodiment easy to understand, but the present embodiment is not limited to this, It is clear from the following description that the present invention can be applied to a person.

【0038】サーバ903内の不図示のメモリ内には図
2に示されたフローチャートに従ったプログラムコード
が格納されており、依頼者のコンピュータ901からイ
ンターネット902を介して送信されてきた2値画像デ
ータに対して、サーバ903内に格納された上述のプロ
グラムコードにより第1の実施形態で説明した各種の処
理が行われ、多値画像が生成される。そしてサーバ90
3は、この多値画像を再度、インターネット902を介
して依頼者のコンピュータ901に送信する。
A program code according to the flowchart shown in FIG. 2 is stored in a memory (not shown) in the server 903, and the binary image transmitted from the client computer 901 via the Internet 902. Various processes described in the first embodiment are performed on the data by the above-described program code stored in the server 903, and a multi-value image is generated. And the server 90
3 transmits the multi-valued image to the client computer 901 again via the Internet 902.

【0039】また、この依頼者に対して多値画像を生成
するための課金を行う場合には、サーバ903は例えば
送信されてきた2値画像の数に応じて、この2値画像を
送信したコンピュータ901に対して、料金と共に、こ
の料金の支払いを促す文章が記載されたメールを送信す
る。なお、2値画像の数以外にも例えば、コンピュータ
901から送信されてきた2値画像のデータ量に応じて
課金しても良い。
When charging the client for generating a multi-valued image, the server 903 transmits the binary image according to the number of the transmitted binary images, for example. An e-mail is sent to the computer 901 together with the charge, and a text prompting the user to pay the charge. Note that, in addition to the number of binary images, for example, a fee may be charged according to the data amount of the binary image transmitted from the computer 901.

【0040】[他の実施形態]なお、本発明は、複数の
機器(例えばホストコンピュータ、インタフェイス機
器、リーダ、プリンタなど)から構成されるシステムに
適用しても、一つの機器からなる装置(例えば、複写
機、ファクシミリ装置など)に適用してもよい。
[Other Embodiments] Even if the present invention is applied to a system composed of a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), an apparatus (one device) For example, the present invention may be applied to a copying machine, a facsimile machine, and the like.

【0041】また、本発明の目的は、前述した実施形態
の機能を実現するソフトウェアのプログラムコードを記
録した記憶媒体(または記録媒体)を、システムあるい
は装置に供給し、そのシステムあるいは装置のコンピュ
ータ(またはCPUやMPU)が記憶媒体に格納された
プログラムコードを読み出し実行することによっても、
達成されることは言うまでもない。この場合、記憶媒体
から読み出されたプログラムコード自体が前述した実施
形態の機能を実現することになり、そのプログラムコー
ドを記憶した記憶媒体は本発明を構成することになる。
また、コンピュータが読み出したプログラムコードを実
行することにより、前述した実施形態の機能が実現され
るだけでなく、そのプログラムコードの指示に基づき、
コンピュータ上で稼働しているオペレーティングシステ
ム(OS)などが実際の処理の一部または全部を行い、
その処理によって前述した実施形態の機能が実現される
場合も含まれることは言うまでもない。
Another object of the present invention is to supply a storage medium (or a recording medium) recording software program codes for realizing the functions of the above-described embodiments to a system or an apparatus, and to provide a computer (a computer) of the system or the apparatus. Or a CPU or MPU) reads out and executes the program code stored in the storage medium,
It goes without saying that this is achieved. In this case, the program code itself read from the storage medium implements the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention.
In addition, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also based on the instructions of the program code,
The operating system (OS) running on the computer performs part or all of the actual processing,
It goes without saying that a case where the function of the above-described embodiment is realized by the processing is also included.

【0042】さらに、記憶媒体から読み出されたプログ
ラムコードが、コンピュータに挿入された機能拡張カー
ドやコンピュータに接続された機能拡張ユニットに備わ
るメモリに書込まれた後、そのプログラムコードの指示
に基づき、その機能拡張カードや機能拡張ユニットに備
わるCPUなどが実際の処理の一部または全部を行い、
その処理によって前述した実施形態の機能が実現される
場合も含まれることは言うまでもない。
Further, after the program code read from the storage medium is written into the memory provided in the function expansion card inserted into the computer or the function expansion unit connected to the computer, the program code is read based on the instruction of the program code. , The CPU provided in the function expansion card or the function expansion unit performs part or all of the actual processing,
It goes without saying that a case where the function of the above-described embodiment is realized by the processing is also included.

【0043】本発明を上記記憶媒体に適用する場合、そ
の記憶媒体には、先に説明した(図2に示す)フローチ
ャートに対応するプログラムコードが格納されることに
なる。
When the present invention is applied to the storage medium, the storage medium stores program codes corresponding to the above-described flowchart (shown in FIG. 2).

【0044】[0044]

【発明の効果】以上の説明により本発明によれば、2値
画像に基づいて生成される多値画像のモアレの除去を行
うことができる。
As described above, according to the present invention, moire can be removed from a multi-value image generated based on a binary image.

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

【図1】本発明の第1の実施形態における画像処理装置
の概略構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a schematic configuration of an image processing apparatus according to a first embodiment of the present invention.

【図2】本発明の第1の実施形態における画像処理装置
が行う画像処理のフローチャートである。
FIG. 2 is a flowchart of image processing performed by the image processing apparatus according to the first embodiment of the present invention.

【図3】2値画像301の解像度に応じたn×nの方形
状の領域を示す図である。
FIG. 3 is a diagram showing an n × n rectangular area according to the resolution of a binary image 301;

【図4】バッファ領域と注目ブロックとの重なりを画素
毎に示す図である。
FIG. 4 is a diagram showing an overlap between a buffer area and a block of interest for each pixel.

【図5】変換テーブルを示す図である。FIG. 5 is a diagram showing a conversion table.

【図6】バッファ領域を構成する各画素と注目ブロック
とが重なっている割合が記載されたテーブルを示す図で
ある。
FIG. 6 is a diagram showing a table in which the ratio of each pixel constituting a buffer area and the target block overlaps.

【図7】P(i,j)を示す図である。FIG. 7 is a diagram showing P (i, j).

【図8】バッファ領域内の画像を並べる方法を説明する
図である。
FIG. 8 is a diagram illustrating a method of arranging images in a buffer area.

【図9】本発明の第2の実施形態におけるシステムの概
略構成を示す図である。
FIG. 9 is a diagram illustrating a schematic configuration of a system according to a second embodiment of the present invention.

Claims (15)

【特許請求の範囲】[Claims] 【請求項1】 2値画像に基づいて多値画像を生成する
画像処理装置であって、 2値画像を所望のサイズを有する方形状のブロックに分
割する分割手段と、 前記分割手段により分割された注目ブロックを所望の角
度回転させ、回転後の当該注目ブロックを含む方形状の
領域を設定する領域設定手段と、 前記領域設定手段による前記方形状の領域と前記回転後
の注目ブロックとが重なる割合に応じて、前記方形状の
領域に含まれる画素の画素値を設定する画素値設定手段
と、 前記画素値設定手段による画素値を有する前記方形の領
域を用いて、多値画像を生成する生成手段とを備えるこ
とを特徴とする画像処理装置。
An image processing apparatus for generating a multi-valued image based on a binary image, comprising: a dividing unit that divides the binary image into rectangular blocks having a desired size; Area setting means for rotating the target block by a desired angle, and setting a rectangular area including the target block after rotation, and the rectangular area by the area setting means and the target block after rotation overlap with each other. A pixel value setting unit that sets a pixel value of a pixel included in the rectangular region according to the ratio, and a multi-valued image is generated using the rectangular region having a pixel value by the pixel value setting unit. An image processing apparatus comprising: a generation unit.
【請求項2】 更に、2値画像を入力する入力手段と、 前記入力手段に入力された2値画像によって、前記入力
手段に当該2値画像を入力した対象に課金する課金手段
とを備えることを特徴とする請求項1に記載の画像処理
装置。
2. An input unit for inputting a binary image, and a charging unit for charging a target to which the binary image has been input to the input unit based on the binary image input to the input unit. The image processing apparatus according to claim 1, wherein:
【請求項3】 前記設定手段は、前記注目ブロックのサ
イズと前記所望の角度に応じて、前記方形状の領域を設
定することを特徴とする請求項1又は2に記載の画像処
理装置。
3. The image processing apparatus according to claim 1, wherein the setting unit sets the rectangular area according to a size of the block of interest and the desired angle.
【請求項4】 前記設定手段は、前記注目ブロックのサ
イズと前記所望の角度に応じた、前記方形状の領域のサ
イズが記載されたテーブルを用いて前記方形状の領域を
設定することを特徴とする請求項3に記載の画像処理装
置。
4. The method according to claim 1, wherein the setting unit sets the rectangular area using a table in which the size of the rectangular area according to the size of the block of interest and the desired angle is described. The image processing device according to claim 3.
【請求項5】 前記画素値設定手段は、前記方形状の領
域を構成する画素のうち有効な画素と、前記回転後の注
目ブロックとが重なる割合の総和値を算出する算出手段
を更に備え、 前記算出手段による前記総和値に基づいて、前記方形状
の領域に含まれる画素の画素値を設定することを特徴と
する請求項1乃至4のいずれか1項に記載の画像処理装
置。
5. The image processing apparatus according to claim 1, wherein the pixel value setting unit further includes a calculating unit configured to calculate a total value of a ratio of an effective pixel among pixels forming the rectangular area and the target block after the rotation. The image processing apparatus according to claim 1, wherein a pixel value of a pixel included in the rectangular area is set based on the total value by the calculation unit.
【請求項6】 前記有効な画素は、2値画像においてビ
ット値が1での画素であることを特徴とする請求項5に
記載の画像処理装置。
6. The image processing apparatus according to claim 5, wherein the valid pixel is a pixel having a bit value of 1 in a binary image.
【請求項7】 前記算出手段は、前記方形状の領域を構
成する画素と前記回転後の注目ブロックとが重なる割合
を、画素毎に記載したテーブルを用いて前記総和値を算
出することを特徴とする請求項5又は6に記載の画像処
理装置。
7. The method according to claim 1, wherein the calculating unit calculates the sum of the overlapping ratio of the pixel constituting the rectangular area and the target block after the rotation using a table for each pixel. The image processing apparatus according to claim 5 or 6, wherein
【請求項8】 前記所望のサイズは、前記2値画像の解
像度に基づいて決定されることを特徴とする請求項1又
は2に記載の画像処理装置。
8. The image processing apparatus according to claim 1, wherein the desired size is determined based on a resolution of the binary image.
【請求項9】 前記生成手段は、前記方形状の領域と前
記注目ブロックとのサイズの違いに応じて、前記方形状
の領域を重ねて並べることで、前記多値画像を生成する
ことを特徴とする請求項1又は2に記載の画像処理装
置。
9. The multi-valued image is generated by superposing and arranging the rectangular areas according to a difference in size between the rectangular area and the block of interest. The image processing device according to claim 1.
【請求項10】 2値画像に基づいて多値画像を生成す
る画像処理方法であって、 2値画像を所望のサイズを有する方形状のブロックに分
割する分割工程と、 前記分割工程により分割された注目ブロックを所望の角
度回転させ、回転後の当該注目ブロックを含む方形状の
領域を設定する領域設定工程と、 前記領域設定工程による前記方形状の領域と前記回転後
の注目ブロックとが重なる割合に応じて、前記方形状の
領域に含まれる画素の画素値を設定する画素値設定工程
と、 前記画素値設定工程による画素値を有する前記方形の領
域を用いて、多値画像を生成する生成工程とを備えるこ
とを特徴とする画像処理方法。
10. An image processing method for generating a multi-valued image based on a binary image, comprising: a dividing step of dividing the binary image into rectangular blocks having a desired size; An area setting step of rotating the target block by a desired angle and setting a rectangular area including the target block after rotation, and the rectangular area in the area setting step and the target block after rotation overlap with each other. A pixel value setting step of setting a pixel value of a pixel included in the rectangular area according to the ratio, and a multi-valued image is generated using the rectangular area having a pixel value obtained in the pixel value setting step. An image processing method comprising: a generating step.
【請求項11】 更に、2値画像を所定の入力手段を介
して入力する入力工程と、 前記所定の入力手段に入力された2値画像によって、前
記所定の入力手段に当該2値画像を入力した対象に課金
する課金工程とを備えることを特徴とする請求項10に
記載の画像処理方法。
11. An input step of inputting a binary image via predetermined input means, and inputting the binary image to the predetermined input means by a binary image input to the predetermined input means. 11. The image processing method according to claim 10, further comprising a charging step of charging the target.
【請求項12】 2値画像に基づいて多値画像を生成す
る画像処理装置として機能するプログラムコードを格納
する記憶媒体であって、 2値画像を所望のサイズを有する方形状のブロックに分
割する分割工程のプログラムコードと、 前記分割工程により分割された注目ブロックを所望の角
度回転させ、回転後の当該注目ブロックを含む方形状の
領域を設定する領域設定工程のプログラムコードと、 前記領域設定工程による前記方形状の領域と前記回転後
の注目ブロックとが重なる割合に応じて、前記方形状の
領域に含まれる画素の画素値を設定する画素値設定工程
のプログラムコードと、 前記画素値設定工程による画素値を有する前記方形の領
域を用いて、多値画像を生成する生成工程のプログラム
コードとを備えることを特徴とする記憶媒体。
12. A storage medium for storing a program code functioning as an image processing device for generating a multi-valued image based on a binary image, wherein the binary image is divided into rectangular blocks having a desired size. Program code for a dividing step, program code for an area setting step of rotating the target block divided by the dividing step by a desired angle, and setting a rectangular area including the target block after rotation, and the area setting step A program value of a pixel value setting step of setting a pixel value of a pixel included in the rectangular area according to an overlapping ratio of the square area and the block of interest after the rotation. A program code for generating a multi-valued image using the rectangular area having pixel values according to Body.
【請求項13】 更に、2値画像を所定の入力手段を介
して入力する入力工程のプログラムコードと、 前記所定の入力手段に入力された2値画像によって、前
記所定の入力手段に当該2値画像を入力した対象に課金
する課金工程のプログラムコードとを備えることを特徴
とする請求項12に記載の記憶媒体。
13. The binary code input to the predetermined input means by a program code of an input step of inputting a binary image through a predetermined input means, and the binary image input to the predetermined input means. 13. The storage medium according to claim 12, further comprising: a program code of a charging process for charging an object to which an image is input.
【請求項14】 2値画像に基づいて多値画像を生成す
る機能を持ったプログラムであって、 2値画像を所望のサイズを有する方形状のブロックに分
割する分割工程のプログラムと、 前記分割工程により分割された注目ブロックを所望の角
度回転させ、回転後の当該注目ブロックを含む方形状の
領域を設定する領域設定工程のプログラムと、 前記領域設定工程による前記方形状の領域と前記回転後
の注目ブロックとが重なる割合に応じて、前記方形状の
領域に含まれる画素の画素値を設定する画素値設定工程
のプログラムと、 前記画素値設定工程による画素値を有する前記方形の領
域を用いて、多値画像を生成する生成工程のプログラム
とを備えることを特徴とするプログラム。
14. A program having a function of generating a multi-valued image based on a binary image, comprising: a program of a dividing step of dividing the binary image into rectangular blocks having a desired size; A program of an area setting step of rotating the block of interest divided by the step by a desired angle and setting a square area including the block of interest after rotation; A program of a pixel value setting step of setting a pixel value of a pixel included in the rectangular area according to a ratio at which the target block overlaps, and using the rectangular area having a pixel value in the pixel value setting step And a program for generating a multi-valued image.
【請求項15】 更に、2値画像を所定の入力手段を介
して入力する入力工程のプログラムと、 前記所定の入力手段に入力された2値画像によって、前
記所定の入力手段に当該2値画像を入力した対象に課金
する課金工程のプログラムとを備えることを特徴とする
請求項14に記載のプログラム。
15. A program for an inputting step of inputting a binary image via a predetermined input means, and a binary image input to the predetermined input means, the binary image being input to the predetermined input means. 15. The program according to claim 14, further comprising: a program for a charging process for charging a target to which is input.
JP2001046795A 2001-02-22 2001-02-22 Image processing apparatus and method, and storage medium Expired - Lifetime JP4378060B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001046795A JP4378060B2 (en) 2001-02-22 2001-02-22 Image processing apparatus and method, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001046795A JP4378060B2 (en) 2001-02-22 2001-02-22 Image processing apparatus and method, and storage medium

Publications (3)

Publication Number Publication Date
JP2002247343A true JP2002247343A (en) 2002-08-30
JP2002247343A5 JP2002247343A5 (en) 2008-04-10
JP4378060B2 JP4378060B2 (en) 2009-12-02

Family

ID=18908350

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001046795A Expired - Lifetime JP4378060B2 (en) 2001-02-22 2001-02-22 Image processing apparatus and method, and storage medium

Country Status (1)

Country Link
JP (1) JP4378060B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007080001A (en) * 2005-09-14 2007-03-29 Ricoh Co Ltd Image processor
CN109496326A (en) * 2017-12-29 2019-03-19 深圳配天智能技术研究院有限公司 A kind of image processing method, equipment and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007080001A (en) * 2005-09-14 2007-03-29 Ricoh Co Ltd Image processor
CN109496326A (en) * 2017-12-29 2019-03-19 深圳配天智能技术研究院有限公司 A kind of image processing method, equipment and system
CN109496326B (en) * 2017-12-29 2023-06-02 深圳配天智能技术研究院有限公司 Image processing method, device and system

Also Published As

Publication number Publication date
JP4378060B2 (en) 2009-12-02

Similar Documents

Publication Publication Date Title
EP2093708B1 (en) Rendering apparatus, rendering method, and storage medium
JPH07262360A (en) Device and method for image processing
JP4133369B2 (en) Image processing apparatus, method, and program
CN104902137A (en) Image processing apparatus, image forming apparatus, image processing method, and storage medium
CN100444195C (en) Image forming apparatus, image output apparatus, image processing method
EP0575134B1 (en) Method and apparatus for printing according to a graphic language
US20090279141A1 (en) Method and apparatus for image processing, and computer program product
US7072866B1 (en) Charge calculation apparatus and method
JP2002247343A (en) Image processing device, method therefor and storage medium
JP2007021905A (en) Printing support device/method and program
JP3098664B2 (en) Printing equipment
JPH07334672A (en) Picture processor
CN102566353A (en) Image forming apparatus and image forming method
JP3805082B2 (en) Image processing system and image processing apparatus
JP4010386B2 (en) Image forming apparatus
JP2878094B2 (en) Printing equipment
JP2007081886A (en) Drawing processing apparatus
JP3060569B2 (en) Printing equipment
JP2004050606A (en) Image processing apparatus and image processing method
US20030028795A1 (en) Information processing apparatus, network system, information outputting method, storing medium and program
JP3098530B2 (en) Digital copier
JPH086739A (en) Image processor, image processing system, and image processing system
JP2004102989A (en) Image processing system, image processing method, and medium recording image processing module
JP3059577B2 (en) Print data generation method, printer controller and printer
JP2005085106A (en) Charging management device

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080222

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080222

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090828

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090904

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090914

R150 Certificate of patent or registration of utility model

Ref document number: 4378060

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120918

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120918

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130918

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term