CN106485759A - Color indicating means and device - Google Patents

Color indicating means and device Download PDF

Info

Publication number
CN106485759A
CN106485759A CN201610848618.2A CN201610848618A CN106485759A CN 106485759 A CN106485759 A CN 106485759A CN 201610848618 A CN201610848618 A CN 201610848618A CN 106485759 A CN106485759 A CN 106485759A
Authority
CN
China
Prior art keywords
color
colouring information
region
module
image
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.)
Pending
Application number
CN201610848618.2A
Other languages
Chinese (zh)
Inventor
王宝林
张亮
赵全国
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610848618.2A priority Critical patent/CN106485759A/en
Publication of CN106485759A publication Critical patent/CN106485759A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10024Color image

Abstract

The disclosure is a kind of color indicating means and device, and methods described includes:Select to need to carry out the image-region of color instruction in image;Determine the colouring information in described image region;Export described colouring information.The disclosure passes through the analysis for image color information, is supplied to user-dependent color instruction, thus allows users to obtain the colouring information of image at any time, thus providing great convenience for the life of user.The technical scheme of the disclosure can be realized on the intelligent terminal such as mobile phone, by general intelligent terminal, can be that identification for shades of colour has the user of obstacle and provides help, it is to avoid particular color compensate that glasses are brought using upper restriction.In addition, the intelligent terminal such as mobile phone is as basic communication tool, it is one of user's belongings, user need not especially remember, you can enjoy above-mentioned color instruction service at any time, thus further provide for facilitating for user.

Description

Color indicating means and device
Technical field
It relates to intelligent terminal's technical field, more particularly, to a kind of color indicating means for intelligent terminal and dress Put.
Background technology
Achromatopsia is also referred to as " colour vision identification obstacle ", is a kind of disease that cannot correctly recognize part or all of color, this disease Sick major part is led to due to genetic cause, also has some to lead to due to some reasons posteriori, but either which Plant colour vision identification obstacle, current treatment difficulty is all very big, and colour vision identification obstacle brings to the life of patient Greatly inconvenience.In order to help the color in patient's identification life, research worker research is proposed achromatopsia glasses, achromatopsia glasses root According to complementary color antagonism, eyeglass has carried out special coating operation so that patient put on achromatopsia glasses so that it may correct recognize before Recognize unclear color, thus reaching the effect correcting dyschromatopsia.But this glasses need the concrete obstacle according to patient Selecting, versatility is poor, and patient needs to carry with achromatopsia glasses for identification situation, and this is just that the use of patient brings Inconvenience to a certain extent.
Content of the invention
The embodiment of the present disclosure provides a kind of color indicating means and device.Described technical scheme is as follows:
According to the embodiment of the present disclosure in a first aspect, provide a kind of color indicating means, including:
Select to need to carry out the image-region of color instruction in image;
Determine the colouring information in described image region;
Export described colouring information.
Alternatively, the described colouring information determining image-region, including:
Described image region is divided into one or more color regions according to the difference of color;
Determine the colouring information of each color region.
Alternatively, described image-region is divided into one or more color regions according to the difference of color, including:
Extract each pixel in described image region;
Determine the colouring information of each pixel;
Colouring information according to each pixel calculates the color distance between pixel;
The pixel that color distance is in preset range is divided in same color region;
The described colouring information determining each color region, including:
Using the colouring information meansigma methodss of pixel in described same color region as this color region colouring information.
Alternatively, the described colouring information of described output, including:
The colouring information of the maximum color region of area in output described image region;
And/or, the colouring information of the maximum pixel of accounting in output described image region;
And/or, for all of color region in described image region according to size descending, and it is sequentially output The colouring information in respective color region.
Alternatively, the described colouring information of described output includes:
Described colouring information is exported by text message;And/or,
Described colouring information is exported by voice messaging;And/or,
Described colouring information is exported by video information.
Alternatively, described colouring information at least includes one of following information:RGB color passage numerical value, color designation.
Alternatively, the described colouring information of described output includes:
Predetermined registration operation is carried out for described image region;
Described colouring information is exported according to described predetermined registration operation.
According to the second aspect of the embodiment of the present disclosure, provide a kind of colour indicating means, including:
Selecting module, is configured to select to need to carry out the image-region of color instruction in image;
Determining module, is configured to determine that the colouring information in described image region;
Output module, is configured to export described colouring information.
Alternatively, described determining module includes:
Classification submodule, is configured to for described image region to be divided into one or more chromatic zoneses according to the difference of color Domain;
First determination sub-module, is configured to determine that the colouring information of each color region.
Alternatively, described classification submodule includes:
Extracting sub-module, is configured to extract each pixel in described image region;
Second determination sub-module, is configured to determine that the colouring information of each pixel;
Calculating sub module, is configured to the colouring information according to each pixel and calculates the color distance between pixel;
Divide submodule, the pixel being configured to for color distance to be in preset range is divided into same color region In;
Described first determination sub-module is configured to will be average for the colouring information of pixel in described same color region Value is as the colouring information of this color region.
Alternatively, described output module includes:
First output sub-module, is configured to export the color letter of the maximum color region of area in described image region Breath;And/or,
Second output sub-module, is configured to export the colouring information of the maximum pixel of accounting in described image region; And/or,
3rd output sub-module, is configured to drop according to size for all of color region in described image region Sequence arranges, and is sequentially output the colouring information in respective color region.
Alternatively, described output module includes:
4th output sub-module, is configured to text message and exports described colouring information;And/or,
5th output sub-module, is configured to voice messaging and exports described colouring information;And/or,
6th output sub-module, is configured to video information and exports described colouring information.
Alternatively, described colouring information at least includes one of following information:RGB color passage numerical value, color designation.
Alternatively, described output module includes:
Operation submodule, is configured to carry out predetermined registration operation for described image region;
7th output sub-module, is configured to export described colouring information according to described predetermined registration operation.
According to the third aspect of the embodiment of the present disclosure, provide a kind of colour indicating means, including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Select to need to carry out the image-region of color instruction in image;
Determine the colouring information in described image region;
Export described colouring information.
The technical scheme that embodiment of the disclosure provides can include following beneficial effect:
Technique scheme, can be supplied to user-dependent color instruction by the analysis for image color information, Thus allow users to obtain the colouring information of image at any time, thus providing great convenience for the life of user.This Disclosed technical scheme can be realized on the intelligent terminal such as mobile phone, by general intelligent terminal, can be for various face The user that the identification of color has obstacle provides help, it is to avoid particular color compensate that glasses are brought using upper restriction. In addition, the intelligent terminal such as mobile phone is as basic communication tool, it is one of user's belongings, user need not especially remember Recall, you can enjoy above-mentioned color instruction service at any time, thus further provide for facilitating for user.
It should be appreciated that above general description and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description
Accompanying drawing herein is merged in description and constitutes the part of this specification, shows the enforcement meeting the disclosure Example, and be used for explaining the principle of the disclosure together with description.
Fig. 1 is the flow chart of the color indicating means according to an exemplary embodiment.
Fig. 2 is the flow chart of step S102 of color indicating means according to an exemplary embodiment.
Fig. 3 is the flow chart of step S201 of color indicating means according to an exemplary embodiment.
Fig. 4 is the flow chart of step S103 of color indicating means according to an exemplary embodiment.
Fig. 5 is the block diagram of the colour indicating means according to an exemplary embodiment.
Fig. 6 is the block diagram of the determining module of the colour indicating means according to an exemplary embodiment.
Fig. 7 is the block diagram of the classification submodule of the colour indicating means according to an exemplary embodiment.
Fig. 8 is the block diagram of the output module of the colour indicating means according to an exemplary embodiment.
Fig. 9 is the block diagram of the output module implementing the colour indicating means exemplifying according to another exemplary.
Figure 10 is the block diagram of the output module implementing the colour indicating means exemplifying according to another exemplary.
Figure 11 is the block diagram being applied to colour indicating means according to an exemplary embodiment.
Specific embodiment
Here will in detail exemplary embodiment be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with such as appended The example of the consistent apparatus and method of some aspects being described in detail in claims, the disclosure.
The technical scheme that the embodiment of the present disclosure provides, can be supplied to user by the analysis for image color information Related color instruction, thus allows users to obtain the colouring information of image at any time, thus providing for the life of user Greatly facilitate.The technical scheme of the disclosure can be realized on the intelligent terminal such as mobile phone, by general intelligent terminal, can There is provided help with the user for there is obstacle for the identification of shades of colour, it is to avoid particular color compensate what glasses were brought Using upper restriction.In addition, the intelligent terminal such as mobile phone is as basic communication tool, it is one of user's belongings, User need not especially remember, you can enjoy above-mentioned color instruction service at any time, thus further provide for facilitating for user.
Fig. 1 is a kind of flow chart of the color indicating means according to an exemplary embodiment, as shown in figure 1, described Method comprises the following steps S101-S103:
In step S101, select to need to carry out the image-region of color instruction in image;
In step s 102, determine the colouring information in described image region;
In step s 103, export described colouring information.
In this embodiment, by the analysis for image-region colouring information, it is supplied to user-dependent color instruction, Thus allow users to obtain the colouring information of a certain image-region in image at any time, be that the life of user provides greatly Convenience.The technical scheme of the disclosure can be realized on the intelligent terminal such as mobile phone, by general intelligent terminal, can be right There is the user of obstacle help be provided in the identification in shades of colour, it is to avoid particular color compensate that glasses are brought using upper Restriction.In addition, the intelligent terminal such as mobile phone is as basic communication tool, it is one of user's belongings, Yong Huwu Need to especially remember, you can enjoy above-mentioned color instruction service at any time, thus further provide for facilitating for user.
In one embodiment, described image includes:Found a view by camera lens the image obtaining, shot by camera To image, the image of storage, one or more of the image that browses.
In this embodiment, user can for by mobile phone camera camera lens find a view the image obtaining, shoot the figure that obtains As, various images such as the image of storage, image of browsing indicate help using color, this just brings greatly for the use of user Facility.Such as, cannot differentiate when red and green achromate goes across the road it is difficult to determine the face indicated by traffic lights for one Color, at this moment this user can be to indicate help using above-mentioned color, specifically, and this user only need to take out mobile phone open camera, Traffic lights is clicked on, you can obtain corresponding color tips information, learn current traffic in the viewfinder window of camera lens Lamp color.The images such as the image that shoots for user, the image of storage, the image that browses, carry out above-mentioned similar operation, you can Very easily know the colouring information instruction of present image.
In one embodiment, as shown in Fig. 2 described step S102 comprises the following steps S201-S202:
In step s 201, described image region is divided into one or more color regions according to the difference of color;
In step S202, determine the colouring information of each color region.
In this embodiment it is contemplated that very likely there is multiple color in one of image image-region, for standard Really react the color of this image-region it is therefore desirable to first described image region division is one or many by the difference according to color Individual color region, it is then determined that the colouring information of each color region, finally according to the colouring information of each color region Determine the colouring information in described image region.
In one embodiment, as shown in figure 3, described step S201 comprises the following steps S301-S304:
In step S301, extract each pixel in described image region;
In step s 302, determine the colouring information of each pixel;
In step S303, the colouring information according to each pixel calculates the color distance between pixel;
In step s 304, pixel color distance being in preset range is divided in same color region.
In addition, described step S202 can be embodied as:
Using the colouring information meansigma methodss of pixel in described same color region as this color region colouring information.
In this embodiment, the division of color region can be realized using the principle of connected domain, in actual applications, can root According to the difference of the demand of division, the colouring information according to each pixel first calculates the color distance between pixel, by color The pixel that distance is in preset range is divided in same color region, and then the colouring information of this color region is average Value is the colouring information of comprised pixel;Also the pixel that colouring information can be belonged to same color gamut is divided into same In color region, and the colouring information of this color region may be set to the meansigma methodss of the colouring information of its comprised pixel, or Directly it is set as the colouring information of most of pixels.The disclosure is fixed for the numerical value of specific dividing mode and color gamut Justice is not especially limited, and the numerical value definition mode of all feasible dividing mode and color gamut each falls within the protection of the disclosure Scope.By upper, pixel same or like for colouring information has been divided in same color region this embodiment, and accordingly Determine the colouring information in respective color region such that it is able to the multiple color being comprised for image-region is accurately divided Analysis, to assume the color component that described image region is comprised comprehensively.
In one embodiment, described step S103 embodiment is following steps:
The colouring information of the maximum color region of area in output described image region;
And/or, the colouring information of the maximum pixel of accounting in output described image region;
And/or, for all of color region in described image region according to size descending, and it is sequentially output The colouring information in respective color region.
In this embodiment, in order to accurately reflect the colouring information of the image-region comprising multiple color regions, can be by face The colouring information of long-pending maximum color region exports as the colouring information of this image-region, or, by accounting in image-region The colouring information of maximum pixel exports as the colouring information of this image-region, then or, firstly for all of color Region carries out descending according to size, is then sequentially sequentially output the colouring information in respective color region according still further to this. Wherein, the concrete way of output of image-region colouring information can determine according to the needs of practical application, the disclosure is not made to it Concrete restriction.
In another embodiment, described step S103 can be embodied as following steps:
Described colouring information is exported by text message;And/or,
Described colouring information is exported by voice messaging;And/or,
Described colouring information is exported by video information.
In this embodiment, there is provided the way of output of multiple color information, such as text, voice and video and its group Close, user can select for the way of output of colouring information according to the actual requirements, thus carrying for the use of user further Supply facility.
In one embodiment, described colouring information at least includes one of following information:RGB color passage numerical value, Color designation.
The colouring information referring in the disclosure can be RGB color passage numerical value or specific color designation, also It can be a combination of both.RGB is at present with one of color system the widest, and it is by red (R), green (G), blue (B) three Obtaining color miscellaneous, this standard almost includes for the change of individual Color Channel and their superpositions each other The all colours that human eyesight can perceive.Described RGB color passage numerical value is the color data of three passages of red, green, blue, One specific RGB color passage numerical value just represents a kind of color that is to say, that when we learn one group of RGB color passage During numerical value, we have just obtained accurate color designation.The RGB color passage numerical value of common colors is as shown in the table:
Color designation Red value Red Green value Green Blue valve Blue
Black 0 0 0
Blue 0 0 255
Green 0 255 0
Cyan 0 255 255
Red 255 0 0
Carmetta 255 0 255
Yellow 255 255 0
White 255 255 255
In this embodiment, user understands the relevant information of RGB for convenience, and it is defeated that user uses above-mentioned color instruction to help Go out image-region colouring information when, the descriptive information with regard to RGB can be exported simultaneously, such as color indicate help using saying Respective value of bright, RGB ultimate principle and some common RGB and color designation etc..
In this embodiment, as shown in figure 4, described step S103 comprises the following steps S401-S402:
In step S401, predetermined registration operation is carried out for described image region;
In step S402, described colouring information is exported according to described predetermined registration operation.
Wherein, described predetermined registration operation includes:One or more of click on, tap, sliding, dragging.
In this embodiment, described step S402 can be embodied as:
When first time predetermined registration operation is carried out for described image region, the colour type information in output described image region,
When second predetermined registration operation is carried out for described image region, the RGB color port number in output described image region Value;Or,
When first predetermined registration operation is carried out for described image region, the colour type information in output described image region,
When second predetermined registration operation is carried out for described image region, the RGB color passage numerical value in output described image region; Or,
When carrying out first time predetermined registration operation for described image region, word exports the colour type letter in described image region Breath,
When second predetermined registration operation is carried out for described image region, the colour type letter in voice output described image region Breath,
When third time predetermined registration operation is carried out for described image region, the colour type letter in video frequency output described image region Breath;Or,
When carrying out the first predetermined registration operation for described image region, word exports the colour type letter in described image region Breath,
When second predetermined registration operation is carried out for described image region, the colour type letter in voice output described image region Breath,
When three predetermined registration operation is carried out for described image region, the colour type letter in video frequency output described image region Breath.
In this embodiment, as implied above, it is possible to provide the combination of multiple different modes of operation or mode of operation comes defeated Go out different colouring informations or whole colouring information.When actually used, also can be had according to the hobby of user, operating habit etc. Body demand selects for mode of operation and corresponding output content, and the disclosure is not especially limited to it.
In one embodiment, described step S103 can be implemented as:
Export described colouring information in a predetermined position and/or in a preset time period.
In this embodiment, in order that the colouring information of output will not block described image region, can be in a default position Put place, the such as side in described image region, or not selected image-area portion in described image, or described image Described colouring information is shown at the positions such as the background area in region.In addition, in order that the output of colouring information will not have influence on use Other operations at family, can be set in a preset time period, show described colouring information in the time of such as 5 seconds.Described color The display location of information and display time can be arranged according to the needs of user's practical application, and the disclosure does not specifically limit to it Fixed.
Following for disclosure device embodiment, can be used for executing method of disclosure embodiment.
Fig. 5 is a kind of block diagram of the colour indicating means according to an exemplary embodiment, and this device can pass through soft Part, hardware or both be implemented in combination with become some or all of of electronic equipment.As shown in figure 5, this device includes:
Selecting module 501, is configured to select to need to carry out the image-region of color instruction in image;
Determining module 502, is configured to determine that the colouring information in described image region;
Output module 503, is configured to export described colouring information.
In this embodiment, by the analysis for image-region colouring information, it is supplied to user-dependent color instruction, Thus allow users to obtain the colouring information of a certain image-region in image at any time, be that the life of user provides greatly Convenience.The technical scheme of the disclosure can be realized on the intelligent terminal such as mobile phone, by general intelligent terminal, can be right There is the user of obstacle help be provided in the identification in shades of colour, it is to avoid particular color compensate that glasses are brought using upper Restriction.In addition, the intelligent terminal such as mobile phone is as basic communication tool, it is one of user's belongings, Yong Huwu Need to especially remember, you can enjoy above-mentioned color instruction service at any time, thus further provide for facilitating for user.
In one embodiment, described image includes:Found a view by camera lens the image obtaining, shot by camera To image, the image of storage, one or more of the image that browses.
In this embodiment, user can for by mobile phone camera camera lens find a view the image obtaining, shoot the figure that obtains As, various images such as the image of storage, image of browsing indicate help using color, this just brings greatly for the use of user Facility.Such as, cannot differentiate when red and green achromate goes across the road it is difficult to determine the face indicated by traffic lights for one Color, at this moment this user can be to indicate help using above-mentioned color, specifically, and this user only need to take out mobile phone open camera, Traffic lights is clicked on, you can obtain corresponding color tips information, learn current traffic in the viewfinder window of camera lens Lamp color.The images such as the image that shoots for user, the image of storage, the image that browses, carry out above-mentioned similar operation, you can Very easily know the colouring information instruction of present image.
In one embodiment, as shown in fig. 6, described determining module 502 includes:
Classification submodule 601, is configured to for described image region to be divided into one or more colors according to the difference of color Region;
First determination sub-module 602, is configured to determine that the colouring information of each color region.
In this embodiment it is contemplated that very likely there is multiple color in one of image image-region, for standard Really react the color of this image-region it is therefore desirable to classification submodule 601 first the difference according to color by described image region It is divided into one or more color regions, then the first determination sub-module 602 determines the colouring information of each color region, Colouring information according to each color region is determining the colouring information in described image region afterwards.
In one embodiment, as shown in fig. 7, described classification submodule 601 includes:
Extracting sub-module 701, is configured to extract each pixel in described image region;
Second determination sub-module 702, is configured to determine that the colouring information of each pixel;
Calculating sub module 703, be configured to according to the colouring information of each pixel calculate color between pixel away from From;
Divide submodule 704, the pixel being configured to for color distance to be in preset range is divided into same color In region;
Described first determination sub-module 602 is configured to put down the colouring information of pixel in described same color region Average is as the colouring information of this color region.
In this embodiment, the division of color region can be realized using the principle of connected domain, in actual applications, can root According to the difference of the demand of division, the colouring information according to each pixel first calculates the color distance between pixel, by color The pixel that distance is in preset range is divided in same color region, and then the colouring information of this color region is average Value is the colouring information of comprised pixel;Also the pixel that colouring information can be belonged to same color gamut is divided into same In color region, and the colouring information of this color region may be set to the meansigma methodss of the colouring information of its comprised pixel, or Directly it is set as the colouring information of most of pixels.The disclosure is fixed for the numerical value of specific dividing mode and color gamut Justice is not especially limited, and the numerical value definition mode of all feasible dividing mode and color gamut each falls within the protection of the disclosure Scope.By upper, pixel same or like for colouring information has been divided in same color region this embodiment, and accordingly Determine the colouring information in respective color region such that it is able to the multiple color being comprised for image-region is accurately divided Analysis, to assume the color component that described image region is comprised comprehensively.
In one embodiment, as shown in figure 8, described output module 503 includes:
First output sub-module 801, is configured to export the color of the maximum color region of area in described image region Information;
And/or, the second output sub-module 802, it is configured to export the maximum pixel of accounting in described image region Colouring information;
And/or, the 3rd output sub-module 803, be configured to for all of color region in described image region according to Size descending, and it is sequentially output the colouring information in respective color region.
In this embodiment, in order to accurately reflect the colouring information of the image-region comprising multiple color regions, can pass through The colouring information of the maximum color region of area is exported by the first output sub-module 801 as the colouring information of image-region, or Person, by the second output sub-module 802 using the colouring information of the maximum pixel of accounting in image-region as this image-region Colouring information output, then or, by the 3rd output sub-module 803 firstly for all of color region according to size Carry out descending, be then sequentially sequentially output the colouring information in respective color region according still further to this.Wherein, image-region color The concrete way of output of information can determine according to the needs of practical application, the disclosure is not especially limited to it.
In another embodiment, as shown in figure 9, described output module 503 includes:
4th output sub-module 901, is configured to text message and exports described colouring information;And/or,
5th output sub-module 902, is configured to voice messaging and exports described colouring information;And/or,
6th output sub-module 903, is configured to video information and exports described colouring information.
In this embodiment, there is provided multiple output sub-modules, assume the way of output of multiple color information, such as literary composition Originally, voice and video and combinations thereof, user can select for the way of output of colouring information according to the actual requirements, thus entering One step is that the use of user is provided convenience.
In one embodiment, described colouring information at least includes one of following information:RGB color passage numerical value, Color designation.
The colouring information referring in the disclosure can be RGB color passage numerical value or specific color designation, also It can be a combination of both.RGB is at present with one of color system the widest, and it is by red (R), green (G), blue (B) three Obtaining color miscellaneous, this standard almost includes for the change of individual Color Channel and their superpositions each other The all colours that human eyesight can perceive.Described RGB color passage numerical value is the color data of three passages of red, green, blue, One specific RGB color passage numerical value just represents a kind of color that is to say, that when we learn one group of RGB color passage During numerical value, we have just obtained accurate color designation.
In this embodiment, user understands the relevant information of RGB for convenience, and user indicates help using above-mentioned color, During by the colouring information in described output module 503 output image region, the descriptive information with regard to RGB can be exported simultaneously, than As color indicates respective value of the operation instruction of help, the ultimate principle of RGB and some common RGB and color designation etc. Deng.
In this embodiment, as shown in Figure 10, described output module 503 includes:
Operation submodule 1001, is configured to carry out predetermined registration operation for described image region;
7th output sub-module 1002, is configured to export described colouring information according to described predetermined registration operation.
Wherein, described predetermined registration operation includes:One or more of click on, tap, sliding, dragging.
In this embodiment, described 7th output sub-module 1002 includes:
First output control submodule, when being configured to first time predetermined registration operation is carried out for described image region, output The colour type information in described image region,
Second output control submodule, when being configured to second predetermined registration operation is carried out for described image region, output The RGB color passage numerical value in described image region;Or,
3rd output control submodule, when being configured to carry out the first predetermined registration operation for described image region, exports institute State the colour type information of image-region,
4th output control submodule, when being configured to carry out the second predetermined registration operation for described image region, exports institute State the RGB color passage numerical value of image-region;Or,
5th output control submodule, when being configured to first time predetermined registration operation is carried out for described image region, word The colour type information in output described image region,
6th output control submodule, when being configured to second predetermined registration operation is carried out for described image region, voice The colour type information in output described image region,
7th output control submodule, when being configured to third time predetermined registration operation is carried out for described image region, video The colour type information in output described image region;Or,
8th output control submodule, when being configured to carry out the first predetermined registration operation for described image region, word is defeated Go out the colour type information in described image region,
9th output control submodule, when being configured to carry out the second predetermined registration operation for described image region, voice is defeated Go out the colour type information in described image region,
Tenth output control submodule, when being configured to carry out three predetermined registration operation for described image region, video is defeated Go out the colour type information in described image region.
In this embodiment, as implied above, it is possible to provide multiple output control submodules, assume multiple different modes of operation Or the combination of mode of operation is exporting different colouring informations or whole colouring information.When actually used, also can basis The real needs such as the hobby of user, operating habit select for mode of operation and corresponding output content, and the disclosure is to it It is not especially limited.
In one embodiment, described output module 503 can be configured in a predetermined position and/or when one is default Between export described colouring information in section.
In this embodiment, in order that the colouring information of output will not block described image region, described output module 503 Can be in a predetermined position, the such as side in described image region, or not selected image-region portion in described image Point, or at the position such as the background area in described image region, show described colouring information.In addition, in order that colouring information defeated Go out to have influence on user other operation, described output module 503 can be set in a preset time period, such as 5 seconds when The described colouring information of interior display.The display location of described colouring information and display time can be according to the needs of user's practical application To arrange, the disclosure is not especially limited to it.
According to the third aspect of the embodiment of the present disclosure, provide a kind of colour indicating means, including:
Processor;
For storing the memorizer of processor executable;
Wherein, processor is configured to:
Select to need to carry out the image-region of color instruction in image;
Determine the colouring information in described image region;
Export described colouring information.
Above-mentioned processor is also configured to:
The described colouring information determining image-region, including:Described image region is divided into one according to the difference of color Or multiple color region;Determine the colouring information of each color region.
Described image-region is divided into one or more color regions according to the difference of color, including:
Extract each pixel in described image region;
Determine the colouring information of each pixel;
Colouring information according to each pixel calculates the color distance between pixel;
The pixel that color distance is in preset range is divided in same color region;
The described colouring information determining each color region, including:
Using the colouring information meansigma methodss of pixel in described same color region as this color region colouring information.
The described colouring information of described output, including:
The colouring information of the maximum color region of area in output described image region;
And/or, the colouring information of the maximum pixel of accounting in output described image region;
And/or, for all of color region in described image region according to size descending, and it is sequentially output The colouring information in respective color region.
The described colouring information of described output includes:
Described colouring information is exported by text message;And/or,
Described colouring information is exported by voice messaging;And/or,
Described colouring information is exported by video information.
Described colouring information at least includes one of following information:RGB color passage numerical value, color designation.
The described colouring information of described output includes:
Predetermined registration operation is carried out for described image region;
Described colouring information is exported according to described predetermined registration operation.
With regard to the device in above-described embodiment, wherein the concrete mode of modules execution operation is in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Figure 11 is a kind of block diagram for colour indicating means according to an exemplary embodiment, and this device is applied to Terminal unit.For example, device 1100 can be mobile phone, computer, digital broadcast terminal, messaging devices, game control Platform processed, tablet device, armarium, body-building equipment, personal digital assistant etc..
Device 1100 can include following one or more assemblies:Process assembly 1102, memorizer 1104, power supply module 1106, multimedia groupware 1108, audio-frequency assembly 1110, the interface 1112 of input/output (I/O), sensor cluster 1114, and Communication component 1116.
The integrated operation of the usual control device 1100 of process assembly 1102, such as with display, call, data communication, Camera operation and record operate associated operation.Process assembly 1102 can include one or more processors 1120 to execute Instruction, to complete all or part of step of above-mentioned method.Additionally, process assembly 1102 can include one or more moulds Block, is easy to the interaction between process assembly 1102 and other assemblies.For example, process assembly 1102 can include multi-media module, To facilitate the interaction between multimedia groupware 1108 and process assembly 1102.
Memorizer 1104 is configured to store various types of data to support the operation in device 1100.These data Example include on device 1100 operation any application program or method instruction, contact data, telephone book data, Message, picture, video etc..Memorizer 1104 can by any kind of volatibility or non-volatile memory device or they Combination is realized, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), erasable can Program read-only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory Reservoir, disk or CD.
Power supply module 1106 provides electric power for the various assemblies of device 1100.Power supply module 1106 can include power management System, one or more power supplys, and other generate, manage and distribute, with for device 1100, the assembly that electric power is associated.
Multimedia groupware 1108 includes the screen of one output interface of offer between described device 1100 and user.? In some embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, Screen may be implemented as touch screen, to receive the input signal from user.Touch panel includes one or more touch and passes Sensor is with the gesture on sensing touch, slip and touch panel.Described touch sensor can not only sensing touch or slip be dynamic The border made, but also the detection persistent period related to described touch or slide and pressure.In certain embodiments, many Media component 1108 includes a front-facing camera and/or post-positioned pick-up head.When device 1100 is in operator scheme, such as shoot mould When formula or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each preposition shooting Head and post-positioned pick-up head can be the optical lens system of a fixation or have focusing and optical zoom capabilities.
Audio-frequency assembly 1110 is configured to output and/or input audio signal.For example, audio-frequency assembly 1110 includes a wheat Gram wind (MIC), when device 1100 is in operator scheme, such as call model, logging mode and speech recognition mode when, mike quilt It is configured to receive external audio signal.The audio signal being received can be further stored in memorizer 1104 or via communication Assembly 1116 sends.In certain embodiments, audio-frequency assembly 1110 also includes a speaker, for exports audio signal.
I/O interface 1111 is for providing interface, above-mentioned peripheral interface module between process assembly 1102 and peripheral interface module Can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and Locking press button.
Sensor cluster 1114 includes one or more sensors, for providing the state of various aspects to comment for device 1100 Estimate.For example, sensor cluster 1114 can detect/the closed mode of opening of device 1100, the relative localization of assembly, such as institute State the display that assembly is device 1100 and keypad, sensor cluster 1114 can be with detection means 1100 or device 1,100 1 The position change of individual assembly, user is presence or absence of with what device 1100 contacted, device 1100 orientation or acceleration/deceleration and dress Put 1100 temperature change.Sensor cluster 1114 can include proximity transducer, is configured to do not having any physics The presence of object nearby is detected during contact.Sensor cluster 1114 can also include optical sensor, and such as CMOS or ccd image sense Device, for using in imaging applications.In certain embodiments, this sensor cluster 1114 can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communication component 1116 is configured to facilitate the communication of wired or wireless way between device 1100 and other equipment.Dress Put 1100 and can access wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.Exemplary at one In embodiment, communication component 1116 receives related from the broadcast singal of external broadcasting management system or broadcast via broadcast channel Information.In one exemplary embodiment, described communication component 1116 also includes near-field communication (NFC) module, to promote short distance Communication.For example, RF identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra broadband can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realizing.
In the exemplary embodiment, device 1100 can be by one or more application specific integrated circuits (ASIC), numeral Signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing above-mentioned color indicating means.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided As included the memorizer 1104 instructing, above-mentioned instruction can be executed by the processor 1120 of device 1100 to complete above-mentioned color instruction Method.For example, described non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, Tape, floppy disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in described storage medium is by the process of device 1100 So that device 1100 is able to carry out above-mentioned color indicating means during device execution, methods described includes:
Select to need to carry out the image-region of color instruction in image;
Determine the colouring information in described image region;
Export described colouring information.
Those skilled in the art, after considering description and putting into practice disclosure disclosed herein, will readily occur to its of the disclosure Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations are followed the general principle of the disclosure and are included the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments be considered only as exemplary, the true scope of the disclosure and spirit by following Claim is pointed out.
It should be appreciated that the disclosure is not limited to be described above and precision architecture illustrated in the accompanying drawings, and And various modifications and changes can carried out without departing from the scope.The scope of the present disclosure only to be limited by appended claim.

Claims (15)

1. a kind of color indicating means is it is characterised in that include:
Obtaining in image needs to carry out the image-region of color instruction;
Determine the colouring information in described image region;
Export described colouring information.
2. method according to claim 1 is it is characterised in that the colouring information of described determination image-region, including:
Described image region is divided into one or more color regions according to the difference of color;
Determine the colouring information of each color region.
3. method according to claim 2 is it is characterised in that described be divided into one by image-region according to the difference of color Or multiple color region, including:
Extract each pixel in described image region;
Determine the colouring information of each pixel;
Colouring information according to each pixel calculates the color distance between pixel;
The pixel that described color distance is in preset range is divided in same color region;
The described colouring information determining each color region, including:
Using the colouring information meansigma methodss of pixel in described same color region as this color region colouring information.
4. method according to claim 3 is it is characterised in that the described colouring information of described output, including:
The colouring information of the maximum color region of area in output described image region;
And/or, the colouring information of the maximum pixel of accounting in output described image region;
And/or, for all of color region in described image region according to size descending, and it is sequentially output corresponding The colouring information of color region.
5. method according to claim 1 is it is characterised in that the described colouring information of described output includes:
Described colouring information is exported by text message;And/or,
Described colouring information is exported by voice messaging;And/or,
Described colouring information is exported by video information.
6. method according to claim 1 is it is characterised in that described colouring information at least includes in following information Kind:RGB color passage numerical value, color designation.
7. method according to claim 6 is it is characterised in that the described colouring information of described output includes:
Predetermined registration operation is carried out for described image region;
Described colouring information is exported according to described predetermined registration operation.
8. a kind of colour indicating means are it is characterised in that include:
Selecting module, is configured to select to need to carry out the image-region of color instruction in image;
Determining module, is configured to determine that the colouring information in described image region;
Output module, is configured to export described colouring information.
9. device according to claim 8 is it is characterised in that described determining module includes:
Classification submodule, is configured to for described image region to be divided into one or more color regions according to the difference of color;
First determination sub-module, is configured to determine that the colouring information of each color region.
10. device according to claim 9 is it is characterised in that described classification submodule includes:
Extracting sub-module, is configured to extract each pixel in described image region;
Second determination sub-module, is configured to determine that the colouring information of each pixel;
Calculating sub module, is configured to the colouring information according to each pixel and calculates the color distance between pixel;
Divide submodule, the pixel being configured to for color distance to be in preset range is divided in same color region;
Described first determination sub-module is configured to make the colouring information meansigma methodss of pixel in described same color region Colouring information for this color region.
11. devices according to claim 10 are it is characterised in that described output module includes:
First output sub-module, is configured to export the colouring information of the maximum color region of area in described image region;With/ Or,
Second output sub-module, is configured to export the colouring information of the maximum pixel of accounting in described image region;With/ Or,
3rd output sub-module, is configured to arrange according to size descending for all of color region in described image region Row, and it is sequentially output the colouring information in respective color region.
12. devices according to claim 8 are it is characterised in that described output module includes:
4th output sub-module, is configured to text message and exports described colouring information;And/or,
5th output sub-module, is configured to voice messaging and exports described colouring information;And/or,
6th output sub-module, is configured to video information and exports described colouring information.
13. devices according to claim 8 are it is characterised in that described colouring information at least includes in following information Kind:RGB color passage numerical value, color designation.
14. devices according to claim 13 are it is characterised in that described output module includes:
Operation submodule, is configured to carry out predetermined registration operation for described image region;
7th output sub-module, is configured to export described colouring information according to described predetermined registration operation.
A kind of 15. colour indicating means are it is characterised in that include:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Select to need to carry out the image-region of color instruction in image;
Determine the colouring information in described image region;
Export described colouring information.
CN201610848618.2A 2016-09-23 2016-09-23 Color indicating means and device Pending CN106485759A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610848618.2A CN106485759A (en) 2016-09-23 2016-09-23 Color indicating means and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610848618.2A CN106485759A (en) 2016-09-23 2016-09-23 Color indicating means and device

Publications (1)

Publication Number Publication Date
CN106485759A true CN106485759A (en) 2017-03-08

Family

ID=58267457

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610848618.2A Pending CN106485759A (en) 2016-09-23 2016-09-23 Color indicating means and device

Country Status (1)

Country Link
CN (1) CN106485759A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107464267A (en) * 2017-07-20 2017-12-12 郑皓文 A kind of method for reporting screen display color names
CN107807121A (en) * 2017-10-20 2018-03-16 北京小米移动软件有限公司 The determination method and apparatus of testing result
CN108038889A (en) * 2017-11-10 2018-05-15 维沃移动通信有限公司 The processing method and mobile terminal of a kind of image color cast

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006057126A1 (en) * 2004-11-26 2006-06-01 Ryobi System Solutions Pixel processor
CN1848194A (en) * 2005-04-15 2006-10-18 陈国锋 Design method and apparatus for traffic indicating lamp
CN101889921A (en) * 2009-05-19 2010-11-24 北京保益互动科技发展有限公司 Method for assisting visual handicapped to identify color and system thereof
CN102739848A (en) * 2011-04-14 2012-10-17 上海三旗通信科技股份有限公司 Mobile phone for assistance recognition of achromate and method
CN103020994A (en) * 2012-11-29 2013-04-03 北京小米科技有限责任公司 Color indicating method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006057126A1 (en) * 2004-11-26 2006-06-01 Ryobi System Solutions Pixel processor
CN1848194A (en) * 2005-04-15 2006-10-18 陈国锋 Design method and apparatus for traffic indicating lamp
CN101889921A (en) * 2009-05-19 2010-11-24 北京保益互动科技发展有限公司 Method for assisting visual handicapped to identify color and system thereof
CN102739848A (en) * 2011-04-14 2012-10-17 上海三旗通信科技股份有限公司 Mobile phone for assistance recognition of achromate and method
CN103020994A (en) * 2012-11-29 2013-04-03 北京小米科技有限责任公司 Color indicating method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107464267A (en) * 2017-07-20 2017-12-12 郑皓文 A kind of method for reporting screen display color names
CN107807121A (en) * 2017-10-20 2018-03-16 北京小米移动软件有限公司 The determination method and apparatus of testing result
CN108038889A (en) * 2017-11-10 2018-05-15 维沃移动通信有限公司 The processing method and mobile terminal of a kind of image color cast

Similar Documents

Publication Publication Date Title
CN105117033B (en) The connection method of external equipment and device
CN105139415A (en) Foreground and background segmentation method and apparatus of image, and terminal
CN106355573A (en) Target object positioning method and device in pictures
CN106454336A (en) Method and device for detecting whether camera of terminal is covered or not, and terminal
US10181184B2 (en) Method and apparatus for identifying image type
CN107123081A (en) image processing method, device and terminal
CN107730448A (en) U.S. face method and device based on image procossing
CN107798314A (en) Skin color detection method and device
CN104934016B (en) Screen display method and device
CN106201833A (en) The methods of exhibiting of WiFi signal icon, device and mobile terminal
CN105225647A (en) Luminance regulating method and device
CN104182967B (en) image processing method, device and terminal
CN107392166A (en) Skin color detection method, device and computer-readable recording medium
CN106713696A (en) Image processing method and device
CN106485567A (en) Item recommendation method and device
CN107563994A (en) The conspicuousness detection method and device of image
CN106251369A (en) Image processing method and device
CN106485759A (en) Color indicating means and device
CN105825490A (en) Gaussian blur method and device of image
CN104599266B (en) The detection method in fog region, device and terminal in image
CN107845094A (en) Pictograph detection method, device and computer-readable recording medium
CN112463275A (en) Data processing method, terminal and storage medium
CN104407727B (en) screen protection method and device
CN105203456A (en) Plant species identification method and apparatus thereof
CN106557294A (en) Color adjustment method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170308