JP2013191044A - Image processing device and image processing method - Google Patents

Image processing device and image processing method Download PDF

Info

Publication number
JP2013191044A
JP2013191044A JP2012057233A JP2012057233A JP2013191044A JP 2013191044 A JP2013191044 A JP 2013191044A JP 2012057233 A JP2012057233 A JP 2012057233A JP 2012057233 A JP2012057233 A JP 2012057233A JP 2013191044 A JP2013191044 A JP 2013191044A
Authority
JP
Japan
Prior art keywords
monochrome
color
rasterization
vector
unit
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
JP2012057233A
Other languages
Japanese (ja)
Other versions
JP5929351B2 (en
Inventor
Koichi Ishii
功一 石井
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2012057233A priority Critical patent/JP5929351B2/en
Publication of JP2013191044A publication Critical patent/JP2013191044A/en
Application granted granted Critical
Publication of JP5929351B2 publication Critical patent/JP5929351B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To perform rasterization processing of monochrome vector image data at a high speed.SOLUTION: A determination section 2 divides monochrome vector layers constituting vector image data in units of a number of channels of colors, outputs division results to an allocation section 3 and outputs monochrome vector layers left as a remainder as a result of division to a monochrome rasterization section 41. The allocation section 3 allocates the monochrome vector layers input from the determination section 2 to each channel of colors and generates one color vector layer. The color rasterization section 42 converts the color vector layer generated by the allocation section 3 to color raster data. A separation section 5 separates the color raster data converted by the color rasterization section 42 for each channel and generates a plurality of pieces of monochrome raster data. The monochrome rasterization section 41 converts the monochrome vector layers input from the determination section 2 to the monochrome raster data.

Description

本発明は、ラスタライズ処理を行う画像処理装置、及び画像処理方法に関する。   The present invention relates to an image processing apparatus and an image processing method for performing rasterization processing.

ベクターデータは、直線や曲線などの組み合わせにより画像を記述したデータである。このベクターデータを印刷する際には、ビットマップ表現により画像を記述したラスターデータに変換している。
一方、特許文献1には、印刷時間を短縮するために、データ転送時間の短縮を行うことが記載されている。
Vector data is data describing an image by a combination of straight lines and curves. When this vector data is printed, it is converted into raster data describing an image by bitmap representation.
On the other hand, Patent Document 1 describes that the data transfer time is shortened in order to shorten the printing time.

特開2005−252361号公報JP 2005-252361 A

図10は、従来の画像処理装置の処理概要を示す図である。同図に示すように、従来の画像処理装置は、モノクロベクターデータをモノクロラスターデータに変換するモノクロ用ラスタライズ処理機能と、カラーベクターデータをカラーラスターデータに変換するカラー用ラスタライズ処理機能を有している。ラスタライズ処理対象のベクトル画像データを構成する各レイヤがそれぞれモノクロベクターデータである場合、従来の画像処理装置は、各レイヤのモノクロベクターデータであるモノクロベクターレイヤそれぞれについて順次モノクロ用ラスタライズ処理を行なっていた。例えば、ベクトル画像データが5つのモノクロベクターレイヤからなる場合、従来の画像処理装置はモノクロ用ラスタライズ処理を5回行う。そのため、モノクロベクターレイヤ数の増加に比例してラスタライズ時間が増加し、印刷時間も増加してしまうという問題がある。また、近年、画像の解像度が高くなってきているとともに、サイズの大きな画像も増えてきている。高解像度印刷やサイズの大きな印刷になるほどラスタライズ処理対象のデータ量が増加し、ラスタライズ処理時間は長くなる。このようなことから、ラスタライズ処理にかかる時間を短縮したいという要望があるが、特許文献1のように通信時間の短縮だけでは不十分である。   FIG. 10 is a diagram showing an outline of processing of a conventional image processing apparatus. As shown in the figure, the conventional image processing apparatus has a monochrome rasterization processing function for converting monochrome vector data into monochrome raster data, and a color rasterization processing function for converting color vector data into color raster data. Yes. When each layer constituting vector image data to be rasterized is monochrome vector data, the conventional image processing apparatus sequentially performs monochrome rasterization processing for each monochrome vector layer that is monochrome vector data of each layer. . For example, when the vector image data is composed of five monochrome vector layers, the conventional image processing apparatus performs monochrome rasterization processing five times. Therefore, there is a problem that the rasterization time increases in proportion to the increase in the number of monochrome vector layers, and the printing time also increases. In recent years, the resolution of images has increased and the number of large images has also increased. The higher the resolution and the larger the size of the print, the larger the amount of data to be rasterized and the longer the rasterization processing time. For this reason, there is a desire to reduce the time required for rasterization processing, but it is not sufficient to reduce the communication time as in Patent Document 1.

本発明は上記問題に鑑みてなされたものであり、ベクトル画像データのラスタライズ処理を高速に行う画像処理装置、及び画像処理方法を提供する。   The present invention has been made in view of the above problems, and provides an image processing apparatus and an image processing method for performing rasterization processing of vector image data at high speed.

上述した課題を解決するために、本発明は、画像データを構成する複数のモノクロベクターレイヤそれぞれをカラーの各チャネルに割り当てて1つのカラーベクターレイヤを生成する割当部と、前記割当部が生成した前記カラーベクターレイヤをカラーラスターデータに変換するカラー用ラスタライズ部と、前記カラー用ラスタライズ部が変換した前記カラーラスターデータをチャネル毎に分離して前記複数のモノクロベクターレイヤに対応したモノクロラスターデータを生成する分離部と、を備えることを特徴とする画像処理装置である。
上記発明によれば、画像処理装置は、画像データを構成する複数のモノクロベクターレイヤをそれぞれカラーの各チャネルに割り当てて1つのカラーベクターレイヤを生成する。そして、画像処理装置は、生成したカラーベクターレイヤのカラーラスタライズ処理を行い、得られたカラーラスターデータをチャネル毎に分離して各モノクロベクターレイヤについてのモノクロラスターデータを生成する。
これにより、画像処理装置は、ベクトル画像データを構成する複数のモノクロベクターレイヤをカラーラスタライズ処理のカラーのチャネル数分まとめてラスタライズ処理することができる。よって、モノクロのベクトル画像データのラスタライズ処理を高速に行うことができる。
In order to solve the above-described problem, the present invention assigns each of a plurality of monochrome vector layers constituting image data to each color channel to generate one color vector layer, and the assignment unit generates A color rasterization unit for converting the color vector layer into color raster data, and the color raster data converted by the color rasterization unit are separated for each channel to generate monochrome raster data corresponding to the plurality of monochrome vector layers. An image processing apparatus.
According to the above invention, the image processing apparatus generates a single color vector layer by assigning a plurality of monochrome vector layers constituting image data to each color channel. Then, the image processing apparatus performs color rasterization processing of the generated color vector layer, separates the obtained color raster data for each channel, and generates monochrome raster data for each monochrome vector layer.
Accordingly, the image processing apparatus can collectively rasterize a plurality of monochrome vector layers constituting the vector image data by the number of color channels in the color rasterization process. Thus, rasterization processing of monochrome vector image data can be performed at high speed.

また、本発明は、上述する画像処理装置であって、モノクロベクターレイヤをモノクロラスターデータに変換するモノクロ用ラスタライズ部と、前記画像データを構成するモノクロベクターレイヤを前記カラー用ラスタライズ部のチャネル数単位に分割して前記割当部に出力し、分割の結果余った前記モノクロベクターレイヤを前記モノクロ用ラスタライズ部に出力する判断部とをさらに備える、ことを特徴とする。
上記発明によれば、画像処理装置は、画像データを構成するモノクロベクターレイヤをカラーのチャネル数ずつまとめてカラー用ラスタライズ処理する。そして、画像処理装置は、チャネル数ずつまとめた結果、余った残りのモノクロベクターレイヤについては、モノクロ用ラスタライズ処理する。
これにより、ベクトル画像データを構成するモノクロベクターレイヤがカラーのチャネル数の倍数ではない場合でも、画像処理装置は、カラー用ラスタライズ処理をできるだけ多く利用して高速にラスタライズ処理を行うことができる。
The present invention is also an image processing apparatus as described above, wherein a monochrome rasterizing unit that converts a monochrome vector layer into monochrome raster data, and a monochrome vector layer that constitutes the image data is a channel number unit of the color rasterizing unit. And a determination unit for outputting the monochrome vector layer remaining as a result of the division to the monochrome rasterization unit.
According to the above invention, the image processing apparatus performs color rasterization processing on the monochrome vector layers constituting the image data for each color channel. Then, as a result of collecting the number of channels, the image processing apparatus performs monochrome rasterization processing for the remaining monochrome vector layers.
As a result, even when the monochrome vector layer constituting the vector image data is not a multiple of the number of color channels, the image processing apparatus can perform rasterization processing at high speed by using as much color rasterization processing as possible.

また、本発明は、上述する画像処理装置であって、チャネル数の異なるカラー用ラスタライズ部を複数備え、前記判断部は、前記画像データを構成するモノクロベクターレイヤを、最も大きな前記チャネル数単位に分割して前記割当部に出力し、分割の結果余った前記モノクロベクターレイヤを次に大きなチャネル数単位に分割して前記割当部に出力することを繰り返し、最も小さい前記チャネル数単位の分割の結果余った前記モノクロベクターレイヤを前記モノクロ用ラスタライズ部に出力する、ことを特徴とする。
上記発明によれば、画像処理装置にチャネル数が異なるカラー用ラスタライズ部が複数備えられている場合、チャネル数が大きなカラー用ラスタライズ部を優先して利用する。
これにより、画像処理装置は、1つのベクトル画像データについてラスタライズ処理の実行回数をできるだけ少なくし、高速にラスタライズ処理を行うことができる。
Further, the present invention is the above-described image processing apparatus, comprising a plurality of color rasterizing units having different numbers of channels, wherein the determining unit assigns a monochrome vector layer constituting the image data to the largest number of channels. Dividing and outputting to the allocating unit, dividing the monochrome vector layer remaining as a result of the division into units of the next largest number of channels and outputting to the allocating unit are repeated, and the result of division of the smallest unit of the number of channels The surplus monochrome vector layer is output to the monochrome rasterization unit.
According to the above invention, when the image processing apparatus is provided with a plurality of color rasterization units having different numbers of channels, the color rasterization unit having a large number of channels is used preferentially.
As a result, the image processing apparatus can perform rasterization processing at high speed by reducing the number of times of rasterization processing for one vector image data as much as possible.

また、本発明は、上述する画像処理装置であって、前記カラー用ラスタライズ部による変換処理は、前記モノクロ用ラスタライズ部による変換処理を前記チャネル数だけ実行するよりも早い、ことを特徴とする。
上記発明によれば、画像処理装置は、モノクロラスタライズ処理をカラー用のチャネル数分実行するよりも早く、カラーラスタライズ処理を行なう。
これにより、画像処理装置におけるベクトル画像データのラスタライズ処理が従来よりも顕著に高速になる。
Further, the present invention is the image processing apparatus described above, wherein the conversion process by the color rasterization unit is faster than the conversion process by the monochrome rasterization unit being executed by the number of channels.
According to the above invention, the image processing apparatus performs the color rasterization process faster than the monochrome rasterization process for the number of color channels.
As a result, the rasterization processing of vector image data in the image processing apparatus is significantly faster than the conventional method.

また、本発明は、画像処理装置が実行する画像処理方法であって、割当部が、画像データを構成する複数のモノクロベクターレイヤそれぞれをカラーの各チャネルに割り当てて1つのカラーベクターレイヤを生成する割当過程と、前記割当過程において生成された前記カラーベクターレイヤをカラーラスターデータに変換するカラー用ラスタライズ処理過程と、前記カラー用ラスタライズ処理過程において変換された前記カラーラスターデータをチャネル毎に分離して前記複数のモノクロベクターレイヤに対応したモノクロラスターデータを生成する分離過程と、を有することを特徴とする画像処理方法である。   The present invention is also an image processing method executed by the image processing apparatus, wherein the assigning unit assigns each of a plurality of monochrome vector layers constituting the image data to each color channel to generate one color vector layer. An allocation process, a color rasterization process for converting the color vector layer generated in the allocation process into color raster data, and the color raster data converted in the color rasterization process are separated for each channel. A separation process for generating monochrome raster data corresponding to the plurality of monochrome vector layers.

本発明の第1の実施形態による画像処理装置の処理概要を示す図。FIG. 3 is a diagram showing a processing overview of the image processing apparatus according to the first embodiment of the present invention. 同実施形態による画像処理装置の構成を示すブロック図。FIG. 2 is a block diagram showing a configuration of an image processing apparatus according to the embodiment. 同実施形態による画像処理装置の処理フローを示す図。The figure which shows the processing flow of the image processing apparatus by the embodiment. 同実施形態による画像処理装置の処理対象のベクトル画像データを示す図。The figure which shows the vector image data of the process target of the image processing apparatus by the embodiment. 同実施形態による画像処理装置の処理を説明するための図。The figure for demonstrating the process of the image processing apparatus by the embodiment. 同実施形態による画像処理装置の処理を説明するための図。The figure for demonstrating the process of the image processing apparatus by the embodiment. 同実施形態による画像処理装置の処理を説明するための図。The figure for demonstrating the process of the image processing apparatus by the embodiment. 第2の実施形態による画像処理装置の構成を示すブロック図。The block diagram which shows the structure of the image processing apparatus by 2nd Embodiment. 同実施形態による画像処理装置の処理フローを示す図。The figure which shows the processing flow of the image processing apparatus by the embodiment. 従来の画像処理装置の処理概要を示す図。The figure which shows the process outline | summary of the conventional image processing apparatus.

以下、図面を参照しながら本発明の実施形態を詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

[第1の実施形態]
図1は、本発明の第1の実施形態の画像処理装置1の処理概要を示す図である。画像処理装置1は、ベクトル画像データが入力されると、ラスタライズモジュールによりベクターデータをラスターデータに変換するラスタライズ処理を行い、ベクトル画像データの各レイヤを構成するモノクロベクターデータであるモノクロベクターレイヤそれぞれに対応したモノクロラスターデータを生成する。
[First Embodiment]
FIG. 1 is a diagram showing an outline of processing of the image processing apparatus 1 according to the first embodiment of the present invention. When the vector image data is input, the image processing apparatus 1 performs rasterization processing for converting the vector data into raster data by the rasterization module, and applies to each monochrome vector layer which is monochrome vector data constituting each layer of the vector image data. Generate corresponding monochrome raster data.

画像処理装置1のラスタライズモジュールは、従来の画像処理装置と同様に、チャネル数n(nは2以上の整数)のカラー用ラスタライズ処理の機能と、モノクロ用ラスタライズ処理の機能とを有している。なお、カラー用ラスタライズ処理時間に対して、モノクロ用ラスタライズ処理時間は1/n以上である。本実施形態の画像処理装置1は、n単位のモノクロベクターレイヤをカラー用ラスタライズ処理する機能と、n未満のモノクロベクターレイヤをモノクロ用ラスタライズ処理する機能とを、ラスタライズモジュールを呼び出す側で切り替えてラスタライズ処理を行う。   The rasterization module of the image processing apparatus 1 has the function of color rasterization processing for the number of channels n (n is an integer of 2 or more) and the function of monochrome rasterization processing as in the conventional image processing apparatus. . The monochrome rasterization processing time is 1 / n or more than the color rasterization processing time. The image processing apparatus 1 according to the present embodiment performs rasterization by switching between a function for rasterizing n monochrome vector layers for color and a function for rasterizing monochrome vector layers of less than n on the side that calls the rasterization module. Process.

カラー用ラスタライズ処理を利用するために、画像処理装置1は、n個のモノクロベクターレイヤをカラーベクターレイヤの各色に割り当て、カラーベクターレイヤとしてラスタライズ処理した後、色毎にラスターデータに分離する。これにより、ラスタライズ処理の繰り返しが減るために処理のオーバーヘッドが削減され、全体の処理時間を短縮できる。特に、ベクトル画像データが高解像度であるなどでラスタライズ処理量が多い場合に、より効果的である。
また、画像処理装置1がモノクロベクターレイヤについてモノクロ用ラスタライズ処理を行なう時間は従来と同じであるが、1回のカラー用ラスタライズ処理の処理時間はモノクロ用ラスタライズ処理をn回行うよりも短い。そのため、カラー用ラスタライズ処理を使用する回数が増える毎に処理時間が短縮される。
In order to use the color rasterization process, the image processing apparatus 1 assigns n monochrome vector layers to each color of the color vector layer, rasterizes the color vector layer, and then separates the data into raster data for each color. Thereby, since the repetition of the rasterizing process is reduced, the processing overhead is reduced, and the entire processing time can be shortened. In particular, it is more effective when the amount of rasterization processing is large because the vector image data has a high resolution.
Further, the time for the image processing apparatus 1 to perform the monochrome rasterization process for the monochrome vector layer is the same as the conventional one, but the processing time for one color rasterization process is shorter than that for performing the monochrome rasterization process n times. For this reason, the processing time is reduced every time the number of times of using the color rasterization processing is increased.

同図においては、カラー用ラスタライズ処理のチャネルがC(シアン)、M(マゼンタ)、Y(イエロー)、K(ブラック)の4チャネルである場合を示している。画像処理装置1は、モノクロベクターレイヤを4つ単位でカラーベクターレイヤの各色に割り当ててカラー用ラスタライズ処理を行った後に色毎に分離し、残ったモノクロベクターレイヤはモノクロ用ラスタライズ処理を行う。これにより、ベクトル画像データを構成するモノクロベクターレイヤ数mが5である場合、画像処理装置1は、ラスタライズモジュールを実行させるラスタライズ関数を2回呼ぶのみで、ベクトル画像データのラスタライズ処理が可能となる。   This figure shows a case where the channels for color rasterization processing are four channels of C (cyan), M (magenta), Y (yellow), and K (black). The image processing apparatus 1 assigns each monochrome vector layer to each color of the color vector layer in units of four, performs color rasterization processing, and then separates each color, and the remaining monochrome vector layer performs monochrome rasterization processing. Thereby, when the number m of monochrome vector layers constituting the vector image data is 5, the image processing apparatus 1 can perform rasterization processing of the vector image data only by calling the rasterization function for executing the rasterization module twice. .

図2は、画像処理装置1の構成を示すブロック図であり、本実施形態と関係する機能ブロックのみ抽出して示してある。同図に示すように、画像処理装置1は、判断部2、割当部3、ラスタライズ部4、及び分離部5を備えて構成される。ラスタライズ部4は、ラスタライズモジュールであり、ラスタライズ関数を呼ぶことで実行されるモノクロ用ラスタライズ部41、及びカラー用ラスタライズ部42を備える。   FIG. 2 is a block diagram showing a configuration of the image processing apparatus 1, and only functional blocks related to the present embodiment are extracted and shown. As shown in FIG. 1, the image processing apparatus 1 includes a determination unit 2, an allocation unit 3, a rasterization unit 4, and a separation unit 5. The rasterization unit 4 is a rasterization module, and includes a monochrome rasterization unit 41 and a color rasterization unit 42 that are executed by calling a rasterization function.

判断部2は、ベクトル画像データを構成する各モノクロベクターレイヤについて、モノクロ用ラスタライズ処理を行わせるか、カラー用ラスタライズ処理を行わせるかを判断する。判断部2は、カラー用ラスタライズ処理を行わせるモノクロベクターレイヤをカラー用ラスタライズ部42のチャネル数n単位で割当部3に出力する。また、判断部2は、モノクロ用ラスタライズ部41を呼び出し、モノクロ用ラスタライズ処理を行わせるモノクロベクターレイヤを出力する。   The determination unit 2 determines whether to perform monochrome rasterization processing or color rasterization processing for each monochrome vector layer constituting the vector image data. The determination unit 2 outputs a monochrome vector layer for performing color rasterization processing to the allocation unit 3 in units of n channels of the color rasterization unit 42. In addition, the determination unit 2 calls the monochrome rasterization unit 41 and outputs a monochrome vector layer for performing monochrome rasterization processing.

割当部3は、判断部2から入力されたn個のモノクロベクターレイヤをまとめて1つのカラーベクターレイヤを生成する。このとき、割当部3は、n個のモノクロベクターレイヤを、それぞれ異なる1つのチャネルに割り当ててカラーベクターレイヤを生成する。割当部3は、カラー用ラスタライズ部42を呼び出し、生成したカラーベクターレイヤを出力する。   The allocation unit 3 combines the n monochrome vector layers input from the determination unit 2 to generate one color vector layer. At this time, the assigning unit 3 assigns n monochrome vector layers to different channels, and generates a color vector layer. The assigning unit 3 calls the color rasterizing unit 42 and outputs the generated color vector layer.

モノクロ用ラスタライズ部41は、判断部2から入力されたモノクロベクターレイヤをラスターデータに変換し、出力する。カラー用ラスタライズ部42は、割当部3から入力されたカラーベクターレイヤをカラーラスターデータに変換し、出力する。分離部5は、カラー用ラスタライズ部42から入力されたカラーラスターデータをチャネル毎に分離してn個のモノクロラスターデータを生成し、出力する。   The monochrome rasterization unit 41 converts the monochrome vector layer input from the determination unit 2 into raster data and outputs the raster data. The color rasterization unit 42 converts the color vector layer input from the allocation unit 3 into color raster data and outputs the color raster data. The separation unit 5 separates the color raster data input from the color rasterization unit 42 for each channel to generate and output n monochrome raster data.

図3は、本実施形態の画像処理装置1の処理フローを示す図である。
画像処理装置1に複数のモノクロベクターレイヤからなるベクトル画像データが入力されると、判断部2は、入力されたベクトル画像データからレイヤ情報を取得し、ベクトル画像データを構成するモノクロベクターレイヤ数mを得る(ステップS105)。
FIG. 3 is a diagram showing a processing flow of the image processing apparatus 1 of the present embodiment.
When vector image data composed of a plurality of monochrome vector layers is input to the image processing apparatus 1, the determination unit 2 acquires layer information from the input vector image data, and the number m of monochrome vector layers constituting the vector image data Is obtained (step S105).

判断部2は、モノクロベクターレイヤ数mをカラー用ラスタライズ部42のチャネル数nで除算し、商Qと余りrを求める。判断部2は、Q×n個のモノクロベクターレイヤをカラー用ラスタライズ処理対象と判断し、残りr個のモノクロベクターレイヤをモノクロ用ラスタライズ処理対象と判断する(ステップS110)。判断部2は、カラー用ラスタライズ処理用のカラーベクターレイヤとして、入力されたベクトル画像データと同サイズの処理用カラーレイヤを作成するよう割当部3に指示する。割当部3は、判断部2の指示に従い、処理用カラーレイヤを生成する(ステップS115)。   The determination unit 2 divides the number m of monochrome vector layers by the number n of channels of the color rasterization unit 42 to obtain a quotient Q and a remainder r. The determination unit 2 determines Q × n monochrome vector layers as color rasterization processing targets, and determines the remaining r monochrome vector layers as monochrome rasterization processing targets (step S110). The determination unit 2 instructs the allocation unit 3 to create a processing color layer having the same size as the input vector image data as a color vector layer for color rasterization processing. The allocation unit 3 generates a processing color layer according to the instruction of the determination unit 2 (step S115).

続いて、判断部2は、カラー用ラスタライズ処理対象のモノクロベクターレイヤのうち、まだラスタライズ処理が行われていないものがあるか否かを判断する(ステップS120)。判断部2は、まだラスタライズ処理が行われていないカラー用ラスタライズ処理対象のモノクロベクターレイヤがあると判断した場合(ステップS120;YES)、ステップS125の処理を行う。すなわち、判断部2は、カラー用ラスタライズ処理対象のモノクロベクターレイヤのうち、まだラスタライズ処理が行われていないn個のモノクロベクターレイヤを割当部3に出力する。割当部3は、判断部2から入力されたn個のモノクロベクターレイヤをそれぞれ、処理用カラーレイヤのn個のチャネル(色)に割り当てると、カラー用ラスタライズ部42を呼び出して処理用カラーレイヤを出力する(ステップS125)。   Subsequently, the determination unit 2 determines whether there is a monochrome vector layer that has not yet undergone rasterization processing among the monochrome vector layers to be subjected to color rasterization processing (step S120). If the determination unit 2 determines that there is a monochrome vector layer to be rasterized for color that has not been rasterized yet (step S120; YES), the determination unit 2 performs the process of step S125. That is, the determination unit 2 outputs n monochrome vector layers that have not yet undergone rasterization processing to the allocation unit 3 among the monochrome vector layers to be subjected to color rasterization processing. When the allocation unit 3 allocates each of the n monochrome vector layers input from the determination unit 2 to n channels (colors) of the processing color layer, the allocation unit 3 calls the color rasterization unit 42 to set the processing color layer. Output (step S125).

カラー用ラスタライズ部42は、割当部3から入力された処理用カラーレイヤをカラーラスターデータに変換し、分離部5に出力する(ステップS130)。分離部5は、カラー用ラスタライズ部42から入力されたカラーラスターデータをチャネル(色)毎に分離してn個のモノクロラスターデータを生成し、出力する(ステップS135)。画像処理装置1は、ステップS120からの処理を繰り返す。   The color rasterization unit 42 converts the processing color layer input from the allocation unit 3 into color raster data, and outputs the color raster data to the separation unit 5 (step S130). The separation unit 5 separates the color raster data input from the color rasterization unit 42 for each channel (color) to generate and output n monochrome raster data (step S135). The image processing apparatus 1 repeats the process from step S120.

判断部2は、ステップS120でラスタライズ処理が行われていないカラー用ラスタライズ処理対象のモノクロベクターレイヤがないと判断した場合(ステップS120;NO)、ステップS140の処理を行う。すなわち、判断部2は、モノクロ用ラスタライズ処理対象のモノクロベクターレイヤのうち、まだラスタライズ処理を行っていないものがあるか否かを判断する(ステップS140)。   If the determination unit 2 determines that there is no monochrome vector layer to be rasterized for color that has not been rasterized in step S120 (step S120; NO), the determination unit 2 performs the process of step S140. That is, the determination unit 2 determines whether there is a monochrome vector layer that has not been subjected to rasterization processing among monochrome vector layers to be processed for monochrome rasterization (step S140).

判断部2は、まだラスタライズ処理を行っていないモノクロ用ラスタライズ処理対象のモノクロベクターレイヤがあると判断した場合(ステップS140:YES)、ステップS145の処理を行う。すなわち、判断部2は、モノクロ用ラスタライズ部41を呼び出し、モノクロベクターレイヤのうちまだラスタライズ処理を行っていない1つのモノクロベクターレイヤを出力する。モノクロ用ラスタライズ部41は、判断部2から入力されたモノクロベクターレイヤをモノクロラスターデータに変換し、出力する(ステップS145)。画像処理装置1は、ステップS120からの処理を繰り返す。   If the determination unit 2 determines that there is a monochrome vector layer for monochrome rasterization processing that has not been rasterized yet (step S140: YES), the determination unit 2 performs the process of step S145. That is, the determination unit 2 calls the monochrome rasterization unit 41 and outputs one monochrome vector layer that has not yet been rasterized among the monochrome vector layers. The monochrome rasterization unit 41 converts the monochrome vector layer input from the determination unit 2 into monochrome raster data and outputs it (step S145). The image processing apparatus 1 repeats the process from step S120.

そして、ステップS140において、ラスタライズ処理を行っていないモノクロ用ラスタライズ処理対象のモノクロベクターレイヤはないと判断部2が判断した場合(ステップS140:NO)、割当部3は、処理用カラーレイヤを削除する(ステップS150)。   If the determination unit 2 determines in step S140 that there is no monochrome vector layer to be subjected to rasterization processing for monochrome that has not undergone rasterization processing (step S140: NO), the allocation unit 3 deletes the processing color layer. (Step S150).

次に、具体的な例を用いて、画像処理装置1の処理を説明する。ここでは、カラー用ラスタライズ部42のチャネルは、C(シアン)、M(マゼンタ)、Y(イエロー)、K(ブラック)の4チャネル(n=4)である場合を例に説明する。   Next, the processing of the image processing apparatus 1 will be described using a specific example. Here, a case where the channels of the color rasterizing unit 42 are four channels (n = 4) of C (cyan), M (magenta), Y (yellow), and K (black) will be described as an example.

図4は、処理対象のベクトル画像データVを示す図である。同図に示すように、処理対象のベクトル画像データVは、モノクロベクターレイヤL1〜L10が重なり合ったベクトル画像データである。判断部2は、ベクトル画像データVを構成するモノクロベクターレイヤL1〜L10をチャネル数n単位に分割し、モノクロベクターレイヤL1〜L4、L5〜L8をカラー用ラスタライズ処理対象とする。そして、判断部2は、分割の結果余ったモノクロベクターレイヤL9、L10をモノクロ用ラスタライズ処理対象とする(図3、ステップS110)。割当部3は、ベクトル画像データVと同サイズの処理用カラーレイヤを作成する(図3、ステップS115)。   FIG. 4 is a diagram showing vector image data V to be processed. As shown in the figure, the vector image data V to be processed is vector image data in which monochrome vector layers L1 to L10 are overlapped. The determination unit 2 divides the monochrome vector layers L1 to L10 constituting the vector image data V in units of n channels, and sets the monochrome vector layers L1 to L4 and L5 to L8 as color rasterization processing targets. Then, the determination unit 2 sets the monochrome vector layers L9 and L10 remaining as a result of the division as targets for monochrome rasterization processing (FIG. 3, step S110). The allocating unit 3 creates a processing color layer having the same size as the vector image data V (FIG. 3, step S115).

図5は、モノクロベクターレイヤL1〜L4の処理用カラーレイヤへの割り当て処理とラスタライズ処理を説明するための図である。割当部3は、判断部2から入力されたモノクロベクターレイヤL1〜L4をそれぞれ、以下の(1a)〜(4a)のように、処理用カラーレイヤのC、M、Y、Kの各色に割り当てる(図3、ステップS125)。   FIG. 5 is a diagram for explaining allocation processing and rasterization processing of the monochrome vector layers L1 to L4 to the processing color layer. The allocation unit 3 allocates the monochrome vector layers L1 to L4 input from the determination unit 2 to the C, M, Y, and K colors of the processing color layer as shown in (1a) to (4a) below. (FIG. 3, step S125).

(1a)モノクロベクターレイヤL1のモノクロ画像(元画像)をC=(元画像の濃度)%、M=0%、Y=0%、K=0%で処理用カラーレイヤに配置する。
(2a)モノクロベクターレイヤL2のモノクロ画像(元画像)をC=0%、M=(元画像の濃度)%、Y=0%、K=0%で処理用カラーレイヤに配置する。
(3a)モノクロベクターレイヤL3のモノクロ画像(元画像)をC=0%、M=0%、Y=(元画像の濃度)%、K=0%で処理用カラーレイヤに配置する。
(4a)モノクロベクターレイヤL4のモノクロ画像(元画像)をC=0%、M=0%、Y=0%、K=(元画像の濃度)%で処理用カラーレイヤに配置する。
(1a) The monochrome image (original image) of the monochrome vector layer L1 is arranged in the processing color layer with C = (density of the original image)%, M = 0%, Y = 0%, and K = 0%.
(2a) A monochrome image (original image) of the monochrome vector layer L2 is arranged in the processing color layer with C = 0%, M = (density of the original image)%, Y = 0%, and K = 0%.
(3a) A monochrome image (original image) of the monochrome vector layer L3 is arranged in the processing color layer with C = 0%, M = 0%, Y = (density of the original image)%, and K = 0%.
(4a) A monochrome image (original image) of the monochrome vector layer L4 is arranged in the processing color layer at C = 0%, M = 0%, Y = 0%, and K = (density of the original image)%.

カラー用ラスタライズ部42は、上記のように割当部3が生成した処理用カラーレイヤをカラー用ラスタライズ処理し、ラスタライズデータであるカラーラスターデータを生成する(図3、ステップS130)。分離部5は、カラー用ラスタライズ部42が生成したカラーラスターデータを、以下の(1b)〜(4b)のように、n個のモノクロラスターデータR1〜R4に分離する(図3、ステップS135)。   The color rasterization unit 42 performs color rasterization processing on the processing color layer generated by the allocation unit 3 as described above, and generates color raster data that is rasterized data (step S130 in FIG. 3). The separation unit 5 separates the color raster data generated by the color rasterization unit 42 into n pieces of monochrome raster data R1 to R4 as shown in (1b) to (4b) below (FIG. 3, step S135). .

(1b)カラーラスターデータのC色の画像を、モノクロラスターデータR1の画像とする。
(2b)カラーラスターデータのM色の画像を、モノクロラスターデータR2の画像とする。
(3b)カラーラスターデータのY色の画像を、モノクロラスターデータR3の画像とする。
(4b)カラーラスターデータのK色の画像を、モノクロラスターデータR4の画像とする。
(1b) The C color image of the color raster data is used as the monochrome raster data R1 image.
(2b) The M color image of the color raster data is used as the monochrome raster data R2.
(3b) The Y color image of the color raster data is used as the monochrome raster data R3 image.
(4b) The K color image of the color raster data is set as the monochrome raster data R4 image.

画像処理装置1は、モノクロベクターレイヤL1〜L4について図3のステップS125〜S135の処理を行うと、続いて、モノクロベクターレイヤL5〜L8について同様の処理を行う。   When the image processing apparatus 1 performs the processes of steps S125 to S135 of FIG. 3 for the monochrome vector layers L1 to L4, the image processing apparatus 1 subsequently performs the same process for the monochrome vector layers L5 to L8.

図6は、モノクロベクターレイヤL5〜L8の処理用カラーレイヤへの割り当とラスタライズ処理を説明するための図である。割当部3は、モノクロベクターレイヤL5〜L8をそれぞれ、処理用カラーレイヤのC、M、Y、Kの各色に割り当てる(図3、ステップS125)。カラー用ラスタライズ部42は、生成された処理用カラーレイヤをカラー用ラスタライズ処理し、カラーラスターデータを生成する(図3、ステップS130)。分離部5は、カラー用ラスタライズ部42が生成したカラーラスターデータをモノクロラスターデータR5〜R8に分離する(図3、ステップS135)。   FIG. 6 is a diagram for explaining the allocation of the monochrome vector layers L5 to L8 to the processing color layer and the rasterizing process. The assigning unit 3 assigns the monochrome vector layers L5 to L8 to the C, M, Y, and K colors of the processing color layer, respectively (FIG. 3, step S125). The color rasterization unit 42 performs color rasterization processing on the generated processing color layer to generate color raster data (step S130 in FIG. 3). The separation unit 5 separates the color raster data generated by the color rasterization unit 42 into monochrome raster data R5 to R8 (FIG. 3, step S135).

図7は、画像処理装置1のモノクロ用ラスタライズ処理を説明するための図である。
画像処理装置1は、カラー用ラスタライズ処理対象のモノクロベクターレイヤL1〜L8についてカラー用ラスタライズ処理を終えると(図3、ステップS120:NO)、モノクロ用ラスタライズ処理を行う。
まず、判断部2は、モノクロ用ラスタライズ部41を呼び出してモノクロベクターレイヤL9を出力する。モノクロ用ラスタライズ部41はモノクロベクターレイヤL9のモノクロ用ラスタライズ処理を行い、モノクロラスターデータR9を生成する(図3、ステップS145)。さらに、判断部2は、モノクロ用ラスタライズ部41を呼び出してモノクロベクターレイヤL10を出力する。モノクロ用ラスタライズ部41はモノクロベクターレイヤL10のモノクロ用ラスタライズ処理を行い、モノクロラスターデータR10を生成する(図3、ステップS145)。
FIG. 7 is a diagram for explaining monochrome rasterization processing of the image processing apparatus 1.
When the color rasterization process is finished for the monochrome vector layers L1 to L8 to be subjected to the color rasterization process (FIG. 3, step S120: NO), the image processing apparatus 1 performs the monochrome rasterization process.
First, the determination unit 2 calls the monochrome rasterization unit 41 and outputs the monochrome vector layer L9. The monochrome rasterization unit 41 performs monochrome rasterization processing of the monochrome vector layer L9 to generate monochrome raster data R9 (step S145 in FIG. 3). Further, the determination unit 2 calls the monochrome rasterization unit 41 and outputs the monochrome vector layer L10. The monochrome rasterization unit 41 performs monochrome rasterization processing of the monochrome vector layer L10 to generate monochrome raster data R10 (FIG. 3, step S145).

全てのモノクロベクターレイヤL1〜L10のラスタライズ処理が終了すると(図3、ステップS120:NO、ステップS140:NO)、割当部3は、処理用カラーレイヤを削除する(図3、ステップS150)。   When the rasterizing process for all the monochrome vector layers L1 to L10 is completed (FIG. 3, step S120: NO, step S140: NO), the assigning unit 3 deletes the processing color layer (FIG. 3, step S150).

従来は、モノクロベクターレイヤ数が10の場合、モノクロ用ラスタライズ部41を実行させるラスタライズ関数を10回呼び出していた。このとき、モノクロ用ラスタライズ部41による1回のモノクロ用ラスタライズ処理時間をTm、カラー用ラスタライズ部42による1回のカラー用ラスタライズ処理時間をTcとすると、ラスタライズ時間は、(Tm×10)であった。そのため、高解像度のベクトル画像データやサイズの大きなベクトル画像データをラスタライズ処理する場合、処理時間が長くなってしまっていた。   Conventionally, when the number of monochrome vector layers is 10, the rasterization function for executing the monochrome rasterization unit 41 is called 10 times. At this time, if the monochrome rasterization processing time by the monochrome rasterization unit 41 is Tm and the color rasterization processing time by the color rasterization unit 42 is Tc, the rasterization time is (Tm × 10). It was. Therefore, when rasterizing the high-resolution vector image data or the vector image data having a large size, the processing time is long.

一方、本実施形態では、ラスタライズモジュール(モノクロ用ラスタライズ部41及びカラー用ラスタライズ部42)の呼び出しは4回に減る。つまり、本実施形態では、チャネル数n、モノクロベクターレイヤ数mの場合、カラー用ラスタライズ処理回数Ncolorと、モノクロ用ラスタライズ処理回数Nmonoは、以下の式(1)、式(2)のようになる。   On the other hand, in this embodiment, the number of calls of the rasterizing module (monochrome rasterizing unit 41 and color rasterizing unit 42) is reduced to four times. That is, in the present embodiment, when the number of channels is n and the number of monochrome vector layers is m, the color rasterization processing count Ncolor and the monochrome rasterization processing count Nmono are expressed by the following formulas (1) and (2). .

カラー用ラスタライズ処理回数Ncolor=m/n (回) ・・・(1)
モノクロ用ラスタライズ処理回数Nmono=m−Ncolor×n (回) ・・・(2)
Color rasterization processing times Ncolor = m / n (times) (1)
Monochrome rasterization processing times Nmono = m−Ncolor × n (times) (2)

本実施形態では、モノクロベクターレイヤを4つ単位でカラーベクターレイヤに割り当ててカラー用ラスタライズ処理を行うことで、式(1)、式(2)より、ラスタライズモジュールを実行させるラスタライズ関数を(Ncolor+Nmono)回呼ぶだけで処理できる。   In the present embodiment, the rasterization function for executing the rasterization module is expressed by (Ncolor + Nmono) from Expressions (1) and (2) by performing color rasterization processing by assigning monochrome vector layers to the color vector layer in units of four. It can be processed just by calling it once.

上述したように、本実施形態では、プログラムがラスタライズ処理を行うモジュールを呼び出す回数を減らし、システム全体の処理時間を短くすることができる。特にモノクロ用ラスタライズ処理時間Tm×チャネル数n>カラー用ラスタライズ処理時間Tcのときに特に顕著な効果がある。ただし、ラスタライズ処理の繰り返し回数が減少するために処理のオーバーヘッドが削減されて処理が高速化することから、Tm×n≦Tcであってもよい。   As described above, in the present embodiment, the number of times that a program calls a module that performs rasterization processing can be reduced, and the processing time of the entire system can be shortened. In particular, a remarkable effect is obtained when the monochrome rasterization processing time Tm × the number of channels n> the color rasterization processing time Tc. However, Tm × n ≦ Tc may be satisfied because the processing overhead is reduced and the processing speed is increased because the number of repetitions of the rasterizing process is reduced.

なお、上記において、カラー用ラスタライズ部42のチャネルはCMYKの4チャネルとしているが、例えば、RGB(赤、緑、青)の3チャネルでもよい。   In the above description, the color rasterizing unit 42 has four channels of CMYK, but may be three channels of RGB (red, green, blue), for example.

[第2の実施形態]
図8は、本発明の第2の実施形態の画像処理装置1aの構成を示すブロック図であり、本発明と関係する機能ブロックのみ抽出して示してある。同図に示すように、画像処理装置1aは、判断部2a、割当部3a、ラスタライズ部4a、及び分離部5aを備えて構成される。
[Second Embodiment]
FIG. 8 is a block diagram showing the configuration of the image processing apparatus 1a according to the second embodiment of the present invention, in which only functional blocks related to the present invention are extracted and shown. As shown in the figure, the image processing apparatus 1a includes a determination unit 2a, an allocation unit 3a, a rasterization unit 4a, and a separation unit 5a.

ラスタライズ部4aは、第一の実施形態と同様のモノクロ用ラスタライズ部41と、異なるチャネル数のカラー用ラスタライズ部42−1〜42−pを備える。同図においては、カラー用ラスタライズ部の数p=2の場合の例を示している。カラー用ラスタライズ部42−i(iは1以上p以下の整数)のチャネル数をnとしn>n>…>nであるとする。例えば、カラー用ラスタライズ部42−1をCMYKの4チャネルとし、カラー用ラスタライズ部42−2をRGBの3チャネルとすることができる。 The rasterizing unit 4a includes a monochrome rasterizing unit 41 similar to that of the first embodiment, and color rasterizing units 42-1 to 42-p having different numbers of channels. In the figure, an example in which the number of color rasterized portions p = 2 is shown. It is assumed that the number of channels of the color rasterization unit 42-i (i is an integer of 1 to p) is n i and n 1 > n 2 >...> N p . For example, the color rasterization unit 42-1 may be provided with 4 channels of CMYK, and the color rasterization unit 42-2 may be provided with 3 channels of RGB.

判断部2aは、iを1から順に1ずつ増加させながら、ベクトル画像データを構成するモノクロベクターレイヤをチャネル数n単位に分割して割当部3aに出力し、分割の結果余ったモノクロベクターレイヤを次に大きなチャネル数n(i−1)単位に分割して割当部3aに出力することを繰り返す。判断部2aは、最も小さいチャネル数n単位に分割した結果余ったモノクロベクターレイヤをモノクロ用ラスタライズ部41に出力する。 The determination unit 2a divides the monochrome vector layer constituting the vector image data into units of the number of channels n i while increasing i by 1 in order from 1, and outputs it to the allocation unit 3a. Is divided into units of the next largest channel number n (i−1) and output to the assigning unit 3a. The determination unit 2a outputs the monochrome vector layer remaining as a result of the division into the smallest channel number np unit to the monochrome rasterization unit 41.

割当部3aは、判断部2aから入力されたチャネル数n(iは1以上p以下の整数)分のモノクロベクターレイヤをまとめて1つのカラーベクターレイヤを生成する。このとき、割当部3aは、n個のモノクロベクターレイヤをそれぞれ異なる1つのチャネルに割り当ててカラーベクターレイヤを生成する。割当部3aは、生成したカラーベクターレイヤをチャネル数nのカラー用ラスタライズ部42−iに出力する。
分離部5aは、カラー用ラスタライズ部42−i(iは1以上p以下の整数)から入力されたカラーラスターデータをチャネル毎に分離してn個のモノクロラスターデータを生成し、出力する。
The allocating unit 3a generates a single color vector layer by combining monochrome vector layers for the number of channels n i (i is an integer of 1 to p) input from the determination unit 2a. At this time, the allocation unit 3a generates a color vector layer allocates n i number of monochrome vector layer to a channel different respectively. Allocation unit 3a outputs the generated color vector layer to color for rasterizing unit 42-i of the channel number n i.
Separation unit 5a (the i 1 or more p an integer) rasterizing unit 42-i for color generates n i pieces of monochrome raster data is separated for each channel color raster data input from and output.

図9は、本実施形態の画像処理装置1aの処理フローを示す図である。
画像処理装置1aにベクトル画像データが入力されると、判断部2aは、入力されたベクトル画像データからレイヤ情報を取得し、ベクトル画像データを構成するモノクロベクターレイヤの数mを得る(ステップS205)。
FIG. 9 is a diagram showing a processing flow of the image processing apparatus 1a of the present embodiment.
When vector image data is input to the image processing device 1a, the determination unit 2a acquires layer information from the input vector image data, and obtains the number m of monochrome vector layers constituting the vector image data (step S205). .

判断部2aは、ベクトル画像データを構成するモノクロベクターレイヤを、チャネル数が大きなカラー用ラスタライズ処理から順に割り当てていき、余ったモノクロベクターレイヤをモノクロ用ラスタライズ処理に割り当てる。
具体的にはp=2の場合、判断部2aは、モノクロベクターレイヤ数mをカラー用ラスタライズ部42−1のチャネル数nで除算し、商Qと余りrを求める。判断部2aは、Q×n個のモノクロベクターレイヤをカラー用ラスタライズ部42−1によるカラー用ラスタライズ処理対象と判断する。
続いて判断部2aは、余りrをカラー用ラスタライズ部42−2のチャネル数nで除算し、商Qと余りrを求める。判断部2aは、Q×n個のモノクロベクターレイヤをカラー用ラスタライズ部42−2によるカラー用ラスタライズ処理対象と判断する。そして、判断部2aは、残りのr個のモノクロベクターレイヤをモノクロ用ラスタライズ処理対象と判断する(ステップS210)。
The determination unit 2a assigns the monochrome vector layers constituting the vector image data in order from the rasterizing process for color with the largest number of channels, and assigns the surplus monochrome vector layers to the rasterizing process for monochrome.
If specifically the p = 2, determination unit 2a divides the monochrome vector layer number m in the channel number n 1 of the collar for rasterizing unit 42-1 obtains r 1 remainder and quotient Q 1. The determination unit 2a determines that Q 1 × n 1 monochrome vector layer is a target for color rasterization processing by the color rasterization unit 42-1.
Then determination section 2a, the remainder divides r 1 on channel number n 2 of the color for rasterizing unit 42-2 obtains a remainder r 2 and the quotient Q 2. The determination unit 2a determines that Q 2 × n 2 monochrome vector layers are to be subjected to color rasterization processing by the color rasterization unit 42-2. Then, the determination unit 2a determines that the remaining r 2 monochrome vector layers are to be subjected to monochrome rasterization processing (step S210).

判断部2aは、ベクトル画像データと同サイズの処理用カラーレイヤを作成するよう割当部3aに指示する。これにより割当部3aは、チャネル数n〜nのそれぞれについて、処理用カラーレイヤを作成する(ステップS215)。判断部2aは、変数kを1に初期化する(ステップS220)。判断部2aは、カラー用ラスタライズ部42−kによるラスタライズ処理対象のモノクロベクターレイヤのうち、まだラスタライズ処理が行われていないものがあるか否かを判断する(ステップS225)。 The determination unit 2a instructs the allocation unit 3a to create a processing color layer having the same size as the vector image data. Thereby, the assigning unit 3a creates a processing color layer for each of the number of channels n 1 to n p (step S215). The determination unit 2a initializes the variable k to 1 (step S220). The determination unit 2a determines whether or not there is a monochrome vector layer that has not been subjected to rasterization processing among the monochrome vector layers to be rasterized by the color rasterization unit 42-k (step S225).

判断部2aは、まだカラー用ラスタライズ部42−kによるラスタライズ処理が行われていないモノクロベクターレイヤがあると判断した場合(ステップS225:YES)、ステップS230の処理を行う。すなわち、判断部2aは、カラー用ラスタライズ部42−kによるラスタライズ処理対象のモノクロベクターレイヤのうち、まだラスタライズ処理が行われていないn個のモノクロベクターレイヤを割当部3aに出力する。割当部3aは、判断部2aから入力されたn個のモノクロベクターレイヤをそれぞれ、チャネル数nの処理用カラーレイヤの各チャネル(色)に割り当てると、カラー用ラスタライズ部42−kを呼び出してその処理用カラーレイヤを出力する(ステップS230)。 If the determination unit 2a determines that there is a monochrome vector layer that has not been rasterized by the color rasterization unit 42-k (step S225: YES), the determination unit 2a performs the process of step S230. That is, the determination section 2a of the rasterization process target monochromatic vector layer by rasterizing unit 42-k for color, and outputs the n k-number of monochrome vector layers that have not been performed yet rasterizing processing assignment unit 3a. Assignment section 3a, respectively n k pieces of monochrome vector layer which is input from the determination unit 2a, assigning to each channel processing for color layers of the channel number n k (color), calls the rasterizing unit 42-k for color The processing color layer is output (step S230).

カラー用ラスタライズ部42−kは、割当部3aから入力された処理用カラーレイヤをカラーラスターデータに変換し、分離部5aに出力する(ステップS235)。分離部5aは、カラー用ラスタライズ部42−kから入力されたカラーラスターデータをチャネル(色)毎に分離してn個のモノクロラスターデータを生成し、出力する(ステップS240)。画像処理装置1aは、ステップS225からの処理を繰り返す。 The color rasterization unit 42-k converts the processing color layer input from the allocation unit 3a into color raster data, and outputs the color raster data to the separation unit 5a (step S235). The separation unit 5a separates the color raster data input from the color rasterization unit 42-k for each channel (color) to generate and output nk monochrome raster data (step S240). The image processing device 1a repeats the processing from step S225.

判断部2aは、ステップS225でカラー用ラスタライズ部42−kによるラスタライズ処理対象のモノクロベクターレイヤのうち、ラスタライズ処理が行われていないものはないと判断した場合(ステップS225:NO)、k=pであるか否かを判断する(ステップS245)。変数kがpより小さい場合(ステップS245:NO)、判断部2aは、変数kに1を加算して更新する(ステップS250)。画像処理装置1aは、ステップS225からの処理を繰り返す。   If the determination unit 2a determines in step S225 that there is no raster vector that has not been subjected to rasterization processing among the monochrome vector layers to be rasterized by the color rasterization unit 42-k (step S225: NO), k = p It is determined whether or not (step S245). When the variable k is smaller than p (step S245: NO), the determination unit 2a updates the variable k by adding 1 (step S250). The image processing device 1a repeats the processing from step S225.

そして、判断部2aは、ステップS225でk=pであると判断した場合(ステップS245:YES)、モノクロ用ラスタライズ処理対象のモノクロベクターレイヤのうち、まだラスタライズ処理を行っていないものがあるか否かを判断する(ステップS255)。判断部2aは、まだラスタライズ処理を行っていないモノクロ用ラスタライズ処理対象のモノクロベクターレイヤがあると判断した場合(ステップS255:YES)、そのラスタライズ処理を行っていないモノクロベクターレイヤの1つをモノクロ用ラスタライズ部41に出力する。モノクロ用ラスタライズ部41は、判断部2aから入力されたモノクロベクターレイヤをモノクロラスターデータに変換し、出力する(ステップS260)。画像処理装置1は、ステップS225からの処理を繰り返す。   If the determination unit 2a determines that k = p in step S225 (step S245: YES), whether or not there is a monochrome vector layer that has not yet undergone rasterization processing among the monochrome rasterization target layers for monochrome rasterization processing. Is determined (step S255). If the determination unit 2a determines that there is a monochrome vector layer to be subjected to the rasterization process for monochrome that has not been rasterized yet (step S255: YES), one of the monochrome vector layers that have not been rasterized is used for monochrome The data is output to the rasterize unit 41. The monochrome rasterization unit 41 converts the monochrome vector layer input from the determination unit 2a into monochrome raster data and outputs it (step S260). The image processing apparatus 1 repeats the processing from step S225.

ステップS255において、ラスタライズ処理を行っていないモノクロ用ラスタライズ処理対象のモノクロベクターレイヤはないと判断部2aが判断した場合(ステップS225:NO)、割当部3aは、処理用カラーレイヤを削除する(ステップS265)。   If the determination unit 2a determines in step S255 that there is no monochrome vector layer that is not subjected to rasterization processing and is subjected to rasterization processing (step S225: NO), the allocation unit 3a deletes the processing color layer (step S255). S265).

上記により、画像処理装置においてチャネル数の異なるカラー用ラスタライズ処理が実行可能な場合、チャネル数が多いカラー用ラスタライズ処理をなるべく利用してラスタライズ処理の繰り返し回数を少なくする。よって、ベクトル画像データのラスタライズ処理時間が短縮される。   As described above, when the color rasterization process with different number of channels can be executed in the image processing apparatus, the color rasterization process with a larger number of channels is used as much as possible to reduce the number of repetitions of the rasterization process. Therefore, the rasterization processing time of vector image data is shortened.

なお、画像処理装置1、1aは、内部にコンピュータシステムを有している。そして、画像処理装置1の判断部2、割当部3、ラスタライズ部4、及び分離部5、ならびに画像処理装置1aの判断部2a、割当部3a、ラスタライズ部4a、及び分離部5aの動作の過程は、プログラムの形式でコンピュータ読み取り可能な記録媒体に記憶されており、このプログラムをコンピュータシステムが読み出して実行することによって、上記処理が行われる。ここでいうコンピュータシステムとは、CPU及び各種メモリやOS、周辺機器等のハードウェアを含むものである。   The image processing apparatuses 1 and 1a have a computer system inside. Then, the operation process of the determination unit 2, the allocation unit 3, the rasterization unit 4, and the separation unit 5 of the image processing device 1, and the determination unit 2a, the allocation unit 3a, the rasterization unit 4a, and the separation unit 5a of the image processing device 1a. Is stored in a computer-readable recording medium in the form of a program, and the above processing is performed by the computer system reading and executing this program. The computer system here includes a CPU, various memories, an OS, and hardware such as peripheral devices.

また、「コンピュータシステム」は、WWWシステムを利用している場合であれば、ホームページ提供環境(あるいは表示環境)も含むものとする。
また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間の間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含むものとする。また上記プログラムは、前述した機能の一部を実現するためのものであっても良く、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであっても良い。
Further, the “computer system” includes a homepage providing environment (or display environment) if a WWW system is used.
The “computer-readable recording medium” refers to a storage device such as a flexible medium, a magneto-optical disk, a portable medium such as a ROM and a CD-ROM, and a hard disk incorporated in a computer system. Furthermore, the “computer-readable recording medium” dynamically holds a program for a short time like a communication line when transmitting a program via a network such as the Internet or a communication line such as a telephone line. In this case, a volatile memory in a computer system serving as a server or a client in that case, and a program that holds a program for a certain period of time are also included. The program may be a program for realizing a part of the functions described above, and may be a program capable of realizing the functions described above in combination with a program already recorded in a computer system.

なお、本発明は、上記において説明した実施形態に限定されるものではなく、その主旨を逸脱しない範囲において種々変更可能であり、それらも本発明の範囲内に包含されるものであることは言うまでもない。   The present invention is not limited to the embodiment described above, and various modifications can be made without departing from the spirit of the present invention, and it goes without saying that these are also included in the scope of the present invention. Yes.

1、1a 画像処理装置
2、2a 判断部
3、3a 割当部
4、4a ラスタライズ部
41 モノクロ用ラスタライズ部
42、42−1、42−2 カラー用ラスタライズ部
5、5a 分離部
DESCRIPTION OF SYMBOLS 1, 1a Image processing apparatus 2, 2a Judgment part 3, 3a Allocation part 4, 4a Rasterization part 41 Monochrome rasterization part 42, 42-1, 42-2 Color rasterization part 5, 5a Separation part

Claims (5)

画像データを構成する複数のモノクロベクターレイヤそれぞれをカラーの各チャネルに割り当てて1つのカラーベクターレイヤを生成する割当部と、
前記割当部が生成した前記カラーベクターレイヤをカラーラスターデータに変換するカラー用ラスタライズ部と、
前記カラー用ラスタライズ部が変換した前記カラーラスターデータをチャネル毎に分離して前記複数のモノクロベクターレイヤに対応したモノクロラスターデータを生成する分離部と、
を備えることを特徴とする画像処理装置。
An assigning unit for assigning each of a plurality of monochrome vector layers constituting image data to each color channel to generate one color vector layer;
A color rasterization unit for converting the color vector layer generated by the allocation unit into color raster data;
A separation unit that separates the color raster data converted by the color rasterization unit for each channel to generate monochrome raster data corresponding to the plurality of monochrome vector layers;
An image processing apparatus comprising:
モノクロベクターレイヤをモノクロラスターデータに変換するモノクロ用ラスタライズ部と、
前記画像データを構成するモノクロベクターレイヤを前記カラー用ラスタライズ部のチャネル数単位に分割して前記割当部に出力し、分割の結果余った前記モノクロベクターレイヤを前記モノクロ用ラスタライズ部に出力する判断部とをさらに備える
ことを特徴とする請求項1に記載の画像処理装置。
A monochrome rasterization unit for converting a monochrome vector layer into monochrome raster data;
A determination unit that divides the monochrome vector layer constituting the image data into units of the number of channels of the color rasterization unit and outputs the divided data to the allocation unit, and outputs the monochrome vector layer remaining as a result of the division to the monochrome rasterization unit The image processing apparatus according to claim 1, further comprising:
チャネル数の異なるカラー用ラスタライズ部を複数備え、
前記判断部は、前記画像データを構成するモノクロベクターレイヤを、最も大きな前記チャネル数単位に分割して前記割当部に出力し、分割の結果余った前記モノクロベクターレイヤを次に大きなチャネル数単位に分割して前記割当部に出力することを繰り返し、最も小さい前記チャネル数単位の分割の結果余った前記モノクロベクターレイヤを前記モノクロ用ラスタライズ部に出力する、
ことを特徴とする請求項1に記載の画像処理装置。
Equipped with multiple color rasterization units with different number of channels,
The determination unit divides a monochrome vector layer constituting the image data into the largest channel number unit and outputs the divided monochrome vector layer to the allocation unit, and the monochrome vector layer remaining as a result of the division into the next largest channel number unit. Repeatedly dividing and outputting to the allocation unit, and outputting the monochrome vector layer remaining as a result of the division in the smallest channel number unit to the monochrome rasterization unit,
The image processing apparatus according to claim 1.
前記カラー用ラスタライズ部による変換処理は、前記モノクロ用ラスタライズ部による変換処理を前記チャネル数だけ実行するよりも早い、
ことを特徴とする請求項2または請求項3に記載の画像処理装置。
The conversion process by the color rasterization unit is faster than executing the conversion process by the monochrome rasterization unit by the number of channels.
The image processing apparatus according to claim 2, wherein the image processing apparatus is an image processing apparatus.
画像処理装置が実行する画像処理方法であって、
割当部が、画像データを構成する複数のモノクロベクターレイヤそれぞれをカラーの各チャネルに割り当てて1つのカラーベクターレイヤを生成する割当過程と、
前記割当過程において生成された前記カラーベクターレイヤをカラーラスターデータに変換するカラー用ラスタライズ処理過程と、
前記カラー用ラスタライズ処理過程において変換された前記カラーラスターデータをチャネル毎に分離して前記複数のモノクロベクターレイヤに対応したモノクロラスターデータを生成する分離過程と、
を有することを特徴とする画像処理方法。
An image processing method executed by an image processing apparatus,
An assigning process in which an assigning unit assigns each of a plurality of monochrome vector layers constituting image data to each color channel to generate one color vector layer;
A color rasterization process for converting the color vector layer generated in the assignment process into color raster data;
A separation process of separating the color raster data converted in the color rasterization process for each channel to generate monochrome raster data corresponding to the plurality of monochrome vector layers;
An image processing method comprising:
JP2012057233A 2012-03-14 2012-03-14 Image processing apparatus and image processing method Expired - Fee Related JP5929351B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012057233A JP5929351B2 (en) 2012-03-14 2012-03-14 Image processing apparatus and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012057233A JP5929351B2 (en) 2012-03-14 2012-03-14 Image processing apparatus and image processing method

Publications (2)

Publication Number Publication Date
JP2013191044A true JP2013191044A (en) 2013-09-26
JP5929351B2 JP5929351B2 (en) 2016-06-01

Family

ID=49391208

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012057233A Expired - Fee Related JP5929351B2 (en) 2012-03-14 2012-03-14 Image processing apparatus and image processing method

Country Status (1)

Country Link
JP (1) JP5929351B2 (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06218989A (en) * 1993-01-27 1994-08-09 Canon Inc Image processor
JPH07147638A (en) * 1993-11-22 1995-06-06 Fuji Xerox Co Ltd Image processor
JP2001260439A (en) * 2000-03-22 2001-09-25 Matsushita Electric Ind Co Ltd Printer controller
JP2004058274A (en) * 2002-07-24 2004-02-26 Canon Inc Method for transferring data and imaging system
JP2005278205A (en) * 2005-04-11 2005-10-06 Oki Data Corp Printer
JP2007175951A (en) * 2005-12-27 2007-07-12 Konica Minolta Business Technologies Inc Printing controller, image forming device, printing control method and control program
JP2008042688A (en) * 2006-08-08 2008-02-21 Canon Inc Image processing apparatus and control method thereof, and computer program and computer readable storage medium
JP2008108006A (en) * 2006-10-24 2008-05-08 Canon Inc Print control device, print control method, program and storage medium
JP2009230652A (en) * 2008-03-25 2009-10-08 Fuji Xerox Co Ltd Printing control device, printing apparatus and program

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06218989A (en) * 1993-01-27 1994-08-09 Canon Inc Image processor
JPH07147638A (en) * 1993-11-22 1995-06-06 Fuji Xerox Co Ltd Image processor
JP2001260439A (en) * 2000-03-22 2001-09-25 Matsushita Electric Ind Co Ltd Printer controller
JP2004058274A (en) * 2002-07-24 2004-02-26 Canon Inc Method for transferring data and imaging system
JP2005278205A (en) * 2005-04-11 2005-10-06 Oki Data Corp Printer
JP2007175951A (en) * 2005-12-27 2007-07-12 Konica Minolta Business Technologies Inc Printing controller, image forming device, printing control method and control program
JP2008042688A (en) * 2006-08-08 2008-02-21 Canon Inc Image processing apparatus and control method thereof, and computer program and computer readable storage medium
JP2008108006A (en) * 2006-10-24 2008-05-08 Canon Inc Print control device, print control method, program and storage medium
JP2009230652A (en) * 2008-03-25 2009-10-08 Fuji Xerox Co Ltd Printing control device, printing apparatus and program

Also Published As

Publication number Publication date
JP5929351B2 (en) 2016-06-01

Similar Documents

Publication Publication Date Title
AU2011224147B2 (en) Image processing system and image processing method
US8503025B2 (en) Image processing apparatus, image processing method, and computer program product
JP2009230652A (en) Printing control device, printing apparatus and program
JP6252225B2 (en) Image processing apparatus, image processing method, and image forming apparatus
JP6170450B2 (en) Image forming apparatus and image forming method
JP2011097265A (en) Image processing method, program, and image processing device
JP5929351B2 (en) Image processing apparatus and image processing method
JP5699709B2 (en) Image processing device
US10635955B1 (en) Image forming method, apparatus, and program separating addresses for storing color tone data by shifting the relative address using an offset address
JP5245713B2 (en) Image processing apparatus, image processing method, and program
WO2020166596A1 (en) Image processing system and program
JP2002225350A (en) Method for under printing pixel
JP2010244098A (en) Image processing apparatus, printing system, image processing method, and program
US9883078B2 (en) Systems and methods for efficient halftone where different dithering matrices are combined
JP2018152666A (en) Image formation system, image formation device, image formation method, and program
CN112000303B (en) Processing method and device capable of realizing watermark printing, electronic equipment and storage medium
JP6711003B2 (en) Data processing device and program
JP2021002307A (en) Information processing apparatus, image forming system, image data transfer method, and program
JP2008290362A (en) Printing controller and image forming system
JP6762758B2 (en) Image processing equipment, image processing methods, and programs
JP2018079636A (en) Image processing device and program
JP6394247B2 (en) Image processing apparatus and computer program
JP6521650B2 (en) INFORMATION PROCESSING APPARATUS, CONTROL METHOD FOR INFORMATION PROCESSING APPARATUS, AND PROGRAM
JP2010211559A (en) Image processor, image processing method, and computer program for image processing
JP2019081359A (en) Image processing method, image processing device, and image processing program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150209

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20151216

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160105

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160307

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: 20160405

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160418

R150 Certificate of patent or registration of utility model

Ref document number: 5929351

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees