JP2007151050A - Image processing apparatus - Google Patents

Image processing apparatus Download PDF

Info

Publication number
JP2007151050A
JP2007151050A JP2005346275A JP2005346275A JP2007151050A JP 2007151050 A JP2007151050 A JP 2007151050A JP 2005346275 A JP2005346275 A JP 2005346275A JP 2005346275 A JP2005346275 A JP 2005346275A JP 2007151050 A JP2007151050 A JP 2007151050A
Authority
JP
Japan
Prior art keywords
data
dither
thinning
processing
translucent
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
Application number
JP2005346275A
Other languages
Japanese (ja)
Inventor
Yutaka Hiyama
豊 檜山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2005346275A priority Critical patent/JP2007151050A/en
Publication of JP2007151050A publication Critical patent/JP2007151050A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Facsimile Image Signal Circuits (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To print a translucent graphic normally even when dither processing is employed for halftone processing. <P>SOLUTION: An image processing apparatus disclosed herein comprises: a means for selecting a plurality of dithers and using the respective dithers to apply dither processing to translucent data; and a means for selecting optimum data among the translucent data subjected to the dither processing by the respective dithers. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、プリンタ等で行われるディザ処理に関するものである。   The present invention relates to dither processing performed by a printer or the like.

プリンタ等で、中間調を表現する為にディザ処理が行われる。   Dither processing is performed by a printer or the like to express halftones.

従来例としては、例えば特許文献1をあげることが出来る。
特開2004−266392号公報
For example, Patent Document 1 can be cited as a conventional example.
JP 2004-266392 A

しかしながら、ディザの干渉によって、半透明の図形が半透明とならず、完全に透けてしまったり、全く透けなくなってしまうことが有った。   However, due to the dither interference, the translucent figure may not be translucent and may be completely transparent or completely transparent.

上記問題に鑑みて、本発明は、半透明データを複数のディザを選択してそれぞれのディザでディザ処理する手段と、それぞれのディザでディザ処理された半透明データのなかで最適なデータを選択する手段から構成される。   In view of the above problems, the present invention selects means for selecting a plurality of dithers for translucent data and dithering with each dither, and selecting the most suitable data among the translucent data dithered with each dither. It consists of means to do.

以上説明したように本発明によれば、中間調処理をディザ処理で行う場合であっても、半透明図形を正常に印字することが出来るという効果を有する。   As described above, according to the present invention, there is an effect that a semi-transparent figure can be printed normally even when halftone processing is performed by dither processing.

(実施例1)
図1は、本発明の第1の実施例のブロック図である。1は印刷するPDLデータで、2は半透明間引きデータを検出するところの半透明間引きデータ検出部で、3は半透明間引きデータから100%間引きのデータを作成するところの100%間引きデータ作成部で、4はディザデータのディザAで、5はディザデータのディザBで、6はディザデータのディザCで、7は半透明間引きデータの間引き率を算出するところの間引き率算出部で、8はディザ処理を行うところのディザ処理部で、9はディザ処理で使用されるディザを選択するところのディザ選択部で、10はディザ処理後の間引きデータを記憶するところのディザ処理後間引きデータで、11はディザ処理後の100%間引きのデータを記憶するところのディザ処理後100%間引きデータで、12はディザ処理後の間引き率を算出するところのディザ処理後間引き率算出部で、13は最適なディザを選択するところの最適ディザ選択部で、14は選択されたディザ毎にディザ処理後の間引き率を記憶するところの間引き率記憶部で、15は最適なディザでディザ処理された後の間引きデータで最適ディザ処理後間引きデータである。
Example 1
FIG. 1 is a block diagram of a first embodiment of the present invention. 1 is a PDL data to be printed, 2 is a translucent thinning data detection unit for detecting semitransparent thinning data, and 3 is a 100% thinning data creation unit for creating 100% thinning data from semitransparent thinning data 4 is a dither A for dither data, 5 is a dither B for dither data, 6 is a dither C for dither data, 7 is a thinning rate calculation unit for calculating a thinning rate of semi-transparent thinning data, 8 Is a dither processing unit that performs dither processing, 9 is a dither selection unit that selects a dither used in dither processing, and 10 is thinned data after dither processing that stores thinned data after dither processing. , 11 is 100% thinned data after dithering, which stores 100% thinned data after dithering, and 12 is a decimation rate after dithering. A dither processing decimation rate calculation unit 13 performs an optimum dither selection unit 13 for selecting an optimum dither, and 14 stores a decimation rate after dither processing for each selected dither. Numeral 15 is thinning data after dithering with the optimum dither, and thinning data after optimum dithering.

次に図1の動作説明を行う。半透明間引きデータ検出部2はPDLデータ1を読み込んで、半透明間引きデータの検出を行う。これは通常のPDLプリンタのPDLデータ解析部で行われる処理と同じなので、詳細説明は省略する。半透明の間引きパターンの検出がなされると間引き率の算出を間引き率算出部7で行う。これは通常間引きデータは、1と0のビットパターンで示され、1が印字される(半透明の下の絵が透けない)部分で0が抜ける(半透明の下の絵が透ける)部分を示している。つまり1の部分が半透明図形によって間引かれる部分(半透明の下の絵が透けない、間引かれる部分)である。間引き率は、すべて1のパターンと比較して、1である割合がどのくらい有るかを示すものとする。半透明間引きデータ検出部2で検出された半透明間引きデータは、ディザ処理部8でディザ処理が行われ、ディザ処理された間引きデータは、ディザ処理後間引きデータ10で記憶される。ディザ処理部8で使用されるディザは、ディザ選択部9で選択され、最初ディザA4が選択される。半透明間引きデータ検出部2で検出された半透明間引きデータは、100%間引きデータ作成部3で、間引き100%のデータの作成を行う。これは、間引きデータの1と0のビットパターンをすべて1のパターンとすることで行う。作成された100%間引きの半透明データは、ディザ処理部8に送られてディザ処理を行い、処理結果がディザ処理後100%間引きデータ11で記憶される。次に、ディザ処理後間引きデータ10とディザ処理後100%間引きデータ11を基にディザ処理後間引き率算出部12で、ディザ処理後の間引き率を計算する。これは、CMYKそれぞれについて、2値化された間引きデータと100%間引きデータとの印字画素数の割合を算出することで行う。さらに、CMYKそれぞれ4つの間引き率の平均を算出して、ディザ処理後の間引き率として、間引き率記憶部14で記憶する。このときディザ選択部9で、選択されたディザのID番号この場合はAと対応付けされ記憶される。次にディザ選択部9において、ディザB5を選択して同様な処理を行い、ディザBに対するディザ処理後間引き率を間引き率記憶部14で記憶する。次にディザ選択部9において、ディザC6を選択して同様な処理を行い、ディザCに対するディザ処理後間引き率を間引き率記憶部14で記憶する。最適ディザ選択部13において、間引き率算出部7で算出されたディザ処理前の間引き率と間引き率記憶部14で記憶された各ディザに対応するディザ処理後の間引き率を比較して、最も近い間引き率のディザを最適のディザとして選択する。選択されたディザで、ディザ処理された間引きデータをディザ処理後間引きデータ10から読み出して、最適ディザ処理後間引きデータ15に記憶させ、印刷時のレンダリングデータとして採用する。   Next, the operation of FIG. 1 will be described. The translucent thinning data detection unit 2 reads the PDL data 1 and detects translucent thinning data. Since this is the same as the processing performed in the PDL data analysis unit of a normal PDL printer, detailed description thereof is omitted. When the semitransparent thinning pattern is detected, the thinning rate is calculated by the thinning rate calculation unit 7. This is because the thinned data is usually indicated by a bit pattern of 1 and 0, where 1 is printed (the translucent lower picture is not transparent) and 0 is lost (the translucent lower picture is transparent) Show. That is, a portion 1 is a portion that is thinned out by a semi-transparent figure (a portion that is thinned out through which a picture below the semi-transparent is not transparent). It is assumed that the thinning-out rate indicates how many ratios are 1 compared to a pattern of all 1s. The translucent thinned data detected by the semitransparent thinned data detecting unit 2 is subjected to dither processing by the dither processing unit 8, and the thinned data subjected to the dither processing is stored as thinned data 10 after dither processing. The dither used in the dither processing unit 8 is selected by the dither selection unit 9, and the dither A4 is first selected. The translucent thinning data detected by the semitransparent thinning data detection unit 2 creates 100% thinning data by the 100% thinning data creation unit 3. This is done by making all the 1 and 0 bit patterns of the thinned data into one pattern. The created 100% thinned translucent data is sent to the dither processing unit 8 to perform dither processing, and the processing result is stored as 100% thinned data 11 after the dither processing. Next, the post-dither processing thinning rate calculation unit 12 calculates the post-dither processing thinning rate based on the dither processing thinned data 10 and the post-dither processing 100% thinned data 11. This is performed by calculating the ratio of the number of print pixels between the binarized thinning data and 100% thinning data for each of CMYK. Further, an average of four thinning rates for each of CMYK is calculated and stored in the thinning rate storage unit 14 as a thinning rate after dither processing. At this time, the dither selection unit 9 stores the ID number of the selected dither, in this case, associated with A. Next, the dither selection unit 9 selects the dither B5 and performs the same processing, and stores the thinning rate after dither processing for the dither B in the thinning rate storage unit 14. Next, the dither selection unit 9 selects the dither C6, performs the same processing, and stores the post-dither processing thinning rate for the dither C in the thinning rate storage unit 14. The optimum dither selection unit 13 compares the thinning rate before dither processing calculated by the thinning rate calculation unit 7 with the thinning rate after dither processing corresponding to each dither stored in the thinning rate storage unit 14 and is the closest. Select the thinning rate dither as the optimal dither. The thinned data that has been dithered with the selected dither is read from the thinned data 10 after the dither processing, stored in the thinned data 15 after the optimum dither processing, and used as rendering data at the time of printing.

(実施例2)
図2は、本発明の第2の実施例のブロック図である。16は印刷するPDLデータで、17は半透明間引きデータを検出するところの半透明間引きデータ検出部で、18はディザデータのディザAで、19はディザデータのディザBで、20はディザデータのディザCで、21は半透明間引きデータの間引き率を算出するところの間引き率算出部で、22はディザ処理を行うところのディザ処理部で、23はディザ処理で使用されるディザを選択するところのディザ選択部で、24はディザ処理後の間引きデータを記憶するところのディザ処理後間引きデータで、25はディザ処理後の1ページ分のデータを記憶するところのディザ処理後ページデータで、26は半透明部分のエリアの同一画素数を算出するところの半透明部分同一画素数算出部で、27はディザ処理後の間引き率を算出するところのディザ処理後間引き率算出部で、28は最適なディザを選択するところの最適ディザ選択部で、29は選択されたディザ毎にディザ処理後の間引き率を記憶するところの間引き率記憶部で、30は最適なディザでディザ処理された後のページデータで最適ディザ処理後ページデータである。
(Example 2)
FIG. 2 is a block diagram of a second embodiment of the present invention. 16 is PDL data to be printed, 17 is a translucent thinning data detector for detecting semitransparent thinning data, 18 is dither data for dither data, 19 is dither data for dither data, and 20 is dither data for dither data. Dither C, 21 is a thinning rate calculation unit for calculating a thinning rate of semi-transparent thinning data, 22 is a dither processing unit for performing dither processing, and 23 is for selecting a dither used in dither processing. 24 is dithered thinned data for storing thinned data after dither processing, and 25 is dithered page data for storing data for one page after dithered processing. Is a translucent part same pixel number calculation unit for calculating the same number of pixels in the area of the translucent part, and 27 is a thinning rate after dither processing A decimation rate calculation unit after dither processing, 28 is an optimum dither selection unit for selecting an optimal dither, and 29 is a decimation rate storage unit for storing a decimation rate after dither processing for each selected dither. Reference numeral 30 denotes page data after dithering with the optimum dither, which is page data after optimum dithering.

次に図2の動作説明を行う。半透明間引きデータ検出部17はPDLデータ16を読み込んで、半透明間引きデータの検出を行う。半透明の間引きパターンの検出がなされると間引き率の算出を間引き率算出部21で行う。半透明間引きデータ検出部17で検出された半透明間引きデータは、ディザ処理部22でディザ処理が行われ、ディザ処理された間引きデータは、ディザ処理後間引きデータ24で記憶される。ディザ処理部22で使用されるディザは、ディザ選択部23で選択され、最初ディザA18が選択される。1ページ分のPDLデータは図示していないがPDLデータ解析部で解析された後ディザ処理部22でディザ処理され、ディザ処理後ページデータ25で記憶される。この時ディザ処理で使用されるディザは、半透明間引きデータをディザ処理したときと同じディザA18である。次に半透明部分同一画素数算出部26で、半透明の図形があるエリアについてだけディザ処理後間引きデータ24とディザ処理後ページデータ25を比較して、色値が全く同じ画素数を算出する。次にディザ処理後間引き率算出部27で、ディザ処理後の間引き率の算出を行う。これは、半透明の図形のエリアでは、半透明の図形で間引かれる部分は、半透明図形の間引きパターンが表れる(1と0のパターンで1のパターンの部分)為、半透明間引きデータだけをディザ処理したデータと、1ページ分のすべてのデータ(半透明の図形の下に絵がある場合)をディザ処理したデータとで、同じになるはずである。従って、半透明部分のエリアの画素数と半透明部分同一画素数算出部26で算出した同一画素数の割合を求めることでディザ処理後の間引き率が算出される。算出された間引き率は、間引き率記憶部29で記憶される。このときディザ選択部23で、選択されたディザのID番号この場合はAと対応付けされて記憶される。次にディザ選択部23において、ディザB19を選択して同様な処理を行い、ディザBに対するディザ処理後間引き率を間引き率記憶部29で記憶する。次にディザ選択部23において、ディザC20を選択して同様な処理を行い、ディザCに対するディザ処理後間引き率を間引き率記憶部29で記憶する。最適ディザ選択部28において、間引き率算出部21で算出されたディザ処理前の間引き率と間引き率記憶部29で記憶された各ディザに対応するディザ処理後の間引き率を比較して、最も近い間引き率のディザを最適なディザとして選択する。選択されたディザで、ディザ処理されたページデータをディザ処理後ページデータ25から読み出して、最適ディザ処理後ページデータ30に記憶させ、印刷時のレンダリングデータとして採用する。   Next, the operation of FIG. 2 will be described. The translucent thinning data detection unit 17 reads the PDL data 16 and detects translucent thinning data. When the semi-transparent thinning pattern is detected, the thinning rate is calculated by the thinning rate calculation unit 21. The translucent thinned data detected by the semitransparent thinned data detection unit 17 is subjected to dither processing by the dither processing unit 22, and the thinned data subjected to the dither processing is stored as thinned data 24 after dither processing. The dither used in the dither processing unit 22 is selected by the dither selection unit 23, and first dither A18 is selected. Although not shown, the PDL data for one page is analyzed by the PDL data analysis unit, then dithered by the dither processing unit 22, and stored as page data 25 after dither processing. At this time, the dither used in the dithering process is the same dither A18 as that obtained when the translucent thinned data is dithered. Next, the semitransparent part equal pixel number calculation unit 26 compares the dithered thinned data 24 and the dithered page data 25 only for an area with a semitransparent figure, and calculates the number of pixels having exactly the same color value. . Next, the post-dither processing thinning rate calculation unit 27 calculates the thinning rate after dither processing. This is because, in the semi-transparent graphic area, the thinned-out pattern of the semi-transparent graphic appears as a thinned pattern of the semi-transparent graphic (1 and 0 patterns are 1 pattern portions), so only the semi-transparent thinned data is displayed. The dithered data should be the same as the dithered data for all the data for one page (when there is a picture under the translucent figure). Accordingly, the decimation rate after dithering is calculated by obtaining the ratio of the number of pixels in the area of the translucent portion and the same number of pixels calculated by the translucent portion identical pixel number calculation unit 26. The calculated thinning rate is stored in the thinning rate storage unit 29. At this time, the dither selection unit 23 stores the ID number of the selected dither in this case in association with A. Next, the dither selection unit 23 selects the dither B 19 and performs the same processing, and stores the thinning rate after dither processing for the dither B in the thinning rate storage unit 29. Next, the dither selection unit 23 selects the dither C20, performs the same processing, and stores the thinning rate after dither processing for the dither C in the thinning rate storage unit 29. The optimum dither selection unit 28 compares the thinning rate before the dither processing calculated by the thinning rate calculation unit 21 with the thinning rate after the dither processing corresponding to each dither stored in the thinning rate storage unit 29, and is the closest. Select the thinning rate dither as the optimal dither. The dithered page data with the selected dither is read from the dithered page data 25, stored in the optimal dithered page data 30, and used as rendering data at the time of printing.

第1の実施例のブロック図。The block diagram of a 1st Example. 第2の実施例のブロック図。The block diagram of a 2nd Example.

符号の説明Explanation of symbols

1 PDLデータ
2 半透明間引きデータ検出部
3 100%間引きデータ作成部
4 ディザA
5 ディザB
6 ディザC
7 間引き率算出部
8 ディザ処理部
9 ディザ選択部
10 ディザ処理後間引きデータ
11 ディザ処理後100%間引きデータ
12 ディザ処理後間引き率算出部
13 最適ディザ選択部
14 間引き率記憶部
15 最適ディザ処理後間引きデータ
16 PDLデータ
17 半透明間引きデータ検出部
18 ディザA
19 ディザB
20 ディザC
21 間引き率算出部
22 ディザ処理部
23 ディザ選択部
24 ディザ処理後間引きデータ
25 ディザ処理後ページデータ
26 半透明部分同一画素数算出部
27 ディザ処理後間引き率算出部
28 最適ディザ選択部
29 間引き率記憶部
30 最適ディザ処理後ページデータ
1 PDL data 2 Translucent thinning data detection unit 3 100% thinning data creation unit 4 Dither A
5 Dither B
6 Dither C
7 Thinning rate calculation unit 8 Dither processing unit 9 Dither selection unit 10 Thinned data after dither processing 11 100% thinned data after dither processing 12 Thinned rate calculation unit after dither processing 13 Optimal dither selection unit 14 Thinning rate storage unit 15 After optimal dither processing Thinning data 16 PDL data 17 Translucent thinning data detector 18 Dither A
19 Dither B
20 Dither C
21 Thinning rate calculation unit 22 Dither processing unit 23 Dither selection unit 24 Dithered thinned data 25 Dithered page data 26 Translucent portion same pixel number calculating unit 27 Dithered post-thinning rate calculating unit 28 Optimal dither selecting unit 29 Thinning rate Storage unit 30 Page data after optimal dithering

Claims (4)

半透明データを複数のディザを選択してそれぞれのディザでディザ処理する手段と、それぞれのディザでディザ処理された半透明データのなかでデータを選択する手段から構成されることを特徴とする画像処理装置。   An image comprising: means for selecting a plurality of dithers of semi-transparent data and dithering each dither; and means for selecting data from the translucent data dithered by each dither Processing equipment. 前記それぞれのディザでディザ処理された半透明データのなかでデータを選択することを、ディザ処理前の半透明データの間引き率とディザ処理後の半透明データの間引き率を比較することで行うことを特徴とする請求項1記載の画像処理装置。   Selecting data from the translucent data dithered by each dither is performed by comparing the thinning rate of the semitransparent data before dithering with the thinning rate of the semitransparent data after dithering. The image processing apparatus according to claim 1. 前記ディザ処理後の半透明データの間引き率の算出を、半透明データの間引きパターンをディザ処理した後の画像データと、ディザ処理前の半透明データの間引きパターンを全て間引くパターンに変更してディザ処理した後の画像データとの比較で行うことを特徴とする請求項2記載の画像処理装置。   The calculation of the thinning rate of the translucent data after the dither processing is changed to a thinning pattern by changing all the thinning patterns of the image data after dithering the thinning pattern of the semitransparent data and the semitransparent data before the dithering processing. The image processing apparatus according to claim 2, wherein the image processing apparatus performs comparison with image data after processing. 前記ディザ処理後の半透明データの間引き率の算出を、半透明データの間引きパターンをディザ処理した後の画像データと、1ページ分の全データをディザ処理した後の画像データとを半透明の図形がある領域について比較することで行うことを特徴とする請求項2記載の画像処理装置。   The calculation of the thinning rate of the translucent data after the dither processing is performed by translating the image data after dithering the thinning pattern of the semitransparent data and the image data after dithering all the data for one page. The image processing apparatus according to claim 2, wherein the image processing is performed by comparing a certain area.
JP2005346275A 2005-11-30 2005-11-30 Image processing apparatus Withdrawn JP2007151050A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005346275A JP2007151050A (en) 2005-11-30 2005-11-30 Image processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005346275A JP2007151050A (en) 2005-11-30 2005-11-30 Image processing apparatus

Publications (1)

Publication Number Publication Date
JP2007151050A true JP2007151050A (en) 2007-06-14

Family

ID=38211858

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005346275A Withdrawn JP2007151050A (en) 2005-11-30 2005-11-30 Image processing apparatus

Country Status (1)

Country Link
JP (1) JP2007151050A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013153270A (en) * 2012-01-24 2013-08-08 Canon Inc Image processing device, image processing method, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013153270A (en) * 2012-01-24 2013-08-08 Canon Inc Image processing device, image processing method, and program

Similar Documents

Publication Publication Date Title
JP4861705B2 (en) Embed various watermark information in halftone screen
US20080018938A1 (en) Halftoning method and apparatus to improve sharpness of boundary region
JP4501791B2 (en) Image processing method and image processing program
JP2005051356A (en) Color reduction processor and color reduction processing method
JP2008310817A (en) Method for detecting line structure from text map and image processor
JP5282800B2 (en) Image processing apparatus and program
US20090073468A1 (en) Image processing apparatus, image processing method and image forming apparatus
JP2007151050A (en) Image processing apparatus
JP2007281815A (en) Image processor, dithering method, and program
JP2005182824A (en) Method for processing image data
US7805000B2 (en) Image processing for binarization of image data
JP3669081B2 (en) Image processing device
JP2010074627A (en) Image processor and method of processing image
JP2009071829A (en) Image processor, image forming apparatus, and thinning method of image processor
EP2894841B1 (en) Information processing apparatus, information processing method, and storage medium
JP2007214966A (en) Unit and method for processing image, and image forming apparatus
JP6025803B2 (en) Image processing device
US11295185B2 (en) Image processing device, image processing method, and recording device
US20060215183A1 (en) Image processing apparatus and method
JP2005191890A (en) Image processing device, image processing method, image processing program, recording medium stored with image processing program and image forming apparatus with image processor
JP5458969B2 (en) Image processing apparatus, image processing method, and program
JP2006287603A (en) Mesh point region discrimination apparatus and mesh point region discrimination program
JP2001351068A (en) Device and method for recognizing character, device and method for processing image and computer readable recording medium
JP5826147B2 (en) Image forming apparatus
JP2018182454A (en) Printing apparatus and printing method

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