[go: up one dir, main page]

JP2017182291A - Rasterization processing apparatus, rasterization processing method, and program - Google Patents

Rasterization processing apparatus, rasterization processing method, and program Download PDF

Info

Publication number
JP2017182291A
JP2017182291A JP2016065932A JP2016065932A JP2017182291A JP 2017182291 A JP2017182291 A JP 2017182291A JP 2016065932 A JP2016065932 A JP 2016065932A JP 2016065932 A JP2016065932 A JP 2016065932A JP 2017182291 A JP2017182291 A JP 2017182291A
Authority
JP
Japan
Prior art keywords
image
data
resolution
rasterization
image data
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
JP2016065932A
Other languages
Japanese (ja)
Other versions
JP6612167B2 (en
Inventor
横内 健一
Kenichi Yokouchi
健一 横内
瀬川 裕之
Hiroyuki Segawa
裕之 瀬川
知孝 加藤
Tomotaka Kato
知孝 加藤
陽平 大貫
Yohei Onuki
陽平 大貫
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.)
Screen Holdings Co Ltd
Original Assignee
Screen Holdings 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 Screen Holdings Co Ltd filed Critical Screen Holdings Co Ltd
Priority to JP2016065932A priority Critical patent/JP6612167B2/en
Publication of JP2017182291A publication Critical patent/JP2017182291A/en
Application granted granted Critical
Publication of JP6612167B2 publication Critical patent/JP6612167B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Facsimiles In General (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

【課題】ページデータに含まれる画像データの画像解像度は、印刷機の解像度以上となるように設定されているため、最初のラスタライズ処理時の出力解像度では適切であったにも関わらず、解像度が異なる別の印刷機で印刷を行なうための再ラスタライズ処理では出力解像度が異なることになるために問題が生じる。【解決手段】ページデータに含まれる画像データの画像解像度とラスタライズ条件の出力解像度とを比較して、「ラスタライズ条件の出力解像度>画像解像度」である場合、画像データの画像種別を取得して該画像種別に基づいた画像処理と、画像解像度をラスタライズ条件の出力解像度と一致させる処理と、を伴う画像変換を行なった上で、ページデータのラスタライズ処理を行なうことにより、画像品質の低下を抑制した好適な印刷結果を得ることができる。【選択図】 図4An image resolution of image data included in page data is set to be equal to or higher than that of a printing press. Therefore, although the output resolution at the time of the first rasterization processing is appropriate, the resolution is high. A re-rasterization process for printing on another different printing machine has a problem because the output resolution is different. The image resolution of the image data included in the page data is compared with the output resolution of the rasterization condition. If “output resolution of the rasterization condition> image resolution”, the image type of the image data is obtained and Image quality degradation is suppressed by performing page data rasterization processing after performing image conversion based on image processing based on image type and processing that matches the image resolution with the output resolution of the rasterization condition. A suitable printing result can be obtained. [Selection] Figure 4

Description

ページデータに含まれる画像の解像度と、ラスタライズ処理によって出力されたラスタライズデータの出力解像度と、の間の差異によって生じる画像欠陥を抑制するラスタライズ処理装置、ラスタライズ処理方法、およびプログラムに関する。   The present invention relates to a rasterization processing apparatus, a rasterization processing method, and a program for suppressing an image defect caused by a difference between the resolution of an image included in page data and the output resolution of rasterized data output by rasterization processing.

PostScript(米Adobe Systems社の商標)やPDF(Portable Document Format)などのページ記述言語(Page Description Language、以下PDL)によって、印刷物を表現するページを作成する技術が周知である。   2. Description of the Related Art A technique for creating a page that represents a printed material by using a page description language (hereinafter referred to as PDL) such as PostScript (trademark of Adobe Systems Inc.) or PDF (Portable Document Format) is well known.

PDLによって作成されたページデータはページ構成をプログラム的に記述したものであることから、ページデータをそのまま印刷しても所望の印刷物を得ることはできない。所望の印刷物を得るためには、ページデータの記述に基づいて紙などの記録媒体にページを表現可能な画像形式に変換を行なうラスタライズ処理を必要とする。   Since the page data created by the PDL describes the page configuration programmatically, a desired printed matter cannot be obtained even if the page data is printed as it is. In order to obtain a desired printed matter, a rasterizing process is required in which a page is described into an image format that can represent a page on a recording medium such as paper based on the description of page data.

ラスタライズ処理を行なったとしても、変換元のPDL形式のページデータは残されるので、該ページデータを電子媒体乃至磁気媒体に保存しておき、必要に応じて再ラスタライズ処理を行なって印刷物を得る、という作業が印刷会社などでは一般的に行なわれている。これは、印刷形式がインクジェット方式や電子写真方式であれば、刷版を作成することなく印刷が行なわれるためである。また、刷版を作成していたとしても、印刷を繰り返したことにより刷版の耐久力を越えてしまった場合には、再度刷版を作成するためにページデータの再ラスタライズ処理を必要とする。   Even if the rasterization process is performed, the page data in the PDL format as the conversion source remains, so the page data is stored in an electronic medium or a magnetic medium, and a re-rasterization process is performed as necessary to obtain a printed matter. This is generally done by printing companies. This is because if the printing format is an inkjet method or an electrophotographic method, printing is performed without creating a printing plate. Even if a printing plate is created, if it exceeds the durability of the printing plate due to repeated printing, re-rasterization processing of the page data is required to create the printing plate again. .

しかし、ページデータに対する再ラスタライズ処理によって得られた印刷物には品質上の問題が生じることがあった。   However, the printed matter obtained by the re-rasterization process on the page data may have a quality problem.

例えば、画像解像度が350dpiの網点化された画像を含むページデータを出力解像度600dpiのインクジェット印刷装置で印刷するために再ラスタライズ処理を行なうと、ラスタライズ化されたページに含まれる画像にはモアレが発生することがあった。あるいは、画像解像度が150dpiの多値画像を出力解像度720dpiのインクジェット印刷装置で印刷するために再ラスタライズ処理を行なうと、ラスタライズ化されたページに含まれる多値画像には拡大による品質の劣化が生じることがあった。   For example, when re-rasterization processing is performed to print page data including a halftone image with an image resolution of 350 dpi with an inkjet printing apparatus with an output resolution of 600 dpi, the image included in the rasterized page has moire. It sometimes occurred. Alternatively, when re-rasterization processing is performed to print a multi-value image with an image resolution of 150 dpi with an inkjet printing apparatus with an output resolution of 720 dpi, the multi-value image included in the rasterized page is degraded in quality due to enlargement. There was a thing.

これは、ページデータに含まれる画像データの画像解像度は、印刷機の解像度以上となるように設定されているため、最初のラスタライズ処理時の出力解像度では適切であったにも関わらず、解像度が異なる別の印刷機で印刷を行なうための再ラスタライズ処理では出力解像度が異なることになるために生じる問題である。   This is because the image data included in the page data is set so that the image resolution is equal to or higher than the resolution of the printing press. In the re-rasterization process for printing on another different printing machine, the output resolution is different, which is a problem.

このような問題を解決するためには、ページデータに含まれる画像データの画像解像度を、ラスタライズ処理時の出力解像度と一致させることが考えられる。   In order to solve such a problem, it is conceivable to match the image resolution of the image data included in the page data with the output resolution at the time of the rasterizing process.

特許公開2012-98986号Patent Publication 2012-98986

しかし、ページデータに含まれる画像データの画像解像度をラスタライズ処理時の出力解像度と単に一致させたとしても、画像品質の著しい低下は確かに抑制できるものの、やはり画像品質の低下は生じてしまう。   However, even if the image resolution of the image data included in the page data is simply matched with the output resolution at the time of the rasterizing process, a significant decrease in the image quality can be surely suppressed, but a decrease in the image quality still occurs.

たとえば、網点化されたモノクロ画像の解像度を350dpi→600dpiに変換する場合、一般的に解像度変換処理に使用されるニアレストネイバー法で変換を行なうと、最近傍のドット値を採用するために中間値が生じることがなく、結果として解像度変換時の周期性によるモアレが発生しやすくなるためである。あるいは、多値画像の解像度を300dpi→720dpiに変換する場合、画像を構成する画素の補間処理によっては、画素がそのまま表れてボケた感じになったり、画像のエッジ部分が階段状になるなど、結果として画像の品質が低下するためである。   For example, when converting the resolution of a monochrome image with halftone dots from 350dpi to 600dpi, if the conversion is performed using the nearest neighbor method generally used for resolution conversion processing, the nearest dot value is adopted. This is because an intermediate value does not occur, and as a result, moire due to periodicity during resolution conversion is likely to occur. Or, when converting the resolution of a multi-valued image from 300dpi to 720dpi, depending on the interpolation processing of the pixels that make up the image, the pixels appear as they are, or the edges of the image become stepped, etc. As a result, the quality of the image is lowered.

本発明は上記のような課題を解決するために、ページ画像に含まれる画像データの画像解像度がラスタライズ処理時の出力解像度に適さない場合であっても、好適な印刷結果を得ることができるラスタライズ処理装置、ラスタライズ処理方法、およびラスタライズ処理をコンピュータで実行するためのプログラムを提供することを目的とする。   In order to solve the above-described problems, the present invention provides a rasterization capable of obtaining a preferable print result even when the image resolution of image data included in a page image is not suitable for the output resolution at the time of rasterization processing. It is an object of the present invention to provide a processing device, a rasterization processing method, and a program for executing the rasterization processing on a computer.

[適用例1]
ページ記述言語で記述されたページデータから、記録装置で出力可能なラスタライズデータを出力するラスタライズ処理装置であって、前記ラスタライズデータを出力するためのラスタライズ条件として、少なくとも前記ラスタライズデータの出力解像度を設定するラスタライズ条件設定手段と、前記ページデータを解析して、前記ページデータに含まれるコンテンツデータを識別するページデータ解析手段と、前記ページデータから識別された前記コンテンツデータのうち、画像を表示するための画像データから該画像を表現する画像解像度を取得する画像データ解像度取得手段と、前記ラスタライズ条件の出力解像度と、前記画像データの画像解像度と、を比較する解像度比較手段と、前記解像度比較手段による比較の結果、前記画像データの画像解像度が前記ラスタライズ条件の出力解像度より低い場合、前記画像データの画像種別を取得する画像種別取得手段と、前記画像種別に基づいた画像処理と、前記画像解像度を前記出力解像度に一致させる処理と、を前記画像データに対して行なう画像データ変換手段と、前記ラスタライズ条件に従い、前記画像データ変換手段で変換された前記画像データを含む前記ページデータに基づいてラスタライズ処理を行ない、前記ラスタライズデータを出力するラスタライズ出力手段と、を備える。
[Application Example 1]
A rasterization processing device that outputs rasterized data that can be output by a recording device from page data described in a page description language, and sets at least an output resolution of the rasterized data as a rasterization condition for outputting the rasterized data Rasterizing condition setting means for analyzing, page data analyzing means for analyzing the page data to identify content data included in the page data, and for displaying an image among the content data identified from the page data Image data resolution acquisition means for acquiring an image resolution representing the image from the image data, resolution comparison means for comparing the output resolution of the rasterization condition and the image resolution of the image data, and the resolution comparison means As a result of the comparison, the image data The image resolution of the image data is lower than the output resolution of the rasterization condition, image type acquisition means for acquiring the image type of the image data, image processing based on the image type, and matching the image resolution to the output resolution Image data conversion means for performing processing on the image data, and performing rasterization processing based on the page data including the image data converted by the image data conversion means in accordance with the rasterization conditions, the rasterized data And rasterized output means for outputting.

[適用例2]
ラスタライズ処理装置であって、前記画像データ変換手段が行なう画像処理は、前記画像データをラスタライズ処理した場合に生じる画像欠陥を除去する処理であること、を特徴とする。
[Application Example 2]
In the rasterization processing apparatus, the image processing performed by the image data conversion means is a process for removing image defects generated when the image data is rasterized.

[適用例3]
ラスタライズ処理装置であって、前記画像データ変換手段が、前記画像処理に関わる画像処理条件を設定する画像処理条件設定手段と、を備えることを特徴とする。
[Application Example 3]
A rasterization processing apparatus, wherein the image data conversion means includes image processing condition setting means for setting image processing conditions relating to the image processing.

[適用例4]
ラスタライズ処理装置であって、前記画像データの画像種別が二値画像である場合、前記画像データ変換手段は画像処理としてモアレ低減処理を行なうこと、を特徴とする。
[Application Example 4]
In the rasterization processing apparatus, when the image type of the image data is a binary image, the image data conversion means performs a moire reduction process as an image process.

[適用例5]
ラスタライズ処理装置であって、前記画像データの画像種別が多値画像である場合、前記画像データ変換手段は画像処理として高精細化処理を行なうこと、を特徴とする。
[Application Example 5]
In the rasterization processing apparatus, when the image type of the image data is a multi-valued image, the image data conversion means performs high definition processing as image processing.

[適用例6]
ページ記述言語で記述されたページデータから、記録装置で出力可能なラスタライズデータを出力するラスタライズ処理方法であって、前記ラスタライズデータを出力するためのラスタライズ条件として、少なくとも前記ラスタライズデータの出力解像度を設定するラスタライズ条件設定工程と、前記ページデータを解析して、前記ページデータに含まれるコンテンツデータを識別するページデータ解析工程と、前記ページデータから識別された前記コンテンツデータのうち、画像を表示するための画像データから該画像を表現する画像解像度を取得する画像データ解像度取得工程と、前記ラスタライズ条件の出力解像度と、前記画像データの画像解像度と、を比較する解像度比較工程と、前記解像度比較工程による比較の結果、前記画像データの画像解像度が前記ラスタライズ条件の出力解像度より低い場合、前記画像データの画像種別を取得する画像データ種別取得工程と、前記画像種別に基づいた画像処理と、前記画像解像度を前記出力解像度に一致させる処理と、を前記画像データに対して行なう画像データ変換工程と、前記ラスタライズ条件に従い、前記画像データ変換工程で変換された前記画像データを含む前記ページデータに基づいてラスタライズ処理を行ない、前記ラスタライズデータを出力するラスタライズ出力工程と、を備える。
[Application Example 6]
A rasterization processing method for outputting rasterized data that can be output by a recording device from page data described in a page description language, wherein at least an output resolution of the rasterized data is set as a rasterizing condition for outputting the rasterized data A rasterizing condition setting step, a page data analysis step of analyzing the page data to identify content data included in the page data, and displaying an image of the content data identified from the page data An image data resolution acquisition step of acquiring an image resolution representing the image from the image data of the image, a resolution comparison step of comparing the output resolution of the rasterization condition and the image resolution of the image data, and the resolution comparison step As a result of the comparison, the image data The image resolution of the image data is lower than the output resolution of the rasterization condition, the image data type acquisition step of acquiring the image type of the image data, the image processing based on the image type, and the image resolution match the output resolution A rasterizing process based on the page data including the image data converted in the image data converting step according to the rasterizing condition, and performing the rasterizing process on the image data. And a rasterizing output step for outputting data.

[適用例7]
表示部と操作部とを備えたコンピュータにおいて、前記コンピュータのCPUがメモリにおいて実行することにより、前記コンピュータをページ記述言語で記述されたページデータから記録装置で出力可能なラスタライズデータを出力するラスタライズ処理装置として実現するためのプログラムであって、前記ラスタライズデータを出力するためのラスタライズ条件として、少なくとも前記ラスタライズデータの出力解像度を設定するラスタライズ条件設定ステップと、前記ページデータを解析して、前記ページデータに含まれるコンテンツデータを識別するページデータ解析ステップと、前記ページデータから識別された前記コンテンツデータのうち、画像を表示するための画像データから該画像を表現する画像解像度を取得する画像データ解像度取得ステップと、前記ラスタライズ条件の出力解像度と、前記画像データの画像解像度と、を比較する解像度比較ステップと、前記解像度比較ステップによる比較の結果、前記画像データの画像解像度が前記ラスタライズ条件の出力解像度より低い場合、前記画像データの画像種別を取得する画像データ種別取得ステップと、前記画像種別に基づいた画像処理と、前記画像解像度を前記出力解像度に一致させる処理と、を前記画像データに対して行なう画像データ変換ステップと、前記ラスタライズ条件に従い、前記画像データ変換手段で変換された前記画像データを含む前記ページデータに基づいてラスタライズ処理を行ない、前記ラスタライズデータを出力するラスタライズ出力ステップと、を備える。
[Application Example 7]
Rasterization processing for outputting rasterized data that can be output by a recording device from page data described in a page description language when the CPU of the computer executes in a memory in a computer having a display unit and an operation unit A program for realizing as an apparatus, wherein a rasterizing condition setting step for setting at least an output resolution of the rasterized data as a rasterizing condition for outputting the rasterized data, and analyzing the page data, A page data analysis step for identifying content data included in the image data, and an image data solution for obtaining an image resolution for expressing the image from image data for displaying an image among the content data identified from the page data. And a resolution comparison step for comparing the output resolution of the rasterization condition and the image resolution of the image data, and the result of the comparison in the resolution comparison step is that the image resolution of the image data is an output of the rasterization condition. If the image data is lower than the resolution, an image data type acquisition step for acquiring an image type of the image data, an image process based on the image type, and a process for matching the image resolution with the output resolution are performed on the image data. An image data conversion step performed in accordance with the rasterization conditions, and a rasterization output step of performing rasterization processing based on the page data including the image data converted by the image data conversion means and outputting the rasterized data. Prepare.

[適用例8]
プログラムであって、前記画像データ変換ステップが行なう画像処理は、前記画像データをラスタライズ処理した場合に生じる画像欠陥を除去する処理であること、を特徴とする。
[Application Example 8]
In the program, the image processing performed in the image data conversion step is processing for removing an image defect generated when the image data is rasterized.

[適用例9]
プログラムであって、前記画像データ変換ステップが、前記画像処理に関わる画像処理条件を設定する画像処理条件設定ステップと、を備えることを特徴とする。
[Application Example 9]
A program, wherein the image data conversion step includes an image processing condition setting step for setting an image processing condition related to the image processing.

[適用例10]
プログラムであって、前記画像データの画像種別が二値画像である場合、前記画像データ変換ステップは画像処理としてモアレ低減処理を行なうこと、を特徴とする。
[Application Example 10]
When the image type of the image data is a binary image, the image data conversion step performs moiré reduction processing as image processing.

[適用例11]
プログラムであって、前記画像データの画像種別が多値画像である場合、前記画像データ変換ステップは画像処理として高精細化処理を行なうこと、を特徴とする。
[Application Example 11]
When the image type of the image data is a multi-value image, the image data conversion step performs high definition processing as image processing.

適用例1では、ラスタライズ処理装置が、ページデータに含まれる画像データの画像解像度とラスタライズ条件の出力解像度とを比較して、「画像解像度<ラスタライズ条件の出力解像度」である場合、画像データの画像種別を取得して該画像種別に基づいた画像処理と、画像解像度をラスタライズ条件の出力解像度と一致させる処理と、を伴う画像変換を行なった上で、ページデータのラスタライズ処理を行なうことにより、画像品質の低下を抑制した好適な印刷結果を得ることができる。   In Application Example 1, when the rasterization processing device compares the image resolution of the image data included in the page data with the output resolution of the rasterization condition, and if “image resolution <output resolution of the rasterization condition”, the image of the image data By performing image conversion that includes image processing based on the image type based on the image type and processing that matches the image resolution with the output resolution of the rasterization condition, and performing rasterization processing of the page data, It is possible to obtain a suitable printing result in which deterioration in quality is suppressed.

適用例2では、ラスタライズ処理装置の画像データ変換手段が行なう画像処理が、画像データをラスタライズ処理した場合に生じる画像欠陥を除去する処理なので、ページデータのラスタライズ処理を行なうことにより、画像品質の低下を抑制した好適な印刷結果を得ることができる。   In Application Example 2, since the image processing performed by the image data conversion unit of the rasterization processing apparatus is processing for removing image defects caused when the image data is rasterized, image quality is degraded by performing page data rasterization processing. It is possible to obtain a suitable printing result with suppressed.

適用例3では、ラスタライズ処理装置の画像データ変換手段が、画像処理に関わる画像処理条件を設定する画像処理条件設定手段を備えるので、印刷条件の変更などに適切に従ってページデータのラスタライズ処理を行なうことにより、画像品質の低下を抑制した好適な印刷結果を得ることができる。   In Application Example 3, the image data conversion unit of the rasterization processing apparatus includes an image processing condition setting unit that sets an image processing condition related to the image processing. Therefore, the rasterization processing of the page data is appropriately performed according to the change of the printing condition. As a result, it is possible to obtain a suitable printing result in which deterioration in image quality is suppressed.

適用例4では、ラスタライズ処理装置の画像データ変換手段が、画像データの画像種別が二値画像である場合には画像処理としてモアレ低減処理を行なうので、ページデータのラスタライズ処理を行なうことにより、画像品質の低下を抑制した好適な印刷結果を得ることができる。   In Application Example 4, the image data conversion unit of the rasterization processing device performs moire reduction processing as image processing when the image type of the image data is a binary image. Therefore, by performing rasterization processing of page data, It is possible to obtain a suitable printing result in which deterioration in quality is suppressed.

適用例5では、ラスタライズ処理装置の画像データ変換手段が、画像データの画像種別が多値画像である場合には画像処理として高精細化処理を行なうので、ページデータのラスタライズ処理を行なうことにより、画像品質の低下を抑制した好適な印刷結果を得ることができる。   In Application Example 5, the image data conversion unit of the rasterization processing apparatus performs high-definition processing as image processing when the image type of the image data is a multi-valued image. Therefore, by performing rasterization processing of page data, It is possible to obtain a suitable printing result in which deterioration of image quality is suppressed.

適用例6では、ページデータに含まれる画像データの画像解像度とラスタライズ条件の出力解像度とを比較して、「画像解像度<ラスタライズ条件の出力解像度」である場合、画像データの画像種別を取得して該画像種別に基づいた画像処理と、画像解像度をラスタライズ条件の出力解像度と一致させる処理と、を伴う画像変換を行なった上で、ページデータのラスタライズ処理を行なうラスタライズ処理方法なので、画像品質の低下を抑制した好適な印刷結果を得ることができる。   In Application Example 6, the image resolution of the image data included in the page data is compared with the output resolution of the rasterization condition, and if “image resolution <output resolution of the rasterization condition”, the image type of the image data is acquired. Since this is a rasterization processing method for performing page data rasterization processing after performing image conversion based on the image processing based on the image type and processing for matching the image resolution with the output resolution of the rasterization condition, the image quality decreases. It is possible to obtain a suitable printing result with suppressed.

適用例7では、ページデータに含まれる画像データの画像解像度とラスタライズ条件の出力解像度とを比較して、「画像解像度<ラスタライズ条件の出力解像度」である場合、画像データの画像種別を取得して該画像種別に基づいた画像処理と、画像解像度をラスタライズ条件の出力解像度と一致させる処理と、を伴う画像変換を行なった上で、ページデータのラスタライズ処理をコンピュータで実行させるので、画像品質の低下を抑制した好適な印刷結果を得ることができる。   In Application Example 7, the image resolution of the image data included in the page data is compared with the output resolution of the rasterization condition, and if “image resolution <output resolution of the rasterization condition”, the image type of the image data is acquired. Since image conversion based on the image type and image conversion that matches the image resolution with the output resolution of the rasterization condition is performed, the page data rasterization process is executed by the computer, resulting in a decrease in image quality. It is possible to obtain a suitable printing result with suppressed.

適用例8では、コンピュータが行なうラスタライズ処理の画像データ変換ステップが行なう画像処理が、画像データをラスタライズ処理した場合に生じる画像欠陥を除去する処理なので、ページデータのラスタライズ処理を行なって、画像品質の低下を抑制した好適な印刷結果を得ることができる。   In Application Example 8, since the image processing performed by the image data conversion step of the rasterizing process performed by the computer is a process of removing image defects caused when the image data is rasterized, the page data is rasterized and the image quality is improved. It is possible to obtain a suitable printing result in which the decrease is suppressed.

適用例9では、コンピュータが行なうラスタライズ処理の画像データ変換ステップが、画像処理に関わる画像処理条件を設定する画像処理条件設定ステップを備えるので、印刷条件の変更などに適切に従ってページデータのラスタライズ処理を行なって、画像品質の低下を抑制した好適な印刷結果を得ることができる。   In Application Example 9, since the image data conversion step of rasterization processing performed by the computer includes an image processing condition setting step for setting image processing conditions related to the image processing, the rasterization processing of the page data is appropriately performed according to the change of the printing conditions. As a result, it is possible to obtain a suitable printing result in which deterioration in image quality is suppressed.

適用例10では、コンピュータが行なうラスタライズ処理の画像データ変換ステップが、画像データの画像種別が二値画像である場合には画像処理としてモアレ低減処理を行なうので、ページデータのラスタライズ処理を行なって、画像品質の低下を抑制した好適な印刷結果を得ることができる。   In Application Example 10, since the image data conversion step of the rasterization process performed by the computer performs the moire reduction process as the image process when the image type of the image data is a binary image, the rasterization process of the page data is performed. It is possible to obtain a suitable printing result in which deterioration of image quality is suppressed.

適用例11では、コンピュータが行なうラスタライズ処理の画像データ変換ステップが、画像データの画像種別が多値画像である場合には画像処理として高精細化処理を行なうので、ページデータのラスタライズ処理を行なって、画像品質の低下を抑制した好適な印刷結果を得ることができる。   In Application Example 11, since the image data conversion step of the rasterizing process performed by the computer performs a high-definition process as the image process when the image type of the image data is a multi-valued image, the page data rasterizing process is performed. Thus, it is possible to obtain a suitable printing result in which deterioration in image quality is suppressed.

本発明の第1の実施形態におけるラスタライズ処理装置1の構成図である。1 is a configuration diagram of a rasterization processing device 1 according to a first embodiment of the present invention. 本発明の第1の実施形態におけるラスタライズ処理装置1において行なわれる動作を説明するためのフローチャートである。3 is a flowchart for explaining an operation performed in the rasterization processing device 1 according to the first embodiment of the present invention. 本発明のページデータの構成についての説明図である。It is explanatory drawing about the structure of the page data of this invention. 本発明の第1の実施形態におけるラスタライズ処理装置1における画像データに対する画像処理を説明するための図である。FIG. 5 is a diagram for explaining image processing on image data in the rasterization processing device 1 according to the first embodiment of the present invention. 条件設定メニューJSを説明するための図である。It is a figure for demonstrating condition setting menu JS. 本発明の第1の実施形態におけるラスタライズ処理装置1によって、ページデータから作成されたラスタライズデータを説明するための図である。FIG. 5 is a diagram for explaining rasterized data created from page data by the rasterizing processing apparatus 1 according to the first embodiment of the present invention.

以下、図面を利用しながら、本発明を実施形態について、説明を行なう。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

〈第1の実施の形態〉
図1は、本発明に係わるラスタライズ処理装置1の構成を説明するための図である。ラスタライズ処理装置1は、一般的に使用されているパーソナルコンピュータであり、CPU11、表示部12、入力部13、ネットワークI/F14、メディアドライブ15、記憶部16、メモリ17より構成されている。
<First embodiment>
FIG. 1 is a diagram for explaining the configuration of a rasterization processing apparatus 1 according to the present invention. The rasterization processing apparatus 1 is a commonly used personal computer, and includes a CPU 11, a display unit 12, an input unit 13, a network I / F 14, a media drive 15, a storage unit 16, and a memory 17.

CPU11は、ラスタライズ処理装置1全体を制御し、特にメディアドライブ15に挿入されたメディアディスク18に記録されているプログラムPをメモリ17において実行することによって、ラスタライズ処理装置1の機能を実現している。   The CPU 11 controls the entire rasterization processing device 1 and realizes the function of the rasterization processing device 1 by executing the program P recorded in the media disk 18 inserted in the media drive 15 in the memory 17 in particular. .

表示部12は、ラスタライズ処理に必要な情報を表示するために使用される。入力部13は、マウスやキーボードで構成されており、ラスタライズ処理装置1に対してオペレータが指示を入力するために使用する。   The display unit 12 is used to display information necessary for rasterization processing. The input unit 13 includes a mouse and a keyboard, and is used by an operator to input an instruction to the rasterization processing device 1.

ネットワークI/F14は、ラスタライズ処理装置1と図示しないネットワークとを接続するためのものである。ネットワークI/F14を介して、ラスタライズ処理装置1はネットワークに接続されている図示しない端末からラスタライズ処理に必要な情報、例えばラスタライズ処理の対象となるページデータ、ラスタライズ処理を行なうためのラスタライズ設定データを受信することができる。   The network I / F 14 is for connecting the rasterization processing apparatus 1 and a network (not shown). Via the network I / F 14, the rasterization processing apparatus 1 receives information necessary for rasterization processing, such as page data to be rasterized, rasterization setting data for performing rasterization processing, from a terminal (not shown) connected to the network. Can be received.

また、図示しないサーバより、ラスタライズ処理装置1の機能を実現するプログラムPをダウンロードすることも可能である。さらに、図示しない出力装置がネットワークを介してラスタライズ処理装置1と接続されている場合には、このネットワークI/F14を介して、出力装置にラスタライズデータを送信できる。   It is also possible to download a program P that realizes the functions of the rasterization processing device 1 from a server (not shown). Further, when an output device (not shown) is connected to the rasterization processing device 1 via a network, rasterized data can be transmitted to the output device via the network I / F 14.

メディアドライブ15は、メディアディスク18に記録されているプログラムPを読み取るために使用する。メディアドライブ15で読み取られたプログラムPにより、ラスタライズ処理装置1の機能が実現される。メディアディスク18はCD-ROM、DVD-ROM、CD-R、DVD-RAMなどの光学ディスクや、USBメモリなどの半導体メモリなどの非一過性の可搬型記録媒体であり、メディアドライブ15はメディアディスク18に対応した読取/書込機構を備えている。   The media drive 15 is used for reading the program P recorded on the media disk 18. The function of the rasterization processing device 1 is realized by the program P read by the media drive 15. The media disk 18 is a non-transitory portable recording medium such as an optical disk such as a CD-ROM, DVD-ROM, CD-R, DVD-RAM, or a semiconductor memory such as a USB memory, and the media drive 15 is a medium. A read / write mechanism corresponding to the disk 18 is provided.

ラスタライズ処理に必要なページデータ、あるいはラスタライズ設定データをメディアディスク18に記録し、メディアドライブ15からラスタライズ処理装置1に取り込むようにしてもよい。あるいは、ラスタライズ処理装置1が生成したラスタライズデータをメディアディスク18に記録するためにメディアドライブ15を使用してもよい。   The page data or rasterization setting data required for the rasterization process may be recorded on the media disk 18 and taken into the rasterization processing apparatus 1 from the media drive 15. Alternatively, the media drive 15 may be used to record the rasterized data generated by the rasterization processing device 1 on the media disk 18.

記憶部16は、メディアドライブ15で読み取られたプログラムPを格納する。また、記憶部16は、ラスタライズ設定データ、ページデータ、あるいはラスタライズデータをも記憶する。   The storage unit 16 stores the program P read by the media drive 15. The storage unit 16 also stores rasterization setting data, page data, or rasterized data.

メモリ17は、記憶部16によって記憶されたプログラムPをCPU11が実行するためのワークエリアである。CPU11によってプログラムPが実行された結果、メモリ17において、ラスタライズ条件設定部171、ページデータ解析部172、出力解像度-画像データ解像度比較部173、画像データ変換部174、ラスタライズ処理部175が実現される。   The memory 17 is a work area for the CPU 11 to execute the program P stored by the storage unit 16. As a result of execution of the program P by the CPU 11, in the memory 17, a rasterization condition setting unit 171, a page data analysis unit 172, an output resolution-image data resolution comparison unit 173, an image data conversion unit 174, and a rasterization processing unit 175 are realized. .

ラスタライズ条件設定部171は、ラスタライズ処理装置1がページデータに対してラスタライズ処理を行なってラスタライズデータを生成する際に使用するラスタライズ条件を設定する。ラスタライズ条件設定部171が設定するラスタライズ条件として、ラスタライズデータの出力解像度が存在する。また、C(シアン)、M(マゼンダ)、Y(イエロー)、K(ブラック)、さらに特色など印刷されるべきラスタライズデータの色設定、AM/FMなどの網種類などもラスタライズ条件としてラスタライズ条件設定部171で設定される。   The rasterization condition setting unit 171 sets rasterization conditions used when the rasterization processing apparatus 1 performs rasterization processing on page data to generate rasterized data. As rasterization conditions set by the rasterization condition setting unit 171, there is an output resolution of rasterized data. Rasterization conditions are also set as rasterization conditions such as C (cyan), M (magenta), Y (yellow), K (black), color settings for rasterized data to be printed, such as special colors, and network types such as AM / FM. Set in the unit 171.

ページデータ解析部172は、ラスタライズ処理装置1でラスタライズ処理を行なうページデータの解析を行なう。ページデータの解析とは、ページデータのエラーの有無、ページを表現するために使用されているコンテンツの種類を識別することである。ページデータPDに使用されるコンテンツとしてはJPEGファイル、GIFファイルなどの多値画像を表現するためのCT画像ファイル(CT画像データ)、既に網点化された1bit画像を表現するための1bitTIFFファイル(二値画像データ)などの画像データの他、文字を表現するためのtxtファイル(テキストデータ)などが存在する。ページデータ解析部172はページデータを解析して、後述する画像変換において最適の画像変換を行なうために、ページデータに含まれるコンテンツを識別する。   The page data analysis unit 172 analyzes page data to be rasterized by the rasterization processing device 1. The analysis of page data means identifying the presence / absence of an error in page data and the type of content used to represent the page. The contents used for page data PD include CT image files (CT image data) for expressing multi-valued images such as JPEG files and GIF files, and 1-bit TIFF files for expressing 1-bit images that are already halftone ( In addition to image data such as (binary image data), there are txt files (text data) for expressing characters. The page data analysis unit 172 analyzes the page data and identifies content included in the page data in order to perform optimal image conversion in image conversion described later.

ページデータ解析部172は、さらに画像データ解像度取得部1721を備えている。画像データ解像度取得部1721は、ページデータ解析部172が識別した画像データにそれぞれ設定されている画像を表現する際の画像解像度を取得する。画像データ解像度取得部1721が取得した画像解像度は、後述する出力解像度-画像解像度比較部173による比較処理に使用される。   The page data analysis unit 172 further includes an image data resolution acquisition unit 1721. The image data resolution acquisition unit 1721 acquires image resolutions for expressing images set in the image data identified by the page data analysis unit 172, respectively. The image resolution acquired by the image data resolution acquisition unit 1721 is used for comparison processing by an output resolution-image resolution comparison unit 173 described later.

出力解像度-画像解像度比較部173は、ラスタライズ条件設定部171で設定されたラスタライズ条件の出力解像度と、画像データ解像度取得部1721が取得したページデータに含まれる画像データの画像解像度とを比較する。ラスタライズデータの出力解像度と画像データの画像解像度とが一致しない場合、特に画像データの画像解像度がラスタライズデータの出力解像度よりも低い場合、ページデータをラスタライズ処理して得たラスタライズデータにおける画像の表現にモアレ発生などの不具合が生じる。そのような不具合が生じるのを防ぐため、出力解像度-画像解像度比較部173はラスタライズ条件の出力解像度と画像データの画像解像度とを比較し、比較の結果画像データの画像解像度がラスタライズ条件の出力解像度よりも低い場合は、後述する画像データ変換部174において、解像度変換を伴う画像データの変換処理が行なわれる。   The output resolution-image resolution comparison unit 173 compares the output resolution of the rasterization condition set by the rasterization condition setting unit 171 with the image resolution of the image data included in the page data acquired by the image data resolution acquisition unit 1721. When the output resolution of rasterized data and the image resolution of image data do not match, especially when the image data resolution is lower than the output resolution of rasterized data, it is possible to represent images in rasterized data obtained by rasterizing page data. Problems such as moiré occur. In order to prevent such a problem from occurring, the output resolution-image resolution comparison unit 173 compares the output resolution of the rasterization condition with the image resolution of the image data, and the comparison result indicates that the image resolution of the image data is the output resolution of the rasterization condition. If lower than that, the image data conversion unit 174, which will be described later, performs image data conversion processing with resolution conversion.

画像データ変換部174は、ページデータに含まれる画像データの画像解像度がラスタライズ条件の出力解像度よりも低い場合に、解像度変換を伴う画像データの変換処理を行なう。画像データ変換部174で行なわれる画像データの変換処理は、ラスタライズ処理を行なった結果生じるモアレ除去など画像品質の向上を目的としたものである。解像度変換としては、バイリニア、バイキュービック(高)バイキュービック(超)、超解像処理などが、画像データの種類に基づいて行なわれる。また、画像変換としては、ガウスフィルタ、ミティアンフィルタなどのノイズ除去を目的としたフィルタ処理、あるいはアンチエイリアス処理を伴うスーパーサンプリングが行なわれる。   The image data conversion unit 174 performs image data conversion processing with resolution conversion when the image resolution of the image data included in the page data is lower than the output resolution of the rasterization condition. The image data conversion process performed by the image data conversion unit 174 is intended to improve image quality such as moire removal resulting from the rasterization process. As the resolution conversion, bilinear, bicubic (high) bicubic (super), super-resolution processing, and the like are performed based on the type of image data. In addition, as image conversion, filter processing for the purpose of noise removal such as a Gaussian filter and a Mitian filter, or supersampling with anti-aliasing is performed.

画像データ変換部174は、ページデータに含まれる画像データの種類ごとに画像データ変換を行なうため、二値画像変換部1741と、多値画像変換部1742とを備えている。   The image data conversion unit 174 includes a binary image conversion unit 1741 and a multi-value image conversion unit 1742 in order to perform image data conversion for each type of image data included in the page data.

二値画像データ変換部1741は、ページデータに含まれる画像データが1bitTIFFファイルなどの二値画像であり、画像データの画像解像度がラスタライズ出力の解像度よりも低い場合に画像データの変換を行なう。ページデータ解析部172でページデータに含まれる画像データを識別した結果、二値画像であって画像データの解像度がラスタライズ条件の出力解像度よりも低い場合、二値画像データ変換部1741は二値画像データに対して解像度変換を伴う画像変換を行なう。   The binary image data conversion unit 1741 converts image data when the image data included in the page data is a binary image such as a 1-bit TIFF file and the image resolution of the image data is lower than the resolution of the rasterized output. As a result of identifying the image data included in the page data by the page data analysis unit 172, if the resolution of the image data is lower than the output resolution of the rasterization condition as a result of the binary image, the binary image data conversion unit 1741 Image conversion with resolution conversion is performed on the data.

二値画像データ変換部1741が行なう画像変換は、画像データの画像解像度をラスタライズ条件の出力解像度よりも高い解像度に変換してアンチエイリアス処理を行ない、その後ラスタライズ条件の出力解像度と一致させるスーパーサンプリング、あるいは画像データの画像解像度をラスタライズ条件の出力解像度と一致させてから行なうフィルタ処理の何れかである。   The image conversion performed by the binary image data conversion unit 1741 converts the image resolution of the image data to a resolution higher than the output resolution of the rasterization condition, performs anti-aliasing processing, and then supersampling to match the output resolution of the rasterization condition, or One of the filtering processes performed after the image resolution of the image data is matched with the output resolution of the rasterization condition.

多値画像データ変換部1742は、ページデータに含まれる画像データがCT画像ファイルなどの多値画像であり、画像データの画像解像度がラスタライズ出力の解像度よりも低い場合に画像データの変換を行なう。   The multi-value image data conversion unit 1742 converts image data when the image data included in the page data is a multi-value image such as a CT image file and the image data has a lower image resolution than the rasterized output.

多値画像データ変換部1742が行なう画像変換は、画像データの画像解像度をラスタライズ条件の出力解像度と一致させてから行なうフィルタ処理である。   The image conversion performed by the multi-value image data conversion unit 1742 is a filter process performed after matching the image resolution of the image data with the output resolution of the rasterization condition.

画像データ変換部174で変換された変換済画像データは、後述するラスタライズ処理部175に送られる。   The converted image data converted by the image data conversion unit 174 is sent to a rasterization processing unit 175 described later.

ラスタライズ処理部175は、ラスタライズ条件設定部171で設定されたラスタライズ条件に基づき、ページデータの記述を参照して描画を行ない、ラスタライズデータの生成を行なう。また、ラスタライズ処理部175は、画像データ変換部174で変換された変換済画像データを、ページデータに含まれる画像データと置換して、ラスタライズ処理を行なう。   The rasterization processing unit 175 performs drawing with reference to the description of the page data based on the rasterization conditions set by the rasterization condition setting unit 171 to generate rasterized data. In addition, the rasterization processing unit 175 performs rasterization processing by replacing the converted image data converted by the image data conversion unit 174 with the image data included in the page data.

ラスタライズ処理部175で生成されたラスタライズデータは、記憶部16に記憶され、必要に応じて出力処理に供する。   The rasterized data generated by the rasterization processing unit 175 is stored in the storage unit 16 and used for output processing as necessary.

図2は、ラスタライズ処理装置1がラスタライズ処理の対象とするページデータPDを説明するための図である。ページデータPDは、PostScript、PDFなどのPDLで作成されている。   FIG. 2 is a diagram for explaining the page data PD that is to be subjected to rasterization processing by the rasterization processing device 1. FIG. The page data PD is created by PDL such as PostScript or PDF.

図2(a)は、ページデータPDが表現する印刷像を示すための図である。なお、本来であれば、印刷物を作成するために必要な余白、アクセサリなども配置されているが、ここでは説明のためそれらを省略している。   FIG. 2A is a diagram for showing a print image represented by the page data PD. Originally, margins, accessories, and the like necessary for creating a printed material are also arranged, but they are omitted here for explanation.

図2(a)に示すページデータPDでは、A4サイズの用紙に印刷を行なうため、ページサイズをA4縦210mm×297mmとしている。このA4サイズの領域の中に、原点Oを基準に左下点をオフセット位置O1とする画像1(img1)、同様に左下点をオフセット位置O2とする画像2(img2)、左下点をオフセット位置O3とするテキスト1(txt1)が配置されており、ページデータPDに対してラスタライズ処理を行なって得られたラスタライズデータに基づいてA4縦の印刷用紙に印刷すると、図2(a)に示す印刷物を得ることができる。   In the page data PD shown in FIG. 2A, the page size is set to A4 length 210 mm × 297 mm in order to print on A4 size paper. Within this A4 size area, image 1 (img1) with the lower left point as the offset position O1 with respect to the origin O, similarly image 2 (img2) with the lower left point as the offset position O2, and lower left point as the offset position O3 Text 1 (txt1) is placed, and when printing is performed on A4 vertical print paper based on the rasterized data obtained by performing rasterization processing on the page data PD, the printed matter shown in FIG. Can be obtained.

図2(b)は、ページデータPDの記述を示すための図である。ページデータPDの記述に基づいて、ラスタライズ出力部175によるラスタライズ処理が行なわれる。   FIG. 2 (b) is a diagram for illustrating the description of the page data PD. Based on the description of the page data PD, rasterization processing by the rasterization output unit 175 is performed.

図2(b)は、PDLで記述されており、ここではタグでスタイルを定義するマークアップ言語で表現されている。ページデータPDであることを宣言するタグ<PD>と</PD>の間に、ページサイズ、ページを構成するコンテンツの種類、コンテンツのサイズ、オフセット、使用するインク色数、解像度などをタグによって記述している。   FIG. 2 (b) is described in PDL, which is expressed in a markup language in which styles are defined by tags. Between tag <PD> and </ PD> that declares page data PD, page size, type of content that composes page, content size, offset, number of ink colors used, resolution, etc. It is described.

図2(b)に示すページデータPDの記述は、宣言タグの後、ページサイズを示すタグ<size>が記述されている。ここでは、A4縦であることから、「<size>A4,Vertical</size>」と記述されており、ページデータPDのページサイズがA4縦であることを記述している。   In the description of the page data PD shown in FIG. 2B, a tag <size> indicating the page size is described after the declaration tag. Here, since it is A4 vertical, “<size> A4, Vertical </ size>” is described, which describes that the page size of the page data PD is A4 vertical.

続けてページ内に配置されるコンテンツが記述される。コンテンツを示すタグは<obj>であり、ここでは画像1、画像2、テキスト1が配置されているので、「<obj>画像1」、「<obj>画像2」、「<obj>テキスト1」が記述されており、各々の記述の下にコンテンツの属性を示す記述が行なわれている。   Subsequently, the content arranged in the page is described. The tag indicating the content is <obj>, and here, image 1, image 2, and text 1 are placed, so "<obj> image 1", "<obj> image 2", "<obj> text 1 Is described, and a description indicating the attribute of the content is performed under each description.

画像1についての記述として、<obj>タグの後に<filename>、<size>、<offset>、<reso>、<color>タグによる記述が行なわれる。   As a description of the image 1, description is performed using <filename>, <size>, <offset>, <reso>, and <color> tags after the <obj> tag.

<filename>タグは、ファイルネーム及び識別子によるファイルタイプを記述するためのものである。ここでは、画像1のファイル名称が「img1.tif」であることから、<filename>img1.tif</filename>というタグによる記述が行なわれる。この記述により、ファイル名称が「img1」であり、識別子「.tif」からファイルタイプがTIFFファイルであることが明らかになるので、後述するラスタライズ処理ではこの記述を参照して処理を実行する。   The <filename> tag is for describing a file type by a file name and an identifier. Here, since the file name of the image 1 is “img1.tif”, description by a tag <filename> img1.tif </ filename> is performed. This description makes it clear that the file name is “img1” and the file type is the TIFF file from the identifier “.tif”. Therefore, in the rasterizing process described later, the process is executed with reference to this description.

<size>タグは、ここでは画像1のページデータPDにおけるレイアウトサイズを記述している。<size>タグで規定するサイズは、mm、ピクセルなど所定の単位で設定可能である。   Here, the <size> tag describes the layout size of the page data PD of the image 1. The size specified by the <size> tag can be set in a predetermined unit such as mm or pixels.

<offset>タグは、画像1のオフセット位置を記述するためのタグである。ここでは<offset>O1</offset>と記述されていることから、ページデータPDが示すA4領域の原点Oからのオフセット位置「O1」が画像1の左下点となるように画像1が配置されることを示している。オフセット位置O1は、X-Y座標系記述により規定されるが、極座標系記述であってもよい。   The <offset> tag is a tag for describing the offset position of the image 1. Here, since it is described as <offset> O1 </ offset>, image 1 is arranged so that the offset position “O1” from the origin O of the A4 area indicated by the page data PD is the lower left point of image 1. Which indicates that. The offset position O1 is defined by the XY coordinate system description, but may be a polar coordinate system description.

<reso>タグは、画像1の画像解像度を記述するためのタグである。ここでは<reso>300dpi</reso>と記述されているので、画像1が「300dpi(dot per inch)」の解像度を有することを示している。<reso>タグで規定する解像度は、dpiの他にlpi(line per inch)、ppm(pixel per meter)など、所定の単位で設定可能である。   The <reso> tag is a tag for describing the image resolution of the image 1. Here, since it is described as <reso> 300 dpi </ reso>, it indicates that the image 1 has a resolution of “300 dpi (dot per inch)”. The resolution defined by the <reso> tag can be set in predetermined units such as lpi (line per inch) and ppm (pixel per meter) in addition to dpi.

<color>タグは、画像1の色を示すための記述である。ここでは<color>mono</color>と記述されていることから、画像1は「モノクロ」であることを示している。また、<fimename>タグの識別子が「tif」であることから画像1がTIFFファイルであることがわかり、この二つのタグから画像1が1bitTIFFファイルである二値画像データであることが明らかとなる。   The <color> tag is a description for indicating the color of the image 1. Here, since it is described as <color> mono </ color>, it indicates that image 1 is “monochrome”. In addition, since the identifier of the <fimename> tag is “tif”, it can be seen that image 1 is a TIFF file, and it is clear from these two tags that image 1 is binary image data that is a 1-bit TIFF file. .

なお、<color>タグでは、色の記述として「full(CMYK)」、「CM(C,Mインクのみ)」、「C,M,Y,K,Sp(Spは特色)」など、使用するインクの数や種類を記述することができる。   The <color> tag uses “full (CMYK)”, “CM (C, M ink only)”, “C, M, Y, K, Sp (Sp is a special color)”, etc. The number and type of ink can be described.

画像1の記述の後は<obj>画像2として、画像2についての記述が行なわれる。画像2についての記述も画像1の記述とほぼ同様であるが、<filename>タグと<color>タグの記述が、画像1とは異なっている。   After image 1 is described, image 2 is described as <obj> image 2. The description of the image 2 is almost the same as the description of the image 1, but the description of the <filename> tag and the <color> tag is different from that of the image 1.

画像2の<filename>タグが、<filename>img2.jpg</filename>であることから、識別子が「jpg」であり、画像データ2がIPEGデータであることが記述されている。また、<color>タグが、<color>full</color>であることから、画像2がCMYKで印刷されるCT画像データである多値画像データであることが明らかとなる。   Since the <filename> tag of the image 2 is <filename> img2.jpg </ filename>, the identifier is “jpg” and it is described that the image data 2 is IPEG data. Also, since the <color> tag is <color> full </ color>, it becomes clear that the image 2 is multi-value image data that is CT image data printed in CMYK.

画像1、画像2の後は<obj>テキスト1として、テキスト1についての記述が行なわれる。テキスト1についての記述も画像1、2の記述とほぼ同様であるが、<font>タグが存在し、<reso>タグが存在しないことが、画像1、2の記述とは異なっている。   After image 1 and image 2, text 1 is described as <obj> text 1. The description of text 1 is almost the same as the description of images 1 and 2, but the <font> tag is present and the <reso> tag is not present, unlike the descriptions of images 1 and 2.

<font>タグは、テキスト1を表現するタイプフェイスを示すための記述である。ここでは<font>タグが、<font>mincho</font>であることから、テキスト1のタイプフェイスが「明朝」であることを示している。   The <font> tag is a description for indicating a typeface expressing the text 1. Here, since the <font> tag is <font> mincho </ font>, it indicates that the typeface of text 1 is “Mincho”.

一方、テキスト1には<reso>タグがないので、テキスト1の解像度はラスタライズ条件で設定された出力解像度に依存して、テキスト1を表現するタイプフェイスが描画されることになる。   On the other hand, since the text 1 has no <reso> tag, the typeface representing the text 1 is drawn depending on the resolution of the text 1 depending on the output resolution set in the rasterizing condition.

図3は、ラスタライズ処理装置1の動作を説明するフローチャートである。図2に示すページデータPDについて、ラスタライズ処理装置1のCPU11がプログラムPをメモリ17に展開して、このフローチャートに示す動作を行ない、ラスタライズ処理を実行する。   FIG. 3 is a flowchart for explaining the operation of the rasterization processing apparatus 1. For the page data PD shown in FIG. 2, the CPU 11 of the rasterization processing apparatus 1 develops the program P in the memory 17, performs the operation shown in this flowchart, and executes the rasterization process.

ステップS1では、ラスタライズ処理装置1のオペレータによる入力部13からの入力に基づいて、ラスタライズ条件設定部171がラスタライズ条件を設定する。設定されるラスタライズ条件としては、ラスタライズ条件の出力解像度、色設定、網種類などであり、特に「出力解像度」の設定は後述するプロセスにて使用される。   In step S1, the rasterization condition setting unit 171 sets rasterization conditions based on the input from the input unit 13 by the operator of the rasterization processing apparatus 1. The rasterization conditions that are set include the output resolution, color settings, and network type of the rasterization conditions. In particular, the setting of “output resolution” is used in a process that will be described later.

ここでは、ラスタライズ条件設定部171が設定したラスタライズ条件として、出力解像度を「600dpi」とする。   Here, as the rasterization condition set by the rasterization condition setting unit 171, the output resolution is “600 dpi”.

ステップS2では、ラスタライズ処理装置1のページデータ解析部172が、ラスタライズ処理装置1に入力されたページデータPDの解析を行なう。ネットワークI/F14を介して、あるいはメディアディスク18を読取ったメディアドライブ15を介して、ラスタライズ処理装置1にページデータPDが入力されると、ページデータ解析部172がページデータPDの記述に基づいてページデータPDの解析を解析し、ページデータPDのエラーの有無を判定する他、ページデータPDに使用されているコンテンツを識別する。ここでは、ページデータPDで使用されているコンテンツが、図2で示したように「画像1(img1.tif)」、「画像2(img2.jpg)」、「テキスト1(txt1.txt)」とする。   In step S2, the page data analysis unit 172 of the rasterization processing device 1 analyzes the page data PD input to the rasterization processing device 1. When the page data PD is input to the rasterization processing device 1 via the network I / F 14 or the media drive 15 that has read the media disk 18, the page data analysis unit 172 is based on the description of the page data PD. In addition to analyzing the analysis of the page data PD, it determines whether or not there is an error in the page data PD, and identifies the content used in the page data PD. In this case, the contents used in the page data PD are “Image 1 (img1.tif)”, “Image 2 (img2.jpg)”, “Text 1 (txt1.txt)” as shown in FIG. And

ステップS2によるページデータPDの解析の結果、コンテンツの識別が行なわれたならば、全てのコンテンツについて画像変換が完了したか否かを判定するステップS3へ移行する。   If the contents are identified as a result of the analysis of the page data PD in step S2, the process proceeds to step S3 for determining whether or not image conversion has been completed for all contents.

ラスタライズ処理装置1は、ラスタライズ処理部175に一時格納されているコンテンツの数と、ページデータPDに含まれているコンテンツの数とを比較することで、コンテンツについての画像変換が完了したか否かを判定する。ステップS3の判定の結果、識別されたコンテンツについて全て画像変換が完了しているならばステップS8へ移行し、画像変換が行なわれていないコンテンツが存在するならばステップS4へ移行する。   The rasterization processing device 1 compares the number of contents temporarily stored in the rasterization processing unit 175 with the number of contents included in the page data PD to determine whether or not the image conversion for the contents has been completed. Determine. If the result of determination in step S3 is that image conversion has been completed for all identified content, the process proceeds to step S8, and if there is content that has not undergone image conversion, the process proceeds to step S4.

ステップS4は、画像変換が行なわれていないコンテンツについて、画像データ解像度取得部1721がページデータPDの記述を参照して、コンテンツである画像データの解像度を取得する。   In step S4, for content that has not undergone image conversion, the image data resolution acquisition unit 1721 refers to the description of the page data PD to acquire the resolution of the image data that is the content.

ラスタライズ処理装置1は、ページデータPDの記述に従って、画像変換が行なわれていないコンテンツについて、画像解像度を取得する。コンテンツでは、<reso>タグによる画像解像度の記述が行なわれているので、画像データ解像度取得部1721は<reso>タグを参照して、画像解像度を取得する。   The rasterization processing apparatus 1 acquires the image resolution for content that has not been subjected to image conversion in accordance with the description of the page data PD. In the content, since the image resolution is described by the <reso> tag, the image data resolution acquisition unit 1721 refers to the <reso> tag and acquires the image resolution.

なお、画像解像度について<reso>タグで記述されていない場合、画像データ解像度取得部1721は、画像データに埋め込まれている解像度を画像解像度として取得するようにしてもよい。   When the image resolution is not described by the <reso> tag, the image data resolution acquisition unit 1721 may acquire the resolution embedded in the image data as the image resolution.

ステップS5で、出力解像度-画像解像度比較部173が、ラスタライズ条件設定部171が設定したラスタライズ条件の出力解像度と、画像データ解像度取得部1721が取得した画像出力解像度とを比較し、「ラスタライズ条件の出力解像度>画像解像度」の場合、ステップS6へ移行する。   In step S5, the output resolution-image resolution comparison unit 173 compares the output resolution of the rasterization condition set by the rasterization condition setting unit 171 with the image output resolution acquired by the image data resolution acquisition unit 1721. If “output resolution> image resolution”, the process proceeds to step S6.

ラスタライズ条件の出力解像度と画像解像度との比較の結果、ラスタライズ条件の出力解像度の方が画像解像度よりも高い場合、画像データに対してラスタライズ処理を行なうと、モアレの発生や粒状化など、さまざまな画像欠陥が生じる可能性がある。そのようなラスタライズ処理に起因する画像欠陥を防ぐため、ステップS5の判定を行ない、「ラスタライズ条件の出力解像度>画像解像度」であれば、後述する画像変換を行なうためのステップS6へ移行する。   If the output resolution of the rasterization condition is higher than the image resolution as a result of comparison between the output resolution of the rasterization condition and the image resolution, performing rasterization processing on the image data will cause various types of moiré and graining. Image defects can occur. In order to prevent image defects due to such rasterization processing, the determination in step S5 is performed. If “output resolution of rasterization condition> image resolution”, the process proceeds to step S6 for performing image conversion described later.

一方、比較の結果、「ラスタライズ条件の出力解像度≦画像解像度」あるいはコンテンツがテキストデータであって画像データ解像度取得部1721が画像解像度を取得できなかった場合であれば、画像欠陥は生じにくいので、特別な画像変換は行なわず、ラスタライズ処理装置1は当該コンテンツを変換済画像データとしてラスタライズ処理部175へ送り、ステップS3へ帰還する。   On the other hand, as a result of comparison, if the output resolution of the rasterization condition ≦ image resolution or the content is text data and the image data resolution acquisition unit 1721 cannot acquire the image resolution, the image defect is unlikely to occur. No special image conversion is performed, and the rasterization processing apparatus 1 sends the content as converted image data to the rasterization processing unit 175, and returns to step S3.

ステップS6では、画像データ変換部174が、コンテンツの画像解像度をラスタライズ条件の出力解像度と一致させるとともに、画像データの変換処理を行なう。画像データ変換部174は、画像欠陥が生じ得るコンテンツについて、画像解像度をラスタライズ条件の出力解像度と一致させることにより解像度が相違することによって生じる画像欠陥を抑制するとともに、画像解像度をラスタライズ条件の出力解像度と一致させることによって生じる欠陥を除去する画像処理を行なって、画像データの変換処理を実行する。詳細は後述する。   In step S6, the image data conversion unit 174 matches the image resolution of the content with the output resolution of the rasterization condition, and performs image data conversion processing. The image data conversion unit 174 suppresses image defects caused by the difference in resolution by matching the image resolution with the output resolution of the rasterization condition for content that may cause an image defect, and the image resolution is changed to the output resolution of the rasterization condition. The image processing for removing the defect caused by matching is performed, and the image data conversion processing is executed. Details will be described later.

ステップS6の画像変換が行なわれたならば、ラスタライズ処理装置1は当該コンテンツを変換済画像データとしてラスタライズ処理部175に送り、ステップS3へ帰還する。   If the image conversion in step S6 has been performed, the rasterization processing apparatus 1 sends the content as converted image data to the rasterization processing unit 175, and returns to step S3.

ステップS3〜S6の処理を繰り返し、ページデータPDに含まれる全てのコンテンツについて画像変換が完了したと判定された場合、ステップS7へ移行し、ラスタライズ処理部175がページデータPDのラスタライズ処理を行なう。   When the processes of steps S3 to S6 are repeated and it is determined that the image conversion has been completed for all the contents included in the page data PD, the process proceeds to step S7, and the rasterization processing unit 175 performs the rasterization process of the page data PD.

ラスタライズ処理部175は、ラスタライズ条件設定部171で設定したラスタライズ条件に基づいて、ページデータPDの記述を参照にラスタライズデータの描画を行なうとともに、ページデータPDで記述されたオフセット位置を参照に、一時格納した変換済画像データを描画したラスタライズデータに配置することで、プログラム記述がされているページデータPDを印刷物を表現するラスタライズデータRDに変換する。   The rasterization processing unit 175 draws rasterized data with reference to the description of the page data PD based on the rasterization condition set by the rasterization condition setting unit 171 and temporarily refers to the offset position described in the page data PD. By placing the stored converted image data in the rendered rasterized data, the page data PD described in the program is converted into rasterized data RD representing a printed matter.

ページデータPDの変換終了後、ラスタライズ処理装置1は、ラスタライズデータRDをネットワークI/F14を介して、あるいはメディアドライブ15によりメディアディスク18に書き込んで、出力する。出力されたラスタライズデータRDは図示しない印刷装置における印刷処理、あるいはCTPにおける刷版作成処理に供される。また、ラスタライズデータRDを一時的に記憶部16に記憶するようにしてもよい。   After the conversion of the page data PD, the rasterization processing device 1 writes the rasterized data RD to the media disk 18 via the network I / F 14 or the media drive 15 and outputs it. The output rasterized data RD is used for printing processing in a printing apparatus (not shown) or plate making processing in CTP. Further, the rasterized data RD may be temporarily stored in the storage unit 16.

ステップS6の画像変換の詳細を説明するため、図4を参照する。図4は画像データ変換部174の動作を説明するためのフローチャートである。   To describe the details of the image conversion in step S6, refer to FIG. FIG. 4 is a flowchart for explaining the operation of the image data converter 174.

図4のフローチャートにおけるステップS61では、画像データ変換部174によって画像変換の設定を行なう。画像データ変換部174は、表示部12に画像変換の条件設定を行なうための条件設定メニューJSを表示する。ラスタライズ処理装置1のオペレータは条件設定メニューJSに対して入力部13による入力を行なうことで、条件設定を行なう。   In step S61 in the flowchart of FIG. 4, the image data conversion unit 174 sets image conversion. The image data conversion unit 174 displays a condition setting menu JS for setting image conversion conditions on the display unit 12. The operator of the rasterizing apparatus 1 performs condition setting by inputting the condition setting menu JS with the input unit 13.

図5は、画像データ変換部174が表示部12に表示した条件設定メニューJSである。条件設定メニューJSは、画像欠陥入力欄JS1、条件設定欄JS2、フィルタ処理設定欄JS3、OKボタンJS4、cancelボタンJS5を備えている。   FIG. 5 shows a condition setting menu JS displayed on the display unit 12 by the image data conversion unit 174. The condition setting menu JS includes an image defect input field JS1, a condition setting field JS2, a filter processing setting field JS3, an OK button JS4, and a cancel button JS5.

画像欠陥入力欄JS1は、画像データ変換部174で変換を行なう目的を入力する欄である。ラスタライズ処理の結果、画像データにモアレが生じたり粒状化が生じたりするのを抑制するために、画像データ変換部174で画像変換を行なうことから、画像変換の目的となる画像欠陥名をラスタライズ処理装置1のオペレータは入力部13を操作して入力する。   The image defect input field JS1 is a field for inputting the purpose of conversion by the image data conversion unit 174. As a result of rasterization processing, image data conversion unit 174 performs image conversion in order to suppress the occurrence of moire or graininess in image data, so that the image defect name that is the purpose of image conversion is rasterized. The operator of the device 1 operates the input unit 13 for input.

条件設定欄JS2は、画像変換を行なう条件を設定する欄である。各項目にはチェックボックスCBが備えられ、複数の条件を選択することができる。例えば、1bitTIFF画像の画像解像度がラスタライズ出力解像度よりも低い場合に画像変換を行なうことを所望する場合、オペレータは条件設定欄JS2の「1bitTIFF」、「出力解像度>画像解像度」のチェックボックスにチェックを入れることにより、画像データ変換部174は1bitTIFFファイルであってラスタライズ条件の出力解像度>画像解像度である画像データに対して、画像変換を行なう。   The condition setting field JS2 is a field for setting conditions for image conversion. Each item is provided with a check box CB, and a plurality of conditions can be selected. For example, when it is desired to perform image conversion when the image resolution of a 1-bit TIFF image is lower than the rasterized output resolution, the operator checks the check boxes of “1 bit TIFF” and “Output resolution> Image resolution” in the condition setting field JS2. As a result, the image data conversion unit 174 performs image conversion on image data that is a 1-bit TIFF file and that has output resolution> image resolution of rasterization conditions.

フィルタ処理設定欄JS3は、画像変換として行なわれるフィルタ処理を設定する欄である。各項目にはラジオボタンRBが設けられ、排他的に条件を選択することができる。例えば、フィルタ処理として「スーパーサンプリング」を所望する場合、オペレータはフィルタ処理設定欄JS3の「スーパーサンプリング」のラジオボタンをチェックすることにより、条件設定欄JS2で設定された条件に該当する画像データに対してスーパーサンプリング処理が行なわれる。   The filter processing setting column JS3 is a column for setting filter processing performed as image conversion. Each item is provided with a radio button RB, and conditions can be selected exclusively. For example, when “super sampling” is desired as the filter processing, the operator checks the “super sampling” radio button in the filter processing setting field JS3 to obtain the image data corresponding to the condition set in the condition setting field JS2. On the other hand, supersampling is performed.

OKボタンJS4は、条件設定メニューJSに対する入力にオペレータが満足した場合に押下するボタンである。OKボタンJS4をオペレータが押下すると、画像データ変換部174は画像欠陥名入力欄JS1に入力された欠陥名称と、条件設定欄JS2、フィルタ処理設定欄JS3で設定された条件設定、フィルタ処理設定とを関連付けて記憶する。   The OK button JS4 is a button that is pressed when the operator is satisfied with the input to the condition setting menu JS. When the operator presses the OK button JS4, the image data conversion unit 174 displays the defect name input in the image defect name input field JS1, the condition setting and filter processing setting set in the condition setting field JS2 and the filter processing setting field JS3. Are stored in association with each other.

cancelボタンJS5は、オペレータが条件設定メニューJSに対する入力を中断する場合に押下するボタンである。   The cancel button JS5 is a button that is pressed when the operator interrupts input to the condition setting menu JS.

なお、ステップS61は、図3のステップS1の後、ラスタライズ条件を設定した後に行なうようにしてもよい。   Note that step S61 may be performed after setting rasterization conditions after step S1 in FIG.

ステップS61において、画像変換の条件設定が完了したならば、ステップS62に移行する。ステップS62において、画像データ変換部174が画像変換の対象とする画像データが1bitTIFFデータであるか否かを判定する。   If the image conversion condition setting is completed in step S61, the process proceeds to step S62. In step S62, the image data conversion unit 174 determines whether the image data to be converted is 1-bit TIFF data.

ステップS61で、条件設定JS2にて「1bitTIFF」が特に指定された場合、ページデータPDの記述を参照して、画像変換の対象となるコンテンツの<filename>の識別子が「.tif」であり、<color>が「モノクロ」であれば、画像データ変換部174は当該コンテンツが二値画像の1bitTIFFデータとして、ステップS63へ移行する。   In step S61, when “1bitTIFF” is specified in the condition setting JS2, referring to the description of the page data PD, the <filename> identifier of the content subject to image conversion is “.tif”. If <color> is “monochrome”, the image data conversion unit 174 proceeds to step S63 with the content as 1-bit TIFF data of a binary image.

画像データが1bitTIFFデータではなく、多値画像データとして判定したならば、ステップS64cへ移行する。ステップS64cで、画像データ変換部174は、「ラスタライズ条件の出力解像度>画像解像度」である多値画像データに対して、画像解像度をラスタライズ条件の出力解像度と一致させる解像度変換を行なう。   If it is determined that the image data is not 1-bit TIFF data but multi-value image data, the process proceeds to step S64c. In step S64c, the image data conversion unit 174 performs resolution conversion to match the image resolution with the output resolution of the rasterization condition for the multivalued image data in which “output resolution of rasterization condition> image resolution”.

S64cで行なわれる解像度変換は、バイキュービック法、超解像処理など、ラスタライズ条件の出力解像度と一致させるとともに、多値画像データの高精細化処理を伴う解像度変換である。解像度変換終了後、ステップS65cで画像データに対してフィルタ処理を実行する。フィルタ処理設定欄JS3でフィルタ処理が指定された場合、画像データ変換部174の多値画像変換部1742は画像データに対して当該フィルタ処理を行ない、特に指定されていない場合はデフォルトのフィルタ処理(たとえばボカシ処理)を行なう。   The resolution conversion performed in S64c is a resolution conversion that matches the output resolution of the rasterization conditions, such as a bicubic method and a super-resolution process, and involves a high-definition process for multi-valued image data. After the resolution conversion is completed, filter processing is executed on the image data in step S65c. When the filter processing is specified in the filter processing setting field JS3, the multi-value image conversion unit 1742 of the image data conversion unit 174 performs the filter processing on the image data. If not specified, the default filter processing ( For example, blur processing is performed.

S65cの処理が終了したならば、ステップS68で、画像データ変換部174が処理を行なった画像データを変換済画像データとしてラスタライズ処理部175へ送る。   If the processing of S65c is completed, in step S68, the image data processed by the image data conversion unit 174 is sent to the rasterization processing unit 175 as converted image data.

S62の判定で画像データが「1bitTIFFデータ」として判定された場合、画像データ変換部174は、ステップS61の条件設定メニューJSに対するフィルタ処理設定欄JS3でスーパーサンプリングが設定されているか否かをステップS63で判定する。スーパーサンプリングが設定されていれば、ステップS64aに移行し、設定されていなければ、ステップS64bに移行する。   If it is determined in S62 that the image data is “1bit TIFF data”, the image data converter 174 determines whether or not supersampling is set in the filter processing setting field JS3 for the condition setting menu JS in step S61. Judge with. If supersampling is set, the process proceeds to step S64a, and if not set, the process proceeds to step S64b.

ステップS64bで行なわれる解像度変換は、バイリニア法、バイキュービック法などの所定の解像度変換で画像データの画像解像度をラスタライズ出力解像度に一致させる。解像度変換終了後、ステップS65bで画像データに対してフィルタ処理を実行する。フィルタ処理設定欄JS3でフィルタ処理が指定された場合、画像データ変換部174の二値画像変換部1741は画像データに対して当該フィルタ処理を行ない、特に指定されていない場合はデフォルトのフィルタ処理(たとえばボカシ処理)を行なう。   The resolution conversion performed in step S64b matches the image resolution of the image data with the rasterized output resolution by a predetermined resolution conversion such as a bilinear method or a bicubic method. After the resolution conversion is completed, filter processing is executed on the image data in step S65b. When the filter processing is specified in the filter processing setting field JS3, the binary image conversion unit 1741 of the image data conversion unit 174 performs the filter processing on the image data. If not specified, the default filter processing ( For example, blur processing is performed.

S65bの処理が終了したならば、ステップS68で、画像データ変換部174が処理を行なった画像データを変換済画像データとしてラスタライズ処理部175へ送る。   If the processing of S65b is completed, in step S68, the image data processed by the image data conversion unit 174 is sent to the rasterization processing unit 175 as converted image data.

ステップS62の判定で1bitTIFFデータに対してスーパーサンプリングを行なうと判定されたならば、ステップS64aに移行し、画像データ変換部174は当該1bitTIFFデータの画像解像度をラスタライズ出力解像度以上に変換する。画像データ変換部174は、1bitTIFFデータの画像解像度をラスタライズ出力解像度以上に変換するに際して、例えばラスタライズ出力解像度の倍以上の解像度に変換する。ステップS64aの処理終了後、画像データ変換部174は二値画像変換部1741で解像度変換が行なわれた画像データの変換処理を行なう。   If it is determined in step S62 that super-sampling is performed on the 1-bit TIFF data, the process proceeds to step S64a, and the image data conversion unit 174 converts the image resolution of the 1-bit TIFF data to a rasterized output resolution or higher. When converting the image resolution of the 1-bit TIFF data to a rasterized output resolution or higher, the image data converter 174 converts the resolution to, for example, a resolution that is at least twice the rasterized output resolution. After the process of step S64a is completed, the image data conversion unit 174 performs conversion processing of the image data that has undergone resolution conversion by the binary image conversion unit 1741.

ステップS65aでは、二値画像変換部1741が解像度変換が行なわれた画像データに対してアンチエイリアス処理を行なう。二値画像である1bitTIFFデータにしてデジタル的に処理を行なうと、1bitTIFF画像の輪郭にジャギーと呼ばれるギザギザが発生してしまう。このジャギーを軽減し少しでも目立たなくするために、画像の輪郭を背景と融合するように、色を滑らかに変化させるのアンチエイリアス処理である。   In step S65a, the binary image conversion unit 1741 performs anti-aliasing processing on the image data that has undergone resolution conversion. When digital processing is performed on 1-bit TIFF data that is a binary image, jagged edges called jaggy are generated in the outline of the 1-bit TIFF image. In order to reduce this jaggy and make it less noticeable, it is an anti-aliasing process that smoothly changes the color so that the outline of the image is fused with the background.

S65aの二値画像変換部1741によるアンチエイリアス処理終了後、画像データ変換部174がアンチエイリアス処理された画像データの画像解像度をラスタライズ出力解像度と一致するように解像度変換を行なう。   After the anti-aliasing processing by the binary image conversion unit 1741 in S65a, the image data conversion unit 174 performs resolution conversion so that the image resolution of the anti-aliased image data matches the rasterized output resolution.

アンチエイリアス処理が行なわれた画像データは、ジャギーを軽減するために中間色による画素補間が行われている。しかし、この画像変換の対象となる画像データは1bitTIFFである二値画像なので、アンチエイリアス処理が行なわれたままの画像データを出力することはできない。そこで、画像データ変換部174が高解像度化された画像データの画像解像度をラスタライズ条件の出力解像度と一致させるように低下させることで、高解像度画像の画素を平均化した解像度画像が生成されるので、単に画像データの画像解像度をラスタライズ条件の出力解像度と一致させる解像度変換よりも高品質の画像を得ることができる。   The image data subjected to the anti-aliasing processing is subjected to pixel interpolation using intermediate colors in order to reduce jaggies. However, since the image data to be subjected to this image conversion is a 1-bit TIFF binary image, it is not possible to output image data that has undergone anti-aliasing processing. Therefore, the image data conversion unit 174 reduces the image resolution of the high-resolution image data so as to match the output resolution of the rasterization condition, thereby generating a resolution image that averages the pixels of the high-resolution image. Therefore, it is possible to obtain a higher quality image than the resolution conversion that simply matches the image resolution of the image data with the output resolution of the rasterization condition.

ステップS67aで、フィルタ処理設定欄JS3でフィルタ処理が指定された場合、二値画像変換部1741は画像データに対して当該フィルタ処理を行ない、特に指定されていない場合はデフォルトのフィルタ処理(たとえばボカシ処理)を行なう。   In step S67a, when the filter processing is specified in the filter processing setting field JS3, the binary image converting unit 1741 performs the filter processing on the image data. If not specified, the default filter processing (for example, blur) Process).

なお、画像データの出力先が多値画像データを出力可能な出力装置である場合は、二値画像変換部1741によるフィルタ処理を行なわず、アンチエイリアス処理が行なわれた多値画像データを出力するようにしてもよい。   When the output destination of the image data is an output device capable of outputting multi-value image data, the multi-value image data subjected to anti-aliasing processing is output without performing the filter processing by the binary image conversion unit 1741. It may be.

S67aの処理が終了したならば、ステップS68で、画像データ変換部174が処理を行なった画像データを変換済画像データとしてラスタライズ処理部175へ送る。   When the processing of S67a is completed, in step S68, the image data processed by the image data conversion unit 174 is sent to the rasterization processing unit 175 as converted image data.

図6は、ラスタライズ処理装置1が、図2に示したページデータPDを図3、図4のフローチャートに基づく動作によってラスタライズデータRDに変換した状態を説明するための図である。   FIG. 6 is a diagram for explaining a state in which the rasterization processing apparatus 1 has converted the page data PD shown in FIG. 2 into rasterized data RD by an operation based on the flowcharts of FIGS.

図2のページデータPDでは、画像1(img1.tif)、画像2(img2.jpg)、テキスト1(txt1.txt)が格納されている。ラスタライズ処理装置1は、画像1について、<filename>における識別子が「tif」であり、<color>が「mono」であることから、1bitTIFFファイルである二値画像であり、<reso>が「300dpi」であることから、ラスタライズ条件の出力解像度よりも画像解像度が低いものであると判断し、ステップS62における判定に基づいて画像変換部174によるスーパーサンプリングを伴う画像変換を行うか否かの判定に移行する。フィルタ条件設定欄JS3において「スーパーサンプリング」を行なうことが設定されていたならば、ステップS64aのプロセスに移行して、ラスタライズ処理装置1はimg1.tifに対してスーパーサンプリングを伴う画像変換を行なう。   In the page data PD of FIG. 2, image 1 (img1.tif), image 2 (img2.jpg), and text 1 (txt1.txt) are stored. The rasterization processing apparatus 1 is a binary image that is a 1-bit TIFF file and <reso> is “300 dpi” because the identifier in <filename> is “tif” and <color> is “mono” for image 1. Therefore, it is determined that the image resolution is lower than the output resolution of the rasterization condition, and the image conversion unit 174 determines whether to perform image conversion with supersampling based on the determination in step S62. Transition. If “super sampling” is set in the filter condition setting field JS3, the process proceeds to step S64a, and the rasterizing apparatus 1 performs image conversion with super sampling on img1.tif.

ラスタライズ処理装置1は、画像2について、<filename>における識別子が「jpg」であり。<color>について「full」であることから、CT画像データである多値画像であり、<reso>が350dpiであることから、画像変換部174による画像変換を行なう。   In the rasterizing apparatus 1, the identifier in <filename> for the image 2 is “jpg”. Since <color> is “full”, it is a multi-value image that is CT image data, and <reso> is 350 dpi, so image conversion by the image conversion unit 174 is performed.

ラスタライズ処理装置1は、テキスト1について、<filename>における識別子が「txt」であることから、画像変換部174による画像変換対象にはしない。   The rasterization processing apparatus 1 does not make the image conversion target by the image conversion unit 174 because the identifier in <filename> is “txt” for the text 1.

これらページデータPDのコンテンツは、ラスタライズ処理部175に送られ、ページデータPDの記述に基づくラスタライズ処理が行なわれたラスタライズデータRDに配置される。   The contents of the page data PD are sent to the rasterization processing unit 175, and are arranged in the rasterized data RD that has been subjected to rasterization processing based on the description of the page data PD.

図示しているように、ラスタライズ処理における出力解像度が600dpiの場合、600dpiのA4縦を示すページに600dpiの画像1、600dpiの画像2、600dpiのテキスト1が配置されたラスタライズデータRDが作成される。ここで、画像1、画像2については、画像データ変換部174による変換処理が行なわれた結果、画像解像度がラスタライズ条件の出力解像度と一致するとともに、画像欠陥が生じないようなフィルタ処理が行なわれている。   As shown in the figure, when the output resolution in rasterization processing is 600dpi, rasterized data RD is created in which 600dpi image 1, 600dpi image 2, 600dpi text 1 is placed on a 600dpi A4 page . Here, with respect to the images 1 and 2, as a result of the conversion processing performed by the image data conversion unit 174, filter processing is performed so that the image resolution matches the output resolution of the rasterization condition and image defects do not occur. ing.

従って、ラスタライズ処理装置1では、印刷を行なう際の印刷機の出力解像度が統一されていなくとも、画像品質の低下を招くことなく適切な印刷を行なうことか可能となる。   Therefore, the rasterization processing apparatus 1 can perform appropriate printing without degrading the image quality even if the output resolution of the printing press at the time of printing is not unified.

〈変形例〉
ここまでの説明では、ラスタライズ処理装置1は一つの装置として説明を行なってきたが、複数のコンピュータが共同して同一の作用を発揮してもよい。
<Modification>
In the description so far, the rasterization processing apparatus 1 has been described as one apparatus, but a plurality of computers may jointly exert the same action.

ここまでの説明では、ページデータPDはラスタライズ処理装置1の外部から入力されていたが、ラスタライズ処理装置1が図示しないページデータ作成部を備えることにより、ページデータPDを作成してもよい。   In the description so far, the page data PD has been input from the outside of the rasterization processing device 1, but the rasterization processing device 1 may include the page data creation unit (not shown) to create the page data PD.

1 ラスタライズ処理装置
11 CPU
12 表示部
13 入力部
14 ネットワークI/F
15 メディアドライブ
16 記憶部
17 メモリ
18 メディアディスク
171 ラスタライズ条件設定部
172 ページデータ解析部
173 出力解像度-画像解像度比較部
174 画像データ変換部
175 ラスタライズ処理部
1721 画像データ解像度取得部
1741 二値画像変換部
1742 多値画像変換部
JS 条件設定メニュー
JS1 画像欠陥入力欄
JS2 条件設定欄
JS3 フィルタ処理設定欄
PD ページデータ
RD ラスタライズデータ
1 Rasterization processing device
11 CPU
12 Display section
13 Input section
14 Network I / F
15 Media drive
16 Memory
17 memory
18 Media disc
171 Rasterization condition setting section
172 Page Data Analysis Department
173 Output resolution-Image resolution comparison section
174 Image data converter
175 Rasterization processing section
1721 Image data resolution acquisition unit
1741 Binary image converter
1742 Multilevel image converter
JS condition setting menu
JS1 Image defect input field
JS2 condition setting field
JS3 filter processing setting field
PD page data
RD rasterized data

Claims (11)

ページ記述言語で記述されたページデータから、記録装置で出力可能なラスタライズデータを出力するラスタライズ処理装置であって、
前記ラスタライズデータを出力するためのラスタライズ条件として、少なくとも前記ラスタライズデータの出力解像度を設定するラスタライズ条件設定手段と、
前記ページデータを解析して、前記ページデータに含まれるコンテンツデータを識別するページデータ解析手段と、
前記ページデータから識別された前記コンテンツデータのうち、画像を表示するための画像データから該画像を表現する画像解像度を取得する画像データ解像度取得手段と、
前記ラスタライズ条件の出力解像度と、前記画像データの画像解像度と、を比較する解像度比較手段と、
前記解像度比較手段による比較の結果、前記画像データの画像解像度が前記ラスタライズ条件の出力解像度より低い場合、前記画像データの画像種別を取得する画像種別取得手段と、
前記画像種別に基づいた画像処理と、前記画像解像度を前記出力解像度に一致させる処理と、を前記画像データに対して行なう画像データ変換手段と、
前記ラスタライズ条件に従い、前記画像データ変換手段で変換された前記画像データを含む前記ページデータに基づいてラスタライズ処理を行ない、前記ラスタライズデータを出力するラスタライズ出力手段と、
を備えるラスタライズ処理装置。
A rasterization processing device that outputs rasterized data that can be output by a recording device from page data described in a page description language,
Rasterization condition setting means for setting at least the output resolution of the rasterized data as rasterization conditions for outputting the rasterized data;
Analyzing the page data and identifying page data analyzing means for identifying content data included in the page data;
Image data resolution acquisition means for acquiring an image resolution representing the image from image data for displaying an image among the content data identified from the page data;
Resolution comparison means for comparing the output resolution of the rasterization condition and the image resolution of the image data;
As a result of the comparison by the resolution comparison means, if the image resolution of the image data is lower than the output resolution of the rasterization condition, an image type acquisition means for acquiring the image type of the image data;
Image data conversion means for performing image processing based on the image type and processing for matching the image resolution to the output resolution for the image data;
Rasterization output means for performing rasterization processing based on the page data including the image data converted by the image data conversion means according to the rasterization conditions, and outputting the rasterized data;
A rasterization processing apparatus comprising:
請求項1に記載のラスタライズ処理装置であって、
前記画像データ変換手段が行なう画像処理は、前記画像データをラスタライズ処理した場合に生じる画像欠陥を除去する処理であること、
を特徴とするラスタライズ処理装置。
The rasterization processing device according to claim 1, wherein
The image processing performed by the image data converting means is processing for removing image defects caused when the image data is rasterized.
A rasterizing apparatus characterized by the above.
請求項1乃至2に記載のラスタライズ処理装置であって、
前記画像データ変換手段が、前記画像処理に関わる画像処理条件を設定する画像処理条件設定手段と、
を備えることを特徴とするラスタライズ処理装置。
The rasterization processing device according to claim 1 or 2,
The image data conversion means, image processing condition setting means for setting image processing conditions related to the image processing;
A rasterization processing apparatus comprising:
請求項1乃至3のいずれかに記載のラスタライズ処理装置であって、
前記画像データの画像種別が二値画像である場合、前記画像データ変換手段は画像処理としてモアレ低減処理を行なうこと、
を特徴とするラスタライズ処理装置。
The rasterization processing device according to any one of claims 1 to 3,
When the image type of the image data is a binary image, the image data conversion means performs a moire reduction process as an image process;
A rasterizing apparatus characterized by the above.
請求項1乃至3のいずれかに記載のラスタライズ処理装置であって、
前記画像データの画像種別が多値画像である場合、前記画像データ変換手段は画像処理として高精細化処理を行なうこと、
を特徴とするラスタライズ処理装置。
The rasterization processing device according to any one of claims 1 to 3,
When the image type of the image data is a multi-valued image, the image data conversion means performs high definition processing as image processing;
A rasterizing apparatus characterized by the above.
ページ記述言語で記述されたページデータから、記録装置で出力可能なラスタライズデータを出力するラスタライズ処理方法であって、
前記ラスタライズデータを出力するためのラスタライズ条件として、少なくとも前記ラスタライズデータの出力解像度を設定するラスタライズ条件設定工程と、
前記ページデータを解析して、前記ページデータに含まれるコンテンツデータを識別するページデータ解析工程と、
前記ページデータから識別された前記コンテンツデータのうち、画像を表示するための画像データから該画像を表現する画像解像度を取得する画像データ解像度取得工程と、
前記ラスタライズ条件の出力解像度と、前記画像データの画像解像度と、を比較する解像度比較工程と、
前記解像度比較工程による比較の結果、前記画像データの画像解像度が前記ラスタライズ条件の出力解像度より低い場合、前記画像データの画像種別を取得する画像データ種別取得工程と、
前記画像種別に基づいた画像処理と、前記画像解像度を前記出力解像度に一致させる処理と、を前記画像データに対して行なう画像データ変換工程と、
前記ラスタライズ条件に従い、前記画像データ変換工程で変換された前記画像データを含む前記ページデータに基づいてラスタライズ処理を行ない、前記ラスタライズデータを出力するラスタライズ出力工程と、
を備えるラスタライズ処理方法。
A rasterization processing method for outputting rasterized data that can be output by a recording device from page data described in a page description language,
Rasterization condition setting step for setting at least the output resolution of the rasterized data as rasterization conditions for outputting the rasterized data;
A page data analysis step of analyzing the page data and identifying content data included in the page data;
An image data resolution acquisition step of acquiring an image resolution representing the image from image data for displaying an image among the content data identified from the page data;
A resolution comparison step of comparing the output resolution of the rasterization condition and the image resolution of the image data;
As a result of the comparison by the resolution comparison step, when the image resolution of the image data is lower than the output resolution of the rasterization condition, an image data type acquisition step of acquiring the image type of the image data;
An image data conversion step for performing image processing based on the image type and processing for matching the image resolution to the output resolution for the image data;
Rasterization output step of performing rasterization processing based on the page data including the image data converted in the image data conversion step according to the rasterization condition, and outputting the rasterized data;
A rasterization processing method comprising:
表示部と操作部とを備えたコンピュータにおいて、前記コンピュータのCPUがメモリにおいて実行することにより、前記コンピュータをページ記述言語で記述されたページデータから記録装置で出力可能なラスタライズデータを出力するラスタライズ処理装置として実現するためのプログラムであって、
前記ラスタライズデータを出力するためのラスタライズ条件として、少なくとも前記ラスタライズデータの出力解像度を設定するラスタライズ条件設定ステップと、
前記ページデータを解析して、前記ページデータに含まれるコンテンツデータを識別するページデータ解析ステップと、
前記ページデータから識別された前記コンテンツデータのうち、画像を表示するための画像データから該画像を表現する画像解像度を取得する画像データ解像度取得ステップと、
前記ラスタライズ条件の出力解像度と、前記画像データの画像解像度と、を比較する解像度比較ステップと、
前記解像度比較ステップによる比較の結果、前記画像データの画像解像度が前記ラスタライズ条件の出力解像度より低い場合、前記画像データの画像種別を取得する画像データ種別取得ステップと、
前記画像種別に基づいた画像処理と、前記画像解像度を前記出力解像度に一致させる処理と、を前記画像データに対して行なう画像データ変換ステップと、
前記ラスタライズ条件に従い、前記画像データ変換手段で変換された前記画像データを含む前記ページデータに基づいてラスタライズ処理を行ない、前記ラスタライズデータを出力するラスタライズ出力ステップと、
を備えるプログラム。
Rasterization processing for outputting rasterized data that can be output by a recording device from page data described in a page description language when the CPU of the computer executes in a memory in a computer having a display unit and an operation unit A program for realizing as a device,
A rasterizing condition setting step for setting at least an output resolution of the rasterized data as a rasterizing condition for outputting the rasterized data;
A page data analysis step of analyzing the page data and identifying content data included in the page data;
An image data resolution acquisition step of acquiring an image resolution representing the image from image data for displaying an image among the content data identified from the page data;
A resolution comparison step of comparing the output resolution of the rasterization condition and the image resolution of the image data;
As a result of the comparison in the resolution comparison step, when the image resolution of the image data is lower than the output resolution of the rasterization condition, an image data type acquisition step of acquiring the image type of the image data;
An image data conversion step for performing image processing based on the image type and processing for matching the image resolution to the output resolution for the image data;
Rasterization output step of performing rasterization processing based on the page data including the image data converted by the image data conversion means according to the rasterization conditions, and outputting the rasterized data;
A program comprising
請求項7に記載のプログラムであって、
前記画像データ変換ステップが行なう画像処理は、前記画像データをラスタライズ処理した場合に生じる画像欠陥を除去する処理であること、
を特徴とするプログラム。
The program according to claim 7, wherein
The image processing performed by the image data conversion step is processing for removing image defects that occur when the image data is rasterized.
A program characterized by
請求項7乃至8に記載のプログラムであって、
前記画像データ変換ステップが、前記画像処理に関わる画像処理条件を設定する画像処理条件設定ステップと、
を備えることを特徴とするプログラム。
A program according to any one of claims 7 to 8,
The image data conversion step is an image processing condition setting step for setting an image processing condition related to the image processing;
A program comprising:
請求項7乃至9のいずれかに記載のプログラムであって、
前記画像データの画像種別が二値画像である場合、前記画像データ変換ステップは画像処理としてモアレ低減処理を行なうこと、
を特徴とするプログラム。
The program according to any one of claims 7 to 9,
When the image type of the image data is a binary image, the image data conversion step performs moiré reduction processing as image processing;
A program characterized by
請求項7乃至9のいずれかに記載のプログラムであって、
前記画像データの画像種別が多値画像である場合、前記画像データ変換手段は画像処理として高精細化処理を行なうこと、
を特徴とするプログラム。
The program according to any one of claims 7 to 9,
When the image type of the image data is a multi-valued image, the image data conversion means performs high definition processing as image processing;
A program characterized by
JP2016065932A 2016-03-29 2016-03-29 Rasterization processing apparatus, rasterization processing method, and program Active JP6612167B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016065932A JP6612167B2 (en) 2016-03-29 2016-03-29 Rasterization processing apparatus, rasterization processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016065932A JP6612167B2 (en) 2016-03-29 2016-03-29 Rasterization processing apparatus, rasterization processing method, and program

Publications (2)

Publication Number Publication Date
JP2017182291A true JP2017182291A (en) 2017-10-05
JP6612167B2 JP6612167B2 (en) 2019-11-27

Family

ID=60006020

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016065932A Active JP6612167B2 (en) 2016-03-29 2016-03-29 Rasterization processing apparatus, rasterization processing method, and program

Country Status (1)

Country Link
JP (1) JP6612167B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110334346A (en) * 2019-06-26 2019-10-15 京东数字科技控股有限公司 A kind of information extraction method and device of pdf document

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002027238A (en) * 2000-07-11 2002-01-25 Canon Inc Image processing apparatus and method
US20130215436A1 (en) * 2012-02-21 2013-08-22 Daisuke Genda Image processing device and image processing method
US20160026904A1 (en) * 2014-07-22 2016-01-28 Ricoh Company, Ltd. Image processing apparatus, image processing method, and computer-readable recording medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002027238A (en) * 2000-07-11 2002-01-25 Canon Inc Image processing apparatus and method
US20130215436A1 (en) * 2012-02-21 2013-08-22 Daisuke Genda Image processing device and image processing method
JP2013171424A (en) * 2012-02-21 2013-09-02 Konica Minolta Inc Image forming apparatus and image forming method
US20160026904A1 (en) * 2014-07-22 2016-01-28 Ricoh Company, Ltd. Image processing apparatus, image processing method, and computer-readable recording medium
JP2016025535A (en) * 2014-07-22 2016-02-08 株式会社リコー Image processing apparatus, image processing method, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110334346A (en) * 2019-06-26 2019-10-15 京东数字科技控股有限公司 A kind of information extraction method and device of pdf document

Also Published As

Publication number Publication date
JP6612167B2 (en) 2019-11-27

Similar Documents

Publication Publication Date Title
JP5137759B2 (en) Image processing device
JP5049920B2 (en) Image processing apparatus and image processing method
US8237985B2 (en) Softproofing via modeling print engine rendering characteristics
US10592766B2 (en) Image processing apparatus and medium storing program executable by image processing apparatus
US20120062932A1 (en) Anti-alias processing with low-resolution image
US20240040060A1 (en) Information processing apparatus, image processing method, and medium
US8237727B2 (en) Image processing apparatus and method
US8532385B2 (en) Image processing apparatus and image processing method
JP6612167B2 (en) Rasterization processing apparatus, rasterization processing method, and program
JP5644062B2 (en) Image processing device
US8441684B2 (en) Between-segment discontinuity reduction for text vectorization using dominant point classification
JP3952188B2 (en) Image interpolation apparatus, image interpolation method, and image interpolation program
JP6566277B2 (en) Image processing device
JP4469330B2 (en) Image processing apparatus, image processing method, image processing program, recording medium, and image forming apparatus
JP4514168B2 (en) Image processing system and image processing method
JP2016115963A (en) Image processing apparatus, image processing method and program
US9082161B2 (en) Image processing apparatus, image processing method, and non-transitory computer readable medium
JP2004088251A (en) Image processing apparatus, method, program for executing the method, and recording medium
JP6507809B2 (en) Printing instruction device, printing system and program
JP2015220742A (en) Image processing system, image forming apparatus, and control method for them
JP4636145B2 (en) Image processing apparatus and program
JP2017208647A (en) Image processing apparatus, image processing method, image processing system, program, and storage medium
JP5315637B2 (en) Image processing apparatus, electronic document system, and program
JP6707903B2 (en) Output device and computer program
JP6413783B2 (en) Printing instruction apparatus, printing system, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20181221

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190426

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190611

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20190808

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20190808

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190913

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20191030

R150 Certificate of patent or registration of utility model

Ref document number: 6612167

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250