JP5745889B2 - Image data generation apparatus and image data generation method - Google Patents

Image data generation apparatus and image data generation method Download PDF

Info

Publication number
JP5745889B2
JP5745889B2 JP2011036088A JP2011036088A JP5745889B2 JP 5745889 B2 JP5745889 B2 JP 5745889B2 JP 2011036088 A JP2011036088 A JP 2011036088A JP 2011036088 A JP2011036088 A JP 2011036088A JP 5745889 B2 JP5745889 B2 JP 5745889B2
Authority
JP
Japan
Prior art keywords
image data
pixel
thinning
pixel density
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2011036088A
Other languages
Japanese (ja)
Other versions
JP2012175445A (en
Inventor
岡田 富行
富行 岡田
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.)
Riso Kagaku Corp
Original Assignee
Riso Kagaku Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Riso Kagaku Corp filed Critical Riso Kagaku Corp
Priority to JP2011036088A priority Critical patent/JP5745889B2/en
Priority to CN201210020724.3A priority patent/CN102642381B/en
Publication of JP2012175445A publication Critical patent/JP2012175445A/en
Application granted granted Critical
Publication of JP5745889B2 publication Critical patent/JP5745889B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は、孔版印刷で用いられるマスタ製版や、インクジェットプリンタ、レーザープリンタその他の印刷装置において、記録媒体上に記録される画像を表す画像データを生成する画像データ生成装置及び画像データ生成方法に関する。   The present invention relates to an image data generating apparatus and an image data generating method for generating image data representing an image recorded on a recording medium in a master plate making used in stencil printing, an ink jet printer, a laser printer or other printing apparatus.

従来より、印刷装置の一つとして孔版印刷装置が用いられている。この孔版印刷装置では、画像データに対して所定の画像処理及び画素値変換処理を施した後に二値化を行うことにより、二値化データを取得する。そして、取得した二値化データに基づいてサーマルヘッドを局所的に発熱させながら感熱孔版原紙に接触させて穿孔してマスタを作成する。さらに、作成したマスタの穿孔部を介してインクを印刷媒体に転移させて印刷物を得る。   Conventionally, a stencil printing apparatus has been used as one of the printing apparatuses. In this stencil printing apparatus, binarization data is acquired by performing binarization after performing predetermined image processing and pixel value conversion processing on image data. Then, based on the acquired binarized data, a thermal head is locally heated while being brought into contact with the heat-sensitive stencil sheet to create a master. Further, the ink is transferred to the print medium through the punched portion of the created master to obtain a printed matter.

このような孔版印刷機では、画像データにベタ部分があると、マスタから印刷媒体に転移されるインク量が多くなる。この印刷媒体に次の印刷媒体が排紙後重ねられると、その印刷媒体の裏面に前の印刷媒体上のインクが転移してしまうことがある。他の印刷媒体からインクが裏面に転移すると、そのインクが印刷媒体の表面から透けて見えてしまう、いわゆる「裏写り」が生じ、印刷品質が劣化するという問題点があった。   In such a stencil printing machine, if there is a solid portion in the image data, the amount of ink transferred from the master to the printing medium increases. When the next print medium is stacked on the print medium after being discharged, the ink on the previous print medium may be transferred to the back surface of the print medium. When the ink is transferred from the other print medium to the back surface, there is a problem that the ink is seen through the surface of the print medium, so-called “show-through”, and the print quality is deteriorated.

このような問題を解決すべく、例えば、特許文献1及び2に開示された技術がある。この特許文献1及び2に開示された技術では、画像データのベタ部分を認識し、ベタ部分のインク量を間引き処理するようにしている。これにより、「裏写り」の発生を軽減させることができる。   In order to solve such a problem, for example, there are techniques disclosed in Patent Documents 1 and 2. In the techniques disclosed in Patent Documents 1 and 2, the solid portion of the image data is recognized, and the ink amount of the solid portion is thinned out. Thereby, the occurrence of “show-through” can be reduced.

ところが、特許文献1及び2に開示された技術では、間引き処理を行うのが画像データのベタ部分であるため、ドットゲインの大きい印刷媒体を用いて細字を印刷したときに発生する「文字潰れ」、つまり、文字の細線が滲んで細線の間が潰れてしまう現象を、抑制することができない。   However, in the techniques disclosed in Patent Documents 1 and 2, the thinning process is performed on the solid portion of the image data. Therefore, “character collapse” that occurs when a fine character is printed using a print medium having a large dot gain. That is, it is impossible to suppress the phenomenon that the thin lines of characters are blurred and the spaces between the thin lines are crushed.

特に、上質紙に比べてドットゲインの影響を受けやすい、繊維の配列や大きさが均等でなくインクの浸透率にバラツキが多い更紙やケナフ紙などを用いる場合は、「文字潰れ」の発生傾向が顕著となる。また、特に、10ポイント以下の文字サイズで、画数が多い漢字などの場合には、細字部分の文字潰れが多発して、文字の再現性が低下するという問題があった。   In particular, the occurrence of “collapsed characters” occurs when using renewed paper or kenaf paper, which is more susceptible to dot gain than high-quality paper, and whose fiber arrangement and size are not uniform and ink penetration varies widely. The tendency becomes remarkable. In particular, in the case of a kanji character having a character size of 10 points or less and a large number of strokes, there is a problem that the character reproducibility is deteriorated due to frequent character crushing of the thin character portion.

また、従来から、画像のベタ部分のインク量を間引くのではなく、画像データを作成する際の読み取り濃度を薄くする方法や、印刷時の印圧を低減する方法も提案されている。さらに、インクジェットプリンタなどの技術分野では、画像データ中の輪郭部分を抽出し、その部分のインク液滴を小さい液滴に置き換えたり、液滴数を間引いたりする技術も提案されている(例えば、特許文献3)。   Conventionally, a method of reducing the reading density when creating image data and a method of reducing the printing pressure at the time of printing are proposed instead of thinning out the ink amount of the solid portion of the image. Further, in the technical field such as an ink jet printer, a technique for extracting a contour portion in image data and replacing the ink droplet of the portion with a small droplet or thinning the number of droplets has been proposed (for example, Patent Document 3).

特開平5−22582号公報Japanese Patent Laid-Open No. 5-22582 特開平5−22583号公報Japanese Patent Laid-Open No. 5-22583 特開2002−292848号公報JP 2002-292848 A

しかしながら、上述した読み取り濃度を薄くする方法では、単一の閾値を用いて一律に濃度を薄くした場合には、細字部分にカスレが生じてしまう。また、誤差拡散処理などによって濃度を薄くしても、細字部分にボケが生じる程度の不都合は避けられない。そのため、読み取り濃度を薄くする方法には、細字の再現性が向上しないという問題がある。   However, in the above-described method of reducing the reading density, if the density is uniformly reduced using a single threshold value, blurring occurs in the fine character portion. Moreover, even if the density is reduced by error diffusion processing or the like, there is an unavoidable inconvenience that blurring occurs in the fine character portion. For this reason, the method of reducing the reading density has a problem that the reproducibility of thin characters is not improved.

また、マスタの印刷媒体に対する印圧を低くして印刷濃度を下げる方法を採用した場合には、細字の再現性は向上するものの、ベタ部分が埋まらなくなりカスレが生じてしまう。   Further, when the method of lowering the printing density by lowering the printing pressure on the master printing medium is adopted, the reproducibility of the fine characters is improved, but the solid portion is not filled and blurring occurs.

また、上述した特許文献3に開示された技術では、原稿上の特定の方向に延在する輪郭線を特徴量として抽出するなど、画像中の特徴部分を抽出して輪郭部分を検出し、間引き処理を施している。ところが、例えばスキャナで原稿から読み取った画像データの場合には、画像データ中の輪郭線が一直線上に延在すること自体が稀である。それは、スキャナで画像データを読み取った原稿の印刷時に、適切な間引き処理を施した画像データを用いていない限り、原稿の輪郭線がきれいな一直線状になっていることが少ないからである。そのため、特許文献3の技術を細線の間引き処理に適用したとしても、効果的な結果を期待することは難しい。   Further, in the technique disclosed in Patent Document 3 described above, a contour line extending in a specific direction on a document is extracted as a feature amount. For example, a feature portion in an image is extracted to detect a contour portion, and thinning is performed. We are processing. However, in the case of image data read from a document by a scanner, for example, it is rare that the contour line in the image data itself extends in a straight line. This is because, when printing a document whose image data has been read by a scanner, the contour line of the document is rarely in a clean straight line unless image data subjected to appropriate thinning processing is used. Therefore, even if the technique of Patent Document 3 is applied to thin line thinning processing, it is difficult to expect an effective result.

本発明は前記事情に鑑みなされたものであり、本発明の目的は、孔版印刷などの印刷装置において記録媒体上に記録される画像を表す画像データを生成するにあたり、滲みが生じやすい印刷媒体であってもベタ部分の濃度を落とすことなく、文字の細線部分などについては間引処理を確実に行い文字部分の潰れを解消して、文字の再現性の向上を図ることができる画像データ生成装置及び画像データ生成方法を提供することにある。   The present invention has been made in view of the above circumstances, and an object of the present invention is a print medium that is likely to cause bleeding when generating image data representing an image recorded on the recording medium in a printing apparatus such as stencil printing. Even if there is, the image data generation device can improve the reproducibility of the character by reducing the thinning of the thin line portion of the character and eliminating the collapse of the character portion without reducing the density of the solid portion. And providing an image data generation method.

上記目的を達成するために本発明は、
印刷装置において記録媒体上に記録される画像を表す画像データを生成するのに当たり、
入力された画像データを二値化し、
二値化された画像データ中の画素を注目画素として順次選択し、前記注目画素を中心とする所定範囲の参照領域に含まれる複数の画素のうち黒画素の画素数を計数して、該黒画素の画素数から、前記注目画素に対応する前記参照領域の画素密度を算出し、
前記参照領域の前記注目画素に対する周辺画素の配列方向において、所定の閾値よりも高い画素密度の範囲では、画素密度が増加するほど間引率が低減し、かつ、前記所定の閾値以下の画素密度の範囲よりも間引率が低くなるように、前記参照領域の画素密度と間引率の対応関係を定義した定義データを参照して、算出された画素密度に基づき各画素に対する間引率を算出し、
前記間引率に応じたパターンに従って、各画素の濃度を低減させる間引処理を実行する、
ことを特徴とする。
In order to achieve the above object, the present invention provides:
In generating image data representing an image recorded on a recording medium in a printing apparatus,
The input image data is binarized,
A pixel in the binarized image data is sequentially selected as a target pixel, and the number of black pixels is counted among a plurality of pixels included in a reference area in a predetermined range centered on the target pixel. Calculate the pixel density of the reference region corresponding to the pixel of interest from the number of pixels of the pixel,
In the arrangement direction of the peripheral pixels for the target pixel of the reference region, in the range of higher pixel density than Jo Tokoro threshold, then reduced during discount rate higher pixel density increases, and, following pixel density the predetermined threshold value The decimation rate for each pixel is calculated based on the calculated pixel density with reference to the definition data defining the correspondence between the pixel density of the reference region and the decimation rate so that the decimation rate is lower than the range of
Performing a thinning process to reduce the density of each pixel according to the pattern according to the thinning rate;
It is characterized by that.

上記発明では、注目画素に対応する参照領域の画素密度に基づいて各画素(各注目画素)の間引率を算出する。このため、注目画素とその周辺における画素密度の関係から、例えば、その注目画素がベタ部分であるのか細字部分であるのか、を判断したうえで、間引の程度を決定することができる。具体的には、所定の閾値よりも画素密度が高くなるベタ部分などの箇所では、画素密度が増加するほど間引率を下げることによって、濃度が高くなるほど間引かれ難くしている。しかも、所定の閾値よりも画素密度が高くなるベタ部分などの箇所では、画素密度が所定の閾値以下となる細字部分などの箇所よりも、間引率を低くしている。これにより、ベタ部分の濃度を低下させることなく、細字部分であっても確実に間引くことができ、文字部分の潰れを解消しつつ文字等の再現性を向上させることができる。   In the above invention, the thinning rate of each pixel (each pixel of interest) is calculated based on the pixel density of the reference area corresponding to the pixel of interest. Therefore, from the relationship between the pixel of interest and the pixel density around it, for example, it is possible to determine the degree of thinning after determining whether the pixel of interest is a solid portion or a thin portion. Specifically, in a portion such as a solid portion where the pixel density is higher than a predetermined threshold, the thinning rate is decreased as the pixel density increases, so that the higher the density is, the more difficult it is to be thinned out. In addition, the thinning rate is set lower in a portion such as a solid portion where the pixel density is higher than a predetermined threshold than in a portion such as a thin portion where the pixel density is lower than the predetermined threshold. Thereby, even if it is a thin character part, without reducing the density | concentration of a solid part, it can be thinned out reliably, and the reproducibility of a character etc. can be improved, eliminating the crushing of a character part.

特に、参照領域は注目画素を含む所定範囲の画素を含んでおり、その参照領域に含まれる黒画素の数に基づいて参照領域の画素密度が算出される。このため、参照領域の画素密度に基づいて間引率を決定することによって、注目画素とその周辺画素の分布の変化に応じて間引率を変化させることができる。   In particular, the reference area includes a predetermined range of pixels including the target pixel, and the pixel density of the reference area is calculated based on the number of black pixels included in the reference area. For this reason, by determining the thinning rate based on the pixel density of the reference region, it is possible to change the thinning rate according to changes in the distribution of the pixel of interest and its surrounding pixels.

例えば、参照領域が余白部分からベタ部分に差し掛かる箇所など、画素密度が低い箇所では、その画素密度に応じたある程度の間引率で間引を行い、参照領域がベタ部分の輪郭からベタ部分内に移行し、画素密度が高くなるにつれて間引率を段階的に下げていく、というように間引率を変化させることができる。この結果、ベタ部分の輪郭などでも急激な濃度変化を生じることがなく、滑らかに間引くことができる。   For example, at a location where the pixel density is low, such as a location where the reference area reaches from the blank area to the solid area, thinning is performed at a decimation rate according to the pixel density, and the reference area is within the solid area from the outline of the solid area. The thinning rate can be changed such that the thinning rate is gradually reduced as the pixel density increases. As a result, a sharp density change does not occur even in the outline of a solid portion, and the like can be thinned out smoothly.

さらに、上記発明では、画像データを二値化した後に間引率の解析を行うことから、演算処理の対象となるデータ量を軽減することができ、演算処理の負担軽減及び高速化が図れるとともに、演算処理装置やメモリ装置の小型化及び低廉化も可能となる。   Furthermore, in the above invention, since the analysis of the thinning rate is performed after binarizing the image data, the amount of data that is the target of the arithmetic processing can be reduced, and the burden on the arithmetic processing can be reduced and the speed can be increased. It is possible to reduce the size and cost of the arithmetic processing device and the memory device.

また、上記発明において、前記注目画素に対応する前記参照領域の画素密度の算出を画素密度算出部において行う構成とする場合、前記画素密度算出部が、前記画像データの内容に基づいて前記参照領域の面積又は形状を変更する機能を有することを特徴とする。   In the above invention, when the pixel density calculation unit calculates the pixel density of the reference region corresponding to the target pixel, the pixel density calculation unit is configured to perform the reference region based on the content of the image data. It has the function to change the area or shape of the.

上記発明では、画像データの内容に基づいて参照領域の面積や形状を変更する。画像データの内容としては、例えば、画像データに含まれる文字のサイズや書体、文字飾りの種類などがある。これらに応じて参照領域の面積や形状を変更することで、注目画素とその周辺における画素密度の関係をより正確に判断することができ、間引処理の精度を向上させることができる。   In the above invention, the area and shape of the reference region are changed based on the contents of the image data. The contents of the image data include, for example, the character size, typeface, and character decoration type included in the image data. By changing the area and shape of the reference region according to these, it is possible to more accurately determine the relationship between the pixel of interest and the pixel density in the vicinity thereof, and to improve the accuracy of the thinning process.

なお、この参照領域としては、一般的に5×5の画素数及び形状で十分であるが、例えば、10ポイントのボールドゴシック書体の場合、白画素部分が少なく潰れやすい傾向があることから、7×7の参照領域として画素密度を求めれば、白画素部分の参照領域に対する割合を小さく評価することができ、その部分の画素密度が高くなり、ベタ部分と同様に間引率を下げるなどの対応を取ることができる。   In general, a 5 × 5 pixel number and shape are sufficient for this reference region. However, in the case of a 10-point bold Gothic typeface, for example, there is a tendency that white pixel portions are less likely to be crushed. If the pixel density is obtained as a × 7 reference area, the ratio of the white pixel part to the reference area can be evaluated to be small, the pixel density of that part becomes high, and measures such as reducing the thinning rate as in the solid part are taken. Can be taken.

上記発明において、前記定義データでは、前記所定の閾値以下の画素密度における間引率が100%未満の特定上限値に定義されていることを特徴とする。   In the above invention, the definition data is characterized in that a thinning rate at a pixel density equal to or lower than the predetermined threshold is defined as a specific upper limit value of less than 100%.

上記発明では、例えば、細字部分などの画素密度が低い箇所では、その間引率に100%未満の上限を設けることによって、文字のカスレを生じさせることなく適度に間引くことができ、文字部分の潰れを解消して、文字等の再現性をより向上させることができる。   In the above invention, for example, in a portion where the pixel density is low, such as a thin character portion, by setting an upper limit of less than 100% in the thinning rate, the character portion can be thinned out appropriately without causing character blurring, and the character portion is crushed. This eliminates the problem and improves the reproducibility of characters and the like.

上記発明において、前記特定上限値が50%であり、前記間引処理部は、前記特定上限値の間引率に応じた前記パターンを、1画素置きの市松模様状とすることを特徴とする。   In the above invention, the specific upper limit value is 50%, and the thinning processing unit sets the pattern corresponding to the thinning rate of the specific upper limit value in a checkered pattern every other pixel.

上記発明では、参照領域が、間引率が最大となる画素密度のような箇所に位置する場合であっても、特定上限値を50%とし、1画素置きの市松模様状に間引くことによって、細字のカスレが目視できない程度に適度に間引くことができる。   In the above invention, even if the reference region is located at a location such as the pixel density where the thinning rate is maximized, the specific upper limit value is set to 50%, and thinning is performed by thinning out every other pixel in a checkered pattern. It can be thinned out to such an extent that no blur is visible.

上記発明において、前記二値化処理部で二値化された画像データを記憶する二値化データ記憶部と、前記記録媒体の種別を取得し、取得した種別が予め設定された特定の種別である場合に、前記二値化データ記憶部に記憶された画像データを読み出し、読み出された画像データの間引率の算出を前記間引率算出部に実行させる画像選択部とをさらに備えることを特徴とする。   In the above invention, the binarized data storage unit for storing the image data binarized by the binarization processing unit, the type of the recording medium is acquired, and the acquired type is a specific type set in advance. In some cases, further comprising: an image selection unit that reads out the image data stored in the binarized data storage unit and causes the thinning-out rate calculation unit to calculate the thinning-out rate of the read image data. And

上記発明では、更紙やケナフ紙などのインク滲みしやすい記録媒体向けの画像データを生成するときにのみ上記間引処理を行うことができ、記録媒体の特性に合致した画像データを生成することができる。特に、例えば普通紙向けの画像データを生成する際に二値化した画像データを二値化データ記憶部に記憶しておき、この二値化された画像データを、印刷処理の対象となる記録媒体の種別に応じて、読み出して間引処理の演算に用いることができる。二値化データのデータ量は、通常の多値データよりも小さいため、記憶領域を低減することができ、メモリ装置の小型化及び低廉化を図ることができる。   In the above-described invention, the thinning-out process can be performed only when generating image data for a recording medium that easily bleeds ink, such as reprinted paper or kenaf paper, and generates image data that matches the characteristics of the recording medium. Can do. In particular, for example, when generating image data for plain paper, the binarized image data is stored in the binarized data storage unit, and the binarized image data is recorded as a target of print processing. Depending on the type of the medium, it can be read out and used in the thinning process. Since the amount of binarized data is smaller than that of normal multilevel data, the storage area can be reduced, and the memory device can be reduced in size and cost.

換言すると、二値化された画像データは、一般的な普通紙向けの画像データそのものであることから、記録媒体が普通紙などの間引処理が不要な種別であるときには、その二値化された画像データを一般的な印刷処理やマスタ製版処理に利用した後、二値化データ記憶部に保存しておき、記録媒体が更紙やケナフ紙などの間引処理が必要な種別であるときに、保存しておいた画像データを読み出して、改めて間引処理を行うことができる。この結果、メモリ装置の小型化及び低廉化のみならず、二値化された画像データの再利用ができることにより、一般的な印刷処理やマスタ製版処理で二値化された画像データを必要とするときに、その都度、データ容量の大きい多値データを二値化するための演算処理をする必要がなく、演算処理の負担軽減及び高速化が図れる。   In other words, since the binarized image data is image data itself for general plain paper, when the recording medium is a type that does not require thinning processing such as plain paper, the binarized image data is binarized. The image data is used for general printing processing and master plate making processing, then stored in the binarized data storage unit, and the recording medium is of a type that requires thinning processing such as renewal or kenaf paper In addition, the stored image data can be read out and the thinning process can be performed again. As a result, not only the memory device can be reduced in size and cost but also the binarized image data can be reused, so that binarized image data is required in general printing processing and master plate making processing. In some cases, it is not necessary to perform arithmetic processing for binarizing multi-value data having a large data capacity, and the burden of arithmetic processing can be reduced and speeded up.

本発明によれば、孔版印刷などの印刷装置において記録媒体上に記録される画像を表す画像データを生成するにあたり、簡易な構成で、画像の間引処理を実行する箇所を適切に選択することにより、滲みが生じやすい印刷媒体であってもベタ部分の濃度を落とすことなく、文字の細線部分などについては間引処理を確実に行い文字部分の潰れを解消して、文字の再現性の向上を図ることができる。また、更紙やケナフ紙などの記録媒体に対するインク滲みを低減することができ、環境負荷の低い用紙の利用機会を増大させることができる。   According to the present invention, when generating image data representing an image to be recorded on a recording medium in a printing apparatus such as stencil printing, a location where image thinning processing is executed is appropriately selected with a simple configuration. As a result, even if the print medium is prone to bleeding, the thinned portion of the character is surely thinned out without reducing the density of the solid portion, eliminating the collapse of the character portion and improving the reproducibility of the character. Can be achieved. In addition, ink bleeding with respect to a recording medium such as a reprint paper or a kenaf paper can be reduced, and opportunities for using paper with a low environmental load can be increased.

本発明の一実施形態に係る孔版印刷装置の内部構成を示す概略断面図である。It is a schematic sectional drawing which shows the internal structure of the stencil printing apparatus which concerns on one Embodiment of this invention. 図1の演算処理部の画像データ生成処理に関するモジュールを示すブロック図である。It is a block diagram which shows the module regarding the image data generation process of the arithmetic processing part of FIG. 図2の画素密度算出部による画素密度の算出の概要を示す説明図である。It is explanatory drawing which shows the outline | summary of the calculation of the pixel density by the pixel density calculation part of FIG. (a)は、図2の間引率算出部による間引率の算出に用いる画素密度と間引率の対応関係を示すグラフ、(b)は図2の間引処理部が間引処理の際に用いる閾値マトリクスの構成例を示す説明図である。2A is a graph showing a correspondence relationship between a pixel density and a thinning rate used for calculation of the thinning rate by the thinning rate calculation unit in FIG. 2, and FIG. 2B is used when the thinning processing unit in FIG. It is explanatory drawing which shows the structural example of a threshold value matrix. (a)〜(d)は、図4の間引率に応じた閾値マトリクスの構成を示す説明図である。(A)-(d) is explanatory drawing which shows the structure of the threshold value matrix according to the thinning-out rate of FIG. 本発明の一実施形態に係る画像データ生成方法の概要を示すフローチャートである。It is a flowchart which shows the outline | summary of the image data generation method which concerns on one Embodiment of this invention. (a)は、図2の間引処理部で実行された間引き処理有のデジタルデータを示す説明図であり、(b)は、(a)のデジタルデータによって印刷された画像画面を示す上面図である。(A) is explanatory drawing which shows the digital data with a thinning process performed by the thinning-out process part of FIG. 2, (b) is a top view which shows the image screen printed with the digital data of (a) It is. (a)は、従来例に係る間引き処理無のデジタルデータを示す説明図であり、(b)は、(a)のデジタルデータによって印刷された画像画面を示す上面図である。(A) is explanatory drawing which shows the digital data without a thinning process which concerns on a prior art example, (b) is a top view which shows the image screen printed with the digital data of (a).

(孔版印刷装置の全体構成)
以下、本発明に係る画像データ生成装置を、孔版印刷装置における製版用の画像データの生成に適用した実施形態について、図面を参照しつつ詳細に説明する。図1は、本実施形態に係る孔版印刷装置1の内部構成を示す概略構成図である。
(Overall configuration of stencil printing machine)
Hereinafter, an embodiment in which an image data generation apparatus according to the present invention is applied to generation of image data for plate making in a stencil printing apparatus will be described in detail with reference to the drawings. FIG. 1 is a schematic configuration diagram showing an internal configuration of the stencil printing apparatus 1 according to the present embodiment.

本実施形態の孔版印刷装置1は、図1に示すように、原稿の画像を読み取って画像データを出力する画像読取部10と、画像読取部10で読み取られた画像データに基づいて感熱孔版原紙33に製版処理を施し、マスタを製版する第1及び第2の製版部30,35と、第1及び第2の製版部30,35において製版された感熱孔版原紙33を用いて印刷用紙P1に印刷を施す第1及び第2の印刷部40,50と、第1の印刷部40に印刷用紙P1を給紙する給紙部20、第1の印刷部40において片面印刷された片面印刷済印刷用紙P2を一旦ストックし、その後、所定のタイミングで第2の印刷部50に給紙する中間ストック部46と、第2の印刷部50によって両面印刷された両面印刷済印刷用紙P3が排出される排紙部70とを備えている。   As shown in FIG. 1, the stencil printing apparatus 1 of the present embodiment includes an image reading unit 10 that reads an image of a document and outputs image data, and a heat-sensitive stencil sheet based on the image data read by the image reading unit 10. The first and second plate-making units 30 and 35 for performing plate-making processing on the master 33, and the heat-sensitive stencil sheet 33 made by the first and second plate-making units 30 and 35 are used for printing paper P1. The first and second printing units 40 and 50 that perform printing, the paper feeding unit 20 that feeds the printing paper P1 to the first printing unit 40, and the single-side printed printing that is printed on one side in the first printing unit 40 The paper P2 is temporarily stocked, and then the intermediate stock unit 46 that feeds the paper P2 to the second printing unit 50 at a predetermined timing, and the double-sided printed printing paper P3 that has been printed on both sides by the second printing unit 50 are discharged. A paper discharge unit 70 That.

画像読取部10は、原稿の画像情報を光電的に読み取るラインイメージセンサを有し、ラインイメージセンサで原稿を走査することによって原稿を読み取り、画像データを出力するスキャナ装置である。   The image reading unit 10 is a scanner device that includes a line image sensor that photoelectrically reads image information of a document, scans the document with the line image sensor, and outputs image data.

第1の製版部30は、複数個の発熱体が一列に配列されてなるサーマルヘッドユニット31を有し、孔版原紙ロールから繰り出された感熱孔版原紙33に対し、サーマルヘッドユニット31を用いて製版処理を行うものである。なお、第1の製版部30は、後述する演算処理部100から出力された処理済画像データに基づいて製版処理を行う。   The first plate making unit 30 has a thermal head unit 31 in which a plurality of heating elements are arranged in a line, and the plate making using the thermal head unit 31 is performed on the heat-sensitive stencil sheet 33 fed from the stencil sheet roll. The processing is performed. The first plate making unit 30 performs plate making processing based on processed image data output from the arithmetic processing unit 100 described later.

第2の製版部35も、第1の製版部30と同様に、サーマルヘッドユニット36を有し、孔版原紙ロールから繰り出された感熱孔版原紙33に対し、サーマルヘッドユニット36を用いて製版処理を行うものである。なお、第2の製版部35も、後述する演算処理部100から出力された処理済画像データに基づいて製版処理を行う。   Similarly to the first plate making unit 30, the second plate making unit 35 has a thermal head unit 36, and plate making processing is performed on the heat-sensitive stencil sheet 33 fed from the stencil sheet roll using the thermal head unit 36. Is what you do. The second plate making unit 35 also performs plate making processing based on processed image data output from the arithmetic processing unit 100 described later.

第1の印刷部40は、多孔金属板、メッシュ構造体などのインク通過性の円筒状の第1の印刷ドラム41と、印刷用紙P1を所定のプレス圧で第1の印刷ドラム41に圧接させる第1のプレスローラ42と、第1の印刷ドラム41から片面印刷済印刷用紙P2を剥ぎ取る第1の剥取爪43とを備えている。第1の印刷ドラム41の外周には第1の製版部30において感熱孔版原紙33に穿孔されたマスタが巻き付けられて装着されるようになっている。また、第1のプレスローラ42は、第1の印刷ドラム41の円筒の中心軸が延びる方向(図1の紙面奥行き方向)に沿って延設されている。   The first printing unit 40 presses the printing paper P1 and the first printing drum 41 with a predetermined press pressure against the first printing drum 41 having a cylindrical shape such as a perforated metal plate or a mesh structure. A first press roller 42 and a first stripping claw 43 for stripping the single-side printed paper P2 from the first printing drum 41 are provided. A master punched in the heat-sensitive stencil sheet 33 in the first plate making unit 30 is wound around and attached to the outer periphery of the first printing drum 41. The first press roller 42 extends along the direction in which the central axis of the cylinder of the first printing drum 41 extends (the depth direction in FIG. 1).

第2の印刷部50は、第1の印刷部40と同様に、円筒状の第2の印刷ドラム51と、片面印刷済印刷用紙P2を所定のプレス圧で第2の印刷ドラム51に圧接させる第2のプレスローラ52と、第2の印刷ドラム51から両面印刷済印刷用紙P3を剥ぎ取る第2の剥取爪53とを備えている。第2の印刷ドラム51の外周には第2の製版部35において穿孔されたマスタが巻き付けられて装着されるようになっている。また、第2のプレスローラ52は、第2の印刷ドラム51の円筒の中心軸が延びる方向(図1の紙面奥行き方向)に沿って延設されている。   Similar to the first printing unit 40, the second printing unit 50 presses the cylindrical second printing drum 51 and the single-side printed printing paper P2 against the second printing drum 51 with a predetermined press pressure. A second press roller 52 and a second peeling claw 53 for peeling the double-side printed printing paper P3 from the second printing drum 51 are provided. A master punched in the second plate making section 35 is wound around and attached to the outer periphery of the second printing drum 51. Further, the second press roller 52 extends along the direction in which the central axis of the cylinder of the second printing drum 51 extends (the depth direction in the drawing of FIG. 1).

給紙部20は、印刷用紙P1が載置される給紙台21と、給紙台21より印刷用紙P1を一枚ずつ取り出して2次給紙ローラ23に向けて送り出す1次給紙ローラ22と、1次給紙ローラ22の搬送方向下流側に配置され、1次給紙ローラ22により搬送された印刷用紙P1の先端を一旦停止させ、所定のタイミングで印刷用紙P1を第1の印刷ドラム41と第1のプレスローラ42との間に送り出す2次給紙ローラ23とを備えている。   The paper supply unit 20 includes a paper supply base 21 on which the print paper P1 is placed, and a primary paper supply roller 22 that takes out the print paper P1 one by one from the paper supply base 21 and sends it to the secondary paper supply roller 23. The leading end of the printing paper P1 that is disposed downstream of the primary paper feeding roller 22 in the carrying direction is temporarily stopped, and the printing paper P1 is transferred to the first printing drum at a predetermined timing. A secondary paper feed roller 23 is provided between 41 and the first press roller 42.

排紙部70は、両面印刷済印刷用紙P3を排紙台71まで搬送する排紙送りベルト部72と、排紙送りベルト部72により搬送された両面印刷済印刷用紙P3が積載される排紙台71とを備えている。   The paper discharge unit 70 is a paper discharge feeding belt unit 72 that conveys the double-sided printed printing paper P3 to the paper discharge table 71, and a paper discharge on which the double-sided printed printing paper P3 conveyed by the paper discharge feeding belt unit 72 is stacked. A stand 71 is provided.

また、第1の印刷部40と中間ストック部46との間には、湾曲搬送部44が設置されている。湾曲搬送部44は、図1に示すように、搬送経路に沿った湾曲表面を有するガイド板を備えている。ガイド板の湾曲表面には、第1の印刷部40から送り出された印刷用紙P1を吸引する吸引口が設けられた搬送ベルトが設置されている。そして、この搬送ベルトを循環移動させるプーリー45が設けられている。湾曲搬送部44は、搬送ベルトの吸引口によって片面印刷済印刷用紙P2を吸引するとともに、プーリー45を回転させることによって搬送ベルトにより片面印刷済印刷用紙P2をガイド板の湾曲表面に沿って搬送するものである。   Further, a curved conveyance unit 44 is installed between the first printing unit 40 and the intermediate stock unit 46. As shown in FIG. 1, the curved conveyance unit 44 includes a guide plate having a curved surface along the conveyance path. On the curved surface of the guide plate, a conveyor belt provided with a suction port for sucking the printing paper P1 sent out from the first printing unit 40 is installed. A pulley 45 that circulates and moves the transport belt is provided. The curved conveyance unit 44 sucks the single-side printed paper P2 by the suction port of the conveyance belt, and conveys the single-side printed paper P2 by the conveyance belt along the curved surface of the guide plate by rotating the pulley 45. Is.

また、中間ストック部46と第2の印刷部50との間には、中間ストック部46から搬出された片面印刷済印刷用紙P2をピックアップするピックアップローラ47と、ピックアップローラ47によってピックアップされた片面印刷済印刷用紙P2を順次所定のタイミングで第2の印刷ドラム51と第2のプレスローラ52との間に送り出すタイミングローラ48とが設けられている。   Further, between the intermediate stock unit 46 and the second printing unit 50, a pickup roller 47 that picks up the single-side printed printing paper P <b> 2 carried out from the intermediate stock unit 46, and single-sided printing picked up by the pickup roller 47. There is provided a timing roller 48 for sequentially sending the finished printing paper P2 between the second printing drum 51 and the second press roller 52 at a predetermined timing.

(画像データ生成装置)
そして、本実施形態の孔版印刷装置1は、製版処理や、画像処理、印字制御及び各駆動手段の制御を全般的に行う演算処理部100を備えている。本実施形態において、この演算処理部100は、画像読取部10から出力された画像データに対し、所定の濃度変換処理を施して第1及び第2の製版部30,35にそれぞれ出力する画像データ生成装置としての機能を有している。図2は、本実施形態に係る演算処理部100の画像データ生成処理に関するモジュールを示すブロック図である。なお、説明中で用いられる「モジュール」とは、装置や機器等のハードウェア、或いはその機能を持ったソフトウェア、又はこれらの組み合わせなどによって構成され、所定の動作を達成するための機能単位を示す。
(Image data generator)
The stencil printing apparatus 1 according to this embodiment includes an arithmetic processing unit 100 that generally performs plate making processing, image processing, printing control, and control of each driving unit. In the present embodiment, the arithmetic processing unit 100 performs predetermined density conversion processing on the image data output from the image reading unit 10 and outputs the image data to the first and second plate making units 30 and 35, respectively. It has a function as a generation device. FIG. 2 is a block diagram illustrating modules related to image data generation processing of the arithmetic processing unit 100 according to the present embodiment. The “module” used in the description refers to a functional unit that is configured by hardware such as an apparatus or a device, software having the function, or a combination thereof, and achieves a predetermined operation. .

図2に示すように、演算処理部100は、画像データ生成処理に関するモジュールとして、ジョブデータ受信部101と、操作信号取得部102と、記憶部103と、画像形成制御部110とを備えている。   As shown in FIG. 2, the arithmetic processing unit 100 includes a job data receiving unit 101, an operation signal acquiring unit 102, a storage unit 103, and an image formation control unit 110 as modules relating to image data generation processing. .

ジョブデータ受信部101は、画像読取部10や外部通信インターフェース104を通じて、一連の印刷処理単位であるジョブデータを受信するインターフェースであり、受信したジョブデータに含まれるデータを画像形成制御部110に受け渡すモジュールである。外部通信インターフェース104を通じての通信としては、例えば、10BASE−Tや100BASE−TX等によるイントラネット(企業内ネットワーク)や家庭内ネットワークなどのLANの他、赤外線通信等の近距離通信も含まれる。   The job data receiving unit 101 is an interface that receives job data that is a series of print processing units via the image reading unit 10 or the external communication interface 104, and receives data included in the received job data in the image formation control unit 110. The module to pass. The communication through the external communication interface 104 includes, for example, a short-range communication such as an infrared communication as well as a LAN such as an intranet (in-house network) or a home network based on 10BASE-T or 100BASE-TX.

操作信号取得部102は、操作パネル100aやネットワーク用の外部通信インターフェース104が接続され、操作パネル100aやネットワークの外部機器(例えば、パーソナルコンピュータ等の情報端末)でのユーザー操作を取得して解析した後、演算処理部100内の各モジュールへ入力する外部インターフェースである。なお、ここでのユーザー操作としては、ユーザーが設定した画像モードなどが含まれ、この画像モードには、画像生成処理における写真処理又は文字処理を選択する画像モード切替信号や、製版されたマスタが用いられる印刷処理の対象となる記録媒体の種別(普通紙又は更紙など)の設定情報が含まれる。   The operation signal acquisition unit 102 is connected to the operation panel 100a and a network external communication interface 104, and acquires and analyzes a user operation on the operation panel 100a or an external device of the network (for example, an information terminal such as a personal computer). It is an external interface that is input to each module in the arithmetic processing unit 100 later. Note that the user operation here includes an image mode set by the user, and this image mode includes an image mode switching signal for selecting a photographic process or a character process in the image generation process, and a master that has been made. Setting information of the type of recording medium to be used for printing processing (such as plain paper or additional paper) is included.

記憶部103(請求項中の二値化データ記憶部に相当)は、各種のデータや、プログラムを記憶保持するメモリ装置であり、特に、本実施形態においては、二値化された画像データ、画素密度と間引率の対応関係を示す定義データであるテーブルデータD1(図4(a)参照)、画素密度閾値データ、及び閾値マトリクスデータM1(図4(b)参照)等を記録保持している。これらの記憶データは、後述する画像形成制御部110における各処理において読み出され、参照される。   The storage unit 103 (corresponding to the binarized data storage unit in the claims) is a memory device that stores and holds various data and programs. In particular, in this embodiment, binarized image data, Table data D1 (see FIG. 4A), which is definition data indicating the correspondence relationship between the pixel density and the thinning rate, pixel density threshold data, threshold matrix data M1 (see FIG. 4B), and the like are recorded and held. Yes. These stored data are read out and referred to in each process in the image formation control unit 110 described later.

画像形成制御部110は、画像処理に特化したデジタル信号処理を行う演算処理装置であり、印刷に必要な画像データの変換等を行い、画像形成処理を実行するモジュールである。特に、本実施形態において、画像形成制御部110には、サーマルヘッドユニット31,36の駆動を制御し、製版処理全体を制御する製版制御機構として、写真処理部111と、文字処理部112と、画像選択部113と、画素密度算出部114と、間引率算出部115と、間引処理部116と、画像出力部117とを備えている。   The image formation control unit 110 is an arithmetic processing unit that performs digital signal processing specialized for image processing, and is a module that performs image formation processing by converting image data necessary for printing. In particular, in the present embodiment, the image formation control unit 110 controls the driving of the thermal head units 31 and 36, and as a plate making control mechanism for controlling the entire plate making process, a photo processing unit 111, a character processing unit 112, The image selection unit 113, the pixel density calculation unit 114, the thinning rate calculation unit 115, the thinning processing unit 116, and the image output unit 117 are provided.

写真処理部111は、画像データ内の写真画像に対して写真処理を行うモジュールであり、ガンマ変換処理部111aと、二値化処理部111bとを有している。   The photographic processing unit 111 is a module that performs photographic processing on a photographic image in the image data, and includes a gamma conversion processing unit 111a and a binarization processing unit 111b.

ガンマ変換処理部111aは、画像データ中の各画素の濃度を、ガンマ変換により中間調に適した濃度に変換するモジュールである。   The gamma conversion processing unit 111a is a module that converts the density of each pixel in the image data into a density suitable for a halftone by gamma conversion.

二値化処理部111bは、ガンマ変換された画像データに含まれる写真画像の画素値を二値化するモジュールであり、多値データである各画素の値すなわち原稿の濃度もしくは反射率を、二値化処理部111bの誤差拡散処理部111cにより所定の閾値と比較し、閾値に対する大小によりハーフトーン二値化する。サーマルヘッドの通電をON/OFFするこの二値化されたデータは、画像選択部113に入力される。画像選択部113に入力された二値化データに従いサーマルヘッドの通電をON/OFFしマスターに穿孔を形成する(すなわち、画像をマスターに形成する)。   The binarization processing unit 111b is a module that binarizes pixel values of a photographic image included in gamma-converted image data. The binarization processing unit 111b converts the value of each pixel, that is, multi-value data, that is, the density or reflectance of a document into binary. The error diffusion processing unit 111c of the value processing unit 111b compares it with a predetermined threshold value, and performs halftone binarization according to the magnitude of the threshold value. The binarized data for turning on / off the energization of the thermal head is input to the image selection unit 113. In accordance with the binarized data input to the image selection unit 113, the thermal head is turned on / off to form perforations in the master (that is, to form an image on the master).

文字処理部112は、画像データ内の文字画像に対して文字処理を行うモジュールであり、二値化処理部112aを有している。   The character processing unit 112 is a module that performs character processing on a character image in image data, and includes a binarization processing unit 112a.

二値化処理部112aは、単一の閾値を用いて画像データに含まれる文字部分の画素値を、サーマルヘッドの各発熱素子に対する通電のON/OFFとして二値化するモジュールである。この二値化処理部112aは、多値データである各画素と単一の閾値との比較により、閾値以上であれば通電ONとし、閾値未満であれば通電OFFとして二値化する。この二値化されたデータは、画像選択部113に入力される。画像選択部113に入力された二値化データに従いサーマルヘッドの通電をON/OFFしマスターに穿孔を形成する(すなわち、時間長さで無く画像の濃さをサーマルヘッドの通電ON/OFFに変えて、サーマルヘッドの発熱ON/OFF、ひいてはマスターの穿孔の有無にすることで、画像をマスターに形成する)。   The binarization processing unit 112a is a module that binarizes the pixel value of the character part included in the image data as ON / OFF of energization of each heating element of the thermal head using a single threshold value. This binarization processing unit 112a binarizes by energizing ON if it is greater than or equal to the threshold and comparing energization OFF if less than the threshold, by comparing each pixel that is multi-value data with a single threshold. This binarized data is input to the image selection unit 113. According to the binarized data input to the image selection unit 113, the thermal head energization is turned on / off to form perforations in the master (that is, the darkness of the image is changed to thermal head energization ON / OFF instead of the time length) Then, an image is formed on the master by turning on / off the heat of the thermal head, and by setting whether or not the master is perforated.

画像選択部113は、操作パネル100aでユーザーが設定した画像モードに従い、文字処理もしくは写真処理された画像データを選択し、画素密度算出部114へ入力するモジュールである。また、画像選択部113は、製版されたマスタを用いた印刷処理の対象となる記録媒体の種別を取得し、取得した種別が予め設定された特定の種別である場合に、記憶部103に記憶された画像データを読み出し、読み出された画像データの間引率の算出を間引率算出部115に実行させる機能を備えている。なお、記録媒体の種別は、操作パネル100aでユーザーが設定した画像モードから取得する。また、本実施形態では、この写真処理及び文字処理を並行して行った後、画像選択部113で画像を選択するようにしたが、例えば、写真処理部111及び文字処理部112の上流側に画像選択部113を配置し、二値化処理の前に、写真と文字との選択を行い、画像データの入力先を適宜切り替えるようにしてもよい。   The image selection unit 113 is a module that selects image data subjected to character processing or photo processing according to an image mode set by the user on the operation panel 100 a and inputs the image data to the pixel density calculation unit 114. Further, the image selection unit 113 acquires the type of the recording medium that is a target of the printing process using the master that has been made, and stores the type in the storage unit 103 when the acquired type is a specific type set in advance. A function is provided for reading the read image data and causing the thinning rate calculation unit 115 to calculate the thinning rate of the read image data. The type of the recording medium is acquired from the image mode set by the user on the operation panel 100a. In the present embodiment, the image selection unit 113 selects an image after performing the photo processing and the character processing in parallel. For example, on the upstream side of the photo processing unit 111 and the character processing unit 112. An image selection unit 113 may be arranged to select a photo and a character before the binarization process and appropriately switch the input destination of the image data.

画素密度算出部114は、図3に示すように、注目画素E1を含む所定範囲(参照領域A1)に含まれる画素数を計数し、所定範囲あたりの画素数を、当該注目画素E1に対応する参照領域A1の画素密度として算出するモジュールである。具体的には、二値化された画像データ内の各画素を、注目画素E1として順次選択する。そして、各注目画素E1と、これを中心とする周辺の24個(5×5−1=24個)の画素とを合わせた、参照領域A1内の25画素のうち、黒画素の数をカウントする。このカウントされた画素数(図3の例では、20個)を、参照領域A1内の総画素数(5×5=25個)で除することにより、注目画素E1に対応する画素密度(図3の例では、20/25=0.80)として算出する。この画素密度算出部114で算出された画素密度は、間引率算出部115に入力される。   As shown in FIG. 3, the pixel density calculation unit 114 counts the number of pixels included in a predetermined range (reference region A1) including the target pixel E1, and corresponds the number of pixels per predetermined range to the target pixel E1. This module calculates the pixel density of the reference area A1. Specifically, each pixel in the binarized image data is sequentially selected as the target pixel E1. Then, the number of black pixels is counted out of 25 pixels in the reference area A1 including each pixel of interest E1 and 24 (5 × 5-1 = 24) pixels around the pixel of interest E1. To do. By dividing the counted number of pixels (20 in the example of FIG. 3) by the total number of pixels in the reference area A1 (5 × 5 = 25), the pixel density (see FIG. In the example of 3, it is calculated as 20/25 = 0.80). The pixel density calculated by the pixel density calculation unit 114 is input to the thinning rate calculation unit 115.

なお、画素密度算出部114は、画像データに含まれる文字のサイズや書体、文字飾りの種類などに応じて、参照領域A1の面積又は形状を変更する機能を有する。詳述すると、画素密度算出部114は、参照領域A1のデフォルトの面積及び形状として、正方形状の画素数5×5の領域とするが、文字のサイズや書体、文字飾りの種類など、ジョブデータに含まれる画像データに関する情報を抽出し、参照領域A1の面積又は形状を変更する。なお、ここでの画像データに関する情報は、ジョブデータに含まれる処理文字サイズ選択信号から取得される。   Note that the pixel density calculation unit 114 has a function of changing the area or shape of the reference area A1 according to the size, typeface, and type of character decoration included in the image data. More specifically, the pixel density calculation unit 114 uses a square area of 5 × 5 as the default area and shape of the reference area A1, but job data such as character size, typeface, character decoration type, etc. Is extracted, and the area or shape of the reference area A1 is changed. Note that the information related to the image data here is acquired from a processed character size selection signal included in the job data.

このような参照領域A1の面積又は形状を変更する機能により、例えば、白画素部分が少なく潰れやすい傾向がある、10ポイントのボールドゴシック書体の場合などには、参照領域A1を7×7に変更し、画素密度を求める。これにより、白画素部分の参照領域A1に対する割合を小さく評価し、その部分の画素密度を高くし、ベタ部分と同様に間引率を下げるようにしている。   By such a function of changing the area or shape of the reference area A1, the reference area A1 is changed to 7 × 7 in the case of a 10-point bold Gothic typeface that tends to be crushed with few white pixel portions, for example. Then, the pixel density is obtained. Accordingly, the ratio of the white pixel portion to the reference area A1 is evaluated to be small, the pixel density of the portion is increased, and the thinning rate is decreased in the same manner as the solid portion.

前記間引率算出部115は、画素密度算出部114により計数された画素密度に基づいて、記憶部103のテーブルデータD1を参照し、対応する注目画素E1に対する間引率を算出するモジュールである。このテーブルデータD1は、本実施形態では、図4(a)に示すようなグラフで画素密度と間引率の対応関係を表すことができるデータであり、そのグラフの形状で、画素密度に対する間引率を自由に設定することができる。   The decimation rate calculation unit 115 is a module that refers to the table data D1 of the storage unit 103 based on the pixel density counted by the pixel density calculation unit 114 and calculates a decimation rate for the corresponding target pixel E1. In the present embodiment, the table data D1 is data that can represent the correspondence between the pixel density and the thinning rate with a graph as shown in FIG. 4A, and the thinning rate with respect to the pixel density in the shape of the graph. Can be set freely.

本実施形態でのテーブルデータD1における画素密度と間引率の関係は、所定の閾値(画素密度閾値T1)以上の画素密度における間引率が、100%未満の特定上限値(図4(a)の例では50%)となるように設定されているとともに、画素密度閾値T1(図4(a)の例では0.36=画素密度36%)よりも高い画素密度の範囲では、画素密度の増加に比例して間引率が低減するように間引率が設定されている。具体的に、ここでのテーブルデータD1は、画素密度が0〜36%のとき、ほぼ一律に間引率を50%とし、画素密度が36%より高い領域については、画素密度が100%に近づくにつれて間引率が0%に近づくように低下させている。これにより、画素密度が高いベタ部分などについては間引率が下げられ、画素密度が低い余白部分などは、間引率が上げられる。   The relationship between the pixel density and the thinning rate in the table data D1 in the present embodiment is such that the thinning rate at a pixel density equal to or higher than a predetermined threshold (pixel density threshold T1) is less than 100% (see FIG. 4A). In the example, the pixel density is set to be 50%), and the pixel density is increased in the pixel density range higher than the pixel density threshold T1 (0.36 = pixel density 36% in the example of FIG. 4A). The decimation rate is set so that the decimation rate is reduced in proportion to. Specifically, in the table data D1 here, when the pixel density is 0 to 36%, the thinning rate is almost uniformly set to 50%, and in a region where the pixel density is higher than 36%, the pixel density approaches 100%. The thinning rate is lowered as it approaches 0%. As a result, the thinning rate is reduced for a solid portion having a high pixel density, and the thinning rate is increased for a blank portion having a low pixel density.

そして、この間引率算出部115は、画素毎に算出された各画素の間引率を、座標情報と関連付けた配列データとして間引処理部116に入力する。間引処理部116は、間引率に応じたパターンに従って、各画素の濃度を低減させる間引処理を実行するモジュールである。間引処理の際に間引処理部116は、記憶部103に記憶された閾値マトリクスデータM1を用いる。   The thinning rate calculation unit 115 inputs the thinning rate calculated for each pixel to the thinning processing unit 116 as array data associated with the coordinate information. The thinning processing unit 116 is a module that executes thinning processing for reducing the density of each pixel according to a pattern corresponding to the thinning rate. In the thinning process, the thinning processing unit 116 uses the threshold matrix data M1 stored in the storage unit 103.

閾値マトリクスデータM1は、図4(b)に示すような4×4の16画素を単位パターンとし、これを繰り返すことにより全画素について間引率の閾値を定義するフィルタである。閾値マトリクスデータM1には、間引の対象となる画素が偏らないように、値の高い閾値と低い閾値とがベイヤー配列状に配置されている。   The threshold value matrix data M1 is a filter that defines 4 × 4 16 pixels as shown in FIG. 4B as a unit pattern and repeats this to define a thinning rate threshold value for all pixels. In the threshold value matrix data M1, high threshold values and low threshold values are arranged in a Bayer array so that pixels to be thinned out are not biased.

間引処理部116は、ジョブデータに含まれる画像データから4×4の16画素を重複しないように順次選択する。そして、各4×4の16画素について、閾値マトリクスデータM1を適用して間引き処理を行う。具体的に、選択した16画素の間引率算出部115が算出した各間引率と、閾値マトリクスデータM1の対応する画素箇所にそれぞれ定義された閾値とを比較する。比較の結果、図5に示すように、各画素について間引率が閾値を上回る場合は、その画素を白画素に置換して間引き、間引率が閾値以下である場合は、その画素については間引きを行わない。なお、図5では、間引かれる画素を白で、間引かれない画素をハッチングで示している。   The thinning processing unit 116 sequentially selects 4 × 4 16 pixels so as not to overlap from the image data included in the job data. Then, the thinning process is performed on each 4 × 4 16 pixels by applying the threshold matrix data M1. Specifically, each thinning rate calculated by the selected 16 pixel thinning rate calculation unit 115 is compared with the threshold value defined in each corresponding pixel location of the threshold matrix data M1. As a result of the comparison, as shown in FIG. 5, when the thinning rate exceeds a threshold value for each pixel, the pixel is replaced with a white pixel, and when the thinning rate is equal to or less than the threshold value, thinning is performed for the pixel. Not performed. In FIG. 5, pixels to be thinned out are indicated by white, and pixels not to be thinned are indicated by hatching.

特に、本実施形態において閾値マトリクスデータM1は、テーブルデータD1の特定上限値(50%)のときの間引パターンが、図5(a)に示すような1画素置きの市松模様状となるように構成されている。すなわち、閾値マトリクスデータM1内の各閾値のうち、50%以上の閾値が、x軸方向及びy軸方向において交互に一画素置きとなるように配置されている。これにより、間引率が最大となる場合であっても、画素が偏ることなく満遍なく間引かれることとなる。   In particular, in the present embodiment, the threshold value matrix data M1 is such that the thinning pattern when the specific upper limit value (50%) of the table data D1 is in a checkered pattern every other pixel as shown in FIG. It is configured. That is, of the threshold values in the threshold matrix data M1, 50% or more threshold values are arranged alternately every other pixel in the x-axis direction and the y-axis direction. As a result, even if the thinning rate is maximized, the pixels are thinned out uniformly without being biased.

また、上述したようにテーブルデータD1における画素密度と間引率の関係が、画素密度閾値T1よりも高い画素密度の範囲では、画素密度の増加に比例して間引率が低減するように間引率が設定されている。このため、画素密度が画素密度閾値T1(36%)以上になるにつれて、間引率は、20%(画素密度50%のとき)まで急激に下がり、以後、画素密度が50%よりも高くなるにつれて、低下する度合いを徐々に減らしながら、20%から0%まで低下して行く。それに伴い、閾値マトリクスデータM1による間引パターンが変化していく。例えば、間引率が35%になると図5(b)に示すパターンに間引きパターンが変わり、間引率が25%になると図5(c)に示すパターンに間引きパターンが変わる。さらに、間引率が10%に下がると、間引きパターンが図5(d)に示すパターンに変化する。そして、画素密度が100%に近づくにつれて間引率が0%に近づき、画素密度が100%近辺では間引率0%となって間引かれなくなる。   Further, as described above, in the range of the pixel density where the relationship between the pixel density and the thinning rate in the table data D1 is higher than the pixel density threshold T1, the thinning rate is reduced so that the thinning rate decreases in proportion to the increase in the pixel density. Is set. For this reason, as the pixel density becomes equal to or higher than the pixel density threshold T1 (36%), the thinning rate rapidly decreases to 20% (when the pixel density is 50%), and thereafter, as the pixel density becomes higher than 50%. It gradually decreases from 20% to 0% while gradually decreasing the degree of decrease. Accordingly, the thinning pattern based on the threshold matrix data M1 changes. For example, when the thinning rate becomes 35%, the thinning pattern changes to the pattern shown in FIG. 5B, and when the thinning rate becomes 25%, the thinning pattern changes to the pattern shown in FIG. Furthermore, when the thinning rate decreases to 10%, the thinning pattern changes to the pattern shown in FIG. Then, as the pixel density approaches 100%, the thinning rate approaches 0%, and when the pixel density is near 100%, the thinning rate becomes 0% and is not thinned out.

画像出力部117は、画像データに基づいて、サーマルヘッドユニット31,36や各駆動機構を制御し、製版機構全体を制御するモジュールである。本実施形態における画像出力部117は、ジョブデータ受信部101で受信されたジョブデータに含まれる画像データを直接製版するモードと、間引処理部116によって間引き処理された画像データにより製版するモードとを有しており、これらのモードは、ユーザーの選択、又は製版されたマスタによる印刷処理の対象となる記録媒体の種別に応じて自動的に選択され、各モードにおける画像データに基づいて製版を行う。   The image output unit 117 is a module that controls the thermal head units 31 and 36 and each drive mechanism based on the image data, and controls the entire plate making mechanism. The image output unit 117 according to the present embodiment is a mode for directly making image data included in job data received by the job data receiving unit 101, and a mode for making plate making using image data thinned by the thinning processing unit 116. These modes are automatically selected according to the type of recording medium to be subjected to printing processing by the user or the master made by the plate making, and the plate making is performed based on the image data in each mode. Do.

(画像データ生成方法)
以上の構成を有する画像データ生成装置を動作させることによって、本発明の画像データ生成方法を実施することができる。図6は、本実施形態に係る画像データ生成方法の概要を示すフローチャート図である。
(Image data generation method)
The image data generation method of the present invention can be implemented by operating the image data generation apparatus having the above configuration. FIG. 6 is a flowchart showing an overview of the image data generation method according to the present embodiment.

先ず、製版処理が実行されると、ジョブデータ受信部101がジョブデータを受信し、受信したジョブデータに含まれる画像データを画像形成制御部110に入力する(ステップS101)。画像形成制御部110では、画像データ内の写真画像に対する写真処理と、文字画像に対する文字処理とを並行して行う。具体的に、写真処理では、ガンマ変換処理部111aでのガンマ変換により中間調に適した濃度に変換され(ステップS102)、二値化処理部111bによる二値化処理(ステップS103)の後、誤差拡散処理部111cによって誤差拡散のハーフトーン処理が行われる(ステップS104)。一方、文字処理では、単一閾値による二値化を行う(ステップS105)。   First, when the plate making process is executed, the job data receiving unit 101 receives the job data, and inputs the image data included in the received job data to the image forming control unit 110 (step S101). The image formation control unit 110 performs photographic processing on a photographic image in image data and character processing on a character image in parallel. Specifically, in the photographic process, the density is converted to a density suitable for halftone by gamma conversion in the gamma conversion processing unit 111a (step S102), and after the binarization processing (step S103) by the binarization processing unit 111b, Error diffusion halftone processing is performed by the error diffusion processing unit 111c (step S104). On the other hand, in character processing, binarization is performed using a single threshold (step S105).

次いで、画像選択部113において、操作パネル100aでユーザーが設定した画像モードに従い、文字処理もしくは写真処理された画像データを選択し、画素密度算出部114へ入力する(ステップS106)。また、このステップS106において画像選択部113は、製版されたマスタを用いた印刷処理の対象となる記録媒体の種別を取得し、取得した種別が予め設定された特定の種別である場合に、記憶部103に記憶された画像データを読み出し、読み出された画像データを間引率算出部115に入力する。なお、ここでの記録媒体の種別は、操作パネル100aでユーザーが設定した画像モードから取得する。   Next, the image selection unit 113 selects image data that has been subjected to character processing or photo processing according to the image mode set by the user on the operation panel 100a, and inputs the selected image data to the pixel density calculation unit 114 (step S106). In step S106, the image selection unit 113 acquires the type of the recording medium that is the target of the printing process using the master that has been made, and stores the acquired type when the acquired type is a specific type set in advance. The image data stored in the unit 103 is read, and the read image data is input to the thinning rate calculation unit 115. Note that the type of the recording medium here is acquired from the image mode set by the user on the operation panel 100a.

画素密度算出部114では、入力された画像データから注目画素E1を含む所定範囲の参照領域A1に含まれる複数の画素のうち黒画素の数を計数し、当該注目画素E1の画素密度を算出する(ステップS107)。具体的に、画素密度算出部114は、各二値化処理部111b又は112aが二値化した画像データ内の画素を注目画素E1として順次選択し、当該注目画素E1を中心とする参照領域A1内の画素のうち、サーマルヘッドの発熱素子に対する通電がONとなっている黒画素の数をカウントする。このカウントされた画素数を、参照領域A1内の総画素数(5×5=25)で除することにより、単位面積あたりの画素数を画素密度として算出する。   The pixel density calculation unit 114 calculates the pixel density of the target pixel E1 by counting the number of black pixels among the plurality of pixels included in the reference area A1 including the target pixel E1 from the input image data. (Step S107). Specifically, the pixel density calculation unit 114 sequentially selects the pixels in the image data binarized by each binarization processing unit 111b or 112a as the target pixel E1, and the reference region A1 centered on the target pixel E1. Among these pixels, the number of black pixels in which energization to the heat generating element of the thermal head is ON is counted. By dividing the counted number of pixels by the total number of pixels in the reference area A1 (5 × 5 = 25), the number of pixels per unit area is calculated as the pixel density.

なお、ステップS107において、画素密度算出部114は、画像データに含まれる文字のサイズや書体、文字飾りの種類などに応じて、参照領域A1の面積又は形状を変更する。詳述すると、画素密度算出部114は、参照領域A1のデフォルトの面積及び形状として、正方形状の画素数5×5の領域とするが、文字のサイズや書体、文字飾りの種類など、ジョブデータに含まれる画像データの内容に関する情報を抽出し、参照領域A1の面積又は形状を変更する。   In step S107, the pixel density calculation unit 114 changes the area or shape of the reference area A1 according to the character size, typeface, character decoration type, and the like included in the image data. More specifically, the pixel density calculation unit 114 uses a square area of 5 × 5 as the default area and shape of the reference area A1, but job data such as character size, typeface, character decoration type, etc. The information regarding the content of the image data contained in is extracted, and the area or shape of the reference area A1 is changed.

このように画素密度算出部114で算出された画素密度は、各画素の座標情報と関連付けられた配列データの形式で、間引率算出部115に入力される。なお、本実施形態では、ループ処理により、各画素について上記ステップS107の処理を実行し、全ての画素について画素密度の算出が終了した後、次のステップS108へ移行する。   Thus, the pixel density calculated by the pixel density calculation unit 114 is input to the thinning rate calculation unit 115 in the form of array data associated with the coordinate information of each pixel. In the present embodiment, the process of step S107 is executed for each pixel by a loop process, and after calculation of the pixel density is completed for all pixels, the process proceeds to the next step S108.

ステップS108では、各画素の画素密度に基づき、記憶部103に記憶されたテーブルデータD1を参照し、各画素に対する間引率を算出する。このテーブルデータD1は、本実施形態では、画素密度が高いベタ部分などについては間引率を下げてほぼ0とし、画素密度が低くなるにつれて間引率が高くなるようになっている。但し、画素密度が低い余白部分など、画素密度が0〜36%の部分では、一律に間引率を50%としている。   In step S108, based on the pixel density of each pixel, the table data D1 stored in the storage unit 103 is referred to calculate a thinning rate for each pixel. In this embodiment, the table data D1 is such that the thinning rate is lowered to almost 0 for a solid portion having a high pixel density, and the thinning rate is increased as the pixel density is lowered. However, in a portion where the pixel density is 0 to 36%, such as a blank portion where the pixel density is low, the thinning rate is uniformly set to 50%.

そして、間引率算出部115は、算出した間引率を、各画素の座標情報と関連付けた配列データとして間引処理部116に入力する。間引処理部116では、間引率算出部115で算出された間引率に応じたパターンに従って画素の間引処理を実行する(ステップS109)。具体的には、間引処理部116において、閾値マトリクスデータM1を用い、間引率算出部115が算出した各画素の間引率と各画素の座標に対応するマトリクス内の閾値とを比較し、その大小関係から、所定の間引率以下の画素については、白画素に置換する。   Then, the thinning rate calculation unit 115 inputs the calculated thinning rate to the thinning processing unit 116 as array data associated with the coordinate information of each pixel. The thinning processing unit 116 performs pixel thinning processing according to a pattern corresponding to the thinning rate calculated by the thinning rate calculation unit 115 (step S109). Specifically, the thinning processing unit 116 uses the threshold value matrix data M1, compares the thinning rate of each pixel calculated by the thinning rate calculation unit 115 with the threshold value in the matrix corresponding to the coordinates of each pixel, and Due to the magnitude relationship, pixels below a predetermined thinning rate are replaced with white pixels.

その後、画像出力部117は、この間引処理された画像データに基づいてサーマルヘッドユニット31,36の駆動を制御し、間引処理部116によって間引き処理された画像データに対応させたマスタを生成し、画像を形成する(ステップS110)。   Thereafter, the image output unit 117 controls the driving of the thermal head units 31 and 36 based on the thinned image data, and generates a master corresponding to the image data thinned by the thinning processing unit 116. Then, an image is formed (step S110).

(作用効果)
以上説明した本実施形態によれば、注目画素E1に対応する参照領域A1の画素密度に基づいて各画素(各注目画素)の間引率を算出するため、注目画素E1とその周辺における画素密度の関係から、例えば、その注目画素E1がベタ部分であるのか細字部分であるのか、を判断したうえで、間引の程度を決定することができる。これにより、ベタ部分の濃度を低下させることなく、細字部分を確実に間引くことができ、文字部分の潰れを解消しつつ文字等の再現性を向上させることができる。
(Function and effect)
According to the present embodiment described above, since the thinning rate of each pixel (each target pixel) is calculated based on the pixel density of the reference area A1 corresponding to the target pixel E1, the pixel density of the target pixel E1 and its surroundings is calculated. From the relationship, for example, it is possible to determine the degree of thinning after determining whether the target pixel E1 is a solid portion or a thin portion. Accordingly, the thin character portion can be surely thinned out without reducing the density of the solid portion, and the reproducibility of characters and the like can be improved while eliminating the collapse of the character portion.

特に、本実施形態では、印刷処理の対象となる記録媒体の種別に応じて、間引処理を実行することから、更紙やケナフ紙などのインク滲みしやすい記録媒体向けの画像データを生成するときにのみ上記間引処理を行うことができ、記録媒体の特性に合致した画像データを生成することができる。詳述すると、従来では、図8(a)に示すような画像データ(デジタルデータ)を、更紙やケナフ紙などのインク滲みしやすい記録媒体に、6ポイント程度の文字サイズで印刷する場合、同図(b)に示すように、画数の多い文字の細字部分が滲んで、文字潰れが生じ、細字の再現性が低下する。これに対し、本実施形態によれば、図7(a)に示すような、上記間引処理により生成された画像データを更紙やケナフ紙などに、6ポイント程度の文字サイズで印刷する場合であっても、同図(b)に示すように、文字潰れが改善され、細字の再現性が向上する。   In particular, in the present embodiment, since thinning processing is executed in accordance with the type of recording medium to be printed, image data for a recording medium that is likely to bleed ink such as renewal paper or kenaf paper is generated. Only when the above thinning process can be performed, image data matching the characteristics of the recording medium can be generated. More specifically, conventionally, when image data (digital data) as shown in FIG. 8A is printed on a recording medium that is likely to bleed ink, such as renewal paper or kenaf paper, with a character size of about 6 points, As shown in FIG. 5B, the thin character portion of a character having a large number of strokes blurs, resulting in character collapse, and the reproducibility of the thin character is lowered. On the other hand, according to the present embodiment, as shown in FIG. 7A, the image data generated by the thinning-out process is printed on a reprint or kenaf paper with a character size of about 6 points. Even so, as shown in FIG. 5B, the character collapse is improved and the reproducibility of the fine characters is improved.

また、参照領域A1が所定数の画素を含むため、参照領域A1の画素密度に基づいて間引率を決定することによって、例えば、参照領域A1が余白部分からベタ部分に差し掛かる箇所など、画素密度が低い箇所では、その画素密度に応じたある程度の間引率で間引を行い、参照領域A1がベタ部分の輪郭からベタ部分内に移行し、画素密度が高くなるにつれて間引率を段階的に下げていくなど、注目画素E1とその周辺画素の分布の変化に応じて間引率を変化させることができる。この結果、ベタ部分の輪郭などでも急激な濃度変化を生じることがなく、滑らかに間引くことができる。   In addition, since the reference area A1 includes a predetermined number of pixels, by determining the thinning rate based on the pixel density of the reference area A1, for example, the pixel density such as a place where the reference area A1 approaches the solid part from the blank part. In a part where the pixel density is low, thinning is performed at a certain thinning rate according to the pixel density, and the reference area A1 shifts from the outline of the solid part into the solid part, and the thinning rate is lowered step by step as the pixel density increases. The decimation rate can be changed according to the change in the distribution of the pixel of interest E1 and its surrounding pixels. As a result, a sharp density change does not occur even in the outline of a solid portion, and the like can be thinned out smoothly.

さらに、上記発明では、画像データを二値化した後に間引率の解析を行うことから、演算処理の対象となるデータ量を軽減することができ、演算処理の負担軽減及び高速化が図れるとともに、演算処理装置やメモリ装置の小型化及び低廉化も可能となる。   Furthermore, in the above invention, since the analysis of the thinning rate is performed after binarizing the image data, the amount of data that is the target of the arithmetic processing can be reduced, and the burden on the arithmetic processing can be reduced and the speed can be increased. It is possible to reduce the size and cost of the arithmetic processing device and the memory device.

なお、上記実施形態において、画素密度算出部114は、参照領域A1の面積又は形状を変更する機能を有するため、画像データに含まれる文字のサイズや書体、文字飾りの種類などに応じて参照領域A1の面積や形状を変更することができる。これにより、本実施形態によれば、注目画素E1とその周辺における画素密度の関係をより正確に判断することができ、間引処理の精度を向上させることができる。   In the above embodiment, since the pixel density calculation unit 114 has a function of changing the area or shape of the reference area A1, the reference area depends on the size, typeface, type of character decoration, and the like included in the image data. The area and shape of A1 can be changed. Thereby, according to this embodiment, the relationship between the pixel of interest E1 and the pixel density in the vicinity thereof can be determined more accurately, and the accuracy of the thinning process can be improved.

また、本実施形態において、テーブルデータD1の画素密度と間引率との関係は、所定の閾値よりも高い画素密度の範囲では、画素密度に略反比例するように間引率が設定するとともに、前記所定の閾値における間引率が、100%未満の特定上限値となるように設定されている。このため、例えば、ベタ部分などの画素密度が高い箇所では、画素密度に略反比例するように間引率を設定することによって、濃度が高くなるほど間引かれ難くし、細字部分などの画素密度が低い箇所では、その間引率に100%未満の上限を設けることによって、文字のカスレを生じさせることなく適度に間引くことができ、文字部分の潰れを解消して、文字等の再現性をより向上させることができる。   In the present embodiment, the relationship between the pixel density of the table data D1 and the thinning rate is set so that the thinning rate is approximately inversely proportional to the pixel density in the range of pixel density higher than a predetermined threshold. The decimation rate at the threshold is set to a specific upper limit value of less than 100%. For this reason, for example, in a portion where the pixel density is high such as a solid portion, the thinning rate is set so as to be approximately inversely proportional to the pixel density. In places, by setting an upper limit of less than 100% for the thinning rate, it is possible to thin out characters appropriately without causing blurring of characters, to eliminate crushing of character parts, and to improve the reproducibility of characters and the like. Can do.

さらに、本実施形態において、テーブルデータD1では、特定上限値を50%とし、間引処理部116は、特定上限値における間引パターンを、1画素置きの市松模様状としている。これにより、参照領域A1が、間引率が最大となる画素密度のような箇所に位置する場合であっても、細字のカスレが目視できない程度に適度に間引くことができる。   Furthermore, in the present embodiment, in the table data D1, the specific upper limit value is 50%, and the thinning processing unit 116 has a thinning pattern at the specific upper limit value in a checkered pattern every other pixel. As a result, even if the reference area A1 is located at a location such as the pixel density where the thinning rate is maximized, the thinning of the thin characters can be thinned out to an appropriate degree.

また、本実施形態では、例えば普通紙向けの画像データを生成する際に二値化した画像データを記憶部103に記憶しておき、この二値化された画像データを、印刷処理の対象となる記録媒体の種別に応じて、記憶部103から読み出して間引処理の演算に用いる。二値化データのデータ量は、通常の多値データよりも小さいため、記憶領域を低減することができ、メモリ装置の小型化及び低廉化を図ることができる。   In the present embodiment, for example, image data binarized when generating image data for plain paper is stored in the storage unit 103, and the binarized image data is set as a print processing target. Depending on the type of the recording medium, the data is read from the storage unit 103 and used for the thinning process. Since the amount of binarized data is smaller than that of normal multilevel data, the storage area can be reduced, and the memory device can be reduced in size and cost.

換言すると、二値化された画像データは、一般的な普通紙向けの画像データそのものであることから、記録媒体が普通紙などの間引処理が不要な種別であるときには、その二値化された画像データを一般的な印刷処理やマスタ製版処理に利用した後、間引処理を行うことなく、記憶部103に保存しておき、記録媒体が更紙やケナフ紙などの間引処理が必要な種別であるときに、保存しておいた画像データを読み出して、改めて間引処理を行う。この結果、メモリ装置の小型化及び低廉化のみならず、二値化された画像データの再利用により、再度、二値化のための演算処理をする必要がなく、演算処理の負担軽減及び高速化が図れる。   In other words, since the binarized image data is image data itself for general plain paper, when the recording medium is a type that does not require thinning processing such as plain paper, the binarized image data is binarized. After the image data is used for general printing processing and master plate making processing, it is stored in the storage unit 103 without performing thinning processing, and the recording medium needs thinning processing such as renewal paper or kenaf paper. When the image type is different, the stored image data is read out and the thinning process is performed again. As a result, not only the memory device is reduced in size and cost, but also by reusing binarized image data, there is no need to perform arithmetic processing for binarization again, reducing the burden of arithmetic processing and increasing the speed. Can be achieved.

これらの結果、本実施形態によれば、孔版印刷装置における製版用画像データの生成に際し、画像の間引処理を実行する箇所を適切に選択することにより、文字の細線部分については間引処理を確実に行い文字部分の潰れを解消するとともに、画像の低濃度領域部分については、間引処理をしないことで、文字の再現性の向上を図ることができる。また、更紙やケナフ紙などの記録媒体に対するインク滲みを低減することができ、環境負荷の低い用紙の利用機会を増大させることができる。   As a result, according to the present embodiment, when the image data for plate making in the stencil printing apparatus is generated, the thinning portion of the character is thinned out by appropriately selecting the place where the image thinning processing is executed. While surely eliminating the collapse of the character portion, the reproducibility of the character can be improved by not performing the thinning process for the low density region portion of the image. In addition, ink bleeding with respect to a recording medium such as a reprint paper or a kenaf paper can be reduced, and opportunities for using paper with a low environmental load can be increased.

なお、本実施形態では、本発明を孔版印刷装置における製版用の画像データの生成に適用した場合について説明したが、本発明はこれに限定されるものではなく、本発明は、この他、例えば、インクジェットプリンタ、レーザープリンタ、感熱式記録装置や熱転写記録装置など、画像データに基づいて記録媒体に印刷を行う全ての装置に適用することができる。   In the present embodiment, the case where the present invention is applied to generation of image data for plate making in a stencil printing apparatus has been described. However, the present invention is not limited to this, and the present invention is not limited thereto. The present invention can be applied to all apparatuses that print on a recording medium based on image data, such as an inkjet printer, a laser printer, a thermal recording apparatus, and a thermal transfer recording apparatus.

1 孔版印刷装置
10 画像読取部
20 給紙部
21 給紙台
22 1次給紙ローラ
23 2次給紙ローラ
30 第1の製版部
31 サーマルヘッドユニット
33 感熱孔版原紙
35 第2の製版部
36 サーマルヘッドユニット
40 第1の印刷部
41 第1の印刷ドラム
42 第1のプレスローラ
43 第1の剥取爪
44 湾曲搬送部
45 プーリー
46 中間ストック部
47 ピックアップローラ
48 タイミングローラ
50 画素密度
50 第2の印刷部
51 第2の印刷ドラム
52 第2のプレスローラ
53 第2の剥取爪
70 排紙部
71 排紙台
72 ベルト部
100 演算処理部
100a 操作パネル
101 ジョブデータ受信部
102 操作信号取得部
103 記憶部
104 外部通信インターフェース
110 画像形成制御部
111 写真処理部
111a ガンマ変換処理部
111b 二値化処理部
111c 誤差拡散処理部
112 文字処理部
112a 二値化処理部
113 画像選択部
114 画素密度算出部
115 間引率算出部
116 間引処理部
117 画像出力部
A1 参照領域
D1 テーブルデータ
E1 注目画素
M1 閾値マトリクスデータ
P1 印刷用紙
P2 片面印刷済印刷用紙
P3 両面印刷済印刷用紙
T1 画素密度閾値
DESCRIPTION OF SYMBOLS 1 Stencil printing apparatus 10 Image reading part 20 Paper feed part 21 Paper feed stand 22 Primary paper feed roller 23 Secondary paper feed roller 30 First plate making part 31 Thermal head unit 33 Heat-sensitive stencil sheet 35 Second plate making part 36 Thermal Head unit 40 First printing unit 41 First printing drum 42 First press roller 43 First peeling claw 44 Curved conveyance unit 45 Pulley 46 Intermediate stock unit 47 Pickup roller 48 Timing roller 50 Pixel density 50 Second Printing section 51 Second printing drum 52 Second press roller 53 Second stripping claw 70 Paper discharge section 71 Paper discharge stand 72 Belt section 100 Arithmetic processing section 100a Operation panel 101 Job data reception section 102 Operation signal acquisition section 103 Storage unit 104 External communication interface 110 Image formation control unit 111 Photo processing unit 11a gamma conversion processing unit 111b binarization processing unit 111c error diffusion processing unit 112 character processing unit 112a binarization processing unit 113 image selection unit 114 pixel density calculation unit 115 decimation rate calculation unit 116 decimation processing unit 117 image output unit A1 Reference area D1 Table data E1 Pixel of interest M1 Threshold matrix data P1 Printing paper P2 Single-sided printing paper P3 Double-sided printing paper T1 Pixel density threshold

Claims (6)

印刷装置において記録媒体上に記録される画像を表す画像データを生成する画像データ生成装置であって、
入力された画像データを二値化する二値化処理部と、
二値化された画像データ中の画素を注目画素として順次選択し、前記注目画素を中心とする所定範囲の参照領域に含まれる複数の画素のうち黒画素の画素数を計数して、該黒画素の画素数から、前記注目画素に対応する前記参照領域の画素密度を算出する画素密度算出部と、
前記画素密度算出部により算出された画素密度に基づいて、前記参照領域の画素密度と間引率の対応関係を示す定義データを参照し、各画素に対する間引率を算出する間引率算出部と、
前記間引率に応じたパターンに従って、各画素の濃度を低減させる間引処理を実行する間引処理部とを備え、
前記定義データには、前記参照領域の前記注目画素に対する周辺画素の配列方向において、所定の閾値よりも高い画素密度の範囲では、画素密度が増加するほど間引率が低減し、かつ、前記所定の閾値以下の画素密度の範囲よりも間引率が低くなるように、前記画素密度と間引率の関係が定義されている、
ことを特徴とする画像データ生成装置。
An image data generation device that generates image data representing an image recorded on a recording medium in a printing device,
A binarization processing unit that binarizes the input image data;
A pixel in the binarized image data is sequentially selected as a target pixel, and the number of black pixels is counted among a plurality of pixels included in a reference area in a predetermined range centered on the target pixel. A pixel density calculation unit that calculates the pixel density of the reference region corresponding to the target pixel from the number of pixels;
Based on the pixel density calculated by the pixel density calculation unit, with reference to definition data indicating a correspondence relationship between the pixel density of the reference region and the thinning rate, a thinning rate calculation unit that calculates a thinning rate for each pixel;
A thinning processing unit for performing a thinning process for reducing the density of each pixel according to the pattern according to the thinning rate;
Wherein the definition data, in the direction of arrangement of peripheral pixels for the target pixel of the reference region, in the range of higher pixel density than Jo Tokoro threshold, then reduced during discount rate higher pixel density increases, and the predetermined The relationship between the pixel density and the thinning rate is defined such that the thinning rate is lower than the pixel density range below the threshold value of
An image data generation apparatus characterized by the above.
前記画素密度算出部は、前記画像データの内容に基づいて前記参照領域の面積又は形状を変更する機能を有することを特徴とする請求項1に記載の画像データ生成装置。   The image data generation apparatus according to claim 1, wherein the pixel density calculation unit has a function of changing an area or a shape of the reference region based on the content of the image data. 前記定義データでは、前記所定の閾値以下の画素密度における間引率が100%未満の特定上限値に定義されていることを特徴とする請求項1又は2に記載の画像データ生成装置。   3. The image data generation apparatus according to claim 1, wherein the definition data defines a thinning rate at a pixel density equal to or less than the predetermined threshold as a specific upper limit value of less than 100%. 前記特定上限値が50%であり、前記間引処理部は、前記特定上限値の間引率に応じた前記パターンを、1画素置きの市松模様状とすることを特徴とする請求項3に記載の画像データ生成装置。   The said specific upper limit is 50%, The said thinning-out process part makes the said pattern according to the thinning-out rate of the said specific upper limit into the checkered pattern shape every other pixel. Image data generation apparatus. 前記二値化処理部で二値化された画像データを記憶する二値化データ記憶部と、前記記録媒体の種別を取得し、取得した種別が予め設定された特定の種別である場合に、前記二値化データ記憶部に記憶された画像データを読み出し、読み出された画像データの間引率の算出を前記間引率算出部に実行させる画像選択部とをさらに備えることを特徴とする請求項1、2、3又は4に記載の画像データ生成装置。   When the binarized data storage unit that stores the image data binarized by the binarization processing unit and the type of the recording medium are acquired, and the acquired type is a specific type set in advance, The image selection unit further comprising: an image selection unit that reads out image data stored in the binarized data storage unit and causes the thinning-out rate calculation unit to calculate a thinning-out rate of the read image data. The image data generation device according to 1, 2, 3, or 4. 印刷装置において記録媒体上に記録される画像を表す画像データを生成する画像データ生成方法であって、
入力された画像データを二値化する二値化処理ステップと、
二値化された画像データ中の画素を注目画素として順次選択し、前記注目画素を中心とする所定範囲の参照領域に含まれる複数の画素のうち黒画素の画素数を計数して、該黒画素の画素数から、前記注目画素に対応する前記参照領域の画素密度を算出する画素密度算出ステップと、
前記参照領域の前記注目画素に対する周辺画素の配列方向において、所定の閾値よりも高い画素密度の範囲では、画素密度が増加するほど間引率が低減し、かつ、前記所定の閾値以下の画素密度の範囲よりも間引率が低くなるように、前記参照領域の画素密度と間引率の対応関係を定義した定義データを参照して、前記画素密度算出ステップで算出した画素密度に基づき各画素に対する間引率を算出する間引率算出ステップと、
前記間引率算出ステップで算出した間引率に応じたパターンに従って、各画素の濃度を低減させる間引処理を実行する間引処理ステップと、
を含むことを特徴とする画像データ生成方法。
An image data generation method for generating image data representing an image recorded on a recording medium in a printing apparatus,
A binarization processing step for binarizing the input image data;
A pixel in the binarized image data is sequentially selected as a target pixel, and the number of black pixels is counted among a plurality of pixels included in a reference area in a predetermined range centered on the target pixel. A pixel density calculating step of calculating a pixel density of the reference area corresponding to the target pixel from the number of pixels;
In the arrangement direction of the peripheral pixels for the target pixel of the reference region, in the range of higher pixel density than Jo Tokoro threshold, then reduced during discount rate higher pixel density increases, and, following pixel density the predetermined threshold value With reference to the definition data that defines the correspondence between the pixel density of the reference region and the thinning rate so that the thinning rate is lower than the range of the range, the space for each pixel is calculated based on the pixel density calculated in the pixel density calculating step. A thinning-out rate calculating step for calculating a discount rate;
A thinning process step for executing a thinning process for reducing the density of each pixel according to a pattern according to the thinning ratio calculated in the thinning rate calculation step;
An image data generation method comprising:
JP2011036088A 2011-02-22 2011-02-22 Image data generation apparatus and image data generation method Expired - Fee Related JP5745889B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2011036088A JP5745889B2 (en) 2011-02-22 2011-02-22 Image data generation apparatus and image data generation method
CN201210020724.3A CN102642381B (en) 2011-02-22 2012-01-20 Image data generating device and image data generating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011036088A JP5745889B2 (en) 2011-02-22 2011-02-22 Image data generation apparatus and image data generation method

Publications (2)

Publication Number Publication Date
JP2012175445A JP2012175445A (en) 2012-09-10
JP5745889B2 true JP5745889B2 (en) 2015-07-08

Family

ID=46655568

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011036088A Expired - Fee Related JP5745889B2 (en) 2011-02-22 2011-02-22 Image data generation apparatus and image data generation method

Country Status (2)

Country Link
JP (1) JP5745889B2 (en)
CN (1) CN102642381B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6281348B2 (en) * 2014-03-18 2018-02-21 株式会社リコー Optical writing apparatus, image forming apparatus, optical writing control method, and program
JP6131938B2 (en) * 2014-12-22 2017-05-24 コニカミノルタ株式会社 Image forming apparatus
CN106313907A (en) * 2016-08-16 2017-01-11 江苏科技大学 Thermal printer text printing method and thermal printer text printing system based on image conversion
EP3738777B1 (en) * 2019-03-26 2021-07-21 Mitsubishi Electric Corporation Thermal printer and printing method
CN110181928B (en) * 2019-07-09 2021-09-21 苏州微影激光技术有限公司 Plate making device and plate making method of screen printing plate
JP7365675B2 (en) * 2019-08-30 2023-10-20 デュプロ精工株式会社 stencil printing device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3143149B2 (en) * 1991-07-15 2001-03-07 理想科学工業株式会社 Image processing device
JP3647885B2 (en) * 1993-05-07 2005-05-18 日本電信電話株式会社 Image processing device
CN1203657C (en) * 2001-08-07 2005-05-25 佳能株式会社 Picture processing method and device, and storage medium
JP4469522B2 (en) * 2001-08-14 2010-05-26 セイコーエプソン株式会社 Printing that suppresses blurring of contours
JP2004306462A (en) * 2003-04-08 2004-11-04 Riso Kagaku Corp Double face printing device
JP3979372B2 (en) * 2003-09-26 2007-09-19 ブラザー工業株式会社 Image processing apparatus, image processing method, and image processing program
JP2005191661A (en) * 2003-12-24 2005-07-14 Ricoh Co Ltd Image processing apparatus

Also Published As

Publication number Publication date
JP2012175445A (en) 2012-09-10
CN102642381B (en) 2015-01-28
CN102642381A (en) 2012-08-22

Similar Documents

Publication Publication Date Title
JP5745889B2 (en) Image data generation apparatus and image data generation method
JP6011321B2 (en) Print control apparatus and program
JP6604902B2 (en) Apparatus, method and program
US10363735B2 (en) Image processing apparatus and non-transitory computer-readable storage medium storing program
US20170280016A1 (en) Image processing apparatus, image processing method, and non-transitory computer-readable medium
JP4546385B2 (en) Image processing method and apparatus
JP6945060B2 (en) Image forming device and method, abnormality nozzle detection method, and printed matter manufacturing method
US9473659B2 (en) Blank skip action in an image forming apparatus
JP4928313B2 (en) Image processing apparatus and image processing method
US20070201106A1 (en) Optimum noise filter setting for a scanner in a closed loop system
JP6821418B2 (en) Image processing equipment, image processing methods, and programs
JP6601225B2 (en) Control device and computer program
JP4941157B2 (en) Coloring production apparatus, coloring production method and program thereof
JP2005252710A (en) Image processing apparatus, image processing method, and image processing program
JP6163092B2 (en) Image processing device
CN109428986B (en) Image forming apparatus with a toner supply device
JP4601991B2 (en) Multicolor stencil printing apparatus and control method thereof
JP5807444B2 (en) Print control apparatus and print control method
JP6750677B2 (en) Imaging device and method using colorant density
JP5537087B2 (en) Image data generation method and apparatus, and stencil printing apparatus
JP2017170678A (en) Printing device and printing method
JP6896413B2 (en) Image processing equipment, image processing methods, and programs
JP2022116925A (en) Control device and computer program
CN112740270A (en) Determination device, determination device control method, determination system control method, and program
JP3800095B2 (en) Printer driver and print data generation method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140108

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20141210

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150106

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150306

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150507

R150 Certificate of patent or registration of utility model

Ref document number: 5745889

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

LAPS Cancellation because of no payment of annual fees