IMAGE PROCESSING APPARATUS, IMAGE VIEWING SYSTEM, IMAGE PROCESSING PROGRAM

The image processing device enhances SNS image tagging by recognizing objects and using user search tendencies to add accurate color tags, addressing the issue of incorrect color naming and improving engagement and impressions.

JP7532927B2Active Publication Date: 2024-08-14KONICA MINOLTA INC
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2020101752
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-06-11
Publication Date
2024-08-14
Estimated Expiration
2040-06-11

AI Technical Summary

Technical Problem

Existing image processing devices fail to accurately extract and tag colors in image data for SNS posting, leading to incorrect color naming by users, which hampers impressions and engagement, as they rely on user input or mechanical extraction without considering color frequency or user search tendencies.

Method used

An image processing device that recognizes objects in image data, extracts dominant colors, and generates tags based on user search tendencies, using a reference table and color space analysis to add accurate color tags, ensuring correct color representation and enhancing engagement.

Benefits of technology

The solution increases impressions and engagement by accurately representing image data colors, allowing users to view relevant images regardless of incorrect color selection, thus improving information dissemination.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007532927000023
    Figure 0007532927000023
  • Figure 0007532927000015
    Figure 0007532927000015
  • Figure 0007532927000010
    Figure 0007532927000010
Patent Text Reader

Abstract

To provide an image processing apparatus which, when a service user retrieves image data with retrieval conditions based on color selection from a palette, allows a large number of service users to browse the image data.SOLUTION: An image processing method comprises a step S102 of separating, from image data, an object which may indicate an object attracting attention of a service user, a step S104 of generating a saturation histogram of color used by pixels forming the object, a step S105 of extracting color most frequently existing in the histogram (extracted color), a step S107 of determining color which is not used in the pixels constituting the separated object, but which the service user most probably uses for retrieval (extended color), and a step S108 of generating a first color tag indicating the extracted color and a second color tag indicting the extended color to add them to the image data for use in uploading.SELECTED DRAWING: Figure 11
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present disclosure relates to an image processing device that extracts colors used in pixels of image data, and in particular to improvements when posting image data to a social networking service (SNS). [Background technology]

[0002] Social networking sites are used for a variety of purposes, from personal hobbies to corporate marketing and government public relations activities. Social networking site users perform text and image searches to find the image data they want to see. The number of times an image appears on a service user's browser as a result of such searches is called an "impression." The number of times a service user takes an active action, such as looking closely at and enlarging the image data, visiting the poster's page, or clicking the "Like" icon, is called "engagement." Increasing these impressions and engagement is one key to spreading information. Posters who wish to spread information can increase impressions and engagement by creating a text string that describes the characteristics of the image they wish to post and uploading the image data along with this text string to the SNS service's server. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Japanese Patent Application Laid-Open No. 2001-166908 [Patent Document 2] Japanese Patent Application Publication No. 2019-159526 Summary of the Invention [Problem to be solved by the invention]

[0004] Recently, there has been a growing interest in search engines that can perform color searches. In such color searches, a palette of color samples is displayed in the browser, and the service user is asked to select the color they want to see. Once a color is selected from the palette, image data is searched using the selected color as a search criterion. This is because color is one of the design elements, along with shape and pattern, and there are quite a few service users who use this as a clue when selecting products to purchase.

[0005] In this color search, a color selected from a palette is specified as a search criterion. To ensure that image data is seen by many service users, a text string indicating the correct color name from a color sample must be uploaded to the SNS service along with the image data. However, traditional Japanese and Western color classifications are diverse, and there is no guarantee that average service users without knowledge of fashion, design, or art will enter color names according to these classifications. Even if a user creates a text string indicating a color name based on incorrect knowledge and uploads the image data to the SNS server, impressions and engagement will not increase. Furthermore, there is no guarantee that the service users conducting the search will correctly select a color according to the traditional Japanese and Western color classifications. The synergistic effect of errors by the person posting the image data and the service users conducting the search results in a situation where the posted image data does not increase impressions and engagement.

[0006] It is possible to use an image processing device to mechanically extract colors and generate text strings. However, there is no guarantee that distinctive colors will occupy a large area of ​​the image data. If the image processing device mechanically extracts pixel colors and generates text strings indicating the names of the extracted colors, the characteristics of the objects appearing in the image data will not be expressed in the text strings. Even if such a posting text string is created and the image data is uploaded to a social networking site server, impressions and engagement will not increase.

[0007] The object of the present disclosure is to provide an image processing device that allows many service users to view image data when the service user searches for image data using search criteria such as selecting a color from a palette in an image viewing system. [Means for solving the problem]

[0008] The above problem is solved by an image processing device that supports the search of image data in an image viewing service, comprising: a recognition means that recognizes parts of image data that are said to represent an object; an extraction means that extracts the colors used in the pixels that make up the recognized parts; a determination means that determines colors that were not extracted from the parts but that service users may use in searches based on the search trends of the service users when conducting searches; and an addition means that generates a first tag indicating the color extracted by the extraction means and a second tag indicating the color determined by the determination means, and adds them to the image data as search tags.

[0009] The color extracted by the extraction means may be the color that appears most frequently in the pixels of the part of the object, or the color that appears at a predetermined rank or higher when multiple colors are arranged in the order indicated by the frequency of appearance.

[0010] The search tendency of the service user is a tendency to select colors that are recognized as colors of objects as search criteria, and the determination means has a reference table that indicates colors that are generally recognized as colors that represent each of multiple types of real objects, and colors that correspond to the identified type of object and are listed in the reference table may be colors that the service user may use in searches.

[0011] The search tendency of the service user is a tendency to select colors close to the colors that make up the gradation of the object as search criteria, and the determination means generates a set of colors consisting of colors located on the surface and inside of a sphere that has the color space coordinates of the color extracted by the extraction means as its center coordinates and has the gradation of the part as its diameter, and the colors that may be used in the search may be colors included in the set of colors generated.

[0012] The search tendency of the service user is a tendency to select, as a search condition, colors that are close to the colors that form the frequency distribution in the part representing the object, and the determination means executes a process (1) to determine a first convergence color and a second convergence color that become the convergence points when the frequency in the frequency distribution converges to a predetermined value, and a process (2) to generate a set of colors located on the surface of a cylinder whose central axis is a three-dimensional line that passes through the color space coordinates of the color extracted by the extraction means, the color space coordinates of the first convergence point, and the color space coordinates of the second convergence point, and whose diameter is a predetermined offset, and the colors that may be used in the search may be colors included in the set of colors that have been generated.

[0013] The search tendency of the service user is a tendency to select, as a search condition, colors with higher saturation and / or brightness than the colors used in the part representing the object, and the determination means includes a process (1) of defining a subspace in the HSV color space in which the colors used in the pixels that make up the recognized part are distributed, and a process (2) of generating a set of colors located outside the subspace in the HSV color space where the saturation or brightness is high, and the colors that may be used in the search may be colors included in the set of colors.

[0014] The adding means may generate the first tag and the second tag when the distance between the color space coordinates of the color extracted by the extracting means and the color space coordinates of the color determined by the determining means exceeds a predetermined threshold.

[0015] If the distance between the color space coordinates of the color extracted by the extraction means and the color space coordinates of the color determined by the determination means is below a predetermined threshold, the addition means generates a single tag to be added to the image data, and the single tag may indicate either an intermediate color between the color extracted by the extraction means and the color determined by the determination means, a group of colors including the color extracted by the extraction means and the color determined by the determination means, the color extracted by the extraction means itself, or the color determined by the determination means itself.

[0016] The recognition means may determine whether the image data is a photograph or depiction of a real object, and the determination means may determine the colors that may be used in the search if it is determined that the image data is a photograph or depiction of a real object.

[0017] The recognition means may determine whether the histogram showing the color frequency has a spread of a predetermined width or more, and if it does, determine that a certain portion in the image data is a photograph or depiction of a real object.

[0018] The recognition means may include training data corresponding to each of a plurality of types of real objects, and the training data is data defining a separation plane that separates a point group of feature values ​​that represent a real object of the corresponding type from a point group of feature values ​​that do not represent a real object of the corresponding type. The recognition means may calculate a feature value from a portion of the image data that is said to represent the object, and apply the feature value to the training data corresponding to each type, thereby determining whether a portion of the image data is a photograph or depiction of a real object.

[0019] The recognition means may perform a process of extracting edge pixels from among pixels constituting the image data, and the portion representing the object may be made up of a group of pixels surrounded by the edge pixels.

[0020] A process may be performed to separate areas occupied by pixels of similar colors from the image data, and the portion representing the object may be made up of pixels in the separated areas that are determined to be of similar colors.

[0021] The aforementioned Object The color of a pixel is represented by an R value, a G value, and a B value, and the R value, G value, and B value may indicate which of the subspaces obtained by equally dividing the RGB color space the pixel belongs to.

[0022] The above problem can also be solved by an image viewing system that includes an image processing device and in which a server performs a search based on search conditions set by a terminal, recognizes from image data an area that is said to represent an object, extracts the colors used in the pixels that make up the recognized area, determines colors that were not extracted from the area but that a service user may use in a search based on the search trends of the service user when conducting a search, generates a first tag indicating the extracted color and a second tag indicating the determined color, and adds them to the image data as search tags.

[0023] Here, the terminal may display a palette and accept the service user's selection of a color from the palette as a search condition, and the server may cause the terminal to display a search result screen including image data to which a first tag that matches the search condition has been added and / or image data to which a second tag that matches the search condition has been added.

[0024] The first tag may be a first hashtag and the second tag may be a second hashtag, and when a list screen including the first hashtag and / or the second hashtag is displayed on a terminal and a service user selects the hashtag, other image data to which the same first hashtag and / or second hashtag has been added may be displayed on the terminal.

[0025] The above problem can also be solved by an image processing program that causes a computer to execute a process to assist in searching image data in an image viewing service, the image processing program comprising: a recognition step of recognizing from image data a part that is said to represent an object; an extraction step of extracting the colors used in the pixels that make up the recognized part; a determination step of determining colors that were not extracted from the part but that the service user may use in searches based on the search trends of the service user when conducting a search; and an addition step of generating a first tag indicating the color extracted by the extraction step and a second tag indicating the color determined by the determination step, and adding them to the image data as search tags.

[0026] Furthermore, the above problem can also be solved by an image processing method that supports searching for image data in an image viewing service, the image processing method including: a recognition step that recognizes from image data a part that is said to represent an object; an extraction step that extracts the colors used in the pixels that make up the recognized part; a determination step that determines colors that were not extracted from the part but that the service user may use in searches based on the search trends of the service user when conducting a search; and an addition step that generates a first tag indicating the color extracted by the extraction step and a second tag indicating the color determined by the determination step, and adds them to the image data as search tags. [Effects of the Invention]

[0027] The system recognizes from the image data a part that is believed to represent the object that the service user is paying attention to, extracts the color used in the pixels that make up the recognized part, and adds a first tag indicating the extracted color to the image data. Therefore, even if something other than the object that the service user is paying attention to is reflected in the image data, the color of the object can be automatically extracted and the color used for that object can be indicated in the first tag.

[0028] Colors that are not used in the pixels that make up the recognized part but that service users may use in searches are determined based on the search trends of the service users, and a second tag indicating the determined color is added to the image data. Therefore, even if there are tens of thousands of service users who use the image viewing service and a certain percentage of them perform searches using an incorrect color name, the image data with the first and second tags added can be viewed by a certain percentage of those service users. Since the image data with the first and second tags added can be viewed by both service users who performed searches using the color used in the object and service users who performed searches using an incorrect color name, it is possible to increase impressions and engagement of the image data and efficiently disseminate information about objects with distinctive colors. [Brief explanation of the drawings]

[0029] [Figure 1] 1 is a diagram showing an image viewing system 1 including an image processing device 2000 according to the present disclosure. [Figure 2] 2(a) and (b) show an example of a search screen that allows color selection by clicking a pull-down menu and drawing out a palette 1011P. [Figure 3] An example of a search result screen displayed on the terminal 1011 is shown. [Figure 4] 2 shows the control system of the image processing device 2000. [Figure 5] An example of color sample data in which the RGB values ​​of an image are associated with color names and color codes is shown below. [Figure 6] 10 shows an example of learning data corresponding to each of a plurality of types of subjects. [Figure 7] FIG. 10 is a diagram showing HOG (Histogram Oriented of Gradient) features. [Figure 8] 1 shows a scatter plot in which multiple feature values ​​are plotted. [Figure 9] An example of a setting screen displayed on the display device 2001 during the process of learning the type of subject is shown. [Figure 10]1 shows an example of an extended color table. [Figure 11] 10 is a flowchart showing a main routine of a tag generation procedure. [Figure 12] FIG. 12(a) is a flowchart showing a separation procedure for separating objects, and FIG. 12(b) is a flowchart showing a determination procedure for determining extended colors. [Figure 13] FIG. 13(a) is a diagram showing the process of edge extraction, and FIG. 13(b) is a diagram showing the process of hue separation. [Figure 14] This shows the process by which extracted and extended colors are determined from an object. [Figure 15] 10 is a flowchart of a procedure for determining an extended color. [Figure 16] FIG. 10 illustrates the process of determining an extended color from a sphere. [Figure 17] 10 is a flowchart of a procedure for determining an extended color. [Figure 18] Illustrates the process of determining the extended color from a cylinder. [Figure 19] 10 is a flowchart of a procedure for determining an extended color. [Figure 20] 10A and 10B are diagrams illustrating a process of determining an extended color with emphasized lightness and saturation. [Figure 21] 10 is a flowchart showing a procedure for generating a tag according to the distance between color coordinates. [Figure 22] 22(a) and 22(b) show the process of switching between generating a single tag and generating multiple tags depending on the distance between color coordinates. [Figure 23] 10(a) to 10(c) are diagrams showing color space coordinate representations using serial numbers. DETAILED DESCRIPTION OF THE INVENTION

[0030] [1] First embodiment Hereinafter, an embodiment of an image processing device according to the present disclosure will be described with reference to the drawings. Fig. 1 is a diagram showing an image browsing system 1 including an image processing device 2000 according to the present disclosure. As shown in Fig. 1, the image browsing system 1 includes an MFP 1000, terminals 1011, 1012, 1013, and 1014, the image processing device 2000, and an SNS server 3000 (including a storage 3001 and a search engine 3002).

[0031] The MFP (Multifunction Peripheral) 1000 feeds documents one by one from a stack placed on the platform of an automatic document feeder 1006, which is integrated with a document holder cover 1005. The document is scanned by a scanner 1004 in response to operations on a touch panel display 1001, thereby obtaining image data corresponding to each document. The image data represents an image using an RGB color mixture system. The image data is transferred and stored in file formats such as JPEG, TIFF, PDF, and compact PDF. In image data displayed on a web page, each pixel is assigned an RGB value with 24 bits of information. The RGB values ​​represent various colors through an additive mixture of an R value with 256 levels (0-255), a G value with 256 levels (0-255), and a B value with 256 levels (0-255). These R, B, and G values ​​form three-dimensional coordinates in the color space of the RGB color mixture system (commonly referred to as the RGB color space).

[0032] The image processing device 2000 imports image data scanned by the MFP 1000 and image data stored in the file server 1100, adds appropriate tags, and uploads the data to the storage of the SNS server 3000. A tag is a text string associated with an image data file and transferred and stored together with the image data file. There are various types of tags, such as those included in the attribute information or file management information of the image data file, those stored in the link information of the image data file, and those stored in the same directory as the image data file. There is a character limit (e.g., 200 characters or less) for a single text string posting, and within this character limit, a person posting an image (hereinafter referred to as the "poster") can add two or more tags to image data.

[0033] The SNS server 3000 accepts the posting of image data via a public network 3010 and provides a viewing service for the posted image data to the terminals 1011, 1012, 1013, and 1014. In providing the image viewing service, screen data for various screens such as a login screen, a start screen, a search condition setting screen, and a search result display screen is created and transmitted to the terminals 1011 to 1014 operated by users of the SNS service for display.

[0034] An operating system is installed on the terminals 1011, 1012, 1013, and 1014, and by launching a browser on the operating system, various screens provided by the SNS server 3000 are displayed on their own displays. An example of a search condition setting screen displayed on the browser is shown in FIG. 2(a). On the search screen of FIG. 2(a), a color can be selected by clicking the pull-down menu and pulling out a palette 1011P. When a color is selected in the palette 1011P, a text string indicating the color name of one or more colors selected from the palette (pink in the figure) is entered into the search field 1011B, as shown in FIG. 2(b). As a result, a search command using "pink" as a keyword is output to the SNS server 3000.

[0035] Storage 3001 is made up of multiple network drives under the control of the administrator of image viewing system 1. Storage 3001 has a directory for each account. Each time a poster with a corresponding account posts, a subdirectory is created in the directory for each account. The subdirectory is a posting area corresponding to the poster's first posting, and image data and text strings uploaded by the poster are stored together in this posting area.

[0036] The search engine 3002 is one of the service providing programs launched by the SNS server 3000, and when a search command including search conditions is sent from the browser of a terminal 1011 to 1014, it searches whether image data tagged with the search conditions is stored in the storage 3001.

[0037] In a search using search engine 3002, it is possible to specify AND and OR searches targeting two or more colors, and the AND condition will return image data posted with tags indicating two or more colors attached. The OR condition will return image data posted with any of the tags indicating two or more colors attached.

[0038] If image data with a matching tag exists in storage 3001, a search result screen is created and displayed on the requesting terminal. An example of search result screen 1011F is shown in Figure 3. As shown in this figure, the search result screen displays a list of multiple thumbnails 1021, 1022, 1023, 1024, 1025, etc. of image data that match the search criteria, and when one of the thumbnails is clicked, the clicked thumbnail is enlarged and displayed.

[0039] Search engine 3002 also performs a list display function in response to clicking on a hashtag. A hashtag is a character string beginning with a hash mark "#." When a search result screen is displayed on the browser of terminal 1011 and an SNS user who is viewing the screen clicks on the hashtag, SNS server 3000 reads multiple image data with the same hashtag from storage 3001 and displays them on the browsers of terminals 1011 to 1014.

[0040] [2] Image Processing Device 2000 The control system of the image processing device 2000 is shown in Figure 4. As shown in Figure 4, the image processing device 2000 includes a storage 201, which is an HDD or SSD on which an operating system (OS) 201S and a tagging application 201A are installed, an OS 201S installed on the storage 201, a RAM 202 into which the tagging application 201A is loaded, the OS 201S, a CPU 203 that extracts, decodes, and executes executable code constituting the tagging application 201A, a non-volatile memory 204 that stores various settings for the operation of the tagging application 201A, a NIC 205 that inputs and outputs data to and from the MFP 1000 and the SNS server 3000, and a peripheral port 206, and performs input and output of image data through the NIC. During this input and output, image data obtained by reading from the automatic document feeder 1006 of the MFP 1000 is imported and written to the storage 201. The CPU 203 also uploads the image data written to the storage 201 to the SNS server 3000.

[0041] Color sample data is stored in the non-volatile memory 204. As shown in FIG. 5, the color sample data is data in which color names and color codes are associated with the RGB values ​​of an image. Color names are text strings defined as color names in color sample categories such as primary colors, Japanese colors, Western colors, web216, pastel colors, vivid colors, monotone, and metro colors. Color codes are text strings that represent 3-byte hexadecimal values. Tags added to image data are created using the text strings and color codes written in the color sample.

[0042] [3] Control contents by tagging application 201A The tagging application 201A installed in the storage 201 performs image processing on the image data read into the RAM 202 and generates a color tag to be added to the image data using the color name or color code written in the color sample data. A color tag is a hash tag that enables image data to be searched by selecting a color from a palette, and is structured by adding a hash mark to a text string indicating the color name or color code.

[0043] (3-1) Pre-processing of tag generation Before generating tags, pre-processing must be performed, which involves supervised learning of the subject shown in the image data. Supervised learning is achieved through interactive operations using a display device 2001, a character device 2002, and a pointing device 2003.

[0044] In supervised learning, features are extracted from image data samples, and the types of subjects shown in the image data are set, and a recognition dictionary is constructed to recognize the types of subjects shown in the image data. The recognition dictionary consists of training data corresponding to multiple subject types, as shown in Figure 6. In the example in Figure 6, the data is formatted to correspond to types of real objects such as roses, pomegranates, azaleas, and maidenhair camellias, with data on discriminant functions F1, F2, F3, F4, F5, etc., which define the hyperplane of a hard-margin support vector machine (SVM).

[0045] As the feature, it is desirable to use one that has a proven track record in the field of machine learning, such as HOG (Histogram Oriented of Gradient) feature as shown in FIG.

[0046] The HOG features in this figure are calculated by dividing the number of line segments found within an 8x8 pixel area into nine gradient directions (0°, 20°, 40°, 60°, 80°, 100°, 120°, 140°, and 160°) and tallying them. The scatter plot in Figure 8 is obtained by extracting features from a large number of image data samples. In the scatter plot in Figure 8, feature values ​​2011, 2012, 2013, 2014, and 2015, and feature values ​​2021, 2022, 2023, 2024, and 2025 obtained from multiple image data samples are plotted on a two-dimensional plane.

[0047] The discriminant function for the training data shown in Fig. 6 defines a hyperplane 2030 that separates the features plotted on the scatter plot into two point clouds 2010 and 2020. The hyperplane 2030 in Fig. 8 determined by the discriminant function separates the features extracted from image data read by the automatic document feeder 1006 and the scanner 1004 into a point cloud 2010 consisting of feature clouds 2011, 2012, 2013, 2014, and 2015 obtained from multiple samples of image data, and a point cloud 2020 consisting of feature clouds 2021, 2022, 2023, 2024, and 2025 that do not represent a corresponding type. This separation makes it possible to identify the type of image data read by the scanner 1004.

[0048] FIG. 9 shows an example of a setting screen displayed on the display device 2001 during the object type learning process. The setting screen displays a window 400 containing a sample of image data from which features are to be extracted. Next to the window 400, an input field 401 is provided for accepting input of a text string. The text string entered in this input field is stored in the non-volatile memory 204 as a type of the object appearing in the sample. A distinctive feature of the setting screen in FIG. 9 is the presence of a palette 402 below the input field 401, which allows the user to specify one of multiple colors displayed in the palette 402. When a color displayed in the palette 402 is selected using the pointing device 2003, the selected color is treated as an extended color, and a table (the extended color table in FIG. 10 ) that associates the selected color with the object type is written to the non-volatile memory 204. The extended color table, as shown in FIG. 10 , associates extended colors with real object types, such as roses, pomegranates, azaleas, and camellias. Most people who have no knowledge of design or art remember the colors of subjects by linking them to their impressions of the subject. This association is based on the preconceived notion that sunsets are red and apples are red (pseudo-memories). When a search is performed relying on such pseudo-memories, images tagged with extracted colors are not found. Although apples and sunsets are recognized as "red," they are not actually depicted with red pixels in actual photographs of apples or sunsets. This is because red pixels are not extracted from images of apples or sunsets, and even if they are extracted, the number is small. Therefore, an extended color table is provided to select colors that are linked to pseudo-memories as targets for tagging.

[0049] (3-2) Main routine for tag generation The tagging application 201A generates tags for each piece of image data read by the automatic document feeder 1006 and the scanner 1004 of the MFP 1000. This generation procedure is shown in the flowchart of FIG. 11. In this figure, the variable max1 indicates the number of sheets of image data read by the automatic document feeder 1006, and the variable i indicates each of the multiple image data read by the automatic document feeder 1006, and varies from 1 to max1. The variable max2 indicates the total number of objects separated from the i-th image data, and the variable j indicates each of the multiple objects extracted from the i-th image data, and varies from 1 to max2.

[0050] In step S101, variable i is set to 1, and in step S102, one or more objects are separated from image data i. Here, an object refers to a group of pixels representing a real object, and is made up of a group of pixels that have some kind of grouping, such as a group of pixels that together form a gradation of light and dark or are unified by similar colors. Next, variable j is set to 1 (step S103), and a saturation histogram of the jth object (object j) is generated (step S104). Specifically, the RGB values ​​of each pixel that makes up the object are converted to HSV values ​​(consisting of an H value for hue, an S value for saturation, and a V value for brightness), and the number of pixels that have the same saturation is counted. In this way, a saturation histogram showing the frequency of occurrence of each saturation is obtained.

[0051] The pixel color with the highest frequency in the saturation histogram is then converted from HSV to RGB values, and the color identified by the converted RGB values ​​is extracted as the extracted color (step S105). In step S106, it is determined whether the spread of the saturation histogram exceeds the object reference. The object reference here is an empirically established value for distinguishing whether an object is a subject obtained by photographing a real object, and is set to approximately 4 to 8 colors. Subjects obtained by photographing a real object have complex color tones and gradations due to the illumination and reflection of ambient light. However, diagrams, illustrations, etc. created with a word processing application do not have complex color tones and gradations. Therefore, the spread of the saturation histogram is compared with the object reference to distinguish whether the object is a subject obtained by photographing a real object. Furthermore, similar objects (such as objects in paintings depicted using natural painting techniques) that are not photographed are also judged in the same way as subjects. This is because such depicted objects should be treated the same as subjects.

[0052] If the distribution spread in the saturation histogram exceeds the subject standard and gradation is present (Yes in step S106), an extended color is determined (step S107), and a first color tag indicating the extracted color and a second color tag indicating the extended color are added to the image data i (step S108).

[0053] If the saturation histogram does not have a wide distribution and no gradation exists (No in step S106), a color tag indicating the extracted color is added to the image data i (step S109).

[0054] Step S110 is a determination as to whether the loop continuation requirement is met. If the variable j indicating the object is less than the total number of objects max2 (Yes in step S110), the variable j is incremented (step S111) and the process returns to step S104. Steps S104 to S111 continue to be repeated as long as the variable j is less than the total number of objects max2. This allows each object on page j to be processed.

[0055] When the variable j reaches the total number of objects max2 and processing of all objects is complete, step S110, which specifies the continuation requirement, becomes No. Step S112 determines whether the continuation requirement for the loop of steps S102 to S111 is met. If the variable i indicating the image data is less than the total number of image data max1 (Yes in step S112), variable i is incremented (step S113) and processing returns to step S102. As long as variable i is less than the total number of image data max1, steps S102 to S113 continue to be repeated. In this way, each image data is subjected to processing. When the variable i reaches the total number of image data max1 and processing of all image data is complete, step S112, which specifies the termination requirement, becomes No, and processing of this flowchart ends.

[0056] (3-3) Object separation procedure Step S102 is made into a subroutine. Fig. 12(a) is a flowchart showing the separation procedure for separating objects.

[0057] In this flowchart, a differential filter is applied in step S121 to extract edges. The image obtained by applying the differential filter (differential image) is a picture with fragmented bright lines arranged on a black background. The fragmented bright lines indicate areas where the gradation and hue are not continuous and where the RGB values ​​change suddenly. The pixel strings that appear as bright lines in the differential image are called "edges" and fragmentarily represent the contours of objects.

[0058] Next, the object is separated using the edges as clues. Specifically, in step S122, pixels that make up the edges are connected to each other in eight directions, including up, down, left, and right, to extract closed loops. This process will be explained in detail.

[0059] An arbitrary point on an edge is stored as the starting point, and a determination is made as to whether it is adjacent to other edges in any of the eight directions. Even if there are pixel-free areas between edges, they are ignored as long as the pixel-free areas are 10% or less in size relative to the edge. The idea is to prioritize the reproduction of the object. By tracing multiple edges while ignoring pixel gaps, it is determined whether the edge trajectory reaches the starting point.

[0060] If the edge locus returns to the starting point, it means that the fragmented edges form a closed loop and enclose one area. In this case, the edges are considered to form the outline of the object, so in step S123, the area enclosed by such edges is separated as an object.

[0061] Furthermore, feature amounts are extracted from the object (step S124), and the extracted feature amounts are applied to the learning data obtained by machine learning to recognize the type of subject appearing in the object (step S125). After that, a serial number is assigned to the object, and it is registered in association with its coordinates in the coordinate system (step S126), and one or more registered objects are returned.

[0062] (3-4) Deciding on the extended color The flowchart in FIG. 12(b) shows the details of the procedure for determining the extended color in step S108.

[0063] In this flowchart, the system determines extended colors taking into account the search trends of SNS users. Specifically, since service users who are SNS users tend to select colors that are recognized as the color of the subject as search criteria, it is determined whether an extended color corresponding to the recognized type exists in the extended color table (step S131). If an extended color exists (Yes in step S131), the system returns the extended color listed in the extended color table to the main routine (step S132). If a corresponding extended color does not exist in the extended color table (No in step S131), it returns a message to the main routine that an extended color has not been determined (step S133).

[0064] If image data i is scanned image 301 in Figure 13(a), edges 511, 512, 513, and 514 are extracted, and of the regions 1, 2, 3, 4, and 5 surrounded by these continuous edges, region 1 is designated as object j. If a histogram is generated for object j, it will look like histogram 521 in Figure 14. In this histogram 521, the color with the highest frequency 522 (maiden color in the figure) is the extracted color.

[0065] The referenced extended color table 314 shows real objects such as roses, pomegranates, azaleas, camellias, and sunsets, corresponding to the colors of those objects as recognized by the general public as extended colors. If a flower object is recognized using the authentication dictionary and one of the types listed in the extended color table (camellia) is obtained, pink is obtained as the extended color corresponding to the camellia. A hash mark "#" is added to the beginning of the color names of these extracted and extended colors to generate color tags. The image data, along with the color tags, is uploaded to storage 3001 of SNS server 3000 and made available for viewing by SNS users on terminals 1011-1014.

[0066] [4] Summary As described above, according to this embodiment, objects, which are groups of pixels that are said to represent subjects of interest to SNS users, are recognized using learning data obtained during the machine learning process, and a first color tag indicating the color used in the pixels that make up the recognized object is added to the image data to be uploaded. Therefore, even if something other than the object of interest to the SNS user is reflected in the image data, the color of the object can be automatically extracted and the color used for the object can be indicated in the first color tag. Because the tag faithfully represents the color of the actual object appearing in the image data, SNS users who correctly select the color of the object and perform a color search can view the image data.

[0067] Further, an extended color is determined from the type of the separated object, and a second color tag to be added to the image data is generated from this extended color.

[0068] At any given time, there are tens of thousands of social media users worldwide using image browsing systems. Even if a certain percentage of them do not accurately remember the color of the subject appearing in image data and perform a search using what they recognize as the color of the subject, the image data they posted will appear in the search results display screen of social media users who perform color searches using their assumed colors. This increases impressions and engagement for the posted image data. Color tags indicating the extracted color and the expanded color are generated and posted to the social media server along with the image data, so when the same color tag is clicked, the posted image data will be displayed in the browser. Since the image data is presented to both social media users who clicked the color tag by correctly remembering the color of the real object and social media users who clicked the color tag based on a vague memory of the real object, impressions and engagement can be increased.

[0069] [5] Second embodiment In the first embodiment, the object is separated, and the type of the object is clarified using learning data. The extended color of the object is then determined by reading the extended color corresponding to the type from the extended color table. In contrast, in the second embodiment, the extended color is determined based on the search tendency of SNS users, who tend to select colors close to the color gradation of the subject as a search condition.

[0070] (5-1) Procedure for determining extended colors In order to determine the extended color from the gradation spread of the object, in the second embodiment, the extended color is determined by the procedure shown in Fig. 15. Fig. 15 is a flowchart of the determination procedure for determining the extended color, and is executed in place of Fig. 12(b).

[0071] In step S141, the spread of the gradation of the pixel shown in the saturation histogram is defined as D, the half value of D is defined as r, and the coordinates of the extracted color in the RGB color space are defined as C. E =(R E , G E , B E) and color C satisfies the following formula 1. X =(R X , G X , B X ) is obtained (step S141).

[0072]

number

[0073] The extended color determined in step S141 of FIG. 12 is as shown in FIG. 16. That is, in the RGB color space, the extracted color C E coordinates (R E , G E , B E ) and having a radius r, or the coordinates inside the sphere 601.

[0074] The color sets located on the sphere surface and inside the sphere may contain the colors of pixels that make up the object. To eliminate this possibility, the process of step S142 is executed. Specifically, a difference set is calculated by excluding the set elements of the color set that makes up the object's pixels from the color sets located on the sphere surface and inside the sphere that satisfy the formula (1), and an extended color is determined from this difference set. The difference set can be created, for example, by using the set-type and frozenset-type difference methods in the programming language Python. The extended color calculated in this way is returned to the main routine (step S143).

[0075] (5-2) Summary When a pixel object is a photograph of a real subject, the spread D of the saturation histogram indicates the number of gradations in the real subject. This number of gradations is considered to be the diameter of a sphere, and the extended color is determined from the set of colors located on the surface and inside the sphere. Therefore, even if a social media user who only vaguely remembers the number of gradations performs a color search relying on their vague memory, the image data they posted will be found.

[0076] [6] Third embodiment In the second embodiment, the extended colors are determined based on the range of gradations shown in the saturation histogram and the extracted colors. In contrast, in the third embodiment, the extended colors are determined based on the search tendency of SNS users, who tend to select colors that are close to multiple colors that have a high frequency in the area representing the subject.

[0077] (6-1) Procedure for determining extended colors In order to determine the extended color from the number of gradations of the object, in the third embodiment, the extended color is determined by the procedure shown in Fig. 17. Fig. 17 is a flowchart of the determination procedure for determining the extended color, and is executed in place of Fig. 12(b).

[0078] The first and second convergent colors are determined as colors whose frequency is the dominant reference (step S151). The dominant reference value is a value that is a predetermined percentage (for example, 10%) of the maximum frequency shown in the saturation histogram. Pixel colors with frequencies in the top 10% are colors that form the dominant color scheme in the object and are used to clarify the color scheme of the subject. By converging the frequencies shown in the saturation histogram to this dominant reference value, colors with low frequencies are ignored when determining the extended colors.

[0079] Next, a vector (p, q, r) is obtained from the color space coordinates of the first convergent color to the color space coordinates of the second convergent color, and by combining this vector (p, q, r) with the coordinates (a, b, c) of the extracted color, a convergence line (R, G, B) = (a, b, c) + t(p, q, r), which is a three-dimensional line passing through the coordinates of the extracted color and the first and second convergent colors, is obtained (step S152).

[0080] If the position vector of the foot H when a perpendicular line is dropped from the extended color point Cx to the convergence line in the RGB color space is H=(a+pt,b+qt,c+rt), then Color C that satisfies the requirements i) and ii) of the following number 2 X coordinates (R X , G X , B X ) is obtained (step S153).

[0081]

number

[0082] The extended color determined in step S153 is as shown in FIG. 18, and exists on the circumferential surface of a cylinder 702 having a radius Δd and a central axis of a convergent line 701. The color set located on the circumferential surface of the cylinder may contain the colors of pixels that make up the object. To eliminate this possibility, the process of step S154 is executed. Specifically, a difference set is found by excluding the set elements of the color set that makes up the object's pixels from the color set located on the circumferential surface of the cylinder that satisfies i) and ii), and an extended color is determined from this difference set, and the process returns to the main routine (step S155).

[0083] The radius Δd is a value that separates two to five colors in the RGB color space, and the set of colors that occupy the surface of a cylinder that occupies this radius is considered to be the extended color, so it is possible to add to the image data a tag that represents a color that is as close as possible to a color that has a high frequency in the saturation histogram.By using the surface of the cylinder with the convergence line as the central axis as the coordinate of the extended color, the image data posted by a social media user will be found even if they do not correctly remember the gradation of the object and select the wrong color in their search criteria.

[0084] (6-2) Summary As described above, according to this embodiment, a three-dimensional line is defined from the color space coordinates of colors that converge to a certain frequency, and the extended color is determined from the area occupied by the circumferential surface of a cylinder whose axis is this three-dimensional line. Therefore, a color close to the dominant color in the color scheme of the object can be selected as the extended color.

[0085] There are tens of thousands of social media users around the world who use image browsing systems, and a certain percentage of them have a vague memory of the tonal changes of the subject. Based on that memory, even if they select a color from the palette that is close to the extracted color and perform a search, the image data they posted will be found. This will increase the impressions and engagement of the posted image data.

[0086] [7] Fourth embodiment In the third embodiment, the extended color is determined based on the distance to a line passing through the coordinates of the color shown in the histogram in the color space. In contrast, in the fourth embodiment, the extended color is determined based on the search tendency of SNS users to select colors with higher saturation and / or brightness than the colors used in the body parts representing the subject.

[0087] (7-1) Deciding on the extended color In the fourth embodiment, the extended color is determined according to the procedure shown in Fig. 19. Fig. 19 is a flowchart of the procedure for determining the extended color, which is executed in place of Fig. 12(b).

[0088] The colors (RGB values) of the separated objects are converted to HSV values ​​and plotted in the HSV color space (step S161). A rectangular parallelepiped is defined within the HSV color space, passing through the coordinates of the HSV values ​​plotted in the HSV color space with the largest H value, the largest S value, and the largest V value (step S162). The defined rectangular parallelepiped is as shown in FIG. 20. Assume that the RGB values ​​constituting the object's pixels are plotted in the HSV color space at coordinates 801, 802, 803, 804 to 807 shown in FIG. 20. Of these coordinates, coordinate 807 has the largest H value, coordinate 806 has the largest S value, and coordinate 805 has the largest V value, so rectangular parallelepiped 810 passing through these coordinates is defined. The rectangular parallelepiped defined in this way indicates the distribution of the colors of the separated object in the HSV color space, i.e., the distribution range of the colors of the pixels constituting the object in the HSV color space. Furthermore, the surfaces of the rectangular parallelepiped indicate the boundary surfaces of lightness and saturation. Next, an extended color is determined from the set of colors located outside the rectangular parallelepiped (step S163). In the HSV color space, the extended color is determined from the set of colors located at intervals of 2 to 5 colors from the faces of the rectangular parallelepiped (saturation boundary surface, saturation boundary surface). As a result, a second color tag representing a color with enhanced saturation and brightness of the color of the real object that is the subject is added to the image data. As a result, an extended color 811 located outside the brightness boundary line, and extended colors 812 and 813 located outside the brightness and saturation boundary lines are determined. After the extended colors are determined through the above process, the process returns to the main routine (step S164).

[0089] (7-2) Summary There are tens of thousands of social media users around the world who use image browsing systems, and a certain percentage of them have strong memories of areas with high brightness and saturation in the subject. Based on this memory, even if they select a color from the palette that is close to the extracted color and perform a search, the image data they posted will be found. This can increase the impressions and engagement of the image data they posted.

[0090] [8] Fifth embodiment In the first to fourth embodiments, the extended color and the extracted color are represented by separate color tags. In contrast, in this embodiment, whether to represent the extracted color and the extended color by separate color tags or by a single color tag is determined depending on the distance between the coordinates of the extended color and the coordinates of the extracted color in the RGB color space.

[0091] (8-1) Processing procedure The modified portion of the main routine is shown in Fig. 21. In this embodiment, steps S171 and S172 shown in this figure are added. Step S171 is a step in which the distance between the coordinates of the extracted color in the RGB color space and the coordinates of the extended color is equal to or less than the predetermined color vision threshold D t The judgment is whether the color vision threshold is below D. t is the distance between two or more color space coordinates that are recognized as similar colors. Even if the color space coordinates are different, the human eye can recognize multiple colors as the same color or as similar colors. In the color vision characteristics of the human eye, the boundary value at which colors are recognized as the same or similar colors is set in advance as the color vision threshold, and the distance between the coordinates of the extracted color and the coordinates of the expanded color is compared with this color vision threshold.

[0092] Distance between colors is color vision threshold D T If so, step S171 becomes No, and step S108 in FIG. 11 is executed.

[0093] The distance between the coordinates of the extracted color in the RGB color space and the coordinates of the expanded color is the color vision threshold D t If the result of step S171 is Yes, step S172 is executed. In step S172, both the extracted color and the extended color are expressed by a single color tag. Such a single color tag may indicate an intermediate color between the extracted color and the extended color, or may indicate a color family that includes both the extracted color and the extended color. Alternatively, it may indicate only the extracted color or only the extended color.

[0094] The pair 911 of the extended color and the extended color in FIG. 22 is the target. In this pair 911, the coordinates C E and the coordinates of the extended color C x Distance D(C E , CX ) is the color vision threshold D T , the result of step S171 is No. In this case, as shown in the first embodiment, a first color tag indicating the extracted color in the pair 911 and a second color tag indicating the extended color are generated (step S108).

[0095] The pair 912 of the extended color and the extended color in FIG. 22 is the target. The pair 912 of the extended color and the extended color is the coordinate C E and the coordinates of the extended color C X Distance D(C E , C X ) is the color vision threshold D T In this case, for example, the extracted color C in the above pair 912 is E coordinates (R E , G E , B E ) and extended color C X coordinates (R X , G X , B X ) are added together and divided by 2 to calculate the RGB value of the intermediate color between the extracted color and the expanded color (step S172). The color name of the color corresponding to the RGB value calculated in this way is used as the color tag to be added to the image data.

[0096] (8-2) Summary When an extracted color and an extended color are located at close coordinates in the RGB color space, they are expressed with a single tag, which allows for more flexibility in the number of characters in a text string that can be posted. This allows additional features, such as the name or shape characteristics of an item, to be expressed with tags. However, if a continuous range including the extracted color and the extended color is expressed with multiple tags, unintended colors may be expressed with the tags. Such unintended colors may become noise and hinder searches by SNS users. In contrast, this embodiment switches between adding a single tag and adding two tags depending on the distance, so such noise is not expressed with tags.

[0097] [9] Variation Although the present invention has been described above based on the embodiments, it goes without saying that the present invention is not limited to the above-described embodiments, and the following modifications are possible.

[0098] (1) The color of each pixel that makes up an object is expressed using 255 levels of R value, 255 levels of G value, and 255 levels of B value, but this is not limited to this. The color of each pixel that makes up an object may also be expressed using the serial number of the subspace within the RGB color space. Figure 23(a) shows 64 (= 4 x 4 x 4) subspaces obtained by equally dividing the RGB color space. The subspaces are cubic, and serial numbers "1," "2," "3," and "4" are assigned to them in order of closest to the origin.

[0099] Using this serial numbering, the black-red color with RGB values ​​of (135, 13, 3) is designated by the number "3" as shown in Figure 23(b). Also, the red color with RGB values ​​of (255, 0, 0) is designated by the number "4" as shown in Figure 23(c). By determining which subspace the extracted color and extended color belong to and storing the extension number of that subspace, the data size when storing the extended color and extracted color can be reduced.

[0100] (2) In the above embodiment, edges are extracted from image data to separate objects including subjects, but this is not limited to this. Objects may also be obtained by separating areas occupied by contiguous pixels of similar colors. Specifically, as shown in FIG. 13(b), the RGB values ​​of the object's pixels are converted to HSV values ​​to identify groups of contiguous pixels of the same hue. This hue separation separates the image into rough classifications such as reddish and greenish. The separated pixel groups are contiguous pixels of similar colors, consisting of a series of pixels with roughly the same hue. By separating such pixel groups of similar colors, objects similar to those obtained by the edge extraction described above can be obtained.

[0101] The color with the highest frequency in the saturation histogram is used as the extracted color, but this is merely one example. The extracted color may be a color that is used in the object's pixels in a predetermined order, such as 10% or more of the total, in the order shown by the frequency of occurrence. Although an apple is recognized as red, the pixels that occupy a large area on an actual apple are not necessarily red, but are reddish-black. Therefore, extracting a color that is in the top percentage of colors may result in extracting a characteristic color that represents the object.

[0102] (3) The image viewing system may also be used to realize image posting services, video posting services, personal introduction services, online shopping services, short message posting services, bulletin board services, store information services, and services for buying and selling / exchanging used goods. While there is a character limit on the text string that can be posted along with image data, this is not limited to this. Instead of a character limit, there may be a limit on the number of color tags in addition to the character limit.

[0103] (4) In the above embodiment, the image data obtained by scanning with the MFP 1000 is uploaded to the SNS server, but this is not limited to this. Image data captured by a smartphone, tablet, or camera may also be uploaded to the SNS server.

[0104] (5) The tagging application 201A is a pre-installed application that is installed in the image processing device 2000 in advance, but is not limited to this. The tagging application 201A may be recorded on a portable recording medium and sold as a software package, or may be uploaded to an application distribution server and distributed by the application distribution server.

[0105] (6) Although the image processing device 2000 has been described as being configured as a computer device installed on the premises of a business establishment, it may also be configured as a cloud server. The cloud server has an OS and a tagging application 201A installed thereon, and upon receiving a request from the terminal 1011, it starts a guest OS and starts the tagging application 201A on the guest OS, thereby performing the processing described in the above embodiment. The image processing device 2000 has been described as being independent of the MFP 1000, but this is not a limitation. The MFP 1000 and the image processing device 2000 may be integrated into one device. Furthermore, the image processing device 2000 has been described as performing tagging and uploading image data, but this is not a limitation. The image processing device 2000 may only perform tagging and have another device perform the uploading of image data.

[0106] The tagging application 201A may be installed and used on the terminals 1011 to 1014 operated by SNS users. This is because SNS users often post images. The tagging application 201A may also be provided on the SNS server.

[0107] (7) In the second and third embodiments, a difference set is calculated and an extended color is determined from the difference set, but this is not limited to this. If a color that is used as a pixel color of an object but has not been extracted as an extracted color exists on the surface or inside of the sphere in the second embodiment, such a color may be determined as an extended color. Similarly, if a color that is used as a pixel color of an object but has not been extracted as an extracted color exists on the circumferential surface of the cylinder in the third embodiment, such a color may be determined as an extended color.

[0108] Furthermore, a tag indicating an extended color determined from the type of pixel object, a tag indicating an extended color determined from the number of gradations of the pixel object, a tag indicating an extended color determined from the first convergence color and the second convergence color, and a tag indicating an extended color determined from saturated values ​​of saturation and brightness may be added to the image data. This enables multifaceted color expression of pixel objects appearing in the image data, thereby improving the impression when the image data scanned by the scanner 1004 is uploaded to the SNS server 3000.

[0109] (8) HSV values ​​may be entered in the columns for each color in the color sample data. This has the advantage of simplifying the conversion from RGB values ​​to HSV values. Alternatively, a conversion formula may be stored in the non-volatile memory 204, and the conversion from RGB values ​​to HSV values ​​may be performed based on this conversion formula.

[0110] (9) In each embodiment, color names and color codes are used as color tags, but this is not limited to this. Tags may be generated by adding a hash mark (#) to a text string indicating a noun phrase, adjective phrase, or adverb phrase containing a color name. For example, text strings such as "#reddish," "#red," "#reddish," and "#reddish" may be entered in the color sample data and the extended color table, and a hashtag consisting of these text strings and a hash mark may be added to the image data. Furthermore, while the color names in the color tags are in Japanese, this is not limited to this. Color names in multiple languages, such as English, Chinese, Russian, French, Spanish, and Arabic, may be entered in the color sample data and the extended color table, thereby expressing extracted colors and extended colors with color tags in multiple languages. Furthermore, a language selection may be accepted from the poster, and color tags in the selected language may be added to the image data. [Industrial Applicability]

[0111] This disclosure can be used in a variety of industrial fields that use SNS servers to transmit information, including the office automation equipment and information equipment industries, as well as retail, secondhand goods, rental, real estate, advertising, transportation, publishing, and other industries. [Explanation of symbols]

[0112] 1. Image viewing system 201 Storage 201A Tagging Application 201S OS 202 RAM 203 CPU 204 Non-volatile memory 205 NIC 206 Peripheral Ports 1000 MFP 1011~1014 terminals 2000 Image Processing Device 2001 Display Device 2002 Character Device 2003 Pointing Device 3000 SNS servers 3001 Storage 3002 Search Engine

Claims

1. An image processing device that supports a search for image data in an image browsing service, a recognition means for recognizing from the image data a portion said to represent the object; An extraction means for extracting colors used in pixels constituting the recognized portion; a determining means for determining a color that is not extracted from the part but may be used by the service user in a search based on a search tendency of the service user when performing a search; an adding means for generating a first tag indicating the color extracted by the extracting means and a second tag indicating the color determined by the determining means, and adding the first tag and the second tag to the image data as search tags; An image processing device comprising:

2. The color extracted by the extraction means is the color that appears most frequently in the pixels of the portion of the object, or the color that appears at a predetermined rank or higher when a plurality of colors are arranged in the order indicated by the appearance frequency.

2. The image processing device according to claim 1,

3. The search tendency of the service user is a tendency to select a color that is recognized as the color of an object as a search condition, the determining means includes a reference table, the reference table indicating colors that are generally recognized as colors that represent each of a plurality of types of real objects; The colors corresponding to the types of the identified objects are stored in the reference table and are considered to be colors that the service user may use in searches.

3. The image processing device according to claim 1, wherein the first and second inputs are input to the image processing device.

4. The search tendency of the service user is a tendency to select a color close to the color of the gradation of the object as a search condition, The determining means is generating a set of colors consisting of colors located on the surface and inside of a sphere occupying a range whose center coordinate is the color space coordinate of the color extracted by said extraction means and whose radius is the gradation of said portion; The colors that may be used in the search are the colors included in the generated set of colors.

3. The image processing device according to claim 1, wherein the first and second inputs are input to the image processing device.

5. The search tendency of the service user is a tendency to select, as a search condition, a color close to a color that forms a frequency distribution in a part representing an object, The determining means includes a process (1) for determining a first convergence color and a second convergence color which are convergence points when the frequency in the frequency distribution converges to a predetermined value; a process (2) for generating a set of colors located on a surface of a cylinder having a central axis that is a three-dimensional line passing through the color space coordinates of the color extracted by the extraction means, the color space coordinates of the first convergence point, and the color space coordinates of the second convergence point, and a predetermined offset as a diameter; The colors that may be used in the search are the colors included in the generated set of colors.

3. The image processing device according to claim 1, wherein the first and second inputs are input to the image processing device.

6. The search tendency of the service user is a tendency to select, as a search criterion, a color having a higher saturation and / or brightness than the color used in the portion representing the object, The determining means includes a process (1) of defining a subspace in an HSV color space in which colors used in pixels constituting the recognized portion are distributed; A process (2) of generating a set of colors located outside the subspace in the HSV color space where saturation or lightness is large, The colors that may be used in the search are colors included in the set of colors.

3. The image processing device according to claim 1, wherein the first and second inputs are input to the image processing device.

7. The adding means generates the first tag and the second tag when a distance between the color space coordinates of the color extracted by the extracting means and the color space coordinates of the color determined by the determining means exceeds a predetermined threshold.

7. The image processing device according to claim 1, wherein the image processing device is a computer.

8. if a distance between the color space coordinates of the color extracted by the extraction means and the color space coordinates of the color determined by the determination means is less than a predetermined threshold, the addition means generates a single tag to be added to the image data; The single tag indicates any one of an intermediate color between the color extracted by the extraction means and the color determined by the determination means, a color group including the color extracted by the extraction means and the color determined by the determination means, the color extracted by the extraction means itself, and the color determined by the determination means itself.

8. The image processing device according to claim 7,

9. The recognition means determines whether the image data is a photograph or depiction of a real object, and the determination means determines the colors that may be used in the search when the image data is determined to be a photograph or depiction of a real object.

8. The image processing device according to claim 1, wherein the image processing device is a computer.

10. The histogram showing the color frequencies is judged to have a spread of a predetermined width or more, and if the spread is equal to or greater than the predetermined width, the recognition means judges that a portion in the image data is a photograph or depiction of a real object.

10. The image processing device according to claim 9,

11. the recognition means includes learning data corresponding to each of a plurality of types of real objects, the learning data being data defining a separation surface separating a point group of feature quantities representing real objects of the corresponding type from a point group of feature quantities not representing real objects of the corresponding type; The recognition means calculates a feature amount from a portion of the image data that is said to represent an object, and applies the feature amount to learning data corresponding to each type, thereby determining whether a portion of the image data is a photograph or depiction of a real object.

10. The image processing device according to claim 9,

12. The recognition means performs a process of extracting pixels that become edges from among pixels that form image data, The region representing the object is made up of a group of pixels surrounded by edge pixels.

12. The image processing device according to claim 1, wherein the image processing device is a computer.

13. The recognition means performs a process of separating an area occupied by pixels of similar colors from the image data, The portion representing the object is composed of pixels in a region that is separated as being of similar color.

12. The image processing device according to claim 1, wherein the image processing device is a computer.

14. The color of a pixel constituting the object is represented by an R value, a G value, and a B value, The R value, G value, and B value are Indicates which subspace the color belongs to, among the subspaces obtained by equally dividing the RGB color space.

14. The image processing device according to claim 1, wherein the image processing device is a computer.

15. An image browsing system in which a server executes a search based on search conditions defined by a terminal, Recognizing regions from the image data that are said to represent the object; Extracting the colors used in the pixels that make up the recognized portion; determining a color that may be used by the service user in a search, based on the search tendency of the service user when performing a search, even if the color was not extracted from the part; A first tag indicating the extracted color and a second tag indicating the determined color are generated and added to the image data as search tags.

1. An image browsing system comprising:

16. The terminal displays a palette and accepts a selection of a color from the palette as a search condition from the service user; A search result screen including image data to which a first tag matching the search criteria is added and / or image data to which a second tag matching the search criteria is added is displayed on the terminal.

16. The image viewing system according to claim 15.

17. the first tag is a first hashtag and the second tag is a second hashtag; When a list screen including a first hash tag and / or a second hash tag is displayed on a terminal and a service user selects the hashtag, other image data to which the same first hash tag and / or second hash tag is added is displayed on the terminal.

17. The image viewing system according to claim 16.

18. An image processing program for causing a computer to execute a process for supporting a search for image data in an image browsing service, comprising: a recognition step of recognizing from the image data a portion said to represent the object; An extraction step of extracting colors used in pixels constituting the recognized portion; a determining step of determining a color that is not extracted from the part but may be used by the service user in a search based on a search tendency of the service user when performing a search; an adding step of generating a first tag indicating the color extracted in the extracting step and a second tag indicating the color determined in the determining step, and adding the first tag and the second tag to the image data as search tags; An image processing program characterized by causing a computer to execute the above steps.

19. An image processing method for supporting a search for image data in an image browsing service, comprising: a recognition step of recognizing from the image data a portion said to represent the object; An extraction step of extracting colors used in pixels constituting the recognized portion; a determining step of determining a color that is not extracted from the part but may be used by the service user in a search based on a search tendency of the service user when performing a search; an adding step of generating a first tag indicating the color extracted in the extracting step and a second tag indicating the color determined in the determining step, and adding the first tag and the second tag to the image data as search tags; An image processing method comprising:

Citation Information

Patent Citations

  • Storage color processor and print system

    JP2001166908A

  • Image retrieval system and method thereof

    JP2002197117A

  • Line detection device, line detection method, program and storage medium

    JP2019159526A

  • Visual search utilizing color descriptors

    US9064149B1