JP2011228987A - Image processing apparatus and image processing program - Google Patents
Image processing apparatus and image processing program Download PDFInfo
- Publication number
- JP2011228987A JP2011228987A JP2010097691A JP2010097691A JP2011228987A JP 2011228987 A JP2011228987 A JP 2011228987A JP 2010097691 A JP2010097691 A JP 2010097691A JP 2010097691 A JP2010097691 A JP 2010097691A JP 2011228987 A JP2011228987 A JP 2011228987A
- Authority
- JP
- Japan
- Prior art keywords
- image
- data
- image processing
- tag bit
- bit 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.)
- Withdrawn
Links
Images
Abstract
Description
本発明は、画像処理装置及び画像処理プログラムに関し、特に、画像データに含まれるオブジェクト属性を示す属性データを生成する機能を備えた画像処理装置及び当該画像処理装置で動作する画像処理プログラムに関する。 The present invention relates to an image processing apparatus and an image processing program, and more particularly to an image processing apparatus having a function of generating attribute data indicating an object attribute included in image data and an image processing program that operates on the image processing apparatus.
コピー機能やプリンタ機能、スキャナ機能などを備える複合機(以下、画像形成装置と呼ぶ。)が普及している。この画像形成装置を利用してプリントする場合、まず、ネットワークに接続されているクライアントからページ記述言語(PDL:Page Description Language)形式の印刷ジョブを受信し、印刷ジョブをラスタライズ(画像展開)してページ毎の画像データを生成し、この画像データに細線化、スムージング、階調補正、スクリーニング等の画像処理を行って紙媒体に出力する。 A multi-function machine (hereinafter referred to as an image forming apparatus) having a copy function, a printer function, a scanner function, and the like is widely used. When printing using this image forming apparatus, first, a print job in a page description language (PDL) format is received from a client connected to the network, and the print job is rasterized (image development). Image data for each page is generated, and the image data is subjected to image processing such as thinning, smoothing, gradation correction, screening, and the like, and output to a paper medium.
また、複数の画像形成装置がネットワークで接続されているシステムの場合、印刷ジョブから画像データを生成する処理(RIP(Raster Image Processor)処理)や画像処理を各々の画像形成装置で実行すると、各々の画像形成装置に上記処理を実行する機能を持たせなければならず、画像形成装置の構成が複雑になる。そこで、このようなシステムでは、上記RIP処理機能や画像処理機能を備えた画像処理装置(いわゆるプリンタコントローラ)をネットワークに接続し、画像処理装置で上記処理を代表して行っている。 In the case of a system in which a plurality of image forming apparatuses are connected via a network, when each image forming apparatus executes processing (RIP (Raster Image Processor) processing) or image processing for generating image data from a print job, The image forming apparatus must have a function of executing the above processing, and the configuration of the image forming apparatus becomes complicated. Therefore, in such a system, an image processing apparatus (so-called printer controller) having the above RIP processing function and image processing function is connected to a network, and the above processing is representatively performed by the image processing apparatus.
ここで、画像データを構成するオブジェクト属性としては、文字やグラフィックス、写真などがあり、例えば、文字属性のオブジェクトやグラフィックス属性のオブジェクトには、視認性を重視した、スムージング、細線化処理、網点処理を行い、写真属性のオブジェクトには、階調性を重視した階調補正処理や網点処理を行うなど、それぞれのオブジェクト属性に応じた画像処理を施すことによって、より高画質な印刷を行うことができる。 Here, the object attributes constituting the image data include characters, graphics, photographs, and the like. For example, for the object of the character attribute or the object of the graphics attribute, smoothing, thinning process, Print images with higher image quality by applying halftone processing and image processing according to each object attribute, such as gradation correction processing and halftone processing with emphasis on gradation. It can be performed.
このようなオブジェクト属性に応じて異なる画像処理を施すためには、画像データに含まれるオブジェクト属性を特定する必要があることから、PostScriptのようなページ記述言語で記述された印刷ジョブに基づいて印刷を行う場合は、画像展開時に、画像データに対応した画素単位でオブジェクト属性を示す属性データ(以下、タグビットデータと呼ぶ。)を合わせて出力している。そして、画像処理を行う段においては、処理対象の画素についてタグビットデータを参照しながらオブジェクト属性を検出し、当該画素の画像データに対してオブジェクト種別に応じた処理を施す方法が用いられている。 In order to perform different image processing according to such object attributes, it is necessary to specify the object attributes included in the image data, so printing based on a print job described in a page description language such as PostScript. When the image is developed, attribute data (hereinafter referred to as tag bit data) indicating the object attribute is output together with the pixel unit corresponding to the image data. In the stage of performing image processing, a method is used in which an object attribute is detected with reference to tag bit data for a pixel to be processed, and processing corresponding to the object type is performed on the image data of the pixel. .
しかしながら、上記タグビットデータは画素単位の情報でありデータ量が多いため、大容量のメモリが必要になると共に、画像展開時間や画像処理時間が長くなり、迅速に印刷を実行することができないという問題点がある。 However, since the tag bit data is information in units of pixels and has a large amount of data, a large-capacity memory is required, and image development time and image processing time become long, and printing cannot be executed quickly. There is a problem.
この問題に対して、下記特許文献1には、画像データを既知のフォーマットで記述したファイルを入力する入力手段と、前記入力されたファイルを解釈して画像データに展開する展開手段と、前記画像データを記憶する第1の記憶手段と、前記画像データに含まれる画像要素の属性を示すタグビットを画素単位で生成する属性情報生成手段と、連続する複数画素分のタグビット列ごとに、各タグビット列を、そのビット配列に固有のタグデータに置換する置換手段と、前記各タグデータのデータ列を符号化圧縮する圧縮手段と、前記圧縮されたタグデータ列を記憶する第2の記憶手段と、前記記憶されたタグデータ列を伸張してタグビットを再生する伸長手段と、前記再生された各タグビットを前記記憶された画像データと対応付けて出力するデータ出力手段とを具備した画像処理装置が開示されている。
In order to solve this problem, the following
上記特許文献1の技術では、タグビットを複数画素分ずつパッキングして圧縮しているため、データ量を削減することができる。しかしながら、この技術では、圧縮処理や伸張処理を行う必要があるために処理時間が増加してしまい、迅速に印刷を実行することができないという問題が生じる。
In the technique of
本発明は、上記問題点に鑑みてなされたものであり、その主たる目的は、PDLの印刷ジョブから印刷対象となる画像データを生成する際のデータ量を削減するとともに、画像展開時間や画像処理時間を削減することができる画像処理装置及び画像処理プログラムを提供することにある。 The present invention has been made in view of the above-described problems, and its main purpose is to reduce the amount of data when generating image data to be printed from a PDL print job, as well as image development time and image processing. An object is to provide an image processing apparatus and an image processing program capable of reducing time.
上記目的を達成するため、本発明は、ページ記述言語のデータを含む印刷ジョブを入力する入力部と、前記入力部より入力された前記印刷ジョブを記憶する第1の記憶部と、前記第1の記憶部から前記印刷ジョブを読み出して解析し、画像データを生成すると共に、前記画像データの各画素についてオブジェクト属性を示すタグビットデータを生成する画像展開部と、前記画像データと前記タグビットデータとを記憶する第2の記憶部と、を少なくとも有する画像処理装置において、前記画像展開部は、前記印刷ジョブの解析時に、前記ページ記述言語のデータに含まれる各オブジェクトのオブジェクト属性を判別し、これらオブジェクト属性の種別に応じて前記タグビットデータを生成するか否かを判断し、前記タグビットデータを生成しないと判断した場合は、前記画像データのみを生成するものであり、前記第2の記憶部から前記画像データと前記タグビットデータとを読み出し、所定の画像処理を行って出力する画像処理部を更に有し、前記画像展開部は、前記タグビットデータの有無情報及び前記オブジェクト属性の種別情報を前記画像処理部に通知し、前記画像処理部は、前記タグビットデータの有無情報及び前記オブジェクト属性の種別情報を参照して、前記タグビットデータが生成された画像データに対しては、各画素について当該画素に対応したタグビットデータに基づく画像処理を行い、前記タグビットデータが生成されていない画像データに対しては、当該画像データ全体に指定されたオブジェクト属性の種別に応じた画像処理を当該画像データの各画素に行う構成とすることができる。 In order to achieve the above object, the present invention provides an input unit for inputting a print job including page description language data, a first storage unit for storing the print job input from the input unit, and the first An image expansion unit that reads out and analyzes the print job from the storage unit to generate image data, and generates tag bit data indicating an object attribute for each pixel of the image data; and the image data and the tag bit data And an image processing apparatus having at least a second storage unit for storing the image, wherein the image development unit determines an object attribute of each object included in the page description language data when the print job is analyzed, It is determined whether to generate the tag bit data according to the type of the object attribute, and the tag bit data is generated. The image processing unit generates only the image data, reads out the image data and the tag bit data from the second storage unit, performs predetermined image processing, and further outputs an image processing unit. The image development unit notifies the image processing unit of the tag bit data presence / absence information and the object attribute type information, and the image processing unit includes the tag bit data presence / absence information and the object attribute information. With reference to the type information, for the image data in which the tag bit data is generated, image processing based on tag bit data corresponding to the pixel is performed for each pixel, and the image in which the tag bit data is not generated For data, image processing corresponding to the type of object attribute specified for the entire image data is applied to each pixel of the image data. It can be cormorants configuration.
また、本発明は、ページ記述言語のデータを含む印刷ジョブを処理する装置で動作する画像処理プログラムであって、前記装置を、前記印刷ジョブを解析し、当該印刷ジョブを画像展開して得られる画像データに含まれる各オブジェクトのオブジェクト属性を判別し、これらオブジェクト属性の種別に応じて、前記画像データ及び当該画像データの各画素についてオブジェクト属性を示すタグビットデータを生成、若しくは、前記画像データのみを生成し、生成したデータを記憶部に記憶又は当該装置に接続される印刷装置に送信する画像展開部、として機能させるものであり、前記装置を、更に、前記記憶部からデータを読み出し、前記タグビットデータが生成された画像データに対しては、各画素について当該画素に対応したタグビットデータに基づく画像処理を行い、前記タグビットデータが生成されていない画像データに対しては、当該画像データ全体に指定されたオブジェクト属性の種別に応じた画像処理を当該画像データの各画素に行う画像処理部、として機能させる構成とすることができる。 The present invention is also an image processing program that operates on an apparatus for processing a print job including page description language data, and is obtained by analyzing the print job and developing the image of the print job. Determine the object attribute of each object included in the image data and generate tag bit data indicating the object attribute for each pixel of the image data and the image data according to the type of the object attribute, or only the image data And the generated data is stored in the storage unit or functions as an image development unit that transmits the data to a printing device connected to the device, and the device further reads data from the storage unit, For image data for which tag bit data has been generated, for each pixel, a tag bit corresponding to that pixel For image data for which the tag bit data has not been generated, image processing corresponding to the type of object attribute specified for the entire image data is applied to each pixel of the image data. It can be configured to function as an image processing unit to be performed.
本発明の画像処理装置及び画像処理プログラムによれば、PDLの印刷ジョブから印刷対象となる画像データを生成する際のデータ量を削減するとともに、画像展開時間や画像処理時間を削減することができる。 According to the image processing apparatus and the image processing program of the present invention, it is possible to reduce the amount of data when generating image data to be printed from a PDL print job, and to reduce the image development time and the image processing time. .
その理由は、画像処理装置に設けた画像展開部では、画像展開時に、画像データに含まれるオブジェクト属性を判別し、オブジェクト属性の種別に応じてタグビットデータを生成するかどうかを判断し、タグビットデータを生成しないと判断した場合は、画像データのみを生成するからである。 The reason is that the image development unit provided in the image processing apparatus determines the object attribute included in the image data at the time of image development, determines whether to generate the tag bit data according to the type of the object attribute, This is because when it is determined that no bit data is generated, only image data is generated.
また、画像処理装置や画像形成装置に設けた画像処理部では、タグビットデータが生成された画像データに対しては、画素毎にタグビットデータに基づく画像処理を実施し、タグビットデータが生成されなかった画像データに対しては、画像データ全体に画像データに含まれるオブジェクト属性の種別に応じた画像処理を実施するからである。 In addition, the image processing unit provided in the image processing apparatus or the image forming apparatus performs image processing based on the tag bit data for each pixel for the image data for which the tag bit data has been generated to generate the tag bit data. This is because image processing that is not performed is performed on the entire image data according to the type of object attribute included in the image data.
背景技術で示したように、画像データに含まれるオブジェクト属性に応じた画像処理を施すことによって、より高画質な印刷を行うことができることから、ページ記述言語で記述された印刷ジョブの画像展開時に、オブジェクト属性を画素単位で示すタグビットデータを合わせて出力し、タグビットデータを参照しながらオブジェクト毎の処理を施す方法が用いられている。 As shown in the background art, by performing image processing according to the object attribute included in the image data, it is possible to perform higher-quality printing, so when developing an image of a print job described in a page description language A method is used in which tag bit data indicating object attributes in units of pixels is output together and processing for each object is performed while referring to the tag bit data.
上記タグビットデータとは、画像データの画素毎のオブジェクト属性を示すデータであり、例えば、図18(a)のように、写真属性とグラフィックス属性と文字属性のオブジェクトが混在する画像データにおいて、写真属性を1(bit0)、グラフィックス属性を2(bit1)、文字属性を4(bit2)と定義した場合、タグビットデータは図18(b)のようになる。そして、画像処理に際して、このタグビットデータを参照することで、画像データの各画素がどのような属性かが分かるため、オブジェクト毎に最適な画像処理を施すことが可能となる。 The tag bit data is data indicating an object attribute for each pixel of image data. For example, as shown in FIG. 18A, in image data in which objects of a photo attribute, a graphics attribute, and a character attribute are mixed, When the photo attribute is defined as 1 (bit 0), the graphics attribute is defined as 2 (bit 1), and the character attribute is defined as 4 (bit 2), the tag bit data is as shown in FIG. By referring to the tag bit data at the time of image processing, it is possible to know what attribute each pixel of the image data has, so that it is possible to perform optimal image processing for each object.
しかしながら、上記タグビットデータは画素単位の情報であるためにデータ量が多く、大容量のメモリが必要であり、かつ、画像展開時間や画像処理時間が長くなるという問題がある。 However, since the tag bit data is information in units of pixels, there is a problem that the amount of data is large, a large-capacity memory is required, and image development time and image processing time are long.
そこで、本発明の一実施の形態では、画像処理装置(プリンタコントローラ)では、画像展開処理時に、画像データに含まれるオブジェクト属性を判別し、オブジェクト属性の種別に応じて(異なる画像処理が必要な複数の属性のオブジェクトを含んでいるか否かに応じて)、タグビットデータを生成するかどうかを判断する。例えば、写真属性のオブジェクトのみ、もしくは文字属性及び/又はグラフィックス属性のオブジェクトのみの場合はタグビットデータの生成を不要と判断して画像データのみを生成する。 Therefore, in one embodiment of the present invention, the image processing apparatus (printer controller) determines the object attribute included in the image data during the image development process, and requires different image processing according to the type of the object attribute. Determine whether to generate tag bit data (depending on whether it contains objects with multiple attributes). For example, in the case of only a photograph attribute object or only a character attribute and / or graphics attribute object, it is determined that generation of tag bit data is unnecessary, and only image data is generated.
そして、画像処理装置では、タグビットデータが生成された画像データに対しては、画素毎にタグビットデータに基づく画像処理を実施し、タグビットデータが生成されなかった画像データに対しては、画像データの全体に対して指定されたオブジェクト属性の種別に応じた画像処理を実施する。例えば、写真属性のオブジェクトのみの場合は、階調性を重視した網点パターンによるスクリーン処理を行い、文字属性及び/又はグラフィックス属性のオブジェクトのみの場合は、細線化、スムージングを行い、視認性の高い多線数網点パターンによるスクリーニング処理を行う。 The image processing apparatus performs image processing based on tag bit data for each pixel for image data for which tag bit data has been generated, and for image data for which tag bit data has not been generated, Image processing corresponding to the type of object attribute specified for the entire image data is performed. For example, if only objects with photo attributes, screen processing is performed with a halftone dot pattern that emphasizes gradation, and if only objects with character attributes and / or graphics attributes, thinning and smoothing are performed for visibility. A screening process with a high multi-line number halftone dot pattern is performed.
このように、写真属性のオブジェクトのみ、もしくは文字属性及び/又はグラフィックス属性のオブジェクトのみの場合は、タグビットデータを生成しないことによって、データ量を削減することができると共に、画像展開時間や画像処理時間を削減することができる。 As described above, in the case of only a photograph attribute object, or only a character attribute and / or graphics attribute object, the data amount can be reduced by not generating the tag bit data, and the image development time and the image can be reduced. Processing time can be reduced.
上記した本発明の一実施の形態についてさらに詳細に説明すべく、本発明の一実施例に係る画像処理装置及び画像処理プログラムについて、図1乃至図17を参照して説明する。図1は、本実施例の画像処理システムの構成を模式的に示す図であり、図2及び図3は、画像処理装置の構成を示すブロック図、図4は、画像展開部と画像処理部の処理を示すブロック図である。また、図5は、画像データのパラメータ情報の一例を示す図であり、図6乃至図17は、本実施例の画像展開部及び画像処理部の処理を示すフローチャート図である。 In order to describe the above-described embodiment of the present invention in more detail, an image processing apparatus and an image processing program according to an embodiment of the present invention will be described with reference to FIGS. FIG. 1 is a diagram schematically illustrating the configuration of an image processing system according to the present embodiment. FIGS. 2 and 3 are block diagrams illustrating the configuration of an image processing apparatus. FIG. 4 is an image development unit and an image processing unit. It is a block diagram which shows the process of. FIG. 5 is a diagram illustrating an example of parameter information of image data, and FIGS. 6 to 17 are flowcharts illustrating processing of the image development unit and the image processing unit of the present embodiment.
図1に示すように、本実施例の画像処理システム10は、アプリケーションで作成したデータをページ記述言語に変換した印刷ジョブを送信するクライアント20と、クライアント20から取得した印刷ジョブを画像形成装置40で利用可能な画像データに変換するRIP機能を備えた画像処理装置(プリンタコントローラ)30と、画像データに基づいて印刷を実行するプリンタやデジタル複合機などの画像形成装置(MFP:Multi Function Peripheral)40とで構成される。クライアント20と画像処理装置30とは、LAN(Local Area Network)やWAN(Wide Area Network)などの通信ネットワークを介して接続されており、画像処理装置30と画像形成装置40とは、Video IFなどで接続されている。
As illustrated in FIG. 1, the image processing system 10 according to the present exemplary embodiment includes a
上記クライアント20は、CPU(Central Processing Unit)、ROM(Read Only Memory)やRAM(Random Access Memory)などのメモリ、HDD(Hard Disk Drive)、通信ネットワークに接続するためのNIC(Network Interface Card)やモデムなどの通信I/F部などで構成される制御部と、LCD(Liquid Crystal Display)などの表示部と、キーボードやマウスなどの操作部とを備える。OS(Operating System)や文書アプリケーション、印刷ジョブを生成するプリンタドライバなどは、ROM又はHDDからRAMに読み込まれてCPU上で実行される。
The
また、画像処理装置30は、CPU、ROMやRAMなどのメモリ、HDD、通信I/F部などで構成される制御部を備える。上記制御部は、クライアント20から印刷ジョブを受信し、RIPによる画像展開処理を行って画像データを生成し、生成した画像データに画像処理を施して画像形成装置40に送信する。
The image processing apparatus 30 includes a control unit including a CPU, a memory such as a ROM and a RAM, an HDD, and a communication I / F unit. The control unit receives a print job from the
また、画像形成装置40は、CPU、ROMやRAMなどのメモリ、HDD、通信I/F部などで構成される制御部と、表示部と、操作部と、印刷部などで構成される。上印刷部は、画像処理装置30から受信した画像データに基づいて印刷を実行する。例えば、帯電装置により帯電された感光体ドラムに露光装置から画像データに応じた光を照射して静電潜像を形成し、現像装置で帯電したトナーを付着させて現像し、そのトナー像を一次転写ローラ、二次転写ベルトを介して紙媒体に転写して定着装置で定着させる処理を行う。
The
なお、図1では、画像処理装置30を独立した装置としているが、画像処理装置30は、画像形成装置40若しくはクライアント20に含まれる構成としてもよい。
In FIG. 1, the image processing apparatus 30 is an independent apparatus, but the image processing apparatus 30 may be included in the
次に、画像処理装置30の詳細な構成について説明する。画像処理装置30(制御部)は、図2に示すように、入力部31と、PDL記憶部32と、画像展開部33と、画像記憶部34と、画像処理部35などを備える。
Next, a detailed configuration of the image processing apparatus 30 will be described. As shown in FIG. 2, the image processing device 30 (control unit) includes an
入力部31は、通信ネットワークに接続するためのNICなどのインターフェース、USB(Universal Serial Bus)に接続するためのインターフェースであり、クライアント20や外部記憶装置からPostScriptやPCL(Printer Control Language)に代表されるPDLで記述された印刷ジョブを取得する。なお、印刷ジョブは、ダイレクトプリントに対応したファイル形式、例えばXPS(XML Paper Specification)やPDF(Portable Document Format)等のフォーマットで記述されていてもよい。
The
PDL記憶部32は、メモリやHDDなどであり、入力部31で取得したPDLの印刷ジョブを記憶する。
The
画像展開部33は、RIPなどであり、PDLの印刷ジョブを解析し、描画処理を行い、ページ毎の画像データを生成すると共に、PDLデータに含まれる各オブジェクトのオブジェクト属性の種別に応じて、タグビットデータを生成するか否かを判断し、その判断結果に応じてタグビットデータを生成する。具体的には、異なる画像処理が必要な複数の属性のオブジェクト種別を含んでいるか否かに応じて、タグビットデータを生成するか否かを判断し、その判断結果に応じてタグビットデータを生成する。
The
画像記憶部34は、メモリやHDDなどであり、画像展開部33で生成した画像データやタグビットデータを記憶する。
The
画像処理部35は、タグビットデータが生成された画像データに対しては、画素毎にタグビットデータに基づく画像処理を施し、タグビットデータが生成されなかった画像データに対しては、画像データ全体に指定されたオブジェクト属性の種別に応じた画像処理を画像データの各画素に施し、画像処理済の画像データを出力する。
The
なお、図2では、画像処理装置30で画像展開処理と画像処理とを実施する構成としたが、画像処理装置30で画像展開処理まで行い、画像形成装置40側で画像処理を実施する構成としても良い。その場合は、図3に示すように、画像形成装置40側に画像処理部を設け、画像処理装置30は、画像展開部33によって生成した画像データとタグビットデータとを画像形成装置40に送信し、画像形成装置40側で画像データとタグビットデータとに基づいて画像処理を施し、印刷を行う。
In FIG. 2, the image processing device 30 performs image development processing and image processing. However, the image processing device 30 performs image development processing and the
また、上記画像展開部33や画像処理部35の各々は、その一部或いは全部をハードウェアとして構成してもよいし、制御部を画像展開部33や画像処理部35として機能させるプログラムとして構成し、CPU上で動作させる構成としてもよい。また、画像処理装置30と画像形成装置40間のデータ転送のフォーマット形式は特に限定されず、両装置間で予め定義されたVideo IF仕様に基づくもの(例えば、CMYK面順次形式、圧縮形式等)であればよい。
In addition, each of the
次に、図2の構成の画像処理装置30における画像展開部33と画像処理部35の概略動作について、図4を参照して説明する。
Next, schematic operations of the
画像展開部33は、PDL記憶部32よりPDLの印刷ジョブを読み出し、解析処理を行い、コマンドを中間データに変換すると共に、描画コマンドの種類によって、文字/グラフィックス/写真のどのオブジェクトが含まれるかを判別し、判別結果を中間データに書き込む。
The
そして、中間データに書き込まれている判別結果から、画像データが写真属性のオブジェクトのみ、もしくは、文字又はグラフィックス属性のオブジェクトのみで構成されている場合は、タグビットデータの生成が不要と判断する。写真属性のオブジェクトと文字又はグラフィックス属性のオブジェクトとを含む場合は、タグビットデータの生成が必要と判断する。 Then, based on the determination result written in the intermediate data, if the image data is composed of only the photograph attribute object or only the character or graphics attribute object, it is determined that the generation of the tag bit data is unnecessary. . If a photograph attribute object and a character or graphics attribute object are included, it is determined that it is necessary to generate tag bit data.
上記判断後、中間データを参照し、解像度、印字領域等の出力デバイスの特性に合わせた条件で描画処理を行い、画像データとタグビットデータ(生成が必要と判断した場合のみ)を生成する。 After the above determination, the intermediate data is referred to, drawing processing is performed under conditions that match the characteristics of the output device such as resolution and print area, and image data and tag bit data (only when it is determined that generation is necessary) are generated.
画像データの生成が完了したら、画像データとタグビットデータ(生成が必要と判断した場合のみ)とは別に、画像データのサイズ等のパラメータ情報の一部として、タグビットデータの有無情報、画像データに含まれるオブジェクト属性の種別情報を画像処理部35に通知する。図5は、画像データのパラメータ情報の一例であり、ページ番号や画像サイズ、解像度、階調数、1ライン長、ライン数、タグビットデータの有無、オブジェクト属性の種別などが記述される。
When the generation of the image data is completed, apart from the image data and the tag bit data (only when it is determined that the generation is necessary), as part of the parameter information such as the size of the image data, the presence / absence information of the tag bit data, the image data Is sent to the
画像処理部35は、画像データのパラメータ情報に含まれるタグビットデータの有無情報に基づき、タグビットデータ有の場合は、画像データの各画素に対応するタグビットデータを参照し、オブジェクト属性の種別に応じた画像処理を施す。一方、タグビットデータ無の場合は、オブジェクト属性の種別情報に基づき、画像データ全体に対して各画素に共通した画像処理を施す。
Based on the presence / absence information of the tag bit data included in the parameter information of the image data, the
なお、この画像処理は、オブジェクトの特性によって異なるが、基本的には、階調優先の写真属性と視認性優先の文字/グラフィックス属性で処理を分けて実施する。 Although this image processing differs depending on the characteristics of the object, basically, the processing is divided into gradation-priority photo attributes and visibility-priority character / graphics attributes.
例えば、オブジェクトが写真のみだった場合は、文字/グラフィックスに施す、細線化、スムージング等の処理は行わずに、予め設定されている写真用の階調優先網点パターンによるスクリーニング処理を画像データ全体に施す。オブジェクトが文字のみ、もしくは、グラフィックスのみ、もしくは文字及びグラフィックスの場合は、細線化、スムージングを行い、予め設定されている文字/グラフィックス用の視認性の高い多線数網点パターンによるスクリーニング処理を施す。 For example, if the object is only a photograph, the image data is subjected to a screening process using a preset gradation priority halftone dot pattern for photographs without performing processing such as thinning and smoothing on characters / graphics. Apply to the whole. If the object is only characters, graphics only, or characters and graphics, thinning and smoothing are performed, and screening is performed using a preset high-visibility multi-line dot pattern for characters / graphics. Apply processing.
次に、上記画像展開部33と画像処理部35の詳細動作について、図6乃至図9を参照して具体的に説明する。図6は、画像展開部33が行う画像展開処理の手順を示すフローチャート図であり、図7は、画像展開処理中のPDL解析処理の手順を示すフローチャート図、図8は、画像展開処理中の描画処理の手順を示すフローチャート図である。また、図9は、画像処理部35が行う画像処理の手順を示すフローチャート図である。
Next, detailed operations of the
図6に示すように、画像展開部33は、PDL解析処理を行う(S100)。具体的には、図7に示すように、PDL記憶部32よりPDLを読み出し(S101)、コマンドを中間言語に変換し、中間データに書き込む(S102)。
As shown in FIG. 6, the
次に、上記コマンドがイメージオブジェクトを描画するイメージ描画コマンドであるかを判断し(S103)、イメージ描画コマンドの場合は、写真属性フラグをセットする(S104)。イメージ描画コマンドでない場合は、グラフィックスオブジェクトを描画するグラフィックス描画コマンドであるかを判断し(S105)、グラフィックス描画コマンドの場合は、グラフィックス属性フラグをセットする(S106)。イメージ描画コマンドでもグラフィック描画コマンドでもない場合は、テキストオブジェクトを描画するフォント描画コマンドであるかを判断し(S107)、フォント描画コマンドの場合は、テキスト属性フラグをセットする(S108)。 Next, it is determined whether the command is an image drawing command for drawing an image object (S103). If the command is an image drawing command, a photo attribute flag is set (S104). If it is not an image drawing command, it is determined whether it is a graphics drawing command for drawing a graphics object (S105). If it is a graphics drawing command, a graphics attribute flag is set (S106). If it is neither an image drawing command nor a graphic drawing command, it is determined whether it is a font drawing command for drawing a text object (S107). If it is a font drawing command, a text attribute flag is set (S108).
その後、1ページ分の処理が完了したかを判断し(S109)、完了していなければS101に戻って同様の処理を繰り返し、完了していれば、属性フラグを中間データに書き込む(S110)。 Thereafter, it is determined whether or not the processing for one page is completed (S109). If not completed, the process returns to S101 and the same processing is repeated. If completed, the attribute flag is written in the intermediate data (S110).
図6に戻って、画像展開部33は、描画処理を行う(S120)。具体的には、図8に示すように、中間データの属性フラグを読み出し(S121)、文字又はグラフィックス又は写真のいずれかの属性フラグのみがセットされているかを判断する(S122)。いずれかの属性フラグのみがセットされている場合は、画像データ全体に対してオブジェクト属性の種別に応じた画像処理が可能であるため、画像データのみを生成し、タグビットデータの生成は行わない(S125)。
Returning to FIG. 6, the
一方、複数種類の属性フラグがセットされている場合は、文字及びグラフィックスの属性フラグのみがセットされているかを判断する(S123)。文字及びグラフィックスの属性フラグのみがセットされている場合は、文字属性のオブジェクトとグラフィックス属性のオブジェクトとは同じ画像処理が可能であるため、画像データのみを生成し、タグビットデータの生成は行わない(S125)。 On the other hand, if a plurality of types of attribute flags are set, it is determined whether only character and graphics attribute flags are set (S123). When only the character and graphics attribute flags are set, the character attribute object and the graphics attribute object can perform the same image processing, so only the image data is generated and the tag bit data is generated. Not performed (S125).
そして、複数種類の属性フラグがセットされており(S122のN)、かつ、文字及びグラフィックスの属性フラグのみでない場合(S123のN)、すなわち、写真属性のオブジェクトと文字属性のオブジェクト及び/又はグラフィックス属性のオブジェクトとが混在している場合は、これら複数種類のオブジェクトに対して同じ画像処理を行うことができないため、通常通り、画像データとタグビットデータの双方を生成する(S124)。 When a plurality of types of attribute flags are set (N in S122) and not only the character and graphics attribute flags (N in S123), that is, a photograph attribute object and a character attribute object and / or When objects with graphics attributes are mixed, the same image processing cannot be performed on these multiple types of objects, so both image data and tag bit data are generated as usual (S124).
その後、1ページ分の描画が完了したかを判断し(S126)、完了していなければS121に戻って同様の処理を繰り返し、完了していれば、タグビットデータの有無情報、オブジェクト属性の種別情報を画像処理部35に通知する(S127)。 Thereafter, it is determined whether drawing for one page has been completed (S126). If it has not been completed, the process returns to S121 and the same processing is repeated. Information is notified to the image processing unit 35 (S127).
再び図6に戻って、画像展開部33は、1ジョブ分の処理が完了したかを判断し(S130)、完了していなければ、S100に戻って同様の処理を繰り返し、完了していれば画像展開部33の処理を終了する。
Returning to FIG. 6 again, the
次に、図9に示すように、画像処理部35は、画像展開部33から受け取ったタグビットデータの有無情報に基づいて、タグビットデータがあるかを判断し(S140)、タグビットデータがある場合は、通常通り、タグビットデータを参照して画像処理を行う(S150)。
Next, as shown in FIG. 9, the
一方、タグビットデータがない場合は、画像展開部33から受け取ったオブジェクト属性の種別情報に基づいて、写真属性のオブジェクトであるかを判断する(S160)。写真属性のオブジェクトの場合は、画像データ全体に写真属性用の画像処理を行い(S170)、写真属性のオブジェクトでない場合(文字/グラフィックス属性のオブジェクトの場合)は、画像データ全体に文字/グラフィックス属性用の画像処理を行う(S180)。その後、画像処理済みの画像データを画像形成装置40に出力して(S190)、画像処理部35の処理を終了する。
On the other hand, if there is no tag bit data, based on the object attribute type information received from the
以上、オブジェクト属性の検出及びタグビットデータ生成有無の判断をページ単位で行う場合について説明したが、これらの処理を、例えば、ジョブ単位やページを更に分割したバンド単位で実施することもできる。 The case where the detection of the object attribute and the determination of the presence / absence of the tag bit data is performed in units of pages has been described above. However, these processes can also be performed in units of bands obtained by further dividing jobs or pages.
ジョブ単位で実施する場合の画像展開部33及び画像処理部35の動作は、図10乃至図13のフローチャート図のようになり、PDL解析処理のS209で1ジョブ分の処理が完了したかを判断し、描画処理のS226で1ジョブ分の描画が完了したかを判断すればよい。
The operations of the
また、バンド単位で実施する場合の画像展開部33及び画像処理部35の動作は、図14乃至図17のフローチャート図のようになり、PDL解析処理のS309で1バンド分の処理が完了したかを判断し、描画処理のS326で1バンド分の描画が完了したかを判断すればよい。
In addition, the operations of the
このように、本実施例では、画像展開処理時に、画像データに含まれるオブジェクト属性を判別し、オブジェクト属性の種別に応じてタグビットデータを生成するかどうかを判断し、写真属性のオブジェクトのみ、もしくは文字属性及び/又はグラフィックス属性のオブジェクトの場合は、タグビットデータを生成しないため、データ量を削減することができると共に、画像展開時間や画像処理時間を削減することができる。 As described above, in this embodiment, at the time of image development processing, the object attribute included in the image data is determined, and it is determined whether or not the tag bit data is generated according to the type of the object attribute. Alternatively, in the case of an object having a character attribute and / or a graphics attribute, tag bit data is not generated, so that the data amount can be reduced, and the image development time and the image processing time can be reduced.
なお、本発明は上記実施例の記載に限定されるものではなく、本発明の趣旨を逸脱しない限りにおいて、その構成や制御は適宜変更可能である。 In addition, this invention is not limited to description of the said Example, The structure and control can be changed suitably, unless it deviates from the meaning of this invention.
例えば、上記実施例では、文字属性のオブジェクトとグラフィックス属性のオブジェクトとが混在している場合に、タグビットデータを生成しないと判断したが、複数種類のオブジェクトが混在している場合はタグビットデータを生成する構成としてもよい。 For example, in the above embodiment, it is determined that tag bit data is not generated when a character attribute object and a graphics attribute object are mixed. However, when a plurality of types of objects are mixed, the tag bit is not generated. It is good also as a structure which produces | generates data.
本発明は、タグビットデータを生成する画像処理装置及び画像処理装置で動作する画像処理プログラムに利用可能である。 The present invention can be used for an image processing apparatus that generates tag bit data and an image processing program that operates on the image processing apparatus.
10 画像処理システム
20 クライアント
30 画像処理装置
31 入力部
32 PDL記憶部
33 画像展開部
34 画像記憶部
35 画像処理部
40 画像形成装置
DESCRIPTION OF SYMBOLS 10
Claims (16)
前記画像展開部は、前記印刷ジョブの解析時に、前記ページ記述言語のデータに含まれる各オブジェクトのオブジェクト属性を判別し、これらオブジェクト属性の種別に応じて前記タグビットデータを生成するか否かを判断し、前記タグビットデータを生成しないと判断した場合は、前記画像データのみを生成する、ことを特徴とする画像処理装置。 An input unit for inputting a print job including page description language data, a first storage unit for storing the print job input from the input unit, and reading and analyzing the print job from the first storage unit An image expansion unit that generates image data and generates tag bit data indicating an object attribute for each pixel of the image data; a second storage unit that stores the image data and the tag bit data; In an image processing apparatus having at least
The image development unit determines an object attribute of each object included in the page description language data at the time of analyzing the print job, and determines whether to generate the tag bit data according to the type of the object attribute. When the determination is made and it is determined not to generate the tag bit data, only the image data is generated.
前記画像展開部は、前記タグビットデータの有無情報及び前記オブジェクト属性の種別情報を前記画像処理部に通知し、
前記画像処理部は、前記タグビットデータの有無情報及び前記オブジェクト属性の種別情報を参照して、前記タグビットデータが生成された画像データに対しては、各画素について当該画素に対応したタグビットデータに基づく画像処理を行い、前記タグビットデータが生成されていない画像データに対しては、当該画像データ全体に指定されたオブジェクト属性の種別に応じた画像処理を当該画像データの各画素に行う、ことを特徴とする請求項1に記載の画像処理装置。 An image processing unit that reads the image data and the tag bit data from the second storage unit, performs predetermined image processing, and outputs the image data;
The image development unit notifies the image processing unit of the presence / absence information of the tag bit data and the type information of the object attribute;
The image processing unit refers to the presence / absence information of the tag bit data and the type information of the object attribute, and for the image data for which the tag bit data is generated, a tag bit corresponding to the pixel for each pixel Image processing based on the data is performed, and for image data for which the tag bit data is not generated, image processing corresponding to the type of the object attribute specified for the entire image data is performed on each pixel of the image data. The image processing apparatus according to claim 1.
前記装置を、
前記印刷ジョブを解析し、当該印刷ジョブを画像展開して得られる画像データに含まれる各オブジェクトのオブジェクト属性を判別し、これらオブジェクト属性の種別に応じて、前記画像データ及び当該画像データの各画素についてオブジェクト属性を示すタグビットデータを生成、若しくは、前記画像データのみを生成し、生成したデータを記憶部に記憶又は当該装置に接続される印刷装置に送信する画像展開部、として機能させる、ことを特徴とする画像処理プログラム。 An image processing program that operates on an apparatus that processes a print job including page description language data,
Said device,
Analyzing the print job, determining the object attribute of each object included in the image data obtained by developing the image of the print job, and according to the type of the object attribute, the image data and each pixel of the image data Generating tag bit data indicating an object attribute or generating only the image data and storing the generated data in a storage unit or transmitting the generated data to a printing device connected to the device. An image processing program characterized by the above.
前記記憶部からデータを読み出し、前記タグビットデータが生成された画像データに対しては、各画素について当該画素に対応したタグビットデータに基づく画像処理を行い、前記タグビットデータが生成されていない画像データに対しては、当該画像データ全体に指定されたオブジェクト属性の種別に応じた画像処理を当該画像データの各画素に行う画像処理部、として機能させる、ことを特徴とする請求項9に記載の画像処理プログラム。 Said device further
For the image data from which data is read from the storage unit and the tag bit data is generated, image processing based on tag bit data corresponding to the pixel is performed for each pixel, and the tag bit data is not generated The image data is caused to function as an image processing unit that performs image processing on each pixel of the image data according to the type of object attribute specified for the entire image data. The image processing program described.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010097691A JP2011228987A (en) | 2010-04-21 | 2010-04-21 | Image processing apparatus and image processing program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010097691A JP2011228987A (en) | 2010-04-21 | 2010-04-21 | Image processing apparatus and image processing program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2011228987A true JP2011228987A (en) | 2011-11-10 |
Family
ID=45043825
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010097691A Withdrawn JP2011228987A (en) | 2010-04-21 | 2010-04-21 | Image processing apparatus and image processing program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2011228987A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016139209A (en) * | 2015-01-26 | 2016-08-04 | コニカミノルタ株式会社 | Information processing apparatus, image forming system, and program |
US9953250B2 (en) | 2016-09-20 | 2018-04-24 | Fuji Xerox Co., Ltd. | Image processing apparatus and non-transitory computer readable medium that caches and revises data |
-
2010
- 2010-04-21 JP JP2010097691A patent/JP2011228987A/en not_active Withdrawn
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016139209A (en) * | 2015-01-26 | 2016-08-04 | コニカミノルタ株式会社 | Information processing apparatus, image forming system, and program |
US9953250B2 (en) | 2016-09-20 | 2018-04-24 | Fuji Xerox Co., Ltd. | Image processing apparatus and non-transitory computer readable medium that caches and revises data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4529148B2 (en) | Print control program, print control apparatus, image forming apparatus, and print control method | |
JP4419152B2 (en) | Image forming system and image forming method | |
US20070086050A1 (en) | Information processing apparatus, image processing method, and machine-readable medium | |
JP2007065898A (en) | Printer, its control method, job processing method, printing system and program | |
US8294914B2 (en) | Image forming apparatus and method for changing number of lines in band buffer based on memory size to be required | |
JP6187107B2 (en) | Digital printer, printing system, image processing program, and image processing method | |
US20110317202A1 (en) | Image forming apparatus, control method thereof, and storage medium | |
JP2011228987A (en) | Image processing apparatus and image processing program | |
JP2013126178A (en) | Image processor and control program of the same | |
JP2016115963A (en) | Image processing apparatus, image processing method and program | |
JP6142890B2 (en) | Print control program, print control apparatus, and print control method | |
JP2014013517A (en) | Print server, printing system, print processing method and program | |
US8437046B2 (en) | Image processing apparatus and method for outputting an image subjected to pseudo-halftone processing | |
JP6123291B2 (en) | Image processing program, image processing apparatus, and image processing apparatus control method | |
JP7000794B2 (en) | Image forming device, print control method and print control program | |
JP2005212440A (en) | Printing apparatus and method | |
US9001388B2 (en) | Imaging forming apparatus to merge print data with a rendering image, method of image forming, and computer-readable recording medium | |
JP2006106473A (en) | Image processor | |
JP2023089758A (en) | Image processing device, image processing method, and image processing program | |
JP6504464B2 (en) | PRINT CONTROL DEVICE, PRINT CONTROL PROGRAM, AND PRINT CONTROL METHOD | |
JP2016200999A (en) | Printing instruction device, printing system, and program | |
US7916351B2 (en) | Image processing apparatus and method, printer device, and computer readable recording medium | |
JP2005258960A (en) | Print control unit and method therefor | |
JP2020204870A (en) | Image forming system and image forming apparatus | |
JP2006044056A (en) | Apparatus, method and program for controlling printing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20130702 |