CN107239134A - Method and device for regulating and controlling cursor lamp - Google Patents

Method and device for regulating and controlling cursor lamp Download PDF

Info

Publication number
CN107239134A
CN107239134A CN201710417525.9A CN201710417525A CN107239134A CN 107239134 A CN107239134 A CN 107239134A CN 201710417525 A CN201710417525 A CN 201710417525A CN 107239134 A CN107239134 A CN 107239134A
Authority
CN
China
Prior art keywords
image
cursor lamp
cursor
lamp
value
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
CN201710417525.9A
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.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology 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 Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201710417525.9A priority Critical patent/CN107239134A/en
Publication of CN107239134A publication Critical patent/CN107239134A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0267Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0274Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method and a device for regulating and controlling a cursor lamp. The method comprises the following steps: after a user is monitored to trigger photographing search, starting a camera and a cursor lamp of the intelligent terminal; determining an image background area and a projection area of the cursor lamp in an image frame captured by the camera; determining image attribute comparison information according to the image attribute information of the projection area and the image background area; and regulating and controlling the light emitting state of the cursor lamp according to the image attribute comparison information. By the method, the power consumption rate of the intelligent terminal during working can be better reduced while the photographing and searching performance is effectively improved, the problem that the power consumption of the intelligent terminal is influenced due to the fact that the light emitting state of the cursor lamp is fixed and unchanged during photographing and searching is solved, and the user experience of the intelligent terminal is further improved.

Description

The regulation and control method and device of cursor lamp
Technical field
The present invention relates to the regulation and control method and device of Computer Applied Technology field, more particularly to cursor lamp.
Background technology
In recent years, intelligent terminal is had been widely used in the work of people, living and studying, to meet popular demand, Integrated application of function also gradually increases in intelligent terminal.Search of taking pictures is that a kind of function that intelligent terminal has at present should With the application of function can be projected by the camera capture images on intelligent terminal, and based on the cursor in the image captured To position target to be searched, the final search inquiry realized to target to be searched.
Usually, the cursor projection in captured images is typically based on the luminous realization of cursor lamp in intelligent terminal, and real It is the drop shadow effect of prominent cursor lamp in the application of border, generally by the brightness regulation of cursor lamp to most bright, but the brighter consumption of cursor lamp Electricity is bigger, thus significantly improves the energy consumption of intelligent terminal.
The content of the invention
In view of this, the embodiment of the present invention provides the regulation and control method and device of cursor lamp, because of light when being searched for solving to take pictures The problem of beacon light luminance immobilizes and influences intelligent terminal power consumption.
In a first aspect, the embodiments of the invention provide a kind of regulation and control method of cursor lamp, including:
After monitoring that user triggers search of taking pictures, start the camera and cursor lamp of intelligent terminal;
The view field of image background regions and the cursor lamp is determined in the picture frame that the camera is captured;
According to the view field and the image attributes information of image background regions, image attributes comparison information is determined;
According to described image attribute comparison information, regulate and control the luminance of the cursor lamp.
Second aspect, the embodiment of the present invention additionally provides a kind of regulation device of cursor lamp, including:
Function activation module, for after monitoring that user triggers search of taking pictures, starting the camera and light of intelligent terminal Beacon light;
Image-region determining module, for determining image background regions and described in the picture frame that the camera is captured The view field of cursor lamp;
Information determination module, for the image attributes information according to the view field and image background regions, it is determined that figure As attribute comparison information;
Condition regulation module, for according to described image attribute comparison information, regulating and controlling the luminance of the cursor lamp.
The regulation and control method and device of above-mentioned cursor lamp, first after monitoring that user triggers function of search of taking pictures, starts intelligence The camera and cursor lamp of energy terminal;Then the view field and image that cursor lamp is determined in the picture frame that camera is captured carry on the back Scene area;Image attributes comparison information is determined according to the image attributes information of view field and image background regions afterwards;Finally Regulate and control the luminance of cursor lamp according to image attributes comparison information.The embodiment of the present invention is by using above-mentioned technical proposal, energy It is enough that according to cursor lamp, corresponding view field and the image attributes comparison information of captured background image region are real in picture frame When regulate and control cursor lamp luminance, realize the Intelligentized regulating and controlling of cursor lamp luminance, effectively improving search of taking pictures Power consumption rate when preferably reduction intelligent terminal works while energy, further improves the Consumer's Experience of intelligent terminal.
Brief description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, of the invention is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is a kind of schematic flow sheet of the regulation and control method for cursor lamp that the embodiment of the present invention one is provided;
Fig. 2 is a kind of schematic flow sheet of the regulation and control method for cursor lamp that the embodiment of the present invention two is provided;
Fig. 3 is a kind of structured flowchart of the regulation device for cursor lamp that the embodiment of the present invention three is provided.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that, in order to just Part related to the present invention rather than full content are illustrate only in description, accompanying drawing.
Embodiment one
Fig. 1 is a kind of schematic flow sheet of the regulation and control method for cursor lamp that the embodiment of the present invention one is provided.This method is applicable The luminance of cursor lamp is adjusted in search of taking pictures the situation of control, wherein, this method can by cursor lamp tune Control device to perform, the device can be realized by software and/or hardware, and can typically be integrated in the intelligence for being provided with search cursor lamp of taking pictures In energy terminal.
In the present embodiment, the intelligent terminal can specifically refer to smart mobile phone, tablet personal computer, Intelligent bracelet and intelligent hand Table etc. has the electronic equipment for function of search of taking pictures, meanwhile, camera and cursor lamp are provided with the intelligent terminal, when this reality When the intelligent terminal applied in example is smart mobile phone or tablet personal computer, the camera is rear camera, the cursor lamp and institute Camera is stated to be disposed adjacent in same horizontal line;When the intelligent terminal is intelligent watch or Intelligent bracelet, the shooting Head and cursor lamp are disposed adjacent the tip side in intelligent terminal.
It should be noted that the present embodiment preferably suitable for learning process to being entered by intelligent terminal to difficult topic Row, which is taken pictures, searches for the application scenarios of corresponding answer or relevant explanation, but is not limited to the scene.Intelligent terminal is according to the present invention The regulation and control method for the cursor lamp that embodiment is provided, the function of search that can be based on taking pictures in user carries out taking pictures search to knotty problem The luminance of Shi Zhineng regulation and control cursor lamp.
As shown in figure 1, a kind of regulation and control method for cursor lamp that the embodiment of the present invention one is provided, including following operation:
S101, monitoring that user's triggering takes pictures after search, starting the camera and cursor lamp of intelligent terminal.
In the present embodiment, this step can monitor the functional diagram whether user triggers search of being taken pictures on intelligent terminal Mark, and can be after function of search is taken pictures in user's triggering, control camera and cursor lamp start.Meanwhile, the search of taking pictures also may be used The pressing of physics shortcut key is realized by user.
The camera is particularly used in the picture frame that capture includes target to be searched, and the cursor luminaire body can be used as mark Determine instrument and determine target to be searched for user, wherein, the cursor lamp can be laser lamp, and the cursor lamp can be based on system The brightness of acquiescence and color, which start, to light, and the brightness and color configured when can also be used based on the last time starts luminous.
It should be noted that when carrying out the search of study content by search of taking pictures, above-mentioned target to be searched is generally book Originally at least one word, word or figure or in training book etc., in addition, when carrying out search in kind, above-mentioned target to be searched can To be that some is specific in kind.
S102, the projected area for determining in the picture frame that the camera is captured image background regions and the cursor lamp Domain.
Usually, the detailed process of above-mentioned search of taking pictures can be described as, it is necessary first to by the way that camera is come preview and captures Picture frame, then determines the view field of cursor lamp in the picture frame captured, and using the view field as comprising treating Search for the image-region of target, afterwards can emphasis the image of the view field is identified, and entered according to the content recognized Row relevant search.
In the present embodiment, can to subject, (some be specific for interior perhaps in such as books according to the camera of startup Material object) carry out capture and obtain picture frame, specifically, by cursor lamp, the specific projection in described image frame is defined as figure to this step As the view field in frame, this step directly can regard the image-region in picture frame outside view field as image background area Domain, can also determine image background regions according to advance regional choice condition in described image frame.
S103, the image attributes information according to the view field and image background regions, determine that image attributes compares letter Breath.
In the present embodiment, described image attribute information specifically can be regarded as the basic feature information that image has, institute Stating image attributes information can include:It is the pixel of image, size, resolution ratio, locating depth, brightness, color character, color channel, right Than degree, saturation degree and level characteristics etc..This step can respectively be determined in picture frame by the characteristic recognition method of setting and thrown Image attributes information in the image attributes information and image background regions in shadow zone domain.
Described image attribute comparison information specifically can be regarded as the figure to view field in picture frame and image background regions The information determined after being compared as attribute information.It is understood that what can be had to above-mentioned two image-region is any Attribute information enters row information comparison, and its comparison result can regard image attributes comparison information as, exemplary, can be by projected area One kind that the difference of number of pixels is regarded as in image attributes comparison information in number of pixels and image background regions in domain is compared Information;Equally, the difference of the brightness value of view field and the brightness value of image background regions can also be regarded as to image attributes ratio To another comparison information in information.
S104, according to described image attribute comparison information, regulate and control the luminance of the cursor lamp.
In the present embodiment, described image attribute comparison information is particularly used in the above-mentioned two image-regions (projected area of reaction Domain and image background regions) there is difference between image attributes information.The luminance of the cursor lamp is specifically appreciated that It is luminosity and glow color when cursor lamp lights etc..
It is understood that the image attributes information gap that above-mentioned two image-region is present, equivalent to the reality of cursor lamp The difference existed between luminance and current subject.Exemplarily, if two image districts in image attributes comparison information There is larger difference in the brightness value in domain, then it is believed that the luminosity of cursor lamp exists with the ambient brightness that subject has Larger difference, although now intelligent terminal can be accurately positioned target to be searched in picture frame, presence is bright because cursor lamp Du Taigao and the possibility for increasing intelligent terminal power consumption;And for example, in image attributes comparison information two image-regions color character There is less difference (e.g., two color characters belong to same colour system) in value, then it is believed that the glow color and object of cursor lamp The actual color having of body is close, and now equally existing intelligent terminal can not be accurately positioned in picture frame with search target May.Thus, this step can be according to the image attributes comparison information of determination, the luminous shape that dynamic adjustment cursor lamp should have State.
The regulation and control method for the cursor lamp that the embodiment of the present invention one is provided, is monitoring that user's triggering takes pictures function of search first Afterwards, the camera and cursor lamp of intelligent terminal are started;Then the projected area of cursor lamp is determined in the picture frame that camera is captured Domain and image background regions;Determine that image attributes is compared according to the image attributes information of view field and image background regions afterwards Information;The final luminance for regulating and controlling cursor lamp according to image attributes comparison information.Using this method, it can be existed according to cursor lamp Corresponding view field and the image attributes comparison information real-time monitoring cursor lamp of captured background image region in picture frame Luminance, realizes the Intelligentized regulating and controlling of cursor lamp luminance, effectively improve take pictures search performance while it is more preferable Power consumption rate during intelligent terminal work is reduced, the Consumer's Experience of intelligent terminal is further improved.
Embodiment two
Fig. 2 is a kind of schematic flow sheet of the regulation and control method for cursor lamp that the embodiment of the present invention two is provided.The present invention is implemented Example two is optimized based on above-described embodiment, in the present embodiment, will be determined in the picture frame that the camera is captured The view field of image background regions and the cursor lamp, is further optimized for:Obtain the image that the camera is currently captured Frame;The view field of the cursor lamp is positioned in described image frame, and the image-region outside the view field is defined as Image background regions.
Further, described image attribute information includes:Brightness value and color character value;Accordingly, described in the basis View field and the image attributes information of image background regions, determine image attributes comparison information, are specifically optimized for:It is determined that described View field and the brightness value and color character value of image background regions;The view field of acquisition and described image are carried on the back The difference and image color difference value of the brightness value of scene area are defined as described image attribute comparison information.
On the basis of above-mentioned optimization, the present embodiment will adjust the cursor lamp according to described image attribute comparison information Luminance, be further optimized for:If the difference of the brightness value does not meet standard deviation scope, according to the brightness value Difference and setting brightness regulation table, determine the luminosity for the treatment of of the cursor lamp, and control the cursor lamp with described pending Brightness lights;If described image value of chromatism is less than standard color difference threshold, according to described image value of chromatism and the color of setting Difference regulation table, determines the glow color for the treatment of of the cursor lamp, and regulates and controls the cursor lamp and be based on described treating that glow color lights.
As shown in Fig. 2 a kind of regulation and control method for cursor lamp that the embodiment of the present invention two is provided, specifically includes following operation:
S201, monitoring that user's triggering takes pictures after search, starting the camera and cursor lamp of intelligent terminal.
Exemplarily, by taking intelligent watch as an example, this step monitors the function of search of taking pictures on user's triggering intelligent watch Afterwards, the camera and cursor lamp positioned at intelligent terminal top can be started, and shape of cursor lamp when being used based on the last time State setting starts.
The picture frame that S202, the acquisition camera are currently captured.
Exemplarily, when user views view field's alignment target to be searched of cursor lamp in image preview interface, By the triggering capture images frame of taking pictures of user, the picture frame currently captured is derived from.
S203, the view field for positioning in described image frame the cursor lamp, and by the image outside the view field Region is defined as image background regions.
The present embodiment will be view field in projective iteration of the cursor lamp in described image frame, while it is preferred that by image All image-regions outside Zheng Zhong view fields are defined as image background regions.Exemplarily, it is assumed that in the picture frame captured It is the word content in certain page, then the character area of covering is projected equivalent to view field by cursor lamp, outside view field Other character areas can regard image background regions as.
S204, the brightness value and color character value for determining the view field and image background regions.
The image attributes information of view field and the image attributes letter of image background regions are determined in the present embodiment respectively Breath, and brightness and color character of this implementation optimization described image attribute information for image, this step can be true according to characteristics of image Determine brightness value and color character value that method obtains view field and image background regions respectively.
S205, difference and image color difference value by the view field of acquisition and the brightness value of described image background area It is defined as described image attribute comparison information.
In this step, it can determine what two image-regions were present according to the brightness value and color character value determined in S204 The difference and image color difference value of brightness value, and thus as the image attributes comparison information of two image-regions.
S206 and S207 in the present embodiment show in particular by image attributes comparison information to cursor lamp luminance The operating procedure being adjusted, it is to be understood that following two steps can be carried out simultaneously, can also only perform wherein one Step.
If S206, the difference of the brightness value do not meet standard deviation scope, according to the difference of the brightness value and setting Brightness regulation table, determine the luminosity for the treatment of of the cursor lamp, and control the cursor lamp with it is described treat luminosity light.
In the present embodiment, the standard deviation scope is set previously according to historical experience value, specifically, by before Multi-pass operation, it may be determined that a rational cursor lamp luminosity and the difference of subject brightness are interval, as long as cursor lamp Luminosity and the subject brightness brightness value difference be in the difference it is interval in, then it is believed that cursor lamp it is luminous Brightness is normal luminous state;Otherwise, it is believed that the luminosity of cursor lamp does not meet standard setting, it is necessary to further adjust, Thus the difference interval can be defined as the standard deviation scope of the difference of brightness value in the present embodiment by the present embodiment.
In the present embodiment, when the difference of the brightness value does not meet the standard deviation scope, it is necessary to adjust cursor lamp Luminosity, this step can regulate and control according to default brightness regulation table to the luminosity of the cursor lamp.Wherein, institute Brightness regulation table is stated to set also according to historical experience value, the row record in the brightness regulation table illustrate a brightness value it Difference, or the difference of a brightness value interval, and its corresponding standard luminescent brightness.
Therefore, the present embodiment can be determined in the brightness regulation table and the brightness value difference match row record, Or the row record of the interval of the difference comprising the brightness value is searched, most determine that the standard luminescent in row record is bright at last Degree is defined as the luminosity for the treatment of of cursor lamp, and controls cursor lamp to treat that luminosity lights with described.It is understood that this reality When applying example and performing the step, the glow color of the cursor lamp may carry out color control by S207, or still keep The glow color set before, until reaching S207 decision condition.
If S207, described image value of chromatism are less than standard color difference threshold, according to described image value of chromatism and setting Aberration adjusts table, determines the glow color for the treatment of of the cursor lamp, and regulates and controls the cursor lamp and be based on described treating that glow color lights.
In the present embodiment, the standard color difference threshold is set previously according to historical experience value, specifically, by before Multi-pass operation, it may be determined that a rational cursor lamp glow color and the difference of subject color are interval, as long as cursor lamp The value of chromatism of glow color and the subject color be in the diff area, then it is believed that the glow color of cursor lamp For normal luminous state;Otherwise, it is believed that the glow color of cursor lamp does not meet standard setting, it is necessary to further adjust, thus The difference interval can be defined as the standard color difference threshold of the present embodiment aberration by the present embodiment.
In the present embodiment, when the value of chromatism does not meet the standard color difference threshold, it is necessary to adjust the hair of cursor lamp Light color, this step can regulate and control according to default aberration regulation table to the glow color of the cursor lamp.Wherein, the color Poor regulation table illustrates a value of chromatism also according to the row record lasted in empirical value setting, the aberration regulation table, or The interval of one value of chromatism, and its corresponding standard aberration brightness.
Thus, the present embodiment can determine the row record matched with the value of chromatism in the aberration adjusts table, or The row record of the interval comprising the value of chromatism is searched, most determines that the standard luminescent color in row record is defined as at last Cursor lamp treats glow color, and controls the cursor lamp to treat that glow color lights with described.It is understood that the present embodiment is performed During the step, the luminosity of the cursor lamp may carry out brightness control by S206, or still keep setting before Luminosity, until reaching S206 decision condition.
On the basis of above-described embodiment, for according to described image attribute comparison information, regulating and controlling the hair of the cursor lamp Light state, the present embodiment additionally provides another embodiment, specifically, and this kind of embodiment can be expressed as:
If the difference of the brightness value is less than the first given threshold, the luminosity of the cursor lamp is increased to first Brightness value;If the difference of the brightness value is more than the second given threshold, the luminosity of the cursor lamp is reduced to second Brightness value;If described image value of chromatism is less than standard color difference threshold, the glow color of the cursor lamp is adjusted to setting Alternative color.
In the present embodiment, when regulating and controlling the luminance of cursor lamp according to image attributes comparison information, except using above-mentioned Outside S206 and/or S207 concrete operations, proposed another way can also be passed through and realized.
Specifically, the present embodiment by the difference of the brightness value in image attributes comparison information and default first given threshold with And second given threshold be compared, first given threshold and the second given threshold also according to historical experience value set, When the difference of the brightness value is less than first given threshold, it is believed that the current luminosity of cursor lamp has with subject Difference before some ambient brightness is smaller, it is necessary to increase the luminosity of cursor lamp, therefore, and the present embodiment is by the hair of cursor lamp Brightness direct regulation and control increases to the first brightness value;In addition, when the difference of the brightness value is more than first given threshold, saying Beacon light current luminosity in Mingguang City's is sufficiently high, there is the possibility of increase intelligent terminal electric quantity consumption, it is necessary to reduce cursor lamp The luminosity direct regulation and control of cursor lamp is reduced to the second brightness value by luminosity, therefore, the present embodiment.
It is understood that first brightness value and the second brightness value are based on the setting of historical experience value, and the two Value exist identical may.
In addition, the present embodiment by the value of chromatism in image attributes comparison information and default standard color difference threshold (with S207 In standard color difference threshold be same decision content) be compared, the present embodiment value of chromatism be less than the standard color difference threshold when, Directly by the glow color regulation and control of cursor lamp to the alternative color of setting., can be by all and hair of cursor lamp currently in the present embodiment Light color is not belonging to the color of same colour system all as setting alternative color, and the present embodiment by the alternative color of setting be preferably with There is the color of maximum aberration value in current glow color.
If it should be noted that the difference and value of chromatism of the brightness value are met in above-mentioned another implementation simultaneously Decision condition, then description that can be in above-mentioned another implementation is entered to the luminosity and glow color of cursor lamp simultaneously Row regulation and control.
A kind of regulation and control method for cursor lamp that the embodiment of the present invention two is provided, specifically optimizes view field and the image back of the body The selected operation of scene area, while the acquisition operation of image attributes comparison information has been described in detail, also show in particular cursor lamp The regulation process of luminance.With specific reference to the image attributes that cursor lamp is actual in captured images frame in the embodiment of the present invention Information, obtains cursor lamp view field and the image attributes comparison information of other background areas, thus achieves cursor lamp and lights The intelligent adjustment of state.Using this method, intelligence can be preferably reduced eventually while effectively improving and taking pictures search performance Power consumption rate during work is held, solve influences intelligent terminal power consumption when taking pictures search because immobilizing cursor lamp luminance Problem, further improves the Consumer's Experience of intelligent terminal.
Embodiment three
Fig. 3 is a kind of structured flowchart of the regulation device for cursor lamp that the embodiment of the present invention three is provided.The device is applied to Take pictures and the situation of control is adjusted to the luminance of cursor lamp in searching for, wherein, the device can be real by software and/or hardware Now, it and can typically be integrated in and be provided with the intelligent terminal for search cursor lamp of taking pictures.As shown in figure 3, the device includes:Function is opened Dynamic model block 31, image-region determining module 32, information determination module 33 and condition regulation module 34.
Wherein, function activation module 31, for after monitoring that user triggers search of taking pictures, starting the shooting of intelligent terminal Head and cursor lamp;
Image-region determining module 32, for determining image background regions and institute in the picture frame that the camera is captured State the view field of cursor lamp;
Information determination module 33, for the image attributes information according to the view field and image background regions, it is determined that Image attributes comparison information;
Condition regulation module 34, for according to described image attribute comparison information, regulating and controlling the luminance of the cursor lamp.
In the present embodiment, the device is monitoring that user's triggering takes pictures after search by function activation module 31 first, Start the camera and cursor lamp of intelligent terminal;Then the image captured by image-region determining module 32 in the camera The view field of image background regions and the cursor lamp is determined in frame;Afterwards by information determination module 33 according to the projection Region and the image attributes information of image background regions, determine image attributes comparison information;Eventually through condition regulation module 34 According to described image attribute comparison information, regulate and control the luminance of the cursor lamp.
The cursor that the executable any embodiment of the present invention of the regulation device for the cursor lamp that the embodiment of the present invention three is provided is provided The regulation and control method of lamp, possesses the corresponding functional module of regulation and control method and beneficial effect for performing cursor lamp., can using the device According to cursor lamp, corresponding view field and the image attributes comparison information of captured background image region are real-time in picture frame Regulate and control the luminance of cursor lamp, realize the Intelligentized regulating and controlling of cursor lamp luminance, effectively improving search performance of taking pictures While preferably reduction intelligent terminal work when power consumption rate, further improve the Consumer's Experience of intelligent terminal.
Further, image-region determining module 32, specifically for:
Obtain the picture frame that the camera is currently captured;The projected area of the cursor lamp is positioned in described image frame Domain, and the image-region outside the view field is defined as image background regions.
On the basis of above-mentioned optimization, described image attribute information includes:Brightness value and color character value;
Accordingly, information determination module 33, are particularly used in:Determine the bright of the view field and image background regions Angle value and color character value;By the view field of acquisition and the difference and pattern colour of the brightness value of described image background area Difference is defined as described image attribute comparison information.
Further, condition regulation module 34, is particularly used in:
If the difference of the brightness value does not meet standard deviation scope, according to the difference of the brightness value and the brightness of setting Table is adjusted, the luminosity for the treatment of of the cursor lamp is determined, and controls the cursor lamp to treat that luminosity lights with described;If institute Image color difference value is stated less than standard color difference threshold, then table is adjusted according to described image value of chromatism and the aberration of setting, it is determined that described Cursor lamp treats glow color, and regulates and controls the cursor lamp and be based on described treating that glow color lights.
In such scheme, condition regulation module 34 can also be specifically for:
If the difference of the brightness value is less than the first given threshold, the luminosity of the cursor lamp is increased to first Brightness value;If the difference of the brightness value is more than the second given threshold, the luminosity of the cursor lamp is reduced to second Brightness value;If described image value of chromatism is less than standard color difference threshold, the glow color of the cursor lamp is adjusted to setting Alternative color.
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art it is various it is obvious change, Readjust and substitute without departing from protection scope of the present invention.Therefore, although the present invention is carried out by above example It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

1. a kind of regulation and control method of cursor lamp, it is characterised in that including:
After monitoring that user triggers search of taking pictures, start the camera and cursor lamp of intelligent terminal;
The view field of image background regions and the cursor lamp is determined in the picture frame that the camera is captured;
According to the view field and the image attributes information of image background regions, image attributes comparison information is determined;
According to described image attribute comparison information, regulate and control the luminance of the cursor lamp.
2. according to the method described in claim 1, it is characterised in that described that figure is determined in the picture frame that the camera is captured As background area and the view field of the cursor lamp, including:
Obtain the picture frame that the camera is currently captured;
The view field of the cursor lamp is positioned in described image frame, and the image-region outside the view field is defined as Image background regions.
3. method according to claim 1 or 2, it is characterised in that described image attribute information includes:Brightness value and color Characteristic value;
Accordingly, it is described according to the view field and the image attributes information of image background regions, determine that image attributes is compared Information, including:
Determine the brightness value and color character value of the view field and image background regions;
The difference and image color difference value of the view field of acquisition and the brightness value of described image background area are defined as institute State image attributes comparison information.
4. method according to claim 3, it is characterised in that described according to described image attribute comparison information, adjusts institute The luminance of cursor lamp is stated, including:
If the difference of the brightness value does not meet standard deviation scope, according to the difference of the brightness value and the brightness regulation of setting Table, determines the luminosity for the treatment of of the cursor lamp, and controls the cursor lamp to treat that luminosity lights with described;
If described image value of chromatism is less than standard color difference threshold, adjusted according to described image value of chromatism and the aberration of setting Table, determines the glow color for the treatment of of the cursor lamp, and regulates and controls the cursor lamp and be based on described treating that glow color lights.
5. method according to claim 3, it is characterised in that described according to described image attribute comparison information, adjusts institute The luminance of cursor lamp is stated, including:
If the difference of the brightness value is less than the first given threshold, the luminosity of the cursor lamp is increased into the first brightness Value;
If the difference of the brightness value is more than the second given threshold, the luminosity of the cursor lamp is reduced to the second brightness Value;
If described image value of chromatism is less than standard color difference threshold, the glow color of the cursor lamp is adjusted to setting alternative Color.
6. a kind of regulation device of cursor lamp, it is characterised in that including:
Function activation module, for after monitoring that user triggers search of taking pictures, starting the camera and cursor lamp of intelligent terminal;
Image-region determining module, for determining image background regions and the cursor in the picture frame that the camera is captured The view field of lamp;
Information determination module, for the image attributes information according to the view field and image background regions, determines that image belongs to Property comparison information;
Condition regulation module, for according to described image attribute comparison information, regulating and controlling the luminance of the cursor lamp.
7. device according to claim 6, it is characterised in that described image area determination module, specifically for:
Obtain the picture frame that the camera is currently captured;The view field of the cursor lamp is positioned in described image frame, and Image-region outside the view field is defined as image background regions.
8. the device according to claim 6 or 7, it is characterised in that described image attribute information includes:Brightness value and color Characteristic value;
Accordingly, described information determining module, specifically for:Determine the brightness value of the view field and image background regions With color character value;By the view field of acquisition and the difference and image color difference value of the brightness value of described image background area It is defined as described image attribute comparison information.
9. device according to claim 8, it is characterised in that the condition regulation module, specifically for:
If the difference of the brightness value does not meet standard deviation scope, according to the difference of the brightness value and the brightness regulation of setting Table, determines the luminosity for the treatment of of the cursor lamp, and controls the cursor lamp to treat that luminosity lights with described;
If described image value of chromatism is less than standard color difference threshold, adjusted according to described image value of chromatism and the aberration of setting Table, determines the glow color for the treatment of of the cursor lamp, and regulates and controls the cursor lamp and be based on described treating that glow color lights.
10. device according to claim 8, it is characterised in that the condition regulation module, specifically for:
If the difference of the brightness value is less than the first given threshold, the luminosity of the cursor lamp is increased into the first brightness Value;
If the difference of the brightness value is more than the second given threshold, the luminosity of the cursor lamp is reduced to the second brightness Value;
If described image value of chromatism is less than standard color difference threshold, the glow color of the cursor lamp is adjusted to setting alternative Color.
CN201710417525.9A 2017-06-06 2017-06-06 Method and device for regulating and controlling cursor lamp Pending CN107239134A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710417525.9A CN107239134A (en) 2017-06-06 2017-06-06 Method and device for regulating and controlling cursor lamp

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710417525.9A CN107239134A (en) 2017-06-06 2017-06-06 Method and device for regulating and controlling cursor lamp

Publications (1)

Publication Number Publication Date
CN107239134A true CN107239134A (en) 2017-10-10

Family

ID=59985416

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710417525.9A Pending CN107239134A (en) 2017-06-06 2017-06-06 Method and device for regulating and controlling cursor lamp

Country Status (1)

Country Link
CN (1) CN107239134A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109634027A (en) * 2019-01-04 2019-04-16 广东智媒云图科技股份有限公司 A kind of light-source brightness and the adjusting method and device of position
CN111935866A (en) * 2020-07-08 2020-11-13 武汉理工大学 Navigation mark brightness adjusting method, device and system based on light pollution evaluation

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104935850A (en) * 2015-06-25 2015-09-23 苏州市英富美欣科技有限公司 Self-adaptive projector based on image analysis
CN106126046A (en) * 2016-08-24 2016-11-16 广东小天才科技有限公司 Cursor brightness adjusting method and device
CN106249925A (en) * 2016-08-24 2016-12-21 广东小天才科技有限公司 Application program starting method and device
CN106293840A (en) * 2016-08-11 2017-01-04 广东小天才科技有限公司 Application program starting method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104935850A (en) * 2015-06-25 2015-09-23 苏州市英富美欣科技有限公司 Self-adaptive projector based on image analysis
CN106293840A (en) * 2016-08-11 2017-01-04 广东小天才科技有限公司 Application program starting method and device
CN106126046A (en) * 2016-08-24 2016-11-16 广东小天才科技有限公司 Cursor brightness adjusting method and device
CN106249925A (en) * 2016-08-24 2016-12-21 广东小天才科技有限公司 Application program starting method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109634027A (en) * 2019-01-04 2019-04-16 广东智媒云图科技股份有限公司 A kind of light-source brightness and the adjusting method and device of position
CN109634027B (en) * 2019-01-04 2020-11-10 广东智媒云图科技股份有限公司 Method and device for adjusting brightness and position of light source
CN111935866A (en) * 2020-07-08 2020-11-13 武汉理工大学 Navigation mark brightness adjusting method, device and system based on light pollution evaluation
CN111935866B (en) * 2020-07-08 2021-06-11 武汉理工大学 Navigation mark brightness adjusting method, device and system based on light pollution evaluation

Similar Documents

Publication Publication Date Title
US20210329208A1 (en) Illuminant estimation referencing facial color features
USRE47960E1 (en) Methods and devices of illuminant estimation referencing facial color features for automatic white balance
US10237490B2 (en) Shooting method and shooting device for dynamic image
CN108882439A (en) Illumination control method and illumination equipment
CN103455790B (en) A kind of skin identification method based on complexion model
US8285133B2 (en) Dynamic lighting control in hybrid camera-projector device
CN110809120B (en) Light supplementing method for shot picture, smart television and computer readable storage medium
CN114596620B (en) Light supplement control method, device and equipment for face recognition equipment and storage medium
US10965924B2 (en) Correlating illuminant estimation by a plurality of cameras
CN108289173A (en) A kind of camera shooting control method, device, terminal device and storage medium
CN208013970U (en) A kind of living creature characteristic recognition system
CN111601373A (en) Backlight brightness control method and device, mobile terminal and storage medium
CN107239134A (en) Method and device for regulating and controlling cursor lamp
CN110163816B (en) Image information processing method and device, storage medium and electronic equipment
CN105704395A (en) Shooting method and shooting device
CN111179877B (en) Screen display effect adjusting method, mobile device and storage device
WO2016078440A1 (en) Method and apparatus for controlling screen of mobile terminal
CN109246302A (en) A kind of app theme method of adjustment and system based on mobile phone shell
US8270715B2 (en) Method for correcting red-eye
JP2024519020A (en) Photographing method and device
CA2759721C (en) Dynamic lighting control in hybrid camera - projector device
CN114286004A (en) Focusing method, shooting device, electronic equipment and medium
CN113572955A (en) Image processing method and device and electronic equipment
CN112804914A (en) Mirror
CN111345030A (en) Photographing method and photographing system based on intelligent terminal

Legal Events

Date Code Title Description
PB01 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: 20171010