JP2011250294A - Image forming apparatus and image forming method - Google Patents

Image forming apparatus and image forming method Download PDF

Info

Publication number
JP2011250294A
JP2011250294A JP2010123053A JP2010123053A JP2011250294A JP 2011250294 A JP2011250294 A JP 2011250294A JP 2010123053 A JP2010123053 A JP 2010123053A JP 2010123053 A JP2010123053 A JP 2010123053A JP 2011250294 A JP2011250294 A JP 2011250294A
Authority
JP
Japan
Prior art keywords
hue
pen
color
image
pixel
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
JP2010123053A
Other languages
Japanese (ja)
Other versions
JP5484199B2 (en
Inventor
Teru Nishizawa
輝 西沢
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.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Mita 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 Kyocera Mita Corp filed Critical Kyocera Mita Corp
Priority to JP2010123053A priority Critical patent/JP5484199B2/en
Publication of JP2011250294A publication Critical patent/JP2011250294A/en
Application granted granted Critical
Publication of JP5484199B2 publication Critical patent/JP5484199B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To enable to print an excellent image which has a hue close to an actual one even for an image of a white board shot in a hue different from the actual hue.SOLUTION: An image forming apparatus 1 performs, to an input color image, a predetermined image formation processing, and includes a part 100 of pen hue mapping processing which, when a color image shot on a white board is input, identifies a color of a color pen used when drawing diagrams and/or characters on the white board, for an arbitrary pixel of the color image, and maps a color value of the arbitrary pixel in the hue of the pen thus identified. After the pen hue mapping processing, the predetermined image formation processing is performed.

Description

本発明は、ホワイトボードを撮影したカラー画像の印刷を行うプリンタなどの画像形成装置及び画像形成方法に関する。   The present invention relates to an image forming apparatus such as a printer that performs printing of a color image obtained by photographing a whiteboard, and an image forming method.

近年、オフィスワークにおいてはホワイトボードを用いて会議等が行われ、必要事項を数色のカラーペンで記録する作業が日常的に行われている。また、ホワイトボードの記録を用紙に印字して関係者に配布する等、情報の有効活用が図られている。
例えば、電子式のホワイトボードの場合、その場で付属のスキャナー装置によって画像情報を読み取り、付属の印字装置によってホワイトボードの記録を即座に印字することが可能である。
ところが、一般的な電子式のホワイトボードはモノクロ印刷仕様の場合が多く、カラーペンで記録した内容を視認しづらいことがある。
In recent years, in office work, a meeting or the like is performed using a whiteboard, and an operation of recording necessary items with several color pens is performed on a daily basis. In addition, effective use of information has been attempted, such as printing a whiteboard record on paper and distributing it to related parties.
For example, in the case of an electronic whiteboard, image information can be read on the spot with an attached scanner device, and a whiteboard record can be printed immediately with an attached printing device.
However, general electronic whiteboards often have monochrome printing specifications, and it may be difficult to view the contents recorded with a color pen.

そこで、特許文献1には、基本色の色画像データと基本色以外の色画像データとを視覚的に区別して印字するように画像処理を行い、この画像処理によって得られた色画像データを印字する画像読取印字装置が開示されている。当該画像読取装置によれば、印字結果においてユーザーが基本色と基本色以外の色との区別を目視により容易に確認することができるようになっている。
また、特許文献2には、イメージセンサー出力の分光感度によりマーカー色を識別し、その結果、マーカー色に応じて濃淡印字を行うことができる電子黒板が開示されている。
Therefore, in Patent Document 1, image processing is performed so that the color image data of the basic color and the color image data other than the basic color are visually distinguished, and the color image data obtained by the image processing is printed. An image reading and printing apparatus is disclosed. According to the image reading apparatus, the user can easily visually confirm the distinction between the basic color and the color other than the basic color in the printing result.
Further, Patent Document 2 discloses an electronic blackboard that can identify a marker color based on the spectral sensitivity of an image sensor output and, as a result, can perform shade printing according to the marker color.

特開平4−339473号公報JP-A-4-339473 特開昭63−48050号公報JP-A 63-48050

しかしながら、特許文献1、特許文献2のいずれに開示されている技術においても、予めスキャナー等の画像読取手段が備えられているホワイトボードが前提となっている。
つまり、このような従来の技術は、画像読取手段を備えていない一般的なホワイトボードを使用するユーザーにとっては有効ではなく、この場合、ユーザーは、電子スチルカメラ(以下、DSCと称する)で撮影したホワイトボード画像を印刷することでその目的を達していた。
However, the techniques disclosed in either Patent Document 1 or Patent Document 2 are premised on a whiteboard provided with image reading means such as a scanner in advance.
That is, such a conventional technique is not effective for a user who uses a general whiteboard that does not include an image reading unit. In this case, the user takes an image with an electronic still camera (hereinafter referred to as DSC). The purpose was achieved by printing a whiteboard image.

ところで、一般的なDSCでホワイトボードを撮影した場合、撮影画像の大部分は白色部分で占められているため、各種の調整機能が適正に動作しないことが多い。このため、適切な画像として撮影されず、結果として、視認性に欠けた画像が印刷される問題が生じていた。
例えば、ホワイトボードは白色部が大部分を占めるため、DSCの自動露出機能(AE機能)が適正に働かないことがあり、この場合、ホワイトボードの白色部分が色付きのグレイになり、また、赤、青、緑などのペン色が黒っぽく撮影されてしまう問題が生じていた。
By the way, when a white board is photographed by a general DSC, most of the photographed image is occupied by a white portion, and thus various adjustment functions often do not operate properly. For this reason, it was not photographed as an appropriate image, and as a result, there was a problem that an image lacking visibility was printed.
For example, since the white part of the whiteboard occupies the majority, the DSC automatic exposure function (AE function) may not work properly. In this case, the white part of the whiteboard becomes colored gray, There was a problem that pen colors such as blue, green, etc. were shot blackish.

また、光源を蛍光灯に依存する夜間等においては、ホワイトバランス機能が適正に働かないことがあり(オフィスに使用される蛍光灯は発色性が良くないためにそのような傾向が強い)、この場合には、ペンの色が本来の色相とは大凡かけ離れたものとして撮影される問題が生じていた。
特に、携帯電話機に内蔵されるDSCは、利便性に優れるためオフィスワークにおいて使われる機会が多いが、その反面、調整機能や調整範囲は一般的なDSCよりもさらに制限されることが多いため、上記の問題がより顕著なものとなっていた。
In addition, the white balance function may not work properly at night, etc. where the light source depends on fluorescent lamps (fluorescent lamps used in offices tend to have such a tendency due to poor color development). In some cases, there has been a problem that the pen color is photographed as being far from the original hue.
In particular, a DSC built in a mobile phone is often used in office work because of its superior convenience, but on the other hand, the adjustment function and adjustment range are often more limited than a general DSC. The above problem has become more prominent.

本発明は、以上のような従来の技術が有する問題を解決するために提案されたものであり、本来の色相とは異なる色相で撮影されたホワイトボードの画像であっても、本来の色相に近い良好な画像として印刷することができる画像形成装置及び画像形成方法の提供を目的とする。   The present invention has been proposed in order to solve the above-described problems of the conventional technology, and even when an image of a whiteboard is taken with a hue different from the original hue, the original hue is restored. An object of the present invention is to provide an image forming apparatus and an image forming method capable of printing as a close good image.

上記目的を達成するため、本発明の画像形成装置は、入力されたカラー画像に対して所定の画像形成処理を行う画像形成装置であって、白地上の描画を撮影したカラー画像が入力されたとき、当該カラー画像の任意ピクセルについて、前記描画に使用したカラーペンの色を同定し、同定されたペン色相内に任意ピクセルの色値を写像するペン色相写像処理部を備え、該ペン色相写像処理後に所定の画像形成処理を行う構成としてある。   In order to achieve the above object, an image forming apparatus of the present invention is an image forming apparatus that performs a predetermined image forming process on an input color image, and a color image obtained by photographing a drawing on a white ground is input. A pen hue mapping processing unit for identifying the color of the color pen used for the drawing with respect to an arbitrary pixel of the color image and mapping the color value of the arbitrary pixel within the identified pen hue; A predetermined image forming process is performed after the process.

また、本発明の画像形成方法は、入力されたカラー画像に対して所定の画像形成処理を行う画像形成方法であって、白地上の描画を撮影したカラー画像が入力されたとき、当該カラー画像の任意ピクセルについて、前記描画に使用したペンの色を同定し、同定されたペン色相内に任意ピクセルの色値を写像するペン色相写像処理ステップを備え、該ペン色相写像処理後に所定の画像形成処理を行う方法としてある。   The image forming method of the present invention is an image forming method for performing a predetermined image forming process on an input color image. When a color image obtained by photographing a drawing on a white ground is input, the color image A pen hue mapping processing step of identifying a pen color used for the drawing for the arbitrary pixel and mapping the color value of the arbitrary pixel within the identified pen hue, and forming a predetermined image after the pen hue mapping processing. This is a method for processing.

本発明の画像形成装置や画像形成方法によれば、本来の色相とは異なる色相で撮影されたホワイトボードの画像であっても、本来の色相に近い良好な画像として印刷することができる。   According to the image forming apparatus and the image forming method of the present invention, even a whiteboard image photographed with a hue different from the original hue can be printed as a good image close to the original hue.

本発明の第一実施形態に係る画像形成装置の概略構成を示すブロック図である。1 is a block diagram illustrating a schematic configuration of an image forming apparatus according to a first embodiment of the present invention. HCB空間を三次元的に表した図である。It is the figure which represented HCB space three-dimensionally. 図2に示すHCB空間において明度軸を示した図である。It is the figure which showed the lightness axis in the HCB space shown in FIG. 図3に示すHCB空間を明度軸の端点(W点又はK点)方向からの視点にもとづいて表した図である。FIG. 4 is a diagram showing the HCB space shown in FIG. 3 based on the viewpoint from the direction of the end point (point W or point K) of the brightness axis. 図4を3次元的に表した図である。It is the figure which represented FIG. 4 three-dimensionally. 任意の色値を含む色相面を二次元的に表した図である。It is the figure which represented the hue surface containing arbitrary color values two-dimensionally. 任意の色値を含む色相面と被写像色相面とを表した図である。It is a figure showing the hue surface containing arbitrary color values and a mapping hue surface. 色空間上の色相面に含まれる任意の点Aの位置関係を求めるため、予め点Aを含む各三角形の面積とその面積比を求める方法を説明するための図である。It is a figure for demonstrating the method of calculating | requiring the area of each triangle containing the point A, and its area ratio previously, in order to obtain | require the positional relationship of the arbitrary points A contained in the hue surface on color space. 本実施形態に係るペン色相写像処理部の詳細な構成を示す機能ブロック図である。It is a functional block diagram which shows the detailed structure of the pen hue mapping process part which concerns on this embodiment. ペン色相の同定に用いる色相範囲を示した図である。It is the figure which showed the hue range used for identification of a pen hue. 第二実施形態に係るペン色相写像処理部の詳細な構成を示す機能ブロック図である。It is a functional block diagram which shows the detailed structure of the pen hue mapping process part which concerns on 2nd embodiment. 画像レンジ補正処理部の機能ブロック図である。It is a functional block diagram of an image range correction processing unit. 画像レンジの補正例を示した図である。It is the figure which showed the example of correction | amendment of an image range. 第三実施形態に係るペン色相写像処理部の詳細な構成を示す機能ブロック図である。It is a functional block diagram which shows the detailed structure of the pen hue mapping process part which concerns on 3rd embodiment. 第三実施形態におけるペン色相の同定に用いる色相範囲を示した図である。It is the figure which showed the hue range used for identification of the pen hue in 3rd embodiment. 第四実施形態に係るペン色相写像処理部の詳細な構成を示す機能ブロック図である。It is a functional block diagram which shows the detailed structure of the pen hue mapping process part which concerns on 4th embodiment. 第四実施形態における低彩度ピクセル無彩色化処理及び黒色成分除去処理を示した図である。It is the figure which showed the low saturation pixel achromatic process and black component removal process in 4th embodiment.

[第一実施形態]
以下、本発明の一実施形態に係る画像形成装置の構成について図面を参照しながら説明する。
なお、本実施形態に係る画像形成装置1は、例えば、カラープリンタなどの印刷装置であり、CPU(Central Process Unit)やチップセット等の制御要素、ROM(Read Only Memory)及びRAM(Random Access Memory)等により構成されたコンピューターを有する。CPUは、プログラムを実行する演算処理装置である。ROMは、プログラム及びデータを予め記憶した不揮発性のメモリである。RAMは、プログラムを実行する際にそのプログラム及びデータを一時的に記憶して、作業領域として用いるメモリである。ROMに記憶されたプログラムは、CPUの制御手段に読み込まれることにより、コンピューターに所定の処理を行わせる。このように、プログラムとコンピューターが協働することにより、画像形成装置1のコンピューター内に機能的な構成要素が実現される。
[First embodiment]
Hereinafter, a configuration of an image forming apparatus according to an embodiment of the present disclosure will be described with reference to the drawings.
The image forming apparatus 1 according to the present embodiment is a printing apparatus such as a color printer, for example, and includes control elements such as a CPU (Central Process Unit) and a chip set, a ROM (Read Only Memory), and a RAM (Random Access Memory). ) And the like. The CPU is an arithmetic processing device that executes a program. The ROM is a non-volatile memory that stores programs and data in advance. The RAM is a memory that temporarily stores the program and data when the program is executed and uses it as a work area. The program stored in the ROM is read by the control means of the CPU, thereby causing the computer to perform predetermined processing. Thus, functional components are realized in the computer of the image forming apparatus 1 by the cooperation between the program and the computer.

画像形成装置1は、図1に示すように、プログラムとコンピューターとの協働により実現される機能的な構成として、ホワイトボードを撮影したカラー画像が入力されたとき、所定の画像処理を行うペン色相写像処理部100、所定の色値(RGB形式)からなる対象画像を所定の色変換テーブルによって出力可能な色値(CMYK形式)の画像データに変換する色変換処理部200、出力濃度補正を行うガンマ補正処理部300及び疑似階調処理を行うスクリーン処理部400を備える。
また、画像形成装置1は、ハードウェア構成として、不図示の画像入力装置や出力装置とを有し、それぞれ図示しないコンピューターや入力デバイスと直接又はケーブル等を介して接続している。ここで、画像入力装置は、RGBデータからなる画像情報を入力し、出力装置は、ペン色相写像処理、色変換処理、ガンマ補正処理及びスクリーン処理が施された画像データを出力する。
As shown in FIG. 1, the image forming apparatus 1 has a functional configuration realized by the cooperation of a program and a computer, and a pen that performs predetermined image processing when a color image obtained by photographing a whiteboard is input. Hue mapping processing unit 100, color conversion processing unit 200 for converting a target image having a predetermined color value (RGB format) into image data of a color value (CMYK format) that can be output by a predetermined color conversion table, and output density correction A gamma correction processing unit 300 to perform and a screen processing unit 400 to perform pseudo gradation processing are provided.
The image forming apparatus 1 includes an image input device and an output device (not shown) as hardware configurations, and is connected to a computer and an input device (not shown) directly or via a cable or the like. Here, the image input device inputs image information composed of RGB data, and the output device outputs image data subjected to pen hue mapping processing, color conversion processing, gamma correction processing, and screen processing.

つまり、本実施形態に係る画像形成装置1は、対象の画像情報を画像入力装置が入力し、ペン色相写像処理部100、色変換処理部200、ガンマ補正処理部300及びスクリーン処理部400がその画像に対して必要な処理を施し、その後、出力装置が画像出力処理を行う。
以上のように、本実施形態に係る画像形成装置1は、ソフトウェアとハードウェア資源とが協働することにより実現される。
That is, in the image forming apparatus 1 according to the present embodiment, the image input device inputs target image information, and the pen hue mapping processing unit 100, the color conversion processing unit 200, the gamma correction processing unit 300, and the screen processing unit 400 Necessary processing is performed on the image, and then the output device performs image output processing.
As described above, the image forming apparatus 1 according to the present embodiment is realized by cooperation of software and hardware resources.

ここで、本実施形態に係るペン色相写像処理部100について詳細に説明する。
ペン色相写像処理部100は、画像形成装置1にホワイトボードを撮影したカラー画像が入力されたとき、当該カラー画像の任意ピクセルについて、ホワイトボードに図形や文字を描く際に使用したカラーペンの色を同定し、同定されたペン色相内に任意ピクセルの色値を写像する処理を行う。このようなペン色相写像処理後に既存の印刷処理(所定の画像形成処理)を行うことにより、本来の色相とは異なる色相で撮影されたホワイトボードの画像であっても、本来の色相に近い良好な画像として印刷することが可能になる。
Here, the pen hue mapping processing unit 100 according to the present embodiment will be described in detail.
When a color image obtained by photographing a whiteboard is input to the image forming apparatus 1, the pen hue mapping processing unit 100 uses the color pen color used when drawing a figure or a character on the whiteboard for an arbitrary pixel of the color image. And a process of mapping the color value of an arbitrary pixel in the identified pen hue. By performing the existing printing process (predetermined image forming process) after such a pen hue mapping process, even a whiteboard image shot with a hue different from the original hue is good close to the original hue Can be printed as a simple image.

図2は、HCB空間を三次元的に表した図であり、図3は、図2に示すHCB空間において明度軸を示した図である。
本実施形態では、ペン色相写像処理を行うにあたり、HCB空間を利用した写像処理を行う。HCB空間は、色値を、色相値(H:Hue)、彩度値(C:Chroma)、明度値(B:Brightness)によって表す色空間であり、図2及び図3に示すように、立方体として三次元的に表すことができる。
立方体の各頂点、すなわち、R、G、Bl、C、M、Y、K及びWは、それぞれ、レッド、グリーン、ブルー、シアン、マゼンタ、イエロー、ブラック及びホワイトをそれぞれ示す。
本実施形態においては、立方体の各頂点の座標は、それぞれR={255,0,0}、G={0,255,0}、Bl={0,0,255}、C={0,255,255}、M={255,0,255}、Y={255,255,0}、K={0,0,0}、W={255,255,255}とする。
例えば、WとKを端点とした明度軸を意識することによって、任意の色値に対する明度を認識することができる。
FIG. 2 is a diagram showing the HCB space three-dimensionally, and FIG. 3 is a diagram showing the lightness axis in the HCB space shown in FIG.
In the present embodiment, when performing the pen hue mapping process, the mapping process using the HCB space is performed. The HCB space is a color space in which color values are represented by hue values (H: Hue), saturation values (C: Chroma), and lightness values (B: Brightness). As shown in FIGS. As a three-dimensional representation.
Each vertex of the cube, that is, R, G, B1, C, M, Y, K, and W, indicates red, green, blue, cyan, magenta, yellow, black, and white, respectively.
In the present embodiment, the coordinates of the vertices of the cube are R = {255, 0, 0}, G = {0, 255, 0}, Bl = {0, 0, 255}, C = {0, 255, 255}, M = {255, 0, 255}, Y = {255, 255, 0}, K = {0, 0, 0}, W = {255, 255, 255}.
For example, by considering the lightness axis with W and K as endpoints, the lightness for an arbitrary color value can be recognized.

図4は、このようなHCB空間を明度軸の端点(W点又はK点)方向からの視点にもとづいて表した図である。このようにすると、色相値を環状に表すことができる。
例えば、同図において、RGBデータA={r,g,b}は、レッドの色相面上に存在することを認識することができる。
図5は、図4を3次元的に表した図である。
同図によれば、レッドの色相面(△WKR)上に点Aが存在することを立体的に認識することができる。
このように、一般に、色相面は、任意のRGBデータAに対応する最大彩度点Pと明度軸上の端点W及びKとからなる三角形状の平面(色相面)で表すことができる。
なお、最大彩度点Pは、対象点及び明度軸を包含する色相面と線分M−Bl−C−G−Y−R−Mとの交点によって示される。したがって、本実施形態の例では、図4及び図5において点Aに対応する最大彩度点PはRとなる。
FIG. 4 is a diagram showing such an HCB space based on the viewpoint from the direction of the end point (point W or point K) of the brightness axis. In this way, the hue value can be expressed in a ring shape.
For example, in the figure, it can be recognized that RGB data A = {r, g, b} exists on the red hue plane.
FIG. 5 is a three-dimensional representation of FIG.
According to the figure, it can be recognized three-dimensionally that the point A exists on the red hue plane (ΔWKR).
Thus, in general, the hue plane can be represented by a triangular plane (hue plane) composed of the maximum saturation point P corresponding to arbitrary RGB data A and the end points W and K on the brightness axis.
The maximum saturation point P is indicated by the intersection of the hue plane including the target point and the brightness axis and the line segment M-B1-C-G-Y-R-M. Therefore, in the example of the present embodiment, the maximum saturation point P corresponding to the point A in FIGS.

ここで入力画像の任意ピクセルの色値を他の色相面に写像する具体的な方法について、図6〜図8を参照しながら詳細に説明する。
まず、図6に示すように、任意ピクセルの色値に対応する点Aを含む色相面を取り出す。同図において、x方向及びy方向は、彩度及び明度を示し、それぞれ矢線の方向に比例して値が大きくなることを示している。つまり、同図に示す色相面WKP2の最大彩度点はP2であり、明度軸は線分WKであることを表している。
なお、最大彩度点(最大彩度値)Paは、次式(1)によって求めることができる。
Pa=(A−min[A])/max(A−min[A])×255 ・・・(1)
(但し、min[A]は、{r,g,b}の内で最小の値、max[A]は、{r,g,b}内で最大の値、A−min[A]は、点Aの各要素からmin[A]を引く事を意味する。
例えば、△WKP2内に存在する任意の点AのRGBデータが、A={95,63,63}である場合、上記式(1)を適用して、その最大彩度点P2を、P2={255,255,0}と算出することができる。
Here, a specific method for mapping the color value of an arbitrary pixel of the input image to another hue plane will be described in detail with reference to FIGS.
First, as shown in FIG. 6, a hue plane including a point A corresponding to the color value of an arbitrary pixel is extracted. In the figure, the x direction and the y direction indicate saturation and lightness, respectively, indicating that the values increase in proportion to the direction of the arrow. That is, the maximum saturation point of the hue plane WKP2 shown in the figure is P2, and the lightness axis is the line segment WK.
The maximum saturation point (maximum saturation value) Pa can be obtained by the following equation (1).
Pa = (A−min [A]) / max (A−min [A]) × 255 (1)
(However, min [A] is the smallest value in {r, g, b}, max [A] is the largest value in {r, g, b}, and A-min [A] is This means subtracting min [A] from each element of point A.
For example, when the RGB data of an arbitrary point A existing in ΔWKP2 is A = {95, 63, 63}, the maximum saturation point P2 is set to P2 = {255, 255, 0} can be calculated.

次に、写像先である被写像色相面を取り出す。
図7は、任意の色値を含む色相面と被写像色相面とを重ねて表した図である。
同図において、点Aを含む色相面△WKP2の最大彩度点P2は、P2=Y={255,255,0}とし、被単色相面△WKP1の最大彩度点P1は、P1=R={255,0,0}としている。
このように、HCB空間の色相値を固定することにより、ある色相面と他の色相面との明度差を認識することができる。
Next, the mapping hue plane that is the mapping destination is taken out.
FIG. 7 is a diagram in which a hue plane including an arbitrary color value and an image hue plane are overlapped.
In the figure, the maximum saturation point P2 of the hue plane ΔWKP2 including the point A is P2 = Y = {255,255,0}, and the maximum saturation point P1 of the hue plane ΔWKP1 is P1 = R. = {255, 0, 0}.
In this way, by fixing the hue value of the HCB space, it is possible to recognize the brightness difference between a certain hue plane and another hue plane.

図8は、色空間上の色相面に含まれる任意の点Aの位置関係を求めるため、予め点Aを含む各三角形の面積とその面積比を求める方法を説明するための図である。
まず、同図においては、次式(2)〜(6)が成り立つ。
S=△WKP2 ・・・(2)
s=△AWK/△WKP2 ・・・(3)
t=△AKP2/△WKP2 ・・・(4)
u=△AP2W/△WKP2 ・・・(5)
S=s+t+u=1 ・・・(6)
FIG. 8 is a diagram for explaining a method of obtaining the area of each triangle including the point A and its area ratio in advance in order to obtain the positional relationship of an arbitrary point A included in the hue plane on the color space.
First, in the figure, the following equations (2) to (6) hold.
S = ΔWKP2 (2)
s = ΔAWK / ΔWKP2 (3)
t = ΔAKP2 / ΔWKP2 (4)
u = ΔAP2W / ΔWKP2 (5)
S = s + t + u = 1 (6)

なお、一般に、三次元空間における△ODEの面積S0は、O={Or,Og,Ob}、D={Dr,Dg,Db}、E={Er,Eg,Eb}と仮定すると、次式(7)〜(9)を用いて算出することができる。
ベクトルOD=D−O ・・・(7)
ベクトルOE=E−O ・・・(8)
0=|OD×OE|/2 ・・・(9)
つまり、△ODEの面積S0は、ベクトルODとベクトルOEの外積を用いて算出することができる。
このため、△WKP2における点Aの位置関係を示す面積比率s、t、uは、式(2)〜(9)を用いて求めることができる。
In general, the area S 0 of ΔODE in the three-dimensional space is assumed to be O = {Or, Og, Ob}, D = {Dr, Dg, Db}, E = {Er, Eg, Eb}. It is computable using Formula (7)-(9).
Vector OD = DO (7)
Vector OE = EO (8)
S 0 = | OD × OE | / 2 (9)
That is, the area S 0 of ΔODE can be calculated using the outer product of the vector OD and the vector OE.
For this reason, the area ratios s, t, and u indicating the positional relationship of the point A in ΔWKP2 can be obtained using equations (2) to (9).

次に、任意のRGBデータAを、他の色相面に写像した後のRGBデータA’の算出方法について説明する。
△WKP1における点A’は、写像前の△WKP2における点Aの位置関係と等しくする必要がある。つまり、△WKP2における△AWK、△AKP2、△AP2Wの面積比率s、t、uは、△WKP1における△A’WK、△A’KP1、△A’P1Wと同一となるように写像する必要がある。
Next, a method for calculating RGB data A ′ after mapping arbitrary RGB data A to another hue plane will be described.
The point A ′ in ΔWKP1 needs to be equal to the positional relationship of the point A in ΔWKP2 before mapping. That is, the area ratios s, t, and u of ΔAWK, ΔAKP2, and ΔAP2W in ΔWKP2 need to be mapped so as to be the same as ΔA′WK, ΔA′KP1, and ΔA′P1W in ΔWKP1. is there.

このため、予め式(3)〜(5)を用いて求めたs,t,uを次式(10)に代入して点A’の座標を算出する。
A’{r,g,b}=s・P1{r,g,b}+t・W{r,g,b}+u・K{r,g,b}
・・・(10)
For this reason, the coordinates of the point A ′ are calculated by substituting s, t, and u obtained in advance using the equations (3) to (5) into the following equation (10).
A ′ {r, g, b} = s · P1 {r, g, b} + t · W {r, g, b} + u · K {r, g, b}
... (10)

次に、本実施形態に係るペン色相写像処理部100の詳細について、図9及び図10を参照して説明する。
図9は、本実施形態に係るペン色相写像処理部の詳細な構成を示す機能ブロック図である。
この図に示すように、本実施形態のペン色相写像処理部100は、ペン色設定部101、包含色相最大彩度点演算部102、該当ペン色相推定部103、包含色相面内分割比率演算部104、ペン色相内色値変換部105などを備えている。
Next, details of the pen hue mapping processing unit 100 according to the present embodiment will be described with reference to FIGS. 9 and 10.
FIG. 9 is a functional block diagram showing a detailed configuration of the pen hue mapping processing unit according to the present embodiment.
As shown in this figure, the pen hue mapping processing unit 100 of this embodiment includes a pen color setting unit 101, an included hue maximum saturation point calculation unit 102, a corresponding pen hue estimation unit 103, an included hue in-plane division ratio calculation unit. 104, a pen hue color value conversion unit 105, and the like.

ペン色設定部101は、ホワイトボードに図形や文字を描く際に使用したカラーペンの色(ペン色相の最大彩度点)を設定する。
例えば、ペンの色をRGB形式で0から1まで間の数値で表す場合、赤、青、黒、緑のペンの色は、それぞれ、赤{1,0,0}、青{0,0,1}、黒{0,0,0}、緑{0,1,0}のように設定する。
The pen color setting unit 101 sets the color of the color pen (maximum saturation point of the pen hue) used when drawing a graphic or character on the whiteboard.
For example, when the pen color is expressed by a numerical value between 0 and 1 in the RGB format, the red, blue, black, and green pen colors are red {1, 0, 0} and blue {0, 0, respectively. 1}, black {0, 0, 0}, green {0, 1, 0}.

包含色相最大彩度点演算部102は、ホワイトボードを撮影したカラー画像の任意ピクセルにおいて、任意ピクセルが含まれる色相の最大彩度点Paを算出する。
例えば、任意の点AのRGB色値を0から1までの間の値で正規化して表現した場合、点Aを含む色相の最大彩度点PaのRGB値は、前述した式(1)により求めることができる。
なお、点Aが明度軸上(グレイ値軸上)の点の場合は、彩度がゼロにもとづいて解なしとなるが、便宜的に白色値を与えるようにしてもよい。
The included hue maximum saturation point calculation unit 102 calculates a maximum saturation point Pa of a hue including an arbitrary pixel in an arbitrary pixel of a color image obtained by photographing the whiteboard.
For example, when the RGB color value of an arbitrary point A is expressed by normalization with a value between 0 and 1, the RGB value of the maximum saturation point Pa of the hue including the point A is expressed by the above equation (1). Can be sought.
When the point A is a point on the lightness axis (on the gray value axis), there is no solution based on the saturation being zero, but a white value may be given for convenience.

包含色相最大彩度点演算部102の計算例を具体的に数値を用いて示す。例えば、点Aの色値が0〜255で表記したとき、A1:{255,128,128}だったならば、255で割って正規化してAn1:{1,0.5,0.5}
とした後、式(1)に従いて、同色相内最大彩度点Pa1:{1,0,0} と求めることができる。
また、もし、点A2の色値が、A2:{255,192,128}だったならば、An2:{1,0.75,0.50}、Pa2:{1,0.50,0}と求めることができる。
A calculation example of the included hue maximum saturation point calculation unit 102 will be specifically described using numerical values. For example, when the color value of the point A is expressed by 0 to 255, if A1: {255,128,128}, it is normalized by dividing by 255, and An1: {1,0.5,0.5}.
Then, according to the equation (1), the maximum saturation point Pa1: {1, 0, 0} in the same hue can be obtained.
If the color value of the point A2 is A2: {255, 192, 128}, An2: {1, 0.75, 0.50}, Pa2: {1, 0.50, 0} It can be asked.

該当ペン色相推定部103は、包含色相最大彩度点演算部102にて算出された任意ピクセルの最大彩度点Paにもとづいて、任意ピクセル部分を描くのに使用したペンの色を同定する。
本実施形態では、ホワイトボード画像の任意の点Aの色値を包含する色相において、最大彩度点Pa{r,g,b}を構成する色値のうち、いずれかはゼロであり、いずれかは1であり、いずれかは0から1までの間の点であることを利用して、点Aがペン色設定部101にて設定されたペン色のいずれで描かれたのかを同定する。
具体的には、点Paのrgb値において、r=1ならば、ペンの色は赤、g=1ならば、ペンの色は緑、b=1ならば、ペンの色は青と、描かれたペンの色を仮同定することができる。
The corresponding pen hue estimation unit 103 identifies the color of the pen used to draw the arbitrary pixel portion based on the maximum saturation point Pa of the arbitrary pixel calculated by the inclusion hue maximum saturation point calculation unit 102.
In the present embodiment, in the hue including the color value of an arbitrary point A in the whiteboard image, one of the color values constituting the maximum saturation point Pa {r, g, b} is zero. Or 1 is used to identify whether the point A is drawn in the pen color set by the pen color setting unit 101 using the point between 0 and 1 .
Specifically, in the rgb value of the point Pa, if r = 1, the pen color is red, if g = 1, the pen color is green, and if b = 1, the pen color is blue. The pen color can be temporarily identified.

例えば、点Aの値がA2:{255,192,128}だったならば、モニタ画面上は赤というよりもオレンジの色相に見えるが、同色相最大彩度点は、Pa2:{1,0.50,0}となり、r=1となるので、ペンの色を「赤」と同定する。
このようにすると、図10に示すような色相範囲で使用したペンの色を同定することが可能になる。
なお、 上記の説明では、黒ペンで描かれているピクセルの同定方法は省略しているが、黒ペンの同定処理の有無は任意である。例えば、黒ペンで描かれたピクセルは、仮に他のペン色に同定されたとしても、その色相に写像される位置は、彩度が極めて低く、色味は小さくなるので、黒ペンの同定を省いても問題はない。また、黒ペンの同定条件(例えば、△AKPの面積が所定値未満)を設定し、この条件を満たすピクセルを黒色点に写像するようにしてもよい。
For example, if the value of the point A is A2: {255, 192, 128}, it looks like an orange hue rather than red on the monitor screen, but the maximum saturation point of the same hue is Pa2: {1,0 .50,0} and r = 1, the pen color is identified as “red”.
This makes it possible to identify the pen color used in the hue range as shown in FIG.
In the above description, a method for identifying a pixel drawn with a black pen is omitted, but the black pen identification process is optional. For example, even if a pixel drawn with a black pen is identified as a different pen color, the position mapped to that hue is extremely low in saturation and the hue becomes small. There is no problem even if omitted. Alternatively, a black pen identification condition (for example, the area of ΔAKP is less than a predetermined value) may be set, and a pixel satisfying this condition may be mapped to a black point.

包含色相面内分割比率演算部104は、包含色相最大彩度点演算部102にて算出された任意ピクセルの最大彩度点Paと白色点Wと黒色点Kで形成される色空間中の三角形において、任意ピクセルの色値に相当する点によって分割される領域の面積比率を算出する。
例えば、前述した式(2)〜(9)を用いて算出することができる。
The included hue in-plane division ratio calculation unit 104 is a triangle in a color space formed by the maximum saturation point Pa, white point W, and black point K of an arbitrary pixel calculated by the included hue maximum saturation point calculation unit 102. The area ratio of the region divided by the points corresponding to the color values of arbitrary pixels is calculated.
For example, it can be calculated using the above-described equations (2) to (9).

ペン色相内色値変換部105は、該当ペン色相推定部103にて同定されたペン色相と包含色相面内分割比率演算部104にて算出された分割比率にもとづいて、任意ピクセルの色値を、同定されたペン色相内の写像点へ変換する。
例えば、同定されたペン色相内へ写像した後の色値(RGB値)は、前述した式(10)を用いて算出することができる。
The pen hue color value conversion unit 105 converts the color value of an arbitrary pixel based on the pen hue identified by the corresponding pen hue estimation unit 103 and the division ratio calculated by the included hue in-plane division ratio calculation unit 104. , And convert to a mapping point within the identified pen hue.
For example, the color value (RGB value) after mapping into the identified pen hue can be calculated using the above-described equation (10).

以上のように構成された本実施形態によれば、入力されたカラー画像に対して所定の画像形成処理を行う画像形成装置1であって、ホワイトボードを撮影したカラー画像が入力されたとき、当該カラー画像の任意ピクセルについて、ホワイトボードに図形や文字を描く際に使用したカラーペンの色を同定し、同定されたペン色相内に任意ピクセルの色値を写像するペン色相写像処理部100を備え、該ペン色相写像処理後に所定の画像形成処理を行うので、本来の色相とは異なる色相で撮影されたホワイトボードの画像であっても、本来の色相に近い良好な画像として印刷することができる。   According to the present embodiment configured as described above, the image forming apparatus 1 performs a predetermined image forming process on an input color image, and when a color image obtained by photographing a whiteboard is input, For a given pixel of the color image, a pen hue mapping processing unit 100 that identifies the color of the color pen used when drawing a figure or a character on the whiteboard and maps the color value of the arbitrary pixel within the identified pen hue. In addition, since the predetermined image forming process is performed after the pen hue mapping process, even a whiteboard image shot with a hue different from the original hue can be printed as a good image close to the original hue. it can.

また、ペン色相写像処理部100は、ホワイトボードに図形や文字を描く際に使用したカラーペンの色を設定するペン色設定部101と、ホワイトボードを撮影したカラー画像の任意ピクセルにおいて、任意ピクセルが含まれる色相の最大彩度点Paを算出する包含色相最大彩度点演算部102と、包含色相最大彩度点演算部102にて算出された任意ピクセルの最大彩度点Paにもとづいて、任意ピクセル部分を描くのに使用したペンの色を同定する該当ペン色相推定部103と、包含色相最大彩度点演算部102にて算出された任意ピクセルの最大彩度点Paと白色点Wと黒色点Kで形成される色空間中の三角形において、任意ピクセルの色値に相当する点によって分割される領域の面積比率を算出する包含色相面内分割比率演算部104と、該当ペン色相推定部103にて同定されたペン色相と包含色相面内分割比率演算部104にて算出された分割比率にもとづいて、任意ピクセルの色値を、同定されたペン色相内の写像点へ変換するペン色相内色値変換部105と、を備えるので、任意ピクセルの色値を、元の色相面における位置を保ちつつ、ペン色相面上の写像点へ変換することができ、その結果、写像処理による画像の劣化も防止することができる。   The pen hue mapping processing unit 100 includes a pen color setting unit 101 for setting a color pen color used when drawing a figure or a character on a whiteboard, and an arbitrary pixel among arbitrary pixels of a color image obtained by photographing the whiteboard. Based on the maximum saturation point Pa of an arbitrary pixel calculated by the included hue maximum saturation point calculation unit 102 and the included hue maximum saturation point calculation unit 102 that calculates the maximum saturation point Pa of a hue including A corresponding pen hue estimation unit 103 that identifies the pen color used to draw the arbitrary pixel portion, and the maximum saturation point Pa and white point W of the arbitrary pixel calculated by the included hue maximum saturation point calculation unit 102. Inclusive hue in-plane division ratio calculation unit 10 that calculates an area ratio of a region divided by points corresponding to color values of arbitrary pixels in a triangle in the color space formed by the black point K. Based on the pen hue identified by the corresponding pen hue estimation unit 103 and the division ratio calculated by the in-hue-in-plane division ratio calculation unit 104, the color value of an arbitrary pixel is calculated from the identified pen hue. A color value conversion unit 105 in the pen hue for conversion to a mapping point, so that the color value of an arbitrary pixel can be converted to a mapping point on the pen hue plane while maintaining the position on the original hue plane, As a result, image degradation due to mapping processing can also be prevented.

[第二実施形態]
次に、本発明の第二実施形態に係る画像形成装置1について、図11〜図13を参照して説明する。但し、前記実施形態と共通する部分については、前記実施形態の符号を付すことにより、前記実施形態の説明を援用する。
[Second Embodiment]
Next, the image forming apparatus 1 according to the second embodiment of the present invention will be described with reference to FIGS. However, about the part which is common in the said embodiment, the description of the said embodiment is used by attaching | subjecting the code | symbol of the said embodiment.

図11は、第二実施形態に係るペン色相写像処理部の詳細な構成を示す機能ブロック図である。
この図に示すように、第二実施形態に係る画像形成装置1のペン色相写像処理部100は、任意ピクセルの色値をペン色相内の写像点に変換する前に、当該任意ピクセルを含むカラー画像の色値に係るヒストグラムを作成し、該ヒストグラムの分析結果にもとづいて、カラー画像の画像レンジを補正する画像レンジ補正処理部110を備える点が前記実施形態と相違している。
FIG. 11 is a functional block diagram illustrating a detailed configuration of the pen hue mapping processing unit according to the second embodiment.
As shown in this figure, the pen hue mapping processing unit 100 of the image forming apparatus 1 according to the second embodiment performs a color including an arbitrary pixel before converting the color value of the arbitrary pixel into a mapping point in the pen hue. This embodiment is different from the above-described embodiment in that it includes an image range correction processing unit 110 that creates a histogram related to the color value of an image and corrects the image range of the color image based on the analysis result of the histogram.

図12は、画像レンジ補正処理部の機能ブロック図である。
この図に示すように、本実施形態の画像レンジ補正処理部110は、分析画像生成部111、画像分析部112、画像レンジ補正部113などを備えている。
分析画像生成部111は、ホワイトボードを撮影したカラー画像の全体又は一部を分析画像として抽出する。
例えば、ホワイトボードを撮影したカラー画像の中央部付近で、所定サイズ(画像の全体サイズに対する比率)の分析画像を抽出する。
また、ホワイトボードを撮影したカラー画像全体をサムネール化して分析画像としてもよい。
FIG. 12 is a functional block diagram of the image range correction processing unit.
As shown in this figure, the image range correction processing unit 110 of this embodiment includes an analysis image generation unit 111, an image analysis unit 112, an image range correction unit 113, and the like.
The analysis image generation unit 111 extracts all or part of the color image obtained by photographing the whiteboard as an analysis image.
For example, an analysis image having a predetermined size (ratio to the overall size of the image) is extracted near the center of the color image obtained by photographing the whiteboard.
Alternatively, the entire color image obtained by photographing the whiteboard may be converted into a thumbnail and used as an analysis image.

画像分析部112は、分析画像の色値に係るヒストグラムを作成し、該ヒストグラムの最頻値を求める。
例えば、図13の上側に示すように、分析画像の各ピクセルについて、色値{r,g,b}の頻度を示すヒストグラムを作成し、最頻値{166,166,166}を求める。
分析画像の色値が8ビットデータである場合は、6ビットデータや4ビットデータに変換してからヒストグラムを作成してもよい。
また、最頻値の算出においては、最頻値を中心値とするバラツキ具合を計算し、最頻値に近い複数値を選択して真の最頻値を推定するようにしてもよい。
The image analysis unit 112 creates a histogram related to the color value of the analysis image and obtains the mode value of the histogram.
For example, as shown in the upper side of FIG. 13, a histogram indicating the frequency of the color value {r, g, b} is created for each pixel of the analysis image, and the mode value {166, 166, 166} is obtained.
When the color value of the analysis image is 8-bit data, the histogram may be created after conversion to 6-bit data or 4-bit data.
In calculating the mode value, the degree of variation with the mode value as the center value may be calculated, and a plurality of values close to the mode value may be selected to estimate the true mode value.

また、画像分析部112においては、分析画像のクラスタ分析にもとづいて、ホワイトボード画像を描いたときに使用されたペンの色や白点、黒点を推定するようにしてもよい。
このようなクラスタ分析を行うと、黒ペンが使用されていたのであれば、黒ペン相当の色値の代表値が得られるので、これとホワイトボードの白色部相当の色値とから、ホワイトボード画像の画像レンジ補正だけでなく、ホワイトバランス補正も行うことができる。
また、クラスタ分析の結果、ホワイトボード画像を描く際に黒ペンが使われていなかったと推定される場合は、黒点を{0,0,0}としてレンジ補正を行えば良い。
Further, the image analysis unit 112 may estimate the color, white point, and black point of the pen used when drawing the whiteboard image based on the cluster analysis of the analysis image.
When such a cluster analysis is performed, if a black pen was used, a representative value of the color value equivalent to the black pen can be obtained, and from this and the color value equivalent to the white part of the whiteboard, the whiteboard In addition to image range correction of images, white balance correction can also be performed.
Further, if it is estimated that the black pen was not used when drawing the whiteboard image as a result of the cluster analysis, the range correction may be performed by setting the black point to {0, 0, 0}.

画像レンジ補正部113は、ヒストグラムの最頻値がホワイトボードの白色部であると見做してカラー画像の画像レンジを補正する。
具体的には、最頻値がM{rm,gm,bm}ならば、ホワイトボード画像の任意の点A(ra,ga,ba)を次式で補正する。
A’=(ra/rm,ga/gm,ba/bm)×255
また、このとき、255以上になるピクセルは255に丸めればよい。
これにより、図13の下側に示すように、最頻値が{255,255,255}の白点として補正される。
なお、上記式で最頻度値を白点{255,255,255}にて補正してしまうと、白く飽和してしまう領域が多くなり過ぎる可能性があるが、そのようなとき、上記式の計算において、255を乗さず、255よりも小さな値を乗ずることにより、飽和領域を減らすことができる。
The image range correction unit 113 corrects the image range of a color image on the assumption that the mode of the histogram is the white part of the whiteboard.
Specifically, if the mode value is M {rm, gm, bm}, an arbitrary point A (ra, ga, ba) of the whiteboard image is corrected by the following equation.
A ′ = (ra / rm, ga / gm, ba / bm) × 255
Further, at this time, pixels that are 255 or more may be rounded to 255.
As a result, as shown in the lower side of FIG. 13, the mode value is corrected as a white point of {255, 255, 255}.
If the most frequent value is corrected with the white point {255, 255, 255} in the above formula, there is a possibility that the area saturated with white may be excessive. In such a case, In the calculation, the saturation region can be reduced by not multiplying 255 and multiplying by a value smaller than 255.

以上のように構成された第二実施形態によれば、ペン色相写像処理部100は、任意ピクセルの色値をペン色相内の写像点に変換する前に、当該任意ピクセルを含むカラー画像の色値に係るヒストグラムを作成し、該ヒストグラムの分析結果にもとづいて、カラー画像の画像レンジを補正する画像レンジ補正処理部110を備えるので、ホワイトボード画像の全体的な彩度を適正化し、ペン色の視認性をさらに向上させることができる。   According to the second embodiment configured as described above, the pen hue mapping processing unit 100 converts the color value of the color image including the arbitrary pixel before converting the color value of the arbitrary pixel into the mapping point in the pen hue. Since the image range correction processing unit 110 that generates a histogram relating to the value and corrects the image range of the color image based on the analysis result of the histogram is provided, the overall saturation of the whiteboard image is optimized, and the pen color Can be further improved.

また、画像レンジ補正処理部110は、ホワイトボードを撮影したカラー画像の全体又は一部を分析画像として抽出する分析画像生成部111と、分析画像の色値に係るヒストグラムを作成し、該ヒストグラムの最頻値を求める画像分析部112と、ヒストグラムの最頻値がホワイトボードの白色部であると見做してカラー画像の画像レンジを補正する画像レンジ補正部113と、を備えるので、グレイで撮影されたホワイトボードの白色部を本来の白色に変換できるだけでなく、ペン色の彩度も持ち上げることができる。   Further, the image range correction processing unit 110 creates an analysis image generation unit 111 that extracts all or part of a color image obtained by photographing a whiteboard as an analysis image, and creates a histogram related to the color value of the analysis image. Since the image analysis unit 112 that obtains the mode value and the image range correction unit 113 that corrects the image range of the color image on the assumption that the mode value of the histogram is the white part of the whiteboard, it is gray. Not only can the white part of the photographed whiteboard be converted to the original white color, but also the saturation of the pen color can be raised.

[第三実施形態]
次に、本発明の第三実施形態に係る画像形成装置1について、図14及び図15を参照して説明する。但し、前記実施形態と共通する部分については、前記実施形態の符号を付すことにより、前記実施形態の説明を援用する。
[Third embodiment]
Next, an image forming apparatus 1 according to a third embodiment of the present invention will be described with reference to FIGS. However, about the part which is common in the said embodiment, the description of the said embodiment is used by attaching | subjecting the code | symbol of the said embodiment.

図14は、第三実施形態に係るペン色相写像処理部の詳細な構成を示す機能ブロック図である。
この図に示すように、第三実施形態に係る画像形成装置1のペン色相写像処理部100は、任意ピクセルの色値をペン色相内の写像点に変換する前に、任意ピクセルの色値が所定のペン色相範囲に含まれるか否かを判定し、ペン色相範囲に含まれないと判断された任意ピクセルを無彩色化するペン色相範囲外ピクセル無彩色化処理部120を備える点が前記実施形態と相違している。
FIG. 14 is a functional block diagram showing a detailed configuration of the pen hue mapping processing unit according to the third embodiment.
As shown in this figure, the pen hue mapping processing unit 100 of the image forming apparatus 1 according to the third embodiment converts the color value of an arbitrary pixel into a mapping point in the pen hue before converting the color value of the arbitrary pixel. The above-described embodiment includes the pen achromatic range pixel achromatic processing unit 120 that determines whether or not the pixel is included in a predetermined pen hue range, and achromatics any pixel that is determined not to be included in the pen hue range. It is different from the form.

本実施形態のペン色相範囲外ピクセル無彩色化処理部120は、ペン色相範囲設定部121、ペン色相範囲判定部122、無彩色化処理部123、合成処理部124などを備えている。
ペン色相範囲設定部121は、ペン色相と見做す色相範囲を設定する。
例えば、ペン色が赤のときは、赤色相へ写像する赤系統色の範囲をa,bを用いて{1,a,0}、{1、0,b}と表記し、a,bの範囲で設定する。
具体的には、
{1,a,0}において、0≦a≦0.3
{1、0,b}において、0≦b≦0.5
このようにすると、図15に示すように、各ペンの色相と同定するペン色相範囲を絞り込むことができる。
The pen hue range non-pixel achromatic processing unit 120 of the present embodiment includes a pen hue range setting unit 121, a pen hue range determination unit 122, an achromatic processing unit 123, a composition processing unit 124, and the like.
The pen hue range setting unit 121 sets a hue range regarded as a pen hue.
For example, when the pen color is red, the range of the red system color mapped to the red phase is expressed as {1, a, 0}, {1, 0, b} using a and b, Set the range.
In particular,
In {1, a, 0}, 0 ≦ a ≦ 0.3
In {1, 0, b}, 0 ≦ b ≦ 0.5
In this way, as shown in FIG. 15, the pen hue range to be identified as the hue of each pen can be narrowed down.

ペン色相範囲判定部122は、任意ピクセルの色値が所定のペン色相範囲に含まれるか否かを判定する。
例えば、任意ピクセルを包含する色相の最大彩度点Paの色値が、ペン色相範囲設定部121で設定されたペン色相範囲に含まれるか否かを判定する。
The pen hue range determination unit 122 determines whether the color value of an arbitrary pixel is included in a predetermined pen hue range.
For example, it is determined whether or not the color value of the maximum saturation point Pa of a hue including an arbitrary pixel is included in the pen hue range set by the pen hue range setting unit 121.

無彩色化処理部123は、ペン色相範囲に含まれないと判断された任意ピクセルを無彩色化する。
例えば、ペン色相範囲に含まれないと判断された任意ピクセルについて、前記包含色相面内分割比率演算部104から包含色相内における分割比を取得し、該分割比をもとにグレイ軸上に写像することにより、任意ピクセルを無彩色化する。
無彩色化においては、例えば、以下の式を用いて無彩色後の写像値A”{r”,g”,b”}色値を求めればよい。
A”{r”,g”,b”}=(Sp+Sw)×W{1,1,1}+Sk×{0,0,0}
但し、
Sp=△KAW/△WPK
Sw=△PAK/△WPK
Sk=△WAP/△WPK
The achromatic color processing unit 123 achromatics any pixel that is determined not to be included in the pen hue range.
For example, for an arbitrary pixel that is determined not to be included in the pen hue range, the division ratio in the included hue is acquired from the in-hue-in-plane division ratio calculation unit 104, and is mapped onto the gray axis based on the division ratio. By doing so, an arbitrary pixel is achromatic.
In achromatic color, for example, the mapped value A ″ {r ″, g ″, b ″} color value after achromatic color may be obtained using the following equation.
A ″ {r ″, g ″, b ″} = (Sp + Sw) × W {1,1,1} + Sk × {0,0,0}
However,
Sp = △ KAW / △ WPK
Sw = △ PAK / △ WPK
Sk = △ WAP / △ WPK

合成処理部124は、カラー画像の有彩色部と無彩色部を合成する。
つまり、ペン色相相当色のピクセルのみ有彩色で、非ペン色相相当色のピクセルを無彩色化したホワイトボード画像を得る。
The combination processing unit 124 combines the chromatic color portion and the achromatic color portion of the color image.
In other words, a whiteboard image is obtained in which only the pixels corresponding to the pen hue are chromatic and the pixels corresponding to the non-pen hue are achromatic.

以上のように構成された第三実施形態によれば、ペン色相写像処理部100は、任意ピクセルの色値をペン色相内の写像点に変換する前に、任意ピクセルの色値が所定のペン色相範囲に含まれるか否かを判定し、ペン色相範囲に含まれないと判断された任意ピクセルを無彩色化するペン色相範囲外ピクセル無彩色化処理部120を備えるので、ペン色相相当色のピクセルのみ有彩色で、非ペン色相相当色のピクセルを無彩色化したホワイトボード画像を得ることができる。これにより、非ペン色相相当色のピクセルがペン色相に写像され、ホワイトボード画像の視認性が低下するという問題を解消することができる。   According to the third embodiment configured as described above, the pen hue mapping processing unit 100 converts the color value of an arbitrary pixel into a predetermined pen before converting the color value of the arbitrary pixel into a mapping point in the pen hue. Since a pixel achromatic processing unit 120 that determines whether or not the pixel is included in the hue range and decolorizes an arbitrary pixel that is determined not to be included in the pen hue range is provided. It is possible to obtain a whiteboard image in which only pixels are chromatic and achromatic pixels corresponding to a non-pen hue are achromatic. Accordingly, it is possible to solve the problem that the pixels of the non-pen hue equivalent color are mapped to the pen hue and the visibility of the whiteboard image is lowered.

また、ペン色相範囲外ピクセル無彩色化処理部120は、ペン色相と見做す色相範囲を設定するペン色相範囲設定部121と、任意ピクセルの色値が所定のペン色相範囲に含まれるか否かを判定するペン色相範囲判定部122と、ペン色相範囲に含まれないと判断された任意ピクセルを無彩色化する無彩色化処理部123と、カラー画像の有彩色部と無彩色部を合成する合成処理部124と、を備えるので、あらかじめ設定される色相範囲にもとづいて非ペン色相相当色のピクセルを精度良く判定し、無彩色化することができる。   In addition, the pen achromatic range pixel achromatic processing unit 120 includes a pen hue range setting unit 121 that sets a hue range that is regarded as a pen hue, and whether or not the color value of an arbitrary pixel is included in a predetermined pen hue range. A pen hue range determination unit 122 for determining whether or not, an achromatic processing unit 123 for achromatically rendering an arbitrary pixel determined not to be included in the pen hue range, and a chromatic and achromatic portion of the color image And a synthesizing processing unit 124. Therefore, it is possible to accurately determine a pixel corresponding to a non-pen hue color based on a preset hue range and to make the color achromatic.

[第四実施形態]
次に、本発明の第四実施形態に係る画像形成装置1について、図16及び図17を参照して説明する。但し、前記実施形態と共通する部分については、前記実施形態の符号を付すことにより、前記実施形態の説明を援用する。
[Fourth embodiment]
Next, an image forming apparatus 1 according to a fourth embodiment of the present invention will be described with reference to FIGS. However, about the part which is common in the said embodiment, the description of the said embodiment is used by attaching | subjecting the code | symbol of the said embodiment.

図16は、第四実施形態に係るペン色相写像処理部の詳細な構成を示す機能ブロック図である。
この図に示すように、第四実施形態に係る画像形成装置1のペン色相写像処理部100は、任意ピクセルの色値をペン色相内の写像点に変換する前、又は、変換した後に、任意ピクセルの彩度を判断し、彩度が所定の閾値よりも低いピクセルを無彩色化する低彩度ピクセル無彩色化処理部130Aと、彩度が所定の閾値よりも高いピクセルの黒色成分を除去する黒色成分除去処理部130Bを備える点が前記実施形態と相違している。
FIG. 16 is a functional block diagram illustrating a detailed configuration of the pen hue mapping processing unit according to the fourth embodiment.
As shown in this figure, the pen hue mapping processing unit 100 of the image forming apparatus 1 according to the fourth embodiment performs arbitrary processing before or after converting the color value of an arbitrary pixel into a mapping point in the pen hue. Judgment of pixel saturation, low saturation pixel achromatic processing unit 130A that achromatically lowers pixels whose saturation is lower than a predetermined threshold, and removal of black component of pixels whose saturation is higher than the predetermined threshold The point which is provided with the black component removal process part 130B to perform differs from the said embodiment.

低彩度ピクセル無彩色化処理部130Aは、任意ピクセルの彩度が所定の閾値よりも低いか否かを判断する彩度判断部131と、彩度が所定の閾値よりも低いピクセルを無彩色化する無彩色化処理部123と、カラー画像の有彩色部と無彩色部を合成する合成処理部124とを備えている。
なお、無彩色化処理部123及び合成処理部124は、前記実施形態のものと同等であるため、詳細な説明は省略する。
The low saturation pixel achromatic processing unit 130A includes a saturation determination unit 131 that determines whether the saturation of an arbitrary pixel is lower than a predetermined threshold, and a pixel whose saturation is lower than the predetermined threshold. An achromatic color processing unit 123 for combining the chromatic color portion and the achromatic color portion of the color image.
The achromatic color processing unit 123 and the composition processing unit 124 are the same as those in the above-described embodiment, and thus detailed description thereof is omitted.

黒色成分除去処理部130Bは、上記の彩度判断部131と、彩度が所定の閾値よりも高いピクセルの色値を、当該ピクセルの色値を包含する色相における白色点と最大彩度点を結んだ線分上の写像点へ変換する同色相稜線写像処理部132とを備えている。
以下、彩度判断部131及び同色相稜線写像処理部132について詳細に説明する。
The black component removal processing unit 130B determines the color value of a pixel whose saturation is higher than a predetermined threshold, the white point and the maximum saturation point in a hue including the color value of the pixel, and the saturation determination unit 131 described above. And the same hue ridge line mapping processing unit 132 for converting into mapping points on the connected line segments.
Hereinafter, the saturation determination unit 131 and the same hue ridge line mapping processing unit 132 will be described in detail.

彩度判断部131は、任意ピクセルの彩度が所定の閾値よりも低いか否かを判断する。
例えば、図17に示すように、△WPKにおいて、辺KP上に点M(彩度判定閾値)を設け、点Aが△WMK内部にあるか、△WMP上または△WMP内部にあるのか否かを判定し、△WMK内部にあれば、彩度が不十分であると判定する。
点Aの内外判定は、例えば、△WMKにおいては、点Aを始点とするベクトルAW、ベクトルAM、ベクトルAKの外積AW・AM、外積AM/AK、外積AK/AWを計算した後、これら単位ベクトルを求めて、3外積のベクトル方向が一致していれば、点Aは内部に存在し、逆方向を向いているものがあれば、点Aは外部に存在すると判定できる。
あるいは、点Aから線分WKに垂線を下し、その距離を計算して規定の閾値を満たしているのか否かにもとづいて点Aの彩度が十分であるのか否かを判定してもよい。
The saturation determination unit 131 determines whether the saturation of an arbitrary pixel is lower than a predetermined threshold.
For example, as shown in FIG. 17, in ΔWPK, a point M (saturation determination threshold) is provided on the side KP, and whether the point A is inside ΔWMK, whether it is on ΔWMP, or inside ΔWMP. If it is within ΔWMK, it is determined that the saturation is insufficient.
For example, in ΔWMK, after calculating the vector AW, the vector AM, the outer product AW · AM of the vector AK, the outer product AM / AK, and the outer product AK / AW in ΔWMK, these units When vectors are obtained, if the vector directions of the three outer products coincide with each other, it can be determined that the point A exists inside, and if there are those pointing in the opposite direction, the point A exists outside.
Alternatively, a perpendicular line is drawn from the point A to the line segment WK, and the distance is calculated to determine whether or not the saturation of the point A is sufficient based on whether or not the prescribed threshold is satisfied. Good.

同色相稜線写像処理部132は、彩度が所定の閾値よりも高いピクセルの色値を、当該ピクセルの色値を包含する色相における白色点と最大彩度点を結んだ線分上の写像点へ変換する。
例えば、図17に示すように、写像点をA1とすると、次式にて算出することができる。
A1{r,g1,b1}=(Sp+Sk)×W{1,1,1}+Sw×Pa{r,g,b}
但し、
Sp=△KAW/△WPK
Sw=△PAK/△WPK
Sk=△WAP/△WPK
The same hue ridge line mapping processing unit 132 maps the color value of a pixel whose saturation is higher than a predetermined threshold to a mapping point on the line segment connecting the white point and the maximum saturation point in the hue including the color value of the pixel. Convert to
For example, as shown in FIG. 17, when the mapping point is A1, it can be calculated by the following equation.
A1 {r, g1, b1} = (Sp + Sk) × W {1,1,1} + Sw × Pa {r, g, b}
However,
Sp = △ KAW / △ WPK
Sw = △ PAK / △ WPK
Sk = △ WAP / △ WPK

以上のように構成された第四実施形態によれば、ペン色相写像処理部100は、任意ピクセルの色値をペン色相内の写像点に変換する前、又は、変換した後に、任意ピクセルの彩度を判断し、彩度が所定の閾値よりも低いピクセルを無彩色化する低彩度ピクセル無彩色化処理部130Aを備えるので、ペン色相内に写像された、または、その可能性があるノイズ的なピクセルを無彩色化し、ホワイトボード画像の視認性をさらに向上させることができる。   According to the fourth embodiment configured as described above, the pen hue mapping processing unit 100 converts the color value of an arbitrary pixel before or after converting the color value of the arbitrary pixel into a mapping point in the pen hue. Since the low-saturation pixel achromatization processing unit 130A for judging the degree of color and achromatizing pixels whose saturation is lower than a predetermined threshold value is provided, noise mapped in the pen hue or possibly noise The achromatic pixels can be achromatic, and the visibility of the whiteboard image can be further improved.

また、低彩度ピクセル無彩色化処理部130Aは、任意ピクセルの彩度が所定の閾値よりも低いか否かを判断する彩度判断部131と、彩度が所定の閾値よりも低いピクセルを無彩色化する無彩色化処理部123と、カラー画像の有彩色部と無彩色部を合成する合成処理部124とを備えるので、ノイズ的なピクセルが無彩色化されたカラーのホワイトボードを得ることができる。   Further, the low saturation pixel achromatic processing unit 130A includes a saturation determination unit 131 that determines whether the saturation of an arbitrary pixel is lower than a predetermined threshold, and a pixel whose saturation is lower than the predetermined threshold. Since the achromatization processing unit 123 for achromatic color and the synthesis processing unit 124 for synthesizing the chromatic color part and the achromatic color part of the color image are provided, a white board with a noisy pixel achromatic color is obtained. be able to.

また、ペン色相写像処理部100は、任意ピクセルの色値をペン色相内の写像点に変換する前、又は、変換した後に、任意ピクセルの彩度を判断し、彩度が所定の閾値よりも高いピクセルの黒色成分を除去する黒色成分除去処理部130Bを備えるので、ペン色相のピクセルの黒色成分を除去してホワイトボード画像の視認性をさらに向上させることができる。   In addition, the pen hue mapping processing unit 100 determines the saturation of the arbitrary pixel before or after converting the color value of the arbitrary pixel to the mapping point in the pen hue, and the saturation is greater than a predetermined threshold value. Since the black component removal processing unit 130B for removing the black component of the high pixel is provided, the black component of the pen hue pixel can be removed to further improve the visibility of the whiteboard image.

また、黒色成分除去処理部130Bは、任意ピクセルの彩度が所定の閾値よりも低いか否かを判断する彩度判断部131と、彩度が所定の閾値よりも高いピクセルの色値を、当該ピクセルの色値を包含する色相における白色点と最大彩度点を結んだ線分上の写像点へ変換する同色相稜線写像処理部132とを備えるので、彩度が所定の閾値よりも高いピクセルの黒色成分を良好に除去することができる。   Further, the black component removal processing unit 130B determines whether or not the saturation of the arbitrary pixel is lower than a predetermined threshold, and the color determination value of the pixel whose saturation is higher than the predetermined threshold. The same hue ridge line mapping processing unit 132 for converting to a mapping point on the line segment connecting the white point and the maximum saturation point in the hue including the color value of the pixel is included, so that the saturation is higher than a predetermined threshold value. The black component of the pixel can be removed well.

以上、本発明の画像形成装置について、好ましい実施形態を示して説明したが、本発明にかかる画像形成装置は、上述した実施形態にのみ限定されるものではなく、本発明の範囲で種々の変更実施が可能であることは言うまでもない。   The image forming apparatus according to the present invention has been described with reference to the preferred embodiment. However, the image forming apparatus according to the present invention is not limited to the above-described embodiment, and various modifications can be made within the scope of the present invention. It goes without saying that implementation is possible.

本発明は、ホワイトボードを撮影したカラー画像の印刷を行うプリンタなどの画像形成装置において好適に用いることができる。   The present invention can be suitably used in an image forming apparatus such as a printer that prints a color image obtained by photographing a whiteboard.

1 画像形成装置
100 ペン色相写像処理部
101 ペン色設定部
102 包含色相最大彩度点演算部
103 該当ペン色相推定部
104 包含色相面内分割比率演算部
105 ペン色相内色値変換部
110 画像レンジ補正処理部
111 分析画像生成部
112 画像分析部
113 画像レンジ補正部
120 ペン色相範囲外ピクセル無彩色化処理部
121 ペン色相範囲設定部
122 ペン色相範囲判定部
123 無彩色化処理部
124 合成処理部
130A 低彩度ピクセル無彩色化処理部
130B 黒色成分除去処理部
131 彩度判断部
132 同色相稜線写像処理部
200 色変換処理部
300 ガンマ補正処理部
400 スクリーン処理部
DESCRIPTION OF SYMBOLS 1 Image forming apparatus 100 Pen hue mapping process part 101 Pen color setting part 102 Inclusion hue maximum saturation point calculating part 103 Applicable pen hue estimation part 104 Inclusion hue in-plane division | segmentation ratio calculating part 105 Pen hue value conversion part 110 Image range Correction processing unit 111 Analysis image generation unit 112 Image analysis unit 113 Image range correction unit 120 Pen hue range out-of-pixel pixel achromatic processing unit 121 Pen hue range setting unit 122 Pen hue range determination unit 123 Achromatic processing unit 124 Composition processing unit 130A Low saturation pixel achromatic processing unit 130B Black component removal processing unit 131 Saturation determination unit 132 Same hue ridge line mapping processing unit 200 Color conversion processing unit 300 Gamma correction processing unit 400 Screen processing unit

Claims (11)

入力されたカラー画像に対して所定の画像形成処理を行う画像形成装置であって、
白地上の描画を撮影したカラー画像が入力されたとき、当該カラー画像の任意ピクセルについて、前記描画に使用したカラーペンの色を同定し、同定されたペン色相内に任意ピクセルの色値を写像するペン色相写像処理部を備え、該ペン色相写像処理後に所定の画像形成処理を行うことを特徴とする画像形成装置。
An image forming apparatus that performs a predetermined image forming process on an input color image,
When a color image of a white ground image is input, the color pen color used for the drawing is identified for any pixel in the color image, and the color value of the arbitrary pixel is mapped within the identified pen hue An image forming apparatus comprising: a pen hue mapping processing unit configured to perform a predetermined image forming process after the pen hue mapping process.
前記ペン色相写像処理部は、
白地上の描画に使用したカラーペンの色を設定するペン色設定部と、
前記描画を撮影したカラー画像の任意ピクセルにおいて、任意ピクセルが含まれる色相の最大彩度点を算出する包含色相最大彩度点演算部と、
前記包含色相最大彩度点演算部にて算出された任意ピクセルの最大彩度点にもとづいて、任意ピクセル部分を描くのに使用したペンの色を同定する該当ペン色相推定部と、
前記包含色相最大彩度点演算部にて算出された任意ピクセルの最大彩度点と白色点と黒色点で形成される色空間中の三角形において、任意ピクセルの色値に相当する点によって分割される領域の面積比率を算出する包含色相面内分割比率演算部と、
前記該当ペン色相推定部にて同定されたペン色相と前記包含色相面内分割比率演算部にて算出された分割比率にもとづいて、任意ピクセルの色値を、同定されたペン色相内の写像点へ変換するペン色相内色値変換部と、を備える請求項1記載の画像形成装置。
The pen hue mapping processor is
A pen color setting section for setting the color of the color pen used for drawing on the white ground,
In an arbitrary pixel of the color image obtained by photographing the drawing, an included hue maximum saturation point calculation unit that calculates a maximum saturation point of a hue including the arbitrary pixel;
Based on the maximum saturation point of the arbitrary pixel calculated by the inclusion hue maximum saturation point calculation unit, a corresponding pen hue estimation unit that identifies the color of the pen used to draw the arbitrary pixel part;
In the triangle in the color space formed by the maximum saturation point, white point, and black point of an arbitrary pixel calculated by the included hue maximum saturation point calculation unit, it is divided by points corresponding to the color value of the arbitrary pixel. An inclusion hue in-plane division ratio calculation unit for calculating the area ratio of the area to be
Based on the pen hue identified by the corresponding pen hue estimation unit and the division ratio calculated by the included hue in-plane division ratio calculation unit, the color value of an arbitrary pixel is determined as a mapping point within the identified pen hue. The image forming apparatus according to claim 1, further comprising: a pen hue in-hue color value conversion unit for converting into a color value.
前記ペン色相写像処理部は、
任意ピクセルの色値をペン色相内の写像点に変換する前に、当該任意ピクセルを含むカラー画像の色値に係るヒストグラムを作成し、該ヒストグラムの分析結果にもとづいて、カラー画像の画像レンジを補正する画像レンジ補正処理部を備える請求項1又は2記載の画像形成装置。
The pen hue mapping processor is
Before converting the color value of an arbitrary pixel to a mapping point in the pen hue, a histogram is generated for the color value of the color image including the arbitrary pixel, and the image range of the color image is determined based on the analysis result of the histogram. The image forming apparatus according to claim 1, further comprising an image range correction processing unit that performs correction.
前記画像レンジ補正処理部は、
白地上の描画を撮影したカラー画像の全体又は一部を分析画像として抽出する分析画像生成部と、
前記分析画像の色値に係るヒストグラムを作成し、該ヒストグラムの最頻値を求める画像分析部と、
ヒストグラムの最頻値が前記白地上の白色部であると見做してカラー画像の画像レンジを補正する画像レンジ補正部と、を備える請求項3記載の画像形成装置。
The image range correction processing unit
An analysis image generator that extracts all or part of a color image obtained by photographing a drawing on the white ground as an analysis image;
An image analysis unit that creates a histogram related to the color value of the analysis image and obtains the mode value of the histogram;
The image forming apparatus according to claim 3, further comprising: an image range correction unit that corrects an image range of a color image by assuming that a mode value of a histogram is the white portion on the white ground.
前記ペン色相写像処理部は、
任意ピクセルの色値をペン色相内の写像点に変換する前に、任意ピクセルの色値が所定のペン色相範囲に含まれるか否かを判定し、ペン色相範囲に含まれないと判断された任意ピクセルを無彩色化するペン色相範囲外ピクセル無彩色化処理部を備える請求項1〜4のいずれか一項に記載の画像形成装置。
The pen hue mapping processor is
Before converting the color value of an arbitrary pixel to a mapping point in the pen hue, it was determined whether the color value of the arbitrary pixel was included in the predetermined pen hue range, and was determined not to be included in the pen hue range The image forming apparatus according to any one of claims 1 to 4, further comprising a pen achromatic range pixel achromatic processing unit that achromatics an arbitrary pixel.
前記ペン色相範囲外ピクセル無彩色化処理部は、
ペン色相と見做す色相範囲を設定するペン色相範囲設定部と、
任意ピクセルの色値が所定のペン色相範囲に含まれるか否かを判定するペン色相範囲判定部と、
ペン色相範囲に含まれないと判断された任意ピクセルを無彩色化する無彩色化処理部と、
カラー画像の有彩色部と無彩色部を合成する合成処理部と、を備える請求項5記載の画像形成装置。
The pen achromatic range pixel achromatic processing unit is
A pen hue range setting section for setting a hue range to be regarded as a pen hue;
A pen hue range determination unit that determines whether a color value of an arbitrary pixel is included in a predetermined pen hue range;
An achromatic processing unit that achromatics any pixel that is determined not to be included in the pen hue range;
The image forming apparatus according to claim 5, further comprising: a synthesis processing unit that synthesizes the chromatic color part and the achromatic color part of the color image.
前記ペン色相写像処理部は、
任意ピクセルの色値をペン色相内の写像点に変換する前、又は、変換した後に、任意ピクセルの彩度を判断し、彩度が所定の閾値よりも低いピクセルを無彩色化する低彩度ピクセル無彩色化処理部を備える請求項1〜6のいずれか一項に記載の画像形成装置。
The pen hue mapping processor is
Low saturation that determines the saturation of an arbitrary pixel before or after converting the color value of the arbitrary pixel to a mapping point in the pen hue, and achromatics pixels whose saturation is lower than a predetermined threshold The image forming apparatus according to claim 1, further comprising a pixel achromatic processing unit.
前記低彩度ピクセル無彩色化処理部は、
任意ピクセルの彩度が所定の閾値よりも低いか否かを判断する彩度判断部と、
彩度が所定の閾値よりも低いピクセルを無彩色化する無彩色化処理部と、
カラー画像の有彩色部と無彩色部を合成する合成処理部と、を備える請求項7記載の画像形成装置。
The low saturation pixel achromatic processing unit
A saturation determination unit for determining whether the saturation of an arbitrary pixel is lower than a predetermined threshold;
An achromatic processing unit that achromatics pixels whose saturation is lower than a predetermined threshold;
The image forming apparatus according to claim 7, further comprising: a synthesis processing unit that synthesizes the chromatic color portion and the achromatic color portion of the color image.
前記ペン色相写像処理部は、
任意ピクセルの色値をペン色相内の写像点に変換する前、又は、変換した後に、任意ピクセルの彩度を判断し、彩度が所定の閾値よりも高いピクセルの黒色成分を除去する黒色成分除去処理部を備える請求項1〜8のいずれか一項に記載の画像形成装置。
The pen hue mapping processor is
A black component that determines the saturation of an arbitrary pixel before or after converting the color value of the arbitrary pixel to a mapping point in the pen hue, and removes the black component of the pixel whose saturation is higher than a predetermined threshold The image forming apparatus according to claim 1, further comprising a removal processing unit.
前記黒色成分除去処理部は、
任意ピクセルの彩度が所定の閾値よりも低いか否かを判断する彩度判断部と、
彩度が所定の閾値よりも高いピクセルの色値を、当該ピクセルの色値を包含する色相における白色点と最大彩度点を結んだ線分上の写像点へ変換する同色相稜線写像処理部と、を備える請求項9記載の画像形成装置。
The black component removal processing unit
A saturation determination unit for determining whether the saturation of an arbitrary pixel is lower than a predetermined threshold;
Same-hue ridgeline mapping processing unit that converts a color value of a pixel whose saturation is higher than a predetermined threshold into a mapping point on a line segment connecting the white point and the maximum saturation point in the hue including the color value of the pixel. An image forming apparatus according to claim 9.
入力されたカラー画像に対して所定の画像形成処理を行う画像形成方法であって、
白地上の描画を撮影したカラー画像が入力されたとき、当該カラー画像の任意ピクセルについて、前記描画に使用したペンの色を同定し、同定されたペン色相内に任意ピクセルの色値を写像するペン色相写像処理ステップを備え、該ペン色相写像処理後に所定の画像形成処理を行うことを特徴とする画像形成方法。
An image forming method for performing a predetermined image forming process on an input color image,
When a color image obtained by photographing a drawing on the white ground is input, the color of the pen used for the drawing is identified for an arbitrary pixel of the color image, and the color value of the arbitrary pixel is mapped within the identified pen hue An image forming method comprising a pen hue mapping process step, and performing a predetermined image forming process after the pen hue mapping process.
JP2010123053A 2010-05-28 2010-05-28 Image forming apparatus and image forming method Expired - Fee Related JP5484199B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010123053A JP5484199B2 (en) 2010-05-28 2010-05-28 Image forming apparatus and image forming method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010123053A JP5484199B2 (en) 2010-05-28 2010-05-28 Image forming apparatus and image forming method

Publications (2)

Publication Number Publication Date
JP2011250294A true JP2011250294A (en) 2011-12-08
JP5484199B2 JP5484199B2 (en) 2014-05-07

Family

ID=45414957

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010123053A Expired - Fee Related JP5484199B2 (en) 2010-05-28 2010-05-28 Image forming apparatus and image forming method

Country Status (1)

Country Link
JP (1) JP5484199B2 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11110549A (en) * 1997-09-30 1999-04-23 Minolta Co Ltd Color-discriminating device
JPH11110550A (en) * 1997-09-30 1999-04-23 Minolta Co Ltd Color-discriminating device
JPH11110551A (en) * 1997-09-30 1999-04-23 Minolta Co Ltd Color-discriminating device
JP2002112050A (en) * 2000-09-27 2002-04-12 Fuji Xerox Co Ltd Image-processing method and device thereof
JP2005260657A (en) * 2004-03-12 2005-09-22 Casio Comput Co Ltd Photographing apparatus, image processing method and program therefor
JP2007329795A (en) * 2006-06-09 2007-12-20 Fuji Xerox Co Ltd Image processing system, commodity order system and image processing program
JP2009010574A (en) * 2007-06-27 2009-01-15 Kyocera Mita Corp Image forming apparatus, image processing method, and image processing program
JP2009171402A (en) * 2008-01-18 2009-07-30 Ricoh Co Ltd Image processing apparatus, image processing method, and program

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11110549A (en) * 1997-09-30 1999-04-23 Minolta Co Ltd Color-discriminating device
JPH11110550A (en) * 1997-09-30 1999-04-23 Minolta Co Ltd Color-discriminating device
JPH11110551A (en) * 1997-09-30 1999-04-23 Minolta Co Ltd Color-discriminating device
JP2002112050A (en) * 2000-09-27 2002-04-12 Fuji Xerox Co Ltd Image-processing method and device thereof
JP2005260657A (en) * 2004-03-12 2005-09-22 Casio Comput Co Ltd Photographing apparatus, image processing method and program therefor
JP2007329795A (en) * 2006-06-09 2007-12-20 Fuji Xerox Co Ltd Image processing system, commodity order system and image processing program
JP2009010574A (en) * 2007-06-27 2009-01-15 Kyocera Mita Corp Image forming apparatus, image processing method, and image processing program
JP2009171402A (en) * 2008-01-18 2009-07-30 Ricoh Co Ltd Image processing apparatus, image processing method, and program

Also Published As

Publication number Publication date
JP5484199B2 (en) 2014-05-07

Similar Documents

Publication Publication Date Title
US9552537B2 (en) Color conversion method and profile generation method
JP5032911B2 (en) Image processing apparatus and image processing method
JP5116393B2 (en) Image processing apparatus and image processing method
JP4902837B2 (en) How to convert to monochrome image
US8666156B2 (en) Image-based backgrounds for images
CN102857674B (en) Method for processing high dynamic range images using tone mapping to extended RGB space
JP2010273144A (en) Image processor, control method thereof, and program
JP2005190435A (en) Image processing method, image processing apparatus and image recording apparatus
TW201325260A (en) Image processing apparatus, image processing method, and program product
CN111784703B (en) Image segmentation method and device, electronic equipment and storage medium
KR20180127913A (en) Image processing apparatus, image processing method, and storage medium
JP4031299B2 (en) Color image signal processing method, color image output apparatus, and photographing apparatus
JP3950551B2 (en) Image processing method, apparatus, and recording medium
JP5484199B2 (en) Image forming apparatus and image forming method
JP2014007449A (en) Illumination light color estimation device, illumination light color estimation method, and illumination light color estimation program
JP4164215B2 (en) Image processing method, apparatus, and recording medium
US11508034B2 (en) White background protection in SRGAN based super resolution
JP2019205103A (en) Information processing apparatus, information processing method, and program
US20080075174A1 (en) Chroma Supression Features
JP4708866B2 (en) Lookup table creation device and method, and lookup table creation program
JP2018195262A (en) Image processing apparatus, image processing method, and program
JP2004080100A (en) Method and apparatus for creating color conversion table, method and apparatus for converting colors, and imaging apparatus
Marcu et al. Three-dimensional histogram visualization in different color spaces and applications
JP3493148B2 (en) Image color processing apparatus, image color processing method, and recording medium
JP4208889B2 (en) Image processing method, apparatus, and recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120427

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130314

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130319

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130516

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130618

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130809

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140218

R150 Certificate of patent or registration of utility model

Ref document number: 5484199

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees