JP2008124958A - Image processor, image processing program and image processing system - Google Patents

Image processor, image processing program and image processing system Download PDF

Info

Publication number
JP2008124958A
JP2008124958A JP2006308718A JP2006308718A JP2008124958A JP 2008124958 A JP2008124958 A JP 2008124958A JP 2006308718 A JP2006308718 A JP 2006308718A JP 2006308718 A JP2006308718 A JP 2006308718A JP 2008124958 A JP2008124958 A JP 2008124958A
Authority
JP
Japan
Prior art keywords
image
information
transmittance
vertical
size
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006308718A
Other languages
Japanese (ja)
Inventor
Takashi Hashizume
隆 橋詰
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2006308718A priority Critical patent/JP2008124958A/en
Publication of JP2008124958A publication Critical patent/JP2008124958A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To achieve image processing in which translucent processing can be applied efficiently to various images. <P>SOLUTION: The image processor comprises a section 11 for analyzing the information on the number of pixels in each row and column and the information on the size of each image when output from the information on the image and the information on the transmittance matrix, a first determination section 12a for determining whether the information on an image with transmittance can be generated or not based on the information on the size of each image when output analyzed at the analysis section 11, and a section 14 for generating the information on an image with transmittance based on the information on the image and the information on the transmittance matrix when a determination is made at the first judgment section 12a that the information on an image with transmittance can be generated. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、画像処理装置、画像処理プログラムおよび画像処理システムに関する。   The present invention relates to an image processing apparatus, an image processing program, and an image processing system.

第1の画像と第2の画像との半透明処理は、透過率を示す係数値(α値)の集合を、描画しようとする画像要素(オブジェクト)に適用することにより、2次元の半透明処理を1度に表現することが可能となる。   The translucent processing of the first image and the second image is performed by applying a set of coefficient values (α values) indicating the transmittance to the image element (object) to be drawn, so that it is two-dimensional translucent. Processing can be expressed at a time.

ここで、半透明処理をPDLで処理する方法としては、入力画像要素(入力オブジェクト)で処理する方法、読み取り走査線(スキャンライン)などの中間画像要素(中間オブジェクト)で処理する方法(特許文献1参照)、画素単位で処理する方法が考えられる。   Here, as a method of processing the translucent processing with PDL, a method of processing with an input image element (input object), a method of processing with an intermediate image element (intermediate object) such as a scanning line (scan line) (Patent Literature) 1), a method of processing in pixel units is conceivable.

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

本発明の目的は、効率よく半透明処理を施す際に用いる透過率付き画像に関する情報を生成する画像処理装置、画像処理プログラム又は画像処理システムを提供することにある。   An object of the present invention is to provide an image processing apparatus, an image processing program, or an image processing system that generates information related to an image with transmittance that is used when efficiently performing translucent processing.

本願請求項1に係る発明は、画像に関する情報および透過率行列に関する情報から各々の出力時の画像の大きさに関する情報を解析する解析手段と、前記解析手段により解析された前記各々の出力時の画像の大きさに関する情報に基づいて透過率付き画像に関する情報を生成することができるか否かを判断する第1の判断手段と、前記第1の判断手段によって前記透過率付き画像に関する情報を生成することができると判断された場合、前記画像に関する情報と前記透過率行列に関する情報とに基づいて、前記透過率付き画像に関する情報を生成する生成手段とを備える画像処理装置である。   The invention according to claim 1 of the present application is an analysis means for analyzing information relating to the size of an image at the time of each output from information relating to an image and information relating to a transmittance matrix, and each output time analyzed by the analysis means. First determination means for determining whether or not information on an image with transmittance can be generated based on information on the size of the image, and information on the image with transmittance is generated by the first determination means When it is determined that it can be performed, the image processing apparatus includes a generation unit that generates information about the image with transmittance based on information about the image and information about the transmittance matrix.

本願請求項2に係る発明は、前記第1の判断手段は、前記解析手段により解析された前記各々の出力時の画像の大きさに関する情報から前記各々の出力時の画像の大きさが同一であるか否かを判断する請求項1記載の画像処理装置である。   In the invention according to claim 2 of the present application, the first judging means has the same image size at the time of each output from information on the size of the image at the time of each output analyzed by the analyzing means. The image processing apparatus according to claim 1, wherein it is determined whether or not there is.

本願請求項3に係る発明は、前記解析手段が、さらに前記画像に関する情報および前記透過率行列に関する情報から各々の画像要素における縦横画素数に関する情報を解析し、前記解析手段によって解析された前記各々の縦横画素数に関する情報に基づいて前記透過率付き画像に関する情報を生成することができるか否かを判断する第2の判断手段と、前記第2の判断手段によって前記透過率付き画像に関する情報を生成することができないと判断された場合、少なくとも一方の縦横画素数を拡大または縮小して、前記透過率付き画像に関する情報を生成することができるよう修正する修正手段とを有し、前記生成手段が、前記修正手段によって修正された画像に関する情報と透過率行列に関する情報とに基づいて、前記透過率付き画像に関する情報を生成する請求項1又は2に記載の画像処理装置である。   In the invention according to claim 3 of the present application, the analysis unit further analyzes information on the number of vertical and horizontal pixels in each image element from the information about the image and the information about the transmittance matrix, and each of the analysis units analyzed by the analysis unit Second determination means for determining whether or not information on the image with transmittance can be generated based on information on the number of vertical and horizontal pixels, and information on the image with transmittance by the second determination means. Correction means for correcting so that information on the image with transmittance can be generated by enlarging or reducing at least one of the vertical and horizontal pixel numbers when it is determined that the generation is impossible. On the basis of the information related to the image corrected by the correcting means and the information related to the transmittance matrix. The image processing apparatus according to claim 1 or 2 to produce a that information.

本願請求項4に係る発明は、前記第2の判断手段が、前記解析手段により解析された前記各々の画素要素における縦横画素数に関する情報から前記各々の縦横画素数が同一であるか否かを判断し、前記修正手段が、前記画像の縦横画素数と前記透過率行列の縦横画素数とが同一になるように修正する請求項1乃至3のうちいずれか1項に記載の画像処理装置である。   In the invention according to claim 4 of the present application, the second judging means determines whether or not the number of vertical and horizontal pixels is the same from the information about the number of vertical and horizontal pixels in each pixel element analyzed by the analyzing means. 4. The image processing apparatus according to claim 1, wherein the correction unit determines and corrects the number of vertical and horizontal pixels of the image to be the same as the number of vertical and horizontal pixels of the transmittance matrix. 5. is there.

本願請求項5に係る発明は、前記生成手段によって生成された前記透過率付き画像に関する情報に基づいて半透明処理を行う半透明処理手段を備えている請求項1乃至4のうちいずれか1項に記載の画像処理装置である。   The invention according to claim 5 includes translucent processing means for performing translucent processing based on information about the image with transmittance generated by the generating means. The image processing apparatus described in the above.

本願請求項6に係る発明は、前記第2の判断手段によって前記各々の縦横画素数が異なると判断された場合、前記修正手段が、前記画像の縦横画素数と前記透過率行列の縦横画素数とのうち大きい縦横画素数に揃える修正を行う請求項3又は4に記載の画像処理装置である。   In the invention according to claim 6 of the present application, when it is determined by the second determination means that the number of vertical and horizontal pixels is different, the correction means determines the number of vertical and horizontal pixels of the image and the number of vertical and horizontal pixels of the transmittance matrix. The image processing apparatus according to claim 3, wherein the correction is performed so that the number of vertical and horizontal pixels is aligned.

本願請求項7に係る発明は、前記第2の判断手段によって前記各々の縦横画素数が異なると判断された場合、前記修正手段が、前記画像の縦横画素数と前記透過率行列の縦横画素数とを予め定めた同じ大きさに各々揃える修正を行う請求項3又は4に記載の画像処理装置である。   In the invention according to claim 7 of the present application, when it is determined by the second determination means that the number of vertical and horizontal pixels is different, the correction means determines the number of vertical and horizontal pixels of the image and the number of vertical and horizontal pixels of the transmittance matrix. The image processing apparatus according to claim 3, wherein the image processing apparatus performs a correction to align each with a predetermined size.

本願請求項8に係る発明は、画像に関する情報および透過率行列に関する情報から各々の出力時の画像の大きさに関する情報を解析する解析ステップと、前記解析ステップにより解析された前記各々の出力時の画像の大きさに関する情報に基づいて透過率付き画像に関する情報を生成することができるか否かを判断する判断ステップと、前記第1の判断ステップによって前記透過率付き画像に関する情報を生成することができると判断された場合、前記画像に関する情報と前記透過率行列に関する情報とに基づいて、前記透過率付き画像に関する情報を生成する生成ステップとをコンピュータによって実行する画像処理プログラムである。   The invention according to claim 8 of the present application includes an analysis step of analyzing information on the size of each image at the time of output from information on the image and information on the transmittance matrix, and each output time analyzed by the analysis step Determining whether or not information about an image with transmittance can be generated based on information about the size of the image, and generating information about the image with transmittance according to the first determining step. When it is determined that it is possible, the image processing program executes a generation step of generating information about the image with transmittance based on the information about the image and the information about the transmittance matrix.

本願請求項9に係る発明は、画像に関する情報および透過率行列に関する情報から各々の出力時の画像の大きさに関する情報を解析する解析手段と、前記解析手段により解析された前記各々の出力時の画像の大きさに関する情報に基づいて透過率付き画像に関する情報を生成することができるか否かを判断する第1の判断手段と、前記第1の判断手段によって前記透過率付き画像に関する情報を生成することができると判断された場合、前記画像に関する情報と前記透過率行列に関する情報とに基づいて、前記透過率付き画像に関する情報を生成する生成手段とを備える画像処理システムである。   The invention according to claim 9 of the present application is an analysis means for analyzing information relating to the size of each output image from information relating to the image and information relating to the transmittance matrix, and each output time analyzed by the analysis means. First determination means for determining whether or not information on an image with transmittance can be generated based on information on the size of the image, and information on the image with transmittance is generated by the first determination means When it is determined that it can be performed, the image processing system includes a generation unit that generates information about the image with transmittance based on information about the image and information about the transmittance matrix.

本願請求項1に係る発明では、本構成を有していない場合に比較して、透過率付き画像に関する情報を効率的に生成することが可能となる。   In the invention according to claim 1 of the present application, it is possible to efficiently generate information relating to an image with transmittance, compared to a case where the present configuration is not provided.

本願請求項2に係る発明では、本構成を有していない場合に比較して、透過率付き画像に関する情報を効率的に生成することが可能となる。 In the invention according to claim 2 of the present application, it is possible to efficiently generate information related to the image with transmittance as compared with the case where the present configuration is not provided.

本願請求項3に係る発明では、本構成を有しない場合に比較して、画像と透過率行列との縦横画素数が同一でない場合でも、透過率付き画像に関する情報を効率的に生成することが可能となる。   In the invention according to claim 3 of the present application, it is possible to efficiently generate information on the image with transmittance even when the vertical and horizontal pixel numbers of the image and the transmittance matrix are not the same as in the case where the present configuration is not provided. It becomes possible.

本願請求項4に係る発明では、本構成を有しない場合に比較して、画像と透過率行列との縦横画素数が同一でない場合でも、透過率付き画像に関する情報を効率的に生成することが可能となる。   In the invention according to claim 4 of the present application, it is possible to efficiently generate information related to an image with transmittance even when the vertical and horizontal pixel numbers of the image and the transmittance matrix are not the same as in the case without this configuration. It becomes possible.

本願請求項5に係る発明では、本構成を有しない場合に比較して、透過率付き画像に関する情報を用いて効率的に半透明処理を行うことが可能となる。   In the invention according to claim 5 of the present application, it is possible to efficiently perform the translucent process using the information related to the image with transmittance as compared with the case where the present configuration is not provided.

本願請求項6に係る発明では、本構成を有しない場合に比較して、画像の縦横画素数と透過率行列の縦横画素数とが異なる場合でも大きい縦横画素数に揃えた状態で効率的に合成を行うことが可能となる。   In the invention according to claim 6 of the present application, compared with the case where the present configuration is not provided, even when the vertical and horizontal pixel number of the image and the vertical and horizontal pixel number of the transmittance matrix are different, the number of vertical and horizontal pixels is efficiently increased. Synthesis can be performed.

本願請求項7に係る発明では、本構成を有しない場合に比較して、画像の縦横画素数と透過率行列の縦横画素数とを予め定めた同じ大きさに各々揃えた状態で効率的に合成を行うことが可能となる。   In the invention according to claim 7 of the present application, compared to the case where the present configuration is not provided, the number of vertical and horizontal pixels of the image and the number of vertical and horizontal pixels of the transmittance matrix are efficiently adjusted in the same size. Synthesis can be performed.

本願請求項8に係る発明では、本構成を有しない場合に比較して、透過率付き画像に関する情報を効率的に生成するプログラムを提供することが可能となる。   In the invention according to claim 8 of the present application, it is possible to provide a program for efficiently generating information related to an image with transmittance as compared with the case where the present configuration is not provided.

本願請求項9に係る発明では、本構成を有しない場合に比較して、透過率付き画像に関する情報を効率的に生成するシステムを提供することが可能となる。   In the invention according to claim 9 of the present application, it is possible to provide a system that efficiently generates information related to an image with transmittance as compared with the case where the present configuration is not provided.

以下、本発明の実施の形態を図に基づき説明する。図1は、本実施形態に係る画像処理装置を説明するブロック図で、(a)はハードウェア構成、(b)はソフトウェア構成である。本実施形態に係る画像処理装置は、第1の画像(本実施形態では、描画オブジェクト)と、第2の画像(本実施形態では、背景)との半透明処理を行う機能を備えたものである。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram illustrating an image processing apparatus according to the present embodiment, in which (a) is a hardware configuration and (b) is a software configuration. The image processing apparatus according to the present embodiment has a function of performing a translucent process between a first image (drawing object in the present embodiment) and a second image (background in the present embodiment). is there.

図1(a)に示すように、本実施形態の画像処理装置におけるハードウェア構成としては、CPU(Central Processing Unit)1、RAM(Random Access Memory)2、ROM(Read Only Memory)3、HDD(Hard Disk Drive)4、入力部5および出力部6から構成され、主としてパーソナルコンピュータ、ワークステーション等の計算機、プリンタ、ファクシミリ、複写機等の画像出力装置として実現される。   As shown in FIG. 1A, the hardware configuration of the image processing apparatus of this embodiment includes a CPU (Central Processing Unit) 1, a RAM (Random Access Memory) 2, a ROM (Read Only Memory) 3, an HDD ( Hard Disk Drive) 4, an input unit 5, and an output unit 6, and is mainly realized as an image output device such as a personal computer, a computer such as a workstation, a printer, a facsimile, or a copying machine.

CPU1は、各種のプログラムを実行することで各部の制御や各種の処理を行う部分である。RAM2は、CPU1で実行するプログラムを一時格納したり、各種処理のための情報(データ)の作業領域として利用される。ROM3は、画像処理装置の制御に必要なプログラムを格納する部分である。HDD4は、各種プログラムを格納したり、各種処理のためのデータを格納したりする記憶手段である。入力受付部5は、キーボードやポインティングデバイス、タッチパネル等の入力受付機器である。出力部6は、ディスプレイや印刷出力のための出力機器である。   The CPU 1 is a part that controls each part and performs various processes by executing various programs. The RAM 2 temporarily stores programs executed by the CPU 1 and is used as a work area for information (data) for various processes. The ROM 3 is a part that stores a program necessary for controlling the image processing apparatus. The HDD 4 is a storage unit that stores various programs and data for various processes. The input reception unit 5 is an input reception device such as a keyboard, a pointing device, or a touch panel. The output unit 6 is an output device for display or print output.

図1(b)に示すように、本実施形態の画像処理装置におけるソフトウェア構成としては、解析部11、判断部12、修正部13、生成部14、半透明処理部15及び描画処理部16が主要部となっている。各部はCPU1で実行されるプログラム処理として実現され、このプログラム処理が本実施形態の画像処理プログラムとなる。つまり、本実施形態の画像処理プログラムが実行されるハードウェア構成が本実施形態の画像処理装置となる。また、この画像処理プログラムをCDROM等の記録媒体に格納して提供することも可能である。   As shown in FIG. 1B, the software configuration of the image processing apparatus according to the present embodiment includes an analysis unit 11, a determination unit 12, a correction unit 13, a generation unit 14, a translucent processing unit 15, and a drawing processing unit 16. It is the main part. Each unit is realized as a program process executed by the CPU 1, and this program process is an image processing program of the present embodiment. That is, the hardware configuration in which the image processing program of this embodiment is executed becomes the image processing apparatus of this embodiment. It is also possible to provide the image processing program by storing it in a recording medium such as a CDROM.

解析部11は、第1の画像である描画オブジェクトと第2の画像である背景との半透明処理を行うにあたり、第1の画像及び半透明処理を行う際に用いる透過率行列であるソフトマスクの出力時の画像の大きさに関する情報(出力サイズ)や、第1の画像及び半透明処理を行う際に用いる透過率行列であるソフトマスクにおける画像要素の大きさに対応した縦横画素数(イメージサイズ)等の第1の画像情報及び半透明処理を行う際に用いる透過率行列であるソフトマスクに関わる情報とを解析する処理を行う。ここで、出力サイズとは、例えば画像の大きさに対応した縦横画素数のことをいう。   The analysis unit 11 is a soft mask that is a transmittance matrix used when performing the first image and the translucent process when performing the translucent process of the drawing object that is the first image and the background that is the second image. The number of pixels (image size) corresponding to the size of the image element in the soft mask, which is information relating to the size of the image at the time of output (output size), and the first image and the transparency matrix used when performing the translucent processing Processing for analyzing the first image information such as (size) and the information related to the soft mask, which is a transmittance matrix used when the translucent processing is performed. Here, the output size refers to the number of vertical and horizontal pixels corresponding to the size of the image, for example.

判断部12は、解析部11で解析した描画オブジェクトとソフトマスクとの各々の出力サイズを比較し、描画オブジェクトに関する情報とソフトマスクに関する情報とを合成した透過率付き画像に関する情報(ソフトマスク付きイメージ)を生成することが可能か否かを判定する第1の判断部12aと、描画オブジェクトのイメージサイズとソフトマスクのイメージサイズとが同一であるか否かの判定を行う第2の判断部12bとを備えている。   The determination unit 12 compares the output sizes of the drawing object analyzed by the analysis unit 11 and the soft mask, and combines information related to the drawing object and information related to the soft mask. ) And a second determination unit 12b that determines whether or not the image size of the drawing object is the same as the image size of the soft mask. And.

修正部13は、第2の判断部12bで描画オブジェクトのイメージサイズ(縦横画素数)とソフトマスクのイメージサイズ(縦横画素数)とが同一でないと判断した場合、少なくとも一方のイメージサイズ(縦横画素数)を拡大または縮小して、描画オブジェクトのイメージサイズとソフトマスクのイメージサイズとが同一となるよう修正する処理を行う。   When the second determination unit 12b determines that the image size (number of vertical and horizontal pixels) of the drawing object is not the same as the image size (number of vertical and horizontal pixels) of the soft mask, the correction unit 13 determines at least one image size (vertical and horizontal pixel). (Number) is enlarged or reduced to correct the drawing object image size and the soft mask image size to be the same.

生成部14は、判断部12によって透過率付き画像に関する情報の生成が可能であると判定した場合、描画オブジェクトとソフトマスクとを合成した透過率付き画像情報(ソフトマスク付きイメージ)を生成する処理を行う。   When the determination unit 12 determines that the information about the image with transmittance can be generated by the determination unit 12, the generation unit 14 generates image information with transmittance (image with soft mask) by combining the drawing object and the soft mask. I do.

半透明処理部15は、生成部14によって生成されたソフトマスク付きイメージと半透明処理の対象となる背景のオブジェクトとを用いて半透明処理を行う部分である。なお、半透明処理部15は、ソフトマスク付きイメージを用いた半透明処理のほか、中間オブジェクト(スキャンラインなど)での半透明処理を行う。   The translucent processing unit 15 is a part that performs the translucent process using the image with the soft mask generated by the generating unit 14 and the background object that is the target of the translucent process. The translucent processing unit 15 performs translucent processing on an intermediate object (such as a scan line) in addition to translucent processing using an image with a soft mask.

描画処理部16は、半透明処理部15で半透明処理された画像データや中間オブジェクトでの半透明処理がなされた画像データをビットマップデータに展開する処理を行う。   The drawing processing unit 16 performs processing to develop image data that has been translucently processed by the translucent processing unit 15 or image data that has been subjected to semitransparent processing with an intermediate object into bitmap data.

ここで、透過率行列であるソフトマスクは、X、Y方向に沿ったマトリクスで各画素に対応して所定の透過率がαとして設定された情報であり、描画オブジェクトと同様に描画情報として取り扱われる。また、ソフトマスクは、透過率αの集合として所定の形状を表現することができる。透過率αは、0〜1の範囲で設定される。   Here, the soft mask, which is a transmittance matrix, is information in which a predetermined transmittance is set as α corresponding to each pixel in a matrix along the X and Y directions, and is handled as drawing information in the same manner as a drawing object. It is. The soft mask can express a predetermined shape as a set of transmittance α. The transmittance α is set in the range of 0-1.

図2は、ソフトマスクを用いた半透明処理を説明する模式図である。この例では、ソフトマスクで示す黒色が濃いほど透過率αが1に近く、半透明処理の対象となる描画オブジェクトの合成割合が多いことを示す。   FIG. 2 is a schematic diagram for explaining a translucent process using a soft mask. In this example, the darker the black color indicated by the soft mask, the closer the transmittance α is to 1, indicating that there is a higher proportion of the drawing objects to be subjected to the translucent process.

描画オブジェクトと背景との半透明処理を行うには、先ず、描画オブジェクトの各画素の値とソフトマスクの各画素に対応したα値とを掛け合わせる。次に、背景の各画素の値とソフトマスクの各画素に対応したα値から求めた(1−α)とを掛け合わせる。そして、これらを加算することによって半透明処理の結果となる各画素値を算出する。   In order to perform the translucent process between the drawing object and the background, first, the value of each pixel of the drawing object is multiplied by the α value corresponding to each pixel of the soft mask. Next, the value of each pixel of the background is multiplied by (1-α) obtained from the α value corresponding to each pixel of the soft mask. Then, by adding these, each pixel value resulting from the translucent process is calculated.

つまり、透過率をα、描画オブジェクトの画素値をSource、背景の画素値をDestination、半透明処理による描画結果の画素値をResultとした場合、以下の式によって半透明処理を行う。
Result=α・Source+(1−α)・Destination
That is, when the transmittance is α, the pixel value of the drawing object is Source, the background pixel value is Destination, and the pixel value of the rendering result by the translucent processing is Result, the translucent processing is performed by the following formula.
Result = α ・ Source + (1-α) ・ Destination

したがって、α値が1であれば描画オブジェクトが100%加算となり背景に描画オブジェクトが上書きされる状態、α値が0.5であれば描画オブジェクトと背景とが50%ずつ合成された半透明状態、α値が0であれば描画オブジェクトの加算分はなく、全てが背景になる状態となる。   Therefore, if the α value is 1, the drawing object is added by 100% and the drawing object is overwritten on the background, and if the α value is 0.5, the drawing object and the background are combined by 50%. If the α value is 0, there is no added amount of the drawing object, and the whole is in the background.

また、先に説明したように、ソフトマスクのα値の配列は所定の形状を持つことから、この形状に合わせたα値によって描画オブジェクトと背景との半透明の割合がその形状に合わせて変わることになる。   In addition, as described above, since the array of α values of the soft mask has a predetermined shape, the ratio of translucency between the drawing object and the background changes in accordance with the shape depending on the α value matched to this shape. It will be.

図3は、ソフトマスクを用いた半透明処理の演算を説明する模式図である。なお、ここでは説明を分かりやすくするため、2×2画素サイズの場合を例とする。ソフトマスクには、2×2の各画素に応じた透過率α1〜α4が設定されている。描画オブジェクトの2×2の各画素の値はRGB1〜RGB4、背景の2×2の各画素の値はRGB11〜RGB14となっている。ここで、RGBはR(赤)、G(緑)、B(青)の各色値を示している。   FIG. 3 is a schematic diagram for explaining the calculation of the translucent process using the soft mask. Here, in order to make the explanation easy to understand, a case of 2 × 2 pixel size is taken as an example. In the soft mask, transmittances α1 to α4 corresponding to 2 × 2 pixels are set. The values of 2 × 2 pixels of the drawing object are RGB1 to RGB4, and the values of 2 × 2 pixels of the background are RGB11 to RGB14. Here, RGB indicates each color value of R (red), G (green), and B (blue).

この描画オブジェクトと背景とをソフトマスクを用いて半透明処理するには、ソフトマスク、描画オブジェクトおよび背景の各画素に対応した透過率αと各画素値とを用いて、合成演算を行う。   In order to perform translucent processing of the drawing object and the background using a soft mask, a composition operation is performed using the transmittance α corresponding to each pixel of the soft mask, the drawing object, and the background, and each pixel value.

例えば、合成画素A1は、A1=α1・RGB1+(1−α1)・RGB11、合成画素A2は、A2=α2・RGB2+(1−α2)・RGB12、合成画素A3は、A3=α3・RGB3+(1−α3)・RGB13、合成画素A4は、A4=α4・RGB4+(1−α4)・RGB14となる。   For example, the composite pixel A1 is A1 = α1 · RGB1 + (1−α1) · RGB11, the composite pixel A2 is A2 = α2 · RGB2 + (1−α2) · RGB12, and the composite pixel A3 is A3 = α3 · RGB3 + (1 -Α3) · RGB13, and the combined pixel A4 is A4 = α4 · RGB4 + (1−α4) · RGB14.

図4は、本実施形態の一例に係る画像処理プログラムを説明するフローチャートである。なお、以下の説明で図4に示されない符号は図1を参照するものとする。   FIG. 4 is a flowchart illustrating an image processing program according to an example of the present embodiment. In the following description, reference numerals not shown in FIG. 4 refer to FIG.

先ず、コマンド解析を行う(ステップS1)。コマンド解析は解析部11が行う。すなわち、入力された描画指示言語(例えば、PDL(Page Description Language)、HTML(HyperText Markup Language)、XML(Extensible Markup Language))の描画コマンド(描画指示命令)から、ソフトマスクに関する情報と描画オブジェクトに関する情報とを解析する。   First, command analysis is performed (step S1). The analysis unit 11 performs command analysis. That is, information relating to soft masks and drawing objects are drawn from drawing commands (drawing instruction commands) in an input drawing instruction language (for example, PDL (Page Description Language), HTML (HyperText Markup Language), XML (Extensible Markup Language)). Analyzing information.

解析する情報としては、PDL、HTML、XML等の描画コマンドの中の特定の文字列、描画コマンドから生成した中間情報(DOM:Document Object Modelなど)、描画コマンドの中の特定の描画指示命令(例えば、パラメータ)等、後のステップでソフトマスク付きイメージの生成の可否判定のために利用する項目を抽出する。ここで、可否判定のために利用する項目とは、出力サイズに関する情報や、イメージサイズに関する情報をいう。   Information to be analyzed includes specific character strings in drawing commands such as PDL, HTML, XML, intermediate information generated from drawing commands (DOM: Document Object Model, etc.), specific drawing instruction commands in drawing commands ( For example, an item used for determining whether or not to generate an image with a soft mask is extracted in a later step such as a parameter). Here, the items used for determining availability indicate information relating to the output size and information relating to the image size.

次に、描画オブジェクトの出力サイズとソフトマスクの出力サイズとが同じか否かの判断を行う(ステップS2)。この判断は、判断部12の第1の判断部12aが行う。第1の判断部12aは、ソフトマスク付きイメージの生成のための条件の成立可否の判断を行うにあたり、先に解析部11で解析したソフトマスクに関する情報と描画オブジェクトに関する情報とを利用する。   Next, it is determined whether or not the output size of the drawing object is the same as the output size of the soft mask (step S2). This determination is performed by the first determination unit 12a of the determination unit 12. The first determination unit 12a uses the information about the soft mask and the information about the drawing object previously analyzed by the analysis unit 11 when determining whether or not the condition for generating the image with the soft mask is satisfied.

そして、解析した情報を用いて、描画オブジェクトの出力サイズとソフトマスクの出力サイズとが一致するか否かを判断する。   Then, using the analyzed information, it is determined whether or not the output size of the drawing object matches the output size of the soft mask.

この判断で、描画オブジェクトの出力サイズとソフトマスクの出力サイズとが一致しなかった場合にはソフトマスク付きイメージの生成のための条件を満たしていないとして、描画オブジェクト、ソフトマスクそれぞれ別個に中間コード生成を行う(ステップS3)。   In this determination, if the output size of the drawing object and the output size of the soft mask do not match, it is determined that the conditions for generating the image with the soft mask are not satisfied, and the drawing object and the soft mask are separately provided as intermediate codes. Generation is performed (step S3).

一方、描画オブジェクトの出力サイズとソフトマスクの出力サイズとが一致している場合には、描画オブジェクトのイメージサイズとソフトマスクのイメージサイズとが一致するか否かを判断する(ステップS4)。この判断は、判断部12の第2の判断部12bが行う。第2の判断部12bは、この判断を行うにあたり、先に解析部11で解析したソフトマスクに関する情報と描画オブジェクトに関する情報とを利用する。そして、解析した情報を用いて、描画オブジェクトのイメージサイズとソフトマスクのイメージサイズとが一致するか否かを判断する。   On the other hand, if the output size of the drawing object matches the output size of the soft mask, it is determined whether or not the image size of the drawing object matches the image size of the soft mask (step S4). This determination is made by the second determination unit 12b of the determination unit 12. In making this determination, the second determination unit 12b uses information on the soft mask and information on the drawing object previously analyzed by the analysis unit 11. Then, using the analyzed information, it is determined whether or not the image size of the drawing object matches the image size of the soft mask.

この判断で、描画オブジェクトのイメージサイズとソフトマスクのイメージサイズとが一致しなかった場合には、サイズ合わせを行う修正処理を行う(ステップS5)。この修正処理は修正部13が行う。具体的な処理方法は後述する。   If it is determined that the image size of the drawing object does not match the image size of the soft mask, a correction process for adjusting the size is performed (step S5). This correction process is performed by the correction unit 13. A specific processing method will be described later.

ここで、判断部12での条件判断の手法を説明する。判断部12は、解析部11で解析して得た情報(描画コマンドの中の文字列、パラメータ、描画コマンドから生成した中間情報等)によってソフトマスクと描画オブジェクトとの上記サイズ(出力サイズおよびイメージサイズ)の比較を行う。   Here, the method of condition determination in the determination unit 12 will be described. The determination unit 12 determines the size (output size and image) of the soft mask and the drawing object based on the information obtained by the analysis by the analysis unit 11 (character string in the drawing command, parameters, intermediate information generated from the drawing command, etc.). Size) comparison.

例えば、描画コマンドの中のソフトマスクを表現する文字列の中の特定の文字列と、描画オブジェクトを表現する文字列の中の特定の文字列とを比較して、出力サイズが一致するか否かを判断する。   For example, whether the output sizes match by comparing a specific character string in the character string that represents the soft mask in the drawing command with a specific character string in the character string that represents the drawing object Determine whether.

また、描画コマンドの中のソフトマスクを表現するコマンドの特定のパラメータと、描画オブジェクトを表現するコマンドの特定のパラメータとを比較して、出力サイズが一致するか否かを判断する。   Further, a specific parameter of the command expressing the soft mask in the drawing command is compared with a specific parameter of the command expressing the drawing object to determine whether or not the output sizes match.

また、描画コマンドの中のソフトマスクを表現するコマンドから生成した中間情報と、描画オブジェクトを表現するコマンドから生成した中間情報とを比較して、出力サイズが一致するか否かを判断する。   Further, the intermediate information generated from the command representing the soft mask in the drawing command is compared with the intermediate information generated from the command representing the drawing object to determine whether or not the output sizes match.

図5は、XMLから成る描画コマンドの一例を示す図で、判断部12はこのような描画コマンドに基づき上記サイズの比較を実行する。例えば、図5に示す例では、<Path.OpacityMask>で示される記述がソフトマスクに対応する部分で、<Path.Fill>で示される記述が描画オブジェクトに対応する部分である。したがって、判断部12は、各部のコマンドのうち、ViewportやViewboxMatrixTransformの値を参照し、各種サイズの一致、不一致の判断を行う。   FIG. 5 is a diagram showing an example of a drawing command made of XML, and the determination unit 12 compares the sizes based on such a drawing command. For example, in the example shown in FIG. 5, the description indicated by <Path.OpacityMask> is a portion corresponding to the soft mask, and the description indicated by <Path.Fill> is a portion corresponding to the drawing object. Therefore, the determination unit 12 refers to the values of Viewport and ViewboxMatrixTransform among the commands of each unit, and determines whether various sizes match or does not match.

そして、比較の結果、条件を満たす場合にはソフトマスク付きイメージの生成処理(ステップS6)へ移行する。この生成処理については、後述する。   If the condition is satisfied as a result of the comparison, the process proceeds to the generation process of the image with the soft mask (step S6). This generation process will be described later.

その後、中間コードを蓄積し(ステップS7)、ソフトマスク付きイメージで半透明処理が可能か否かを判断する(ステップS8)。ソフトマスク付きイメージデータで半透明処理が可能でない場合には、中間オブジェクトの分解(ステップS9)を行った後、分解した中間オブジェクトの所定単位(スキャンライン単位等)で半透明処理を実行し(ステップS10)、再構成を行って(ステップS11)、描画処理(ステップS13)へ進む。   Thereafter, the intermediate code is accumulated (step S7), and it is determined whether or not translucent processing is possible with the image with the soft mask (step S8). If semi-transparent processing is not possible with image data with a soft mask, after the intermediate object is decomposed (step S9), the semi-transparent processing is executed in a predetermined unit (scan line unit or the like) of the decomposed intermediate object ( Step S10), reconfiguration is performed (step S11), and the process proceeds to the drawing process (step S13).

一方、ソフトマスク付きイメージで半透明処理が可能である場合には、そのイメージデータを用いて半透明処理(ステップS12)へ移行する。ソフトマスク付きイメージでの半透明処理では、図3に基づき上記説明した演算処理によって、各画素での半透明画素値を算出する処理を行う。その後、描画処理(ステップS13)へ進む。   On the other hand, if the image with the soft mask can be translucently processed, the process proceeds to translucent processing (step S12) using the image data. In the translucent process with the image with the soft mask, the process of calculating the translucent pixel value in each pixel is performed by the arithmetic process described above with reference to FIG. Thereafter, the process proceeds to the drawing process (step S13).

ここで、ステップS6に示す生成処理について説明する。先に説明したように、ソフトマスク付きイメージの生成が可能な条件は、ソフトマスクと描画オブジェクトの出力画像の大きさに対応した縦横画素数(出力サイズ)が同一な場合である。したがって、ソフトマスクと描画オブジェクトとの出力サイズが同一であることを前提とし、ソースデータでの縦横画素数(イメージサイズ)に応じて種々の生成処理が挙げられる。   Here, the generation process shown in step S6 will be described. As described above, the condition for generating an image with a soft mask is that the number of vertical and horizontal pixels (output size) corresponding to the size of the output image of the soft mask and the drawing object is the same. Therefore, on the premise that the output sizes of the soft mask and the drawing object are the same, various generation processes can be cited according to the number of vertical and horizontal pixels (image size) in the source data.

図6は、ソフトマスクと描画オブジェクトとのソースデータでの縦横画素数が同一の場合のソフトマスク付きイメージの生成について説明する模式図である。図6に示す例では、ソフトマスクのXY画素数が5×6画素、描画オブジェクトのXY画素数が5×6画素で同一となっている。このようにソースデータでの縦横画素数が同一の場合には、そのまま各画素について1対1で対応させたソフトマスク付きイメージ生成を実行する。   FIG. 6 is a schematic diagram for explaining generation of an image with a soft mask when the number of vertical and horizontal pixels in the source data of the soft mask and the drawing object is the same. In the example shown in FIG. 6, the number of XY pixels of the soft mask is 5 × 6 pixels, and the number of XY pixels of the drawing object is 5 × 6 pixels, which are the same. In this way, when the number of vertical and horizontal pixels in the source data is the same, image generation with a soft mask is performed in which each pixel is directly associated with each other.

図7は、ソフトマスクと描画オブジェクトとのソースデータでの縦横画素数が異なる場合のソフトマスク付きイメージの生成(その1)について説明する模式図である。図7に示す例では、ソフトマスクのXY画素数が3×4画素、描画オブジェクトのXY画素数が6×8画素となっている。このようにソフトマスクと描画オブジェクトのXY画素数が異なる場合には、大きい方のサイズに合わせた透過率付き画像情報の生成を行う。   FIG. 7 is a schematic diagram illustrating generation (part 1) of an image with a soft mask when the numbers of vertical and horizontal pixels in the source data of the soft mask and the drawing object are different. In the example shown in FIG. 7, the number of XY pixels of the soft mask is 3 × 4 pixels, and the number of XY pixels of the drawing object is 6 × 8 pixels. As described above, when the number of XY pixels of the soft mask and the drawing object is different, the image information with transmittance corresponding to the larger size is generated.

この例では、ソフトマスクのサイズより描画オブジェクトのサイズの方が大きいため、ソフトマスクのサイズを描画オブジェクトのサイズに合わせて拡大する。具体的には、ソフトマスクのXY画素数を3×4画素から6×8画素に拡大する。一方、描画オブジェクトのXY画素数は6×8画素のそのままにして、透過率付き画像情報の生成を実行する。   In this example, since the size of the drawing object is larger than the size of the soft mask, the size of the soft mask is enlarged in accordance with the size of the drawing object. Specifically, the number of XY pixels of the soft mask is expanded from 3 × 4 pixels to 6 × 8 pixels. On the other hand, generation of image information with transmittance is executed while the number of XY pixels of the drawing object remains 6 × 8.

図8は、ソフトマスクと描画オブジェクトとのソースデータでの縦横画素数が異なる場合のソフトマスク付きイメージの生成(その2)について説明する模式図である。図8に示す例では、ソフトマスクのXY画素数が2×3画素、描画オブジェクトのXY画素数が3×4画素となっている。このようにソフトマスクと描画オブジェクトのXY画素数が異なる場合には、予め定めたXY画素数に両者を合わせてソフトマスク付きイメージの生成の生成を行う。予め定めたXY画素数としては、例えば出力段階でのXY画素数であったり、両者のXY画素数の各々の最小公倍数から成るXY画素数であったり、任意のXY画素数であったりする。   FIG. 8 is a schematic diagram for explaining the generation (part 2) of the image with the soft mask when the number of vertical and horizontal pixels in the source data of the soft mask and the drawing object is different. In the example shown in FIG. 8, the number of XY pixels of the soft mask is 2 × 3 pixels, and the number of XY pixels of the drawing object is 3 × 4 pixels. Thus, when the number of XY pixels of a soft mask and a drawing object differs, generation | occurrence | production of the production | generation of an image with a soft mask is performed combining both to the predetermined number of XY pixels. The predetermined number of XY pixels may be, for example, the number of XY pixels at the output stage, the number of XY pixels composed of the least common multiple of the number of both XY pixels, or an arbitrary number of XY pixels.

図8に示す例では、合わせるXY画素数として5×6画素となっており、ソフトマスクの2×3画素、および描画オブジェクトの3×4画素の両方をそれぞれ5×6画素になるよう拡大する。そして、両者のXY画素数が同じになった状態でソフトマスク付きイメージの生成を実行する。   In the example illustrated in FIG. 8, the number of XY pixels to be combined is 5 × 6 pixels, and both the 2 × 3 pixels of the soft mask and the 3 × 4 pixels of the drawing object are enlarged to 5 × 6 pixels, respectively. . Then, an image with a soft mask is generated in a state where the number of XY pixels is the same.

図9は、生成処理の例を説明する模式図である。なお、ここでは説明を分かりやすくするため、2×2画素サイズの場合を例とする。ソフトマスクには、2×2の各画素に応じた透過率α1〜α4が設定されている。描画オブジェクトの2×2の各画素の値はRGB1〜RGB4となっている。   FIG. 9 is a schematic diagram illustrating an example of the generation process. Here, in order to make the explanation easy to understand, a case of 2 × 2 pixel size is taken as an example. In the soft mask, transmittances α1 to α4 corresponding to 2 × 2 pixels are set. The values of 2 × 2 pixels of the drawing object are RGB1 to RGB4.

このソフトマスク付きイメージの生成は、ソフトマスクおよび描画オブジェクトの各画素に対応した透過率αと画素値とを合成した情報を用いて行う。   The image with the soft mask is generated using information obtained by combining the transmittance α and the pixel value corresponding to each pixel of the soft mask and the drawing object.

ここで、描画オブジェクトの各画素に対応した画素値はRGBの3つの要素から構成されている。一方、ソフトマスクの各画素に対応した値はα値という1つの要素から構成されている。ソフトマスク付きイメージの生成では、これらの要素を合わせたαRGBという4つの要素を1つのユニットとして保持する処理となる。   Here, the pixel value corresponding to each pixel of the drawing object is composed of three elements of RGB. On the other hand, the value corresponding to each pixel of the soft mask is composed of one element called α value. The generation of an image with a soft mask is a process of holding four elements called αRGB, which are a combination of these elements, as one unit.

例えば、合成画素B1は、B1=(α1,RGB1)、合成画素B2は、B2=(α2,RGB2)、合成画素B3は、B3=(α3,RGB3)、合成画素B4は、B4=(α4,RGB4)となる。つまり、ソフトマスク付きイメージは、描画オブジェクトのRGB各画素値と、その画素に対応するα値とを合わせたデータ構造となっている。生成処理は、このソフトマスク付きイメージを参照することで、その画素に対応した描画オブジェクトの画素値とα値とを係数として利用でき、図3で説明した合成演算を実行することになる。   For example, the composite pixel B1 is B1 = (α1, RGB1), the composite pixel B2 is B2 = (α2, RGB2), the composite pixel B3 is B3 = (α3, RGB3), and the composite pixel B4 is B4 = (α4 , RGB4). That is, the image with a soft mask has a data structure in which the RGB pixel values of the drawing object are combined with the α value corresponding to the pixel. In the generation process, by referring to the image with the soft mask, the pixel value and the α value of the drawing object corresponding to the pixel can be used as coefficients, and the synthesis operation described with reference to FIG. 3 is executed.

図10は、本実施形態に係る画像処理システムを説明する模式図である。本実施形態の画像処理システムは、本実施形態の画像処理装置の主要部である解析部11、判断部12、修正部13、生成部14、半透明処理部15および描画処理部16(図1(b)参照)の一部もしくは全部が電気通信回線であるネットワークNを介して接続されているものである。   FIG. 10 is a schematic diagram illustrating the image processing system according to the present embodiment. The image processing system according to the present embodiment includes an analysis unit 11, a determination unit 12, a correction unit 13, a generation unit 14, a translucent processing unit 15, and a drawing processing unit 16 (FIG. 1), which are the main units of the image processing apparatus according to the present embodiment. A part or all of (see (b)) is connected via a network N which is a telecommunication line.

すなわち、図10に示すように、複数のパーソナルコンピュータPC1、PC2およびプリンタ等の出力装置PR1やサーバSV1がLAN(Local Area Network)やインターネット等のネットワークNを介して接続されている構成において、解析部11、判定部12、修正部13、生成部14、半透明処理部15、描画処理部16がいずれかのパーソナルコンピュータPC1、PC2やサーバSV1内に格納されており、各部が各々の処理を分散して行って、処理結果をネットワークN経由で伝達することで1つの画像処理システムが構成されるものである。このような画像処理システムであっても、先に説明した画像処理装置および画像処理プログラムを実現することができる。   That is, as shown in FIG. 10, in a configuration in which a plurality of personal computers PC1, PC2 and an output device PR1 such as a printer and a server SV1 are connected via a network N such as a LAN (Local Area Network) or the Internet. The unit 11, the determination unit 12, the correction unit 13, the generation unit 14, the translucent processing unit 15, and the drawing processing unit 16 are stored in any one of the personal computers PC1, PC2, and the server SV1, and each unit performs each processing. A single image processing system is configured by performing processing in a distributed manner and transmitting processing results via the network N. Even with such an image processing system, the above-described image processing apparatus and image processing program can be realized.

本実施形態に係る画像処理装置を説明するブロック図である。It is a block diagram explaining the image processing apparatus which concerns on this embodiment. ソフトマスクを用いた半透明処理を説明する模式図である。It is a schematic diagram explaining the translucent process using a soft mask. ソフトマスクを用いた半透明処理の演算を説明する模式図である。It is a schematic diagram explaining the calculation of the translucent process using a soft mask. 本実施形態に係る画像処理プログラムを説明するフローチャートである。It is a flowchart explaining the image processing program which concerns on this embodiment. 描画コマンドの一例を示す図である。It is a figure which shows an example of a drawing command. ソフトマスクと描画オブジェクトとのソースデータでの縦横画素数が同一の場合の合成を説明する模式図である。It is a schematic diagram explaining the composition when the number of vertical and horizontal pixels in the source data of the soft mask and the drawing object is the same. ソフトマスクと描画オブジェクトとのソースデータでの縦横画素数が異なる場合の合成(その1)を説明する模式図である。It is a schematic diagram explaining the synthesis | combination (the 1) in case the number of vertical and horizontal pixels in the source data of a soft mask and a drawing object differs. ソフトマスクと描画オブジェクトとのソースデータでの縦横画素数が異なる場合の合成(その2)を説明する模式図である。It is a schematic diagram explaining the synthesis | combination (the 2) in case the number of vertical and horizontal pixels in the source data of a soft mask and a drawing object differs. 合成処理の例を説明する模式図である。It is a schematic diagram explaining the example of a synthetic | combination process. 本実施形態に係る画像処理システムを説明する模式図である。It is a mimetic diagram explaining an image processing system concerning this embodiment.

符号の説明Explanation of symbols

1…CPU、2…RAM、3…ROM、4…HDD、5…入力部、6…出力部、11…解析部、12…判断部、12a…第1の判断部、12b…第2の判断部、13…修正部、14…生成部、15…半透明処理部、16…描画処理部、N…ネットワーク、PC1…パーソナルコンピュータ、PC2…パーソナルコンピュータ、PR1…プリンタ、SV1…サーバ   DESCRIPTION OF SYMBOLS 1 ... CPU, 2 ... RAM, 3 ... ROM, 4 ... HDD, 5 ... Input part, 6 ... Output part, 11 ... Analysis part, 12 ... Judgment part, 12a ... 1st judgment part, 12b ... 2nd judgment , 13 ... correction unit, 14 ... generation unit, 15 ... translucent processing unit, 16 ... drawing processing unit, N ... network, PC1 ... personal computer, PC2 ... personal computer, PR1 ... printer, SV1 ... server

Claims (9)

画像に関する情報および透過率行列に関する情報から各々の出力時の画像の大きさに関する情報を解析する解析手段と、
前記解析手段により解析された前記各々の出力時の画像の大きさに関する情報に基づいて透過率付き画像に関する情報を生成することができるか否かを判断する第1の判断手段と、
前記第1の判断手段によって前記透過率付き画像に関する情報を生成することができると判断された場合、前記画像に関する情報と前記透過率行列に関する情報とに基づいて、前記透過率付き画像に関する情報を生成する生成手段と
を備えることを特徴とする画像処理装置。
An analysis means for analyzing information on the size of each output image from information on the image and information on the transmittance matrix;
First determination means for determining whether or not information on an image with transmittance can be generated based on information on the size of each output image analyzed by the analysis means;
If it is determined by the first determination means that information regarding the image with transmittance can be generated, information regarding the image with transmittance is determined based on the information regarding the image and the information regarding the transmittance matrix. An image processing apparatus comprising: generating means for generating.
前記第1の判断手段は、前記解析手段により解析された前記各々の出力時の画像の大きさに関する情報から前記各々の出力時の画像の大きさが同一であるか否かを判断する
ことを特徴とする請求項1記載の画像処理装置。
The first determining means determines whether or not the sizes of the images at the time of each output are the same from the information on the sizes of the images at the time of the outputs analyzed by the analyzing means. The image processing apparatus according to claim 1, wherein:
前記解析手段は、さらに前記画像に関する情報および前記透過率行列に関する情報から各々の画像要素における縦横画素数に関する情報を解析し、
前記解析手段によって解析された前記各々の縦横画素数に関する情報に基づいて前記透過率付き画像に関する情報を生成することができるか否かを判断する第2の判断手段と、
前記第2の判断手段によって前記透過率付き画像に関する情報を生成することができないと判断された場合、少なくとも一方の縦横画素数を拡大または縮小して、前記透過率付き画像に関する情報を生成することができるよう修正する修正手段とを有し、
前記生成手段は、前記修正手段によって修正された画像に関する情報と透過率行列に関する情報とに基づいて、前記透過率付き画像に関する情報を生成する
ことを特徴とする請求項1又は2に記載の画像処理装置。
The analysis means further analyzes information about the number of vertical and horizontal pixels in each image element from information about the image and information about the transmittance matrix,
Second determination means for determining whether information on the image with transmittance can be generated based on information on the number of vertical and horizontal pixels analyzed by the analysis means;
When it is determined by the second determination means that information about the image with transmittance cannot be generated, at least one of the vertical and horizontal pixels is enlarged or reduced to generate information about the image with transmittance. Correction means for correcting so that
3. The image according to claim 1, wherein the generation unit generates information on the image with transmittance based on information on the image corrected by the correction unit and information on a transmittance matrix. Processing equipment.
前記第2の判断手段は、前記解析手段により解析された前記各々の画素要素における縦横画素数に関する情報から前記各々の縦横画素数が同一であるか否かを判断し、
前記修正手段は、前記画像の縦横画素数と前記透過率行列の縦横画素数とが同一になるように修正する
ことを特徴とする請求項1乃至3のうちいずれか1項に記載の画像処理装置。
The second determining means determines whether or not the respective vertical and horizontal pixel numbers are the same from the information about the vertical and horizontal pixel numbers in the respective pixel elements analyzed by the analyzing means,
The image processing according to any one of claims 1 to 3, wherein the correcting unit corrects the number of vertical and horizontal pixels of the image to be the same as the number of vertical and horizontal pixels of the transmittance matrix. apparatus.
前記生成手段によって生成された前記透過率付き画像に関する情報に基づいて半透明処理を行う半透明処理手段を備えている
ことを特徴とする請求項1乃至4のうちいずれか1項に記載の画像処理装置。
5. The image according to claim 1, further comprising a translucent processing unit configured to perform a translucent process based on information on the image with transmittance generated by the generating unit. Processing equipment.
前記第2の判断手段によって前記各々の縦横画素数が異なると判断された場合、前記修正手段は、前記画像の縦横画素数と前記透過率行列の縦横画素数とのうち大きい縦横画素数に揃える修正を行う
ことを特徴とする請求項3又は4に記載の画像処理装置。
When it is determined by the second determining means that the number of vertical and horizontal pixels is different, the correcting means aligns to a larger number of vertical and horizontal pixels between the vertical and horizontal pixel number of the image and the vertical and horizontal pixel number of the transmittance matrix. The image processing apparatus according to claim 3, wherein correction is performed.
前記第2の判断手段によって前記各々の縦横画素数が異なると判断された場合、前記修正手段は、前記画像の縦横画素数と前記透過率行列の縦横画素数とを予め定めた同じ大きさに各々揃える修正を行う
ことを特徴とする請求項3又は4に記載の画像処理装置。
When the second determining means determines that the vertical and horizontal pixel numbers are different, the correcting means sets the vertical and horizontal pixel numbers of the image and the vertical and horizontal pixels of the transmittance matrix to the same predetermined size. The image processing apparatus according to claim 3, wherein each of the corrections is performed.
画像に関する情報および透過率行列に関する情報から各々の出力時の画像の大きさに関する情報を解析する解析ステップと、
前記解析ステップにより解析された前記各々の出力時の画像の大きさに関する情報に基づいて透過率付き画像に関する情報を生成することができるか否かを判断する判断ステップと、
前記第1の判断ステップによって前記透過率付き画像に関する情報を生成することができると判断された場合、前記画像に関する情報と前記透過率行列に関する情報とに基づいて、前記透過率付き画像に関する情報を生成する生成ステップと
をコンピュータによって実行することを特徴とする画像処理プログラム。
An analysis step for analyzing information on the size of the image at each output from information on the image and information on the transmittance matrix;
A determination step of determining whether or not it is possible to generate information on an image with transmittance based on information on the size of each output image analyzed in the analysis step;
If it is determined in the first determination step that information regarding the image with transmittance can be generated, information regarding the image with transmittance is determined based on information regarding the image and information regarding the transmittance matrix. An image processing program, wherein the generating step is generated by a computer.
画像に関する情報および透過率行列に関する情報から各々の出力時の画像の大きさに関する情報を解析する解析手段と、
前記解析手段により解析された前記各々の出力時の画像の大きさに関する情報に基づいて透過率付き画像に関する情報を生成することができるか否かを判断する第1の判断手段と、
前記第1の判断手段によって前記透過率付き画像に関する情報を生成することができると判断された場合、前記画像に関する情報と前記透過率行列に関する情報とに基づいて、前記透過率付き画像に関する情報を生成する生成手段と
を備えることを特徴とする画像処理システム。
An analysis means for analyzing information on the size of each output image from information on the image and information on the transmittance matrix;
First determination means for determining whether or not information on an image with transmittance can be generated based on information on the size of each output image analyzed by the analysis means;
If it is determined by the first determination means that information regarding the image with transmittance can be generated, information regarding the image with transmittance is determined based on the information regarding the image and the information regarding the transmittance matrix. An image processing system comprising: generating means for generating.
JP2006308718A 2006-11-15 2006-11-15 Image processor, image processing program and image processing system Pending JP2008124958A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006308718A JP2008124958A (en) 2006-11-15 2006-11-15 Image processor, image processing program and image processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006308718A JP2008124958A (en) 2006-11-15 2006-11-15 Image processor, image processing program and image processing system

Publications (1)

Publication Number Publication Date
JP2008124958A true JP2008124958A (en) 2008-05-29

Family

ID=39509230

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006308718A Pending JP2008124958A (en) 2006-11-15 2006-11-15 Image processor, image processing program and image processing system

Country Status (1)

Country Link
JP (1) JP2008124958A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009290750A (en) * 2008-05-30 2009-12-10 Sony Corp Image processing apparatus, image processing method, and program
JP2019208164A (en) * 2018-05-30 2019-12-05 キヤノン株式会社 Drawing processing apparatus, drawing processing method, and program

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04205275A (en) * 1990-11-30 1992-07-27 Hitachi Ltd Synthesis of image and formation of character font
JPH05336346A (en) * 1992-06-02 1993-12-17 Hitachi Ltd Image processing method and storage device
JPH0969165A (en) * 1995-08-31 1997-03-11 Dainippon Screen Mfg Co Ltd Picture processor
JP2003296741A (en) * 2002-03-29 2003-10-17 Toshiba Corp Method, program and device for cutting object image
JP2005151207A (en) * 2003-11-17 2005-06-09 Canon Inc Image-coding method
JP2006094022A (en) * 2004-09-22 2006-04-06 Fuji Xerox Co Ltd Image forming apparatus, its control method, and control program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04205275A (en) * 1990-11-30 1992-07-27 Hitachi Ltd Synthesis of image and formation of character font
JPH05336346A (en) * 1992-06-02 1993-12-17 Hitachi Ltd Image processing method and storage device
JPH0969165A (en) * 1995-08-31 1997-03-11 Dainippon Screen Mfg Co Ltd Picture processor
JP2003296741A (en) * 2002-03-29 2003-10-17 Toshiba Corp Method, program and device for cutting object image
JP2005151207A (en) * 2003-11-17 2005-06-09 Canon Inc Image-coding method
JP2006094022A (en) * 2004-09-22 2006-04-06 Fuji Xerox Co Ltd Image forming apparatus, its control method, and control program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009290750A (en) * 2008-05-30 2009-12-10 Sony Corp Image processing apparatus, image processing method, and program
JP2019208164A (en) * 2018-05-30 2019-12-05 キヤノン株式会社 Drawing processing apparatus, drawing processing method, and program
JP7146455B2 (en) 2018-05-30 2022-10-04 キヤノン株式会社 Drawing processing device, drawing processing method, and program

Similar Documents

Publication Publication Date Title
US20070109302A1 (en) Link relationship display apparatus, and control method and program for the link relationship display apparatus
JP2006262485A (en) Color image processor
JP4372066B2 (en) Drawing method, data broadcast receiving apparatus and program
JP2017228838A (en) Image processing apparatus, image processing method and program
JP2008124958A (en) Image processor, image processing program and image processing system
JP2010039815A (en) Web page layout correction system
US20120050765A1 (en) Image processing apparatus, image processing method, and storage medium
US8633941B2 (en) Image-processing apparatus, method for controlling thereof, and computer program
CN117573048A (en) Automatic document watermark generation method and terminal
JP2005045799A (en) Improvement of image quality using partial template matching
EP0817122B1 (en) Filter and raster operations
JP5455714B2 (en) How to print the web page capture screen
JP2903917B2 (en) Image editing processor
JP2017146689A (en) Image quality adjustment device and image quality adjustment program
US20180246041A1 (en) Print data processing method, print data processing device, and recording medium having recorded therein print data processing program
EP1857928A1 (en) Resizing controls during localisation
JP2005235205A (en) Compositing with clip-to-self functionality without using shape channel
JP2008107970A (en) Image forming device
JP2910588B2 (en) Data conversion device
JP4858883B2 (en) Vector image drawing apparatus, vector image drawing method and program
CN108154497B (en) Automatic detection method and system for graphic road conditions
JP4930860B2 (en) Graphic drawing apparatus, antialiasing method and program
JP4735212B2 (en) Image processing device
WO2019082283A1 (en) Image interpretation device
JP3280160B2 (en) Document processing apparatus and document processing method

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20091009

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091023

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110601

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110603

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110705

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110823

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111018

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20111221