JP2023069216A - Image processing device, printer, image processing method, and program - Google Patents
Image processing device, printer, image processing method, and program Download PDFInfo
- Publication number
- JP2023069216A JP2023069216A JP2021180941A JP2021180941A JP2023069216A JP 2023069216 A JP2023069216 A JP 2023069216A JP 2021180941 A JP2021180941 A JP 2021180941A JP 2021180941 A JP2021180941 A JP 2021180941A JP 2023069216 A JP2023069216 A JP 2023069216A
- Authority
- JP
- Japan
- Prior art keywords
- line
- width
- image
- blur
- white
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Record Information Processing For Printing (AREA)
- Color, Gradation (AREA)
Abstract
Description
本開示は、細線部を含む画像データを補正する技術に関する。 The present disclosure relates to technology for correcting image data including fine line portions.
印刷対象の画像データには細線や小ポイント文字などの細線部が含まれることがある。このような細線部をプリンタが印刷して印刷物上に再現できるように、印刷対象の画像データを補正する技術がある。 Image data to be printed may include thin line portions such as fine lines and small point characters. There is a technique for correcting image data to be printed so that a printer can print such fine line portions and reproduce them on printed matter.
特許文献1には、白の細線部の周辺の画素の濃度値を補正することで、印刷物上での白の細線の視認性を向上させる方法が記載されている。 Japanese Patent Application Laid-Open No. 2004-100001 describes a method for improving the visibility of white fine lines on printed matter by correcting the density values of pixels around the white fine line portion.
特許文献1の方法で白の細線部を補正する場合、プリンタの特性に応じて決定された補正量に基づき補正を行う方法が考えらえる。例えば、線幅が指定された白の細線を当該プリンタが印刷し、その結果得られた印刷物上の白の細線を測定することでプリンタの特性を取得する方法が考えられる。 When correcting the thin white line portion by the method disclosed in Japanese Patent Laid-Open No. 2002-200311, a method of performing correction based on the correction amount determined according to the characteristics of the printer is conceivable. For example, a method of obtaining the characteristics of the printer by printing a thin white line with a specified line width with the printer and measuring the thin white line on the resulting printed matter is conceivable.
しかしながら、用紙の色が白の場合、白以外の色材が付与された複数のオブジェクトを、隙間を空けて印刷することで、色材が付与されない隙間の部分を白の細線として表現することになるが、周辺の色材で白の細線が潰れてしまうことがある。このため、補正量を決定するために得られた印刷物から白の細線を検出することができないことがある。また、印刷物から白の細線を検出できたとしても、細線が潰れているとプリンタの特性を適切に取得することができないことがある。この場合、補正量を適切に決定することができない虞がある。 However, when the color of the paper is white, by printing multiple objects to which color materials other than white are added, leaving gaps between them, the gaps where no color material is added can be expressed as thin white lines. However, the thin white lines may be crushed by the surrounding coloring materials. For this reason, it may not be possible to detect a thin white line from the printed matter obtained for determining the correction amount. Further, even if a white thin line can be detected from the printed matter, it may not be possible to appropriately acquire the printer characteristics if the thin line is crushed. In this case, there is a possibility that the correction amount cannot be determined appropriately.
本開示の画像処理装置は、印刷対象の画像内に含まれる細線を補正するための画像処理装置であって、印刷装置によって得られたチャート画像の印刷物の読取画像を取得する取得手段と、前記読取画像における、前記印刷装置によって色材が付与されていない余白部と前記余白部以外との境界に発生したボケの幅を測定する測定手段と、測定された前記ボケの幅に基づき、前記印刷対象の画像における前記色材を付与しないことによって表現される色の細線を補正するための補正量を決定する決定手段と、を有することを特徴とする。 An image processing apparatus according to the present disclosure is an image processing apparatus for correcting fine lines included in an image to be printed, and includes acquisition means for acquiring a read image of a printed matter of a chart image obtained by a printing apparatus; measuring means for measuring a width of blur generated at a boundary between a margin portion to which no color material is applied by the printing apparatus and a portion other than the margin portion in the read image; and determining means for determining a correction amount for correcting a fine line of a color expressed by not applying the coloring material in the target image.
本開示の技術によれば、色材を付与しないことで表現される色の細線を補正するための補正量を適切に決定することができる。 According to the technology of the present disclosure, it is possible to appropriately determine a correction amount for correcting a thin line of a color expressed by not applying a coloring material.
以下、添付図面を参照して、本開示の技術を実施形態に従って詳細に説明する。なお、以下の実施形態において示す構成は一例にすぎず、本開示の技術は図示された構成に限定されるものではない。 Hereinafter, the technology of the present disclosure will be described in detail according to embodiments with reference to the accompanying drawings. Note that the configurations shown in the following embodiments are merely examples, and the technology of the present disclosure is not limited to the illustrated configurations.
<実施形態1>
[システム構成について]
図1は、本実施形態における画像形成システムの構成の一例を示す図である。画像形成システム100は、PC101および画像形成装置であるプリンタ104を含む。プリンタ104は、PC(パーソナルコンピュータ)101とネットワーク103で接続されている。ネットワーク103は、例えば、LANやWAN等である。
<
[About system configuration]
FIG. 1 is a diagram showing an example of the configuration of an image forming system according to this embodiment. The
PC101は、アプリケーションで生成されたデジタルデータに基づきPDL(Page Description Language)データをプリンタドライバで生成する。PC101は、生成したPDLデータをプリンタ104にネットワーク103経由で送信することで、プリンタ104に生成したデータが示す画像をプリントさせる。モニター114は、PC101に接続されている。モニター114にアプリケーションで生成されたデジタルデータに基づく画像を表示させることで、ユーザは、生成したデータが表現する色や形を確認することができる。
The PC 101 uses a printer driver to generate PDL (Page Description Language) data based on digital data generated by an application. The PC 101 transmits the generated PDL data to the
プリンタ104は、後述する画像内の白細線の補正を行う画像処理装置の機能を含む印刷装置である。プリンタ104は、CPU105、メモリ106、HDD部107、UI表示部108、画像処理部109、プリント部110、スキャナ部111、ネットワークI/F112、およびバス113を有する。
The
CPU105は、プリンタ104全体の制御を行う。例えば、CPU105は、所定のプログラムを実行することで、プリンタ104が受信したPDLデータをPDLインタプリタで解釈し、レンダリングによりプリント用のビットマップデータに変換する。レンダリングは、ソフトウェアで行われるのではなくハードウェアで行われてもよい。
A
ネットワークI/F112は、ネットワーク103を介してPC101または不図示の他の装置にプリンタ104を繋げるためのインターフェースである。ネットワークI/F112を介して、プリンタ104はPC101または他の装置と各種データをやり取りすることができる。
A network I/
メモリ106は、CPU105のワークエリアとしてのRAM、および各種プログラムを記憶するROMで構成される。HDD部107は、例えばハードディスクドライブまたはフラッシュメモリで構成され、OS、プログラム、PC101から受信したPDLデータ、スキャンして得られた読取画像の画像データ等を記憶するために使用される。
A
UI表示部108は、各種表示を行うためのディスプレイ(表示部)を有する。UI表示部108は操作部の機能も有しており、例えば、タッチパネルで構成されていてもよいし、操作部としてボタンを有していてもよい。例えば、UI表示部108には、自動白細線補正を実行するための一連の操作画面(図6参照)、および自動白細線補正結果(図16参照)が表示される。CPU105は、それらの画面を表示する表示制御部としても機能する。
The
画像処理部109は、PDLデータを解釈して得られたビットマップデータを、印刷するためのプリントデータに変換する処理などの画像処理を行う。
An
プリント部110は、画像処理部109によって画像処理されたプリントデータに基づき用紙等の記録媒体にプリント出力(印刷)を行う。スキャナ部111は、原稿を読み取り、原稿の読取画像のデータを生成するための読取装置である。
The
プリンタ104内の各部は、バス113を介して相互に接続されている。プリンタ104において各種の動作または処理を実現するプログラムは、例えば、HDD部107を含むコンピュータ可読媒体に格納される。プログラムはコンピュータ可読媒体からRAMにロードされ、CPU105がそのプログラムを実行することで、プリンタ104における各種の動作または処理が実現される。
Each unit in
[白細線の線幅補正の概要について]
図2は、白細線チャート201の画像データの一例を示す図である。白細線チャートの画像データは、予め決められた線幅の白色の細線(白細線)が指定された画像データである。細線とは、図2に示すように、0.12pt、すなわち600dpi1dot幅のような所定の幅の線を指す。白細線チャート201は、白細線が複数並んで印刷されるように指定された画像データである。白細線チャート201は、用紙が白色の場合、2つの黒の矩形205、206を600dpi1dot分の間隔をあけて配置されるように印刷し、トナーやインクなどの色材が付与されない隙間を設けることで白細線が表現された画像データとなっている。色材が付与しない領域を設けることで表現される色は白色であるものとして本実施形態の説明を行う。
[Outline of line width correction for thin white lines]
FIG. 2 is a diagram showing an example of image data of the white
プリンタは、画像データが指定した線幅どおりの細線を再現できないことがある。このためプリンタが元の画像データで指定されていた線幅を再現して印刷できるように、印刷対象の画像データを補正する方法がある。 The printer may not be able to reproduce fine lines with the line width specified by the image data. Therefore, there is a method of correcting the image data to be printed so that the printer can reproduce and print the line width specified in the original image data.
例えば、白細線チャート201の画像データに基づきプリント部110が印刷をして、その結果得られた印刷物を原稿としてスキャナ部111が読み取ることで印刷物の読取画像を得る。そして、読取画像を解析してプリント部110が印刷した白細線の幅を測定して、測定された白細線の幅に基づき、印刷対象の画像データの白細線を補正するための補正量を決定する方法が考えられる。しかしながら、プリント部110が印刷した白細線の幅が適切に測定できないことがある。
For example, the
図3は、図2の白細線チャート201の画像データに基づき印刷した結果得られた印刷物300の一例である。前述したとおり、プリント部110は、白細線以外の領域を黒色などで印刷して色材が付与されない領域を白細線として再現することになる。しかしながら、本来色材が付与されない領域である余白部と、色材が付与された領域である余白部以外との境界ではボケが発生することがある。ボケの幅が広いと白細線を画像データどおりに印刷物上に再現できないことがある。
FIG. 3 shows an example of printed
図3の印刷物300の領域305、306は、白細線チャート201の黒の矩形205、206に対応する領域であるが、領域305、306の端部にはボケが発生してしまい印刷物300上に白細線が形成できていない。図3の印刷物300をスキャナ部111が読み取って得られた読取画像からは、プリンタが印刷した細線の幅を適切に測定することができない。このため、本実施形態では、図3のように読取画像から白細線が検出できない場合でも、細線を補正するための補正量を決定する方法を説明する。
[機能構成について]
図4は、本実施形態の白細線補正に係るプリンタ104の機能の構成を示すブロック図である。プリンタ104は、画像出力制御部401、画像読取制御部402、ボケ幅測定部403、白細線幅測定部404、補正量決定部405、補正量設定部406、および補正部407を有する。
[Function configuration]
FIG. 4 is a block diagram showing the configuration of the functions of the
画像出力制御部401は、印刷対象の画像データに基づき、プリント部110に画像を印刷させるための制御を行う。画像出力制御部401は、例えば、図2の白細線チャート201の画像データに基づき、補正量を決定するための白細線を印刷するための制御を行う。
The image
画像読取制御部402は、原稿をスキャナ部111で読み取らせて、原稿の読取画像を取得するための制御を行う。画像読取制御部402は、例えば、画像出力制御部401が制御を行うことで得られた白細線チャート201の印刷物をスキャナ部111に読み取らせて、印刷された白細線が含まれる読取画像を生成する。
The image
ボケ幅測定部403は、白細線チャート201のプリント時において端部の余白部と余白部以外の境界に発生したボケの幅(ボケ幅)を読取画像から測定する。ボケ幅の測定方法は後述する。
A blur
白細線幅測定部404は、プリント部110が白細線チャート201の画像データに基づき印刷した白細線の線幅を読取画像から測定する。線幅の測定方法は後述する。
The white fine line
補正量決定部405は、ボケ幅測定部403が測定したボケ幅または白細線幅測定部404が測定した白細線の線幅の何れかに基づき、印刷対象の画像データにおける白細線を補正するための補正量を決定する。補正量の決定方法は後述する。
The correction
補正量設定部406は、補正量決定部405が決定した補正量を補正部407に設定する。
The correction
補正部407は、設定された補正量を用いて白細線を補正する。補正方法は後述する。
A
画像出力制御部401、画像読取制御部402、ボケ幅測定部403、白細線幅測定部404、補正量決定部405、補正量設定部406は、CPU105がROM等に記憶されているプログラムコードをRAMに展開し実行することにより実現される。また、補正部407の機能は、画像処理部109の機能に含まれる。図4の各部は、プリンタ104とは異なる装置である画像処理装置によって実現されていてもよい。
The image
または、図4の各部の一部または全部の機能をASICや電子回路等のハードウェアで実現してもよいし、補正部407は、CPU105がROMに記憶されているプログラムコードをRAMに展開し実行することにより実現されてもよい。 Alternatively, some or all of the functions of the units in FIG. 4 may be realized by hardware such as an ASIC or an electronic circuit. It may be realized by executing
[白細線補正処理のための補正量の決定処理]
図5は、白細線補正処理のための補正量を決定して補正量を設定する一連の処理を説明するためのフローチャートである。図5のフローチャートで示される一連の処理は、CPU105がメモリ106のROMまたはHDD部107に保存されているプログラムコードをRAMに展開し実行することにより行われる。また、図5におけるステップの一部または全部の機能をASICまたは電子回路等のハードウェアで実現してもよい。
[Processing for Determining Correction Amount for White Thin Line Correction Processing]
FIG. 5 is a flowchart for explaining a series of processes for determining and setting a correction amount for white thin line correction processing. A series of processes shown in the flowchart of FIG. 5 are performed by the
S501において画像出力制御部401は、ユーザが白細線チャート201の印刷を指示したことに応じて、白細線チャート201の画像データに基づく印刷をプリント部110に実行させる。
In step S<b>501 , the image
図6は、ユーザの指示を受け付けるためにUI画面の一例を示す図である。図6のUI画面はUI表示部108に表示される。CPU105は、本フローチャートの開始前に、UI表示部108に図6(a)に示すUI画面を表示する表示制御を行う。図6(a)に示す調整/メンテナンスのUI画面で、ユーザが自動細線補正のボタン601を選択すると、図6(b)の自動細線補正のUI画面に遷移する。図6(b)の自動細線補正のUI画面で、白線補正のボタン602をユーザが選択すると、図6(c)の自動白細線補正のUI画面に遷移する。図6(c)の自動白細線補正のUI画面における白細線チャートの印刷のボタン603がユーザによって選択されると、画像出力制御部401は、S501の処理を実行する。
FIG. 6 is a diagram showing an example of a UI screen for accepting user instructions. The UI screen shown in FIG. 6 is displayed on the
S502において画像読取制御部402は、スキャナ部111に、S501の処理の結果、プリント部110が印刷することによって得られた印刷物を読み取らせて、印刷物の読取画像を取得する。
In S<b>502 , the image
白細線チャートの印刷が終わると、CPU105は、UI表示部108に表示する画面を、図6(c)の自動白細線補正のUI画面から図6(d)の自動白細線補正のUI画面に遷移させる。S501の処理の結果得られた印刷物をユーザがスキャナ部111に設置し、図6(d)の自動白細線補正のUI画面の白細線チャートの読取のボタン604をユーザが選択したことに応じて、S502の処理が実行される。
After printing the white fine line chart, the
所定の白細線が指定された画像である白細線チャート201を印刷して得られた印刷物を読み取ることで、プリント部110が白細線を印刷した白細線が含まれる読取画像が得られる。この読取画像から実際にプリント部110が印刷した白細線の線幅を測定することで、プリント部110が印刷した白細線が、画像データ上の白細線に比べてどの程度変化したかを示すプリント部110の特性が得られる。
By reading a printed matter obtained by printing a white
図2に示す600dpi1dotの白細線が指定された白細線チャート201は、白細線の線幅を測定するためのチャート画像の一例であり、チャート画像における白細線の線幅は600dpi1dotに限られない。600dpi1dotの線を印刷すると、潰れやすく、太さが変わりやすく、補正する必要があることが多い場合は、図2の白細線チャートのような白細線の線幅が600dpi1dotに指定された画像が用いられる。
A white
他にも、S501で印刷する対象となる画像データは、ユーザが補正したい白細線の太さ(入力線幅)を指定して、その指定された線幅の細線を含む画像データでもよい。図6(b)に示す補正対象となる解像度と線幅を、UI画面を介してユーザが指定できるようにしてもよい。そして、S501では指定された解像度と線幅の細線を有するチャート画像が印刷されて、S502ではその印刷物の読取画像が取得されてもよい。この場合、本実施形態では、600dpi1dotの線幅が指定されたことになる。
In addition, the image data to be printed in S501 may be image data including a thin line of the specified line width specified by the user by specifying the thickness of the white thin line (input line width) desired to be corrected. The resolution and line width to be corrected shown in FIG. 6B may be specified by the user through the UI screen. Then, in S501, a chart image having fine lines with the specified resolution and line width may be printed, and in S502, a read image of the printed matter may be obtained. In this case, in this embodiment, a line width of 600
S503においてボケ幅測定部403は、S502の結果得られた読取画像から、プリント部110が印刷した白細線チャート画像における一方の端部と他方の端部に発生したボケの幅の測定を行う。本ステップの詳細は後述する。
In S503, the blur
S504において白細線幅測定部404は、S502の結果得られた読取画像から、プリント部110が印刷したチャート画像における白細線の線幅(出力線幅)を測定する。本ステップの詳細は後述する。
In S504, the white thin line
S505において補正量決定部405は、S504で測定された白細線の線幅が、S503で測定された2つの端部のボケ幅の合計よりも小さいかを判定する。白細線の線幅がボケ幅合計よりも小さい場合(S505がYES)、S506に進み、S506において補正量決定部405は、ボケ幅から補正量を決定する。補正量の決定の詳細は後述する。
In S505, the correction
このように本実施形態では、印刷物300のようにプリンタが白細線を形成できなかった場合は、白細線の線幅がボケ幅合計よりも小さいと判定されるため、ボケ幅から補正量が決定されることになる。
As described above, in this embodiment, when the printer cannot form a white thin line like the printed
一方、白細線の線幅が2つの端部のボケ幅以上の場合(S505がNO)、S507に進み、S507において補正量決定部405は、読取画像から測定された白細線の線幅から補正量を決定する。補正量の決定の詳細は後述する。 On the other hand, if the line width of the white thin line is equal to or larger than the blurring width of the two ends (NO in S505), the process proceeds to S507. Determine quantity. The details of determining the correction amount will be described later.
S508において補正量設定部406は、S506またはS507で決定された補正量を補正部407に設定する。補正部407に補正量を設定することで、印刷対象の画像をプリント部110がプリントする際に、補正部407は印刷対象の画像を自動的に適切な白細線に補正することが可能となる。
In S<b>508 , the correction
[端部のボケ幅の測定処理について]
図7は、ボケ幅の測定処理を説明するためのフローチャートである。図7を用いてS503の処理の詳細を説明する。
[Regarding the measurement process of the edge blur width]
FIG. 7 is a flowchart for explaining blur width measurement processing. Details of the processing of S503 will be described with reference to FIG.
図8は、印刷物300の読取画像から切り出された画像であり、左側の端部302に対応する領域を切り取って得られた端部画像801である。白細線チャート201には、白細線以外にも色材が付与されない余白部が設けられており、端部画像801は、隣接する余白部が含まれるように切り出されて得られた画像である。図7のフローチャートは、S502で得られた読取画像から切り出された、図8のような左側の端部302の画像である端部画像と、右側の端部303の画像である端部画像とに対しそれぞれ行われる。
FIG. 8 shows an image clipped from the read image of the printed
S701においてボケ幅測定部403は、読取画像の各画素(x,y)の画素値を、反射率を表す値に変換する。例えば、入力された画像がsRGBの場合、読取画像の各画素(x,y)の画素値をCIE色空間のY成分の値(CIEY値)に式(1)に基づき変換する。
CIEY(x,y)=0,2126R(x,y)+0,7152G(x,y)+0,0722B(x,y) 式(1)
In S701, the blur
CIEY(x,y)=0,2126R(x,y)+0,7152G(x,y)+0,0722B(x,y) Equation (1)
CIEY(x,y)は、反射率で明度を示す値となる。すなわち一番明るい白は、反射率100%で明度100として得られる。なお、本実施形態では、画素値を式(1)でCIEY値へ変換するものとして説明するが、本ステップでの色変換は、反射率を表す値に画素値を変換すればよくCIEY値への変換に限られない。 CIEY (x, y) is a value that indicates brightness in terms of reflectance. That is, the brightest white is obtained with a reflectance of 100% and a brightness of 100. In the present embodiment, it is assumed that pixel values are converted into CIEY values using equation (1). However, the color conversion in this step can be performed by converting pixel values into values representing reflectance into CIEY values. is not limited to the conversion of
S702においてボケ幅測定部403は、S701で得られた読取画像内の反射率から値が最も大きい反射率である、最大反射率Rmaxを決定する。
In S702, the blur
S703においてボケ幅測定部403は、S701で得られた画像内の反射率から値が最も小さい反射率である、最小反射率Rminを決定する。
In S703, the blur
S704においてボケ幅測定部403は、最大反射率Rmaxと最小反射率Rminとから、式(2)に基づき、nの場合の反射率であるRnを算出する。
Rn=Rmin+(n/100)×(Rmax-Rmin) 式(2)
In S704, the blur
Rn=Rmin+(n/100)×(Rmax−Rmin) Formula (2)
目視実験の結果、ボケのある領域の反射率は、式(2)のn=10のときの反射率R10から、式(2)のn=40のときの反射率R40の間の反射率であると決められたとする。この場合、本ステップでは、式(2)に基づき、反射率R40および反射率R10を算出する。そして、後続のステップで反射率R40および反射率R10を用いてボケ幅が測定される。このように、本実施形態では、反射率R10および反射率R40を用いてボケ幅を測定するものとして説明するが、目視実験の結果、主観と一致する値であれば本ステップで算出される反射率は反射率R40および反射率R10に限られない。 As a result of visual experiments, the reflectance of the blurred area is a reflectance between the reflectance R10 when n=10 in Equation (2) and the reflectance R40 when n=40 in Equation (2). Suppose it is decided that there is In this case, in this step, reflectance R40 and reflectance R10 are calculated based on equation (2). Then, in a subsequent step, the blur width is measured using the reflectance R40 and the reflectance R10. As described above, in the present embodiment, the blur width is measured using the reflectance R10 and the reflectance R40. The index is not limited to reflectance R40 and reflectance R10.
S705においてボケ幅測定部403は、内部カウンタKをK=1で初期化する。
In S705, the blur
次のS706~S708はループ処理であり、S706においてボケ幅測定部403は、処理対象の端部画像における水平方向のラインのうちK番目のライン(Kライン)のボケ幅を測定する。このラインことのボケ幅を測定する処理を端部画像内の全ライン分終えるまで繰り返す。
Next, S706 to S708 are loop processing, and in S706, the blur
例えば、処理対象の端部画像が図8の端部画像801である場合であってK=1の場合は、最初のライン802のボケ幅が測定される。Kラインのボケ幅は、反射率の主観と一致する、反射率R10の位置から反射率R40の位置までの距離を決定することで測定される。
For example, when the edge image to be processed is the
図9は、図8の端部画像801のライン上の位置に対応する反射率を示す図である。縦軸は反射率を示し、横軸はライン上の位置を示す。曲線は反射率のプロファイル901、点線904は、n=10の場合の反射率R10の値のある位置を示し、点線905はn=40の場合の反射率R40の値のある位置を示している。
FIG. 9 is a diagram showing the reflectance corresponding to the position on the line of the
反射率R10の値を示す点線904上で、プロファイル901と交差する点906が示す位置をボケの始まりの位置とする。反射率R40の値を示す点線905上で、プロファイル901と交差する点907が示す位置をボケの終わりの位置とする。点906が示す位置から点907が示す位置までの幅908が、印刷物の左端のボケ幅として決定される。例えば、図9では、点906の位置の座標が63、点907の位置の座標が60であるため幅908の画素数は3となる。端部画像の解像度を2400dpiとしたとき1画素は10μmなので、3画素のボケ幅を示す幅908は、30μmと決定される。
A position indicated by a
プロファイル901が反射率R40に達する位置をボケの終わりの位置としたのは、黒と認識する部分をボケと定義し、反射率R40までは黒、反射率R40以上の反射率は白に近いとしたためである。前述したようにボケ幅を決定するための反射率R10、反射率R40は一例であり、ボケ幅を測定できればこの値でなくともよい。
The position where the
S707においてボケ幅測定部403は、端部画像の全ラインのボケ幅を測定したか判定を行う。図8の端部画像801の場合、最初のライン802から最終のライン803まで全てのラインのボケ幅の測定が完了したかの判定が行われる。
In S707, the blur
端部画像内の全てのラインのボケ幅の測定が完了していない場合(S707がNO)、S708に進み、次のラインのボケ幅を測定対象とするために、ボケ幅測定部403は、K+1をすることでKをカウントアップしてKを更新する。そして更新後のKラインのボケ幅を測定するためにS706に戻る。 If the measurement of the blur widths of all the lines in the edge image has not been completed (NO in S707), the process proceeds to S708. By doing K+1, K is counted up and K is updated. Then, the process returns to S706 to measure the updated K-line blur width.
端部画像内の全てのラインのボケ幅の測定が完了した場合(S707がYES)、S709に進む。 If the measurement of the blur widths of all lines in the edge image is completed (YES in S707), the process proceeds to S709.
S709においてボケ幅測定部403は、端部画像内の全てのラインのボケ幅の測定値の平均を求め、その結果得られた値を処理対象の端部画像のボケ幅と決定する。
In S709, the blur
ボケ幅測定部403は、図7のフローチャートを、S502で得られた読取画像から切り出された、左側の端部302の端部画像に対して行うことで、左側の端部のボケ幅を決定する。また、ボケ幅測定部403は、図7のフローチャートを、S502で得られた読取画像から切り出された、右側の端部303の端部画像に対して行うことで、右側の端部のボケ幅を決定する。そして、ボケ幅測定部403は、左側のボケ幅と右側のボケ幅を足し合わせてボケ幅合計に決定する。
The blur
このように、左側の端部と右側の端部のボケの特性が異なることもあるので、両側の端部の夫々のボケ幅を決定し、左側の端部のボケ幅と右側の端部のボケ幅を合わせて最終的な端部のボケ幅合計としている。他にも、左側の端部と右側の端部の特性が似ている場合は、ボケ幅測定部403は、片側の端部のボケ幅だけを決定して、そのボケ幅を2倍することでボケ幅合計として決定してもよい。即ち、白細線は色材が付与された領域の2つの端部に挟まれるように構成されていることから、2つの端部のボケ幅の合計が求められれば問題ない。
In this way, since the blurring characteristics of the left edge and the right edge may be different, the blurring width of each of the both edges is determined, and the blurring width of the left edge and the blurring width of the right edge are determined. The blur widths are combined to obtain the final total blur width at the edge. In addition, when the characteristics of the left edge and the right edge are similar, the blur
[白細線の線幅の測定処理の詳細フローについての説明]
図10は、白細線の線幅の測定処理を説明するためのフローチャートである。図10を用いてS504の処理の詳細を説明する。
[Description of the detailed flow of the measurement process of the line width of the white thin line]
FIG. 10 is a flowchart for explaining the line width measurement process of the white thin line. Details of the processing of S504 will be described with reference to FIG.
図11は、白細線チャート201の印刷物の読取画像における白細線がある部分を切り出して得られた部分画像を示す図であり、例えば、白細線チャート201の白細線が含まれる領域202に対応する部分を切り取って得られた部分画像である。図10のフローチャートの処理は、S502で得られた読取画像から切り出された、図11(a)または(b)のような1本分の白細線が含まれる領域を切り出して得られた処理対象の部分画像に対して行われる。
FIG. 11 is a diagram showing a partial image obtained by cutting out a portion of the white
図11(a)は図3のように白細線が潰れてしまった印刷物300の読取画像から、白細線が含まれる領域202に対応する領域301を切り出して得られた部分画像1101である。図11(b)は、白細線が再現された印刷物の読取画像から切り出された部分画像1104である。
FIG. 11A shows a
図10のフローチャートの処理は、白細線チャート201に含まれる夫々の白細線が含まれる領域が切り出すことで得られた夫々の部分画像に対して行われる。図2の白細線チャート201には、8本の白細線が含まれるため、8本の白細線に対応する8つ部分画像に対して、図10のフローチャートの処理がそれぞれ行われる。
The processing of the flowchart of FIG. 10 is performed on each partial image obtained by cutting out the region containing each white thin line included in the white
S1001~S1003の処理は、S701~S703と同様の処理であるため説明を省略する。 Since the processes of S1001 to S1003 are the same as those of S701 to S703, description thereof is omitted.
S1004において白細線幅測定部404は、最大反射率Rmaxと最小反射率Rminとから、上述した式(2)に基づき、nの場合の反射率であるRnを算出する。反射率の主観と一致する値として、白を示す反射率は式(2)のn=40のときの反射率R40と決められたとする。この場合、本ステップでは、式(2)に基づき、反射率R40を算出する。そして、後続のステップで反射率R40以上の反射率の領域を白細線の領域とみなして線幅を決定する。
In S1004, the white fine line
S1005において白細線幅測定部404は、内部カウンタKをK=1で初期化する。
In S1005, the white thin line
次のS1006~S1008はループ処理であり、S1006において白細線幅測定部404は、処理対象の部分画像における水平方向のラインであるK番目のラインの白細線の線幅を測定する。ラインごとに白細線の線幅を測定する処理を処理対象の部分画像内の全ライン分終えるまで繰り返す。
Next, S1006 to S1008 are loop processing, and in S1006, the white thin line
例えば、処理対象の部分画像が図11(a)の部分画像1101である場合であってK=1のときは、最初のライン1102の線幅が測定される。または、処理対象の端部画像が図11(b)の部分画像1104である場合であってK=1のときは、最初のライン1105における白細線の線幅が測定される。
For example, when the partial image to be processed is the
図12は、白細線を含む部分画像のライン上の位置に対応する反射率を示す図である。 FIG. 12 is a diagram showing reflectance corresponding to positions on lines of a partial image including a white thin line.
図12(b)は、図11(b)に示す部分画像1104のライン1105上の位置に対応する反射率を示す図である。曲線は反射率のプロファイル1205であり、部分画像内に視認可能な白細線が存在する場合の反射率の例を示している。図12(b)では、線幅と判定するための反射率R40を示す点線1202と反射率のプロファイル1205とが交差する点は、点1203および点1204となっている。点1203が示す位置から点1204が示す位置までの幅1206に基づき白細線の線幅が測定される。例えば、点1203の位置の座標と点1204の座標の間の幅1206が7画素の場合であって読取画像の解像度が2400dpiであった場合、1画素は10μmなので、7画素分に対応する70μmが白細線の線幅として決定される。このように白細線の線幅は、線幅を示す反射率R40と交わる両端の2点間距離に基づき決定される。
FIG. 12(b) is a diagram showing the reflectance corresponding to the position on the
図12(a)は、図11(a)に示す部分画像1101のライン1102上の位置に対応する反射率を示す図である。曲線は反射率のプロファイル1201であり、部分画像内の白細線が潰れて見えない場合の反射率の例を示している。図12(a)では、線幅と判定するための反射率R40を示す点線1202と反射率のプロファイル1201が交差する点はない。このように反射率R40を超える部分が無い場合、白細線がないとものとして線幅は0μmと測定される。なお、本実施形態では、細線の線幅を測定するために反射率R40を用いているが、白細線の主観と合う値であれば測定に用いる反射率はR40に限られない。
FIG. 12(a) is a diagram showing the reflectance corresponding to the position on the
S1007において白細線幅測定部404は、処理対象の部分画像の全ライン分の線幅を測定したかの判定を行う。図11(a)の部分画像1101の場合、最初のライン1102から最終のライン1103まで全てのラインにおいて線幅の測定が完了したかの判定が行われる。図11(b)の部分画像1104の場合、最初のライン1105から最終のライン1106まで全てのラインにおいて線幅の測定が完了したかの判定が行われる。
In S1007, the white fine line
処理対象の部分画像内の全てのラインにおける線幅の測定が完了していない場合(S1007がNO)、S1008に進み、次のラインにおける細線を測定対象とするために、白細線幅測定部404は、K+1をすることでKをカウントアップしてKを更新する。そして更新後のKラインにおける細線の線幅を測定するためにS1006に戻る。
If measurement of the line widths of all lines in the partial image to be processed has not been completed (NO in S1007), the process advances to S1008, and the white thin line
処理対象の部分画像内の全てのラインにおける線幅の測定が完了した場合(S1007がYES)、S1009に進む。 If line width measurement for all lines in the partial image to be processed has been completed (YES in S1007), the process proceeds to S1009.
S1009において白細線幅測定部404は、部分画像内の全てのラインから得られた線幅の測定値の平均を算出し、その結果を、処理対象の部分画像に含まれる白細線の線幅に決定する。
In S1009, the white fine line
白細線幅測定部404は、図10のフローチャートを、白細線チャート201の夫々の白細線が含まれるように切り出された部分画像に対しそれぞれ行うことで、白細線チャート201に含まれる全て(8本)の白細線の線幅を決定する。そして、白細線幅測定部404は、決定された全ての白細線の線幅の値の平均を、プリント部110が実際に印刷した白細線の線幅として決定する。または、決定された線幅のうち、最大と最小は除いて平均を求めて、プリント部110が印刷した白細線の線幅として決定してもよい。
The white thin line
[白細線の線幅から補正量を決定する処理]
S504の処理の結果得られた白細線の線幅の測定結果に基づき補正量を決定する方法を説明する。即ち、図5のS507の処理の詳細を説明する
白細線チャート201のデータ上で指定された白細線の線幅は600dpi1dotであるものとする。この場合、補正の最小単位を600dpiの1/4画素とすると、補正の最小単位は約10μmとなる。また、ボケ幅または白細線の線幅も10μm単位で測定するものとして説明した。このため、600dpi1dotの線幅も10μm単位で設定されたものとして説明する。このため、600dpi1dotの線幅は40μmであるものとして本実施形態の説明を行う。
[Processing to determine the correction amount from the line width of the white thin line]
A method of determining the correction amount based on the measurement result of the width of the white thin line obtained as a result of the process of S504 will be described. That is, it is assumed that the line width of the white thin line specified on the data of the white
S504の処理の結果、白細線チャート201の印刷物の読取画像から測定された線幅が20μmであったものとする。この場合、
データ上の線幅40μm-実際の線幅20μm=20μm
から、画像データ上の白細線の線幅を20μmだけ広げる必要があるため、白細線の線幅を、両端を10μmずつ広げるように補正すればよい。補正部407が1/4画素単位で補正制御できる場合は、600dpiで0.25dot(1/4画素)分の白画素を白細線の左右に追加すればよいため、補正量は、1/4画素として決定される。
Assume that the line width measured from the read image of the white
Data line width 40 μm−Actual line width 20 μm=20 μm
Therefore, since it is necessary to widen the line width of the white thin line on the image data by 20 μm, the line width of the white thin line should be corrected so that both ends are widened by 10 μm. If the
[ボケ幅から補正量を決定する方法]
プリント部110が印刷した白細線が潰れてしまった場合など、白細線の線幅の測定値が補正量の決定に適さない場合、本実施形態ではS503の結果得られたボケ幅合計に基づき補正量が決定される。本実施形態のボケ幅合計から補正量を決定する処理である図5の506の処理の詳細について説明する。
[Method for determining correction amount from blur width]
When the measured value of the line width of the white thin line is not suitable for determining the correction amount, such as when the white thin line printed by the
図13は、図2の領域202に対応する印刷物上の領域の水平ラインの反射率を示している。領域202内には、白細線を構成する黒の矩形205、206を印刷した際に発生したボケがあり、そのボケの反射率を示すプロファイルが含まれている。
FIG. 13 shows the horizontal line reflectance of the area on the print corresponding to
図13(a)は、白細線が潰れて印刷された場合の反射率のプロファイルを示す図である。即ち、図3の印刷物300における領域301の水平ラインの反射率を示す図である。白細線の右側で発生したボケの反射率はプロファイル901で表し、幅908は右側のボケの幅である。白細線の左側で発生したボケの反射率はプロファイル1301で表し、幅1302は左側のボケの幅である。距離1303は、白細線チャート201上で指定された白細線の線幅である600dpi1dot(40μm)を表している。
FIG. 13(a) is a diagram showing a profile of reflectance in the case where white fine lines are crushed and printed. That is, it is a diagram showing the reflectance of horizontal lines in the
このように、印刷物上で白細線が潰れて白細線が形成できていない場合、白細線の左右で発生したボケが重なっている状態である。図13(a)における点線の曲線は潰れた白細線部の反射率のプロファイル1201を示しており、図12のプロファイル1201を示す曲線と同様の曲線となる。
In this way, when the white fine lines are crushed on the printed matter and the white fine lines are not formed, the blurring occurring on the left and right of the white fine lines overlaps. A dotted curve in FIG. 13A indicates a
白細線を含む部分画像の反射率が図13(a)の状態であった場合の、ボケ幅から補正量を決定する方法の説明を行う。図5のS503において、左側端部のボケ幅は30μmと決定され、右側端部のボケ幅も同じように30μmと決定されたとすると、最終的なボケ幅合計は、右側のボケ幅+左側のボケ幅=60μmと決定される。また、白細線が印刷された領域の反射率のプロファイル1201から、S504において白細線幅は0μmと決定される。この場合、白細線幅<ボケ幅合計であることから、S506に進むことになる。
A method of determining the correction amount from the blur width when the reflectance of the partial image including the white thin line is in the state of FIG. 13A will be described. In S503 of FIG. 5, if the blur width at the left end is determined to be 30 μm and the blur width at the right end is also determined to be 30 μm, the final sum of the blur widths is the right blur width+left blur width. Defocus width=60 μm. Also, from the
S506において、ボケ幅を考慮した線幅にするための補正量が決定される。例えば、白細線が見えるように、画像データ上の白細線の線幅を広げて、白細線を印刷した際に白細線部の左右に発生するボケが重ならないようにすればよい。即ち、右側のボケの幅908の左端の位置から、左側のボケの幅1302の右端の位置までの間の距離が、再現したい線幅である600dpi1dot(40μm)の距離1303となるように、画像データ上の白細線の線幅を広げるように補正が行われればよい。つまり、画像データ上の白細線の線幅を、幅方向の一方と他方にそれぞれのボケ幅30μm分だけ広げるように補正を行えばよい。
In S506, a correction amount for achieving a line width that takes into account the blur width is determined. For example, the line width of the white fine line on the image data may be widened so that the white fine line can be seen, so that blurring occurring on the left and right of the white fine line when the white fine line is printed does not overlap. That is, the image is drawn so that the distance from the left end position of the
図13(b)は、画像データ上の白細線を補正して、補正後の画像データに基づき印刷された白細線の反射率を示す図である。白細線の線幅を広げるように画像データの補正を行った結果、白細線を構成する左右の矩形から発生したボケが離れ、白細線が見える状態を示している。 FIG. 13B is a diagram showing the reflectance of white fine lines printed based on the corrected image data after correcting the white fine lines on the image data. As a result of correcting the image data so as to widen the line width of the white thin line, blurring generated from the left and right rectangles forming the white thin line is separated and the white thin line is visible.
ボケ幅から補正量を決定する具体例としては、画像データ上の線幅40μmの白細線を補正する場合、補正後のあるべき白細線の線幅は、再現したい線幅40μm+ボケ幅合計60μmから、100μmとなる。特許文献1に記載の方法で白細線の補正を行う場合で、補正部407が1/4画素単位で補正制御できる場合、30μmは、600dpiで0.75dot(3/4画素)分であることから、この3/4画素が補正量として決定される。
As a specific example of determining the correction amount from the blur width, when correcting a white thin line with a line width of 40 μm on the image data, the line width of the white thin line that should be after correction is the desired line width of 40 μm + the total blur width of 60 μm. , 100 μm. When white thin lines are corrected by the method described in
[補正量を用いた入力画像の補正処理]
図14は、本実施形態に係る、画像処理部109によって実現される補正部407の機能の一例を示すブロック図である。補正部407は、輝度濃度変換部1402、白細線太さ判定部1403、白細線補正部1404、白細線補正量設定部1405、中間調処理部1406を有する。
[Correction Processing of Input Image Using Correction Amount]
FIG. 14 is a block diagram showing an example of functions of the
輝度濃度変換部1402は、ビットマップデータ1401が通常表示用の輝度データの場合、プリント用の8ビットの濃度データに変換する。
When the
白細線太さ判定部1403は、ビットマップデータ1401に、補正条件を満たす細線があるか否かを判定する。線幅が小さいほど、白細線が印刷の際に潰れてしまうことが多い。このため、白細線太さ判定部1403は、例えば、600dpi1dotの線幅の白細線があるかを判定する。この補正条件は一例であり、この補正条件を600dpi1dotの線幅とする場合とは、プリント部110が600dpi1dotの線幅の白細線を印刷すると白細線が潰れてしまう場合である。
A thin white line
白細線補正量設定部1405は、補正量設定部406が設定した白細線の補正量を取得して白細線補正のために補正量を設定する。
The white thin line correction
白細線補正部1404は、白細線太さ判定部1403が補正対象と判定した細線に対して、白細線補正量設定部1405が設定した補正量を用いて、入力画像内の白細線の線幅の補正を行う。
The fine white
中間調処理部1406は、8ビットの濃度データを、プリント部110が対応可能な階調数のデータであるプリントデータ1407に変換する。
A
図15は、印刷対象の画像(入力画像)のデータに含まれる白細線の線幅を補正する処理の一例を示す図である。図15における夫々の矩形は、輝度濃度変換部1402が出力した濃度データが示す画像内の画素を表す。1つの矩形は、600dpi1画素を表し、それぞれの画素の画素値は、多値の8ビットデータで指定され、最大で255(黒)、最小で0(白)である。補正処理の具体例を、図15を用いて説明する。
FIG. 15 is a diagram showing an example of processing for correcting the line width of white thin lines included in data of an image to be printed (input image). Each rectangle in FIG. 15 represents a pixel in the image indicated by the density data output by the luminance/
図15(a)は、補正前の画像データの一部を表す図であり、画素1501の画素値は255(黒)、画素1502の画素値は0(白)、1503の画素値は255(黒)を表し、画素1502は600dpi1画素の線幅の白細線の一部を示している。即ち、図15において左右の方向が線の幅方向(細線が伸びる方向と交差する方向)である。ここでは説明を簡単にするため白細線に隣接する画素の画素値は黒の値であるものとして説明する。
FIG. 15A is a diagram showing part of the image data before correction. The pixel value of
図15(a)の画素1502は、白細線太さ判定部1403によって補正条件である600dpi1dotの線幅の白細線と判定されて、補正の対象と判定される。補正量は、図13(b)を用いて説明したように、3/4画素と設定されているものとする。
A
補正量が3/4画素の場合、白細線補正部1404は、画素1502の幅方向における両側に画素値が白(0)の3/4画素をそれぞれ追加する補正を行う。
When the correction amount is 3/4 pixels, the white thin
図15(b)は、図15(a)の補正前の画像データに対して、補正量である3/4画素に基づき補正された後の画像データを示す図である。白細線を示す画素1502の幅方向の両側に隣接する3/4画素1504、1506が示すように、画素値が白(0)の3/4画素が追加される。この補正の結果、白細線は100μmの線幅で印刷されるので、印刷物上で再現される白細線の線幅が40μmとなり、印刷物上の白細線を所望の線幅とすることが可能となる。
FIG. 15B is a diagram showing image data after the image data before correction in FIG. 15A is corrected based on the correction amount of 3/4 pixel. As shown by 3/4
なお、白細線の幅方向における一方の側の補正量と他方の側の補正量は、同じ補正量として設定されたものとして上記の説明を行ったが、一方の側の補正量と他方の側の補正量は異なるように補正量が設定されてもよい。例えば、ボケ幅から補正量を決定する場合、左側の端部で発生したボケ幅と右側の端部発生したボケ幅が異なるような場合は、それに合わせて、白細線の幅方向における一方の側の補正量と他方の側の補正量を決定して補正量が設定されてもよい。 In the above description, the correction amount on one side and the correction amount on the other side in the width direction of the white thin line are set as the same correction amount. The correction amount may be set so that the correction amount for . For example, when determining the correction amount from the blur width, if the blur width generated at the left edge and the blur width generated at the right edge are different, one side in the width direction of the white thin line is adjusted accordingly. The correction amount may be set by determining the correction amount for one side and the correction amount for the other side.
図16は、白細線の補正結果をユーザに通知する場合のUI画面の表示例を示す図である。図16に示すような画面をUI表示部108に表示することにより、例えば、図16に示すように、白細線の補正結果の情報として、入力画像の白細線の線幅、測定された端部ボケ幅および白細線幅、補正後白細線幅等が表示される。ユーザは、図16の補正結果を確認することにより、プリンタの特性をより詳細に把握することが可能となる。
FIG. 16 is a diagram showing a display example of the UI screen when notifying the user of the white fine line correction result. By displaying a screen as shown in FIG. 16 on the
以上説明したように本実施形態によれば、色材を付与しないことで再現される色の細線が色材で潰れ、その色の細線が印刷物上に再現できない場合であっても、色材を付与しないことで再現される色の細線を補正するための補正量を適切に決定することができる。このため、色材を付与しないことで再現される色の細線を正確に補正することが可能となる。 As described above, according to the present embodiment, even if a thin line of a color reproduced by not applying a coloring material is crushed by the coloring material and the thin line of that color cannot be reproduced on a printed matter, the coloring material is applied. It is possible to appropriately determine the amount of correction for correcting the thin line of the color that is reproduced by not applying it. Therefore, it is possible to accurately correct fine lines of a color reproduced by not applying a coloring material.
なお、本実施形態では、測定されたボケ幅または白細線の線幅のいずれかに基づき補正量を決定する方法を説明したが、測定されたボケ幅に基づき補正量を決定してもよい。即ち、図5のフローチャートにおいてS504の後は、S505をスキップしてS506に進むようにして補正量が決定されてもよい。 In this embodiment, the method of determining the correction amount based on either the measured blur width or the line width of the white thin line has been described, but the correction amount may be determined based on the measured blur width. That is, after S504 in the flowchart of FIG. 5, the correction amount may be determined by skipping S505 and proceeding to S506.
<実施形態2>
実施形態1では、画像データ上の白細線の補正方法として、設定された補正量に基づき、1画素未満の白画素を追加することで白細線の線幅を大きくするように補正する方法を説明した。本実施形態では、白細線の補正方法として、画像データ上の白細線に隣接する1画素の多値の画素値を補正量に基づき変更することで、白細線を補正する方法を説明する。本実施形態については、実施形態1からの差分を中心に説明する。特に明記しない部分については実施形態1と同じ構成および処理である。
<Embodiment 2>
In the first embodiment, as a method of correcting a thin white line on image data, a method of increasing the line width of a thin white line by adding a white pixel of less than one pixel based on a set correction amount will be described. bottom. In this embodiment, as a method of correcting a white thin line, a method of correcting a white thin line by changing a multi-valued pixel value of one pixel adjacent to the white thin line on image data based on a correction amount will be described. This embodiment will be described with a focus on differences from the first embodiment. Parts not specified are the same in configuration and processing as in the first embodiment.
図17は、補正量が3/4画素に設定されていた場合、図15(a)の補正前の画像データに対して本実施形態の補正方法によって補正部407が補正した後の画像データを示す図である。図17における白細線を構成する画素1502の幅方向の両側にそれぞれ隣接する画素1701、1702は、図15(a)の画素1501、1503に対応する画素である。画素1701、1702は、補正部407による本実施形態の補正の結果、画素値が変更されたことを示している。図15(a)における白画素の両側の画素1501、1502の画素値は255であったものが、画素1701、1702では画素値が64に変更されている。この変更後の画素値を補正画素値とよぶ。補正画素値は、補正量に基づき決定される。
FIG. 17 shows the image data after the
図18は、補正量から補正画素値を決定するために用いられるテーブルを示す図である。図18に示すように、補正量が3/4画素である場合、補正画素値は8ビットで64と決定されているもとする。このため、図17に示すように、白細線を構成する画素1502に隣接する画素1701、1702の画素値が255から64に変更され、線幅が広がるように画像データ上の白細線を補正することができる。このため、印刷物上では白細線が潰れることがないように、プリント部110は所望の白細線を再現することが可能となる。
FIG. 18 is a diagram showing a table used to determine corrected pixel values from correction amounts. As shown in FIG. 18, when the correction amount is 3/4 pixel, the corrected pixel value is determined to be 64 in 8 bits. Therefore, as shown in FIG. 17, the pixel values of
以上説明したように本実施形態によれば、1画素を分割することなく、600dpi1画素のような元の解像度の1画素に対して補正をすることができる。 As described above, according to the present embodiment, it is possible to correct one pixel of the original resolution such as one pixel of 600 dpi without dividing one pixel.
<実施形態3>
上述した実施形態では、画像処理部109によって実現された補正部407によって、ビットマップデータに対して補正を行う方法を説明した。本実施形態では、プリンタ104が受信したPDLデータをPDLインタプリタで解釈する際に補正を行う例を説明する。本実施形態については、実施形態1からの差分を中心に説明する。特に明記しない部分については実施形態1と同じ構成および処理である。また、レンダリング解像度が1200dpi、または2400dpiであるものとして説明する。また、本実施形態の補正はビットマップデータに対する処理ではないため、本実施形態の補正部407は、CPU105がROMに記憶されているプログラムコードをRAMに展開し実行することにより実現されるものとして説明する。
<Embodiment 3>
In the above-described embodiment, the method of correcting bitmap data by the
図19は、本実施形態の白細線の線幅を補正する処理の一例を説明するための図である。図19(a)は、補正前のPDLデータで指定された細線を表す図である。PDLデータでは線の線幅はポイント数で指定されている。 FIG. 19 is a diagram for explaining an example of processing for correcting the line width of a white thin line according to this embodiment. FIG. 19A is a diagram showing thin lines specified by PDL data before correction. In PDL data, the line width of a line is specified by the number of points.
補正条件を600dpi1dotの線幅とする場合、補正部407は、600dpi1画素に対応する0.12ptの線幅の白細線があるかを判定する。そして、補正部407は、補正対象の線幅の白細線については、PDLデータをPDLインタプリタで解釈する際に、補正量に基づき線幅を大きく変更することで補正を行う。具体的には、補正量に基づくポイント数を幅方向の両側に追加するようにして、線幅を広げる補正を行う。
When the correction condition is a line width of 600
図19(b)は、補正量が3/4画素に設定されていた場合の、図19(a)の補正前のPDLデータに対して補正された後の画像を示す図である。補正部407は、例えば、補正量が3/4画素の場合は0.09ptに、補正量をポイント数に変換する。そして、図19(b)に示すように、補正後の白細線の線幅を、PDLデータで指定された線幅0.12pt+補正量0.09pt+補正量0.09pt=0.30ptに変換する。このため、画像データ上の線幅が40μmから100μmに補正されることになる。本実施形態の補正の結果、白細線が線幅100μmで印刷されるので、印刷物上の白細線の線幅は40μmとなり、印刷物上の白細線を所望の線幅とすることが可能となる。
FIG. 19B is a diagram showing an image after the PDL data before correction in FIG. 19A is corrected when the correction amount is set to 3/4 pixel. For example, when the correction amount is 3/4 pixel, the
以上説明したように本実施形態によれば、画像処理部109によらず、CPU105がプログラムコードを実行することで補正処理を行うことが可能となる。このため、画像処理部109によって補正する場合よりも容易に処理を追加することが可能となる。
As described above, according to the present embodiment, correction processing can be performed by the
<その他の実施形態>
本開示は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
<Other embodiments>
The present disclosure provides a program that implements one or more functions of the above-described embodiments to a system or device via a network or storage medium, and one or more processors in a computer of the system or device reads and executes the program. It can also be realized by processing to It can also be implemented by a circuit (for example, ASIC) that implements one or more functions.
104 プリンタ
402 画像読取制御部
403 ボケ幅測定部
405 補正量決定部
104
Claims (18)
印刷装置によって得られたチャート画像の印刷物の読取画像を取得する取得手段と、
前記読取画像における、前記印刷装置によって色材が付与されない余白部と前記余白部以外との境界に発生したボケの幅を測定する測定手段と、
測定された前記ボケの幅に基づき、前記印刷対象の画像における前記色材を付与しないことによって表現される色の細線を補正するための補正量を決定する決定手段と、
を有することを特徴とする画像処理装置。 An image processing device for correcting fine lines included in an image to be printed,
Acquisition means for acquiring a read image of a printed matter of a chart image obtained by a printing device;
measuring means for measuring the width of blur generated at a boundary between a margin portion to which no coloring material is applied by the printing apparatus and a portion other than the margin portion in the read image;
determining means for determining a correction amount for correcting a fine line of a color expressed by not applying the coloring material in the image to be printed, based on the measured width of the blur;
An image processing device comprising:
前記読取画像における前記色材を付与しないことによって表現される色の細線の線幅を測定する線幅測定手段をさらに有し、
前記決定手段は、
測定された前記細線の線幅または前記ボケの幅に基づき、前記補正量を決定する
ことを特徴とする請求項1に記載の画像処理装置。 The chart image includes a thin line of color expressed by not applying the coloring material,
further comprising line width measuring means for measuring the line width of a fine line of a color expressed by not applying the coloring material in the read image;
The determining means is
The image processing apparatus according to claim 1, wherein the correction amount is determined based on the measured line width of the thin line or the width of the blur.
前記読取画像から前記色材を付与しないことによって表現される色の細線が検出されなかった場合、測定された前記ボケの幅に基づき前記補正量を決定する
ことを特徴とする請求項2に記載の画像処理装置。 The determining means is
3. The correction amount is determined based on the measured width of the blur when a thin line of a color expressed by not applying the coloring material is not detected from the read image. image processing device.
測定された前記細線の線幅が、測定された前記ボケの幅よりも小さい場合、測定された前記ボケの幅に基づき前記補正量を決定する
ことを特徴とする請求項2に記載の画像処理装置。 The determining means is
3. The image processing according to claim 2, wherein when the measured line width of the thin line is smaller than the measured width of the blur, the correction amount is determined based on the measured width of the blur. Device.
測定された前記細線の線幅が、測定された前記ボケの幅以上の場合は、測定された前記細線の線幅に基づき前記補正量を決定する
ことを特徴とする請求項2から4のいずれか1項に記載の画像処理装置。 The determining means is
5. The correction amount is determined based on the measured line width of the fine line when the measured line width of the fine line is greater than or equal to the measured width of the blur. 1. The image processing apparatus according to claim 1.
ことを特徴とする請求項2から5のいずれか1項に記載の画像処理装置。 6. The image processing according to any one of claims 2 to 5, wherein a line width of a thin line of a color expressed by not applying the coloring material in the chart image can be set by a user. Device.
ことを特徴とする請求項1から6のいずれか1項に記載の画像処理装置。 The image processing according to any one of claims 1 to 6, wherein the measured width of the blur is a value indicating a sum of widths of the blur generated from the two boundaries in the read image. Device.
ことを特徴とする請求項1から7のいずれか1項に記載の画像処理装置。 8. The apparatus according to any one of claims 1 to 7, further comprising correcting means for correcting, based on the correction amount, fine lines of a color expressed by not applying the coloring material in the image to be printed. The described image processing device.
測定された前記ボケの幅が大きいほど前記印刷対象の画像における前記色材を付与しないことによって表現される色の細線の線幅を前記補正手段が広く補正できるように、前記補正量を決定する
ことを特徴とする請求項8に記載の画像処理装置。 When the determination means determines the correction amount based on the measured width of the blur,
The correction amount is determined so that the width of the fine line of the color expressed by not applying the coloring material in the image to be printed increases as the width of the measured blur increases. 9. The image processing apparatus according to claim 8, characterized by:
前記補正量に基づき、前記色材を付与しないことによって表現される色の細線の幅方向の両側に前記色材を付与しないことによって表現される色の画素を追加することで補正を行う
ことを特徴とする請求項8または9に記載の画像処理装置。 The correcting means is
Correction is performed by adding pixels of the color expressed by not applying the coloring material to both sides in the width direction of the thin line of the color expressed by not applying the coloring material based on the correction amount. 10. The image processing device according to claim 8 or 9.
前記補正量に基づき、前記色材を付与しないことによって表現される色の細線の幅方向の両側に隣接する画素の画素値を変えることで補正を行う
ことを特徴とする請求項8または9に記載の画像処理装置。 The correcting means is
10. The method according to claim 8, wherein, based on the correction amount, the correction is performed by changing pixel values of pixels adjacent to both sides in the width direction of the fine line of the color expressed by not applying the coloring material. The described image processing device.
前記補正量に基づき、PDLデータで指定された前記色材を付与しないことによって表現される色の細線の線幅を変更することで補正を行う
ことを特徴とする請求項8または9に記載の画像処理装置。 The correcting means is
10. The method according to claim 8, wherein the correction is performed by changing a line width of a fine line of a color expressed by not applying the color material specified by PDL data based on the correction amount. Image processing device.
ことを特徴とする請求項1から12のいずれか1項に記載の画像処理装置。 The image processing apparatus according to any one of claims 1 to 12, wherein the fine line of the color expressed by not applying the coloring material is a white fine line.
ことを特徴とする請求項1から13のいずれか1項に記載の画像処理装置。 The chart image is an image in which a plurality of rectangles of a color representing the colorant are arranged at predetermined intervals, and the printing device prints the rectangles and does not apply the colorant. 14. An image generated such that fine lines of a color to be represented and having a line width corresponding to the predetermined interval are formed on the printed matter. The image processing device according to .
前記決定手段は、測定された2つの前記端部のボケの幅に基づき前記補正量を決定する
ことを特徴とする請求項14に記載の画像処理装置。 The measurement means measures a blur width of the edge of the rectangle in the read image,
15. The image processing apparatus according to claim 14, wherein the determining means determines the correction amount based on the measured widths of the blur at the two ends.
前記印刷物を読み取る読取手段を有することを特徴とする印刷装置。 16. A printing device for obtaining the printed matter of the chart image, comprising each means of the image processing device according to any one of claims 1 to 15,
A printing apparatus comprising reading means for reading the printed matter.
印刷装置によって得られたチャート画像の印刷物の読取画像を取得する取得ステップと、
前記読取画像における、前記印刷装置によって色材が付与されていない余白部と前記余白部以外との境界に発生したボケの幅を測定する測定ステップと、
測定された前記ボケの幅に基づき、前記印刷対象の画像における前記色材を付与しないことによって表現される色の細線を補正するための補正量を決定する決定ステップと、
を有することを特徴とする画像処理方法。 An image processing method for correcting fine lines included in an image to be printed, comprising:
an acquisition step of acquiring a read image of a printed matter of the chart image obtained by the printing device;
a measuring step of measuring the width of the blur occurring at the boundary between a margin portion to which no coloring material is applied by the printing apparatus and a portion other than the margin portion in the read image;
a determining step of determining a correction amount for correcting a thin line of a color expressed by not applying the coloring material in the image to be printed, based on the measured width of the blur;
An image processing method characterized by comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021180941A JP2023069216A (en) | 2021-11-05 | 2021-11-05 | Image processing device, printer, image processing method, and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021180941A JP2023069216A (en) | 2021-11-05 | 2021-11-05 | Image processing device, printer, image processing method, and program |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2023069216A true JP2023069216A (en) | 2023-05-18 |
Family
ID=86327843
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2021180941A Pending JP2023069216A (en) | 2021-11-05 | 2021-11-05 | Image processing device, printer, image processing method, and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2023069216A (en) |
-
2021
- 2021-11-05 JP JP2021180941A patent/JP2023069216A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6417851B2 (en) | Image processing apparatus and computer program | |
| KR102246058B1 (en) | Image processing apparatus and method for controlling the same | |
| JP6573375B2 (en) | Image processing apparatus, image processing apparatus control method, and program | |
| US10592766B2 (en) | Image processing apparatus and medium storing program executable by image processing apparatus | |
| US7965409B2 (en) | Methods and systems for rendering and printing reverse fine features | |
| JP5863001B2 (en) | Image processing apparatus, image forming apparatus, and program | |
| JP4498233B2 (en) | Image processing apparatus and image processing method | |
| US9218552B2 (en) | Image processing apparatus and image processing method | |
| US8743422B2 (en) | Image processing apparatus, image processing method, image processing program and printing device | |
| US9398194B2 (en) | Image processing apparatus and method performing density adjustment on image data based on generated density characteristics data | |
| JP2023069216A (en) | Image processing device, printer, image processing method, and program | |
| JP6736299B2 (en) | Printing device, printing method, and program | |
| JP6985931B2 (en) | An image processing apparatus, an image processing program, an image processing method, and an image forming apparatus including the image processing apparatus. | |
| JP2023020165A (en) | IMAGE PROCESSING APPARATUS, IMAGE FORMING APPARATUS, CONTROL METHOD AND PROGRAM FOR THEM | |
| US20200004481A1 (en) | Image processing apparatus and non-transitory computer readable medium | |
| US11967013B2 (en) | Image processing method and image processing apparatus that apply selected texture data to a target region | |
| JP6164024B2 (en) | Image processing apparatus and program | |
| JP2021197709A (en) | Image processing equipment, image processing methods, and programs | |
| US10798267B2 (en) | Image processing to set output pixel values subject to edge or thin line correction | |
| JP2016048879A (en) | Image forming apparatus, control method of image forming apparatus, and program | |
| JP7005796B2 (en) | Image forming device, its control method, and program | |
| JP2024162429A (en) | Image processing device, image processing method, and program | |
| JP4375223B2 (en) | Image processing apparatus, image processing method, and image processing program | |
| JP6358198B2 (en) | Image forming apparatus and program | |
| JP2023077709A (en) | Image processing apparatus, image forming apparatus, method, and program |