JP4895878B2 - 代表色抽出方法、および代表色抽出装置 - Google Patents
代表色抽出方法、および代表色抽出装置 Download PDFInfo
- Publication number
- JP4895878B2 JP4895878B2 JP2007070270A JP2007070270A JP4895878B2 JP 4895878 B2 JP4895878 B2 JP 4895878B2 JP 2007070270 A JP2007070270 A JP 2007070270A JP 2007070270 A JP2007070270 A JP 2007070270A JP 4895878 B2 JP4895878 B2 JP 4895878B2
- Authority
- JP
- Japan
- Prior art keywords
- representative color
- section
- score
- representative
- color
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/46—Colour picture communication systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/58—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/583—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
- G06F16/5838—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content using colour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/40—Extraction of image or video features
- G06V10/56—Extraction of image or video features relating to colour
Description
明度I=max{R、G、B}(RGB各チャンネルの階調値のうちの最大値)
彩度S=(I−i)/I(但しi=min{R、G、B}(RGB各チャンネルの階調値のうちの最小値))
と定義する。
そして、
r=(I−R)/(I−i)
g=(I−G)/(I−i)
b=(I−B)/(I−i)
とし、色相H(radian)を、
R=Iの時、H=π/3(b−g)
G=Iの時、H=π/3(2+r−b)
B=Iの時、H=π/3(4+g−r)
から算出する(但し、H<0の場合は、Hに2πを加算する。また、色相Hを度数(°)に変換するには、180/πを乗算する)。
12 パーソナルコンピュータ(PC)
13 モニタ
14 操作部
20 CPU
23 ハードディスクドライブ(HDD)
30 代表色抽出部
31 縮小処理部
32 ヒストグラム生成部
33 区間抽出部
34 スコア算出部
35 区間選定部
36 代表色生成部
40 ヒストグラム
50 代表色抽出ウィンドウ
Claims (11)
- 画像を構成する画素の色のHSV色空間の色相、彩度、および明度の各チャンネルについて、前記チャンネルの階調値を分割した複数の区間を階級とし、前記階調値の出現頻度を度数としてヒストグラムを生成するヒストグラム生成ステップと、
前記出現頻度が極大値となる前記区間を抽出する区間抽出ステップと、
抽出した区間の色相と、緑色の色相との距離の大きさに応じて、抽出した区間のスコアを算出するスコア算出ステップと、
算出したスコアに基づいて、抽出した区間の中から、前記画像の視覚的な印象を表す代表色の候補となる区間を選定する区間選定ステップと、
選定した区間の階調値を元に、前記代表色を生成する代表色生成ステップとを備えることを特徴とする代表色抽出方法。 - 前記ヒストグラム生成ステップの前に、前記画像を縮小する縮小処理ステップを備えることを特徴とする請求項1に記載の代表色抽出方法。
- 前記スコア算出ステップでは、前記出現頻度に応じて、前記スコアの算出を行うことを特徴とする請求項1または2に記載の代表色抽出方法。
- 前記スコア算出ステップでは、抽出した区間の階調値をもつ画素が存在する画像内の位置に応じて、前記スコアの算出を行うことを特徴とする請求項1ないし3のいずれかに記載の代表色抽出方法。
- 前記区間選定ステップでは、前記スコアが上位n番目(nは自然数≠0)までの区間、または前記スコアが予め設定された閾値以上の区間のうち、いずれかを前記候補として選定することを特徴とする請求項1ないし4のいずれかに記載の代表色抽出方法。
- 前記代表色生成ステップでは、選定した区間の中心値、最小値、最大値、または選定した区間に属する画素の階調値の平均値のうち、いずれかを前記代表色の階調値とすることを特徴とする請求項1ないし5のいずれかに記載の代表色抽出方法。
- 生成した代表色を表示する代表色表示ステップを備えることを特徴とする請求項1ないし6のいずれかに記載の代表色抽出方法。
- 前記代表色表示ステップでは、スコアが高い順に代表色を表示することを特徴とする請求項7に記載の代表色抽出方法。
- 生成した代表色を記憶する代表色記憶ステップを備えることを特徴とする請求項1ないし8のいずれかに記載の代表色抽出方法。
- 生成した代表色を記憶するか否かを選択させる選択ステップを備えることを特徴とする請求項9に記載の代表色抽出方法。
- 画像を構成する画素の色のHSV色空間の色相、彩度、および明度の各チャンネルについて、前記チャンネルの階調値を分割した複数の区間を階級とし、前記階調値の出現頻度を度数としてヒストグラムを生成するヒストグラム生成手段と、
前記出現頻度が極大値となる前記区間を抽出する区間抽出手段と、
抽出した区間の色相と、緑色の色相との距離の大きさに応じて、抽出した区間のスコアを算出するスコア算出手段と、
算出したスコアに基づいて、抽出した区間の中から、前記画像の視覚的な印象を表す代表色の候補となる区間を選定する区間選定手段と、
選定した区間の階調値を元に、前記代表色を生成する代表色生成手段とを備えることを特徴とする代表色抽出装置。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007070270A JP4895878B2 (ja) | 2007-03-19 | 2007-03-19 | 代表色抽出方法、および代表色抽出装置 |
US12/050,270 US8094935B2 (en) | 2007-03-19 | 2008-03-18 | Representative color extracting method and apparatus based on human color sense and data histogram distributions |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007070270A JP4895878B2 (ja) | 2007-03-19 | 2007-03-19 | 代表色抽出方法、および代表色抽出装置 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008234124A JP2008234124A (ja) | 2008-10-02 |
JP4895878B2 true JP4895878B2 (ja) | 2012-03-14 |
Family
ID=39774749
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007070270A Expired - Fee Related JP4895878B2 (ja) | 2007-03-19 | 2007-03-19 | 代表色抽出方法、および代表色抽出装置 |
Country Status (2)
Country | Link |
---|---|
US (1) | US8094935B2 (ja) |
JP (1) | JP4895878B2 (ja) |
Families Citing this family (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9713342B2 (en) * | 2004-08-25 | 2017-07-25 | Decopac, Inc. | Online decorating system for edible products |
JP5149858B2 (ja) | 2009-04-20 | 2013-02-20 | 富士フイルム株式会社 | カラー画像の代表色決定装置およびその動作制御方法 |
US9743687B2 (en) | 2010-08-09 | 2017-08-29 | Decopac, Inc. | Decorating system for edible items |
US10543671B2 (en) | 2010-08-09 | 2020-01-28 | Decopac, Inc. | Three-dimensional decorating system for edible items |
US9907332B2 (en) | 2010-08-09 | 2018-03-06 | Decopac, Inc. | Decorating system for edible items |
US10455096B2 (en) | 2010-08-09 | 2019-10-22 | Decopac, Inc. | Decorating system for edible products |
JP6279825B2 (ja) * | 2011-05-18 | 2018-02-14 | ソニー株式会社 | 画像処理装置、画像処理方法、プログラムおよび撮像装置 |
CN102981619B (zh) * | 2012-11-19 | 2015-12-02 | 广东欧珀移动通信有限公司 | 一种基于移动终端用户衣服的颜色更换主题的方法及系统 |
JP5882273B2 (ja) * | 2013-08-30 | 2016-03-09 | 京セラドキュメントソリューションズ株式会社 | 資料評価プログラムおよび資料評価装置 |
KR102161159B1 (ko) * | 2014-02-13 | 2020-09-29 | 삼성전자주식회사 | 전자 장치 및 전자 장치에서 색상 추출 방법 |
JP6350069B2 (ja) * | 2014-07-22 | 2018-07-04 | 富士ゼロックス株式会社 | 情報処理システム、情報処理装置およびプログラム |
KR101764998B1 (ko) * | 2016-02-16 | 2017-08-23 | 라인 가부시키가이샤 | 이미지 필터링 방법 및 시스템 |
JP6543845B2 (ja) * | 2016-04-06 | 2019-07-17 | 有限会社修榮シール | 色判別方法及び色判別装置 |
KR101797533B1 (ko) | 2017-04-11 | 2017-11-15 | 연세대학교 산학협력단 | 의안 표준화를 위한 홍채 대표색 결정 장치 및 방법 |
JP6566004B2 (ja) * | 2017-11-13 | 2019-08-28 | ソニー株式会社 | 画像処理装置、画像処理方法、プログラムおよび撮像装置 |
US10692124B1 (en) | 2018-12-07 | 2020-06-23 | Decopac, Inc. | Systems and methods for ordering and preparation of customized comestibles |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4805016A (en) * | 1986-08-25 | 1989-02-14 | Kabushiki Kaisha Toshiba | Endoscopic system for converting primary color images into hue, saturation and intensity images |
JP3020887B2 (ja) | 1997-04-14 | 2000-03-15 | 株式会社エイ・ティ・アール知能映像通信研究所 | データベース格納方法、データベース検索方法およびデータベース装置 |
JP4243362B2 (ja) * | 1997-10-16 | 2009-03-25 | セイコーエプソン株式会社 | 画像処理装置、画像処理方法、および画像処理プログラムを記録した記録媒体 |
JP3607059B2 (ja) * | 1997-09-19 | 2005-01-05 | コニカミノルタビジネステクノロジーズ株式会社 | 色特徴抽出装置および色特徴の抽出方法およびプログラム記憶媒体 |
JP2002118752A (ja) * | 2000-10-05 | 2002-04-19 | Sony Corp | 画像処理装置および方法、並びに記録媒体 |
US6859210B2 (en) * | 2001-07-06 | 2005-02-22 | Eastman Kodak Company | Method for representing a digital color image using a set of palette colors based on detected important colors |
JP2003216948A (ja) * | 2002-01-24 | 2003-07-31 | Nippon Hoso Kyokai <Nhk> | 代表色抽出装置及び代表色抽出プログラム |
EP2293250B1 (en) * | 2003-07-04 | 2012-05-09 | Mitsubishi Electric Information Technology Centre Europe B.V. | Method and apparatus for representing a group of images |
US7668365B2 (en) * | 2004-03-08 | 2010-02-23 | Seiko Epson Corporation | Determination of main object on image and improvement of image quality according to main object |
JP4580307B2 (ja) * | 2005-08-12 | 2010-11-10 | 富士フイルム株式会社 | 検出画像領域決定装置および対象画像の特徴量算出装置ならびにそれらの制御方法およびそれらの制御プログラム |
-
2007
- 2007-03-19 JP JP2007070270A patent/JP4895878B2/ja not_active Expired - Fee Related
-
2008
- 2008-03-18 US US12/050,270 patent/US8094935B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2008234124A (ja) | 2008-10-02 |
US8094935B2 (en) | 2012-01-10 |
US20080232686A1 (en) | 2008-09-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4895878B2 (ja) | 代表色抽出方法、および代表色抽出装置 | |
US10810454B2 (en) | Apparatus, method and program for image search | |
US8416332B2 (en) | Information processing apparatus, information processing method, and program | |
JP5556262B2 (ja) | 画像属性判別装置、属性判別支援装置、画像属性判別方法、属性判別支援装置の制御方法、および、制御プログラム | |
JP4704224B2 (ja) | アルバム作成装置、アルバム作成方法、及びプログラム | |
JP5034661B2 (ja) | 画像管理装置、画像表示装置、撮像装置、および、これらにおける処理方法ならびに当該方法をコンピュータに実行させるプログラム | |
JP5288961B2 (ja) | 画像処理装置および画像処理方法 | |
US8629918B2 (en) | Image processing apparatus, image processing method and program | |
JP2010072934A (ja) | アルバム作成装置及びアルバム作成方法 | |
JP5753945B2 (ja) | 画像処理装置、画像処理装置の制御方法、プログラム、及び情報記憶媒体 | |
US8411311B2 (en) | Image processor | |
JP2006079460A (ja) | 電子アルバム表示システム、電子アルバム表示方法、電子アルバム表示プログラム、画像分類装置、画像分類方法、及び画像分類プログラム | |
JP2007133838A (ja) | 画像表示方法及び画像表示プログラム | |
JP5402026B2 (ja) | 電子カメラおよび画像処理プログラム | |
JP5336759B2 (ja) | 画像出力装置及び画像出力方法 | |
JP2008191936A (ja) | コンテンツ登録・検索システムの構築支援方法、およびコンテンツ登録・検索システムの構築支援装置 | |
JP2004005303A (ja) | 画像検索装置、画像検索方法及び画像検索プログラム | |
US8463052B2 (en) | Electronic apparatus and image search method | |
JP2005293367A (ja) | 画像処理方法及び装置 | |
JP2006246127A (ja) | 画像再生方法、画像再生装置及び画像再生プログラム | |
JP4220458B2 (ja) | 画像表示装置 | |
US20120324354A1 (en) | Computer system | |
JP4086580B2 (ja) | 画像処理装置、プログラム及び方法 | |
US11706522B2 (en) | Imaging system, server, imaging device, imaging method, program, and recording medium having a function of assisting capturing of an image coincident with preference of a user | |
JP6198541B2 (ja) | 処理装置、処理方法、および処理プログラム |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090909 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110511 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110518 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110719 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20111122 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20111220 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150106 Year of fee payment: 3 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |