JP2009225247A - Image display and image display method - Google Patents

Image display and image display method Download PDF

Info

Publication number
JP2009225247A
JP2009225247A JP2008069209A JP2008069209A JP2009225247A JP 2009225247 A JP2009225247 A JP 2009225247A JP 2008069209 A JP2008069209 A JP 2008069209A JP 2008069209 A JP2008069209 A JP 2008069209A JP 2009225247 A JP2009225247 A JP 2009225247A
Authority
JP
Japan
Prior art keywords
image
images
reliability
classification
display
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.)
Withdrawn
Application number
JP2008069209A
Other languages
Japanese (ja)
Inventor
Ryota Kawachi
亮太 河内
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.)
Nikon Systems Inc
Original Assignee
Nikon Systems Inc
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 Nikon Systems Inc filed Critical Nikon Systems Inc
Priority to JP2008069209A priority Critical patent/JP2009225247A/en
Publication of JP2009225247A publication Critical patent/JP2009225247A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To preferentially display an image matched with user's color impression when displaying an image based on a result of color-sorting a plurality of images. <P>SOLUTION: The image display includes: an image sorting means for sorting images using selection colors selected beforehand; a reliability calculating means for calculating reliability in sorting for the images sorted by the image sorting means; a display means for simultaneously displaying a plurality of images; and a display control means which sets a first display area to display therein a main image among the plurality of images and a second display area to display therein the remaining area when simultaneously displaying the plurality of images on the display means, and performs display control upon the display means so that, among the plurality of images, a high-priority image is preferentially disposed in the first display area. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、撮像等により取得された複数の画像データを表示する画像表示装置及び画像表示方法に関する。   The present invention relates to an image display device and an image display method for displaying a plurality of image data acquired by imaging or the like.

従来、撮像等により取得された複数の画像を、例えば赤色、青色、緑色など基準となる色相を用いて分類し、その分類結果に基づいて画像表示を行う画像表示装置や、画像表示方法が提案されている。また、画像から被写体の顔が含まれているか否かを判定し、被写体の顔が含まれている場合には、画像全体に対する被写体の顔の領域の割合を判定した結果を用いて、表示する画像を選択する画像表示装置も提案されている(特許文献1及び2参照)。
特開2006−277038号公報 特開2007−049387号公報
Conventionally, an image display apparatus and an image display method for classifying a plurality of images acquired by imaging etc. using a reference hue such as red, blue, green, etc., and displaying an image based on the classification result have been proposed. Has been. Also, it is determined whether or not the subject's face is included from the image. If the subject's face is included, the image is displayed using the result of determining the ratio of the subject's face area to the entire image. An image display device for selecting an image has also been proposed (see Patent Documents 1 and 2).
JP 2006-277038 A JP 2007-049387 A

しかしながら、基準となる色相を用いて分類した結果に基づいて画像を表示する場合、分類結果が必ずしもユーザの色に対する印象と合致する保証はない。特に複数の画像を順次表示する場合や、複数の画像のうちの特定の画像を強調して表示する場合には、最初に表示される画像や、強調して表示される画像がユーザの色に対する印象と異なる画像となることもあり、画像表示に対する興趣を損なうものとなりやすい。   However, when an image is displayed based on the result of classification using the reference hue, there is no guarantee that the classification result matches the impression of the user's color. In particular, when a plurality of images are displayed sequentially, or when a specific image among the plurality of images is displayed with emphasis, the image displayed first or the image displayed with emphasis corresponds to the user's color. The image may be different from the impression, and the interest in image display tends to be impaired.

本発明は、上述した課題を解決するために発明されたものであり、複数の画像を色分類した結果に基づいて画像を表示する際に、ユーザの色に対する印象に合致する画像を優先的に表示できるようにした画像表示装置及び画像表示方法を提供することを目的とする。   The present invention has been invented in order to solve the above-described problems. When displaying an image based on the result of color classification of a plurality of images, an image that matches the impression of the user's color is given priority. An object of the present invention is to provide an image display device and an image display method that can be displayed.

第1の発明の画像表示装置は、予め選定された選定色を用いて画像を分類する画像分類手段と、前記画像分類手段によって分類された画像に対して、前記分類における信頼度を算出する信頼度算出手段と、前記画像分類手段による画像の分類時に同一の分類結果となる画像から、前記信頼度の高い順に画像を複数選択するとともに、前記選択された複数の画像のうち前記信頼度が最も高い画像を主画像として選択する画像選択手段と、前記画像選択手段により選択された複数の画像を、前記主画像と、該主画像を除いた画像からなる副画像とに分けて同時に表示することが可能な表示手段と、を備えたことを特徴とする。   An image display device according to a first aspect of the present invention includes an image classification unit that classifies an image using a selected color selected in advance, and a reliability that calculates a reliability in the classification with respect to the image classified by the image classification unit. A plurality of images are selected in descending order of the reliability from images having the same classification result when the images are classified by the degree calculation means and the image classification means, and the reliability is the highest among the plurality of selected images. An image selection unit that selects a high image as a main image, and a plurality of images selected by the image selection unit are divided into the main image and a sub-image that is an image excluding the main image and displayed simultaneously. And a display means capable of performing the above.

また、第2の発明の画像表示装置は、予め選定された選定色を用いて画像を分類する画像分類手段と、前記画像分類手段によって分類された画像に対して、前記分類における信頼度を算出する信頼度算出手段と、前記画像分類手段により分類された画像のうち、同一の分類結果となる画像を分類結果毎にまとめた複数の画像群のそれぞれから、前記信頼度の高い画像を該信頼度の高い順に選択する画像選択手段と、前記画像選択手段により分類結果毎に選択された画像を、同時に表示することが可能な表示手段と、を備えたことを特徴とする。   According to a second aspect of the present invention, there is provided an image display device for classifying an image using a selected color selected in advance, and calculating a reliability in the classification for the image classified by the image classification unit. The image having the high reliability is obtained from each of a plurality of image groups in which images having the same classification result among the images classified by the image classification unit and the image classification unit are grouped for each classification result. Image selection means for selecting in descending order, and display means capable of simultaneously displaying images selected for each classification result by the image selection means.

第3の発明は、第1及び第2の発明において、前記画像分類手段は、少なくとも2種類以上の前記選定色を用いて、画像を前記選定色毎に分類することを特徴とする。   According to a third invention, in the first and second inventions, the image classification means classifies an image for each of the selected colors using at least two or more types of the selected colors.

第4の発明は、第1〜第3の発明のいずれかにおいて、前記信頼度算出手段は、前記選定色となる画素数が画像の全画素数に占める割合を求めることで、前記分類における信頼度を算出することを特徴とする。   In a fourth aspect based on any one of the first to third aspects, the reliability calculation means obtains a ratio of the number of pixels as the selected color to the total number of pixels of the image, whereby the reliability in the classification is determined. The degree is calculated.

第5の発明は、第1〜第4の発明のいずれかにおいて、色空間を複数の領域に分割し、かつ、分割された複数の領域のいずれかに前記選定色が対応付けられた色空間テーブルを備え、前記画像分類手段は、前記選定色が対応付けられた前記領域に該当する画素数が画像の全画素数に占める割合を求め、該割合が所定の割合を超過するか否かによって画像を分類することを特徴とする。   According to a fifth invention, in any one of the first to fourth inventions, the color space is divided into a plurality of regions, and the selected color is associated with any of the divided regions. A table, and the image classification means obtains a ratio of the number of pixels corresponding to the region associated with the selected color to the total number of pixels of the image, and determines whether the ratio exceeds a predetermined ratio. It is characterized by classifying images.

第6の発明は、第1〜第5の発明のいずれかにおいて、前記画像分類手段は、画素数が画像の全画素数に占める割合が最も高い分割領域に対応付けられた選定色に基づいて、画像を分類することを特徴とする。   In a sixth aspect based on any one of the first to fifth aspects, the image classification means is based on a selected color associated with a divided area having the highest ratio of the number of pixels to the total number of pixels of the image. And classifying images.

第7の発明の画像表示方法は、予め選定された選定色を用いて画像を分類する画像分類工程と、前記画像分類手段によって分類された画像に対して、前記分類における信頼度を算出する信頼度算出工程と、前記画像分類手段による画像の分類時に同一の分類結果となる画像から、前記信頼度の高い順に画像を複数選択するとともに、前記選択された複数の画像のうち前記信頼度が最も高い画像を主画像として選択する画像選択工程と、前記画像選択工程により選択された複数の画像を、前記主画像と、該主画像を除いた画像からなる副画像とに分けて同時に表示することが可能な表示工程と、を備えたことを特徴とする。   An image display method according to a seventh aspect of the invention includes an image classification step of classifying an image using a selected color selected in advance, and a reliability for calculating a reliability in the classification for the image classified by the image classification means. A plurality of images are selected in descending order of the reliability from images having the same classification result at the time of image classification by the image classification means and the image classification means, and the reliability is the highest among the plurality of selected images An image selection process for selecting a high image as a main image, and a plurality of images selected by the image selection process are displayed separately in the main image and a sub-image composed of images excluding the main image. And a display process capable of performing the above.

第8の発明の画像表示方法は、予め選定された選定色を用いて画像を分類する画像分類工程と、前記画像分類工程によって分類された画像に対して、前記分類における信頼度を算出する信頼度算出工程と、前記画像分類工程により分類された画像のうち、同一の分類結果となる画像を分類結果毎にまとめた複数の画像群のそれぞれから、前記信頼度の高い画像を該信頼度の高い順に選択する画像選択工程と、前記画像選択工程により分類結果毎に選択された画像を、同時に表示することが可能な表示工程と、を備えたことを特徴とする。   According to an eighth aspect of the present invention, there is provided an image display method for classifying an image using a selection color selected in advance, and a reliability for calculating a reliability in the classification for the image classified by the image classification step. Of the images classified by the degree calculation step and the image classification step, images having the same classification result are grouped for each classification result, and the image having the high reliability is selected from the plurality of image groups. An image selection step of selecting in descending order and a display step of simultaneously displaying images selected for each classification result by the image selection step are provided.

本発明によれば、画像表示の際に画像を分類した結果を反映した画像表示を行う際に、ユーザにおける色の印象に合致した画像を優先的に表示させることができるので、画像表示における醍醐味を強く実感させることができる。   According to the present invention, when performing image display reflecting the result of classifying images during image display, it is possible to preferentially display an image that matches the color impression of the user. Can be realized strongly.

図1は、本発明を実施した画像表示装置の構成を示す機能ブロック図である。画像表示装置10は、CPU15、ROM16、RAM17、データベース18、画像分類部19、キーボード20、マウス21及びディスプレイ22から構成され、各部がバス23を介して接続される。CPU15は、不図示の制御プログラムを実行することで、画像表示装置10の各部を統括的に制御する。ROM16は、画像表示装置10を作動制御するための各種プログラムや、これらプログラムによって使用されるデータを格納する。RAM17は、上述したプログラムを実行したときに生成される演算子などを一時記憶する。なお、キーボード20やマウス21は、入力操作を行う際に操作される。また、ディスプレイ22は、入力操作を行う際の表示や、データベース18の画像格納領域25に格納された画像データを用いた画像の表示を行う。   FIG. 1 is a functional block diagram showing the configuration of an image display apparatus embodying the present invention. The image display device 10 includes a CPU 15, a ROM 16, a RAM 17, a database 18, an image classification unit 19, a keyboard 20, a mouse 21, and a display 22, and each unit is connected via a bus 23. The CPU 15 controls each unit of the image display device 10 by executing a control program (not shown). The ROM 16 stores various programs for controlling the operation of the image display apparatus 10 and data used by these programs. The RAM 17 temporarily stores an operator generated when the above-described program is executed. Note that the keyboard 20 and the mouse 21 are operated when performing an input operation. Further, the display 22 performs display when performing an input operation, and displays an image using image data stored in the image storage area 25 of the database 18.

データベース18は、画像格納領域25、分類結果格納領域26、信頼度格納領域27などの領域を備えている。画像格納領域25には、この画像表示装置10に入力される画像データが複数格納される。分類結果格納領域26には、後述する画像分類部19により画像を分類した結果を示すデータ(以下、分類情報)が格納される。信頼度格納領域27は、画像分類部19に画像を分類したときの、該分類に対する信頼度を示すデータ(以下、信頼度情報)が格納される。なお、分類情報は、選定色と、該選定色によって分類された画像データに付されたデータ名とが選定色毎に対応付けて、まとめられたデータからなり、信頼度情報は、選定色、該選定色によって分類された画像データに付されたデータ名及び分類時の信頼度が、選定色毎に対応付けてまとめられたデータからなる。   The database 18 includes areas such as an image storage area 25, a classification result storage area 26, and a reliability storage area 27. The image storage area 25 stores a plurality of image data input to the image display device 10. The classification result storage area 26 stores data (hereinafter referred to as classification information) indicating the result of classifying images by the image classification unit 19 described later. The reliability storage area 27 stores data (hereinafter referred to as reliability information) indicating the reliability of the image classification unit 19 when the image is classified. The classification information is composed of data in which the selected color and the data name assigned to the image data classified by the selected color are associated with each selected color, and the reliability information includes the selected color, The data name assigned to the image data classified by the selected color and the reliability at the time of classification are made up of data collected in association with each selected color.

画像分類部19は、データベース18の画像格納領域25に格納された複数の画像データを、予め選定された色相(以下、選定色)を用いて分類する。図2に示すように、画像分類部19は、ヒストグラム生成部31、代表色取得部32、信頼度算出部33及び画像振分け部34から構成される。   The image classification unit 19 classifies the plurality of image data stored in the image storage area 25 of the database 18 using a previously selected hue (hereinafter, selected color). As shown in FIG. 2, the image classification unit 19 includes a histogram generation unit 31, a representative color acquisition unit 32, a reliability calculation unit 33, and an image distribution unit 34.

ヒストグラム生成部31は、画像内の各画素の色情報と、ROM16に記憶された色空間テーブル35とからヒストグラムを画像データ毎に生成する。詳細には、画像データの各画素の色情報が色空間テーブル35の複数の領域のいずれかに該当するか否かを全画素について判定し、この判定により画素毎の選定色及びその度数(画素数)を算出することで、最終的に、複数の領域に割り当てられた選定色と、その度数とからなるヒストグラムを生成する。   The histogram generation unit 31 generates a histogram for each image data from the color information of each pixel in the image and the color space table 35 stored in the ROM 16. Specifically, it is determined for all the pixels whether or not the color information of each pixel of the image data corresponds to any of a plurality of regions in the color space table 35, and the selected color and its frequency (pixel) for each pixel are determined by this determination. By calculating (number), finally, a histogram composed of selected colors assigned to a plurality of areas and their frequencies is generated.

色空間テーブル35は、YCbCr座標を分割することで得られる複数の領域のそれぞれの領域における輝度及び色度の範囲と、各領域に割り当てられる選定色とが対応付けられたテーブルである。なお、画像データが有する各画素の色情報は、輝度値(Y値)及び色度値(Cb値及びCr値)となることから、色空間テーブル35としてYCbCr座標を使用している。図3(a)は、YCbCr座標におけるY・Cb面の一例を示し、図3(b)は、Cb・Cr面の一例を示す。なお、図3においては、Y、Cb、Crの各値の最小値を0、最大値を255として示しているが、Y、Cb、Crの各値の最小値を−127、最大値を128としてもよい。   The color space table 35 is a table in which the luminance and chromaticity ranges in each of a plurality of regions obtained by dividing the YCbCr coordinates are associated with the selected color assigned to each region. Since the color information of each pixel included in the image data is a luminance value (Y value) and a chromaticity value (Cb value and Cr value), YCbCr coordinates are used as the color space table 35. 3A shows an example of the Y · Cb plane in the YCbCr coordinates, and FIG. 3B shows an example of the Cb · Cr plane. In FIG. 3, the minimum value of each value of Y, Cb, and Cr is shown as 0 and the maximum value is 255, but the minimum value of each value of Y, Cb, and Cr is −127, and the maximum value is 128. It is good.

YCbCr座標は、Y方向が例えば分割数8で等分割され、Cb方向及びCr方向のそれぞれの方向は、その中央部が密に、中央部から周縁部に向けて疎になるように8分割される。本実施形態においては、Cb方向及びCr方向を、4:2:1:1:1:1:2:4の比率となるようにそれぞれ分割している。図示は省略するが、Cb・Cr面において、色相の変化(目視によって異なって見える具合)は中央部が大きく、その周縁部が小さいことから、上述した方法で分割することで、分割された領域に割り振られる選定色のずれを最小限にしている。また、Cb・Cr面を、その中央部を密に、周縁部に向けて疎となるように分割することで、Cb・Cr面を密となる分割幅で等分割した場合に比べて、分割される領域数を減らすことができるので、色空間テーブルのサイズを削減でき、ヒストグラムを作成する処理を短時間で行うことができる。なお、Cb方向及びCr方向の分割数や、分割する際の比率は上記に限定される必要はなく、実験等により求めるなど適宜設定されるものである。   The YCbCr coordinates are equally divided in the Y direction with, for example, a division number of 8, and the respective directions of the Cb direction and the Cr direction are divided into 8 so that the central part is dense and the central part is sparse toward the peripheral part. The In the present embodiment, the Cb direction and the Cr direction are divided so as to have a ratio of 4: 2: 1: 1: 1: 1: 2: 4. Although not shown in the figure, on the Cb / Cr surface, the hue change (how it looks different by visual observation) is large in the central part and small in the peripheral part. Minimizes the deviation of the selected color assigned to In addition, by dividing the Cb / Cr surface so that the center part is dense and sparse toward the peripheral part, the Cb / Cr face is divided into equal parts with a dense division width. Since the number of areas to be reduced can be reduced, the size of the color space table can be reduced, and the process of creating a histogram can be performed in a short time. Note that the number of divisions in the Cb direction and the Cr direction and the ratio at the time of division do not have to be limited to the above, and can be set as appropriate, for example, by experiments.

この色空間テーブル35は、上述した複数の領域のそれぞれに対して選定色が割り当てられる。なお、本実施形態では、説明の煩雑さを解消するために、複数の領域のそれぞれに割り当てられる選定色として、三原色である「赤色」、「青色」及び「緑色」の他に、これら色に該当しない「その他の色」を用いて説明する。なお、選定色は、上述した色に限定されるものではなく、上述した三原色の他に、色相環で示される二次色や三次色を用いることも可能である。   In the color space table 35, a selected color is assigned to each of the plurality of regions described above. In the present embodiment, in order to eliminate the complexity of the description, the selected colors assigned to each of the plurality of areas include these colors in addition to the three primary colors “red”, “blue”, and “green”. This will be described using “other colors” that are not applicable. Note that the selected color is not limited to the color described above, and it is possible to use a secondary color or a tertiary color indicated by a hue circle in addition to the above-described three primary colors.

図4は、Cb・Cr面の一例を示すものである。例えばCb・Cr面におけるYCbCr色空間の領域として符号40で示される領域が当て嵌る場合、符号41で示されるハッチングの領域に対して「青色」が割り当てられ、符号42で示されるハッチングの領域に対して「赤色」が割り当てられる。同様にして、符号43で示されるハッチングの領域に対して「緑色」が割り当てられ、符号44で示されるハッチングが施されていない領域に対して「その他の色」が割り当てられる。なお、複数の領域の全ての領域に、上述した選定色の何れかが割り当てられることから、色空間テーブル35においては、複数の領域のうち、同一の選定色が割り当てられる領域が、選定色毎にグループ化される。   FIG. 4 shows an example of the Cb / Cr surface. For example, when the area indicated by reference numeral 40 is applied as the YCbCr color space area on the Cb / Cr plane, “blue” is assigned to the hatching area indicated by reference numeral 41, and the hatching area indicated by reference numeral 42 is assigned to the hatching area indicated by reference numeral 42. On the other hand, “red” is assigned. Similarly, “green” is assigned to the hatched area indicated by reference numeral 43, and “other colors” is assigned to the non-hatched area indicated by reference numeral 44. In addition, since any one of the above-described selected colors is assigned to all of the plurality of areas, in the color space table 35, an area to which the same selected color is assigned is selected for each selected color. Grouped into

代表色取得部32は、ヒストグラム生成部31にて生成されたヒストグラムに基づいて画像における代表色を決定する。上述したように、色空間テーブル35は、YCbCr座標を複数の領域に分割し、それぞれの領域に対して「赤色」、「青色」、「緑色」、「その他の色」のいずれかの選定色が割り当てられていることから、生成されたヒストグラムは、上述した選定色と、その度数を示したものとなる。このヒストグラムにおいて、例えば「赤色」の度数が他の選定色の度数より高ければ、対象画像の代表色は「赤色」となる。なお、画像データの中には、「赤色」、「青色」、「緑色」及び「その他の色」の度数が略同一となるヒストグラムが生成されることがある。このような場合を解消するために、予め閾値を設けておき、度数が閾値を超過した場合に、その度数に対応する選定色を代表色として取得すればよい。なお、各選定色の度数のいずれもが閾値を超えない場合には、代表色を「その他の色」とすればよい。   The representative color acquisition unit 32 determines a representative color in the image based on the histogram generated by the histogram generation unit 31. As described above, the color space table 35 divides the YCbCr coordinates into a plurality of areas, and selects any one of “red”, “blue”, “green”, and “other colors” for each area. Is assigned, the generated histogram shows the above-mentioned selected color and its frequency. In this histogram, for example, if the frequency of “red” is higher than the frequency of the other selected colors, the representative color of the target image is “red”. In the image data, a histogram in which the frequencies of “red”, “blue”, “green”, and “other colors” are substantially the same may be generated. In order to eliminate such a case, a threshold value is provided in advance, and when the frequency exceeds the threshold value, a selected color corresponding to the frequency may be acquired as a representative color. If none of the frequencies of the selected colors exceeds the threshold value, the representative color may be “other colors”.

信頼度算出部33は、ヒストグラム生成部31にて生成されたヒストグラムから、代表色となる選定色となる度数と、ヒストグラムの全度数とを求め、ヒストグラムの全度数に対する代表色となる選定色の度数の割合(以下、信頼度)を算出する。なお、代表色となる選定色の度数は選定色に含まれる色情報を備えた画素数であり、また、全度数は画像の全画素数であることから、この信頼度は、画像内において選定色が用いられる割合となる。つまり、この信頼度が高いほど、その選定色に含まれる色が画像内で多く用いられていることになり、信頼度が低いほど、その選定色に含まれる色が画像内で使用されていないことになる。信頼度算出部33により算出された信頼度は、該信頼度を算出した画像データに付された画像データ名に対応付けられてCPU15に出力される。CPU15は、データベース18の信頼度格納領域27を参照し、信頼度情報が格納されている場合には、該信頼度情報を読み出し、算出された信頼度、画像データ名及び選定色に基づいて、読み出した該信頼度情報に書き加える。これにより、データベース18の信頼度格納領域27に格納される信頼度情報が更新される。なお、データベース18の信頼度格納領域27に信頼度情報が格納されていないときには、CPU15は、算出された信頼度と画像データ名とから新たに信頼度情報を生成する。   The reliability calculation unit 33 obtains the frequency that is the selected color as the representative color and the total frequency of the histogram from the histogram generated by the histogram generation unit 31, and determines the selected color that is the representative color for the total frequency of the histogram. The ratio of frequency (hereinafter referred to as reliability) is calculated. Note that the frequency of the selected color as the representative color is the number of pixels having color information included in the selected color, and since the total frequency is the total number of pixels of the image, this reliability is selected in the image. This is the rate at which color is used. In other words, the higher the reliability, the more colors used in the selected color are used in the image. The lower the reliability, the less the color included in the selected color is used in the image. It will be. The reliability calculated by the reliability calculation unit 33 is output to the CPU 15 in association with the image data name attached to the image data for which the reliability is calculated. The CPU 15 refers to the reliability storage area 27 of the database 18 and, when the reliability information is stored, reads the reliability information, and based on the calculated reliability, the image data name, and the selected color, Write to the read reliability information. Thereby, the reliability information stored in the reliability storage area 27 of the database 18 is updated. When the reliability information is not stored in the reliability storage area 27 of the database 18, the CPU 15 newly generates reliability information from the calculated reliability and the image data name.

画像振分け部34は、代表色取得部32によって取得された代表色に基づいて、画像を振り分ける。画像を振り分けた結果はCPU15に出力され、CPU15により分類情報が生成される。なお、この生成された分類情報は、データベース18の分類結果格納領域26に格納される。なお、分類情報がデータベース18の分類結果格納領域26に格納されている場合には、CPU15は分類情報を読み出し、画像を振り分けた結果を分類情報に書き加えることで、分類情報を更新する。   The image distribution unit 34 distributes images based on the representative color acquired by the representative color acquisition unit 32. The result of sorting the images is output to the CPU 15, and the CPU 15 generates classification information. The generated classification information is stored in the classification result storage area 26 of the database 18. If the classification information is stored in the classification result storage area 26 of the database 18, the CPU 15 reads the classification information and writes the result of sorting the images to the classification information to update the classification information.

以下、画像を選定色毎に分類する処理の流れについて図5のフローチャートに基づいて説明する。なお、画像の分類処理は、キーボード20或いはマウス21の操作により指示される。ステップS101は、データベース18の分類結果格納領域26を初期化する処理である。   Hereinafter, the flow of processing for classifying an image for each selected color will be described with reference to the flowchart of FIG. The image classification process is instructed by operating the keyboard 20 or the mouse 21. Step S101 is processing for initializing the classification result storage area 26 of the database 18.

ステップS102は、画像データの読み出しを行う処理である。画像データは、データベース18の画像格納領域25に格納されていることから、CPU15は、データベース18の画像格納領域25から全画像データを読み出して、画像分類部19に出力する。   Step S102 is a process of reading image data. Since the image data is stored in the image storage area 25 of the database 18, the CPU 15 reads all the image data from the image storage area 25 of the database 18 and outputs it to the image classification unit 19.

ステップS103は、ヒストグラム格納領域を初期化する処理である。なお、このヒストグラム格納領域については、詳細は説明していないが、ヒストグラム格納領域は、ステップS104において生成されたヒストグラムを格納する領域であり、このヒストグラム格納領域は、例えばRAM17等に設けられている。   Step S103 is processing for initializing the histogram storage area. Although details of the histogram storage area are not described, the histogram storage area is an area for storing the histogram generated in step S104, and this histogram storage area is provided in, for example, the RAM 17 or the like. .

ステップS104は、ヒストグラムを生成する処理である。このステップS104の処理は、ヒストグラム生成部31にて実行される。ヒストグラム生成部31は、色空間テーブル35を利用して、読み出された画像データにおける各画素のYCbCr値が、色空間テーブル35に設定された複数の領域の何れかに該当するかを判定する。複数の領域のそれぞれの領域には、「赤色」、「青色」、「緑色」、「その他の選定色」の何れかが割り当てられている。ヒストグラム生成部31は、この処理を全画素に対して行うことで、画素に対して割り当てられる選定色と、その度数とをまとめたヒストグラムを生成する。   Step S104 is processing for generating a histogram. The processing in step S104 is executed by the histogram generation unit 31. The histogram generation unit 31 uses the color space table 35 to determine whether the YCbCr value of each pixel in the read image data corresponds to any of a plurality of areas set in the color space table 35. . One of “red”, “blue”, “green”, and “other selected colors” is assigned to each of the plurality of regions. The histogram generation unit 31 performs this process on all the pixels, thereby generating a histogram that summarizes the selected colors assigned to the pixels and the frequency thereof.

なお、このステップS104において使用される色空間テーブル35は、YCbCr座標を、そのY方向を等分割し、またCr方向及びCb方向を、中央が密に、周縁に向けて疎となるように分割していることから、色空間テーブルのデータ量を減少させることができる。また、分割される複数の領域のうち、Cb・Cr面全体を密に分割せずに、色相の変化が大きい中央部を密に、また色相の変化が小さい周縁部を疎となるように分割することで、Cb・Cr面の分割数を削減できるので、ヒストグラムの作成時の処理時間を短縮させることができる。   The color space table 35 used in step S104 divides the YCbCr coordinates into equal parts in the Y direction, and further divides the Cr direction and Cb direction so that the center is dense and sparse toward the periphery. As a result, the amount of data in the color space table can be reduced. Also, among the plurality of divided areas, the entire Cb / Cr plane is not divided densely, but the central part where the hue change is large is divided densely and the peripheral part where the hue change is small is divided so as to be sparse. By doing so, the number of divisions of the Cb / Cr plane can be reduced, so that the processing time for creating the histogram can be shortened.

ステップS105は、代表色を取得する処理である。このステップS105の処理は、代表色取得部32にて実行される。代表色取得部32は、ステップS104の処理により生成されたヒストグラムを参照して、「赤色」、「青色」、「緑色」、「その他の選定色」のうち、度数が最も高い選定色を代表色として取得する。この代表色の取得の際に、「赤色」、「青色」、「緑色」、「その他の選定色」のそれぞれの度数が、閾値を超えない場合には、代表色を「その他の選定色」としてもよい。   Step S105 is processing for acquiring a representative color. The processing in step S105 is executed by the representative color acquisition unit 32. The representative color acquisition unit 32 refers to the histogram generated by the process of step S104 and represents the selected color having the highest frequency among “red”, “blue”, “green”, and “other selected colors”. Get as a color. When obtaining the representative color, if the frequency of each of “red”, “blue”, “green”, and “other selected colors” does not exceed the threshold, the representative color is set to “other selected colors”. It is good.

ステップS106は、信頼度を算出する処理である。このステップS106の処理は、信頼度算出部33において実行される。信頼度算出部33は、上述したヒストグラムを参照して、代表色として取得された選定色の度数と、ヒストグラムの全度数とを求める。信頼度算出部33は、これら度数を用いて信頼度を算出する。算出された信頼度は、信頼度を求めた画像データに付された画像データ名とともにCPU15に出力される。CPU15は、データベース18の信頼度格納領域27を参照し、信頼度情報が格納されている場合には、信頼度情報を読み出し、信頼度情報を更新する。一方、信頼度情報が格納されていない場合には、新たに信頼度情報を生成し、データベース18の信頼度格納領域27に格納する。   Step S106 is a process of calculating the reliability. The process of step S106 is executed by the reliability calculation unit 33. The reliability calculation unit 33 refers to the above-described histogram to obtain the frequency of the selected color acquired as the representative color and the total frequency of the histogram. The reliability calculation unit 33 calculates the reliability using these frequencies. The calculated reliability is output to the CPU 15 together with the image data name attached to the image data for which the reliability is obtained. The CPU 15 refers to the reliability storage area 27 of the database 18 and, when the reliability information is stored, reads the reliability information and updates the reliability information. On the other hand, when the reliability information is not stored, the reliability information is newly generated and stored in the reliability storage area 27 of the database 18.

ステップS107は、代表色に基づいて画像を振り分ける処理である。このステップS107の処理は、画像振分け部34において実行される。画像データにおける代表色が取得されていることから、この代表色に基づいて、選定色毎に画像データを振り分ける。この選定により、画像振分け部34は、振り分けた画像データの選定色と、該画像データに付された画像データ名とをまとめた分類結果として、CPU15に出力する。CPU15は、データベース18の分類結果格納領域26を参照する。分類結果格納領域26に分類情報が格納されている場合には、画像振分け部から出力された分類結果を用いて、分類情報を更新する。一方、分類情報が格納されていない場合には、分類結果を用いて、新たな分類情報を生成し、データベース18の分類結果格納領域26に格納する。   Step S107 is a process of distributing images based on the representative colors. The process of step S107 is executed by the image distribution unit 34. Since the representative color in the image data is acquired, the image data is distributed for each selected color based on the representative color. With this selection, the image distribution unit 34 outputs the selected color of the distributed image data and the image data name assigned to the image data to the CPU 15 as a classification result. The CPU 15 refers to the classification result storage area 26 of the database 18. When classification information is stored in the classification result storage area 26, the classification information is updated using the classification result output from the image distribution unit. On the other hand, if the classification information is not stored, new classification information is generated using the classification result and stored in the classification result storage area 26 of the database 18.

ステップS108は、全画像データを分類したか否かを判定するステップである。全画像データの分類が終了した場合(ステップS108でYesとなる場合)には、画像を分類する処理が終了する。一方、全画像データの分類が終了していない場合(ステップS108でNoとなる場合)には、ステップS102に戻る。このようにして、全画像データが選定色毎に分類される。   Step S108 is a step of determining whether or not all image data has been classified. When the classification of all the image data is completed (Yes in step S108), the process of classifying the images is completed. On the other hand, if the classification of all the image data has not been completed (No in step S108), the process returns to step S102. In this way, all image data is classified for each selected color.

ステップS109は、画像を表示する処理である。なお、このステップS109の処理については、以下に示す。   Step S109 is processing for displaying an image. The processing in step S109 will be described below.

[実施例1]
実施例1においては、同一の選定色として分類された複数の画像データを用いた画像表示を、選定色毎に順次行う場合について説明する。画像データを用いた画像表示を行う際にはテンプレート画像データが用いられる。以下では、ディスプレイに表示されるものを画像、画像の元になるデータを画像データとして説明する。図6に示すように、テンプレート画像Ptは、画像が配置される領域(以下、レイアウト領域)L〜Lが設けられ、これらレイアウト領域のうち、レイアウト領域Lは他のレイアウト領域L〜Lよりも大きく設定される。このレイアウト領域Lには、主となる画像(以下、主画像)が配置され、残りのレイアウト領域L〜Lには、他の画像(以下、副画像)が配置される。
[Example 1]
In the first embodiment, a case will be described in which image display using a plurality of image data classified as the same selected color is sequentially performed for each selected color. Template image data is used when performing image display using image data. In the following description, what is displayed on the display will be described as an image, and data based on the image will be described as image data. As shown in FIG. 6, the template image Pt is provided with regions (hereinafter referred to as layout regions) L 1 to L 8 in which images are arranged, and among these layout regions, the layout region L 1 is another layout region L 2. It is set to be larger than the ~L 8. The layout area L 1, the main become images (hereinafter, main image) is disposed in the remaining layout area L 2 ~L 8, another image (hereinafter, sub-image) is disposed.

図6に示すように、CPU15は、不図示の表示制御プログラムを実行することで、画像選択部51、レイアウト決定部52、及び画像合成部53の機能を有する。なお、CPU15の他に、ディスプレイ22の表示制御を行う表示制御部を備えている場合には、表示制御部に上述した機能が設けられる。   As illustrated in FIG. 6, the CPU 15 has functions of an image selection unit 51, a layout determination unit 52, and an image composition unit 53 by executing a display control program (not shown). In addition to the CPU 15, in the case where a display control unit that performs display control of the display 22 is provided, the above-described functions are provided in the display control unit.

画像選択部51は、データベース18の信頼度格納領域27に格納された信頼度情報及び分類結果格納領域26に格納された分類情報を参照して、テンプレート画像Ptの各レイアウト領域に配置する画像を選択する。つまり、レイアウト領域は複数有ることから、同一の分類結果となる画像データから、信頼度の高い順に複数選択する。また、画像データの選択の際に、選択された画像データのうち、最も信頼度の高い画像データを主画像データとして、残りの画像データを副画像データとする。なお、画像表示を行う選択色の順番は、例えば「赤色」→「緑色」→「青色」→「その他の色」→・・・の順番となるように予め設定されている。この設定に基づいて、画像選択部51は、それぞれの選択色に分類された画像データから、表示させる画像データを順次選択色毎に選択していく。なお、画像表示を行う選択色の順番は、上記に限定される必要はない。   The image selection unit 51 refers to the reliability information stored in the reliability storage area 27 of the database 18 and the classification information stored in the classification result storage area 26, and images to be arranged in each layout area of the template image Pt. select. That is, since there are a plurality of layout areas, a plurality of layout areas are selected in descending order of reliability from the image data having the same classification result. When selecting image data, the most reliable image data among the selected image data is set as main image data, and the remaining image data is set as sub image data. Note that the order of the selection colors for image display is set in advance, for example, in the order of “red” → “green” → “blue” → “other colors” →. Based on this setting, the image selection unit 51 sequentially selects image data to be displayed for each selected color from the image data classified into the selected colors. Note that the order of selection colors for image display need not be limited to the above.

レイアウト決定部52は、画像選択部51によって選択された画像データを表示する際の配置を決定する。例えば、「赤色」に分類された画像Pr〜Prが選択された場合には、信頼度情報を参照して、「赤色」に分類された画像Pr〜Prのうち、信頼度の高い順に配置するレイアウト領域を決定する。なお、レイアウト領域に配置される画像については、予め信頼度に基づいて設定されていることから、この設定に基づいて各レイアウト領域に配置する画像が決定される。例えば選定色が「赤色」の画像Pr〜Prを表示する場合、これら画像の中で、画像Prが分類における信頼度が最も高く、画像Prが分類における信頼度が最も低い場合には、画像Prをレイアウト領域Lに、画像Pr〜Prをレイアウト領域L〜Lにそれぞれ配置するように、各画像のレイアウトが決定される。 The layout determining unit 52 determines an arrangement for displaying the image data selected by the image selecting unit 51. For example, when the images Pr 1 to Pr 8 classified as “red” are selected, the reliability information is referred to and the reliability of the images Pr 1 to Pr 8 classified as “red” is referred to. The layout area to be arranged in descending order is determined. Since the images arranged in the layout area are set in advance based on the reliability, the image to be arranged in each layout area is determined based on this setting. For example, if the selected color is displayed an image Pr 1 to PR 8 of "red", among these images, reliability image Pr 1 is in the classification is the highest, if the image Pr 8 is the lowest confidence in the classification the image Pr 1 in the layout area L 1, so as to place each image Pr 2 to PR 8 in the layout area L 2 ~L 8, the layout of each image is determined.

画像合成部53は、テンプレート画像データと読み出された画像データとを合成する。なお、画像の大きさが配置されるレイアウト領域の大きさと一致していない場合には、レイアウト領域の大きさとなるように、画像をリサイズ処理する。これにより、ディスプレイ22に画像表示する画像データが生成される。   The image composition unit 53 synthesizes the template image data and the read image data. If the size of the image does not match the size of the layout area to be arranged, the image is resized so as to be the size of the layout area. Thereby, image data to be displayed on the display 22 is generated.

以下、分類された画像データを用いてディスプレイ22に表示する手順について説明する。CPU15は、データベース18の分類結果格納領域26に格納された分類情報、及び信頼度格納領域27に格納された信頼度情報を読み出して、テンプレート画像データに合成する画像データを選択し、画像表示したときのテンプレート画像の各レイアウト領域にどの画像を配置するかを決定する。この決定に基づいて、画像データとテンプレート画像データとを合成し、表示用の画像データを生成する。なお、「青色」、「緑色」、「その他の色」に分類された画像を用いた場合も、上述した手順で表示用の画像データが生成される。なお、同一のテンプレート画像データを用いる場合には、使用する画像データを差し替えればよい。   Hereinafter, a procedure for displaying on the display 22 using the classified image data will be described. The CPU 15 reads out the classification information stored in the classification result storage area 26 of the database 18 and the reliability information stored in the reliability storage area 27, selects image data to be combined with the template image data, and displays the image. Which image is to be arranged in each layout area of the template image is determined. Based on this determination, the image data and the template image data are combined to generate image data for display. Note that even when images classified into “blue”, “green”, and “other colors” are used, image data for display is generated by the above-described procedure. In addition, what is necessary is just to replace the image data to be used when using the same template image data.

表示用の画像データが生成されると、CPU15は、ディスプレイ22に表示用の画像データを用いた画像表示を行う。図7に示すように、例えば「赤色」に分類された画像を同時に表示する場合、信頼度の最も高い画像Prが大きく、他の画像Pr〜Prの画像が画像Prよりも小さくディスプレイ22の表示画面22aに表示される。つまり、画像Prが主画像として、画像Pr〜Prが副画像として、それぞれ表示される。なお、この主画像は、表示される画像のうち、信頼度の最も高い画像からなるので、ユーザが意図する色の印象に合致した画像が優先的に表示される。 When the display image data is generated, the CPU 15 displays an image using the display image data on the display 22. As shown in FIG. 7, for example, when simultaneously displaying images classified as “red”, the image Pr 1 having the highest reliability is large, and the images of the other images Pr 2 to Pr 8 are smaller than the image Pr 1. It is displayed on the display screen 22 a of the display 22. That is, the image Pr 1 is displayed as a main image, and the images Pr 2 to Pr 8 are displayed as sub images. Since the main image is the image with the highest reliability among the displayed images, an image that matches the impression of the color intended by the user is preferentially displayed.

「赤色」に分類された画像が同時に表示されてから一定時間経過すると、CPU15は、「緑色」に分類された画像データを用いた表示用の画像データを生成し、新たに生成された表示用の画像データを用いて画像表示を行う。これにより、「緑色」に分類された画像Pg〜Pgが同時に表示される(図8参照)。なお、この場合も、信頼度の高い画像Pgが主画像として、画像Pg〜Pgが副画像として表示される。 When a certain period of time has elapsed since the images classified as “red” are displayed at the same time, the CPU 15 generates image data for display using the image data classified as “green”, and the newly generated image for display is displayed. The image is displayed using the image data. Thereby, the images Pg 1 to Pg 8 classified as “green” are simultaneously displayed (see FIG. 8). Also in this case, the image Pg 1 with high reliability is displayed as the main image, and the images Pg 2 to Pg 8 are displayed as the sub images.

「緑色」に分類された画像Pg〜Pgが同時に表示されてから一定時間が経過すると、「青色」に分類された画像データを用いた表示用の画像データが生成され、ディスプレイ22に「青色」に分類された画像Pb〜Pbが同時に表示される(図9参照)。なお、この場合も、信頼度の高い画像Pbが主画像として、画像Pb〜Pbが副画像として表示される。その後、さらに一定時間が経過すると、「その他の色」に分類された画像データを用いた表示用の画像データが生成され、「その他の色」に分類された画像Po〜Poが同時に表示される(図10参照)。 When a certain time elapses after the images Pg 1 to Pg 8 classified as “green” are displayed at the same time, display image data using the image data classified as “blue” is generated, and “ Images Pb 1 to Pb 8 classified as “blue” are simultaneously displayed (see FIG. 9). Also in this case, the image Pb 1 with high reliability is displayed as the main image, and the images Pb 2 to Pb 8 are displayed as the sub images. Thereafter, when a certain period of time elapses, image data for display using image data classified as “other colors” is generated, and images Po 1 to Po 8 classified as “other colors” are simultaneously displayed. (See FIG. 10).

つまり、ディスプレイ22には、「赤色」→「緑色」→「青色」→「その他の色」→「赤色」→・・・・の順番で画像が表示されていく。なお、二巡目以降の表示については、表示していない画像データのうち、信頼度の高い画像データが用いられる。つまり、一巡目の画像表示においては、信頼度が最も高い画像データから信頼度が8番目に高い画像データが用いられることから、二巡目の画像表示においては、信頼度が9番目に高い画像データから信頼度が16番目に高い画像データが用いられる。   That is, the image is displayed on the display 22 in the order of “red” → “green” → “blue” → “other colors” → “red” →. For the display after the second round, image data with high reliability is used among the image data not displayed. That is, in the first round image display, the image data with the eighth highest reliability is used from the image data with the highest reliability. Therefore, in the second round image display, the image with the ninth highest reliability is used. Image data having the 16th highest reliability from the data is used.

このように、データベース18に格納された画像データを全て用いて画像表示が行われる。なお、他の選定色において画像表示として用いられていない画像データがある場合であっても、選定色によっては、全ての画像データが用いられてしまう場合もあることから、そのような場合には、全ての画像データを用いた選定色における画像表示をスキップして、他の選定色における画像を表示すればよい。この実施例1の場合には、信頼度の高い画像データを用いていくことから、画像表示において、ユーザに違和感を与えずに済むことになる。   Thus, image display is performed using all the image data stored in the database 18. Even if there is image data that is not used for image display in other selected colors, depending on the selected color, all image data may be used. The image display in the selected color using all the image data may be skipped and the image in the other selected color may be displayed. In the case of the first embodiment, since highly reliable image data is used, it is not necessary to give the user a sense of incongruity in the image display.

[実施例2]
実施例2においては、選定色毎に分類された画像データ群のそれぞれから画像データを読み出して、読み出された画像データを用いた画像表示をディスプレイにて行う場合について説明する。
[Example 2]
In the second embodiment, a case will be described in which image data is read from each of image data groups classified for each selected color and image display using the read image data is performed on a display.

図11に示すように、CPU15は、不図示の表示制御プログラムを実行することで、画像選択部61、トリミング処理部62、及び画像合成部63の機能を有する。なお、CPU15の他に、ディスプレイ22の表示制御を行う表示制御部を備えている場合には、表示制御部にこれら機能が設けられる。   As illustrated in FIG. 11, the CPU 15 has functions of an image selection unit 61, a trimming processing unit 62, and an image composition unit 63 by executing a display control program (not shown). In addition to the CPU 15, when a display control unit that performs display control of the display 22 is provided, these functions are provided in the display control unit.

画像選択部61は、データベース18の分類結果格納領域26に格納された分類情報と、信頼度格納領域27に格納された信頼度情報を読み出して、画像表示に用いる画像データを選択する。この実施例2においては、各選択色となる画像データを用いた表示用の画像データを生成し、該表示用の画像データを用いてディスプレイに画像表示することから、「赤色」、「緑色」、「青色」に分類された画像データについては、1個の画像データが選択され、「その他の色」に分類された画像データについては、3個の画像データが選択される。また、選択される画像データは、分類された画像データのうち、分類における信頼度が高い画像データである。   The image selection unit 61 reads out the classification information stored in the classification result storage area 26 of the database 18 and the reliability information stored in the reliability storage area 27 and selects image data used for image display. In the second embodiment, display image data using image data of each selected color is generated, and an image is displayed on the display using the display image data. Therefore, “red”, “green” For image data classified as “blue”, one image data is selected, and for image data classified as “other colors”, three image data are selected. The selected image data is image data with high reliability in classification among the classified image data.

トリミング処理部62は、選択色毎に選択された画像データのそれぞれに対してトリミング処理を行い、切り台し画像データを生成する。例えば選定色毎の画像の一部を均等に表示(以下、6分割表示)させる場合には、ディスプレイ22の表示画面22aを横方向に6分割した1つの領域にそれぞれの画像の一部が表示されるようにトリミング処理を施すことで切り出しデータを生成する。   The trimming processing unit 62 performs a trimming process on each of the image data selected for each selected color, and generates a cut image. For example, in the case where a part of the image for each selected color is displayed evenly (hereinafter, divided into six parts), a part of each image is displayed in one area obtained by dividing the display screen 22a of the display 22 into six parts in the horizontal direction. As described above, the trimming process is performed to generate cut-out data.

また、複数の選定色のいずれかの選定色に分類された画像については画像全体を表示し、他の選定色に分類された画像については画像の一部を表示する場合には、ディスプレイ22の表示画面22aに全体が表示される画像の領域を除いた領域を、横方向に5分割した領域のそれぞれに表示されるようにトリミング処理を施すことで切り出しデータを生成する。   In addition, when an image classified into one of a plurality of selected colors is displayed, the entire image is displayed, and for an image classified into another selected color, a part of the image is displayed. Cutout data is generated by performing trimming processing so that the area excluding the area of the image displayed entirely on the display screen 22a is displayed in each of the areas divided into five in the horizontal direction.

画像合成部63は、トリミング処理部62にて生成された切り出しデータを用いて、表示用の画像データを生成する。   The image composition unit 63 uses the cutout data generated by the trimming processing unit 62 to generate display image data.

以下、ディスプレイ22における表示方法について説明する。CPU15は、データベース18の分類結果格納領域26に格納された分類情報、及び信頼度格納領域27に格納された信頼度情報を読み出して、「赤色」、「緑色」、「青色」に分類された画像データから、最も信頼度の高い画像データを選択する。また、「その他の色」となる画像データについては、信頼度の高い方から順に3個の画像データを選択する。選定色毎に用いる画像データが選択されると、選択された画像データを用いたトリミング処理が実行される。このトリミング処理により生成された切り出しデータを合成することで表示用の画像データが生成される。なお、この切り出しデータの合成の際には、各切り出しデータに対してリサイズ処理が行われる。この表示用画像データを表示すると、図12に示すように、ディスプレイ22の表示画面22aには、分類された画像の6分割表示が行われる。なお、この6分割表示においては、表示画面の左側から例えば「赤色」、「その他の色」、「緑色」、「その他の色」、「青色」、「その他の色」の順で配置される。なお、この配置は、上記に限定される必要はない。   Hereinafter, a display method on the display 22 will be described. The CPU 15 reads out the classification information stored in the classification result storage area 26 of the database 18 and the reliability information stored in the reliability storage area 27 and is classified into “red”, “green”, and “blue”. The image data with the highest reliability is selected from the image data. As for the image data for “other colors”, three pieces of image data are selected in descending order of reliability. When image data to be used for each selected color is selected, a trimming process using the selected image data is executed. Image data for display is generated by combining the cut-out data generated by the trimming process. Note that when the cut-out data is combined, a resize process is performed on each cut-out data. When this display image data is displayed, as shown in FIG. 12, the classified image is divided into six parts on the display screen 22a of the display 22. In this 6-split display, for example, “red”, “other colors”, “green”, “other colors”, “blue”, “other colors” are arranged in this order from the left side of the display screen. . This arrangement need not be limited to the above.

上述した画像表示から一定時間経過すると、6分割表示から「赤色」に分類された画像Prについては画像全体を表示し、他の選択色に分類された画像は、6分割表示よりも狭い幅で表示される。なお、画像の一部の表示から画像全体の表示に切り替わることを拡大表示と称し、画像の幅が6分割表示の際の画像の幅よりも狭くなる表示を縮小表示と称する。なお、6分割にて選定色毎との画像を表示したときに、「緑色」に分類された画像Pg、「青色」に分類された画像Pb、「その他の色」に分類された画像Po〜Poは、「赤色」に分類された画像よりも右方に配置されることから、「赤色」に分類された画像Prが拡大表示されると、残りの画像は、右端に寄った状態の縮小表示となる。 When a certain period of time elapses from the above-described image display, the entire image is displayed for the image Pr 1 classified as “red” from the 6-segment display, and the images classified into other selected colors have a narrower width than the 6-segment display Is displayed. Note that switching from partial display of the image to display of the entire image is referred to as enlarged display, and display in which the width of the image is narrower than the width of the image at the time of six-divided display is referred to as reduced display. In addition, when the image for each selected color is displayed in 6 divisions, the image Pg 1 classified as “green”, the image Pb 1 classified as “blue”, and the image classified as “other colors” Since Po 1 to Po 3 are arranged on the right side of the image classified as “red”, when the image Pr 1 classified as “red” is enlarged and displayed, the remaining images are displayed at the right end. The zoomed-out display is reduced.

図14に示すように、「赤色」に分類された画像Prを拡大表示してから一定時間経過すると、6分割表示に切り替わる。なお、このとき、「赤色」に分類された画像については拡大表示により画像全体を表示していることから、この6分割表示においては、信頼度が2番目に高い画像Prの一部が用いられる。 As shown in FIG. 14, when a predetermined time has elapsed since the image Pr 1 classified as “red” is enlarged and displayed, the display is switched to 6-division display. At this time, since the entire image of the image classified as “red” is displayed in an enlarged display, a part of the image Pr 2 having the second highest reliability is used in the 6-segment display. It is done.

この表示から一定時間が経過すると、「緑色」に分類された画像Pgが拡大表示され、他の選定色の画像が縮小表示される(図15参照)。「赤色」に分類された画像Prと、「その他の色」に分類された画像Poは、「緑色」に分類された画像Pgよりも左方に配置されることから、左端に寄った状態での縮小表示となる。 When a certain time has elapsed from this display, the image Pg 1 classified as “green” is enlarged and displayed, and images of other selected colors are reduced and displayed (see FIG. 15). Since the image Pr 2 classified as “red” and the image Po 1 classified as “other colors” are arranged on the left side of the image Pg 1 classified as “green”, they approach the left end. Reduced display in the selected state.

以下、6分割表示→「青色」に分類された画像Pbの拡大表示→6分割表示→「その他」の画像の拡大表示の順で画像表示が実行されていき、分類された画像が全て拡大表示されるまで上述した画像表示が実行される。なお、拡大表示された画像は、その直後に行われる6分割表示の際に差し替えられる。つまり、拡大表示された画像から、画像表示に用いる画像として選択されていない画像のうち、最も信頼度の高い画像を選択し、拡大表示後の6分割表示の際に選択された画像に差し替える。なお、各選定色の拡大表示の間に、6分割表示を行っているが、6分割表示は必ずしも行われなくてもよい。 Thereafter, image display is executed in the order of 6-segment display → enlarged display of the image Pb 1 classified as “blue” → 6-segment display → enlarged display of the “other” image, and all the classified images are enlarged. The above-described image display is executed until it is displayed. Note that the enlarged image is replaced at the time of 6-division display performed immediately after that. That is, the image with the highest reliability is selected from the images that have been enlarged and displayed as images that are not selected for use in image display, and is replaced with the image that was selected during the 6-division display after the enlarged display. In addition, although the 6-split display is performed between the enlarged display of each selected color, the 6-split display is not necessarily performed.

本実施形態では、画像表示装置としているが、これに限定される必要はなく、本実施形態における構成、又は機能を有するデジタルカメラであってもよい。また、この他に、本実施形態における機能をコンピュータ上で実施することが可能なプログラムや、このプログラムが記憶され、コンピュータにおいて読み取り可能な記憶媒体であってもよい。   In the present embodiment, the image display device is used, but the present invention is not limited to this, and a digital camera having the configuration or function in the present embodiment may be used. In addition, a program that can execute the functions of the present embodiment on a computer, or a storage medium that stores the program and can be read by the computer may be used.

画像表示装置の構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of an image display apparatus. 画像分類部の構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of an image classification part. YCbCr座標を複数の領域に分割した場合の一例を示す図である。It is a figure which shows an example at the time of dividing | segmenting a YCbCr coordinate into a some area | region. Cb・Cr面におけるYCbCr色空間の範囲、及びYCbCr色空間の範囲における色相の範囲の一例を示す図である。It is a figure which shows an example of the range of the hue in the range of the YCbCr color space in the Cb * Cr surface, and the range of the YCbCr color space. 画像を分類する処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process which classifies an image. 選定色毎に複数の画像を表示する場合についてのCPUの構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of CPU about the case where a some image is displayed for every selection color. 「赤色」に分類された画像を複数表示したときの一例を示す図である。It is a figure which shows an example when the image classified into "red" is displayed in multiple numbers. 「緑色」に分類された画像を複数表示したときの一例を示す図である。It is a figure which shows an example when the image classified into "green" is displayed in multiple numbers. 「青色」に分類された画像を複数表示したときの一例を示す図である。It is a figure which shows an example when the image classified into "blue" is displayed in multiple numbers. 「その他の色」に分類された画像を複数表示したときの一例を示す図である。FIG. 10 is a diagram illustrating an example when a plurality of images classified as “other colors” are displayed. 選定色毎に分類された画像を信頼度の高い画像から表示するときのCPUの構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of CPU when displaying the image classified for every selected color from an image with high reliability. 6分割表示の一例を示す図である。It is a figure which shows an example of 6 division display. 「赤色」に分類された画像の拡大表示の一例を示す図である。It is a figure which shows an example of the enlarged display of the image classified into "red". 「赤色」に分類された画像のうち、信頼度が2番目に高い画像を用いた6分割表示の一例を示す図である。It is a figure which shows an example of 6 division | segmentation display using the image with the 2nd highest reliability among the images classified into "red". 「緑色」に分類された画像の拡大表示の一例を示す図である。It is a figure which shows an example of the enlarged display of the image classified into "green".

符号の説明Explanation of symbols

10…画像表示装置、15…CPU、18…データベース、19…画像分類部、22…ディスプレイ、25…画像格納領域、26…分類結果格納領域、27…信頼度格納領域、31…ヒストグラム生成部、32…代表色取得部、33…信頼度算出部、34…画像振分け部、35…色空間テーブル   DESCRIPTION OF SYMBOLS 10 ... Image display apparatus, 15 ... CPU, 18 ... Database, 19 ... Image classification part, 22 ... Display, 25 ... Image storage area, 26 ... Classification result storage area, 27 ... Reliability storage area, 31 ... Histogram generation part, 32 ... representative color acquisition unit, 33 ... reliability calculation unit, 34 ... image distribution unit, 35 ... color space table

Claims (8)

予め選定された選定色を用いて画像を分類する画像分類手段と、
前記画像分類手段によって分類された画像に対して、前記分類における信頼度を算出する信頼度算出手段と、
前記画像分類手段による画像の分類時に同一の分類結果となる画像から、前記信頼度の高い順に画像を複数選択するとともに、前記選択された複数の画像のうち前記信頼度が最も高い画像を主画像として選択する画像選択手段と、
前記画像選択手段により選択された複数の画像を、前記主画像と、該主画像を除いた画像からなる副画像とに分けて同時に表示することが可能な表示手段と、
を備えたことを特徴とする画像表示装置。
Image classification means for classifying images using a preselected selection color;
Reliability calculation means for calculating the reliability in the classification for the images classified by the image classification means;
A plurality of images are selected in descending order of reliability from images having the same classification result when the images are classified by the image classification means, and an image having the highest reliability is selected from the plurality of selected images. Image selection means to select as,
Display means capable of simultaneously displaying a plurality of images selected by the image selection means by dividing them into a main image and a sub-image consisting of images excluding the main image;
An image display device comprising:
予め選定された選定色を用いて画像を分類する画像分類手段と、
前記画像分類手段によって分類された画像に対して、前記分類における信頼度を算出する信頼度算出手段と、
前記画像分類手段により分類された画像のうち、同一の分類結果となる画像を分類結果毎にまとめた複数の画像群のそれぞれから、前記信頼度の高い画像を該信頼度の高い順に選択する画像選択手段と、
前記画像選択手段により分類結果毎に選択された画像を、同時に表示することが可能な表示手段と、
を備えたことを特徴とする画像表示装置。
Image classification means for classifying images using a preselected selection color;
Reliability calculation means for calculating the reliability in the classification for the images classified by the image classification means;
An image in which the images with the highest reliability are selected from the plurality of image groups in which the images with the same classification result are grouped for each classification result among the images classified by the image classification means in order of the reliability. A selection means;
Display means capable of simultaneously displaying images selected for each classification result by the image selection means;
An image display device comprising:
請求項1又は2に記載の画像表示装置において、
前記画像分類手段は、少なくとも2種類以上の前記選定色を用いて画像を分類することを特徴とする画像表示装置。
The image display device according to claim 1 or 2,
The image display device, wherein the image classification means classifies images using at least two or more of the selected colors.
請求項1〜3のいずれか1項に記載の画像表示装置において、
前記信頼度算出手段は、前記選定色となる画素数が画像の全画素数に占める割合を求めることで、前記分類における信頼度を算出することを特徴とする画像表示装置。
The image display device according to any one of claims 1 to 3,
The image display apparatus according to claim 1, wherein the reliability calculation means calculates the reliability in the classification by obtaining a ratio of the number of pixels as the selected color to the total number of pixels of the image.
請求項1〜4のいずれか1項に記載の画像表示装置において、
色空間を複数の領域に分割し、かつ、分割された複数の領域のいずれかに前記選定色が対応付けられた色空間テーブルを備え、
前記画像分類手段は、前記選定色が対応付けられた前記領域に該当する画素数が画像の全画素数に占める割合を求め、該割合が所定の割合を超過するか否かによって画像を分類することを特徴とする画像表示装置。
In the image display device according to any one of claims 1 to 4,
A color space table that divides a color space into a plurality of areas and that associates the selected color with any of the plurality of divided areas;
The image classification means obtains a ratio of the number of pixels corresponding to the region associated with the selected color to the total number of pixels of the image, and classifies the image depending on whether the ratio exceeds a predetermined ratio. An image display device characterized by that.
請求項1〜5のいずれか1項に記載の画像表示装置において、
前記画像分類手段は、画素数が画像の全画素数に占める割合が最も高い分割領域に対応付けられた選定色に基づいて、画像を分類することを特徴とする画像表示装置。
In the image display device according to any one of claims 1 to 5,
The image display device classifies an image based on a selected color associated with a divided region having the highest ratio of the number of pixels to the total number of pixels of the image.
予め選定された選定色を用いて画像を分類する画像分類工程と、
前記画像分類手段によって分類された画像に対して、前記分類における信頼度を算出する信頼度算出工程と、
前記画像分類手段による画像の分類時に同一の分類結果となる画像から、前記信頼度の高い順に画像を複数選択するとともに、前記選択された複数の画像のうち前記信頼度が最も高い画像を主画像として選択する画像選択工程と、
前記画像選択工程により選択された複数の画像を、前記主画像と、該主画像を除いた画像からなる副画像とに分けて同時に表示することが可能な表示工程と、
を備えたことを特徴とする画像表示方法。
An image classification process for classifying images using a preselected selection color;
A reliability calculation step of calculating the reliability in the classification for the images classified by the image classification means;
A plurality of images are selected in descending order of reliability from images having the same classification result when the images are classified by the image classification means, and an image having the highest reliability is selected from the plurality of selected images. An image selection process to select as,
A plurality of images selected by the image selection step, a display step capable of simultaneously displaying the main image and a sub-image composed of images excluding the main image;
An image display method comprising:
予め選定された選定色を用いて画像を分類する画像分類工程と、
前記画像分類工程によって分類された画像に対して、前記分類における信頼度を算出する信頼度算出工程と、
前記画像分類工程により分類された画像のうち、同一の分類結果となる画像を分類結果毎にまとめた複数の画像群のそれぞれから、前記信頼度の高い画像を該信頼度の高い順に選択する画像選択工程と、
前記画像選択工程により分類結果毎に選択された画像を、同時に表示することが可能な表示工程と、
を備えたことを特徴とする画像表示方法。
An image classification process for classifying images using a preselected selection color;
A reliability calculation step of calculating the reliability in the classification for the images classified by the image classification step;
An image in which the images with the highest reliability are selected in the descending order of the reliability from each of a plurality of image groups in which images having the same classification result are grouped for each classification result among the images classified by the image classification step. A selection process;
A display step capable of simultaneously displaying the images selected for each classification result by the image selection step;
An image display method comprising:
JP2008069209A 2008-03-18 2008-03-18 Image display and image display method Withdrawn JP2009225247A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008069209A JP2009225247A (en) 2008-03-18 2008-03-18 Image display and image display method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008069209A JP2009225247A (en) 2008-03-18 2008-03-18 Image display and image display method

Publications (1)

Publication Number Publication Date
JP2009225247A true JP2009225247A (en) 2009-10-01

Family

ID=41241535

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008069209A Withdrawn JP2009225247A (en) 2008-03-18 2008-03-18 Image display and image display method

Country Status (1)

Country Link
JP (1) JP2009225247A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010134608A1 (en) 2009-05-22 2010-11-25 旭化成ケミカルズ株式会社 Automobile lamp accessory
WO2013005266A1 (en) * 2011-07-05 2013-01-10 パナソニック株式会社 Presentation content generation device, presentation content generation method, presentation content generation program and integrated circuit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010134608A1 (en) 2009-05-22 2010-11-25 旭化成ケミカルズ株式会社 Automobile lamp accessory
WO2013005266A1 (en) * 2011-07-05 2013-01-10 パナソニック株式会社 Presentation content generation device, presentation content generation method, presentation content generation program and integrated circuit
JP5214825B1 (en) * 2011-07-05 2013-06-19 パナソニック株式会社 Presentation content generation apparatus, presentation content generation method, presentation content generation program, and integrated circuit

Similar Documents

Publication Publication Date Title
US6927874B1 (en) Image processing method, apparatus and storage medium therefor
US8624922B2 (en) Image composition apparatus, and storage medium with program stored therein
JPH10187936A (en) Image processor
US20160364626A1 (en) Image processing apparatus, image processing method, image processing system, and non-transitory computer readable medium
US11430107B2 (en) Information processing apparatus, information processing method, and non-transitory computer readable medium
JP2007043506A (en) Image processing apparatus, image processing method thereof, program, and storage medium
JP2008131542A (en) Color correction apparatus, and color correction program
JP2006031688A (en) Image processing device, method, and program
WO2006092542A1 (en) Segmentation of digital images
JP4155049B2 (en) Document processing device
JP2009225247A (en) Image display and image display method
JP2006203595A (en) Device for partially replacing color in image color space and color partially replacing system
JP4779743B2 (en) Digital content editing apparatus and program
JP2009171158A (en) Mosaic image generation apparatus, method, and program
JP2004246739A (en) Document processor
JP4998496B2 (en) Image processing apparatus, information processing apparatus, and image reading apparatus
WO2012132039A1 (en) Three-dimensional mosaic image display
JP2007088831A (en) Image correction method and device, as well as program
JP5070116B2 (en) Table data generation apparatus and table data generation method
JP3374650B2 (en) Image color distribution curve approximation system and limited color determination system using this approximation system
JP7197875B1 (en) Program, image processing method and image processing apparatus
US20230148243A1 (en) Data generation apparatus, data generation method, and program
JP2008021224A (en) Image processing program, image processing method and image processor
JP7392341B2 (en) Information processing device and information processing program
JP2018159970A (en) Image processing apparatus, control program and control method

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20110607