JP5067277B2 - Image processing apparatus, image processing method, image processing program, copying apparatus, copying method, and copying program - Google Patents

Image processing apparatus, image processing method, image processing program, copying apparatus, copying method, and copying program Download PDF

Info

Publication number
JP5067277B2
JP5067277B2 JP2008163140A JP2008163140A JP5067277B2 JP 5067277 B2 JP5067277 B2 JP 5067277B2 JP 2008163140 A JP2008163140 A JP 2008163140A JP 2008163140 A JP2008163140 A JP 2008163140A JP 5067277 B2 JP5067277 B2 JP 5067277B2
Authority
JP
Japan
Prior art keywords
brightness
color
threshold
output
lightness
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
JP2008163140A
Other languages
Japanese (ja)
Other versions
JP2010004448A (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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2008163140A priority Critical patent/JP5067277B2/en
Publication of JP2010004448A publication Critical patent/JP2010004448A/en
Application granted granted Critical
Publication of JP5067277B2 publication Critical patent/JP5067277B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、画像処理装置、画像処理方法、画像処理プログラム、複写装置、複写方法および複写プログラムに関する。   The present invention relates to an image processing apparatus, an image processing method, an image processing program, a copying apparatus, a copying method, and a copying program.

複写装置においては、原稿読取装置によって読み取った画像データに基づいて印刷を行うことにより、原稿を複写している。通常、このような複写装置では、原稿読取装置の読取結果を示す入力画像データをプロファイルによって出力画像データに変換し、出力画像データによって出力装置の色を特定している。この色変換に際して各種の思想に基づいて処理を行うことにより、複写に伴って各種の機能を実現することができる。例えば、下地が白ではない原稿や裏写りが生じている原稿は、これらの下地色や裏写りを忠実に再現するのは好ましくない。そこで、入力画像データにおいて一定の明度以上の画素については、一律に最高明度に変換することによって下地や裏写りなどを除去する技術が知られている。   In a copying apparatus, a document is copied by performing printing based on image data read by the document reading device. Normally, in such a copying apparatus, input image data indicating a reading result of the document reading apparatus is converted into output image data by a profile, and the color of the output apparatus is specified by the output image data. By performing processing based on various ideas at the time of this color conversion, various functions can be realized along with copying. For example, it is not preferable to faithfully reproduce the background color and show-through for a document whose background is not white or a document with show-through. In view of this, a technique is known that removes the background and show-through by uniformly converting the input image data to pixels having a certain brightness or higher to the maximum brightness.

また、一定の明度以上の画素について一律に最高明度に変換すると、変換しない明度域との間にトーンジャンプが発生する。このトーンジャンプを防止するために、前記一定の明度以下の明度域で明度が滑らかに変化するように変換する方法が提案されている(例えば、特許文献1)。
特開2006−67233号公報
Also, if pixels having a certain brightness or higher are uniformly converted to the maximum brightness, a tone jump occurs between the brightness areas that are not converted. In order to prevent this tone jump, a method of converting the brightness so as to smoothly change in a brightness range equal to or lower than the certain brightness has been proposed (for example, Patent Document 1).
JP 2006-67233 A

しかしながら、前記特許文献1記載の技術においては、黄色及び肌色の再現性を保つためにL*a*b*空間に特定領域(所定色相範囲且つ所定彩度範囲)に対してのみ処理を行っている。そのため、L*a*b*空間上の特定領域の内外でトーンジャンプが発生して見栄えが悪くなるという問題があった。 However, in the technique described in Patent Document 1, only a specific region (a predetermined hue range and a predetermined saturation range) is processed in the L * a * b * space in order to maintain the reproducibility of yellow and skin color. Yes. Therefore, there has been a problem that tone jump occurs inside and outside a specific area in the L * a * b * space, resulting in poor appearance.

本発明は前記課題に鑑みて為されたものであり、下地や裏写り等を除去しつつ、明度方向のみならず彩度方向や色相方向におけるトーンジャンプの発生を防止可能な画像処理装置、画像処理方法、画像処理プログラム、複写装置、複写方法および複写プログラムの提供を目的とする。   The present invention has been made in view of the above problems, and an image processing apparatus and an image that can prevent occurrence of a tone jump not only in the brightness direction but also in the saturation direction and the hue direction while removing the background and the show-through It is an object to provide a processing method, an image processing program, a copying apparatus, a copying method, and a copying program.

上記課題を解決するために、本発明の画像処理装置では、画像データ入力手段と、色変換手段とを備える構成としてある。前記色変換手段は、前記入力画像データを変換して出力装置での出力色を示す出力画像データを取得するにあたり、明度が所定の閾値を超える色を最高明度に変換するとともに、前記閾値以下の明度域で明度が滑らかに変化するように変換し、該変換後の色について最高明度を有する色が色空間中の特定の領域内の色である場合に該色の彩度を0に変換する。   In order to solve the above problems, the image processing apparatus according to the present invention includes an image data input unit and a color conversion unit. The color conversion means converts the input image data to obtain output image data indicating the output color in the output device, and converts a color whose brightness exceeds a predetermined threshold to the maximum brightness, and is equal to or lower than the threshold. Conversion is performed so that the brightness changes smoothly in the brightness range, and the saturation of the color is converted to 0 when the color having the highest brightness is the color in a specific area in the color space. .

すなわち明度が所定の閾値を超える色を一定の明度の色に変換することによって本来一定の色であるべき裏写りを除去することができるが、当該閾値以下における明度の変化が滑らかであるので、色変換に伴って明度が急激に変化することを抑えることができる。このとき、最高明度の色は彩度0の白であることが望ましいが、入力画像データの元になる原稿の下地色によっては、彩度が0で無い場合がある。そこで、最高明度に変換された色については、色空間中の特定の領域内の色である場合は、彩度を0に変換する。なお特定の領域は、例えばL*a*b*空間であれば、彩度と色相角とで指定出来る。従って、裏写りの除去とともに明度方向のトーンジャンプの発生を防止し、且つ彩度方向や色相角方向のトーンジャンプの発生を防止することができる。   That is, by converting a color whose lightness exceeds a predetermined threshold value into a constant lightness color, it is possible to remove the show-through that should be a constant color, but since the change in lightness below the threshold value is smooth, It can suppress that the brightness changes rapidly with color conversion. At this time, it is desirable that the color of the highest brightness is white with zero saturation, but the saturation may not be zero depending on the background color of the document from which the input image data is based. Therefore, for the color converted to the maximum brightness, the saturation is converted to 0 when the color is in a specific region in the color space. For example, if the specific area is an L * a * b * space, it can be specified by saturation and hue angle. Therefore, it is possible to prevent the occurrence of the show-through and to prevent the tone jump in the lightness direction and to prevent the tone jump in the saturation direction and the hue angle direction.

ここで、入力画像データにおいては、複数の画素について色を指定したデータであれば良く、モノクロ画像であれば通常、一つの色成分(明度等)、カラー画像であれば通常、三つの色成分毎に階調を指定したデータであればよい。画像データ入力手段においては、このような入力画像データを入力することができればよいが、原稿の下地色や裏写りを除去する構成としては、画像読取装置によって原稿を読み取って得られるデータを入力画像データとするのが好ましい。かかる構成によれば、画像読取装置によって本来不要な下地色や裏写りを読み取ってしまう場合であってもこれらを適切に除去することができる。   Here, the input image data may be data in which colors are specified for a plurality of pixels, and is usually one color component (such as brightness) for a monochrome image, and usually three color components for a color image. Any data may be used as long as the gradation is designated for each. The image data input means only needs to be able to input such input image data. However, as a configuration for removing the background color and show-through of the original, data obtained by reading the original with an image reading device is used as the input image. It is preferable to use data. According to such a configuration, even when a background color or show-through that is originally unnecessary is read by the image reading device, these can be appropriately removed.

色変換手段において、入力画像データを出力画像データに変換する際には、各画像データにて採用している表色系を変換することができればよい。すなわち、入力画像データはこのデータを生成する際(例えば、画像読取装置によって読み取る際)に採用している表色系にて色を表現したデータであり、出力画像データは出力装置(例えば、印刷装置)にて使用する表色系で色を表現したデータである。これらのように、画像読取装置や印刷装置で使用するデータで表現される色は、通常、機器依存色である。従って、両表色系の色成分が一致していてもその階調値が示す色が一致としているとは言えず、色変換手段においては、入力画像データの各画素についてその色と同じ色を示すデータになるように出力画像データを生成する。   In the color conversion means, when the input image data is converted into the output image data, it is sufficient that the color system employed in each image data can be converted. That is, the input image data is data representing colors in the color system employed when generating this data (for example, when reading by the image reading device), and the output image data is the output device (for example, printing) Data representing the color in the color system used in the apparatus. As described above, the color expressed by the data used in the image reading apparatus or the printing apparatus is usually a device-dependent color. Therefore, even if the color components of both color systems match, it cannot be said that the color indicated by the gradation value is the same, and the color conversion means selects the same color as that color for each pixel of the input image data. Output image data is generated so as to be the data shown.

通常は、プロファイルを参照して色変換を行う。すなわち、複数の色について表色系の対応関係を規定した色変換テーブルや関数によって表色系の対応関係を規定したプロファイル等によって色変換を行う。むろん、プロファイルとしては、入力画像データにおける表色系と出力画像データにおける表色系とを直接的に対応づけたプロファイルでも良いし、入力画像データと他の表色系(例えば、機器非依存色空間)とを対応づけた第1プロファイルと、出力画像データと他の表色系(例えば、機器非依存色空間)とを対応づけた第2プロファイルを参照して色変換を行っても良い。むろん、予めプロファイルを作成しておき、このプロファイルを参照することによって閾値以下の明度域で明度が滑らかに変化するよう変換する構成の他、入力画像データに対する処理、例えば、出力を行うための処理を実施するたびに本発明にかかる色変換を実施する構成でも良く、種々の構成を採用可能である。   Usually, color conversion is performed with reference to a profile. That is, color conversion is performed using a color conversion table or a function that defines the correspondence between the color systems using a color conversion table or a function that defines the correspondence between the color systems. Of course, the profile may be a profile in which the color system in the input image data is directly associated with the color system in the output image data, or the input image data and other color systems (for example, device-independent colors). Color conversion may be performed with reference to a first profile that associates (space) with the second profile that associates output image data with another color system (for example, a device-independent color space). Of course, in addition to a configuration in which a profile is created in advance and conversion is performed so that the brightness changes smoothly in the brightness range below the threshold by referring to this profile, processing for input image data, for example, processing for output The color conversion according to the present invention may be performed every time the operation is performed, and various configurations may be employed.

所定の閾値は、それより大きな明度域に除去すべき裏写りの色および下地色が含まれるように決定すればよい。このような閾値を超える色を一定の明度の色に変換することで、裏写りおよび下地色の除去が可能である。また、当該閾値以下の明度域で明度が滑らかに変化するように変換するためには種々の構成を採用可能である。すなわち、上記閾値以下の明度域で明度が急激に変化することを防止し、この結果トーンジャンプの発生を抑えられるように変換できればよい。   The predetermined threshold value may be determined so that the show-through color and the background color to be removed are included in a brightness range larger than that. By converting the color exceeding the threshold value into a color having a certain brightness, the show-through and the background color can be removed. In addition, various configurations can be employed for conversion so that the brightness changes smoothly in the brightness range below the threshold value. That is, it is only necessary that conversion can be performed so as to prevent the lightness from changing suddenly in the lightness range equal to or lower than the threshold value, and to suppress the occurrence of tone jump.

この変換を行う色空間としては、明度を色成分に含む色空間を採用するのが好ましい。すなわち、この変換における変換対象は明度であるため明度を色成分に含む色空間であれば非常に容易に変換を行うことができる。明度を色変換に含む色空間としてはL*a*b*色空間やL*u*v*色空間等の機器非依存色空間が挙げられる。また、明度を含まない色空間、例えば、RGB色空間において、明度に相当する値を算出すること可能であるので、RGBの各成分を変化させることによって明度に相当する値を調整することが可能である。しかし、直接的に明度を変更するわけではないため、明度が滑らかに変化することを確実に担保することは困難である。一方、明度を色成分に含む色空間で処理を行えば、明度を直接的に変更するので、明度変化が滑らかになることを確実に担保することができる。 As a color space for performing this conversion, it is preferable to employ a color space including lightness as a color component. That is, since the conversion target in this conversion is lightness, conversion can be performed very easily if the color space includes lightness as a color component. Examples of color spaces that include lightness in color conversion include device-independent color spaces such as the L * a * b * color space and the L * u * v * color space. In addition, since it is possible to calculate a value corresponding to lightness in a color space that does not include lightness, for example, an RGB color space, it is possible to adjust a value corresponding to lightness by changing each component of RGB. It is. However, since the brightness is not directly changed, it is difficult to ensure that the brightness changes smoothly. On the other hand, if the processing is performed in a color space that includes the lightness in the color component, the lightness is directly changed, so that it is possible to ensure that the lightness change becomes smooth.

前記色変換手段において、閾値以下の明度を滑らかに変化させるための具体的な一例として、前記閾値以下の明度域で明度を滑らかに変化させる指標として、前記閾値以下の明度域における複数の明度について出力値を設定し、これら複数の明度に基づいて形成された滑らかな入出力曲線に基づいて入力明度を出力明度に変換する構成としてもよい。すなわち、滑らかに変化させるための指標としての複数の点を予め指定しておき、この指標に基づいて滑らかな入出力曲線を発生させるのである。すなわち、意図された滑らかさを実現しつつ、予め用意しておくデータ量を少なく出来る。   As a specific example for smoothly changing the brightness below the threshold in the color conversion means, as an index for smoothly changing the brightness in the brightness area below the threshold, a plurality of brightness in the brightness area below the threshold An output value may be set, and the input lightness may be converted into the output lightness based on a smooth input / output curve formed based on the plurality of lightnesses. That is, a plurality of points are designated in advance as indices for smoothly changing, and a smooth input / output curve is generated based on the indices. That is, the amount of data prepared in advance can be reduced while realizing the intended smoothness.

さらに、様々な原稿種類に基づく入力データの下地色や裏写りにフレキシブルに対応可能とするための構成例として、前記色変換手段に前記閾値の変更を受付ける閾値受付手段を備えさせ、前記閾値以下の明度域で明度を滑らかに変化させる範囲に対して下限が設定されており、前記閾値以下で且つ前記下限以上の範囲において明度が滑らかに変化するように変換するように構成してもよい。すなわちユーザの適宜の判断に基づく閾値の変更を受付けて、下地色や裏移りの除去レベルを高めると共に、この除去レベルの変更に伴って高濃度領域(低明度領域)にまで除去が影響しないように、色変換手段によって明度を変換可能な範囲に下限を設定しておく。従って、黒文字品質等、暗部への影響を防止可能となる。なお、下限については、入力画像データの原稿種類に合わせて、各々設定されてもよい。   Further, as a configuration example for making it possible to flexibly cope with the background color and show-through of input data based on various document types, the color conversion unit is provided with a threshold receiving unit that receives the change of the threshold, and is equal to or less than the threshold A lower limit is set for a range in which the lightness is smoothly changed in the lightness region, and the lightness may be smoothly changed in the range below the threshold and above the lower limit. That is, the threshold value change based on the user's appropriate judgment is accepted to increase the removal level of the background color and the show-off, and the removal does not affect the high density region (low brightness region) with the change of the removal level. In addition, a lower limit is set in a range in which the lightness can be converted by the color conversion means. Accordingly, it is possible to prevent the influence on the dark part such as the quality of black characters. The lower limit may be set according to the document type of the input image data.

さらに、前記下限値を設ける構成のより具体的な構成の一例として、前記色変換手段は、前記閾値以下の明度域で明度を滑らかに変化させる指標として、前記閾値以下の明度域における複数の明度について出力値を設定し、これら複数の明度に基づいて形成された滑らかな入出力曲線に基づいて入力明度を出力明度に変換し、前記閾値受付手段が前記閾値の変更を受付けると、これに伴って前記複数の明度が変更され、該変更によって前記複数の明度が前記下限以下にシフトされた場合は、前記複数の明度に対して最小値を前記下限にする補正と前記複数の明度の間隔比率を一定に保つ補正とを行う構成としても良い。すなわち、前記滑らかな変換を実現させるために、複数の明度について出力値を設定しておき、これらの明度に基づいて入力明度を出力明度に変換するのであるが、前記閾値の変更に伴ってこれら複数の明度の何れかが下限値以下となる場合には、前記閾値の変更の前後で前記複数の明度の間隔の比率が保たれるように変更する。よって、暗部への影響を防止し且つ滑らかな変換を保つことが可能となる。   Furthermore, as an example of a more specific configuration in which the lower limit value is provided, the color conversion unit may use a plurality of brightness values in the brightness range below the threshold as an index for smoothly changing the brightness in the brightness range below the threshold. When an output value is set for the input value, the input lightness is converted into an output lightness based on a smooth input / output curve formed based on the plurality of lightness values, and the threshold value accepting unit accepts the change of the threshold value. When the plurality of brightness values are changed and the plurality of brightness values are shifted to the lower limit or less due to the change, a correction that sets a minimum value to the lower limit for the plurality of brightness values and an interval ratio of the plurality of brightness values It is good also as a structure which performs correction | amendment which keeps constant. That is, in order to realize the smooth conversion, output values are set for a plurality of brightness values, and input brightness values are converted into output brightness values based on these brightness values. If any of the plurality of brightness values is equal to or lower than the lower limit value, the ratio is changed so that the ratio of the plurality of brightness intervals is maintained before and after the change of the threshold value. Therefore, it is possible to prevent the influence on the dark part and keep smooth conversion.

なお、前記閾値や前記複数の明度については、前記入力画像データを作成する際の作成条件に合わせて異なる明度変化となるように色変換を行えばよく、前記特定の領域についても、前記作成条件に合わせて色空間内で異なる領域内の色を対象とすることが可能である。   For the threshold value and the plurality of brightness values, color conversion may be performed so as to have different brightness changes in accordance with the creation conditions when creating the input image data. It is possible to target colors in different regions in the color space.

上述した画像処理装置は、他の機器に組み込まれた状態で実施されたり他の方法とともに実施されたりする等の各種の態様を含む。また、本発明は上記画像処理装置を備える画像処理システムや複写装置、上述した装置の構成に対応した工程を有する制御方法、上述した装置の構成に対応した機能をコンピュータに実現させるプログラム、該プログラムを記録したコンピュータ読み取り可能な記録媒体、等としても実現可能である。これら画像処理システム、複写装置、画像処理方法、画像処理プログラム、該プログラムを記録した媒体、の発明も、上述した作用、効果を奏する。むろん、請求項2に記載した構成も、前記システムや前記方法や前記プログラムや前記記録媒体に適用可能である。 The above-described image processing apparatus includes various modes such as being implemented in a state where it is incorporated in another device or being implemented together with another method. The present invention also provides an image processing system and a copying apparatus provided with the image processing apparatus, a control method having steps corresponding to the configuration of the apparatus described above, a program for causing a computer to implement functions corresponding to the configuration of the apparatus described above, and the program It can also be realized as a computer-readable recording medium on which is recorded. The inventions of the image processing system, the copying apparatus, the image processing method, the image processing program, and the medium on which the program is recorded also have the above-described operations and effects. Needless to say, the configuration described in claim 2 is also applicable to the system, the method, the program, and the recording medium.

以下、下記の順序に従って本発明の実施形態を説明する。
(1)複写装置の構成:
(2)複写処理:
(2−1)プロファイル作成処理:
(3)他の実施形態:
(4)まとめ:
Hereinafter, embodiments of the present invention will be described in the following order.
(1) Configuration of copying machine:
(2) Copy processing:
(2-1) Profile creation processing:
(3) Other embodiments:
(4) Summary:

(1)複写装置の構成:
図1は、本発明にかかる画像処理装置の一実施形態としての複写装置の外形を示す斜視図である。同図に示すように、本発明の一実施形態に係る複写装置10は、スキャナ部20とプリンタ部40とそれらに接続された操作部30とによって構成されている。図2は、複写装置のハードウェア構成を示すブロック図である。同図に示すように、複写装置10は、CPU11とRAM12とROM13とデータ保持部14とスキャナ部20とプリンタ部40と操作部30とを備えている。CPU11はRAM12をワークメモリとしながらROM13に格納された各種制御プログラムを実行する。データ保持部14は、ハードディスクやEEPROM等の記憶手段によって構成される。
(1) Configuration of copying machine:
FIG. 1 is a perspective view showing an outer shape of a copying apparatus as an embodiment of an image processing apparatus according to the present invention. As shown in FIG. 1, a copying apparatus 10 according to an embodiment of the present invention includes a scanner unit 20, a printer unit 40, and an operation unit 30 connected thereto. FIG. 2 is a block diagram illustrating a hardware configuration of the copying apparatus. As shown in the figure, the copying apparatus 10 includes a CPU 11, a RAM 12, a ROM 13, a data holding unit 14, a scanner unit 20, a printer unit 40, and an operation unit 30. The CPU 11 executes various control programs stored in the ROM 13 while using the RAM 12 as a work memory. The data holding unit 14 is configured by storage means such as a hard disk or an EEPROM.

スキャナ部20は、ADF(Auto Document Feeder)にセットされている原稿を原稿読取部に搬送し、その原稿上の画像を読みとる装置である。このとき、読みとった画像は入力画像データによって表現され、本実施形態においては、複数の画素によって画像を構成するとともに画素毎にRGB(レッド、グリーン、ブルー)の各色濃度を階調表現している。スキャナ部20は、CPU11の実行する制御プログラムによって読取動作を実現する。   The scanner unit 20 is a device that conveys a document set in an ADF (Auto Document Feeder) to a document reading unit and reads an image on the document. At this time, the read image is expressed by input image data. In the present embodiment, an image is constituted by a plurality of pixels, and each color density of RGB (red, green, blue) is expressed by gradation for each pixel. . The scanner unit 20 realizes a reading operation by a control program executed by the CPU 11.

より具体的には、読取部20bが原稿に光を照射する光源(LED等)とその反射光を検出するセンサ(CCD等)と原稿の搬送機構とを備えており、CPU11は読取制御部20aを介して読取部20bを制御する。これにより、原稿の搬送および原稿上に記録された内容のデジタルデータ化が行われる。すなわち、RGB毎の入力画像データが生成される。   More specifically, the reading unit 20b includes a light source (such as an LED) that irradiates light on the document, a sensor (such as a CCD) that detects reflected light, and a document transport mechanism, and the CPU 11 reads the reading control unit 20a. The reading unit 20b is controlled via As a result, the document is transported and the contents recorded on the document are converted into digital data. That is, input image data for each RGB is generated.

データ保持部14には、スキャナ部20による読取結果として得られる入力画像データをL*a*b*表色系の座標値に変換するためのスキャナプロファイルが記録されている。スキャナプロファイルはスキャナ部20で読取る原稿の種別毎に予め作成されており、当該原稿の種別毎に保持されている。尚、データ保持部14はプロファイルを示すデータを保持することができれば良く、マスクROMでも良いし、EEPROM等の書き換え可能なメモリであっても良い。 The data holding unit 14 records a scanner profile for converting input image data obtained as a result of reading by the scanner unit 20 into coordinate values of the L * a * b * color system. A scanner profile is created in advance for each type of document to be read by the scanner unit 20, and is stored for each type of document. The data holding unit 14 may be a mask ROM or a rewritable memory such as an EEPROM as long as it can hold data indicating a profile.

操作部30は、ユーザに対してコピー条件等を提示し、また、ユーザからの操作を受付ける処理を担うとともに、本発明にかかる色変換を実施するための補正プロファイルを作成する。そのために、原稿種別や印刷用紙の大きさなどユーザに情報を提供する表示部30b(LCD等)とユーザ所望の情報を入力するための操作入力部30a(押しボタンやタッチパネル等)とを備えている。CPU11は、これら表示部30bや操作入力部30aに対する制御を行う他、データ保持部14に保持されたスキャナプロファイルやプリンタプロファイルを参照して補正プロファイルを作成する処理を行う。   The operation unit 30 presents copy conditions and the like to the user, takes charge of processing for accepting an operation from the user, and creates a correction profile for performing color conversion according to the present invention. For this purpose, a display unit 30b (such as an LCD) that provides information to the user such as the document type and the size of the printing paper and an operation input unit 30a (such as a push button and a touch panel) for inputting user-desired information are provided. Yes. In addition to controlling the display unit 30b and the operation input unit 30a, the CPU 11 performs a process of creating a correction profile with reference to the scanner profile and printer profile held in the data holding unit 14.

すなわち、データ保持部14には予め原稿の種別毎に閾値を示すデータ、明度変化の様子を示す明度データが保持されており、CPU11はこれらのデータを参照するとともにデータ保持部14からスキャナプロファイルやプリンタプロファイルを取得し、これらのデータに基づいて補正プロファイルを作成する。作成された補正プロファイルは、データ保持部14に記録される。尚、補正プロファイルを作成するための処理の詳細は後述する。   That is, the data holding unit 14 holds data indicating a threshold value for each type of document and lightness data indicating a change in lightness in advance, and the CPU 11 refers to these data and from the data holding unit 14 the scanner profile and the like. A printer profile is acquired, and a correction profile is created based on these data. The created correction profile is recorded in the data holding unit 14. Details of processing for creating a correction profile will be described later.

本実施形態において、CPU11は当該補正プロファイルを参照して色変換を行う処理も実施する。すなわち、スキャナ部20から入力画像データを取得し、補正プロファイルを参照して入力画像データを色変換し、出力画像データを取得する。そして、当該出力画像データをプリンタ部40に出力する。この結果、上記補正プロファイルによる色変換を反映した印刷結果を得ることができる。   In the present embodiment, the CPU 11 also performs a process of performing color conversion with reference to the correction profile. That is, input image data is acquired from the scanner unit 20, color conversion is performed on the input image data with reference to the correction profile, and output image data is acquired. Then, the output image data is output to the printer unit 40. As a result, it is possible to obtain a printing result reflecting the color conversion by the correction profile.

尚、出力画像データは、複数の画素によって画像を構成するとともに画素毎にRGB(レッド、グリーン、ブルー)の各色濃度を階調表現したデータである。但し、上記入力画像データはスキャナにおけるRGB表色系で色を表現し、出力画像データはプリンタにおけるRGB表色系で色を表現しており、両者の色成分値が一致していたとしてもその色成分値に対応する色が一致するとは限らない。すなわち、両表色系にて特定される色は機器依存色である。そこで、補正プロファイルによって両RGB表色系の色変換を実施できるように構成している。補正プロファイルは、両RGB表色系での色変換を実施できるように構成されていれば良く、色変換テーブルでも良いし、関数を示すデータであっても良い。   The output image data is data in which an image is constituted by a plurality of pixels and each color density of RGB (red, green, blue) is expressed by gradation for each pixel. However, the input image data expresses colors in the RGB color system of the scanner, and the output image data expresses colors in the RGB color system of the printer. Even if the color component values of the two match, The colors corresponding to the color component values do not always match. That is, the color specified in both color systems is a device-dependent color. Therefore, the configuration is such that color conversion of both RGB color systems can be performed by the correction profile. The correction profile only needs to be configured to perform color conversion in both RGB color systems, and may be a color conversion table or data indicating a function.

また、所定の画像処理は画像処理部50(カスタムIC等)によって実施され、印刷用紙に対して記録材を記録する処理は印刷制御部40aおよびプリントエンジン40bによって実施される。すなわち、CPU11は、上記操作部30からの指示に基づき、データの授受処理を行い、適宜画像処理を実施させる処理を担っており、操作部30が出力する出力画像データを取得すると、当該出力画像データに対する処理を画像処理部50に実施させる。画像処理部50は、プロファイルを参照した色変換とハーフトーン処理を実施するICであり、上記出力画像データが示す色を出力するための記録材量を特定したハーフトーンデータを生成する。   The predetermined image processing is performed by the image processing unit 50 (custom IC or the like), and the process of recording the recording material on the printing paper is performed by the print control unit 40a and the print engine 40b. That is, the CPU 11 performs a data transfer process based on an instruction from the operation unit 30 and appropriately performs image processing. When the output image data output by the operation unit 30 is acquired, the output image is obtained. The image processing unit 50 is made to process the data. The image processing unit 50 is an IC that performs color conversion and halftone processing with reference to a profile, and generates halftone data specifying a recording material amount for outputting the color indicated by the output image data.

尚、記録材の色は特に限定されないが、例えば、CMYK(シアン、マゼンタ、イエロー、ブラック)を採用可能である。この場合、画像処理部50は、RGB表色系の出力画像データについて色変換し、CMYKの各色について記録材使用量に対応した階調値を生成し、この階調値の階調数を減少させてハーフトーンデータを生成する。   The color of the recording material is not particularly limited, but for example, CMYK (cyan, magenta, yellow, black) can be used. In this case, the image processing unit 50 performs color conversion on the output image data of the RGB color system, generates a gradation value corresponding to the recording material usage amount for each color of CMYK, and reduces the number of gradations of the gradation value. To generate halftone data.

プリントエンジン40bは、図示しない感光体ユニットや露光ユニット現像ユニット、印刷用紙の搬送ユニット等を備えており、ハーフトーンデータに従って、感光体にトナーを転写し、さらに印刷用紙にトナーを転写して定着させることによって印刷を実行する。当該プリントエンジン40bは印刷制御部40aによって制御され、印刷制御部40aは上記ハーフトーンデータを受け取って、当該ハーフトーンデータに従って記録材を記録するように各ユニットを制御する。   The print engine 40b includes a photoconductor unit, an exposure unit developing unit, a printing paper transport unit, and the like (not shown). The toner is transferred to the photoconductor according to the halftone data, and further, the toner is transferred to the printing paper and fixed. To execute printing. The print engine 40b is controlled by a print control unit 40a, and the print control unit 40a receives the halftone data and controls each unit to record a recording material according to the halftone data.

画像処理部50による色変換処理は、データ保持部14に保持されたプロファイルを参照しながら実施される。データ保持部14には、印刷プロファイルとして、印刷条件に対応した複数種類のプロファイルが記録されている。また、印刷条件毎に、上記出力画像データ(RGB値)とL*a*b*表色系との座標値を対応づけたプリンタプロファイルと、前記出力画像データと記録材(トナー)の色を色成分とした色空間の座標値とを対応づけたトナー変換プロファイルとが記録されている。画像処理部50は、上記トナー変換プロファイルを参照して、記録材の色を色成分とした色空間の座標値を取得する。この色変換の結果、上記出力画像データが示す色で画像を形成するための記録材の使用量が特定される。 The color conversion process by the image processing unit 50 is performed with reference to the profile held in the data holding unit 14. A plurality of types of profiles corresponding to printing conditions are recorded in the data holding unit 14 as printing profiles. In addition, for each printing condition, a printer profile that associates the coordinate values of the output image data (RGB values) and the L * a * b * color system, the color of the output image data and the recording material (toner) A toner conversion profile in which color space coordinate values as color components are associated is recorded. The image processing unit 50 refers to the toner conversion profile and acquires coordinate values of a color space in which the color of the recording material is a color component. As a result of this color conversion, the usage amount of the recording material for forming an image with the color indicated by the output image data is specified.

(2)複写処理:
本実施形態においては、CPU11の処理により複写を実施する。図3は、複写処理のゼネラルフローチャートである。複写に際しては、CPU11が図3に示すフローチャートに従って処理を行い、複写条件の設定を行う(ステップS100)。すなわち、操作部30の表示部30bに、複写に際しての読取条件と印刷条件とを選択する選択画面が表示されており、利用者は当該選択画面を視認しながら、操作入力部30aを介して読取条件および印刷条件を設定する。
(2) Copy processing:
In the present embodiment, copying is performed by the processing of the CPU 11. FIG. 3 is a general flowchart of the copying process. At the time of copying, the CPU 11 performs processing according to the flowchart shown in FIG. 3 and sets copy conditions (step S100). That is, a selection screen for selecting a reading condition and a printing condition at the time of copying is displayed on the display unit 30b of the operation unit 30, and the user reads through the operation input unit 30a while viewing the selection screen. Set the conditions and printing conditions.

読取条件としては各種の条件を採用可能であり、例えば、読取対象の原稿の種別、原稿サイズ、下地色や裏写りを除去(以下、背景除去と称する。)するレベル等を設定する。印刷条件としても各種の条件を採用可能であり、例えば、印刷用紙サイズや印刷時の色(モノクロ、カラーの指定)等を設定する。複写条件を設定すると、CPU11はスキャナ部20に読取開始を指示する指示データを出力する。スキャナ部20が該指示データを取得すると、CPU11は読取制御部20aに指示を出す。すると該読取制御部20aの制御によりADF上に載置された原稿が搬送され、当該原稿上の画像を示す入力画像データを取得する(ステップS110)。取得された入力画像データは、操作部30へ出力される。   Various conditions can be adopted as the reading conditions. For example, the type of the original to be read, the original size, the background color and the level at which the show-through is removed (hereinafter referred to as background removal) are set. Various conditions can be adopted as the printing conditions. For example, the printing paper size and the color at the time of printing (monochrome, color designation) are set. When the copying conditions are set, the CPU 11 outputs instruction data for instructing the scanner unit 20 to start reading. When the scanner unit 20 acquires the instruction data, the CPU 11 issues an instruction to the reading control unit 20a. Then, the document placed on the ADF is conveyed under the control of the reading control unit 20a, and input image data indicating an image on the document is acquired (step S110). The acquired input image data is output to the operation unit 30.

本実施形態においては、当該入力画像データに含まれ得る下地色や裏写りを除去するとともに、この除去に起因してトーンジャンプが発生することを防止(以下、トーンジャンプ防止と称する)しながら色変換を実施するように構成されており、この色変換を実施するために上記補正プロファイルを作成する(ステップS120)。作成された補正プロファイルは上述のようにデータ保持部14に保持されており、CPU11は当該補正プロファイルを参照し、上記ステップS110で取得した入力画像データに対して色変換処理を実施する(ステップS130)。   In the present embodiment, the background color and the show-through that can be included in the input image data are removed, and the tone jump is prevented from occurring due to the removal (hereinafter referred to as tone jump prevention). Conversion is performed, and the correction profile is created in order to perform this color conversion (step S120). The created correction profile is held in the data holding unit 14 as described above, and the CPU 11 refers to the correction profile and performs color conversion processing on the input image data acquired in step S110 (step S130). ).

この色変換処理によって出力画像データを作成したら、CPU11が当該出力画像データをプリンタ部40へ出力し、プリンタ部40が当該出力画像データに基づいて印刷を行う(ステップS140)。すなわち、CPU11が、上記印刷条件に従って印刷を実行するようにプリンタ部40を制御する。例えば、CPU11が印刷制御部40aに指示を出し、指定された印刷用紙が蓄積されたカセットから印刷用紙を引き出して搬送する。   When the output image data is created by this color conversion processing, the CPU 11 outputs the output image data to the printer unit 40, and the printer unit 40 performs printing based on the output image data (step S140). That is, the CPU 11 controls the printer unit 40 so as to execute printing according to the printing conditions. For example, the CPU 11 issues an instruction to the print control unit 40a, pulls out the printing paper from the cassette in which the designated printing paper is accumulated, and conveys it.

また、CPU11が画像処理部50に対して色数(モノクロあるいはカラー)を指示する。画像処理部50は、指示された色数で印刷を実行するためのトナー変換プロファイルを参照し、色変換を行う。さらに、画像処理部50がハーフトーン処理を行い、印刷制御部40aがハーフトーン処理後のデータに基づいてプリントエンジン40bを制御する。この結果、補正プロファイルによる変換が反映された状態で印刷用紙に画像が記録される。   Further, the CPU 11 instructs the image processing unit 50 on the number of colors (monochrome or color). The image processing unit 50 performs color conversion with reference to the toner conversion profile for executing printing with the specified number of colors. Further, the image processing unit 50 performs halftone processing, and the print control unit 40a controls the print engine 40b based on the data after the halftone processing. As a result, an image is recorded on the printing paper in a state where the conversion by the correction profile is reflected.

(2−1)プロファイル作成処理:
本実施形態においては、前記補正プロファイルを作成するにあたり、背景除去とともに明度が滑らかに変化するように変換を行う補正プロファイルを作成する。このようにして作成された補正プロファイルを参照して色変換処理を実施することによって、背景除去するとともにこの除去に起因してトーンジャンプが発生しないようになる。以下、補正プロファイルの作成処理を詳述する。
(2-1) Profile creation processing:
In the present embodiment, in creating the correction profile, a correction profile is created that performs conversion so that the brightness changes smoothly with background removal. By performing the color conversion process with reference to the correction profile created in this way, the background is removed and tone jump does not occur due to this removal. The correction profile creation process will be described in detail below.

図4は、補正プロファイルを作成する処理の一実施例におけるフローチャートである。処理が開始されるとステップS200において、CPU11は、前記ステップS100で設定された原稿種別を示す情報を取得し、この原稿種別に対応したスキャナプロファイルを取得する。CPU11は、当該スキャナプロファイルを示すデータをRAM12に一時記憶する。スキャナプロファイルには、L*a*b*値とスキャナにおけるRGB値との対応関係が定義されている。 FIG. 4 is a flowchart in an embodiment of a process for creating a correction profile. When the process is started, in step S200, the CPU 11 acquires information indicating the document type set in step S100, and acquires a scanner profile corresponding to the document type. The CPU 11 temporarily stores data indicating the scanner profile in the RAM 12. The scanner profile defines a correspondence relationship between L * a * b * values and RGB values in the scanner.

続くステップS205において、CPU11は、前記ステップS110で設定された印刷条件を示す情報を取得し、この印刷条件に対応したプリンタプロファイルを取得する。CPU11は、当該プリンタプロファイルを示すデータをRAM12に一時記憶する。プリンタプロファイルには、L*a*b*値とプリンタにおけるRGB値との対応関係が定義されている。 In subsequent step S205, the CPU 11 acquires information indicating the printing conditions set in step S110, and acquires a printer profile corresponding to the printing conditions. The CPU 11 temporarily stores data indicating the printer profile in the RAM 12. The printer profile defines the correspondence between L * a * b * values and RGB values in the printer.

スキャナプロファイルで定義されたRGB値に対応するL*a*b*値について、同じL*a*b*値に対応するRGB値をプリンタプロファイルから算出すれば、カラーマッチングがなされるようにスキャナのRGB値とプリンタのRGB値とを対応づけることができる。この対応付けを行う際に、スキャナプロファイルで定義されたRGB値に対応するL*a*b*値を他の値に変換し、当該変換後のL*a*b*値に対応するRGB値をプリンタプロファイルから算出すれば、スキャナ部20において読み取った色を所望の色に変換した状態でスキャナのRGB値とプリンタのRGB値とを対応づけることができる。 For L * a * b * values corresponding to RGB values defined in the scanner profile, if the RGB values corresponding to the same L * a * b * values are calculated from the printer profile, the scanner's color matching will be performed. The RGB value and the RGB value of the printer can be associated with each other. When this association is performed, the L * a * b * value corresponding to the RGB value defined in the scanner profile is converted to another value, and the RGB value corresponding to the converted L * a * b * value Is calculated from the printer profile, the RGB value of the scanner can be associated with the RGB value of the printer in a state where the color read by the scanner unit 20 is converted into a desired color.

そこで、本実施形態においては、L*a*b*空間にて地色/裏写り除去とともに明度を滑らかに変化させるようにカラーマッチングを行うこととし、閾値と明度データを利用して色対応関係の変換を行う。本実施形態のように、入出力変換をL*a*b*色空間で行うことにより、変換前後の色相および彩度を維持することが非常に容易である。RGB表色系など、明度を含まない表色系において明度を変化させることは可能であるが、明度のみを変化させるのが非常に困難である。しかし、L*a*b*空間であれば、色味を維持したまま変換を実施することが可能である。尚、人間の目は、明度,彩度,色相のうち明度変化に最も敏感であるので、明度の変化が滑らかであることにより、トーンジャンプが発生しているという印象を非常に効果的に抑えることができる。 Therefore, in the present embodiment, color matching is performed in the L * a * b * space so that the brightness is changed smoothly along with the ground color / show-through removal, and the color correspondence relationship using the threshold value and the brightness data. Perform the conversion. By performing the input / output conversion in the L * a * b * color space as in this embodiment, it is very easy to maintain the hue and saturation before and after the conversion. Although it is possible to change the brightness in a color system that does not include brightness, such as the RGB color system, it is very difficult to change only the brightness. However, in the L * a * b * space, it is possible to perform conversion while maintaining the color. Since the human eye is most sensitive to lightness changes among lightness, saturation, and hue, the smooth change in lightness suppresses the impression that a tone jump has occurred very effectively. be able to.

続くステップS210では、CPU11は、データ保持部14から原稿種別に応じた閾値および明度データを取得し、ステップS100で設定された背景除去レベルを取得する。閾値および明度データ(座標値)は、上記原稿種別毎にデータ保持部14に記録されている。従って、原稿種別毎に下地色が異なり、また、裏写りの程度が異なる場合であっても各原稿種別に対応して適切に背景除去し、各原稿種別に対応して滑らかに明度を変化させることができる。以下、閾値と明度データと背景除去レベルの役割について詳説する。   In the subsequent step S210, the CPU 11 acquires the threshold value and brightness data corresponding to the document type from the data holding unit 14, and acquires the background removal level set in step S100. The threshold value and brightness data (coordinate values) are recorded in the data holding unit 14 for each document type. Therefore, even if the background color differs for each document type and the degree of show-through varies, the background is appropriately removed according to each document type, and the brightness is smoothly changed according to each document type. be able to. The role of threshold value, brightness data, and background removal level will be described in detail below.

閾値は、L*a*b*空間にて下地色や裏写りの除去を行う範囲を示しており、L*a*b*色空間の座標値(L* T,a* T,b* T)で下地色や裏写りの除去対象となる色を特定している。すなわち、この閾値L* T以上の明度を持つ色については、一律に明度が最大値(例えば、階調値域0〜100における階調値100)に変換される。この閾値L* Tは、上記請求項における所定の閾値に相当する。 Threshold, L * a * b * space indicates the range for removing the background color and show-through at, L * a * b * coordinates of the color space (L * T, a * T , b * T ) Specifies the color to be removed from the base color and show-through. That is, for a color having a lightness equal to or higher than the threshold value L * T, the lightness is uniformly converted to the maximum value (for example, the gradation value 100 in the gradation value range 0 to 100). This threshold value L * T corresponds to a predetermined threshold value in the above claims.

このように特定階調範囲の明度を変換すると、該特定階調範囲外の色との間にトーンジャンプが発生する。そこで本実施形態では、閾値L* Tの前後で明度を滑らかに変化させるために、閾値L* Tよりも低明度側の明度変化の様子を明度データによって指定する。明度データは、複数の点で構成されるものであり、図5を参照して説明を行う。 When the lightness of the specific gradation range is converted in this way, a tone jump occurs between colors outside the specific gradation range. In this embodiment, in order to smoothly change the brightness before and after the threshold L * T, specifies how the brightness change of the low-brightness side by brightness data than the threshold L * T. The brightness data is composed of a plurality of points, and will be described with reference to FIG.

図5は、本実施形態における入出力変換を説明する説明図である。すなわち入出力変換を示す2次元グラフ上の座標値(上述の明度データ)で明度変化の様子を特定している。同図において、横軸は入力値、縦軸は出力値に相当する。本実施形態においては、スキャナプロファイルにおけるL*値(L* s)を入力値とし、プリンタプロファイルにおけるL*値(L* p)を出力値としている。本実施形態において明度変化を示す座標値は予め5個用意されている。以下、この5個の座標値を(L* s [i], L* p [i])(i=0,1,2,3,4)と表記することにする。 FIG. 5 is an explanatory diagram illustrating input / output conversion in the present embodiment. That is, the state of lightness change is specified by the coordinate value (the lightness data described above) on the two-dimensional graph indicating input / output conversion. In the figure, the horizontal axis corresponds to the input value, and the vertical axis corresponds to the output value. In this embodiment, the L * value (L * s ) in the scanner profile is an input value, and the L * value (L * p ) in the printer profile is an output value. In the present embodiment, five coordinate values indicating a change in brightness are prepared in advance. Hereinafter, these five coordinate values will be expressed as (L * s [i], L * p [i]) (i = 0, 1, 2, 3, 4).

図5においては、各座標値を黒丸で示しており、i=0からi=4まで順にiが大きくなるに連れてL* s [i]が大きくなるように定義してある。本実施形態において、各座標値はベジェ曲線の制御点に相当し、(L* s [0], L* p [0])がベジェ曲線の始点、(L* s [4], L* p [4])がベジェ曲線の終点となる。 In FIG. 5, each coordinate value is indicated by a black circle, and is defined such that L * s [i] increases as i increases in order from i = 0 to i = 4. In this embodiment, each coordinate value corresponds to a control point of a Bezier curve, and (L * s [0], L * p [0]) is the start point of the Bezier curve, and (L * s [4], L * p [4]) is the end point of the Bezier curve.

また、本実施形態においては、5個の座標値のうち最大のL* s [4]は、閾値L* Tに一致させてある。従って、黒丸に基づいて滑らかなベジェ曲線を定義し、閾値L* Tに対して滑らかに連結することができる。よって、閾値L* T付近の色が滑らかに変化する画像が含まれていたとしても、明度が段階的に急激に変化することがないのでトーンジャンプの発生を抑えることができる。 In the present embodiment, the maximum L * s [4] of the five coordinate values is matched with the threshold L * T. Therefore, a smooth Bezier curve can be defined based on the black circle and smoothly connected to the threshold L * T. Therefore, even if an image in which the color in the vicinity of the threshold L * T changes smoothly is included, the lightness does not change abruptly, so that the occurrence of tone jump can be suppressed.

背景除去レベルは、読取原稿の状態や読取試行結果に合わせてユーザが設定するものである。背景除去レベルに合わせて閾値が変更され、該閾値の変更に伴って必要であれば明度データの修正が実行される。背景除去レベルと閾値と明度データの対応関係は、例えば、図6に示すような関係になる。すなわち、背景除去レベルを上昇させると閾値L* Tが低下して、より高濃度の下地や裏写りまで除去可能となる。ただし、閾値L* Tの低下に伴い、該閾値L* Tと同一明度に設定される明度データのL* s [4]が低下し、他の明度データも低下することになる。 The background removal level is set by the user in accordance with the state of the read document and the reading trial result. The threshold value is changed in accordance with the background removal level, and the brightness data is corrected if necessary in accordance with the change of the threshold value. The correspondence relationship between the background removal level, the threshold value, and the brightness data is, for example, as shown in FIG. That is, when the background removal level is increased, the threshold value L * T is lowered, and it becomes possible to remove even higher density background and show-through. However, as the threshold value L * T decreases, the brightness data L * s [4] set to the same brightness as the threshold value L * T decreases, and the other brightness data also decreases.

このとき明度データL* s [0]〜L* s [4]それぞれの間隔を維持すると、図6の背景除去レベル4,5の場合のように、トーンジャンプ防止のためのベジェ曲線が低明度領域にシフトしてしまい、黒文字品質を劣化させる可能性が発生する。そこで、一定明度以下にベジェ曲線がシフトしないように下限値L* minを設けることにする。なお、階調値が変更されると黒文字品質に影響する階調範囲は、印刷用紙やインクの性質や原稿の種類によって異なるものであるので、下限値L* minは、原稿種別や印刷条件や印刷機の種類によって各々設定されるものである。 At this time, if the intervals of the lightness data L * s [0] to L * s [4] are maintained, the Bezier curve for tone jump prevention has a low lightness as in the case of the background removal levels 4 and 5 in FIG. There is a possibility of shifting to the area and degrading the quality of black characters. Therefore, the lower limit L * min is set so that the Bezier curve does not shift below a certain brightness. Note that the gradation range that affects the quality of black characters when the gradation value is changed varies depending on the nature of the printing paper and ink and the type of document, so the lower limit L * min is the document type, printing conditions, It is set for each type of printing press.

図7は、明度データの下限値L* minを設定しなかった場合に、背景除去レベルの上昇により明度データのL* s [0]が下限値L* minを下回る状態を説明するグラフである。同図に示すように、背景除去レベルの強化前には、全明度データが下限値L* minよりも高明度側にあるが、背景除去レベルが強化されると、各明度データの間隔が維持されたまま全明度データが低階調側にシフトし、図7の下図のようにL* s [0]がL* minを下回ってしまうことがある。そこで、黒文字品質に影響を与えないように、明度データを調整する。 FIG. 7 is a graph for explaining a state in which L * s [0] of brightness data falls below the lower limit L * min due to an increase in the background removal level when the brightness data lower limit L * min is not set. . As shown in the figure, before the background removal level is strengthened, all brightness data is on the higher brightness side than the lower limit L * min , but when the background removal level is strengthened, the interval of each brightness data is maintained. As a result, the entire brightness data may shift to the low gradation side, and L * s [0] may fall below L * min as shown in the lower diagram of FIG. Therefore, the brightness data is adjusted so as not to affect the quality of black characters.

図8は、明度データの調整の仕方を説明する図である。同図には、本実施形態において明度データ調整の対象とするL* s [0]〜L* s [2]と下限値L* minとを入力明度軸上にプロットしてある。なお、本実施形態においては、5個の明度データのうち、低明度の3個の間隔を調整の対象としたが、無論、これは一例であり、入出力トーンカーブが滑らかに変更されるのであれば、他の明度データも調整対象としても構わない。 FIG. 8 is a diagram for explaining how to adjust the brightness data. In the figure, L * s [0] to L * s [2] and the lower limit L * min , which are objects of brightness data adjustment in this embodiment, are plotted on the input brightness axis. In this embodiment, among the five brightness data, three low-lightness intervals are targeted for adjustment. Of course, this is an example, and the input / output tone curve is smoothly changed. If there is, other brightness data may be adjusted.

図8に示すように、明度データの調整は、明度データ調整の前後で調整対象となる各明度データ間隔の比率が維持されるように行われる。同図において、L* s [0]とL* s [1]の入力明度軸上における間隔をΔL* 1とし、L* s [1]とL* s [2]の入力明度軸上における間隔をΔL* 2とする。背景除去レベルの上昇に伴ってL* s [0]<L* minとなり、L* s [0]=L* minに修正されると、L* s [1]はL* s [1]'に修正され、L* s [2]はL* s [2]'に修正される。L* s [0]'とL* s [1]'の入力明度軸上における間隔をΔL* 1'とし、L* s [1]'とL* s [2]'の入力明度軸上における間隔をΔL* 2'とする。このとき、ΔL* 1:ΔL* 2=a:bとすると、ΔL* 1':ΔL* 2'=a:bとなるように明度データの間隔が調整される。なお、図8には、入力明度についてのみ記載してあるが、同様の間隔調整が、出力明度についても実行される。 As shown in FIG. 8, the brightness data adjustment is performed so that the ratio of the brightness data intervals to be adjusted is maintained before and after the brightness data adjustment. In the figure, the interval on the input brightness axis between L * s [0] and L * s [1] is ΔL * 1, and the interval on the input brightness axis between L * s [1] and L * s [2] Is ΔL * 2 . When the background removal level increases, L * s [0] <L * min , and when L * s [0] = L * min is corrected, L * s [1] becomes L * s [1] ' L * s [2] is corrected to L * s [2] '. Let L * s [0] 'and L * s [1]' on the input brightness axis be ΔL * 1 ', and L * s [1]' and L * s [2] 'on the input brightness axis. Let the interval be ΔL * 2 ′. At this time, if ΔL * 1 : ΔL * 2 = a: b, the interval of the brightness data is adjusted so that ΔL * 1 ′: ΔL * 2 ′ = a: b. In FIG. 8, only the input brightness is described, but the same interval adjustment is executed for the output brightness.

すなわちステップS212では、前記ステップS100で取得した背景除去レベルに応じて、ステップS210で取得した閾値を変化させ、該閾値の変化に合わせて明度データを変化させる。このステップで予め後述のS235,S240で実行される明度データ間隔の比率を補正する処理を実行しても構わない。   That is, in step S212, the threshold acquired in step S210 is changed according to the background removal level acquired in step S100, and the brightness data is changed in accordance with the change in the threshold. In this step, the process of correcting the ratio of the brightness data intervals executed in S235 and S240 described later may be executed in advance.

図4に示すフローチャートでは、スキャナプロファイルに定義されたL* s値を逐次変換することによって処理を進める。このため、まず、カウンタnを0に初期化する(ステップS215)。すなわち、スキャナプロファイルに定義された複数の色において、その色をカウンタnで区別し(L* sn,a* sn,b* sn)として区別し、各色について処理を行う。各色について符号を付して各色の区別を定義したら、閾値L* Tが100より小さいか否かを判断する(ステップS220)。 In the flowchart shown in FIG. 4, the process proceeds by sequentially converting L * s values defined in the scanner profile. For this reason, first, the counter n is initialized to 0 (step S215). That is, among a plurality of colors defined in the scanner profile, the colors are distinguished by the counter n (L * sn , a * sn , b * sn ), and processing is performed for each color. After the color is assigned with a sign to define the distinction of each color, it is determined whether or not the threshold L * T is smaller than 100 (step S220).

ステップS220にて閾値L* Tが100以上と判断されたときには、明度L* snに対して本発明にかかる入出力変換を行う必要がないので、明度に関する変換を実施しないように設定する。すなわち、変数L0にL* snを代入する(ステップS275)。この場合、後の処理において入出力変換を行わずに、L* snに対応するプリンタのRGB値を算出することになる。 When it is determined in step S220 that the threshold value L * T is 100 or more, since it is not necessary to perform the input / output conversion according to the present invention for the lightness L * sn , it is set so that the lightness conversion is not performed. That is, substituting the L * sn variable L 0 (step S275). In this case, the RGB value of the printer corresponding to L * sn is calculated without performing input / output conversion in the subsequent processing.

ステップS225にて閾値L* Tが100より小さいと判断されたときには、明度L* snが上記座標値における始点L* s [0]と終点L* s [4]との間に存在するか否か判断する(ステップS225)。ステップS225にて明度L* snが始点と終点との間に存在すると判断されないときには、明度L* snに対して本発明にかかる入出力変換を行う必要がないのでステップS265〜S267を実施する。 If it is determined in step S225 that the threshold value L * T is smaller than 100, whether or not the lightness L * sn exists between the start point L * s [0] and the end point L * s [4] in the above coordinate values. (Step S225). If it is not determined in step S225 that the lightness L * sn exists between the start point and the end point, steps S265 to S267 are performed because it is not necessary to perform input / output conversion according to the present invention on the lightness L * sn .

すなわち、明度L* snが閾値L* Tより大きいか否かを判断し(ステップS265)、ステップS265にて明度L* snが閾値L* Tより大きいと判断されれば、入出力変換後の出力値を代入するための変数L0に最大値(100)を代入する(ステップS270)。この場合、後の処理において明度を最大値に変換することになる。ステップS265にて明度L* snが閾値L* Tより大きいと判断されなければ、上記ステップS275を実施する。 That is, it is determined whether or not the lightness L * sn is greater than the threshold value L * T (step S265). If it is determined in step S265 that the lightness L * sn is greater than the threshold value L * T , input / output conversion is performed. The maximum value (100) is substituted into the variable L 0 for substituting the output value (step S270). In this case, the brightness is converted to the maximum value in the subsequent processing. If it is not determined in step S265 that the lightness L * sn is greater than the threshold value L * T , step S275 is performed.

ステップS230にて明度L* snが始点と終点との間に存在すると判断されたときには、始点L* s [0]がL* minよりも大きいか否かを判断する(S230)。ステップS230にて始点L* s [0]がL* minよりも大きいと判断された場合は、ステップS245に進む。一方、始点L* s [0]がL* min以下であると判断された場合は、図7,8に示すようにL* s [0]をL* minに修正し(ステップS235)、L* s [0]とL* s [1]とL* s [2]の間隔を調整してステップS245に進む(S240)。 When it is determined in step S230 that the lightness L * sn exists between the start point and the end point, it is determined whether the start point L * s [0] is larger than L * min (S230). If it is determined in step S230 that the start point L * s [0] is larger than L * min , the process proceeds to step S245. On the other hand, when it is determined that the starting point L * s [0] is equal to or less than L * min , L * s [0] is corrected to L * min as shown in FIGS. 7 and 8 (step S235), and L The interval between * s [0], L * s [1] and L * s [2] is adjusted and the process proceeds to step S245 (S240).

ステップS245においては、上記座標値(L* s [i],L* p [i])を通るベジェ曲線を作成する。ここでは、各座標値を滑らかに結ぶ曲線によって入出力関係を定義することができれば良く、ベジェ曲線を算出する各種のアルゴリズムによって入出力関係を定義することができる。ベジェ曲線を作成したら、当該ベジェ曲線に基づいて処理対象となっている色の明度L* snを明度L* pnに変換し、上記変数L0に変換後の明度L* pnを代入する(ステップS250)。 In step S245, a Bezier curve passing through the coordinate values (L * s [i], L * p [i]) is created. Here, the input / output relationship only needs to be defined by a curve smoothly connecting the coordinate values, and the input / output relationship can be defined by various algorithms for calculating a Bezier curve. After creating the Bezier curve, it converts the lightness L * sn color to be processed based on the Bezier curve lightness L * p n, substituting lightness L * p n after conversion into the variable L 0 (Step S250).

尚、ステップS250、S270における変換によってa*値やb*値を維持すると、プリンタ部40の色域外の色になってしまう場合には、色域内の色を指定するようにa*値やb*を変換するのが好ましい。そこで、L0=100であるか否かを判断し(ステップS252)、L0=100である場合は、通常彩度方向に色域が広がっていないので、a*=b*=0とする(ステップS253)。L0=100でない場合は彩度の変更は行わずにステップS255に進む。 If the a * value and b * value are maintained by the conversion in steps S250 and S270, if the color becomes out of the color gamut of the printer unit 40, the a * value or b is specified so that the color in the color gamut is designated. It is preferable to convert * . Therefore, it is determined whether or not L 0 = 100 (step S252). If L 0 = 100, the color gamut is not widened in the normal saturation direction, so a * = b * = 0. (Step S253). If L 0 = 100 is not satisfied, the process proceeds to step S255 without changing the saturation.

ステップS275、S253を実施した後には、スキャナプロファイルを参照して、明度L* snに対応するスキャナのRGB値を算出する。さらに、プリンタプロファイルを参照して座標値(L0,a* sn,b* sn)に対応するプリンタのRGB値を算出する。そして、両RGB値を対応づけて補正プロファイルを構成するデータの一部を作成し、データ保持部14に記録する(ステップS255)。 After performing steps S275 and S253, the scanner profile corresponding to the lightness L * sn is calculated with reference to the scanner profile. Further, the printer RGB value of the printer corresponding to the coordinate values (L 0 , a * sn , b * sn ) is calculated with reference to the printer profile. Then, a part of the data constituting the correction profile is created by associating both RGB values and recorded in the data holding unit 14 (step S255).

以上の処理を終了すると、カウンタnが上限値(スキャナプロファイルに定義された色数)に達したか否かを判断することによって、処理対象とすべきデータについて総て処理が終了したか否かを判断する(ステップS260)。ステップS260にて総て処理が終了したと判断されないときには、カウンタnをインクリメント(ステップS280)してステップS225以降の処理を繰り返す。ステップS260にて総て処理が終了したと判断されると、プロファイルとして定義すべき総ての色について上記ステップS255における処理が終了したことになり、補正プロファイルの作成/記録が完了する。   When the above processing is completed, it is determined whether the counter n has reached the upper limit value (the number of colors defined in the scanner profile), thereby determining whether processing has been completed for all data to be processed. Is determined (step S260). If it is not determined in step S260 that all the processes have been completed, the counter n is incremented (step S280), and the processes in and after step S225 are repeated. If it is determined in step S260 that all the processes have been completed, the process in step S255 has been completed for all colors to be defined as profiles, and the creation / recording of the correction profile is completed.

(3)他の実施形態:
以上説明した実施形態は本発明を実現するための例であり、他にも種々の構成を採用可能である。例えば、上記実施形態においては、スキャナ部20と操作部30とプリンタ部40とで、制御部(CPU12やCPU13やデータ保持部14)をまとめて記載したが、無論、各部に各々制御部を備えて、各制御部が通信を行って連動した処理を実行する校正としても構わない。また、制御部は、CPUが所定のプログラムに従って補正プロファイルを作成する構成の他、本発明を実現するカスタムICチップで実現されても良い。
(3) Other embodiments:
The embodiment described above is an example for realizing the present invention, and various other configurations can be adopted. For example, in the above embodiment, the control unit (the CPU 12, the CPU 13, and the data holding unit 14) is collectively described by the scanner unit 20, the operation unit 30, and the printer unit 40. Of course, each unit includes a control unit. Thus, calibration may be performed in which each control unit performs communication and performs linked processing. In addition to the configuration in which the CPU creates a correction profile according to a predetermined program, the control unit may be implemented by a custom IC chip that implements the present invention.

さらに、上述の実施形態ではスキャナ部20とプリンタ部40とが一体になった複写装置10で本発明を実現していたが、汎用的なコンピュータに対してスキャナとプリンタとを接続して複写処理を実施する構成において、当該汎用的なコンピュータあるいはスキャナ、プリンタで補正プロファイルを作成しても良い。むろん、プリンタ部40で使用する記録材の色数は4色に限られないし、プリンタがインクジェットプリンタであっても良い。   Further, in the above-described embodiment, the present invention is realized by the copying apparatus 10 in which the scanner unit 20 and the printer unit 40 are integrated. However, the copying process is performed by connecting the scanner and the printer to a general-purpose computer. In the configuration in which the correction profile is implemented, the correction profile may be created by the general-purpose computer, the scanner, or the printer. Of course, the number of colors of the recording material used in the printer unit 40 is not limited to four, and the printer may be an inkjet printer.

さらに、上述のように明度を滑らかに変化させるための座標値は5個に限定されるわけではなく、例えば、始点と終点とを指定したベジェ曲線であっても良い。また、曲線を形成するためのアルゴリズムとしてもベジェ曲線に限られず、他にも種々の曲線を採用可能である。   Furthermore, the coordinate values for smoothly changing the brightness as described above are not limited to five, and may be, for example, a Bezier curve in which a start point and an end point are specified. Further, the algorithm for forming the curve is not limited to the Bezier curve, and various other curves can be employed.

さらに、上述の実施形態のように複写処理の度に補正プロファイルを作成する構成が必須ではなく、予め補正プロファイルを作成しメモリに保持しておいても良い。また、補正プロファイルを作成するのではなく、入力画像データを取得し、上記図4に示す変換と同等の変換を行って出力画像データを生成する構成であっても良い。むろん、補正プロファイルとしてはスキャナのRGB値とプリンタのRGB値とを対応づけるプロファイルの他、上記入出力変換を示すプロファイルを作成し、複写の際にこのプロファイルとスキャナプロファイルとプリンタプロファイルとを参照して変換を行う構成であっても良い。   Further, a configuration for creating a correction profile for each copying process as in the above-described embodiment is not essential, and a correction profile may be created in advance and stored in a memory. Further, instead of creating a correction profile, it is possible to obtain input image data and perform output equivalent to the conversion shown in FIG. 4 to generate output image data. Of course, as the correction profile, in addition to the profile that associates the RGB value of the scanner with the RGB value of the printer, a profile indicating the above input / output conversion is created, and this profile, the scanner profile, and the printer profile are referred to during copying. The conversion may be performed.

(4)まとめ:
以上説明したように、本実施形態においては、複数の画素の色を指定した入力画像データをスキャナ部20から入力し、入力画像データを変換してプリンタ部40での出力色を示す出力画像データを取得するにあたり、明度が所定の閾値L* Tを超える色をL=100に変換するとともに、閾値L* T以下の明度域で明度が滑らかに変化するように変換し、該変換後の色についてL=100を有する色がL*a*b*空間の所定彩度領域内且つ所定色相角領域内の色である場合には該色の彩度を0に変換することにより、下地や裏写り等を除去しつつ、明度方向のみならず彩度方向や色相方向におけるトーンジャンプの発生を防止可能とする。
(4) Summary:
As described above, in the present embodiment, input image data designating the colors of a plurality of pixels is input from the scanner unit 20, and the input image data is converted to output image data indicating the output color in the printer unit 40. , The color whose lightness exceeds the predetermined threshold L * T is converted to L = 100, and the lightness is smoothly changed in the lightness range below the threshold L * T. When a color having L = 100 is a color in a predetermined saturation region and a predetermined hue angle region of L * a * b * space, the saturation of the color is converted to 0, so that It is possible to prevent the occurrence of tone jumps not only in the brightness direction but also in the saturation direction and the hue direction while removing the reflection and the like.

なお、本発明は上述した実施形態や変形例に限られず、上述した実施形態および変形例の中で開示した各構成を相互に置換したり組み合わせを変更したりした構成、公知技術並びに上述した実施形態および変形例の中で開示した各構成を相互に置換したり組み合わせを変更したりした構成、等も含まれる。   Note that the present invention is not limited to the above-described embodiments and modifications, and the structures disclosed in the above-described embodiments and modifications are mutually replaced, the combinations are changed, the known technique, and the above-described implementations. Configurations in which the configurations disclosed in the embodiments and modifications are mutually replaced or the combinations are changed are also included.

複写装置を示す図である。1 is a diagram illustrating a copying apparatus. 複写装置のブロック構成図である。1 is a block configuration diagram of a copying apparatus. 複写処理のゼネラルフローチャートである。It is a general flowchart of a copying process. 補正プロファイル作成処理のフローチャートである。It is a flowchart of a correction profile creation process. 入出力変換を説明する説明図である。It is explanatory drawing explaining input-output conversion. 背景除去レベルと閾値と明度データの対応関係を示す表である。It is a table | surface which shows the correspondence of a background removal level, a threshold value, and brightness data. 背景除去レベルの上昇に伴い変化する明度データを示したグラフである。It is the graph which showed the brightness data which change with a raise of a background removal level. 明度データの調整の仕方を説明する図である。It is a figure explaining how to adjust brightness data.

符号の説明Explanation of symbols

10…複写装置、11…CPU、12…RAM、13…ROM、14…データ保持部、20…スキャナ部、20a…読取制御部、20b…読取部、30…操作部、30a…操作入力部、30b…表示部、40…プリンタ部、40a…印刷制御部、40b…プリントエンジン、50…画像処理部 DESCRIPTION OF SYMBOLS 10 ... Copy apparatus, 11 ... CPU, 12 ... RAM, 13 ... ROM, 14 ... Data holding part, 20 ... Scanner part, 20a ... Reading control part, 20b ... Reading part, 30 ... Operation part, 30a ... Operation input part, 30b ... display unit, 40 ... printer unit, 40a ... print control unit, 40b ... print engine, 50 ... image processing unit

Claims (7)

複数の画素の色を指定した入力画像データを入力する画像データ入力手段と、
前記入力画像データを変換して出力装置での出力色を示す出力画像データを取得するにあたり、明度が所定の閾値を超える色を最高明度に変換するとともに、前記閾値以下の明度域で明度が滑らかに変化するように変換し、該変換後の色について最高明度を有する色が色空間中の特定の領域内の色である場合に該色の彩度を0に変換する色変換手段と、を備え
前記色変換手段は、
前記閾値の変更を受付ける閾値受付手段を備え、
前記閾値以下の明度域で明度を滑らかに変化させる範囲に対して下限が設定されており、かつ、前記閾値以下の明度域で明度を滑らかに変化させる指標として前記閾値以下の明度域における複数の明度について出力値を設定し、これら複数の明度に基づいて形成された滑らかな入出力曲線に基づいて入力明度を出力明度に変換することにより、前記閾値以下で且つ前記下限以上の範囲において明度が滑らかに変化するように変換し、
前記閾値受付手段が前記閾値の変更を受付けると、これに伴って前記複数の明度が変更され、該変更によって前記複数の明度が前記下限以下にシフトされた場合は、前記複数の明度に対して最小値を前記下限にする補正と前記複数の明度の間隔比率を一定に保つ補正とを行う、ことを特徴とする画像処理装置。
Image data input means for inputting input image data designating the colors of a plurality of pixels;
In obtaining the output image data indicating the output color in the output device by converting the input image data, the color whose brightness exceeds a predetermined threshold is converted to the maximum brightness, and the brightness is smooth in the brightness range below the threshold. Color conversion means for converting the saturation of the color to 0 when the color having the highest brightness with respect to the color after conversion is a color within a specific region in the color space, Prepared ,
The color conversion means includes
A threshold receiving means for receiving a change in the threshold;
A lower limit is set for the range in which the brightness is smoothly changed in the brightness area below the threshold value, and a plurality of brightness values in the brightness area below the threshold value are set as indices for smoothly changing the brightness in the brightness area below the threshold value. By setting an output value for the lightness, and converting the input lightness to the output lightness based on a smooth input / output curve formed based on the plurality of lightnesses, the lightness is within the range below the threshold and above the lower limit. Convert to change smoothly,
When the threshold value accepting unit accepts the change of the threshold value, the plurality of brightness values are changed accordingly, and when the plurality of brightness values are shifted to the lower limit or less due to the change, the plurality of brightness values are changed. An image processing apparatus , wherein correction for setting a minimum value to the lower limit and correction for maintaining a constant interval ratio of the plurality of brightness values are performed .
前記色変換手段は、前記入力画像データを作成する際の作成条件が異なる場合に、色空間内で異なる領域内の色を対象とし、異なる明度変化となるように色変換を行う請求項1に記載の画像処理装置。 The color conversion unit, when creating conditions for generating the input image data is different, the color of the different areas in the color space as a target in claim 1 for performing the color conversion so that different brightness change The image processing apparatus described. 複数の画素の色を指定した入力画像データを入力する画像データ入力工程と、
前記入力画像データを変換して出力装置での出力色を示す出力画像データを取得するにあたり、明度が所定の閾値を超える色を最高明度に変換するとともに、前記閾値以下の明度域で明度が滑らかに変化するように変換し、該変換後の色について最高明度を有する色が色空間中の特定の領域内の色である場合に該色の彩度を0に変換する色変換工程と、を備え
前記色変換工程は、
前記閾値の変更を受付ける閾値受付工程を備え、
前記閾値以下の明度域で明度を滑らかに変化させる範囲に対して下限が設定されており、かつ、前記閾値以下の明度域で明度を滑らかに変化させる指標として前記閾値以下の明度域における複数の明度について出力値を設定し、これら複数の明度に基づいて形成された滑らかな入出力曲線に基づいて入力明度を出力明度に変換することにより、前記閾値以下で且つ前記下限以上の範囲において明度が滑らかに変化するように変換し、
前記閾値受付工程において前記閾値の変更を受付けると、これに伴って前記複数の明度が変更され、該変更によって前記複数の明度が前記下限以下にシフトされた場合は、前記複数の明度に対して最小値を前記下限にする補正と前記複数の明度の間隔比率を一定に保つ補正とを行う、ことを特徴とする画像処理方法。
An image data input step of inputting input image data designating the colors of a plurality of pixels;
In obtaining the output image data indicating the output color in the output device by converting the input image data, the color whose brightness exceeds a predetermined threshold is converted to the maximum brightness, and the brightness is smooth in the brightness range below the threshold. A color conversion step of converting the saturation of the color to 0 when the color having the highest brightness with respect to the color after conversion is a color within a specific region in the color space, Prepared ,
The color conversion step includes
A threshold acceptance step for accepting a change in the threshold;
A lower limit is set for the range in which the brightness is smoothly changed in the brightness area below the threshold value, and a plurality of brightness values in the brightness area below the threshold value are set as indices for smoothly changing the brightness in the brightness area below the threshold value. By setting an output value for the lightness, and converting the input lightness to the output lightness based on a smooth input / output curve formed based on the plurality of lightnesses, the lightness is within the range below the threshold and above the lower limit. Convert to change smoothly,
When the change of the threshold is accepted in the threshold acceptance step, the plurality of brightnesses are changed accordingly, and when the plurality of brightnesses are shifted to the lower limit or less by the change, the plurality of brightnesses are changed. An image processing method comprising: performing a correction for setting a minimum value to the lower limit and a correction for maintaining a constant interval ratio of the plurality of brightness values .
画像処理プログラムであって、
複数の画素の色を指定した入力画像データを入力する画像データ入力機能と、
前記入力画像データを変換して出力装置での出力色を示す出力画像データを取得するにあたり、明度が所定の閾値を超える色を最高明度に変換するとともに、前記閾値以下の明度域で明度が滑らかに変化するように変換し、該変換後の色について最高明度を有する色が色空間中の特定の領域内の色である場合に該色の彩度を0に変換する色変換機能と、をコンピュータに実現させ
前記色変換機能は、
前記閾値の変更を受付ける閾値受付機能を備え、
前記閾値以下の明度域で明度を滑らかに変化させる範囲に対して下限が設定されており、かつ、前記閾値以下の明度域で明度を滑らかに変化させる指標として前記閾値以下の明度域における複数の明度について出力値を設定し、これら複数の明度に基づいて形成された滑らかな入出力曲線に基づいて入力明度を出力明度に変換することにより、前記閾値以下で且つ前記下限以上の範囲において明度が滑らかに変化するように変換し、
前記閾値受付機能により前記閾値の変更を受付けると、これに伴って前記複数の明度が変更され、該変更によって前記複数の明度が前記下限以下にシフトされた場合は、前記複数の明度に対して最小値を前記下限にする補正と前記複数の明度の間隔比率を一定に保つ補正とを行う、ことを特徴とする画像処理プログラム。
An image processing program,
An image data input function for inputting input image data specifying colors of a plurality of pixels,
In obtaining the output image data indicating the output color in the output device by converting the input image data, the color whose brightness exceeds a predetermined threshold is converted to the maximum brightness, and the brightness is smooth in the brightness range below the threshold. A color conversion function for converting the saturation of the color to 0 when the color having the highest brightness for the converted color is a color within a specific region in the color space, to realize the computer,
The color conversion function is
A threshold acceptance function for accepting a change in the threshold;
A lower limit is set for the range in which the brightness is smoothly changed in the brightness area below the threshold value, and a plurality of brightness values in the brightness area below the threshold value are set as indices for smoothly changing the brightness in the brightness area below the threshold value. By setting an output value for the lightness, and converting the input lightness to the output lightness based on a smooth input / output curve formed based on the plurality of lightnesses, the lightness is within the range below the threshold and above the lower limit. Convert to change smoothly,
When the change of the threshold value is received by the threshold value reception function, the plurality of brightness values are changed accordingly, and when the plurality of brightness values are shifted to the lower limit or less by the change, the plurality of brightness values are changed. An image processing program characterized by performing correction for setting a minimum value to the lower limit and correction for maintaining a constant interval ratio of the plurality of brightness values .
原稿を読み取って複数の画素について画像の色を指定した入力画像データを入力する原稿読取手段と、
前記入力画像データを変換して出力装置での出力色を示す出力画像データを取得するにあたり、明度が所定の閾値を超える色を最高明度に変換するとともに、前記閾値以下の明度域で明度が滑らかに変化するように変換し、該変換後の色について最高明度を有する色が色空間中の特定の領域内の色である場合に該色の彩度を0に変換する色変換手段と、
上記出力画像データに基づいて印刷装置に印刷を実行させる印刷制御手段と、を具備し、
前記色変換手段は、
前記閾値の変更を受付ける閾値受付手段を備え、
前記閾値以下の明度域で明度を滑らかに変化させる範囲に対して下限が設定されており、かつ、前記閾値以下の明度域で明度を滑らかに変化させる指標として前記閾値以下の明度域における複数の明度について出力値を設定し、これら複数の明度に基づいて形成された滑らかな入出力曲線に基づいて入力明度を出力明度に変換することにより、前記閾値以下で且つ前記下限以上の範囲において明度が滑らかに変化するように変換し、
前記閾値受付手段が前記閾値の変更を受付けると、これに伴って前記複数の明度が変更され、該変更によって前記複数の明度が前記下限以下にシフトされた場合は、前記複数の明度に対して最小値を前記下限にする補正と前記複数の明度の間隔比率を一定に保つ補正とを行う、ことを特徴とする複写装置。
A document reading means for reading the document and inputting input image data specifying the color of the image for a plurality of pixels;
In obtaining the output image data indicating the output color in the output device by converting the input image data, the color whose brightness exceeds a predetermined threshold is converted to the maximum brightness, and the brightness is smooth in the brightness range below the threshold. Color conversion means for converting the saturation of the color to 0 when the color having the highest brightness with respect to the color after the conversion is a color within a specific region in the color space;
Printing control means for causing the printing apparatus to execute printing based on the output image data ,
The color conversion means includes
A threshold receiving means for receiving a change in the threshold;
A lower limit is set for the range in which the brightness is smoothly changed in the brightness area below the threshold value, and a plurality of brightness values in the brightness area below the threshold value are set as indices for smoothly changing the brightness in the brightness area below the threshold value. By setting an output value for the lightness, and converting the input lightness to the output lightness based on a smooth input / output curve formed based on the plurality of lightnesses, the lightness is within the range below the threshold and above the lower limit. Convert to change smoothly,
When the threshold value accepting unit accepts the change of the threshold value, the plurality of brightness values are changed accordingly, and when the plurality of brightness values are shifted to the lower limit or less due to the change, the plurality of brightness values are changed. A copying apparatus , wherein a correction for setting a minimum value to the lower limit and a correction for maintaining a constant interval ratio of the plurality of brightness values are performed .
原稿を読み取って複数の画素について画像の色を指定した入力画像データを入力する原稿読取工程と、
前記入力画像データを変換して出力装置での出力色を示す出力画像データを取得するにあたり、明度が所定の閾値を超える色を最高明度に変換するとともに、前記閾値以下の明度域で明度が滑らかに変化するように変換し、該変換後の色について最高明度を有する色が色空間中の特定の領域内の色である場合に該色の彩度を0に変換する色変換工程と、
上記出力画像データに基づいて印刷装置に印刷を実行させる印刷制御工程と、を具備し、
前記色変換工程は、
前記閾値の変更を受付ける閾値受付工程を備え、
前記閾値以下の明度域で明度を滑らかに変化させる範囲に対して下限が設定されており、かつ、前記閾値以下の明度域で明度を滑らかに変化させる指標として前記閾値以下の明度域における複数の明度について出力値を設定し、これら複数の明度に基づいて形成された滑らかな入出力曲線に基づいて入力明度を出力明度に変換することにより、前記閾値以下で且つ前記下限以上の範囲において明度が滑らかに変化するように変換し、
前記閾値受付工程において前記閾値の変更を受付けると、これに伴って前記複数の明度が変更され、該変更によって前記複数の明度が前記下限以下にシフトされた場合は、前記複数の明度に対して最小値を前記下限にする補正と前記複数の明度の間隔比率を一定に保つ補正とを行う、ことを特徴とする複写方法。
A document reading step of reading the document and inputting input image data specifying the color of the image for a plurality of pixels;
In obtaining the output image data indicating the output color in the output device by converting the input image data, the color whose brightness exceeds a predetermined threshold is converted to the maximum brightness, and the brightness is smooth in the brightness range below the threshold. A color conversion step of converting the saturation of the color to 0 when the color having the highest brightness with respect to the converted color is a color within a specific region in the color space;
A printing control step for causing the printing apparatus to execute printing based on the output image data ,
The color conversion step includes
A threshold acceptance step for accepting a change in the threshold;
A lower limit is set for the range in which the brightness is smoothly changed in the brightness area below the threshold value, and a plurality of brightness values in the brightness area below the threshold value are set as indices for smoothly changing the brightness in the brightness area below the threshold value. By setting an output value for the lightness, and converting the input lightness to the output lightness based on a smooth input / output curve formed based on the plurality of lightnesses, the lightness is within the range below the threshold and above the lower limit. Convert to change smoothly,
When the change of the threshold is accepted in the threshold acceptance step, the plurality of brightnesses are changed accordingly, and when the plurality of brightnesses are shifted to the lower limit or less by the change, the plurality of brightnesses are changed. A copying method comprising: performing a correction for setting a minimum value to the lower limit and a correction for maintaining a constant interval ratio of the plurality of brightness values .
複写プログラムであって、
原稿を読み取って複数の画素について画像の色を指定した入力画像データを入力する原稿読取機能と、
前記入力画像データを変換して出力装置での出力色を示す出力画像データを取得するにあたり、明度が所定の閾値を超える色を最高明度に変換するとともに、前記閾値以下の明度域で明度が滑らかに変化するように変換し、該変換後の色について最高明度を有する色が色空間中の特定の領域内の色である場合に該色の彩度を0に変換する色変換機能と、
上記出力画像データに基づいて印刷装置に印刷を実行させる印刷制御機能と、をコンピュータに実現させ
前記色変換機能は、
前記閾値の変更を受付ける閾値受付機能を備え、
前記閾値以下の明度域で明度を滑らかに変化させる範囲に対して下限が設定されており、かつ、前記閾値以下の明度域で明度を滑らかに変化させる指標として前記閾値以下の明度域における複数の明度について出力値を設定し、これら複数の明度に基づいて形成された滑らかな入出力曲線に基づいて入力明度を出力明度に変換することにより、前記閾値以下で且つ前記下限以上の範囲において明度が滑らかに変化するように変換し、
前記閾値受付機能により前記閾値の変更を受付けると、これに伴って前記複数の明度が変更され、該変更によって前記複数の明度が前記下限以下にシフトされた場合は、前記複数の明度に対して最小値を前記下限にする補正と前記複数の明度の間隔比率を一定に保つ補正とを行う、ことを特徴とする複写プログラム。
A copying program,
An original reading function for reading an original and inputting input image data in which the color of the image is designated for a plurality of pixels;
In obtaining the output image data indicating the output color in the output device by converting the input image data, the color whose brightness exceeds a predetermined threshold is converted to the maximum brightness, and the brightness is smooth in the brightness range below the threshold. A color conversion function for converting the saturation of the color to 0 when the color having the highest brightness with respect to the converted color is a color within a specific region in the color space;
Causing a computer to implement a print control function that causes a printing apparatus to execute printing based on the output image data ,
The color conversion function is
A threshold acceptance function for accepting a change in the threshold;
A lower limit is set for the range in which the brightness is smoothly changed in the brightness area below the threshold value, and a plurality of brightness values in the brightness area below the threshold value are set as indices for smoothly changing the brightness in the brightness area below the threshold value. By setting an output value for the lightness, and converting the input lightness to the output lightness based on a smooth input / output curve formed based on the plurality of lightnesses, the lightness is within the range below the threshold and above the lower limit. Convert to change smoothly,
When the change of the threshold value is received by the threshold value reception function, the plurality of brightness values are changed accordingly, and when the plurality of brightness values are shifted to the lower limit or less by the change, the plurality of brightness values are changed. A copying program , wherein a correction for setting a minimum value to the lower limit and a correction for maintaining a constant interval ratio of the plurality of brightness values are performed .
JP2008163140A 2008-06-23 2008-06-23 Image processing apparatus, image processing method, image processing program, copying apparatus, copying method, and copying program Expired - Fee Related JP5067277B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008163140A JP5067277B2 (en) 2008-06-23 2008-06-23 Image processing apparatus, image processing method, image processing program, copying apparatus, copying method, and copying program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008163140A JP5067277B2 (en) 2008-06-23 2008-06-23 Image processing apparatus, image processing method, image processing program, copying apparatus, copying method, and copying program

Publications (2)

Publication Number Publication Date
JP2010004448A JP2010004448A (en) 2010-01-07
JP5067277B2 true JP5067277B2 (en) 2012-11-07

Family

ID=41585740

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008163140A Expired - Fee Related JP5067277B2 (en) 2008-06-23 2008-06-23 Image processing apparatus, image processing method, image processing program, copying apparatus, copying method, and copying program

Country Status (1)

Country Link
JP (1) JP5067277B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015181218A (en) 2014-01-24 2015-10-15 船井電機株式会社 Image scanning device and image scanning method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001223897A (en) * 2000-02-07 2001-08-17 Ricoh Co Ltd Picture processor
JP2005115768A (en) * 2003-10-09 2005-04-28 Brother Ind Ltd Image processing method, apparatus, and system, and image forming apparatus, and image processing system
JP2006067233A (en) * 2004-08-26 2006-03-09 Seiko Epson Corp Device and method for processing picture, picture processing program, copier, copying method and copying program

Also Published As

Publication number Publication date
JP2010004448A (en) 2010-01-07

Similar Documents

Publication Publication Date Title
US9361557B2 (en) Image processing apparatus and control method for performing screen processing
US8395832B2 (en) Image processing apparatus
US7903872B2 (en) Image-processing apparatus and method, computer program, and storage medium
US9247105B2 (en) Image forming apparatus and image forming method therefor
US20080030814A1 (en) Image determining apparatus, image determining method, image enhancing apparatus, and image enhancing method
JP4368833B2 (en) Image processing apparatus, image processing method, image forming apparatus, program, and recording medium
JP2007067964A (en) Image processing device, image forming apparatus, image reading device, image processing method, image processing program, and computer readable recording medium with image processing program recorded thereon
JP6808325B2 (en) Image processing equipment, image processing methods and programs
JP2003209708A (en) Image processing method, image processor, image forming device, program, and recording medium
JP2008103987A (en) Image processor
JPH07107291A (en) Color picture forming device
JP3736535B2 (en) Document type identification device
JP7034742B2 (en) Image forming device, its method and program
JP5067277B2 (en) Image processing apparatus, image processing method, image processing program, copying apparatus, copying method, and copying program
JP7266462B2 (en) IMAGE PROCESSING APPARATUS, IMAGE FORMING APPARATUS, IMAGE PROCESSING METHOD AND PROGRAM
JP4545766B2 (en) Image processing apparatus, image forming apparatus, image reading apparatus, image processing program, and recording medium
JP4083823B2 (en) Image processing device
JP6995594B2 (en) Information processing equipment, information processing methods and programs
JP4359730B2 (en) Monotone conversion apparatus, monotone conversion method, and medium recording monotone conversion program
JP4882847B2 (en) Image forming apparatus
JP4315027B2 (en) Image background removal technology
JP2006067233A (en) Device and method for processing picture, picture processing program, copier, copying method and copying program
JP2020069717A (en) Image processing device, image formation apparatus, image processing method, image processing program and recording medium
JP2006011754A (en) Image processing device and image processing method
JP4903468B2 (en) Image processing apparatus and image processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110418

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120423

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120508

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120529

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120730

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150824

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees