JP2000099701A - Image color processor, image color processing method and recording medium - Google Patents

Image color processor, image color processing method and recording medium

Info

Publication number
JP2000099701A
JP2000099701A JP10269670A JP26967098A JP2000099701A JP 2000099701 A JP2000099701 A JP 2000099701A JP 10269670 A JP10269670 A JP 10269670A JP 26967098 A JP26967098 A JP 26967098A JP 2000099701 A JP2000099701 A JP 2000099701A
Authority
JP
Japan
Prior art keywords
color
representative
section
image
edge
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
JP10269670A
Other languages
Japanese (ja)
Other versions
JP3493148B2 (en
Inventor
Shigeo Murakami
繁男 村上
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.)
Dainippon Screen Manufacturing Co Ltd
Original Assignee
Dainippon Screen Manufacturing Co Ltd
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 Dainippon Screen Manufacturing Co Ltd filed Critical Dainippon Screen Manufacturing Co Ltd
Priority to JP26967098A priority Critical patent/JP3493148B2/en
Publication of JP2000099701A publication Critical patent/JP2000099701A/en
Application granted granted Critical
Publication of JP3493148B2 publication Critical patent/JP3493148B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To suppress the personnel expenses required for image color processing and to shorten the workhours. SOLUTION: A color image is divided into plural sections (step S1), a representative color for each sectional image is found out (step S2) and further, a set of non-edge sections not including edge images in the objective images is found out (step S3). Then, a specific section is noticed and a similar color extent coefficient expressing the extent of a section belonging to the set of the non- edge sections out of the sections around the noticed section, being smoothly continued to the surrounding sections and having color similar to the representative color of the noticed section as representative color is found out. The such similar color extent coefficient is found out as of each section out of the set of non-edge sections (step S4). The representative color of a section having the maximum out of the similar color extent coefficient of the obtained respective sections is made to a representative background color. The background color is corrected based on the obtained representative background color or the like.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、カラー画像から
背景色を抽出する画像色処理装置、画像色処理方法およ
びそれを実現するためのコンピュータプログラムを記録
した記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image color processing apparatus for extracting a background color from a color image, an image color processing method, and a recording medium on which a computer program for realizing the method is recorded.

【0002】[0002]

【従来の技術】一般に、商品のカタログ等には複数の商
品写真などの商品の画像が掲載されることが多く、この
ような場合にそれら画像には商品の画像以外に、通常、
ほぼ単色無地の背景画像が含まれることが多い。そし
て、このような画像が同一ページ中に複数掲載される場
合に、多くは、それら背景画像の色が統一されているこ
とが望ましい。
2. Description of the Related Art In general, a product catalog or the like often includes a plurality of product images such as product photos. In such a case, these images are usually included in addition to the product images.
In most cases, the background image is almost a single-color solid background. When a plurality of such images are posted on the same page, it is often desirable that the colors of the background images are unified.

【0003】しかしながら、このような画像の基となる
画像の背景色は以下のような理由により通常は異なって
いる。すなわち、異なる写真スタジオで撮影された商品
写真である場合や、撮影の時期、照明の条件、フィルム
の銘柄等が異なる場合などである。
[0003] However, the background color of the image on which such an image is based is usually different for the following reasons. That is, there are cases where the photograph is a product photograph taken in a different photo studio, or when the photographing time, lighting conditions, film brand, and the like are different.

【0004】したがって、そのような複数の画像の背景
色を統一するためには、基となる画像の背景色のみを修
正する必要があり、従来、特許2740436号公報、
特許2740443号公報等の色修正方法を用いて作業
者が各商品画像の背景色を一枚一枚修正している。
Therefore, in order to unify the background colors of a plurality of images, it is necessary to correct only the background color of the base image.
The operator corrects the background color of each product image one by one using a color correction method disclosed in Japanese Patent No. 2740443 or the like.

【0005】[0005]

【発明が解決しようとする課題】ところで、上記方法
等、一般に色修正のためには修正対象となる画像のうち
の代表的な色、および色の範囲を特定する必要がある。
そして、従来は、各商品画像についてのこれらの情報を
作業者が一枚一枚、手作業で抽出しており、したがっ
て、多くの人件費および作業時間を費やしていた。
By the way, in general, for color correction, such as the above method, it is necessary to specify a representative color and a color range of an image to be corrected.
Conventionally, the worker manually extracts these pieces of information about each product image one by one, and therefore spends a lot of labor and work time.

【0006】この発明は、従来技術における上述の問題
の克服を意図しており、人件費によるコストを抑え、作
業時間を短縮することができる画像色処理装置、画像色
処理方法およびそれを実現するためのコンピュータプロ
グラムを記録した記録媒体を提供することを目的とす
る。
The present invention is intended to overcome the above-mentioned problems in the prior art, and realizes an image color processing apparatus, an image color processing method, and an image color processing apparatus capable of suppressing labor costs and shortening work time. To provide a recording medium on which a computer program for recording is recorded.

【0007】[0007]

【課題を解決するための手段】上記の目的を達成するた
め、この発明の請求項1に記載の装置は、カラー画像を
複数の区画に分割する分割手段と、複数の区画のそれぞ
れの代表色を抽出する代表色抽出手段と、複数の区画の
うちエッジ画像を含まない非エッジ区画の集合である非
エッジ区画集合を抽出する非エッジ選択手段と、非エッ
ジ区画集合の各非エッジ区画を順次、注目区画としつ
つ、注目区画の周囲に連続的に存在するとともに、注目
区画の代表色に対して色空間内における所定の類似色判
定条件を満足する色としての類似色を代表色として有す
るような非エッジ区画の広がりを類似色広さとして求め
る類似色広さ決定手段と、非エッジ区画集合のうち類似
色広さが最大の非エッジ区画の代表色をカラー画像の代
表的背景色とする背景色決定手段と、を備える。
According to one aspect of the present invention, there is provided an apparatus for dividing a color image into a plurality of sections and a representative color for each of the plurality of sections. A non-edge section set that extracts a non-edge section set that is a set of non-edge sections not including an edge image among a plurality of sections; As a representative color, a similar color which exists continuously around the target partition and which satisfies a predetermined similar color determination condition in the color space with respect to the representative color of the target partition has a representative color. Color width determining means for determining the spread of a non-edge section as a similar color width, and the representative color of the non-edge section having the largest similar color width in the non-edge section set as the representative background color of the color image Height Comprising a color determining means.

【0008】また、この発明の請求項2に記載の装置
は、請求項1に記載の画像色処理装置であって、類似色
判定条件がLab色空間における注目区画の代表色が表
わす点との距離が所定の閾値以下か否かを判定する条件
であることを特徴とする。
According to a second aspect of the present invention, there is provided the image color processing apparatus according to the first aspect, wherein the similar color determination condition is determined based on a point represented by the representative color of the target section in the Lab color space. It is a condition for determining whether or not the distance is equal to or less than a predetermined threshold.

【0009】また、この発明の請求項3に記載の装置
は、請求項1または請求項2に記載の画像色処理装置で
あって、さらに、代表的背景色がほぼ無彩色である場合
に、非エッジ区画のうちほぼ無彩色を有する無彩色区画
を選択する無彩色選択手段と、選択された無彩色区画の
代表色のうちほぼ最も明るい代表色およびほぼ最も暗い
代表色を、それぞれ最明背景色および最暗背景色として
選択する明暗選択手段と、を備える。
According to a third aspect of the present invention, there is provided the image color processing apparatus according to the first or second aspect, further comprising: when the representative background color is substantially achromatic. Achromatic color selecting means for selecting an achromatic section having substantially an achromatic color among the non-edge sections, and an almost brightest representative color and an almost darkest representative color among the representative colors of the selected achromatic section, respectively, as a brightest background. Light / dark selecting means for selecting the color and the darkest background color.

【0010】また、この発明の請求項4に記載の装置
は、請求項1または請求項2に記載の画像色処理装置で
あって、代表的背景色がほぼ有彩色である場合に、非エ
ッジ区画のうちほぼ有彩色を有する有彩色区画を選択す
る有彩色選択手段と、選択された有彩色区画の代表色の
うちほぼ最も明るい代表色およびほぼ最も暗い代表色
を、それぞれ最明背景色および最暗背景色として選択す
る明暗選択手段と、を備える。
According to a fourth aspect of the present invention, there is provided the image color processing apparatus according to the first or second aspect, wherein a non-edge image is generated when the representative background color is substantially chromatic. A chromatic color selection unit for selecting a chromatic color section having substantially a chromatic color among the sections, and a lightest representative color and a darkest representative color among the representative colors of the selected chromatic color section; Light / dark selecting means for selecting the darkest background color.

【0011】また、この発明の請求項5に記載の装置
は、請求項1または請求項2に記載の画像色処理装置で
あって、さらに、代表的背景色がほぼ無彩色か有彩色か
を判定する判定手段と、判定手段により代表的背景色が
ほぼ無彩色であると判定された場合に、非エッジ区画の
うちほぼ無彩色を有する無彩色区画を選択する無彩色選
択手段と、選択された無彩色区画の代表色のうちほぼ最
も明るい代表色およびほぼ最も暗い代表色を、それぞれ
最明背景色および最暗背景色として選択する第1明暗選
択手段と、判定手段により代表的背景色がほぼ有彩色で
あると判定された場合に、非エッジ区画のうちほぼ有彩
色を有する有彩色区画を選択する有彩色選択手段と、選
択された有彩色区画の代表色のうちほぼ最も明るい代表
色およびほぼ最も暗い代表色を、それぞれ最明背景色お
よび最暗背景色として選択する第2明暗選択手段と、を
備える。
According to a fifth aspect of the present invention, there is provided the image color processing apparatus according to the first or second aspect, further comprising determining whether the representative background color is substantially achromatic or chromatic. Determining means, and achromatic color selecting means for selecting an achromatic section having substantially achromatic color among the non-edge sections when the representative background color is determined to be substantially achromatic by the determining means; First light / dark selecting means for selecting the most lightest representative color and the most darkest representative color among the representative colors of the achromatic color section as the brightest background color and the darkest background color, respectively; A chromatic color selecting means for selecting a chromatic color section having a substantially chromatic color among the non-edge sections when it is determined to be substantially chromatic; and a substantially brightest representative color among the representative colors of the selected chromatic color section And almost the darkest The representative color comprises a second contrast selection means for selecting as the brightest background color and the cycler background color, respectively, the.

【0012】また、この発明の請求項6に記載の装置
は、請求項3または請求項5に記載の画像色処理装置で
あって、無彩色選択手段が、Lab色空間におけるab
平面内において原点との距離が所定の閾値以下である代
表色を有する非エッジ区画を無彩色区画とすることを特
徴とする。
According to a sixth aspect of the present invention, there is provided the image color processing apparatus according to the third or fifth aspect, wherein the achromatic color selecting means comprises an ab in the Lab color space.
A non-edge section having a representative color whose distance from the origin is equal to or less than a predetermined threshold value in a plane is defined as an achromatic section.

【0013】また、この発明の請求項7に記載の装置
は、請求項3または請求項5に記載の画像色処理装置で
あって、有彩色選択手段が、代表的背景色と彩度および
色相のそれぞれについて代表的背景色との差異が所定の
閾値の範囲内にあるような代表色を有する非エッジ区画
を有彩色区画とすることを特徴とする。
According to a seventh aspect of the present invention, there is provided the image color processing apparatus according to the third or fifth aspect, wherein the chromatic color selecting means comprises a representative background color, saturation, and hue. Are characterized in that a non-edge section having a representative color whose difference from the representative background color is within a predetermined threshold range is defined as a chromatic color section.

【0014】また、この発明の請求項8に記載の装置
は、請求項1ないし請求項7のいずれかに記載の画像色
処理装置であって、さらに、選択された代表的背景色を
もとにカラー画像の背景の色を修正する手段を備える。
An apparatus according to an eighth aspect of the present invention is the image color processing apparatus according to any one of the first to seventh aspects, further comprising an image color processing apparatus based on the selected representative background color. Means for correcting the background color of the color image.

【0015】また、この発明の請求項9に記載の方法
は、カラー画像を複数の区画に分割する分割工程と、複
数の区画のそれぞれの代表色を抽出する代表色抽出工程
と、複数の区画のうちエッジ画像を含まない非エッジ区
画の集合である非エッジ区画集合を抽出する非エッジ選
択工程と、非エッジ区画集合の各非エッジ区画を順次、
注目区画としつつ、注目区画の周囲に連続的に存在する
とともに、注目区画の代表色に対して色空間内における
所定の類似色判定条件を満足する色としての類似色を代
表色として有するような非エッジ区画の広がりを類似色
広さとして求める類似色広さ決定工程と、非エッジ区画
集合のうち類似色広さが最大の非エッジ区画の代表色を
カラー画像の代表的背景色とする背景色決定工程と、を
備える。
According to a ninth aspect of the present invention, there is provided a method for dividing a color image into a plurality of sections, a representative color extracting step for extracting a representative color of each of the plurality of sections, and a plurality of sections. A non-edge selection step of extracting a non-edge section set that is a set of non-edge sections not including an edge image, and sequentially executing each non-edge section of the non-edge section set,
A similar color that exists continuously around the target section and has a similar color as a color that satisfies a predetermined similar color determination condition in the color space with respect to the representative color of the target section while being set as the target section. A similar color width determining step of determining the spread of the non-edge section as a similar color width, and a background in which the representative color of the non-edge section having the largest similar color width in the non-edge section set is set as a representative background color of the color image A color determining step.

【0016】また、この発明の請求項10に記載の方法
は、請求項9に記載の画像色処理方法であって、さら
に、代表的背景色がほぼ無彩色か有彩色かを判定する判
定工程と、判定工程により代表的背景色がほぼ無彩色で
あると判定された場合に、非エッジ区画のうちほぼ無彩
色を有する無彩色区画を選択する無彩色選択工程と、選
択された無彩色区画の代表色のうちほぼ最も明るい代表
色およびほぼ最も暗い代表色を、それぞれ最明背景色お
よび最暗背景色として選択する第1明暗選択工程と、判
定工程により代表的背景色がほぼ有彩色であると判定さ
れた場合に、非エッジ区画のうちほぼ有彩色を有する有
彩色区画を選択する有彩色選択工程と、選択された有彩
色区画の代表色のうちほぼ最も明るい代表色およびほぼ
最も暗い代表色を、それぞれ最明背景色および最暗背景
色として選択する第2明暗選択工程と、を備える。
A method according to a tenth aspect of the present invention is the image color processing method according to the ninth aspect, further comprising the step of determining whether the representative background color is substantially achromatic or chromatic. And an achromatic color selecting step of selecting an achromatic section having substantially an achromatic color among the non-edge sections when the representative background color is determined to be substantially an achromatic color by the determining step; and the selected achromatic color section. And a first light / dark selection step of selecting a lightest representative color and a darkest representative color among the representative colors as a brightest background color and a darkest background color, respectively. A chromatic color selection step of selecting a chromatic color section having a substantially chromatic color among the non-edge sections when it is determined that there is a color; and a substantially brightest representative color and a substantially darkest representative color among the representative colors of the selected chromatic color section. The representative color, Respectively brightest background color and comprises a second contrast selection step of selecting as the cycler background color, the.

【0017】また、この発明の請求項11に記載の方法
は、請求項9または請求項10に記載の画像色処理方法
であって、さらに、選択された代表的背景色をもとにカ
ラー画像の背景の色を修正する工程を備える。
A method according to an eleventh aspect of the present invention is the image color processing method according to the ninth or tenth aspect, further comprising a color image processing method based on the selected representative background color. Correcting the color of the background.

【0018】さらに、この発明の請求項12に記載の記
録媒体は、コンピュータによってカラー画像から背景色
を抽出するためのプログラムを記録した記録媒体であっ
て、カラー画像を複数の区画に分割する分割機能と、複
数の区画のそれぞれの代表色を抽出する代表色抽出機能
と、複数の区画のうちエッジ画像を含まない非エッジ区
画の集合である非エッジ区画を抽出する非エッジ選択機
能と、非エッジ区画集合の各非エッジ区画を順次、注目
区画としつつ、注目区画の周囲に連続的に存在するとと
もに、注目区画の代表色と視覚的に類似と捉えられる類
似色を代表色として有する非エッジ区画集合に属する区
画の広がりである類似色広さを求めることによって、非
エッジ区画集合の各非エッジ区画について類似色広さを
求める類似色広さ決定機能と、非エッジ区画集合のうち
類似色広さが最大の非エッジ区画の代表色をカラー画像
の代表的背景色とする背景色決定機能と、を実現させる
プログラムを記録している。
A recording medium according to a twelfth aspect of the present invention is a recording medium in which a program for extracting a background color from a color image by a computer is recorded, wherein the color image is divided into a plurality of sections. A function, a representative color extraction function for extracting a representative color of each of the plurality of sections, a non-edge selection function for extracting a non-edge section which is a set of non-edge sections not including an edge image among the plurality of sections, Each non-edge section of the edge section set is sequentially set as a target section, and a non-edge that exists continuously around the target section and has a representative color that is visually similar to the representative color of the target section as a representative color. A similar color breadth that determines a similar color breadth for each non-edge partition of a non-edge partition set by calculating a similar color breadth that is the extent of a partition belonging to the partition set. A constant function, a non-edge section of similar Irohiro of the set is recording a program for realizing a background color determination function for a representative background color of the color image representative colors of the largest non-edge section.

【0019】[0019]

【発明の実施の形態】以下、この発明の実施の形態を図
面に基づいて説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0020】<1.実施の形態のシステム構成>図1は
この発明の一実施の形態である画像色処理装置のシステ
ム構成図である。以下、図1を用いてこの画像色処理装
置について説明していく。
<1. FIG. 1 is a system configuration diagram of an image color processing apparatus according to an embodiment of the present invention. Hereinafter, this image color processing apparatus will be described with reference to FIG.

【0021】この発明の装置は、画像について、背景色
および背景色の階調の範囲を自動的に求める装置であ
る。
The apparatus of the present invention is an apparatus for automatically obtaining a background color and a range of the gradation of the background color for an image.

【0022】図1に示すように画像色処理装置100
は、CPU1(分割手段、代表色抽出手段、非エッジ選
択手段、類似色広さ決定手段、背景色決定手段、無彩色
選択手段、明暗選択手段、有彩色選択手段、第1および
第2明暗選択手段に相当するとともに、後述する入力部
5とともに背景色を修正する手段に相当する)、基本的
プログラムが記憶されているROM2、以下に詳述する
画像変換プログラム等を記憶するRAM3、その画像変
換プログラムを磁気ディスクやCD−ROM等の記録媒
体4aから読み出す読み取り部4、キーボードやマウス
等からの入力を受け付ける入力部5、対象画像、画像色
処理結果を表示するカラーディスプレイ6、所要のプロ
グラムやデータを格納するハードディスク7等が適宜イ
ンターフェイス(I/F)を介してバスラインBLによ
り接続された本体部分のほか、スキャナ8、プリンタ9
等の周辺機器を備える1台の一般的なコンピュータシス
テムにおいて、内部のCPU1等が画像変換プログラム
を実行することによって実現される装置である。なお、
このコンピュータシステムはバスラインBLを通じて図
示しない他の装置と通信を行って各種データ等のやり取
りを行うことができるようになっている。また、画像変
換プログラムは予めROM2またはハードディスク7に
記憶しておき、RAM3に読み出して記憶して用いるも
のとしてもよく、その場合にはROM2またはハードデ
ィスク7が記録媒体として機能する。
As shown in FIG. 1, an image color processing apparatus 100
The CPU 1 (division means, representative color extraction means, non-edge selection means, similar color width determination means, background color determination means, achromatic color selection means, light / dark selection means, chromatic color selection means, first and second light / dark selection And a means for correcting the background color together with the input unit 5 described later), a ROM 2 storing a basic program, a RAM 3 storing an image conversion program and the like described in detail below, and its image conversion. A reading unit 4 for reading a program from a recording medium 4a such as a magnetic disk or a CD-ROM; an input unit 5 for receiving an input from a keyboard or a mouse; a color display 6 for displaying a target image and an image color processing result; A main body in which a hard disk 7 for storing data and the like are connected by a bus line BL via an interface (I / F) as appropriate. Minute of the addition, the scanner 8, a printer 9
Is a device realized by executing an image conversion program by an internal CPU 1 or the like in one general computer system including peripheral devices such as. In addition,
This computer system can communicate with other devices (not shown) through a bus line BL to exchange various data and the like. The image conversion program may be stored in the ROM 2 or the hard disk 7 in advance, and read out and stored in the RAM 3 for use. In such a case, the ROM 2 or the hard disk 7 functions as a recording medium.

【0023】以上のような装置構成により以下に示す処
理を行う。
The following processing is performed by the above-described apparatus configuration.

【0024】<2.実施の形態の画像色処理>つぎに、
この実施の形態における画像色処理について説明する。
図2および図3は、この実施の形態の画像色処理の全体
を示すフローチャートである。なお、以下の処理に先立
って予め背景色を抽出すべき画像データが準備され、そ
の画像に背景部分が含まれていることは作業者によって
確認されているものとする。また、以下の処理は特に記
さない限り、RAM3に読み込まれた画像色処理プログ
ラムをCPU1が実行することによりソフトウェア的に
自動的に行われる。
<2. Image color processing of the embodiment>
Image color processing in this embodiment will be described.
FIG. 2 and FIG. 3 are flowcharts showing the whole image color processing of this embodiment. It is assumed that image data from which a background color is to be extracted is prepared in advance prior to the following processing, and that an operator has confirmed that the image includes a background portion. Unless otherwise specified, the following processing is automatically performed by software by the CPU 1 executing the image color processing program read into the RAM 3.

【0025】まず、分祈対象のカラー画像(以下「対象
画像」という。)を複数の区画に分割する(ステップS
1)。図4はこの実施の形態における対象画像の分割の
様子を示す図である。図示のようにこの実施の形態では
対象画像を互いに等しい矩形の区画に分割している。そ
して、画像に2次元直交座標X−Yを設定し、各区画お
よびそれら区画の各画素を座標値で指定する。対象画像
に対してX方向にM、Y方向にN等分したM×N個の区
画を設定する。以下、便宜上、各区画のX方向およびY
方向の画素数をそれぞれa,bで表わす。なお、図4で
はM=N=4としている。
First, a color image to be prayed (hereinafter referred to as “target image”) is divided into a plurality of sections (step S).
1). FIG. 4 is a diagram showing how the target image is divided in this embodiment. As shown, in this embodiment, the target image is divided into rectangular sections that are equal to each other. Then, two-dimensional orthogonal coordinates XY are set in the image, and each section and each pixel of the section are designated by coordinate values. For the target image, M × N sections are set which are equally divided into M in the X direction and N in the Y direction. Hereinafter, for convenience, the X direction and Y
The number of pixels in the direction is represented by a and b, respectively. In FIG. 4, M = N = 4.

【0026】ところで、この発明はカラー画像に対する
画像色処理を前提としているが、この実施の形態ではカ
ラー画像はR(赤)、G(緑)、B(青)の各色成分を
有するものを対象としている。
By the way, the present invention is premised on image color processing for a color image. In this embodiment, a color image is an image having each color component of R (red), G (green) and B (blue). And

【0027】つぎに、各区画画像の代表色を求める(ス
テップS2)。具体的には、全区画のうちの一つの区画
を順に処理対象とし(以下、各ステップにおいて順次、
処理対象とされる区画を「対象区画」という)、各対象
区画内の各画素の3つの色成分それぞれの階調の分布に
ついてのヒストグラム(R、G、B成分それぞれに階級
値の範囲を持つため、RGB色空間において直方体の階
級(階級ブロック)を有する)を作成し、得られたヒス
トグラムのうちで最も度数の高い階級ブロックである最
多階級ブロックを求め、最多階級ブロックおよびそれに
隣接する階級ブロックに属する画素の色成分ごとの階調
値の平均値を対象区画の代表色の各色成分値とするもの
である。なお、この代表色の抽出方法は、本出願人によ
る特願平10−94569に開示されている。
Next, a representative color of each section image is obtained (step S2). Specifically, one of the sections is sequentially processed (hereinafter, in each step,
A section to be processed is referred to as a “target section”), and a histogram of the gradation distribution of each of the three color components of each pixel in each target section (each of R, G, and B components has a range of class values) Therefore, a rectangular parallelepiped class (having a class block) in the RGB color space is created, and the most frequent class block, which is the class block having the highest frequency, is obtained from the obtained histogram, and the most frequent class block and the class block adjacent thereto are obtained. The average value of the gradation values for each color component of the pixel belonging to the target section is set as each color component value of the representative color of the target section. The method of extracting the representative colors is disclosed in Japanese Patent Application No. 10-94569 filed by the present applicant.

【0028】つぎに、全区画に対して対象画像中のエッ
ジ画像を含まない、滑らかな部分に属する非エッジ区画
を求める(ステップS3)。具体的には以下のようにし
て求める。
Next, a non-edge section belonging to a smooth portion which does not include an edge image in the target image is obtained for all the sections (step S3). Specifically, it is obtained as follows.

【0029】まず、対象区画が滑らかな部分に属する
か、エッジ画像を含む部分に属するかを判定するため、
各画素に対して滑らかさを示すパラメータd(i,j)を
設定する。図5は画素の指定方法を示す図である。図示
のように各画素をP(i,j)と表し、XおよびY成分の
インデックスをそれぞれiおよびjと表わす。そして、
画素P(i,j)に対してパラメータd(i,j)を対応させ
る。ここで、パラメータd(i,j)は、画素P(i,j)に
おける画像の滑らかさを表わす量となっていて、以下の
条件式により決定される。
First, to determine whether the target section belongs to a smooth part or a part including an edge image,
A parameter d (i, j) indicating smoothness is set for each pixel. FIG. 5 is a diagram showing a method for specifying a pixel. As shown, each pixel is represented by P (i, j), and the indices of the X and Y components are represented by i and j, respectively. And
The parameter d (i, j) is made to correspond to the pixel P (i, j). Here, the parameter d (i, j) is a quantity representing the smoothness of the image at the pixel P (i, j), and is determined by the following conditional expression.

【0030】[0030]

【数1】 (Equation 1)

【0031】[0031]

【数2】 (Equation 2)

【0032】[0032]

【数3】 (Equation 3)

【0033】[0033]

【数4】 (Equation 4)

【0034】なお、ここでは画素P(i,j)のR,G,
B成分をそれぞれPr(i,j)、Pg(i,j),Pb(i,
j)と表わしている。これらの式から分かるように、パ
ラメータd(i,j)は注目画素P(i,j)に対して斜めに
隣接する画素P(i−1,j−1),P(i+1,j−1),
P(i−1,j+1),P(i+1,j+1)の階調の平均値
と注目画素P(i,j)の階調との差の絶対値となってい
る。したがって、パラメータd(i,j)の値が「0」に
近いほど注目画素と周囲の画素との階調差が少ないこと
になり、画像として滑らかでエッジ成分を含まないこと
を意味するのである。そして、このようなパラメータd
(i,j)を対象区画に含まれる画素のうち、対象区画の
周縁部の画素を除く全画素に対して求める。周縁部の画
素を除いたのは周縁部の画素には隣接する画素数が少な
く、画像の滑らかさの判定の対象に含めるのは不適当で
あり、また、そのような1画素分を滑らかさの判定の対
象から除いても判定結果に大きく影響を与えないためで
ある。なお、パラメータd(i,j)は絶対値の和なので
負の値をとらない。
Here, R, G, and R of the pixel P (i, j) are
The B components are Pr (i, j), Pg (i, j), Pb (i,
j). As can be seen from these equations, the parameter d (i, j) is the pixel P (i-1, j-1), P (i + 1, j-1) obliquely adjacent to the pixel of interest P (i, j). ),
The absolute value of the difference between the average value of the gradations of P (i-1, j + 1) and P (i + 1, j + 1) and the gradation of the pixel of interest P (i, j). Therefore, the closer the value of the parameter d (i, j) is to “0”, the smaller the gradation difference between the target pixel and the surrounding pixels, which means that the image is smooth and does not include edge components. . And such a parameter d
(i, j) is obtained for all the pixels included in the target section except for the pixels at the periphery of the target section. The reason for excluding the peripheral pixels is that the peripheral pixels have a small number of adjacent pixels, and it is inappropriate to include them in the image smoothness determination target. This is because even if it is excluded from the target of the determination, the determination result is not significantly affected. Note that the parameter d (i, j) does not take a negative value because it is the sum of absolute values.

【0035】図6は対象区画におけるパラメータd(i,
j)を求める手順を示すフローチャートである。以下、
パラメータd(i,j)の具体的な求め方について説明す
る。
FIG. 6 shows a parameter d (i,
6 is a flowchart showing a procedure for obtaining j). Less than,
A specific method for obtaining the parameter d (i, j) will be described.

【0036】まず、対象区画に含まれる周縁(最も外
側)以外の各画素P(i,j)のパラメータd(i,j)を求
める(図6:ステップS21)。すなわち、0<i<(a
−1),0<j<(b−1)の範囲にわたってインデック
スiとjを変化させた各注目画素P(i,j)について上
記数1〜数4の式に基づいてパラメータd(i,j)を求
め、RAM3に記憶していく。
First, a parameter d (i, j) of each pixel P (i, j) other than the periphery (outermost) included in the target section is determined (FIG. 6: step S21). That is, 0 <i <(a
−1), 0 <j <(b−1), the parameter d (i, j) for each pixel of interest P (i, j) whose index i and j are changed over the range of Equations 1 to 4 above. j) is obtained and stored in the RAM 3.

【0037】つぎに、それらの画素P(i,j)のパラメ
ータd(i,j)の和sdを求める(図6:ステップS2
2)。すなわち、パラメータd(i,j)の和を求めて、
その値を和sdとする。
Next, the sum sd of the parameters d (i, j) of the pixels P (i, j) is obtained (FIG. 6: step S2).
2). That is, the sum of the parameters d (i, j) is obtained,
The value is defined as a sum sd.

【0038】つぎに、対象区画内における全画素P(i,
j)のパラメータd(i,j)の平均値を求める(図6:ス
テップS23)。すなわち、周縁の画素を除く全画素の
数(a−2)×(b−2)で和sdを割り、パラメータd
(i,j)の平均値adを求める。
Next, all pixels P (i,
The average value of the parameter d (i, j) of j) is obtained (FIG. 6: step S23). That is, the sum sd is divided by the number (a−2) × (b−2) of all pixels excluding the peripheral pixels, and the parameter d
An average value ad of (i, j) is obtained.

【0039】つぎに、全区画終了か否かを判定し(図
6:ステップS24)、対象区画を変更しつつ全区画
(M×N個)について平均値adが求まるまでステップ
S21〜S24の処理を繰り返す。なお、上記和sdお
よび平均値adが各区画の滑らかさを表わす値となる。
Next, it is determined whether or not all sections have ended (FIG. 6: step S24), and the processing in steps S21 to S24 is performed while changing the target section until the average value ad is obtained for all the sections (M × N). repeat. The sum sd and the average value ad are values representing the smoothness of each section.

【0040】つぎに、求められた平均値adを用いて全
区画のうち滑らかでエッジ成分を含まない画像を有する
区画としての非エッジ区画を求める手順を、それを示す
フローチャートである図7を用いて説明する。
Next, a procedure for obtaining a non-edge section as a section having a smooth image containing no edge component among all the sections using the obtained average value ad will be described with reference to the flowchart of FIG. Will be explained.

【0041】まず、平均値adが第1閾値th1以下の
区画である非エッジ区画候補を求める(図7:ステップ
S31)。ここで、第1閾値th1は、この閾値より大
きい平均値adを有する区画画像には明らかにエッジ成
分があると判断される値を予め実験等により求めておい
た値である。
First, a non-edge section candidate whose section average value ad is equal to or smaller than the first threshold th1 is determined (FIG. 7: step S31). Here, the first threshold value th1 is a value in which a value that is determined to clearly have an edge component in a section image having an average value ad larger than this threshold value is obtained in advance by experiments or the like.

【0042】つぎに、全非エッジ区画候補の平均値ad
についてのヒストグラムを求める(図7:ステップS3
2)。そして、得られたヒストグラムに対して判別分析
を行って第2閾値th2を求める(図7:ステップS3
3)。ここで行う判別分析についてより具体的に説明す
る。ステップS31で求められた非エッジ区画候補は平
均値adが第1閾値th1以下の区画は画像中にエッジ
成分が有るか否か判別が難しい区画となっている。この
ような区画の集合にはエッジ成分を含む区画と、それを
含まない滑らかな画像の区画とが含まれている。したが
って得られたヒストグラムは、エッジ成分が含まれてい
る区画、すなわち平均値adが大きい区画と、エッジ成
分が含まれていない区画、すなわち平均値adが小さい
区画との2群に大まかに分けられるものと考えられる。
そこで、ここでは判別分析として両群の重心(度数を重
さとして)の間の距離が最大となるようにヒストグラム
を2つの群に分け、両群の境界となる平均値adを求
め、この平均値adを求める第2閾値th2とするとい
うものである。
Next, the average value ad of all the non-edge section candidates
(FIG. 7: Step S3)
2). Then, discrimination analysis is performed on the obtained histogram to obtain a second threshold value th2 (FIG. 7: step S3).
3). The discriminant analysis performed here will be described more specifically. In the non-edge section candidates obtained in step S31, the sections whose average value ad is equal to or smaller than the first threshold th1 are sections in which it is difficult to determine whether or not there is an edge component in the image. The set of such sections includes a section including an edge component and a section of a smooth image not including the edge component. Accordingly, the obtained histogram is roughly divided into two groups: a section including an edge component, that is, a section having a large average value ad, and a section not including an edge component, that is, a section having a small average value ad. It is considered something.
Therefore, here, as a discriminant analysis, the histogram is divided into two groups so that the distance between the centroids (frequency is the weight) of both groups is maximized, and an average value ad serving as a boundary between both groups is obtained. The value ad is set to a second threshold value th2.

【0043】つぎに、平均値adが第2閾値th2以下
の区画を滑らかな画像を有する区画である非エッジ区画
とする(図7:ステップS34)。すなわち、上記のよ
うにして求められた2群のうち平均値adが小さい側の
群に属する区画を非エッジ区画とするのである。
Next, a section whose average value ad is equal to or smaller than the second threshold value th2 is set as a non-edge section which is a section having a smooth image (FIG. 7: step S34). That is, the section belonging to the group having the smaller average value ad among the two groups obtained as described above is set as the non-edge section.

【0044】以上から分かるように、この実施の形態で
は、平均値adが第1閾値th1以下の区画、すなわ
ち、画像中にエッジ成分が有るか否か判別が難しい区画
のみに着目し、それらの区画についてさらに詳細に非エ
ッジ区画の判別を行っている。したがって、第1閾値t
h1を用いないで全ての区画について平均値adのヒス
トグラムを作成し、そのヒストグラムに対して上述の判
別分析を行って非エッジ区画を求める場合より、正確で
効率よく非エッジ区画を抽出できるのである。
As can be seen from the above description, in this embodiment, attention is paid only to the section whose average value ad is equal to or less than the first threshold value th1, that is, the section in which it is difficult to determine whether or not there is an edge component in the image. The non-edge section is determined in more detail about the section. Therefore, the first threshold value t
A non-edge section can be extracted more accurately and efficiently than when a histogram of the average value ad is created for all the sections without using h1, and the above-described discriminant analysis is performed on the histogram to obtain a non-edge section. .

【0045】図2の説明に戻る。つぎに、非エッジ区画
の集合に含まれる各区画画像について、周囲に滑らかに
連続し、かつ、当該区画画像とよく似た色であると視覚
的に捉えられる類似色を有する区画の数である類似色広
さ係数c(m,n)を求める(ステップS4)。
Returning to the description of FIG. Next, for each of the section images included in the set of non-edge sections, the number of sections that have smooth colors that are smoothly continuous around and have a similar color that is visually recognized as a color that is very similar to the relevant section image. A similar color area coefficient c (m, n) is obtained (step S4).

【0046】図8は最大の類似色広さ係数を求める手順
を示すフローチャートである。以下、図8を用いて最大
の類似色広さ係数の求め方についてより詳細に説明して
いく。
FIG. 8 is a flowchart showing a procedure for obtaining the maximum similar color area coefficient. Hereinafter, a method of obtaining the maximum similar color area coefficient will be described in more detail with reference to FIG.

【0047】まず、対象画像中の全ての区画(M×N
個)に、その区画と類似の色を有する範囲の広さを示す
類似色広さ係数c(m,n)を割り当てる。ここで、m,
nは、対象画像内の区画の座標を表わす。この類似色広
さ係数c(m,n)は非エッジ区画の集合に属す区画を注
目区画として、その周囲に存在するとともに、同じく非
エッジ区画に属し、かつ、その代表色が注目区画と類似
している区画(以下「類似色区画」という。)の数を表
わしている。すなわち、類似色広さ係数c(m,n)が大
きいものほど周囲に注目区画と代表色が類似している非
エッジ区画が多いことを表わしている。
First, all sections (M × N) in the target image
) Is assigned a similar color width coefficient c (m, n) indicating the size of a range having a color similar to that of the section. Where m,
n represents the coordinates of the section in the target image. The similar color width coefficient c (m, n) exists around a section belonging to the set of non-edge sections as a noticed section, and also belongs to the non-edge section, and its representative color is similar to the noticed section. Indicates the number of sections (hereinafter referred to as “similar color sections”). In other words, the larger the similar color area coefficient c (m, n), the greater the number of non-edge sections around which the noticeable section and the representative color are similar.

【0048】まず、各区画に対する類似色広さ係数c
(m,n)の初期値として、非エッジ区画には「1」を、
それ以外の区画には「0」を設定する(図8:ステップ
S41)。
First, the similar color width coefficient c for each section
As an initial value of (m, n), “1” is set for a non-edge section,
"0" is set for the other sections (FIG. 8: step S41).

【0049】つぎに、最大の類似色広さ係数を求めるた
めのパラメータTに「1」を設定する(図8:ステップ
S42)。
Next, "1" is set as the parameter T for obtaining the maximum similar color area coefficient (FIG. 8: step S42).

【0050】つぎに、c(m,n)=Tの区画を注目区画
とする(図8:ステップS43)。
Next, the section where c (m, n) = T is set as the target section (FIG. 8: step S43).

【0051】図9は各区画の類似色広さ係数c(m,n)
の設定の様子を示す図であり、各矩形は区画B(参照符
号一部省略)を表わし、各矩形中の数値は類似色広さ係
数c(m,n)を表わす。図9(a)に示すように、最初
は各区画の類似色広さ係数c(m,n)は「1」か「0」
となっている。
FIG. 9 shows a similar color area coefficient c (m, n) of each section.
Is a diagram showing the setting of each rectangle, each rectangle represents a section B (reference numerals are partially omitted), and a numerical value in each rectangle represents a similar color width coefficient c (m, n). As shown in FIG. 9A, initially, the similar color width coefficient c (m, n) of each section is “1” or “0”.
It has become.

【0052】つぎに、注目区画の(T+2)×(T+2)近
傍の区画の過半数で類似色広さ係数c(m,n)が正、か
つ、代表色が類似か否かを判定し(図8:ステップS4
4)、この条件を満たせば、注目区画の類似色広さ係数
c(m,n)をT+2とし(図8:ステップS45)、ス
テップS46に進む。逆に条件を満たさなければそのま
まステップS46に進む。
Next, it is determined whether or not the majority of the sections in the vicinity of (T + 2) × (T + 2) of the section of interest have a similar color breadth coefficient c (m, n) and whether or not the representative colors are similar. 8: Step S4
4) If this condition is satisfied, the similar color width coefficient c (m, n) of the target section is set to T + 2 (FIG. 8: step S45), and the process proceeds to step S46. Conversely, if the condition is not satisfied, the process proceeds directly to step S46.

【0053】この判定を図9の具体例を基に説明する。
まず、画像内の全ての類似色広さ係数c(m,n)が
「1」(パラメータT)の区画について、その3×3
((T+2)×(T+2))近傍の区画(図9(a)中、斜
線を付した区画)の類似色広さ係数c(m,n)と、代表
色が当該区画と類似しているか否かを調べる。具体的に
は、類似色広さ係数c(m,n)が正で、かつ代表色が注
目区画ABと類似している区画が近傍の区画の過半数で
あれば、注目区画ABの類似色広さ係数c(m,n)を
「3」とし、そうでなければそのまま(「1」のまま)
とする。
This determination will be described with reference to a specific example of FIG.
First, for all the sections in the image where the similar color width coefficient c (m, n) is “1” (parameter T), the 3 × 3
((T + 2) × (T + 2)) A similar color area coefficient c (m, n) of a section near ((hatched section in FIG. 9A)) and whether the representative color is similar to the section Check whether or not. More specifically, if the similar color area coefficient c (m, n) is positive and the section whose representative color is similar to the section of interest AB is a majority of the neighboring sections, the similar color area of the section of interest AB is used. The coefficient c (m, n) is set to "3", otherwise (as it is "1")
And

【0054】ここで、注目区画に隣接する区画の代表色
が注目区画と類似しているか否かの判定は色空間におけ
る所定の類似色判定条件に従って行う。そして、この実
施の形態では、そのような類似色判定条件として以下の
ようなものを採用している。すなわち、注目区画の代表
色と注目区画に隣接する区画の代表色とをRGB表色系
の値からLab表色系の値に変換して、Lab色空間内
の点として表現する。図10はLab表色系における類
似色の判定を模式的に示す図である。図10中において
上記両代表色を点p1およびp2として模式的に表し
た。ところで、Lab色空間内での2点p1,p2間の
距離dは色の類似度合いを表わすものとして知られてい
る。したがって、注目区画の代表色と注目区画に隣接す
る区画の代表色とのLab空間での距離dを求め、予め
実験により求めてある類似色と判定するための閾値(L
ab色空間内での距離の閾値)と比較し、閾値以下であ
れば、両代表色が類似していると判定し、そうでなけれ
ば類似していないとする。なお、RGB表色系の値から
Lab表色系の値に変換するためには、まず、ROM2
内に予め用意されていたRGB表色系の値からLab表
色系の値に変換するルックアップテーブルを用いて変換
する。
Here, whether or not the representative color of the section adjacent to the section of interest is similar to the section of interest is determined according to a predetermined similar color determination condition in the color space. In this embodiment, the following conditions are employed as such similar color determination conditions. That is, the representative color of the target section and the representative color of the section adjacent to the target section are converted from the values of the RGB color system into the values of the Lab color system, and are represented as points in the Lab color space. FIG. 10 is a diagram schematically illustrating determination of a similar color in the Lab color system. In FIG. 10, the two representative colors are schematically represented as points p1 and p2. Incidentally, the distance d between the two points p1 and p2 in the Lab color space is known as representing the degree of color similarity. Therefore, the distance d in the Lab space between the representative color of the section of interest and the representative color of the section adjacent to the section of interest is determined, and a threshold (L
(the threshold of the distance in the ab color space), and if it is equal to or less than the threshold, it is determined that the two representative colors are similar. In order to convert the values of the RGB color system to the values of the Lab color system, first, the ROM 2
Is converted using a look-up table for converting values of the RGB color system prepared in advance into values of the Lab color system.

【0055】つぎに、上記処理がc(m,n)=Tの全
区画について終了したか否かを判定し(図8:ステップ
S46)、終了していなければステップS43に戻り、
ステップS43〜S46の処理をc(m,n)=Tの全区
画に対して繰り返す。そして、全区画に対してそれらの
処理が終了したと判定されると、c(m,n)=T+2の
区画があるか否かの判定を行う(図8:ステップS4
7)。そして、そのような区画があれば、パラメータT
に「2」を加算し(図8:ステップS48)、ステップ
S43に戻り、c(m,n)=T+2の区画がないと判断
されるまでステップS43〜S48の処理を繰り返す。
Next, it is determined whether or not the above processing has been completed for all the blocks of c (m, n) = T (FIG. 8: step S46). If not, the flow returns to step S43.
The processing of steps S43 to S46 is repeated for all the blocks of c (m, n) = T. When it is determined that the processing has been completed for all the partitions, it is determined whether or not there is a partition of c (m, n) = T + 2 (FIG. 8: step S4).
7). And if there is such a section, the parameter T
(Step S48 in FIG. 8), and the process returns to step S43, and repeats the processing of steps S43 to S48 until it is determined that there is no section of c (m, n) = T + 2.

【0056】再び、図9の具体例の説明を続ける。上述
のようにしてパラメータT=1の状態でステップS43
〜S46の処理をc(m,n)=1(すなわちc(m,n)=
T)の全区画について行った状態を示すのが図9(b)
である。図9(b)に示すようにc(m,n)=3(すな
わちc(m,n)=T+2)の区画が存在するため、ステ
ップS47で「Yes」と判定され、ステップS48に
おいてT=3とされてステップS43に戻る。ステップ
S44において、今度は画像内の全ての類似色広さ係数
c(m,n)が「3」(T)の区画について、その5×5
近傍の区画の類似色広さ係数c(m,n)と代表色を調
べ、類似色広さ係数c(m,n)が正の値を取り、かつ、
代表色が注目区画ABと類似している区画が過半数であ
れば、当該区画の類似色広さ係数c(m,n)を「5」
(T+2)とする。この様子を示したのが図9(c)で
ある。このようにして、各区画の周囲において類似色を
有する非エッジ区画の広がりを検出する範囲を順次大き
くしていき(パラメータTを「2」ずつ増加させてい
き)つつ、上記のように類似色広さ係数c(m,n)の値
を更新していく。これにより、周囲の類似色を有する非
エッジ区画の広がりが大きい区画は類似色広さ係数c
(m,n)が次第に大きくなっていくとともに、次第に、
類似色広さ係数c(m,n)の値が更新される区画数が減
少していく。
The description of the specific example of FIG. 9 will be continued. Step S43 with the parameter T = 1 as described above.
Steps S46 to c (m, n) = 1 (that is, c (m, n) =
FIG. 9B shows a state performed for all the sections in T).
It is. As shown in FIG. 9B, since there is a section of c (m, n) = 3 (that is, c (m, n) = T + 2), “Yes” is determined in step S47, and T = The process returns to step S43 and returns to step S43. In step S44, this time, for all the blocks in the image where the similar color breadth coefficient c (m, n) is “3” (T), the 5 × 5
The similar color width coefficient c (m, n) and the representative color of the neighboring section are checked, and the similar color width coefficient c (m, n) takes a positive value, and
If the number of sections in which the representative color is similar to the noticed section AB is a majority, the similar color width coefficient c (m, n) of the section is set to “5”.
(T + 2). FIG. 9C shows this state. In this manner, the range of detecting the spread of the non-edge section having a similar color around each section is sequentially increased (the parameter T is increased by “2”), and the similar color is increased as described above. The value of the width coefficient c (m, n) is updated. As a result, the surrounding non-edge sections having similar colors have a large spread, and the similar color width coefficient c
As (m, n) gradually increases,
The number of sections in which the value of the similar color area coefficient c (m, n) is updated decreases.

【0057】そして、ステップS47での判定で「N
o」と判定されると、最大の類似色広さ係数としてパラ
メータTを設定する(図8:ステップS49)。すなわ
ち、全ての非エッジ区画について類似色の広がりを検出
し終わったことになり、全区画の類似色広さ係数c(m,
n)のうちの最大値はその時点でのパラメータTになっ
ているはずであるため、最大の類似色広さ係数にそのパ
ラメータTを設定するのである。
Then, in the determination in step S47, "N
If it is determined to be "o", the parameter T is set as the maximum similar color area coefficient (FIG. 8: step S49). That is, the detection of the spread of the similar color has been completed for all the non-edge sections, and the similar color width coefficient c (m,
Since the maximum value of n) should be the parameter T at that time, the parameter T is set to the maximum similar color area coefficient.

【0058】つぎに、図2に戻り、類似色広さ係数が最
大の区画を最大類似色区画として求め(ステップS
5)、最大の類似色広さ係数(以下、「最大類似色広
さ」という)を有していた区画の代表色を、その画像の
代表的な背景色である代表的背景色と決定し、記憶する
(ステップS6)。すなわち、非エッジ区画で、かつ、
周囲に滑らかに連続し、かつ、類似色を有する区画の広
がりが最も広い区画の代表色を代表的背景色と判断する
のである。ただし、類似色広さ係数c(m,n)が最大類
似色広さと一致する区画が1つの場合、その区画の代表
色を、その画像の代表的背景色とするのであるが、一致
する区画が複数ある場合がある。このような場合には、
それらの区画の代表色の色相を求め、さらに、それら色
相の平均値を求める。なお、代表色の色相の求め方は次
に示すHSL表色系への変換を行うことによって得られ
る。そして、それらの代表色のうち得られた色相の平均
値に最も近い色相を持つ区画の代表色をその画像の代表
的背景色と決定し、RAM3に記憶する。
Next, returning to FIG. 2, the section having the largest similar color area coefficient is determined as the largest similar color section (step S).
5) The representative color of the section having the largest similar color area coefficient (hereinafter, referred to as “maximum similar color area”) is determined as the representative background color that is the representative background color of the image. Is stored (step S6). That is, it is a non-edge section, and
The representative color of a section that is smoothly continuous around and has the widest spread of sections having similar colors is determined as a representative background color. However, when there is one section in which the similar color area coefficient c (m, n) matches the maximum similar color area, the representative color of that section is used as the representative background color of the image. There may be more than one. In such a case,
The hues of the representative colors of the sections are obtained, and the average value of the hues is obtained. Note that the method of calculating the hue of the representative color can be obtained by performing conversion to the HSL color system described below. Then, the representative color of the section having the hue closest to the average value of the obtained hues among the representative colors is determined as the representative background color of the image, and stored in the RAM 3.

【0059】これで、対象画像の代表的背景色が求めら
れた。
Thus, the representative background color of the target image has been obtained.

【0060】つぎに、代表的背景色が無彩色に近いか否
かを判定する(ステップS7)。具体的には求められた
RGB表色系により表わされた代表的背景色RP(RG
B)をHSL表色系により表わされた代表的背景色RP
(HSL)に変換し、その色成分のうちS(彩度)成分
を所定の彩度閾値と比較し、彩度閾値より小さい場合に
は代表的背景色が無彩色または無彩色に近いと判定し、
ステップS8に進む。逆に彩度閾値以上の場合には代表
的背景色が有彩色または有彩色に近いと判定しステップ
S10に進む。
Next, it is determined whether or not the representative background color is close to an achromatic color (step S7). Specifically, a representative background color RP (RG
B) is a representative background color RP represented by the HSL color system
(HSL), the S (saturation) component of the color components is compared with a predetermined saturation threshold, and if smaller than the saturation threshold, it is determined that the representative background color is achromatic or close to achromatic. And
Proceed to step S8. Conversely, if the saturation threshold is exceeded, it is determined that the representative background color is a chromatic color or close to a chromatic color, and the process proceeds to step S10.

【0061】なお、RGB表色系の値をHSL表色系の
値に変換するには、ROM2内に用意されたルックアッ
プテーブルにてR,G,Bの値を知覚色の3属性値であ
る色相H、彩度S、明度Lに変換する。ただし、R,
G、Bの値は色相H、彩度S、明度Lの値に直接対応し
ていないので、この変換においては、一旦R,G、Bの
値をLab表色系(明度Lに対応する1次元座標、及び
彩度S、色相Hを符号aとbの平面に描いた2次元座標
からなる3次元座標空間)の値に変換する。次にそのL
ab表色系の値をHSL表色系の値に変換する。図11
はLab色空間とHSL色空間との関係を示す図であ
る。このときのLab色空間とHSL色空間は図11に
示すような関係となっている。図11において、Lab
色空間のL軸はHSL色空間の明度Lにそのまま対応
し、a軸とb軸の2次元座標上の動径が彩度Sに対応
し、a軸と動径とのなす角θが色相Hに対応している。
なお、この変換の詳細も本出願人による特願平10−9
4569に開示されている。
In order to convert the values of the RGB color system into the values of the HSL color system, the values of R, G, and B are converted into three perceived color values using a look-up table prepared in the ROM 2. It is converted into a certain hue H, saturation S, and lightness L. Where R,
Since the values of G and B do not directly correspond to the values of hue H, saturation S and lightness L, in this conversion, the values of R, G and B are temporarily changed to the Lab color system (1 corresponding to lightness L). The three-dimensional coordinate space, the saturation S, and the hue H are converted into values in a three-dimensional coordinate space (two-dimensional coordinate space composed of two-dimensional coordinates drawn on a plane indicated by reference symbols a and b). Then the L
The value of the ab color system is converted to the value of the HSL color system. FIG.
FIG. 4 is a diagram illustrating a relationship between a Lab color space and an HSL color space. At this time, the Lab color space and the HSL color space have a relationship as shown in FIG. In FIG. 11, Lab
The L axis of the color space corresponds directly to the lightness L of the HSL color space, the radius on the two-dimensional coordinates of the a axis and the b axis corresponds to the saturation S, and the angle θ between the a axis and the radius is the hue. H is supported.
The details of this conversion are also described in Japanese Patent Application No. 10-9 by the present applicant.
4569.

【0062】つぎに、代表的背景色が無彩色または無彩
色に近いと判定された場合には、非エッジ区画の集合の
うち、代表色が無彩色または無彩色に近い色を持つ区画
である無彩類似区画の集合を求める(ステップS8)。
具体的には非エッジ区画の代表色rp(RGB)を、前
述の方法によりLab表色系の値rp(Lab)に変換
し、非エッジ区画の集合のうち代表色rp(Lab)の
ab成分が、ab平面内における原点O(無彩色を表す
L軸)から所定の距離(閾値)以内にある区画(色が近
い区画とみなす)の集合を求める。これは、無彩色に近
い色の場合は色の類似性は色相にあまり依存しないた
め、一律に無彩色からの距離のみによって色の類似を判
断しているのである。なお、その際には、L(明るさ)
成分を無視する。
Next, when it is determined that the representative background color is achromatic or close to achromatic, the section having the representative color of achromatic or close to achromatic in the set of non-edge sections. A set of achromatic similar sections is obtained (step S8).
Specifically, the representative color rp (RGB) of the non-edge section is converted into the value rp (Lab) of the Lab color system by the method described above, and the ab component of the representative color rp (Lab) in the set of the non-edge sections is converted. Finds a set of sections (considered to be sections with similar colors) within a predetermined distance (threshold) from the origin O (L axis representing achromatic color) in the ab plane. This is because, in the case of a color that is close to an achromatic color, the similarity of the color does not depend much on the hue, and thus the similarity of the color is uniformly determined only from the distance from the achromatic color. In this case, L (brightness)
Ignore components.

【0063】つぎに、各無彩類似区画の代表色のうち、
最も明るい代表色および最も暗い代表色を、それぞれ、
対象画像の最も明るい背景色である最明背景色および最
も暗い背景色である最暗背景色と決定し、記憶する(ス
テップS9)。具体的には、上記の無彩色に色が近い区
画の集合に属し、かつ最も明るい(Lが最大)区画を最
明区画とする。同様に上記の無彩色に色が近い区画の集
合に属し、かつ最も暗い(Lが最小)区画を最暗区画と
する。そして、最明区画および最暗区画の代表色をそれ
ぞれ最明背景色および最暗背景色と決定し、RAM3に
記憶する。
Next, among the representative colors of each achromatic similar section,
The brightest representative color and the darkest representative color, respectively,
The brightest background color and the darkest background color of the target image are determined and stored (step S9). Specifically, the brightest (L is the largest) section belonging to the set of sections whose colors are close to the achromatic color is the brightest section. Similarly, the darkest (the smallest L) section belongs to the set of sections whose colors are close to the achromatic color. Then, the representative colors of the brightest section and the darkest section are determined as the brightest background color and the darkest background color, respectively, and are stored in the RAM 3.

【0064】逆に、ステップS7において、代表的背景
色が有彩色または有彩色に近いと判定された場合には、
非エッジ区画のうち、代表色が代表的背景色と色相およ
び彩度が近い有彩類似区画を求める(ステップS1
0)。具体的には、非エッジ区画の代表色rp(RG
B)をHSL系の値rp(HSL)に変換し、非エッジ
区画の集合のうち代表色rp(HSL)の彩度(S)お
よび色相(H)と代表的背景色RP(HSL)の彩度
(S)および色相(H)とのそれぞれの差が所定の閾値
以下のとき、その代表色は代表的背景色と色が近いとし
てその区画を有彩類似区画とし、そのような有彩類似区
画の集合を求める。
Conversely, if it is determined in step S7 that the representative background color is a chromatic color or close to a chromatic color,
Among the non-edge sections, a chromatic similar section whose representative color is close to the representative background color in hue and saturation is obtained (step S1).
0). Specifically, the representative color rp (RG
B) is converted into an HSL-based value rp (HSL), and the saturation (S) and hue (H) of the representative color rp (HSL) and the saturation of the representative background color RP (HSL) in the set of non-edge sections. When the difference between the degree (S) and the hue (H) is equal to or less than a predetermined threshold, the representative color is determined to be close to the representative background color, and the section is regarded as a chromatic similar section. Find a set of parcels.

【0065】つぎに、各有彩類似区画の代表色のうち、
最も明るい代表色および最も暗い代表色を、それぞれ、
対象画像の最も明るい背景色である最明背景色および最
も暗い背景色である最暗背景色と決定し、記憶する(ス
テップS11)。具体的には、上記有彩類似区画の集合
に属し、かつ最も明るい(Lが最大値)の区画を最明区
画とする。同様に上記有彩類似区画の集合に属し、かつ
最も暗い(Lが最小値)の区画を最暗区画とする。そし
て、最明区画および最暗区画の代表色をそれぞれ最明背
景色および最暗背景色と決定し、RAM3に記憶する。
Next, among representative colors of each chromatic similar section,
The brightest representative color and the darkest representative color, respectively,
The lightest background color, which is the lightest background color of the target image, and the darkest background color, which is the darkest background color, are determined and stored (step S11). Specifically, the brightest section (L is the maximum value) that belongs to the set of chromatic similar sections and is the brightest section. Similarly, a section belonging to the set of chromatic similar sections and being the darkest (L is the minimum value) is defined as the darkest section. Then, the representative colors of the brightest section and the darkest section are determined as the brightest background color and the darkest background color, respectively, and are stored in the RAM 3.

【0066】以上で、代表的背景色、最明背景色および
最暗背景色が求められた。そして、必要によりこれらの
色データを用いて背景色を修正する(ステップS1
2)。
As described above, the representative background color, the brightest background color, and the darkest background color have been obtained. Then, if necessary, the background color is corrected using these color data (step S1).
2).

【0067】具体的には、代表的背景色を被修正色とし
て、また、最明背景色および最暗背景色を被修正色を基
準とした色修正処理の範囲とし、それぞれをHSL表色
系に変換する。さらに、作業者によりHSL表色系で表
わされた変更後の目的色が入力部5を通じて指定され
る。つぎに、代表的背景色と目的色とから色修正用のパ
ラメータを設定する。このパラメータは代表的背景色と
目的色との比率のような値である。さらに、対象画像の
画素単位の画像データをHSL表色系の画像データに変
換し、その変換後の画像データが上記色変更処理の範囲
に該当するかどうかを判定し、該当する画像データにつ
いてのみ、その画素の元のRGB画像データに上記パラ
メータを乗じて目的色またはそれに近い色に修正すると
いうものである。なお、この色修正方法の詳細は本出願
人による特許2740436号公報、特許274044
3号公報に開示されている。
More specifically, the representative background color is set as a color to be corrected, the brightest background color and the darkest background color are set as a range of the color correction processing based on the color to be corrected, and each of them is defined as an HSL color system. Convert to Further, the operator designates the changed target color represented by the HSL color system through the input unit 5. Next, color correction parameters are set based on the representative background color and the target color. This parameter is a value such as a ratio between the representative background color and the target color. Further, the image data in pixel units of the target image is converted into image data of the HSL color system, and it is determined whether or not the converted image data falls within the range of the color change processing. , The original RGB image data of the pixel is multiplied by the above parameter to correct the target color or a color close to the target color. The details of this color correction method are described in Japanese Patent No. 2740436 and Japanese Patent No.
No. 3 discloses this.

【0068】なお、上記代表的背景色、最明背景色およ
び最暗背景色の色データをハードディスク7や記録媒体
4a等に記録しておいて必要時に取り出して色修正を行
うこともできる。
The representative background color, the brightest background color, and the darkest background color may be recorded on the hard disk 7, the recording medium 4a, or the like, and may be taken out and corrected when necessary.

【0069】なお、以上において対象とされる画像は複
数用意される場合もあり、その場合は上記処理を繰り返
す。以上で、実施の形態の画像色処理は終了する。
In some cases, a plurality of target images are prepared, and in such a case, the above processing is repeated. Thus, the image color processing according to the embodiment ends.

【0070】以上、説明したように、この実施の形態の
画像色処理装置によれば、自動的にカラー画像に対して
代表的背景色、最明背景色および最暗背景色を求め、そ
れらを基にそのカラー画像の背景色を色修正するため、
人手によりカラー画像について背景色を抽出し、色修正
する場合と比べて作業負担を軽減することができ、それ
により、人件費によるコストを抑えることができるとと
もに、作業時間を短縮することができる。
As described above, according to the image color processing apparatus of this embodiment, the representative background color, the brightest background color and the darkest background color are automatically obtained for the color image, and these are obtained. To correct the background color of the color image based on the
The work load can be reduced as compared with the case where the background color is extracted from the color image by hand and the color is corrected, whereby the cost due to labor costs can be reduced and the work time can be shortened.

【0071】また、非エッジ区画の集合のうち類似色広
さが最大の非エッジ区画の代表色をカラー画像の代表的
背景色とするため、背景色に色の濃淡がある場合にもそ
の中から代表的な背景色を的確に抽出できる。また、そ
のような代表的背景色を基に背景色の色修正を行うこと
により、色修正をそれに適した色を基に行うことがで
き、色修正の質を向上することができる。
In addition, since the representative color of the non-edge section having the largest similar color width among the set of non-edge sections is set as the representative background color of the color image, even if the background color has shading, it is included in the non-edge section. , A representative background color can be accurately extracted. Further, by performing the color correction of the background color based on such a representative background color, the color correction can be performed based on a color suitable for the color correction, and the quality of the color correction can be improved.

【0072】また、類似色広さ係数を求める際に、La
b色空間における代表色同士の距離が所定の閾値以下か
否かによって類似色か否かを判定するため、類似色を客
観的に抽出でき、背景と視覚的に類似な色の広がりを正
確に捉えることができるとともに、代表的背景色を正確
に抽出することができる。
When calculating the similar color width coefficient, La
Since it is determined whether or not the distance between the representative colors in the b color space is equal to or less than a predetermined threshold value, the similar color can be objectively extracted, and the spread of the color visually similar to the background can be accurately determined. In addition to being able to capture, the representative background color can be accurately extracted.

【0073】また、代表的背景色がほぼ無彩色か有彩色
かを判定し、ほぼ無彩色と判定された場合およびほぼ有
彩色と判定された場合のそれぞれに上述のように最明背
景色および最暗背景色を求めるので、代表的背景色が有
彩色の画像および無彩色の画像の両方に利用できるので
汎用性が高い。また、それにより得られた最明背景色お
よび最暗背景色を用いて背景色の範囲を正確に指定で
き、したがって、背景色の修正を行う場合にも背景画像
の色のみを容易に修正できる。また、それにより、より
人件費によるコストを抑えることができるとともに、よ
り作業時間を短縮することができる。
Further, it is determined whether the representative background color is substantially achromatic or chromatic. When the representative background color is determined to be substantially achromatic and when the representative background color is determined to be substantially chromatic, the brightest background color and the chromatic color are determined as described above. Since the darkest background color is determined, the representative background color can be used for both chromatic images and achromatic images, so that the versatility is high. In addition, the range of the background color can be accurately specified using the brightest background color and the darkest background color obtained thereby, so that even when the background color is corrected, only the color of the background image can be easily corrected. . In addition, thereby, costs due to labor costs can be further reduced, and work time can be further reduced.

【0074】さらに、代表的背景色が無彩色の場合に
は、Lab色空間におけるab平面内において原点との
距離が所定の閾値以下である代表色を有する非エッジ区
画を無彩色区画とし、逆に代表的背景色が有彩色の場合
には、代表的背景色と彩度および色相のそれぞれについ
て代表的背景色との差異が所定の閾値の範囲内にある代
表色を有する非エッジ区画を有彩色区画とするため、そ
れぞれ、無彩色区画および有彩色区画を正確に抽出で
き、したがって、正確な最明背景色および最暗背景色を
抽出できるので、背景画像の範囲をさらに正確に抽出で
き、色修正もさらに正確に行える。
Further, when the representative background color is an achromatic color, a non-edge section having a representative color whose distance from the origin is equal to or smaller than a predetermined threshold in the ab plane in the Lab color space is defined as an achromatic section, and In the case where the representative background color is a chromatic color, a non-edge section having a representative color whose difference between the representative background color and the representative background color for each of the saturation and the hue is within a predetermined threshold range is provided. Since it is a colored section, the achromatic section and the chromatic section can be accurately extracted, respectively, and therefore, the exact brightest background color and the darkest background color can be extracted, so that the range of the background image can be more accurately extracted. Color correction can be performed more accurately.

【0075】<3.変形例>上記実施の形態において画
像色処理装置およびそれによる画像色処理の一例を示し
たが、この発明はこれに限られるものではない。
<3. Modifications> In the above embodiment, an example of the image color processing device and the image color processing by the image color processing device has been described, but the present invention is not limited to this.

【0076】例えば、上記実施の形態では、背景色抽出
の対象となる画像データをそのまま用いて画像色処理を
行うものとしたが、画像色処理を開始する(図2のステ
ップS1を実行する)前に対象となる画像データのサイ
ズを所定の閾値と比較し、それより大きい場合には適当
な方法(画素の間引き等)により縮小した後に上記画像
色処理を行ってもよい。その場合には、画像データのデ
ータ量が少なくなるので、RAM等の画像データの記憶
容量が少なくて済むとともに、処理速度も向上する。
For example, in the above-described embodiment, the image color processing is performed using the image data from which the background color is to be extracted as it is. However, the image color processing is started (step S1 in FIG. 2 is executed). The size of the target image data may be compared with a predetermined threshold value before, and if the size is larger than the threshold value, the image color processing may be performed after reducing the size by an appropriate method (such as pixel thinning). In this case, since the data amount of the image data is reduced, the storage capacity of the image data such as the RAM is reduced, and the processing speed is improved.

【0077】また、上記実施の形態では、図3のフロー
チャートのステップS7において代表的背景色がほぼ無
彩色かほぼ有彩色かを判定するものとしたが、背景色が
ほぼ無彩色、または有彩色の画像のみを対象としている
場合には、ステップS6を行った後に、それぞれ、ステ
ップS8,S9またはステップS10、S11のみを行
い、さらにステップS12を行うものとしてもよい。
Further, in the above embodiment, it is determined in step S7 of the flowchart in FIG. 3 that the representative background color is substantially achromatic or almost chromatic. However, the background color is substantially achromatic or chromatic. If only the image is targeted, after performing step S6, only steps S8 and S9 or steps S10 and S11 may be performed, and step S12 may be further performed.

【0078】また、上記実施の形態では各画素の画像の
滑らかさを表すパラメータd(i,j)を求める方法とし
て、数1〜数3のように各色成分について注目画素P
(i,j)に対して斜めに隣接する画素P(i−1,j−
1),P(i+1,j−1),P(i−1,j+1),P(i+
1,j+1)の階調の平均値と注目画素P(i,j)の階調
との差の絶対値を求め、数3の式により、それらの和を
パラメータd(i,j)とするものとしたが、注目画素P
(i,j)に対してX軸およびY軸の正側および負側に隣
接する画素P(i−1,j),P(i+1,j),P(i,j−
1),P(i,j+1)の階調の平均値と注目画素P(i,
j)の階調との差の絶対値をパラメータd(i,j)とした
り、画素P(i,j)に隣接する画素P(i+r,j+s)
(r=0,±1およびs=0,±1)全ての階調の平均
値との差の絶対値をパラメータd(i,j)としたり、さ
らには、最隣接の画素以外にさらにその外側に隣接する
画素の階調の平均値との差の絶対値を用いてもよい。
In the above embodiment, the parameter d (i, j) representing the smoothness of the image of each pixel is obtained by using the target pixel P for each color component as shown in Expressions 1 to 3.
The pixel P (i−1, j−) that is obliquely adjacent to (i, j)
1), P (i + 1, j-1), P (i-1, j + 1), P (i +
The absolute value of the difference between the average value of the gradation of (1, j + 1) and the gradation of the pixel of interest P (i, j) is obtained, and the sum of them is used as a parameter d (i, j) according to the equation (3). The target pixel P
Pixels P (i−1, j), P (i + 1, j), P (i, j−) adjacent to the positive side and the negative side of the X axis and the Y axis with respect to (i, j)
1), the average value of the gradations of P (i, j + 1) and the target pixel P (i,
The absolute value of the difference from the gradation of j) is taken as the parameter d (i, j), or the pixel P (i + r, j + s) adjacent to the pixel P (i, j)
(R = 0, ± 1 and s = 0, ± 1) The absolute value of the difference from the average value of all the gradations is used as the parameter d (i, j). The absolute value of the difference from the average value of the gradations of the pixels adjacent on the outside may be used.

【0079】さらに、上記実施の形態では、図3のフロ
ーチャートのステップS9およびS11において最も明
るい区画および最も暗い区画の代表色をそれぞれ最明背
景色および最暗背景色としたが、最も明るい区画の代表
色より若干明るい色および最も暗い区画の代表色より若
干暗い色をそれぞれ最明背景色および最暗背景色として
もよい。これは、図2のステップS2において抽出した
各区画画像の代表色はそれらの区画の代表的な色を抽出
しているため、それら区画の全画素がその代表色を有し
ているとは限らず、通常はその代表色を中心として所定
の範囲での広がりを有しているものと思われる。したが
って、最も明るい(または暗い)代表色を有する区画に
はそれより若干明るい(または暗い)画素も存在してい
るものと思われ、このような代表色を最明(暗)背景色
とすると、色修正の際にそれらの区画に本来背景画像に
含まれる画素であっても色修正されないもの(修正のし
残し)や、逆に本来背景色に含まれない画素であっても
色修正されるもの(修正し過ぎ)が生じる可能性がある
からである。
Further, in the above embodiment, the representative colors of the brightest section and the darkest section are set to the brightest background color and the darkest background color in steps S9 and S11 of the flowchart of FIG. A color slightly lighter than the representative color and a color slightly darker than the representative color of the darkest section may be set as the brightest background color and the darkest background color, respectively. This is because the representative color of each section image extracted in step S2 in FIG. 2 is a representative color of those sections, so that not all pixels in those sections have the representative color. However, it is considered that the image usually has a predetermined range around the representative color. Therefore, it is considered that a slightly lighter (or darker) pixel is also present in the section having the brightest (or darkest) representative color. If such a representative color is set as the brightest (darkest) background color, At the time of color correction, pixels that are originally included in the background image but are not color-corrected (uncorrected) in those sections, or conversely, pixels that are not originally included in the background color are corrected. This is because things (overcorrection) may occur.

【0080】[0080]

【発明の効果】以上説明したように、請求項1ないし請
求項7の発明によれば、カラー画像を複数の区画に分割
する分割手段と、複数の区画のそれぞれの代表色を抽出
する代表色抽出手段と、複数の区画のうちエッジ画像を
含まない非エッジ区画の集合を抽出する非エッジ選択手
段と、非エッジ区画の前記集合の各非エッジ区画を順
次、注目区画としつつ、注目区画の周囲に連続的に存在
するとともに、注目区画の代表色と視覚的に類似と捉え
られる類似色を代表色として有する非エッジ区画の集合
に属する区画の数である類似色広さを求めることによっ
て、非エッジ区画の集合の各非エッジ区画について類似
色広さを求める類似色広さ決定手段と、非エッジ区画の
集合のうち類似色広さが最大の非エッジ区画の代表色を
カラー画像の代表的背景色とする背景色決定手段とを備
えるため、人手によりカラー画像について背景色を抽出
する場合と比べて作業負担を軽減することができ、それ
により、人件費によるコストを抑えることができるとと
もに、作業時間を短縮できる。
As described above, according to the first to seventh aspects of the present invention, a dividing means for dividing a color image into a plurality of sections, and a representative color for extracting a representative color of each of the plurality of sections. Extracting means, non-edge selecting means for extracting a set of non-edge sections not including an edge image among a plurality of sections, and sequentially setting each non-edge section of the set of non-edge sections as a target section, By calculating the similar color width, which is the number of sections belonging to a set of non-edge sections that have a similar color that is visually similar to the representative color of the noticeable section as a representative color while being continuously present around, A similar color width determining means for obtaining a similar color width for each non-edge section of the set of non-edge sections; and a representative color of the non-edge section having the largest similar color width in the set of non-edge sections as a representative of the color image. Target Since the background color determining means for the scenery is provided, the work load can be reduced as compared with a case where the background color is manually extracted from the color image. You can save time.

【0081】また、請求項1ないし請求項12の発明に
よれば、非エッジ区画の集合のうち類似色広さが最大の
非エッジ区画の代表色をカラー画像の代表的背景色とす
るため、背景色に色の濃淡がある場合にもその中から代
表的な背景色を的確に抽出できる。また、そのような代
表的背景色を基に背景色の色修正を行うことにより、色
修正をそれに適した色を基に行うことができ、色修正の
質を向上することができる。
According to the invention of claims 1 to 12, the representative color of the non-edge section having the largest similar color width among the set of non-edge sections is set as the representative background color of the color image. Even when the background color has shading, a representative background color can be accurately extracted therefrom. Further, by performing the color correction of the background color based on such a representative background color, the color correction can be performed based on a color suitable for the color correction, and the quality of the color correction can be improved.

【0082】また、請求項2の発明によれば、Lab色
空間における代表色同士の距離が所定の閾値以下か否か
によって類似色か否かを判定するため、類似色を客観的
に抽出でき、背景と視覚的に類似な色の広がりを正確に
捉えることができるとともに、代表的背景色を正確に抽
出することができる。
According to the second aspect of the present invention, it is determined whether or not a similar color is present based on whether or not the distance between representative colors in the Lab color space is equal to or smaller than a predetermined threshold value. In addition, the spread of colors visually similar to the background can be accurately grasped, and the representative background color can be accurately extracted.

【0083】また、請求項3、請求項5および請求項1
0の発明によれば、代表的背景色がほぼ無彩色である場
合に、非エッジ区画のうちほぼ無彩色を有する無彩色区
画の代表色のうちほぼ最も明るい代表色およびほぼ最も
暗い代表色を、それぞれ最明背景色および最暗背景色と
するため、また、請求項4、請求項5および請求項10
の発明によれば、代表的背景色がほぼ有彩色である場合
に、非エッジ区画のうちほぼ有彩色を有する有彩色区画
の代表色のうちほぼ最も明るい代表色およびほぼ最も暗
い代表色を、それぞれ最明背景色および最暗背景色とす
るため、それぞれ、最明背景色および最暗背景色を用い
て背景色の範囲を正確に指定でき、したがって、背景色
の修正を行う場合にも背景画像の色のみを容易に修正で
きる。また、それにより、より人件費によるコストを抑
えることができるとともに、より作業時間を短縮するこ
とができる。
Further, claim 3, claim 5, and claim 1
According to the invention of No. 0, when the representative background color is substantially achromatic, the brightest representative color and the darkest representative color among the representative colors of the achromatic section having the substantially achromatic color among the non-edge sections are determined. In order to obtain the brightest background color and the darkest background color, respectively,
According to the invention, when the representative background color is substantially a chromatic color, the brightest representative color and the darkest representative color among the representative colors of the chromatic sections having the substantially chromatic colors among the non-edge sections are represented by: Since the background color is the brightest background color and the darkest background color, respectively, the range of the background color can be accurately specified using the brightest background color and the darkest background color, respectively. Only the color of the image can be easily corrected. In addition, thereby, costs due to labor costs can be further reduced, and work time can be further reduced.

【0084】また、請求項5および請求項10の発明に
よれば、代表的背景色がほぼ無彩色か有彩色かを判定
し、ほぼ無彩色と判定された場合およびほぼ有彩色と判
定された場合のそれぞれに上述のように最明背景色およ
び最暗背景色を求めるので、代表的背景色が有彩色の画
像および無彩色の画像の両方に利用できるのでより汎用
性が高い。
According to the inventions of claims 5 and 10, it is determined whether the representative background color is substantially achromatic or chromatic. When the representative background color is determined to be substantially achromatic, it is determined that the representative background color is substantially chromatic. Since the brightest background color and the darkest background color are obtained for each case as described above, the versatility is higher because the representative background color can be used for both chromatic and achromatic images.

【0085】また、請求項6の発明によれば、Lab色
空間におけるab平面内において原点との距離が所定の
閾値以下である代表色を有する非エッジ区画を無彩色区
画とし、請求項7では代表的背景色と彩度および色相の
それぞれについて代表的背景色との差異が所定の閾値の
範囲内にある代表色を有する非エッジ区画を有彩色区画
とするため、それぞれ、無彩色区画および有彩色区画を
正確に抽出でき、したがって、正確な最明背景色および
最暗背景色を抽出できるので、背景画像の範囲をさらに
正確に抽出でき、色修正もさらに正確に行える。
According to the invention of claim 6, a non-edge section having a representative color whose distance from the origin is equal to or smaller than a predetermined threshold in the ab plane in the Lab color space is defined as an achromatic section. Since a non-edge section having a representative color whose difference between the representative background color and the representative background color for each of the saturation and the hue is within a predetermined threshold value is defined as a chromatic section, the achromatic section and the non-achromatic section are respectively provided. Since the colored section can be accurately extracted, and thus the accurate brightest background color and the darkest background color can be extracted, the range of the background image can be extracted more accurately, and the color correction can be performed more accurately.

【0086】また、請求項8の発明によれば、選択され
た代表的背景色をもとにカラー画像の背景の色を修正す
るので、背景色の修正をも自動的に行うことができるの
で、一層、人件費によるコストを抑えることができると
ともに、作業時間を短縮することができる。
According to the eighth aspect of the present invention, since the background color of the color image is corrected based on the selected representative background color, the background color can be automatically corrected. Further, it is possible to further reduce the cost due to labor costs and shorten the working time.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施の形態である画像色処理装置の
システム構成図である。
FIG. 1 is a system configuration diagram of an image color processing apparatus according to an embodiment of the present invention.

【図2】実施の形態の画像色処理の全体を示すフローチ
ャートである。
FIG. 2 is a flowchart illustrating an entire image color process according to the embodiment;

【図3】実施の形態の画像色処理の全体を示すフローチ
ャートである。
FIG. 3 is a flowchart illustrating an entire image color process according to the embodiment;

【図4】実施の形態における対象画像の分割の様子を示
す図である。
FIG. 4 is a diagram showing a state of division of a target image in the embodiment.

【図5】画素の指定方法を示す図である。FIG. 5 is a diagram showing a method for specifying a pixel.

【図6】実施の形態における対象区画のパラメータd
(i,j)を求める手順を示すフローチャートである。
FIG. 6 shows a parameter d of a target section in the embodiment.
It is a flowchart which shows the procedure which calculates | requires (i, j).

【図7】実施の形態における非エッジ区画を求める手順
を示すフローチャートである。
FIG. 7 is a flowchart showing a procedure for obtaining a non-edge section in the embodiment.

【図8】実施の形態における最大の類似色広さ係数を求
める手順を示すフローチャートである。
FIG. 8 is a flowchart showing a procedure for obtaining a maximum similar color area coefficient in the embodiment.

【図9】実施の形態における各区画の類似色広さ係数の
設定の様子を示す図である。
FIG. 9 is a diagram showing a manner of setting a similar color width coefficient of each section in the embodiment.

【図10】Lab表色系における類似色の判定を模式的
に示す図である。
FIG. 10 is a diagram schematically illustrating determination of a similar color in the Lab color system.

【図11】Lab色空間とHSL色空間との関係を示す
図である。
FIG. 11 is a diagram illustrating a relationship between a Lab color space and an HSL color space.

【符号の説明】[Explanation of symbols]

1 CPU 2 ROM(記録媒体) 3 RAM 4 読取り部 4a 記録媒体 7 ハードディスク(記録媒体) 100 画像色処理装置 B 区画 AB 注目区画 RP 代表的背景色 T パラメータ c(m,n) 類似色広さ係数 th1,th2 第1および第2閾値 REFERENCE SIGNS LIST 1 CPU 2 ROM (recording medium) 3 RAM 4 reading unit 4a recording medium 7 hard disk (recording medium) 100 image color processing device B section AB target section RP representative background color T parameter c (m, n) similar color width coefficient th1, th2 First and second thresholds

フロントページの続き Fターム(参考) 5B057 CA01 CA08 CA12 CA16 CB01 CB08 CB12 CB16 CC03 CE09 CE17 CE18 CH07 DA08 DB02 DB06 DB09 DC04 DC16 DC19 DC25 5C077 LL17 LL18 MP08 PP32 PP35 PP37 PP47 PP52 PP53 PQ19 PQ23 5C079 HB01 HB11 LA02 LA07 LA10 LB12 NA03 NA11 NA25 PA07 5L096 AA02 AA06 EA45 FA19 FA59 GA53 JA11 Continued on the front page F-term (reference) 5B057 CA01 CA08 CA12 CA16 CB01 CB08 CB12 CB16 CC03 CE09 CE17 CE18 CH07 DA08 DB02 DB06 DB09 DC04 DC16 DC19 DC25 5C077 LL17 LL18 MP08 PP32 PP35 PP37 PP47 PP52 PP53 PQ19 PQ23 LA10B12LA NA03 NA11 NA25 PA07 5L096 AA02 AA06 EA45 FA19 FA59 GA53 JA11

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 カラー画像を複数の区画に分割する分割
手段と、 前記複数の区画のそれぞれの代表色を抽出する代表色抽
出手段と、 前記複数の区画のうちエッジ画像を含まない非エッジ区
画の集合である非エッジ区画集合を抽出する非エッジ選
択手段と、 前記非エッジ区画集合の各非エッジ区画を順次、注目区
画としつつ、前記注目区画の周囲に連続的に存在すると
ともに、前記注目区画の前記代表色に対して色空間内に
おける所定の類似色判定条件を満足する色としての類似
色を代表色として有するような非エッジ区画の広がりを
類似色広さとして求める類似色広さ決定手段と、 前記非エッジ区画集合のうち前記類似色広さが最大の前
記非エッジ区画の代表色を前記カラー画像の代表的背景
色とする背景色決定手段と、を備えることを特徴とする
画像色処理装置。
A dividing unit that divides a color image into a plurality of sections; a representative color extracting unit that extracts a representative color of each of the plurality of sections; and a non-edge section that does not include an edge image among the plurality of sections. A non-edge selecting means for extracting a non-edge section set, which is a set of the non-edge section sets; A similar color width determination for obtaining, as a similar color width, a spread of a non-edge partition having a similar color as a representative color that satisfies a predetermined similar color determination condition in a color space with respect to the representative color of the partition. Means; and a background color determining means for setting a representative color of the non-edge section having the largest similar color width in the non-edge section set as a representative background color of the color image. Image color processing apparatus according to.
【請求項2】 請求項1に記載の画像色処理装置であっ
て、 前記類似色判定条件がLab色空間における前記注目区
画の代表色が表わす点との距離が所定の閾値以下か否か
を判定する条件であることを特徴とする画像色処理装
置。
2. The image color processing apparatus according to claim 1, wherein the similar color determination condition is whether or not a distance from a point represented by a representative color of the target section in a Lab color space is equal to or less than a predetermined threshold. An image color processing device, characterized in that the conditions are a determination.
【請求項3】 請求項1または請求項2に記載の画像色
処理装置であって、さらに、 前記代表的背景色がほぼ無彩色である場合に、前記非エ
ッジ区画のうちほぼ無彩色を有する無彩色区画を選択す
る無彩色選択手段と、 選択された前記無彩色区画の前記代表色のうちほぼ最も
明るい代表色およびほぼ最も暗い代表色を、それぞれ最
明背景色および最暗背景色として選択する明暗選択手段
と、を備えることを特徴とする画像色処理装置。
3. The image color processing apparatus according to claim 1, further comprising: if the representative background color is substantially achromatic, the non-edge section has substantially an achromatic color. Achromatic color selection means for selecting an achromatic color section; and selecting, from among the representative colors of the selected achromatic color section, a substantially lightest representative color and a substantially darkest representative color as a brightest background color and a darkest background color, respectively. And an image color processing device.
【請求項4】 請求項1または請求項2に記載の画像色
処理装置であって、 前記代表的背景色がほぼ有彩色である場合に、前記非エ
ッジ区画のうちほぼ有彩色を有する有彩色区画を選択す
る有彩色選択手段と、 選択された前記有彩色区画の前記代表色のうちほぼ最も
明るい代表色およびほぼ最も暗い代表色を、それぞれ最
明背景色および最暗背景色として選択する明暗選択手段
と、を備えることを特徴とする画像色処理装置。
4. The image color processing device according to claim 1, wherein, when the representative background color is substantially chromatic, a chromatic color having substantially chromatic color among the non-edge sections. Chromatic color selecting means for selecting a section; and light and dark for selecting, as the brightest background color and the darkest background color, the substantially brightest representative color and the substantially darkest representative color among the representative colors of the selected chromatic color section, respectively. An image color processing device comprising: a selection unit.
【請求項5】 請求項1または請求項2に記載の画像色
処理装置であって、さらに、 前記代表的背景色がほぼ無彩色か有彩色かを判定する判
定手段と、 前記判定手段により前記代表的背景色がほぼ無彩色であ
ると判定された場合に、前記非エッジ区画のうちほぼ無
彩色を有する無彩色区画を選択する無彩色選択手段と、 選択された前記無彩色区画の前記代表色のうちほぼ最も
明るい代表色およびほぼ最も暗い代表色を、それぞれ最
明背景色および最暗背景色として選択する第1明暗選択
手段と、 前記判定手段により前記代表的背景色がほぼ有彩色であ
ると判定された場合に、前記非エッジ区画のうちほぼ有
彩色を有する有彩色区画を選択する有彩色選択手段と、 選択された前記有彩色区画の前記代表色のうちほぼ最も
明るい代表色およびほぼ最も暗い代表色を、それぞれ最
明背景色および最暗背景色として選択する第2明暗選択
手段と、を備えることを特徴とする画像色処理装置。
5. The image color processing apparatus according to claim 1, further comprising: a determination unit configured to determine whether the representative background color is substantially an achromatic color or a chromatic color; When the representative background color is determined to be substantially achromatic, achromatic color selecting means for selecting an achromatic section having substantially achromatic color among the non-edge sections; and the representative of the selected achromatic color section. First light / dark selecting means for selecting a lightest representative color and a darkest representative color as the lightest background color and the darkest background color, respectively, among the colors; and the representative background color is substantially chromatic by the determining means. When it is determined that there is a chromatic color section having a substantially chromatic color among the non-edge sections, a chromatic color selecting unit, and a substantially brightest representative color among the representative colors of the selected chromatic color section and Ho Darkest representative color, image color processing apparatus characterized by comprising: a second contrast selection means for selecting as the brightest background color and the cycler background color, respectively, the.
【請求項6】 請求項3または請求項5に記載の画像色
処理装置であって、 前記無彩色選択手段が、Lab色空間におけるab平面
内において原点との距離が所定の閾値以下である前記代
表色を有する前記非エッジ区画を前記無彩色区画とする
ことを特徴とする画像色処理装置。
6. The image color processing device according to claim 3, wherein the achromatic color selection unit is configured such that a distance from an origin in an ab plane in a Lab color space is equal to or less than a predetermined threshold. An image color processing apparatus, wherein the non-edge section having a representative color is the achromatic section.
【請求項7】 請求項3または請求項5に記載の画像色
処理装置であって、 前記有彩色選択手段が、前記代表的背景色と彩度および
色相のそれぞれについて前記代表的背景色との差異が所
定の閾値の範囲内にあるような代表色を有する非エッジ
区画を前記有彩色区画とすることを特徴とする画像色処
理装置。
7. The image color processing device according to claim 3, wherein the chromatic color selection unit determines a difference between the representative background color and the representative background color for each of saturation and hue. An image color processing apparatus, wherein a non-edge section having a representative color whose difference falls within a predetermined threshold range is set as the chromatic section.
【請求項8】 請求項1ないし請求項7のいずれかに記
載の画像色処理装置であって、さらに、 選択された前記代表的背景色をもとに前記カラー画像の
背景の色を修正する手段を備えることを特徴とする画像
色処理装置。
8. The image color processing apparatus according to claim 1, further comprising: correcting a background color of the color image based on the selected representative background color. An image color processing apparatus comprising:
【請求項9】 カラー画像を複数の区画に分割する分割
工程と、 前記複数の区画のそれぞれの代表色を抽出する代表色抽
出工程と、 前記複数の区画のうちエッジ画像を含まない非エッジ区
画の集合である非エッジ区画集合を抽出する非エッジ選
択工程と、 前記非エッジ区画集合の各非エッジ区画を順次、注目区
画としつつ、前記注目区画の周囲に連続的に存在すると
ともに、前記注目区画の前記代表色に対して色空間内に
おける所定の類似色判定条件を満足する色としての類似
色を代表色として有するような非エッジ区画の広がりを
類似色広さとして求める類似色広さ決定工程と、 前記非エッジ区画集合のうち前記類似色広さが最大の前
記非エッジ区画の代表色を前記カラー画像の代表的背景
色とする背景色決定工程と、を備えることを特徴とする
画像色処理方法。
9. A division step of dividing a color image into a plurality of sections; a representative color extraction step of extracting a representative color of each of the plurality of sections; and a non-edge section not including an edge image among the plurality of sections. A non-edge selection step of extracting a non-edge section set, which is a set of the non-edge section sets; A similar color width determination for obtaining, as a similar color width, a spread of a non-edge partition having a similar color as a representative color that satisfies a predetermined similar color determination condition in a color space with respect to the representative color of the partition. And a background color determining step of setting a representative color of the non-edge section having the largest similar color width in the non-edge section set as a representative background color of the color image. Image color processing method according to.
【請求項10】 請求項9に記載の画像色処理方法であ
って、さらに、 前記代表的背景色がほぼ無彩色か有彩色かを判定する判
定工程と、 前記判定工程により前記代表的背景色がほぼ無彩色であ
ると判定された場合に、前記非エッジ区画のうちほぼ無
彩色を有する無彩色区画を選択する無彩色選択工程と、 選択された前記無彩色区画の前記代表色のうちほぼ最も
明るい代表色およびほぼ最も暗い代表色を、それぞれ最
明背景色および最暗背景色として選択する第1明暗選択
工程と、 前記判定工程により前記代表的背景色がほぼ有彩色であ
ると判定された場合に、前記非エッジ区画のうちほぼ有
彩色を有する有彩色区画を選択する有彩色選択工程と、 選択された前記有彩色区画の前記代表色のうちほぼ最も
明るい代表色およびほぼ最も暗い代表色を、それぞれ最
明背景色および最暗背景色として選択する第2明暗選択
工程と、を備えることを特徴とする画像色処理方法。
10. The image color processing method according to claim 9, further comprising: a judging step of judging whether the representative background color is substantially achromatic or a chromatic color; Is determined to be substantially achromatic, an achromatic color selecting step of selecting an achromatic section having a substantially achromatic color among the non-edge sections; and A first light / dark selection step of selecting a brightest representative color and a substantially darkest representative color as a brightest background color and a darkest background color, respectively; and the determination step determines that the representative background color is substantially a chromatic color. A chromatic color selection step of selecting a chromatic color section having substantially a chromatic color among the non-edge sections, and a substantially brightest representative color and a substantially darkest representative color among the representative colors of the selected chromatic color section. Image color processing method comprising: a color, a second contrast selection step of selecting as the brightest background color and the cycler background color, respectively, the.
【請求項11】 請求項9または請求項10に記載の画
像色処理方法であって、さらに、 選択された前記代表的背景色をもとに前記カラー画像の
背景の色を修正する工程を備えることを特徴とする画像
色処理方法。
11. The image color processing method according to claim 9, further comprising a step of correcting a background color of the color image based on the selected representative background color. An image color processing method comprising:
【請求項12】 コンピュータによってカラー画像から
背景色を抽出するためのプログラムを記録した記録媒体
において、 カラー画像を複数の区画に分割する分割機能と、 前記複数の区画のそれぞれの代表色を抽出する代表色抽
出機能と、 前記複数の区画のうちエッジ画像を含まない非エッジ区
画の集合である非エッジ区画を抽出する非エッジ選択機
能と、 前記非エッジ区画集合の各非エッジ区画を順次、注目区
画としつつ、前記注目区画の周囲に連続的に存在すると
ともに、前記注目区画の前記代表色と視覚的に類似と捉
えられる類似色を前記代表色として有する前記非エッジ
区画集合に属する区画の広がりである類似色広さを求め
ることによって、前記非エッジ区画集合の各非エッジ区
画について前記類似色広さを求める類似色広さ決定機能
と、 前記非エッジ区画集合のうち前記類似色広さが最大の前
記非エッジ区画の代表色を前記カラー画像の代表的背景
色とする背景色決定機能と、を実現させるプログラムを
記録したコンピュータ読取り可能な記録媒体。
12. A recording medium storing a program for extracting a background color from a color image by a computer, a dividing function of dividing the color image into a plurality of sections, and extracting a representative color of each of the plurality of sections. A representative color extraction function, a non-edge selection function of extracting a non-edge section which is a set of non-edge sections not including an edge image among the plurality of sections, and sequentially paying attention to each non-edge section of the non-edge section set. Spreading of the section belonging to the non-edge section set having a similar color which is continuously present around the noticeable section and has a similar color visually regarded as similar to the representative color of the noticeable section as the representative color while forming the section. Is obtained for each non-edge section of the set of non-edge sections. A computer recording a program for realizing a function and a background color determining function of setting a representative color of the non-edge section having the largest similar color width in the non-edge section set as a representative background color of the color image A readable recording medium.
JP26967098A 1998-09-24 1998-09-24 Image color processing apparatus, image color processing method, and recording medium Expired - Fee Related JP3493148B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26967098A JP3493148B2 (en) 1998-09-24 1998-09-24 Image color processing apparatus, image color processing method, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26967098A JP3493148B2 (en) 1998-09-24 1998-09-24 Image color processing apparatus, image color processing method, and recording medium

Publications (2)

Publication Number Publication Date
JP2000099701A true JP2000099701A (en) 2000-04-07
JP3493148B2 JP3493148B2 (en) 2004-02-03

Family

ID=17475581

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26967098A Expired - Fee Related JP3493148B2 (en) 1998-09-24 1998-09-24 Image color processing apparatus, image color processing method, and recording medium

Country Status (1)

Country Link
JP (1) JP3493148B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008097310A (en) * 2006-10-11 2008-04-24 Sharp Manufacturing System Corp Edge extraction method, definition table creation method, image processing method, image processing apparatus, image processing program, and recording medium with the image processing program stored
US8493615B2 (en) 2009-02-13 2013-07-23 Fuji Xerox Corporation Image-processing device, image-reading device, and image-forming device
KR20160007319A (en) * 2014-07-11 2016-01-20 삼성전자주식회사 Electronic apparatus and Method for controlling the electronic apparatus thereof
JP2020065248A (en) * 2019-09-04 2020-04-23 株式会社リコー Image processing apparatus, image processing system, image processing method and program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008097310A (en) * 2006-10-11 2008-04-24 Sharp Manufacturing System Corp Edge extraction method, definition table creation method, image processing method, image processing apparatus, image processing program, and recording medium with the image processing program stored
JP4704310B2 (en) * 2006-10-11 2011-06-15 シャープ株式会社 Image processing method, image processing apparatus, image processing program, and recording medium for recording image processing program
US8493615B2 (en) 2009-02-13 2013-07-23 Fuji Xerox Corporation Image-processing device, image-reading device, and image-forming device
KR20160007319A (en) * 2014-07-11 2016-01-20 삼성전자주식회사 Electronic apparatus and Method for controlling the electronic apparatus thereof
KR102160247B1 (en) * 2014-07-11 2020-09-25 삼성전자주식회사 Electronic apparatus and Method for controlling the electronic apparatus thereof
JP2020065248A (en) * 2019-09-04 2020-04-23 株式会社リコー Image processing apparatus, image processing system, image processing method and program
JP2022000970A (en) * 2019-09-04 2022-01-04 株式会社リコー Image processing apparatus, image processing system, image processing method and program

Also Published As

Publication number Publication date
JP3493148B2 (en) 2004-02-03

Similar Documents

Publication Publication Date Title
JP4117284B2 (en) Color space conversion method, color image color adjustment device, color adjustment method, and computer-readable recording medium recording the program
JP5032911B2 (en) Image processing apparatus and image processing method
US8290259B2 (en) Device adaptively switching color emphasis processing for image
EP2068569B1 (en) Method of and apparatus for detecting and adjusting colour values of skin tone pixels
US9214010B2 (en) Image processing apparatus, image processing method, and program product
US20090060326A1 (en) Image processing apparatus and method
JP3959909B2 (en) White balance adjustment method and adjustment device
JPH09322192A (en) Detection and correction device for pink-eye effect
US9449375B2 (en) Image processing apparatus, image processing method, program, and recording medium
US20050068587A1 (en) Monotone conversion process for color images
JP2000196890A (en) Method and device for image processing and recording medium
JP4087749B2 (en) Image processing system and image processing method
KR20120042988A (en) Image processing method, image processing device, and program
JP4160445B2 (en) Image processing system and image processing method
JPH118768A (en) Image processor, image processing method and medium recording image processing control program
JP2000099701A (en) Image color processor, image color processing method and recording medium
JP2009171158A (en) Mosaic image generation apparatus, method, and program
JP2009050035A (en) Image processing method, image processing system, and image processing program
JP3493146B2 (en) Image color processing apparatus, image color processing method, and recording medium
JP4708866B2 (en) Lookup table creation device and method, and lookup table creation program
JP3493147B2 (en) Image color processing apparatus, image color processing method, and recording medium
JP5069599B2 (en) Video conversion apparatus, video conversion method, and video conversion program
JP2008147714A (en) Image processor and image processing method
JP5227651B2 (en) Video conversion apparatus, video conversion method, and video conversion program
JP4578398B2 (en) Image correction apparatus and method, and image correction program

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20071114

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20081114

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees