JP2013165423A - Image processing device, image processing method and image processing program - Google Patents

Image processing device, image processing method and image processing program Download PDF

Info

Publication number
JP2013165423A
JP2013165423A JP2012028093A JP2012028093A JP2013165423A JP 2013165423 A JP2013165423 A JP 2013165423A JP 2012028093 A JP2012028093 A JP 2012028093A JP 2012028093 A JP2012028093 A JP 2012028093A JP 2013165423 A JP2013165423 A JP 2013165423A
Authority
JP
Japan
Prior art keywords
pattern
image
area
image processing
color
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.)
Granted
Application number
JP2012028093A
Other languages
Japanese (ja)
Other versions
JP5874424B2 (en
Inventor
Tsukasa Ono
典 大野
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 JP2012028093A priority Critical patent/JP5874424B2/en
Priority to US13/759,424 priority patent/US8977046B2/en
Publication of JP2013165423A publication Critical patent/JP2013165423A/en
Application granted granted Critical
Publication of JP5874424B2 publication Critical patent/JP5874424B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an image processing device that not only makes a difference among colors in an original color image intelligible but also can represent a characteristic portion of a pattern even for a region having a small area, and further to provide an image processing program and an image processing method.SOLUTION: An image processing device 100 comprises: a pattern type determining section 41 by which a pattern is determined in response to color information of an image; a region setting section 42 by which a region in the image is set; a position correcting section 43 by which a positional relation between a characteristic portion capable of determining a pattern type provided to a pattern and the region is corrected; and an image data generating section 45 by which image data containing the image and the pattern are generated. An application position of the characteristic portion in the region is corrected towards a center of gravity of the region by the position correcting section 43.

Description

本発明は、カラー画像データの画像処理を行う画像処理装置、画像処理方法および画像処理プログラムに関する。   The present invention relates to an image processing apparatus, an image processing method, and an image processing program that perform image processing of color image data.

従来、カラー画像で輝度が同じとなる色をモノクロ印刷された画像で区別することができなかった。そこで、特許文献1では、カラー画像データの色情報を分離した各三原色成分に基づいて元のカラー画像データに対応させた模様を生成させる手法が提案されている。特許文献1に記載の手法によれば、元のカラー画像における色の違いが、異なる模様となって出力画像に反映される。この出力画像を印刷することによって、カラー画像をモノクロ印刷しても同カラー画像上で異なる色を把握することができるようになる。   Conventionally, a color image having the same luminance cannot be distinguished from a monochrome printed image. Therefore, Patent Document 1 proposes a method of generating a pattern corresponding to the original color image data based on the three primary color components obtained by separating the color information of the color image data. According to the method described in Patent Document 1, the color difference in the original color image is reflected in the output image as a different pattern. By printing this output image, it becomes possible to grasp different colors on the color image even if the color image is printed in monochrome.

特開平11−17961号公報Japanese Patent Laid-Open No. 11-17916

しかしながら、特許文献1に記載の手法は、各三原色成分に色相、彩度、輝度等に基づいて模様を生成するため、膨大な数の種類の模様が生成されることになる。このため、ユーザーは、模様の種類を判別可能な特徴部が類似する模様を区別し難く、元のカラー画像における色の違いが分かり難くなる。また、面積が小さい領域に特許文献1に記載の手法を適用した場合、模様の種類によっては領域内にその模様の種類を判別可能な特徴部の全てを表現することができない場合があり、この場合には、模様の種類の判別ができず、元のカラー画像の色を認識することが困難になっていた。   However, since the method described in Patent Document 1 generates a pattern for each of the three primary color components based on hue, saturation, luminance, and the like, a huge number of types of patterns are generated. For this reason, it is difficult for the user to distinguish patterns having similar feature portions that can determine the pattern type, and it is difficult to understand the color difference in the original color image. In addition, when the method described in Patent Document 1 is applied to a region having a small area, depending on the type of pattern, it may not be possible to express all of the features that can identify the type of pattern in the region. In this case, the type of pattern cannot be determined, and it is difficult to recognize the color of the original color image.

本発明は、上述の課題の少なくとも一部を解決するためになされたものであり、以下の形態または適用例として実現することが可能である。   SUMMARY An advantage of some aspects of the invention is to solve at least a part of the problems described above, and the invention can be implemented as the following forms or application examples.

[適用例1]画像の色情報に対応して所定の模様が決定される模様種類決定部と、前記画像における所定の領域が設定される領域設定部と、前記模様種類決定部で決定される前記模様が備える前記模様の種を判別可能な特徴部と前記領域設定部で設定される前記領域との位置関係が補正される位置補正部と、前記画像と前記模様とを含む画像データが生成される画像データ生成部と、を備え、前記領域における前記特徴部の適用位置が、前記位置補正部によって前記領域の重心に向けて補正されることを特徴とする画像処理装置。   Application Example 1 Determined by a pattern type determining unit that determines a predetermined pattern corresponding to color information of an image, an area setting unit that sets a predetermined area in the image, and the pattern type determining unit Image data including a position correction unit that corrects a positional relationship between the feature that can determine the type of the pattern included in the pattern and the region set by the region setting unit, and the image and the pattern are generated. An image data generation unit, wherein an application position of the feature in the region is corrected toward a center of gravity of the region by the position correction unit.

この画像処理装置によれば、元の画像の所定の領域における模様の特徴部の適用位置が領域の重心に向けて補正される。したがって、ユーザーは、面積が小さい所定の領域においても模様の種類を容易に判別して、色の違いを区別することができる。また、元の画像は、元の画像の色情報に対応する模様が適用された画像データとして生成され直される。したがって、生成され直された画像データに表される模様の種類を判別することによって元の画像における色の違いを容易に区別することができる。   According to this image processing apparatus, the application position of the pattern feature in the predetermined area of the original image is corrected toward the center of gravity of the area. Therefore, the user can easily distinguish the color difference by easily determining the pattern type even in a predetermined area having a small area. The original image is regenerated as image data to which a pattern corresponding to the color information of the original image is applied. Therefore, the color difference in the original image can be easily distinguished by discriminating the type of pattern represented in the regenerated image data.

[適用例2]上記画像処理装置において、前記領域が前記特徴部を表わすことが可能な最小単位以上である場合に、前記特徴部の適用位置の補正が行われることを特徴とする画像処理装置。   Application Example 2 In the image processing apparatus, the application position of the feature portion is corrected when the area is equal to or larger than a minimum unit capable of representing the feature portion. .

この構成によれば、模様が表れる領域が小さくても、ユーザーは、模様から色の対応関係を容易に区別することができる。   According to this configuration, even if the area where the pattern appears is small, the user can easily distinguish the color correspondence from the pattern.

[適用例3]上記画像処理装置において、前記色情報に対応して前記模様の濃度または/および前記画像の濃度が、前記画像データ生成部によって変更されることを特徴とする画像処理装置。   Application Example 3 In the image processing apparatus, the pattern density or / and the density of the image are changed by the image data generation unit corresponding to the color information.

この構成によれば、元画像の色情報に対応して画像データの前記模様の濃度または/および前記画像の濃度が変更されるので、ユーザーは、元画像の色の対応関係を容易に判別することができる。   According to this configuration, the density of the pattern of the image data and / or the density of the image is changed corresponding to the color information of the original image, so that the user can easily determine the correspondence between the colors of the original image. be able to.

[適用例4]上記画像処理装置において、前記色情報と、前記色情報の数よりも少ない数の前記模様とを対応させた対応情報を記憶させる記憶部をさらに備えることを特徴とする画像処理装置。   Application Example 4 In the image processing apparatus, the image processing apparatus further includes a storage unit that stores correspondence information in which the color information is associated with a number of patterns smaller than the number of the color information. apparatus.

この構成によれば、画像の色情報に対応する模様が一義的に決定されるため、画像データの生成処理の負荷を低減するとことができる。また、画像の色情報に対して模様の種類の数を少なくすることができるので、模様の種類を判別可能な特徴部が類似する可能性を抑制できるため、ユーザーは、元の画像の色の対応関係を容易に判別することができる。   According to this configuration, since the pattern corresponding to the color information of the image is uniquely determined, the load of the image data generation process can be reduced. Further, since the number of pattern types can be reduced with respect to the color information of the image, it is possible to suppress the possibility that the features that can distinguish the pattern type are similar. Correspondence can be easily determined.

[適用例5]上記画像処理装置において、前記領域が、凡例を示す領域であることを特徴とする画像処理装置。   Application Example 5 In the image processing apparatus, the area is an area indicating a legend.

この構成によれば、ユーザーが、グラフと凡例との色対応関係を容易に把握可能な画像データを得ることができる。   According to this configuration, it is possible to obtain image data that allows the user to easily grasp the color correspondence between the graph and the legend.

[適用例6]上記画像処理装置において、前記画像データは、モノクロの画像データであることを特徴とする画像処理装置。   Application Example 6 In the above image processing apparatus, the image data is monochrome image data.

この構成によれば、ユーザーが、元のカラー画像における色の違いを容易に区別可能なモノクロ画像データを得ることができる。   According to this configuration, it is possible to obtain monochrome image data in which the user can easily distinguish the color difference in the original color image.

[適用例7]上記画像処理装置において、画像の色情報に対応して所定の模様を決定するステップと、前記画像における所定の領域を設定するステップと、決定された前記模様が備える前記模様の種を判別可能な特徴部と設定された前記領域との位置関係を補正するステップと、前記画像と前記模様とを含む画像データを生成するステップと、を含み、前記領域における前記特徴部の適用位置を前記領域の重心に向けて補正することを特徴とする画像処理方法。   Application Example 7 In the image processing apparatus, a step of determining a predetermined pattern corresponding to color information of an image, a step of setting a predetermined region in the image, and the pattern included in the determined pattern Correcting the positional relationship between the feature capable of distinguishing the seed and the set region, and generating image data including the image and the pattern, and applying the feature in the region An image processing method, wherein the position is corrected toward the center of gravity of the region.

[適用例8]コンピューターを、画像の色情報に対応して所定の模様が決定される模様種類決定部と、前記画像における所定の領域が設定される領域設定部と、前記模様種類決定部で決定される前記模様が備える前記模様の種を判別可能な特徴部と、前記領域設定部で設定される前記領域と、の位置関係が補正される位置補正部と、前記画像と前記模様とを含む画像データが生成される画像データ生成部、として機能させ、前記領域における前記特徴部の適用位置を前記位置補正部によって前記領域の重心に向けて補正することを特徴とする画像処理プログラム。   Application Example 8 The computer includes a pattern type determining unit that determines a predetermined pattern corresponding to color information of an image, an area setting unit that sets a predetermined area in the image, and the pattern type determining unit. The feature part capable of discriminating the type of the pattern included in the pattern to be determined, the position correction part for correcting the positional relationship between the area set by the area setting part, the image and the pattern An image processing program that functions as an image data generation unit that generates image data to be included, and corrects the application position of the feature in the region toward the center of gravity of the region by the position correction unit.

これらの画像処理方法および画像処理プログラムによれば、元の画像の所定の領域における模様の特徴部の適用位置が領域の重心に向けて補正される。したがって、ユーザーは、面積が小さい所定の領域においても模様の種類を容易に判別して、色の違いを区別することができる。また、元の画像は、元の画像の色情報に対応する模様が適用された画像データとして生成され直される。したがって、生成され直された画像データに表される模様の種類を判別することによって元の画像における色の違いを容易に区別することができる。   According to these image processing method and image processing program, the application position of the pattern feature in the predetermined area of the original image is corrected toward the center of gravity of the area. Therefore, the user can easily distinguish the color difference by easily determining the pattern type even in a predetermined area having a small area. The original image is regenerated as image data to which a pattern corresponding to the color information of the original image is applied. Therefore, the color difference in the original image can be easily distinguished by discriminating the type of pattern represented in the regenerated image data.

本実施形態に係る印刷システムの概略構成を示した図である。1 is a diagram illustrating a schematic configuration of a printing system according to an embodiment. 画像処理装置のソフトウェア構成を示した図である。FIG. 2 is a diagram illustrating a software configuration of an image processing apparatus. 色相環上の色相とハッチ模様との対応例を示した図である。It is the figure which showed the example of a response | compatibility with the hue on a hue ring, and a hatch pattern. 模様選択テーブルの一例を示した図である。It is the figure which showed an example of the pattern selection table. ハッチ模様の割り当て方法を説明する説明図である。It is explanatory drawing explaining the allocation method of a hatch pattern. ハッチ模様を適用した結果を示した図である。It is the figure which showed the result of applying a hatch pattern. ハッチ模様の特徴部を説明する説明図である。It is explanatory drawing explaining the characteristic part of a hatch pattern. ハッチ模様を適用した結果を示した図である。It is the figure which showed the result of applying a hatch pattern. 位置補正処理を施した結果を示した図である。It is the figure which showed the result of having performed the position correction process. 画像処理装置が行う処理の流れを示したフローチャートである。It is the flowchart which showed the flow of the process which an image processing apparatus performs. ハッチ模様の割り当て方法を説明する説明図である。It is explanatory drawing explaining the allocation method of a hatch pattern. 位置補正処理の概念図である。It is a conceptual diagram of a position correction process. モノクロ画像の印刷結果の一例を示した図である。It is the figure which showed an example of the printing result of a monochrome image. 変形例5の説明図である。It is explanatory drawing of the modification 5.

以下、本発明の一実施形態について図面を参照して説明する。なお、本実施形態では、画像処理装置の一例としてのコンピューターを含む印刷システムについて説明する。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings. In the present embodiment, a printing system including a computer as an example of an image processing apparatus will be described.

図1は、印刷システム1の概略構成を示した図である。図1に示すように、印刷システム1は、コンピューター10と、印刷装置20と、を含み、コンピューター10と印刷装置20とは相互にデータ通信可能に接続されている。   FIG. 1 is a diagram illustrating a schematic configuration of a printing system 1. As shown in FIG. 1, the printing system 1 includes a computer 10 and a printing device 20, and the computer 10 and the printing device 20 are connected to each other so that data communication is possible.

印刷装置20は、用紙等の媒体に印刷する印刷エンジン21と、印刷エンジン21の動作等を制御するコントローラー22と、を備えている。印刷装置20は、コントローラー22の制御によって、コンピューター10から印刷ジョブを受信する処理、印刷ジョブに従う印刷を印刷エンジン21に実行させる処理等を行う。   The printing apparatus 20 includes a print engine 21 that prints on a medium such as paper, and a controller 22 that controls the operation of the print engine 21. The printing apparatus 20 performs processing for receiving a print job from the computer 10, processing for causing the print engine 21 to execute printing according to the print job, and the like under the control of the controller 22.

コンピューター10は、例えば、印刷装置ドライバーがインストールされた汎用のパーソナルコンピューターであり、印刷装置20に対して印刷ジョブを送信する印刷装置20のホスト装置である。このコンピューター10は、CPU11と、ROM12と、RAM13と、ハードディスクドライブ14と、読取装置15と、通信I/F16と、を備えている。なお、コンピューター10のこれらの構成は、バス17に接続されており、バス17を介して相互にデータ通信可能に構成されている。   The computer 10 is, for example, a general-purpose personal computer in which a printing device driver is installed, and is a host device of the printing device 20 that transmits a print job to the printing device 20. The computer 10 includes a CPU 11, a ROM 12, a RAM 13, a hard disk drive 14, a reading device 15, and a communication I / F 16. Note that these components of the computer 10 are connected to the bus 17 and configured to be capable of data communication with each other via the bus 17.

CPU11は、コンピューター10の各構成を制御する制御装置である。ROM12はコンピューター10を制御するための所定のプログラム等が記録された不揮発性のメモリー、RAM13はワーキングメモリー等として用いられる汎用のメモリーである。   The CPU 11 is a control device that controls each component of the computer 10. The ROM 12 is a non-volatile memory in which a predetermined program for controlling the computer 10 is recorded, and the RAM 13 is a general-purpose memory used as a working memory.

ハードディスクドライブ14には、印刷装置20のドライバープログラムDP、後述する模様選択テーブルPTおよび模様データPDが予め格納されている。ドライバープログラムDPは、ドライバープログラムDPを記録した記録媒体Mによってコンピューター10に供給され、ハードディスクドライブ14には、読取装置15が記録媒体Mから読み出したプログラムが格納される。なお、記録媒体Mの例としては、CD−ROM、DVD−ROM等の光ディスクの他、フレキシブルディスク、光磁気ディスク、USBメモリー、メモリーカード等の可搬性記録媒体を挙げることができる。さらに、記録媒体Mには、模様選択テーブルPTおよび模様データPDが記録されており、ドライバープログラムDPとともに模様選択テーブルPTおよび模様データPDがハードディスクドライブ14に格納される。もっとも、ドライバープログラムDP、模様選択テーブルPTおよび模様データPDがコンピューター10に供給される形態としてはこれに限られることなく、例えば、電気通信回線や光通信回線を介して所定のサーバーから供給されるようにしてもよい。   The hard disk drive 14 stores in advance a driver program DP for the printing apparatus 20, a pattern selection table PT, and pattern data PD, which will be described later. The driver program DP is supplied to the computer 10 by the recording medium M on which the driver program DP is recorded, and the hard disk drive 14 stores a program read from the recording medium M by the reading device 15. Examples of the recording medium M include portable recording media such as a flexible disk, a magneto-optical disk, a USB memory, and a memory card in addition to an optical disk such as a CD-ROM and a DVD-ROM. Furthermore, the pattern selection table PT and the pattern data PD are recorded on the recording medium M, and the pattern selection table PT and the pattern data PD are stored in the hard disk drive 14 together with the driver program DP. However, the driver program DP, the pattern selection table PT, and the pattern data PD are not limited to this and are supplied from a predetermined server via, for example, an electric communication line or an optical communication line. You may do it.

通信I/F16は、ケーブルまたは無線通信によって印刷装置20と接続するインターフェイス部分である。印刷装置20とコンピューター10との通信は、通信I/F16を介して行われる。   The communication I / F 16 is an interface portion that is connected to the printing apparatus 20 via a cable or wireless communication. Communication between the printing apparatus 20 and the computer 10 is performed via the communication I / F 16.

また、コンピューター10のCPU11が、ハードディスクドライブ14に格納されたドライバープログラムDPを読み出して実行することによって印刷装置ドライバーがインストールされる。これによって、コンピューター10は画像処理装置100として機能する。   Further, the CPU 11 of the computer 10 reads and executes the driver program DP stored in the hard disk drive 14 to install the printing apparatus driver. As a result, the computer 10 functions as the image processing apparatus 100.

次に、画像処理装置100について説明する。図2は、画像処理装置100のソフトウェア構成を示した図である。図2に示すように、画像処理装置100は、アプリケーション30と、印刷装置ドライバー40と、を有している。   Next, the image processing apparatus 100 will be described. FIG. 2 is a diagram illustrating a software configuration of the image processing apparatus 100. As illustrated in FIG. 2, the image processing apparatus 100 includes an application 30 and a printing apparatus driver 40.

アプリケーション30は、文書作成ソフトウェアやウェブブラウザー等、印刷装置20に対する印刷要求元となるソフトウェアである。アプリケーション30は、印刷要求および印刷の対象とするカラー画像データを生成して印刷装置ドライバー40に受け渡す。   The application 30 is software serving as a print request source for the printing apparatus 20 such as document creation software or a web browser. The application 30 generates a print request and color image data to be printed and passes it to the printing apparatus driver 40.

印刷装置ドライバー40は、印刷装置20による印刷を制御するためのソフトウェアである。印刷装置ドライバー40は、アプリケーション30から受け取った印刷要求およびカラー画像データから、印刷装置20が処理可能なデータ形式の印刷データを生成し、通信I/F16を介して印刷装置20に印刷データを送信する。これによって、印刷装置ドライバー40は印刷装置20に印刷を実行させる。   The printing device driver 40 is software for controlling printing by the printing device 20. The printing device driver 40 generates print data in a data format that can be processed by the printing device 20 from the print request and color image data received from the application 30 and transmits the print data to the printing device 20 via the communication I / F 16. To do. As a result, the printing apparatus driver 40 causes the printing apparatus 20 to execute printing.

また、本実施形態の印刷装置ドライバー40は、元の画像データであるカラー画像データを、ハッチ模様付きのモノクロ画像データに変換することによって、元のカラー画像における色の違いをハッチングの模様によって区別可能なモノクロ画像として印刷装置20に印刷させる機能を有している。このハッチ模様付きモノクロ印刷の機能を実現するため、印刷装置ドライバー40は、模様種類決定部41と、領域設定部42と、位置補正部43と、模様濃度決定部44と、モノクロ画像データ生成部(画像データ生成部)45と、を有している。なお、印刷装置ドライバー40のこれらの構成は、CPU11がドライバープログラムDPを実行することによって機能している。   Further, the printing apparatus driver 40 according to the present embodiment converts color image data, which is original image data, into monochrome image data with a hatch pattern, thereby distinguishing color differences in the original color image by hatching patterns. It has a function of causing the printing apparatus 20 to print as a possible monochrome image. In order to realize the monochrome printing function with the hatch pattern, the printing apparatus driver 40 includes a pattern type determination unit 41, an area setting unit 42, a position correction unit 43, a pattern density determination unit 44, and a monochrome image data generation unit. (Image data generation unit) 45. Note that these configurations of the printing apparatus driver 40 function by the CPU 11 executing the driver program DP.

模様種類決定部41は、カラー画像データのカラー画像の色情報、特に色相情報に応じて、カラー画像データの画像領域に対して適用するハッチ模様を決定する処理を行う。なお、本実施形態では、縦線、横線、格子線、斜め線、斜め格子線等のハッチ模様を単色の濃度で表した複数種類のハッチ模様が用いられる。   The pattern type determination unit 41 performs a process of determining a hatch pattern to be applied to the image area of the color image data according to the color information of the color image of the color image data, particularly the hue information. In the present embodiment, a plurality of types of hatch patterns are used in which hatch patterns such as vertical lines, horizontal lines, grid lines, diagonal lines, and diagonal grid lines are represented by a single color density.

図3は、色相とハッチ模様との対応例を示した図である。図3に示すように、色の色相環を色相について区画した色領域ごとに、予め決められたハッチ模様が割り当てられている。図3の例では、色相環上における色相は12の色領域に区画され、各色領域には、ハッチ模様として、縦線、横線、斜め線、格子線、斜め格子線等の模様が予め割り当てられている。模様種類決定部41は、複数種類のハッチ模様から、カラー画像の色相に応じて、適用するハッチ模様を選択する。もっとも、本実施形態では、複数のハッチ模様から、色相に応じて異なる模様のハッチ模様を選択するようにしているが、明度や彩度に応じて異なる模様のハッチ模様を選択するようにしてもよい。   FIG. 3 is a diagram showing an example of correspondence between hues and hatch patterns. As shown in FIG. 3, a predetermined hatch pattern is assigned to each color region obtained by dividing the hue circle of the color with respect to the hue. In the example of FIG. 3, the hue on the hue circle is divided into 12 color regions, and each color region is pre-assigned with a pattern such as a vertical line, horizontal line, diagonal line, grid line, diagonal grid line, etc. as a hatch pattern. ing. The pattern type determination unit 41 selects a hatch pattern to be applied from a plurality of types of hatch patterns according to the hue of the color image. However, in the present embodiment, a hatch pattern having a different pattern is selected from a plurality of hatch patterns according to the hue, but a hatch pattern having a different pattern may be selected according to lightness and saturation. Good.

領域設定部42は、カラー画像の画像領域において、上述したハッチ模様を適用する対象となる対象領域を設定する処理を行う。   The area setting unit 42 performs a process of setting a target area to which the hatch pattern described above is applied in the image area of the color image.

位置補正部43は、ハッチ模様を対象領域に対して移動させる位置補正処理を行う。この位置補正処理についての詳細な説明は後述することとする。   The position correction unit 43 performs position correction processing for moving the hatch pattern with respect to the target area. A detailed description of this position correction process will be given later.

模様濃度決定部44は、カラー画像データのカラー画像の色、特に明度に応じて、ハッチ模様の濃度を決定する処理を行う。なお、本実施形態のハッチ模様は、ハッチ模様自体の前景領域と、前景であるハッチ模様に対しての背景となる背景領域と、を含んでいる。模様濃度決定部44は、前景領域における単色の濃度(以下、「前景濃度」という)、および背景領域における単色の濃度(以下、「背景濃度」という)を決定する。   The pattern density determination unit 44 performs a process of determining the density of the hatch pattern according to the color of the color image of the color image data, particularly the brightness. Note that the hatch pattern of the present embodiment includes a foreground area of the hatch pattern itself and a background area that is a background for the hatch pattern that is the foreground. The pattern density determining unit 44 determines a monochrome density in the foreground area (hereinafter referred to as “foreground density”) and a monochrome density in the background area (hereinafter referred to as “background density”).

モノクロ画像データ生成部45は、模様種類決定部41によって決定されたハッチ模様を有するとともに、模様濃度決定部44によって決定された背景濃度および前景濃度を有するハッチ模様を、カラー画像の画像領域のうちの対象領域に適用する処理を行う。これによって、モノクロ画像データ生成部45は、適用したハッチ模様によって表されるハッチ模様付きのモノクロ画像データを生成する。   The monochrome image data generation unit 45 has the hatch pattern determined by the pattern type determination unit 41 and the hatch pattern having the background density and the foreground density determined by the pattern density determination unit 44 in the image area of the color image. The process applied to the target area is performed. Accordingly, the monochrome image data generation unit 45 generates monochrome image data with a hatch pattern represented by the applied hatch pattern.

また、上述した模様種類決定部41および模様濃度決定部44による処理は、模様選択テーブル(対応情報)PTおよび模様データPDに従って行われる。次に、カラー画像データをハッチ模様付きのモノクロ画像データに変換する手法を説明するため、模様選択テーブルPTおよび模様データPDについて説明する。なお、以下の説明においては、カラー画像データは、カラー画像の各画素について、R(レッド)、G(グリーン)、B(ブルー)の各色を8ビットの階調値「0〜255」で表すRGB値を有するものとする。モノクロ画像データは、モノクロ画像の各画素について、K(ブラック)の色を8ビットの階調値「0〜255」で表したK値、すなわちK単色の濃度を有するものとする。さらに、カラー画像データのRGB値に関して、(R,G,B)=(255,255,255)が白、(R,G,B)=(0,0,0)が黒に対応し、K値に関して、K=0が黒、K=255が白に対応するものとする。もっとも、本実施形態では、上述したカラー画像データおよびモノクロ画像データを例に挙げて説明することとするが、カラー画像データおよびモノクロ画像データのデータ形式としてはこれに限られるものではない。   The processing by the pattern type determination unit 41 and the pattern density determination unit 44 described above is performed according to the pattern selection table (corresponding information) PT and the pattern data PD. Next, the pattern selection table PT and the pattern data PD will be described in order to explain a method for converting color image data into monochrome image data with hatch patterns. In the following description, the color image data represents each color of R (red), G (green), and B (blue) with an 8-bit gradation value “0 to 255” for each pixel of the color image. It shall have RGB values. The monochrome image data has a K value representing the K (black) color with an 8-bit gradation value “0 to 255”, that is, a density of K single color, for each pixel of the monochrome image. Further, regarding the RGB values of the color image data, (R, G, B) = (255, 255, 255) corresponds to white, (R, G, B) = (0, 0, 0) corresponds to black, and K Regarding the values, K = 0 corresponds to black, and K = 255 corresponds to white. However, in the present embodiment, the color image data and monochrome image data described above will be described as an example, but the data format of the color image data and monochrome image data is not limited to this.

図4は、模様選択テーブルPTの一例を示した図である。図4に示すように、模様選択テーブルPTには、カラー値であるRGB値に対して、模様種類、前景濃度および背景濃度が予め対応付けられている。   FIG. 4 is a diagram showing an example of the pattern selection table PT. As shown in FIG. 4, in the pattern selection table PT, a pattern type, a foreground density, and a background density are associated in advance with RGB values that are color values.

模様選択テーブルPTの模様種類の欄には、図3にて述べたように、縦線、横線、格子線、斜め線、斜め格子線等の複数種類のハッチ模様のうち、カラー値に対応させるハッチ模様の種類が指定されている。ハッチ模様の種類は、色情報の1つでもあるカラー値の組み合わせの数よりも少ない数が指定されている。すなわち、カラー画像の色情報が決まれば、それに対応するハッチ模様の種類も一義的に決定されるため、モノクロ画像データの生成処理の負荷を低減するとことができるように指定されている。また、画像の色情報に対してハッチ模様の種類の数を少なくすることができるので、類似するハッチ模様の種類の数を抑制できることとなり、ユーザーは、元のカラー画像の色とハッチ模様によって表されるハッチ模様付きのモノクロ画像データとの対応関係を容易に判別することができるように指定されている。前景濃度の欄には、カラー値に対応させる前景濃度の値が指定されている。背景濃度の欄には、カラー値に対応させる背景濃度の値が指定されている。なお、前景濃度や背景濃度の値は、ハッチ模様を適用する前後で、適用する領域の平均明度が等しくなるように予め定められている。これによって、元画像の色情報に対応してモノクロ画像データの前記模様の濃度または/および前記画像の濃度が変更されるので、ユーザーは、元画像の色の対応関係を容易に判別することができる。   In the pattern type column of the pattern selection table PT, as described with reference to FIG. 3, the color value is selected from a plurality of types of hatch patterns such as vertical lines, horizontal lines, grid lines, diagonal lines, and diagonal grid lines. The hatch pattern type is specified. As the type of hatch pattern, a number smaller than the number of combinations of color values, which is also one of color information, is designated. That is, when the color information of the color image is determined, the type of hatch pattern corresponding to the color information is also uniquely determined, so that the load of the monochrome image data generation process can be reduced. In addition, since the number of types of hatch patterns can be reduced with respect to the color information of the image, the number of types of similar hatch patterns can be suppressed, and the user can display the colors and hatch patterns of the original color image. It is specified so that the correspondence with the monochrome image data with the hatch pattern can be easily determined. In the foreground density column, a foreground density value corresponding to a color value is designated. In the background density column, a background density value corresponding to the color value is designated. Note that the values of the foreground density and the background density are determined in advance so that the average brightness of the applied area is the same before and after the hatch pattern is applied. Accordingly, the density of the pattern or / and the density of the image in the monochrome image data is changed corresponding to the color information of the original image, so that the user can easily determine the correspondence between the colors of the original image. it can.

この模様選択テーブルPTによって、カラー画像のRGB値に対応するハッチ模様の種類、前景濃度および背景濃度が定まる。すなわち、カラー画像データをモノクロ画像データに変換する際、模様種類決定部41は、模様選択テーブルPTを参照して、カラー画像データの画像領域に対して、模様選択テーブルPTの模様種類の欄に指定されたハッチ模様のハッチ模様を選択する。模様濃度決定部44は、模様選択テーブルPTを参照して、ハッチ模様の背景濃度を、模様選択テーブルPTの背景濃度の欄によって指定された濃度に決定するとともに、ハッチ模様の前景濃度を、模様選択テーブルPTの前景濃度の欄に指定された前景濃度に決定する。   The pattern selection table PT determines the type of hatch pattern, foreground density and background density corresponding to the RGB values of the color image. That is, when converting color image data to monochrome image data, the pattern type determination unit 41 refers to the pattern selection table PT and enters the pattern type column of the pattern selection table PT for the image area of the color image data. Select the hatch pattern with the specified hatch pattern. The pattern density determination unit 44 refers to the pattern selection table PT to determine the background density of the hatch pattern to the density specified by the background density column of the pattern selection table PT and to change the foreground density of the hatch pattern to the pattern. The foreground density specified in the foreground density column of the selection table PT is determined.

一方、模様データPDには、縦線、横線、格子線、斜め線、斜め格子線等の模様種類ごとに、該当するハッチ模様の画像データが予め定められている。ハッチ模様は、例えば、縦横8×8画素等の所定サイズの画像であり、少なくとも、ハッチ模様の画像領域において背景の領域と前景の領域とを示す情報が含まれている。したがって、後述するように、模様濃度決定部44は、模様データPDを参照することによって、カラー画像の画像領域に対してハッチ模様を適用した場合に、その画像領域において注目する画素が、背景領域と前景領域とのいずれに該当するかを判断することが可能となっている。   On the other hand, in the pattern data PD, image data of a corresponding hatch pattern is predetermined for each pattern type such as a vertical line, a horizontal line, a grid line, a diagonal line, and a diagonal grid line. The hatch pattern is, for example, an image of a predetermined size such as 8 × 8 pixels in length and width, and includes at least information indicating a background area and a foreground area in the hatch pattern image area. Accordingly, as will be described later, when the hatch pattern is applied to the image area of the color image by referring to the pattern data PD, the pattern density determination unit 44 determines that the pixel of interest in the image area is the background area. And the foreground area can be determined.

次に、カラー画像にハッチ模様Pを適用する処理の概要について説明する。ここでは、図5(a)に示すように、画像全域に(R,G,B)=(255,0,0)のカラー値を有するカラー画像CPを例にして説明する。   Next, an outline of processing for applying the hatch pattern P to a color image will be described. Here, as shown in FIG. 5A, a color image CP having a color value of (R, G, B) = (255, 0, 0) over the entire image will be described as an example.

カラー画像CPにハッチ模様Pを適用する処理においては、まず、図5(a)に示すように、カラー画像CPの画像領域をハッチ模様Pと同じサイズで区画した単位領域UAごとに、ハッチ模様Pが割り当てられる。このとき、単位領域UAに対して割り当てるハッチ模様Pの種類は、模様選択テーブルPTに従って決められる。図4に示した模様選択テーブルPTによれば、カラー画像のRGB値、すなわち(R,G,B)=(255,0,0)のカラー値に対応する模様種類は「格子線」であるため、図5(a)のカラー画像CPに対して「格子線」のハッチ模様Pが適用される。したがって、図5(b)に示すように、カラー画像CPを変換したモノクロ画像MPには、単位領域UAごとに格子線のハッチ模様Pが適用される。   In the process of applying the hatch pattern P to the color image CP, first, as shown in FIG. 5A, for each unit area UA in which the image area of the color image CP is partitioned by the same size as the hatch pattern P, the hatch pattern P is assigned. At this time, the type of hatch pattern P assigned to the unit area UA is determined according to the pattern selection table PT. According to the pattern selection table PT shown in FIG. 4, the pattern type corresponding to the RGB value of the color image, that is, the color value of (R, G, B) = (255, 0, 0) is “grid line”. Therefore, a “grid line” hatch pattern P is applied to the color image CP in FIG. Accordingly, as shown in FIG. 5B, a grid line hatch pattern P is applied to each unit area UA in the monochrome image MP obtained by converting the color image CP.

なお、図4の模様選択テーブルPTによれば、(R,G,B)=(0,0,0)のカラー値に対応する模様種類は「なし」になっている。すなわち、カラー画像の画像領域のうち、(R,G,B)=(0,0,0)のカラー値を有する領域に対してはハッチ模様Pが適用されることなく、(R,G,B)=(0,0,0)以外のカラー値を有する領域に対してハッチ模様Pが適用される。そこで、領域設定部42は、カラー画像の画像領域のうち、(R,G,B)=(0,0,0)以外のカラー値を有する領域を、ハッチ模様Pを適用する対象とする対象領域TAとして設定する(図6参照)。   According to the pattern selection table PT of FIG. 4, the pattern type corresponding to the color value of (R, G, B) = (0, 0, 0) is “none”. That is, the hatch pattern P is not applied to an area having a color value of (R, G, B) = (0, 0, 0) in the image area of the color image, (R, G, B) A hatch pattern P is applied to a region having a color value other than (0, 0, 0). Therefore, the area setting unit 42 targets a hatch pattern P to be applied to an area having a color value other than (R, G, B) = (0, 0, 0) among image areas of a color image. The area TA is set (see FIG. 6).

また、図4に示した模様選択テーブルPTによれば、(R,G,B)=(255,0,0)に対して前景濃度はK=128、背景濃度はK=186と対応付けされているので、図5(b)に示すように、モノクロ画像MPの前景領域FAの濃度はK=128、背景領域BAの濃度はK=186となる。こうして、模様選択テーブルPTおよび模様データPDによって定まるハッチ模様Pが単位領域UAに対して適用される。なお、本実施形態では、このようにテーブルに従う処理とすることによって、ハッチ模様Pをカラー画像CPの対象領域TAに適用する処理の高速化を図るようにしている。   Further, according to the pattern selection table PT shown in FIG. 4, foreground density is associated with K = 128 and background density is associated with K = 186 with respect to (R, G, B) = (255, 0, 0). Therefore, as shown in FIG. 5B, the density of the foreground area FA of the monochrome image MP is K = 128, and the density of the background area BA is K = 186. Thus, the hatch pattern P determined by the pattern selection table PT and the pattern data PD is applied to the unit area UA. In the present embodiment, the processing according to the table is performed in this way, so that the processing for applying the hatch pattern P to the target area TA of the color image CP is accelerated.

ここで、上述したようにカラー画像CPの単位領域UAごとにハッチ模様Pを当て嵌めるようにしてハッチ模様を適用する場合、ハッチ模様が見難くなることがあった。図6(a)は、カラー画像CPの一部の対象領域TAが(R,G,B)=(255,0,0)のカラー値、他の領域が(R,G,B)=(0,0,0)のカラー値を有するカラー画像CPの一例を示している。図6(a)に示すカラー画像CPに対して、単位領域UAごとに格子線のハッチ模様Pを適用した場合、図4の模様選択テーブルPTに従えば、(R,G,B)=(0,0,0)のカラー値に対してはハッチ模様Pが適用されないため、(R,G,B)=(255,0,0)のカラー値を有する対象領域TAについてのみ格子線のハッチ模様Pが適用されることになる。また、図6(a)の例では、対象領域TAは4つの単位領域UAに分かれているので、単位領域UAごとにハッチ模様Pを適用した場合、図6(b)に示すように、格子線を構成する線が交差する部分の全て(後述する「特徴部」)が対象領域TA内に表れない場合がある。このため、ユーザーにとっては、対象領域TAの画像のみからではモノクロ画像MPのハッチ模様Pの種類を判別し難くなり、ハッチ模様の種類から元のカラー画像の色を区別することが困難になる。   Here, as described above, when the hatch pattern is applied so that the hatch pattern P is applied to each unit area UA of the color image CP, the hatch pattern may be difficult to see. In FIG. 6A, a part of the target area TA of the color image CP has a color value of (R, G, B) = (255, 0, 0), and other areas have (R, G, B) = ( An example of a color image CP having a color value of (0, 0, 0) is shown. When the lattice pattern hatch pattern P is applied for each unit area UA to the color image CP shown in FIG. 6A, according to the pattern selection table PT of FIG. 4, (R, G, B) = ( Since the hatch pattern P is not applied to the color value of (0, 0, 0), the grid line hatch is performed only for the target area TA having the color value of (R, G, B) = (255, 0, 0). The pattern P is applied. In the example of FIG. 6A, the target area TA is divided into four unit areas UA. Therefore, when the hatch pattern P is applied to each unit area UA, as shown in FIG. In some cases, all of the portions where the lines constituting the line intersect (a “feature portion” described later) do not appear in the target area TA. For this reason, it becomes difficult for the user to distinguish the type of the hatch pattern P of the monochrome image MP only from the image of the target area TA, and it is difficult to distinguish the color of the original color image from the type of hatch pattern.

図7は、ハッチ模様Pにおける特徴部CAの一例を示した図である。図7(a)は格子線のハッチ模様P、図7(b)は横線のハッチ模様Pの一例を示している。ハッチ模様Pの特徴部CAとは、ハッチ模様Pの領域のうち、ユーザーに対してハッチ模様の種類を判別可能とする一部の領域のことをいう。例えば、格子線のハッチ模様Pの場合、格子線を構成する線が交差する部分を中心とする所定サイズの領域が特徴部CAとなる。横線のハッチ模様Pの場合であれば、横線を構成する線の一部を中心とする所定サイズの領域が特徴部CAとなる。これらの特徴部CAは、ユーザーが、特徴部CA内の模様のみからハッチ模様Pの種類を判別できるよう定められている。すなわち、特徴部CAとは、格子線、横線等のハッチ模様Pの法則性が表れた領域である。   FIG. 7 is a diagram showing an example of the characteristic part CA in the hatch pattern P. As shown in FIG. FIG. 7A shows an example of a grid line hatch pattern P, and FIG. 7B shows an example of a horizontal line hatch pattern P. The feature CA of the hatch pattern P refers to a part of the hatch pattern P that allows the user to determine the type of the hatch pattern. For example, in the case of a lattice line hatch pattern P, a region having a predetermined size centering on a portion where lines constituting the lattice line intersect is the feature CA. In the case of the horizontal line hatch pattern P, a region of a predetermined size centering on a part of the line constituting the horizontal line is the feature CA. These feature portions CA are defined so that the user can determine the type of the hatch pattern P from only the patterns in the feature portion CA. That is, the characteristic part CA is an area where the law of the hatch pattern P such as a grid line or a horizontal line appears.

図8は、グラフを表すカラー画像に対して、位置補正処理を行うことなく、ハッチ模様Pを適用した場合の処理例を示した図である。図8(a)に示すように、グラフを表す領域GAについては、グラフを構成する色領域G1〜G4ごとに、グラフの色に対応するハッチ模様P1〜P4が割り当てられる。また、グラフの凡例領域LAの拡大図である図8(b)に示すように、凡例領域LAについても、グラフに用いられた色との対応関係を示す凡例の色領域L1〜L4のそれぞれについて、グラフに用いられた色に対応するハッチ模様P1〜P4が割り当てられる。   FIG. 8 is a diagram illustrating a processing example when the hatch pattern P is applied to the color image representing the graph without performing the position correction processing. As shown in FIG. 8A, in the area GA representing the graph, hatch patterns P1 to P4 corresponding to the color of the graph are assigned to the color areas G1 to G4 constituting the graph. Further, as shown in FIG. 8B, which is an enlarged view of the legend area LA of the graph, the legend area LA is also associated with each of the legend color areas L1 to L4 indicating the correspondence with the colors used in the graph. The hatch patterns P1 to P4 corresponding to the colors used in the graph are assigned.

しかしながら、一般に、グラフに用いられた色との対応関係を示す凡例の色領域L(L1〜L4)の面積は、グラフを表す領域GAの面積よりも小さいため、凡例の色領域Lには、例えば、図5に示したパッチ模様Pの一部しか反映されないことが生じ得る。図8(b)の例では、色領域L1、L4については、ハッチ模様Pを構成する線の全てが表わされておらず、グラフに用いられた色と凡例との対応関係が判断できなくなっている。色領域L2については、ハッチ模様Pを構成する線の全てが表されているものの、色領域L2の重心からはずれた周辺領域に位置している。色領域L3については、ハッチ模様Pを構成する線の一部しか表されておらず、さらに、表れた線についても色領域の重心からはずれた周辺領域に位置している。これらの理由のため、ユーザーにとっては、凡例領域LAの色領域L1〜L4に表されたハッチ模様Pを判別し難く、グラフと凡例との対応付けが困難になる。   However, in general, since the area of the legend color area L (L1 to L4) indicating the correspondence with the colors used in the graph is smaller than the area of the area GA representing the graph, the legend color area L includes For example, it may occur that only a part of the patch pattern P shown in FIG. 5 is reflected. In the example of FIG. 8B, for the color regions L1 and L4, not all the lines constituting the hatch pattern P are represented, and the correspondence between the colors used in the graph and the legend cannot be determined. ing. The color region L2 is located in a peripheral region that is deviated from the center of gravity of the color region L2, although all the lines constituting the hatch pattern P are represented. As for the color region L3, only a part of the lines constituting the hatch pattern P is represented, and the appearing lines are also located in the peripheral region deviated from the center of gravity of the color region. For these reasons, it is difficult for the user to determine the hatch pattern P represented in the color areas L1 to L4 of the legend area LA, and it is difficult to associate the graph with the legend.

そこで、本実施形態では、ハッチ模様Pの特徴部CAを、図8の例における色領域L1〜L4の小さい領域については、模様が見易くなるようハッチ模様を移動させるようにしている。このため、位置補正部43は、ハッチ模様Pの特徴部CAを、ハッチ模様を適用する対象となる対象領域TAの重心に向けてシフトさせる位置補正処理を行う。   Therefore, in the present embodiment, the hatch pattern P is moved so that the feature CA of the hatch pattern P is easy to see in the small regions of the color regions L1 to L4 in the example of FIG. For this reason, the position correction unit 43 performs position correction processing for shifting the feature portion CA of the hatch pattern P toward the center of gravity of the target area TA to which the hatch pattern is applied.

したがって、上述した位置補正処理が行われることによって、図9に示すように、ハッチ模様Pの特徴部CAが対象領域TAの重心(対象領域TAの輪郭での一次モーメントが0であるような点であり、対象領域TAが点対称となる形状の領域である場合は、対象領域TAの中心)に位置したモノクロ画像MPが生成されることになる。   Therefore, by performing the position correction process described above, as shown in FIG. 9, the feature CA of the hatch pattern P is the center of gravity of the target area TA (the primary moment at the contour of the target area TA is 0). When the target area TA is a point-symmetrical area, a monochrome image MP positioned at the center of the target area TA is generated.

次に、以上に説明した画像処理装置100が行う処理について図10のフローチャートに従って詳細に説明する。   Next, processing performed by the image processing apparatus 100 described above will be described in detail according to the flowchart of FIG.

例えば、印刷装置ドライバー40が、アプリケーション30からカラー画像データをモノクロ印刷する旨の印刷指示を受け取ると、図10の処理が開始される。処理を開始すると、模様種類決定部41は、カラー画像データの画像領域に対して注目画素を設定し(ステップS10)、カラー画像データから注目画素のRGB値を取得する(ステップS11)。   For example, when the printing apparatus driver 40 receives a print instruction for monochrome printing of color image data from the application 30, the process of FIG. 10 is started. When the process is started, the pattern type determination unit 41 sets a target pixel for the image area of the color image data (step S10), and acquires the RGB value of the target pixel from the color image data (step S11).

次に、模様種類決定部41は、模様選択テーブルPTを参照して、取得したRGB値に対応する模様種類を決定する(ステップS12)。   Next, the pattern type determination unit 41 refers to the pattern selection table PT and determines a pattern type corresponding to the acquired RGB value (step S12).

次に、領域設定部42は、注目画素を含む対象領域TAを設定する処理を行う(ステップS13)。ここでは、注目画素周辺の画素をスキャンして、ハッチ模様Pを適用すべきカラーの画像領域を対象領域TAとして特定する処理が行われる。本実施形態では、模様選択テーブルPTに従い(R,G,B)=(0,0,0)以外のカラー値を有する領域が対象領域TAとなる。例えば、図8にて述べたグラフのカラー画像の例であれば、グラフと凡例との色対応関係を表す色領域Lが対象領域TAとして設定される。もっとも、対象領域TAを設定する方法としては、これに限られることなく、注目画素を設定する前のタイミングでカラー画像全体をスキャンすることによって対象領域TAを設定するようにしてもよい。また、対象領域TAの判定方法としては(R,G,B)=(0,0,0)以外の領域を対象領域TAとすることに限られることなく、例えば、所定のRGB値よりも大きいRGB値を有する領域を対象領域TAと判定してもよい。   Next, the area setting unit 42 performs a process of setting the target area TA including the target pixel (step S13). Here, a process of scanning pixels around the target pixel and specifying a color image area to which the hatch pattern P is to be applied as the target area TA is performed. In the present embodiment, an area having a color value other than (R, G, B) = (0, 0, 0) according to the pattern selection table PT is the target area TA. For example, in the example of the color image of the graph described with reference to FIG. 8, the color region L representing the color correspondence between the graph and the legend is set as the target region TA. However, the method of setting the target area TA is not limited to this, and the target area TA may be set by scanning the entire color image at a timing before setting the target pixel. Further, the determination method of the target area TA is not limited to the area other than (R, G, B) = (0, 0, 0), but is larger than a predetermined RGB value, for example. An area having RGB values may be determined as the target area TA.

次に、位置補正部43は、注目画素を含む対象領域TAが所定サイズよりも小さいか否かの判定を行う(ステップS14)。   Next, the position correction unit 43 determines whether or not the target area TA including the target pixel is smaller than a predetermined size (step S14).

注目画素を含む対象領域TAが所定サイズ以上の大きさであった場合(ステップS14:No)、位置補正処理を行うことなく、ステップS16に進んで、模様濃度決定部44は、注目画素がハッチ模様Pの背景に対応するか否かを判断する。図5にて説明したように、ハッチ模様Pは、カラー画像の画像領域のうち単位領域UAごとに割り当てられるので、ここでは、注目画素の座標が、単位領域UAごとに割り当てられるハッチ模様Pにおいて背景に該当する位置にあるのか、前景に該当する位置にあるのかを判定する。具体的には、図11に示すように、注目画素の座標を(a,b)、ハッチ模様Pの大きさをN×N画素とすると、ハッチ模様Pにおける注目画素の相対座標(x,y)は、次式(1)、(2)によって求められる。模様濃度決定部44は、模様データPDにあるハッチ模様Pの画像データを参照して、注目画素の相対座標(x,y)がハッチ模様Pにおける背景と前景のいずれに該当するかを判断する。なお、下記の式において、「mod」は除算した余りを返す演算子である。
x=a mod N …(1)
y=b mod N …(2)
When the target area TA including the target pixel is larger than the predetermined size (step S14: No), the process proceeds to step S16 without performing the position correction process, and the pattern density determining unit 44 determines that the target pixel is hatched. It is determined whether or not it corresponds to the background of the pattern P. As described with reference to FIG. 5, since the hatch pattern P is assigned to each unit area UA in the image area of the color image, here, in the hatch pattern P in which the coordinates of the target pixel are assigned to each unit area UA. It is determined whether the current position is in the position corresponding to the background or the position corresponding to the foreground. Specifically, as shown in FIG. 11, when the coordinates of the target pixel are (a, b) and the size of the hatch pattern P is N × N pixels, the relative coordinates (x, y) of the target pixel in the hatch pattern P ) Is obtained by the following equations (1) and (2). The pattern density determination unit 44 refers to the image data of the hatch pattern P in the pattern data PD and determines whether the relative coordinates (x, y) of the target pixel corresponds to the background or the foreground in the hatch pattern P. . In the following formula, “mod” is an operator that returns the remainder after division.
x = a mod N (1)
y = b mod N (2)

注目画素が背景に該当する場合(ステップS16:Yes)、模様濃度決定部44は、模様選択テーブルPTを参照して、注目画素のRGB値に対応する背景濃度のK値を取得する(ステップS17)。一方、注目画素が前景領域に該当する場合(ステップS16:No)、模様濃度決定部44は、模様選択テーブルPTを参照して、注目画素のRGB値に対応する前景濃度のK値を取得する(ステップS18)。図11の例では、注目画素(a,b)に対応する相対座標(x,y)は、ハッチ模様Pの前景領域FAに該当しているので、注目画素に対して前景濃度のK値が取得されることになる。   When the target pixel corresponds to the background (step S16: Yes), the pattern density determination unit 44 refers to the pattern selection table PT and acquires the K value of the background density corresponding to the RGB value of the target pixel (step S17). ). On the other hand, when the target pixel corresponds to the foreground region (step S16: No), the pattern density determination unit 44 refers to the pattern selection table PT and acquires the K value of the foreground density corresponding to the RGB value of the target pixel. (Step S18). In the example of FIG. 11, since the relative coordinates (x, y) corresponding to the target pixel (a, b) correspond to the foreground area FA of the hatch pattern P, the K value of the foreground density with respect to the target pixel is Will be acquired.

一方、ステップS14の判断において、注目画素を含む対象領域TAが所定サイズよりも小さかった場合(ステップS14:Yes)、位置補正部43は位置補正処理を行う(ステップS15)。図12は、位置補正処理の概念図である。図12に示すように、位置補正処理を行わない場合において単位領域UAに対して割り当てたハッチ模様Pの特徴部CAの中心座標を(X1,Y1)、対象領域TAの重心座標を(X2,Y2)とすると、次式(5)、(6)によって、特徴部CAと対象領域TAとの位置ずれ量(ΔX,ΔY)が求まる。位置補正処理では、この位置ずれ量(ΔX,ΔY)を補正量として、ハッチ模様Pを移動させることによって、ハッチ模様の特徴部TAの中心を、対象領域TAの重心にシフトさせる。
ΔX=X2−X1…(5)
ΔY=Y2−Y1…(6)
On the other hand, if it is determined in step S14 that the target area TA including the target pixel is smaller than the predetermined size (step S14: Yes), the position correction unit 43 performs position correction processing (step S15). FIG. 12 is a conceptual diagram of the position correction process. As shown in FIG. 12, when the position correction process is not performed, the center coordinates of the feature portion CA of the hatch pattern P assigned to the unit area UA are (X1, Y1), and the center coordinates of the target area TA are (X2, Y2). Assuming that Y2), the positional deviation amounts (ΔX, ΔY) between the feature part CA and the target area TA are obtained by the following equations (5) and (6). In the position correction process, the center of the hatched pattern feature TA is shifted to the center of gravity of the target area TA by moving the hatched pattern P using the amount of displacement (ΔX, ΔY) as a correction amount.
ΔX = X2−X1 (5)
ΔY = Y2−Y1 (6)

位置補正処理が行われると、模様濃度決定部44は、注目画素が、シフト後のハッチ模様Pの背景に対応するかを判断して(ステップS16)、背景に対応する場合は(ステップS16:Yes)、模様選択テーブルPTを参照して、背景濃度を取得する(ステップS17)。背景に対応しない、すなわち前景に対応する場合は(ステップS16:No)、模様選択テーブルPTを参照して、前景濃度を取得する(ステップS18)。   When the position correction process is performed, the pattern density determination unit 44 determines whether the target pixel corresponds to the background of the hatched pattern P after the shift (step S16), and if it corresponds to the background (step S16: Yes), the background density is acquired with reference to the pattern selection table PT (step S17). If it does not correspond to the background, that is, corresponds to the foreground (step S16: No), the foreground density is acquired with reference to the pattern selection table PT (step S18).

ステップS17またはステップS18において、模様濃度決定部44が背景濃度または前景濃度のK値を取得すると、モノクロ画像データ生成部45は、モノクロ画像の画像領域のうち注目画素に対応する画素に、取得した濃度のK値を反映させる(ステップS19)。これによって、注目画素に対応するモノクロ画像の画素は、ステップS12にて決定した種類のハッチ模様Pに対応する濃度のK値を有することとなる。   In step S17 or step S18, when the pattern density determination unit 44 acquires the K value of the background density or foreground density, the monochrome image data generation unit 45 acquires the pixel corresponding to the target pixel in the image area of the monochrome image. The K value of the density is reflected (step S19). Thereby, the pixel of the monochrome image corresponding to the target pixel has a K value of density corresponding to the type of hatch pattern P determined in step S12.

なお、上述した位置補正処理は、注目画素の座標変換によっても実現されうる。例えば、図12にて説明したように、ハッチ模様Pを位置ずれ量(ΔX,ΔY)分の補正量をシフトさせる場合、模様データPDの画像データを参照して、注目画素の相対座標(x,y)を補正量分移動させた座標が、背景領域BAであるか前景領域FAであるかを判定することによって、注目画素が背景領域BAであるか前景領域FAであるかを判定することができる。このように、模様データPDを参照する際に用いる座標の座標変換によって位置補正処理を実現した場合、シフトしたハッチ模様Pの画像データを実際に生成する場合に比べると、位置補正処理に要する演算量が低減し、処理が高速化する。   The position correction process described above can also be realized by coordinate conversion of the target pixel. For example, as described with reference to FIG. 12, when shifting the correction amount of the hatch pattern P by the amount of positional deviation (ΔX, ΔY), the relative coordinates (x , Y) by determining whether the coordinates moved by the correction amount are the background area BA or the foreground area FA, thereby determining whether the pixel of interest is the background area BA or the foreground area FA. Can do. As described above, when the position correction process is realized by the coordinate conversion of the coordinates used when referring to the pattern data PD, the calculation required for the position correction process is larger than when the image data of the shifted hatch pattern P is actually generated. The amount is reduced and the processing speed is increased.

注目画素に対して、背景または前景の濃度が反映されると、モノクロ画像データ生成部45は、カラー画像の全画素についてステップS10〜S19の処理が行われたか否かを判断する(ステップS20)。全画素について処理を終えていない場合(ステップS20:No)、ステップS10に戻って、例えば、注目画素をラスター方向にスキャンすることによって新たな注目画素を設定し、新たな注目画素に対してステップS11以降の処理を行う。全画素について処理を終えると(ステップS20:Yes)、モノクロ画像の全画素について、ステップS12にて決定された種類のハッチ模様Pに対応する濃度のK値を有した状態となるため、モノクロ画像データ生成部45は、このモノクロ画像のモノクロ画像データを生成する(ステップS21)。生成されたモノクロ画像データは、印刷装置ドライバー40によって印刷装置20に出力される(ステップS22)。これによって、アプリケーション30から受け渡されたカラー画像データのモノクロ印刷として、カラー画像の色に応じたハッチ模様付きのモノクロ画像が印刷される。   When the background or foreground density is reflected on the target pixel, the monochrome image data generation unit 45 determines whether or not the processing in steps S10 to S19 has been performed on all pixels of the color image (step S20). . If the processing has not been completed for all pixels (step S20: No), the process returns to step S10, for example, a new pixel of interest is set by scanning the pixel of interest in the raster direction, and the step is performed for the new pixel of interest The process after S11 is performed. When the processing is completed for all the pixels (step S20: Yes), all the pixels of the monochrome image have a K value having a density corresponding to the type of hatch pattern P determined in step S12. The data generation unit 45 generates monochrome image data of this monochrome image (step S21). The generated monochrome image data is output to the printing apparatus 20 by the printing apparatus driver 40 (step S22). As a result, a monochrome image with a hatch pattern corresponding to the color of the color image is printed as monochrome printing of the color image data delivered from the application 30.

図13に、モノクロ画像の印刷結果の一例を示す。図13に示すように、位置補正処理によって、凡例領域LAに含まれる各色領域L’(L1’〜L4’)には、図8(b)にて説明した位置補正処理を行わない場合に比べると、色領域L’の重心に、ハッチ模様P1〜P4の特徴部CAを構成する線が描かれた印刷結果となる。   FIG. 13 shows an example of a monochrome image print result. As shown in FIG. 13, the position correction processing is performed on the color regions L ′ (L1 ′ to L4 ′) included in the legend area LA as compared with the case where the position correction processing described in FIG. 8B is not performed. As a result, a print result in which a line constituting the characteristic portion CA of the hatch patterns P1 to P4 is drawn at the center of gravity of the color region L ′.

本実施形態の画像処理装置100によれば、カラー画像データから、カラー画像の色に応じたハッチ模様Pのハッチングが施されたモノクロ画像データが生成される。また、位置補正処理によって、ハッチ模様Pが適用される対象領域TAには、ハッチ模様の特徴部CAが対象領域TAの重心にシフトされる。これによって、図13に示したように、対象領域TAの重心に、ハッチ模様Pの特徴部CAが表れることになる。したがって、ユーザーは、面積が小さい所定の領域においても模様の種類を容易に判別して、色の違いを区別することができるようになり、ユーザー利便性が向上する。   According to the image processing apparatus 100 of the present embodiment, monochrome image data in which the hatch pattern P is hatched according to the color of the color image is generated from the color image data. Further, by the position correction process, the hatched pattern feature CA is shifted to the center of gravity of the target area TA in the target area TA to which the hatch pattern P is applied. As a result, as shown in FIG. 13, the feature portion CA of the hatch pattern P appears at the center of gravity of the target area TA. Therefore, the user can easily discriminate the pattern type even in a predetermined area having a small area, and can distinguish the color difference, thereby improving user convenience.

また、元の画像は、元の画像の色情報に対応する模様が適用された画像データとして生成され直される。したがって、生成され直された画像データに表される模様の種類を判別することによって元の画像における色の違いを容易に区別することができるようになり、ユーザー利便性が向上する。   The original image is regenerated as image data to which a pattern corresponding to the color information of the original image is applied. Therefore, by distinguishing the type of pattern represented in the regenerated image data, it becomes possible to easily distinguish the color difference in the original image, and the user convenience is improved.

以上、本発明に係る一実施形態について説明したが、本発明はこれらの形態に限られることなく、その趣旨並びに特許請求の範囲を逸脱することなく、変更、改良され得ると共に、本発明にはその等価物が含まれることはもちろんである。以下、変形例について説明する。   The embodiments of the present invention have been described above, but the present invention is not limited to these embodiments, and can be changed and improved without departing from the spirit and scope of the claims. Of course, the equivalent is included. Hereinafter, modified examples will be described.

(変形例1)上記実施形態では、位置補正処理において、ハッチ模様Pの特徴部CAと対象領域TAとの位置ずれ量分だけ移動させることによって、特徴部CAを対象領域TAの重心にシフトさせるようにしたが、これに限られることなく、特徴部CAを対象領域TAの重心に向けて近づけるようにシフトさせるようにしてもよい。例えば、ハッチ模様Pの特徴部CAが、対象領域TAの重心から所定の距離となる範囲内に入るようにハッチ模様を移動させるようにしてもよい。   (Modification 1) In the above embodiment, in the position correction process, the feature CA is shifted to the center of gravity of the target area TA by moving it by the amount of positional deviation between the feature CA of the hatch pattern P and the target area TA. However, the present invention is not limited to this, and the feature CA may be shifted toward the center of gravity of the target area TA. For example, the hatch pattern may be moved so that the feature CA of the hatch pattern P falls within a range that is a predetermined distance from the center of gravity of the target area TA.

(変形例2)上記実施形態では、所定サイズよりも小さい対象領域TAに対して、位置補正処理を行うようにしたが、位置補正処理を施す領域の決め方としてはこれに限られない。サイズに関わらずに全対象領域に対して位置補正処理を施すようにしてもよいし、例えば凡例領域LA等の領域の種別を判別して、種別に応じて位置補正処理を施してもよい。   (Modification 2) In the above embodiment, the position correction process is performed on the target area TA smaller than the predetermined size. However, the method of determining the area on which the position correction process is performed is not limited to this. Regardless of the size, the position correction process may be performed on all target areas, or the type of the area such as the legend area LA may be determined, and the position correction process may be performed according to the type.

(変形例3)上記実施形態では、カラー画像データを、ハッチ模様付きのモノクロ画像データに変換する場合について説明したが、変換後の画像データとしてはモノクロ画像データに限られることなく、カラー画像データであってもよい。例えば、RGB形式のカラー画像データを、CMYK形式のカラー画像データに変換する場合であれば、印刷装置等によってハッチ模様付きのカラー画像を印刷することができ、この印刷結果は、色だけでなく、ハッチ模様によって元のカラー画像の色が表されることになる。また、RGB形式のカラー画像データを、ハッチ模様付きのRGB形式のカラー画像データに変換する場合であれば、ディスプレイ等の表示装置にハッチ模様付きのカラー画像を表示させることができる。このように、ハッチ模様付きのカラー画像とすることによって、健常者だけでなく、色覚障害者を含む様々なユーザーにとっても、ハッチ模様から色の違いを区別することができるようになる。   (Modification 3) In the above embodiment, the case where color image data is converted into monochrome image data with a hatch pattern has been described. However, the converted image data is not limited to monochrome image data, and color image data It may be. For example, when converting color image data in RGB format into color image data in CMYK format, a color image with a hatch pattern can be printed by a printing apparatus or the like. The color of the original color image is represented by the hatch pattern. Further, when converting RGB color image data to RGB color image data with a hatch pattern, a color image with a hatch pattern can be displayed on a display device such as a display. Thus, by making a color image with a hatch pattern, not only a healthy person but also various users including a color blind person can distinguish the color difference from the hatch pattern.

(変形例4)上記実施形態では、対象領域TAが所定サイズよりも小さい場合に、位置補正処理を行うようにしたが、さらに、模様の種類を判別可能な最小サイズよりも対象領域TAが小さい場合、位置補正処理を行わないようにすることが望ましい。このようにすれば、対象領域TAが小さいため、位置補正処理を行ったとしても模様を判別できなくなる場合には位置補正の処理が省かれることになるので、さらに効率的に処理できるようになる。   (Modification 4) In the above embodiment, the position correction process is performed when the target area TA is smaller than the predetermined size. However, the target area TA is smaller than the minimum size that can distinguish the pattern type. In this case, it is desirable not to perform the position correction process. In this way, since the target area TA is small, the position correction process is omitted when the pattern cannot be determined even if the position correction process is performed, so that the process can be performed more efficiently. .

(変形例5)上記実施形態では、コンピューター10側の処理によって、カラー画像データを、ハッチ模様付きのモノクロ画像データに変換するようにしたが、印刷装置の内部処理によって変換するようにしてもよい。例えば、図14に示すように、印刷装置のコントローラー22が、模様種類決定部41、領域設定部42、位置補正部43、模様濃度決定部44、モノクロ画像データ生成部45および印刷処理部23を有する画像処理装置として機能する。コンピューターから送信されるカラー画像データに対して、模様種類決定部41、位置補正部43、模様濃度決定部44およびモノクロ画像データ生成部45は、上記実施形態と同様の処理を行う。印刷処理部23は、ハッチ模様付きのモノクロ画像データに対してハーフトーン処理等を施して、印刷エンジン21に出力することによって、元のカラー画像における色の違いを区別可能なモノクロ画像が印刷される。   (Modification 5) In the above embodiment, the color image data is converted into the monochrome image data with the hatch pattern by the processing on the computer 10 side, but may be converted by the internal processing of the printing apparatus. . For example, as illustrated in FIG. 14, the controller 22 of the printing apparatus includes a pattern type determination unit 41, a region setting unit 42, a position correction unit 43, a pattern density determination unit 44, a monochrome image data generation unit 45, and a print processing unit 23. Functions as an image processing apparatus. The pattern type determination unit 41, the position correction unit 43, the pattern density determination unit 44, and the monochrome image data generation unit 45 perform the same processing as that of the above embodiment on the color image data transmitted from the computer. The print processing unit 23 performs halftone processing or the like on the monochrome image data with the hatch pattern, and outputs it to the print engine 21, thereby printing a monochrome image that can distinguish the color difference in the original color image. The

また、コンピューターと印刷装置とが協働してモノクロ画像データに変換するようにしてもよい。例えば、図14に示すシステムにおいて、コンピューターの印刷装置ドライバー40は、模様選択テーブルPTを参照して、模様種類、背景濃度、前景濃度等のパラメーターを指定した指定情報を付加したカラー画像データを印刷装置に送信する。印刷装置の模様種類決定部41は、カラー画像データに付加された指定情報に従って模様種類を決定し、模様濃度決定部44は指定情報に従って背景濃度および前景濃度を決定するようにしてもよい。   Further, the computer and the printing apparatus may cooperate to convert to monochrome image data. For example, in the system shown in FIG. 14, the printer driver 40 of the computer prints color image data to which designation information designating parameters such as pattern type, background density, and foreground density is added with reference to the pattern selection table PT. Send to device. The pattern type determination unit 41 of the printing apparatus may determine the pattern type according to the designation information added to the color image data, and the pattern density determination unit 44 may determine the background density and the foreground density according to the designation information.

(変形例6)上記実施形態では、カラー画像に適用する模様としてハッチ模様Pを用いるようにしたがこれに限られない。所定の規則性を有する模様であればハッチ模様以外の模様を適用するようにしてもよい。   (Modification 6) In the above embodiment, the hatch pattern P is used as the pattern to be applied to the color image, but the present invention is not limited to this. A pattern other than a hatch pattern may be applied as long as the pattern has a predetermined regularity.

(変形例7)上記実施形態では、カラー画像に適用するハッチ模様Pをグラフに用いられた色と凡例との対応関係を示す色領域のそれぞれについて割り当てるようにしたがこれに限られない。領域内に模様の全てを表現することができずに模様の一部しか表現されないような面積が小さい領域であれば、上記実施形態を適用してもよい。また、図表で使用する記号等の意味を説明するための領域や図表に描画されている内容について、上記実施形態を適用してもよい。このようにすれば、模様や内容が表れる領域が小さくても、ユーザーは、模様から色の対応関係を容易に区別することができる。   (Modification 7) In the above embodiment, the hatch pattern P to be applied to the color image is assigned to each color region indicating the correspondence between the color used in the graph and the legend. However, the present invention is not limited to this. The embodiment described above may be applied if the area is small so that not all of the pattern can be expressed in the area and only a part of the pattern can be expressed. In addition, the above embodiment may be applied to an area for explaining the meaning of symbols and the like used in the chart and the contents drawn in the chart. In this way, even if the area where the pattern and contents appear is small, the user can easily distinguish the color correspondence from the pattern.

1…印刷システム、10…コンピューター、20…印刷装置、21…印刷エンジン、22…コントローラー、30…アプリケーション、40…印刷装置ドライバー、41…模様種類決定部、42…領域設定部、43…位置補正部、44…模様濃度決定部、45…画像データ生成部としてのモノクロ画像データ生成部、100…画像処理装置、PT…対応情報としての模様選択テーブル、PD…模様データ、P…ハッチ模様、CA…特徴部、TA…対象領域。   DESCRIPTION OF SYMBOLS 1 ... Printing system, 10 ... Computer, 20 ... Printing apparatus, 21 ... Printing engine, 22 ... Controller, 30 ... Application, 40 ... Printing device driver, 41 ... Pattern type determination part, 42 ... Area setting part, 43 ... Position correction , 44... Pattern density determination unit, 45... Monochrome image data generation unit as image data generation unit, 100... Image processing device, PT... Pattern selection table as correspondence information, PD ... pattern data, P ... hatch pattern, CA ... characteristic part, TA ... target area.

Claims (8)

画像の色情報に対応して所定の模様が決定される模様種類決定部と、
前記画像における所定の領域が設定される領域設定部と、
前記模様種類決定部で決定される前記模様が備える前記模様の種を判別可能な特徴部と前記領域設定部で設定される前記領域との位置関係が補正される位置補正部と、
前記画像と前記模様とを含む画像データが生成される画像データ生成部と、を備え、
前記領域における前記特徴部の適用位置が、前記位置補正部によって前記領域の重心に向けて補正されることを特徴とする画像処理装置。
A pattern type determination unit for determining a predetermined pattern corresponding to the color information of the image;
An area setting unit for setting a predetermined area in the image;
A position correction unit that corrects a positional relationship between the feature part that can determine the type of the pattern included in the pattern determined by the pattern type determination part and the region set by the region setting unit;
An image data generation unit for generating image data including the image and the pattern,
The application position of the characteristic part in the region is corrected toward the center of gravity of the region by the position correction unit.
請求項1に記載の画像処理装置において、
前記領域が前記特徴部を表わすことが可能な最小単位以上である場合に、前記特徴部の適用位置の補正が行われることを特徴とする画像処理装置。
The image processing apparatus according to claim 1.
The image processing apparatus according to claim 1, wherein when the area is equal to or more than a minimum unit capable of representing the feature portion, the application position of the feature portion is corrected.
請求項1または2に記載の画像処理装置において、
前記色情報に対応して前記模様の濃度または/および前記画像の濃度が、前記画像データ生成部によって変更されることを特徴とする画像処理装置。
The image processing apparatus according to claim 1 or 2,
The image processing apparatus, wherein the density of the pattern and / or the density of the image is changed by the image data generation unit corresponding to the color information.
請求項1ないし3のいずれか一項に記載の画像処理装置において、
前記色情報と、前記色情報の数よりも少ない数の前記模様とを対応させた対応情報を記憶させる記憶部をさらに備えることを特徴とする画像処理装置。
In the image processing device according to any one of claims 1 to 3,
An image processing apparatus, further comprising: a storage unit that stores correspondence information in which the color information is associated with a number of patterns smaller than the number of the color information.
請求項1ないし4のいずれか一項に記載の画像処理装置において、
前記領域が、凡例を示す領域であることを特徴とする画像処理装置。
In the image processing device according to any one of claims 1 to 4,
An image processing apparatus, wherein the area is an area indicating a legend.
請求項1ないし5のいずれか一項に記載の画像処理装置において、
前記画像データは、モノクロの画像データであることを特徴とする画像処理装置。
In the image processing device according to any one of claims 1 to 5,
The image processing apparatus according to claim 1, wherein the image data is monochrome image data.
画像の色情報に対応して所定の模様を決定するステップと、
前記画像における所定の領域を設定するステップと、
決定された前記模様が備える前記模様の種を判別可能な特徴部と設定された前記領域との位置関係を補正するステップと、
前記画像と前記模様とを含む画像データを生成するステップと、を含み、
前記領域における前記特徴部の適用位置を前記領域の重心に向けて補正することを特徴とする画像処理方法。
Determining a predetermined pattern corresponding to the color information of the image;
Setting a predetermined region in the image;
Correcting the positional relationship between the feature that can discriminate the pattern type included in the determined pattern and the set region;
Generating image data including the image and the pattern, and
An image processing method, wherein the application position of the feature in the region is corrected toward the center of gravity of the region.
コンピューターを、
画像の色情報に対応して所定の模様が決定される模様種類決定部と、
前記画像における所定の領域が設定される領域設定部と、
前記模様種類決定部で決定される前記模様が備える前記模様の種を判別可能な特徴部と、前記領域設定部で設定される前記領域と、の位置関係が補正される位置補正部と、
前記画像と前記模様とを含む画像データが生成される画像データ生成部、として機能させ、
前記領域における前記特徴部の適用位置を前記位置補正部によって前記領域の重心に向けて補正することを特徴とする画像処理プログラム。
Computer
A pattern type determination unit for determining a predetermined pattern corresponding to the color information of the image;
An area setting unit for setting a predetermined area in the image;
A position correction unit that corrects a positional relationship between a feature part that can determine a type of the pattern included in the pattern determined by the pattern type determination unit, and the area set by the area setting unit;
Function as an image data generation unit for generating image data including the image and the pattern,
An image processing program that corrects an application position of the feature in the region toward the center of gravity of the region by the position correction unit.
JP2012028093A 2012-02-13 2012-02-13 Image processing apparatus, image processing method, and image processing program Active JP5874424B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2012028093A JP5874424B2 (en) 2012-02-13 2012-02-13 Image processing apparatus, image processing method, and image processing program
US13/759,424 US8977046B2 (en) 2012-02-13 2013-02-05 Image processing device, image processing method, and storage medium storing image processing program with color to pattern correlation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012028093A JP5874424B2 (en) 2012-02-13 2012-02-13 Image processing apparatus, image processing method, and image processing program

Publications (2)

Publication Number Publication Date
JP2013165423A true JP2013165423A (en) 2013-08-22
JP5874424B2 JP5874424B2 (en) 2016-03-02

Family

ID=49176529

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012028093A Active JP5874424B2 (en) 2012-02-13 2012-02-13 Image processing apparatus, image processing method, and image processing program

Country Status (1)

Country Link
JP (1) JP5874424B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001352454A (en) * 2000-06-09 2001-12-21 Sharp Corp Image conversion method and device, and computer- readable recording medium with image conversion program recorded thereon
JP2005051405A (en) * 2003-07-31 2005-02-24 Kyocera Mita Corp Image processor
JP2005094423A (en) * 2003-09-18 2005-04-07 Seiko Epson Corp Combination of original image with decorative image
JP2006086735A (en) * 2004-09-15 2006-03-30 Casio Comput Co Ltd Image processor
JP2011061376A (en) * 2009-09-08 2011-03-24 Sharp Corp Image processor, image processing method, and image processing program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001352454A (en) * 2000-06-09 2001-12-21 Sharp Corp Image conversion method and device, and computer- readable recording medium with image conversion program recorded thereon
JP2005051405A (en) * 2003-07-31 2005-02-24 Kyocera Mita Corp Image processor
JP2005094423A (en) * 2003-09-18 2005-04-07 Seiko Epson Corp Combination of original image with decorative image
JP2006086735A (en) * 2004-09-15 2006-03-30 Casio Comput Co Ltd Image processor
JP2011061376A (en) * 2009-09-08 2011-03-24 Sharp Corp Image processor, image processing method, and image processing program

Also Published As

Publication number Publication date
JP5874424B2 (en) 2016-03-02

Similar Documents

Publication Publication Date Title
US8842349B2 (en) Color conversion method and profile generation method
US8811739B2 (en) Image processing device
JP4893791B2 (en) Image processing method and image processing apparatus
US10412270B2 (en) Ink amount upper limit setting method and non-transitory computer readable medium for storing program of ink amount upper limit setting method
US11323579B2 (en) Image processing apparatus, image processing method, and storage medium
JP5880056B2 (en) Image data generation apparatus, image processing apparatus, image processing system, image data generation method, image processing method, image data generation program, and image processing program
US8977046B2 (en) Image processing device, image processing method, and storage medium storing image processing program with color to pattern correlation
JP5103304B2 (en) Image processing apparatus, image processing method, and image processing program
JP5874424B2 (en) Image processing apparatus, image processing method, and image processing program
JP2011155352A (en) Image processor, image processing method and computer-executable program
JP5884536B2 (en) Image processing apparatus, image processing method, and image processing program
JP2008072208A (en) Image processor, and method thereof, and recording medium thereof
JP6707262B2 (en) Image forming apparatus and program
US11553110B2 (en) Image processing apparatus, control method thereof, and storage medium
JP5790298B2 (en) Image processing apparatus, image processing program, and image processing method
JP2005122612A (en) Device, method and program for color correction, device, method, and program for color conversion
JP2005109807A (en) Image processing method, image processor, image forming device and image processing system
JPH1178125A (en) Color printer driver
JP6394247B2 (en) Image processing apparatus and computer program
US20190132477A1 (en) Image Processing Method and Image Processing Apparatus That Ensure Efficient Memory Use, and Recording Medium Therefor
JP6418055B2 (en) Image processing apparatus and computer program
JP2023030240A (en) Information processing apparatus, program, and information processing method
JP2014107687A (en) Image processing apparatus and program
JP2013081014A (en) Image processing device, image processing method, image processing program and printing system
JP2020044673A (en) Printer

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20141119

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20150107

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20151008

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20151013

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20151207

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160104

R150 Certificate of patent or registration of utility model

Ref document number: 5874424

Country of ref document: JP

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