WO2020019131A1 - Method and apparatus for determining light ray information, and electronic device - Google Patents

Method and apparatus for determining light ray information, and electronic device Download PDF

Info

Publication number
WO2020019131A1
WO2020019131A1 PCT/CN2018/096689 CN2018096689W WO2020019131A1 WO 2020019131 A1 WO2020019131 A1 WO 2020019131A1 CN 2018096689 W CN2018096689 W CN 2018096689W WO 2020019131 A1 WO2020019131 A1 WO 2020019131A1
Authority
WO
WIPO (PCT)
Prior art keywords
sub
picture
light
pictures
determining
Prior art date
Application number
PCT/CN2018/096689
Other languages
French (fr)
Chinese (zh)
Inventor
菲永奥利维尔
李建亿
Original Assignee
太平洋未来科技(深圳)有限公司
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 太平洋未来科技(深圳)有限公司 filed Critical 太平洋未来科技(深圳)有限公司
Priority to PCT/CN2018/096689 priority Critical patent/WO2020019131A1/en
Priority to CN201810904510.XA priority patent/CN109005362B/en
Publication of WO2020019131A1 publication Critical patent/WO2020019131A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/71Circuitry for evaluating the brightness variation

Definitions

  • the present invention relates to the field of image processing technology, and in particular, to a method, a device, and an electronic device for determining light information.
  • Augmented Reality (AR) technology is a technology that calculates the position and angle of a camera image in real time, adds corresponding images, videos, and 3D models, and sets the virtual world on the screen to interact with the real world.
  • AR devices users can sense the existence of virtual objects.
  • the inventors found that in the process of implementing the present invention, since the virtual objects are all generated by a computer in advance, it is impossible to obtain the environmental information of the scene of the user during use, or to accurately detect the light intensity and Orientation and therefore cannot match the scene in the video or real world.
  • the method, device, and electronic device for determining light information provided by the embodiments of the present invention are used to solve at least the foregoing problems in related technologies.
  • An embodiment of the present invention provides a method for determining light information, including:
  • calculating the light intensity and light angle of each of the sub-pictures to obtain the light information corresponding to the target picture includes: determining a weight value corresponding to each of the sub-pictures; The vector of the light angles of the sub-pictures is weighted and summed to obtain the light angle corresponding to the target picture; an average light intensity is obtained according to the light intensity of each of the sub-pictures as the light intensity corresponding to the target picture.
  • the method further includes: determining whether the light intensity of the sub-picture is in a first preset range; if it is not in the first preset range, then Culling the sub-picture.
  • the method further includes: Whether the light of the sub-picture comes from the ground; if it is from the ground, the sub-picture is removed.
  • the method further comprises: calculating a confidence factor according to a vector of the weight value and the ray angle; and adjusting the weight value according to the confidence factor.
  • Another aspect of the embodiments of the present invention provides a device for determining light information, including:
  • An acquisition module is configured to acquire a target picture and decompose the target picture into a first preset number of sub-pictures, where the sub-pictures are composed of a second preset number of pixels; a first determination module is configured to determine all The light intensity of the sub-picture is calculated, and the image moment is calculated to determine the light-intensity weighting center of the sub-picture; the second determining module is configured to determine the weighting center of the sub-picture according to the light-intensity center of the sub-picture and the geometric center of the sub-picture The light angle of the sub-picture; a calculation module configured to calculate the light intensity and the light angle of each of the sub-pictures to obtain the light information corresponding to the target picture.
  • the calculation module includes: a first determination unit for determining a weight value corresponding to each of the sub-pictures; and a weighted summation unit for a vector of a light angle of each of the sub-pictures according to the weight value Performing weighted summation to obtain the light angle corresponding to the target picture; a second determining unit, configured to obtain an average light intensity according to the light intensity of each of the sub-pictures, as the light intensity corresponding to the target picture.
  • the first determining module is further configured to determine whether the light intensity of the sub-picture is in a first preset range; if not, the sub-picture is eliminated.
  • the second determining module is further configured to determine whether the light of the sub-picture comes from the ground according to the light angle of the sub-picture; if it is from the ground, remove the sub-picture.
  • the apparatus further includes an adjustment module, the adjustment module is configured to calculate a confidence factor according to the weight value and the vector of the light angle; and adjust the weight value according to the confidence factor.
  • Another aspect of the embodiments of the present invention provides an electronic device, including: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a memory that can be used by the at least one processor An instruction that is executed by the at least one processor, so that the at least one processor can execute the method for determining light information according to any one of the foregoing.
  • the electronic device is a mobile phone, and the obtaining of the target picture in the method for determining light information is implemented by the mobile phone.
  • the mobile phone includes a front panel with a display screen and a mobile phone back cover; a middle and lower part of the mobile phone back cover is provided with a recessed area, and a support plate adapted to the shape and size of the recessed area is installed in the recessed area; The upper end of the support plate is hinged with the recessed area, so that the support plate can be rotated to a predetermined angle with the back cover of the mobile phone; a lower end of the support plate is provided with a connecting piece, and one end of the connecting piece and The support plate is soft-connected, and the other end is provided with a plugging portion adapted to the shape and size of the mobile phone charging interface, and the plugging portion is mated with the mobile phone charging interface;
  • the support plate includes a first plate body, a second plate body, a first connection plate, a second connection plate, and a link, the first plate body, the first connection plate, the second connection plate, and the second The plates are sequentially connected to form a plate; the first plate has opposite first and second ends, the second plate has opposite third and fourth ends, and the link includes a first A rod body and a second rod body, opposite ends of the first rod body are hinged to the first end and the third end, respectively, and opposite ends of the second rod body are respectively connected to the second end and the fourth end End-to-phase hinge, wherein the first rod body and the second rod body are both disposed on a side of the support plate away from the front panel; the first connection plate and the second connection plate are located on the first Between the plate body and the second plate body, one side of the first connection plate is hinged to one side of the first plate body, and one side of the second connection plate is opposite to one side of the second plate body.
  • the other side of the first connection plate is hinged with the other side of the second connection plate, the first connection plate and the second connection plate
  • the first plate is provided on a side of the support plate close to the front plate; the first plate is provided with a first portion disposed along a thickness direction of the first plate, and the first portion is located at a hinge between the first plate and the link. And between the first plate body and the hinge of the first connecting plate; the second plate body is provided with a second portion provided along its thickness direction, and the second portion is located on the second plate
  • the first portion, the second portion, the first connecting plate, the second connecting plate, and the connecting rod form five Rod body mechanism.
  • the recessed area includes a bottom wall and a side wall, and the bottom wall and / or the side wall is provided with a ventilation structure, and the ventilation structure is a plurality of ventilation holes or ventilation grilles.
  • the connecting member is made of rubber.
  • each of the first end, the second end, the third end, and the fourth end is provided with a recessed portion, and opposite ends of the first rod body are respectively disposed in the recessed portion of the first end and the first end.
  • the opposite ends of the second rod body are respectively placed in the recessed portion of the third end and the recessed portion of the fourth end.
  • the method, device, and electronic device for determining light information provided by the embodiments of the present invention do not need to obtain environmental information, location, and time of pictures or videos in advance, and do not need to collect or mark face images or other specific information.
  • the method provided by the embodiment of the present invention has lower cost, and is more convenient and accurate.
  • the mobile phone with a support plate provided in the method for determining the light information provided by the embodiment of the present invention can make the mobile phone shoot and play more smoothly and more conveniently. It not only improves the quality of obtaining the target picture in the method of determining the light information, but also can be used separately from the above method.
  • FIG. 1 is a flowchart of a method for determining light information according to an embodiment of the present invention
  • FIG. 2 is a light intensity weighted center and a weighted center coordinate position map of a sub-picture provided by an embodiment of the present invention
  • step S104 is a specific flowchart of step S104 provided by an embodiment of the present invention.
  • FIG. 4 is a structural diagram of a device for determining light information according to an embodiment of the present invention.
  • FIG. 5 is a structural diagram of a device for determining light information according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of a hardware structure of an electronic device that executes a method for determining light information provided by an embodiment of a method of the present invention
  • FIG. 7 is a schematic structural diagram of a mobile phone for obtaining a target picture in a method for determining light information according to an embodiment of the present invention
  • FIG. 8 is an exploded view of a mobile phone support plate for obtaining a target picture in a method for determining light information according to an embodiment of the present invention
  • FIG. 9 is a schematic diagram of a mobile phone support plate in a supported state for obtaining a target picture in a method for determining light information according to an embodiment of the present invention.
  • FIG. 10 is an enlarged view of part A of FIG. 9;
  • FIG. 11 is an enlarged view of a portion B of FIG. 9;
  • FIG. 12 is a schematic diagram of a mobile phone supporting plate for acquiring a target picture in a method for determining light information according to an embodiment of the present invention in a folded state.
  • FIG. 1 is a flowchart of a method for determining light information according to an embodiment of the present invention. As shown in FIG. 1, a method for determining light information provided by an embodiment of the present invention includes:
  • the target picture may be a certain frame in a video or a single picture frame captured from a camera, which is not limited in the present invention.
  • the acquisition timing may be based on a user's operation instruction, or when the scene of the video meets a preset requirement or condition.
  • the target picture is decomposed into a first preset number of small square grid elements composed of a preset size, and each small square grid element is used as a sub-picture, where The sub-picture is composed of a second preset number of pixels.
  • the target picture can be decomposed into C columns and R rows (where C and R are integers, and C ⁇ 2, R ⁇ 2) to obtain multiple sub-pictures, each of which consists of p pixels.
  • the target picture can be extracted with grayscale, and the influence of the color on the light intensity acquisition can also be avoided.
  • S102 Determine a light intensity of the sub-picture, and calculate an image moment to determine a light-intensity weighting center of the sub-picture.
  • the light intensity corresponding to the sub-picture is obtained according to the contrast information and the like. After the light intensity is determined, it is determined whether the light intensity of the sub-picture is in a first preset range, and if it is not in the first preset range, the sub-picture is eliminated.
  • a sub-picture with too high contrast may be a part of the outline of the target picture, which brings noise to subsequent calculations, so it needs to be removed and filtered.
  • An analysis may be performed on multiple pictures in advance to determine a contrast range corresponding to an image belonging to an important information part of the picture, and the range is used as the first preset range.
  • An image moment is a set of moments calculated from digital graphics. It usually describes the global features of the image and provides a lot of information about the different types of geometric features of the image, such as size, position, direction, and shape. For example: First-order moments are related to shape; second-order moments show the degree of expansion of a curve around a straight line average; third-order moments are a measure of the symmetry of the mean; second- and third-order moments can be used to derive a set of seven
  • Moment invariant and invariant moment are the statistical characteristics of the image, which meet the invariant invariance of translation, expansion and rotation.
  • geometric invariant moment can be used as an important feature to represent an object.
  • the above-mentioned first, second, third and third moments and the seven invariant moments derived from the second and third moments all have specific calculation formulas. According to these formulas, determining the light intensity weighting center belongs to common technical knowledge in the field. The present invention will not repeat them here.
  • the light intensity weighting center g is determined by the image moment, and its coordinate position in the sub-image is (x g , y g ).
  • Vector from geometric center c to weighted center g The direction of is the result of being affected by light, which provides us with a local light effect indication of the target picture location where the sub-picture is located.
  • vectors represents the direction of the light
  • d represents the modulus of the vector cg ⁇ represents the light angle of the sub-picture.
  • the light intensity of all the sub-pictures is calculated to obtain the light intensity of the target picture, and the light angles of all the sub-pictures are calculated.
  • the light angle of the target picture is obtained.
  • the light angle of the target picture and the light intensity of the target picture are light information corresponding to the target picture.
  • this step may be performed by the following sub-steps:
  • a weight value corresponding to each sub-picture may be determined according to a vector mode of a light angle corresponding to each sub-picture, and / or a light angle, and / or previous experience.
  • a confidence factor may be calculated according to a weight value corresponding to each sub-picture and a vector of a light angle corresponding to each sub-picture.
  • the weight value is Make adjustments.
  • the confidence factor is a ratio of the vector sum of the angle of the light rays to the sum of the weight values.
  • the confidence factor can indicate whether the weight value matches the trend of the vector. The closer the confidence factor is to 1, this indicates that the weight value The more appropriate.
  • the confidence factor is less than the preset value, it means that the determined weight value is inappropriate. At this time, the weight value needs to be adjusted. After the adjustment, a new confidence factor is calculated and tested according to the above method until the new confidence factor can be greater than the preset threshold. .
  • S1042 Perform weighted summation on a vector of light angles of the sub-pictures according to the weight value to obtain a light angle corresponding to the target picture.
  • the length of the light angle vector of each sub-picture is determined according to the weight value, and then the vectors determined by each length are added to obtain a vector of the light angle corresponding to the target picture, and according to the light corresponding to the target picture
  • the vector of angles can be obtained according to the method described in step S103.
  • S1043 Obtain an average light intensity according to the light intensity of each of the sub-pictures, as the light intensity corresponding to the target picture.
  • the light intensity is a scalar
  • the light intensity of each sub-picture needs to be added to obtain an average value
  • the average value is the light intensity corresponding to the target image.
  • the method for determining light information provided by the embodiment of the present invention does not need to obtain environmental information, location, and time of a picture or a video in advance, and does not need to collect and mark a face image or other specific hardware resources. In areas without light, this method can also be used to obtain the light intensity. Compared with the prior art, the method provided by the embodiment of the present invention has lower cost, and is more convenient and accurate.
  • FIG. 4 is a structural diagram of a device for determining light information according to an embodiment of the present invention. As shown in FIG. 3, the device specifically includes: an acquisition module 100, a first determination module 200, a second determination module 300, and a calculation module 400. among them,
  • An obtaining module 100 is configured to obtain a target picture and decompose the target picture into a first preset number of sub-pictures, where the sub-pictures are composed of a second preset number of pixels; a first determining module 200 is configured to: Determine the light intensity of the sub-picture, and calculate the image moment to determine the light-intensity weighting center of the sub-picture; the second determination module 300 is configured to determine the light-intensity weighting center of the sub-picture and the geometry of the sub-picture The center determines the light angle of the sub-picture; a calculation module 400 is configured to calculate the light intensity and the light angle of each of the sub-pictures to obtain the light information corresponding to the target picture.
  • the apparatus for determining light information provided in the embodiment of the present invention is specifically configured to execute the method provided in the embodiment shown in FIG. 1 and FIG. 2, and the implementation principles, methods, and functional uses thereof are similar to the embodiments shown in FIG. 1 and FIG. 2. , Will not repeat them here.
  • FIG. 5 is a structural diagram of a device for determining light information according to an embodiment of the present invention. As shown in FIG. 5, the device specifically includes: an acquisition module 100, a first determination module 200, a second determination module 300, and a calculation module 400. among them,
  • An obtaining module 100 is configured to obtain a target picture and decompose the target picture into a first preset number of sub-pictures, where the sub-pictures are composed of a second preset number of pixels; a first determining module 200 is configured to: Determine the light intensity of the sub-picture, and calculate the image moment to determine the light-intensity weighting center of the sub-picture; the second determination module 300 is configured to determine the light-intensity weighting center of the sub-picture and the geometry of the sub-picture The center determines the light angle of the sub-picture; a calculation module 400 is configured to calculate the light intensity and the light angle of each of the sub-pictures to obtain the light information corresponding to the target picture.
  • the calculation module 400 includes: a first determining unit 410, configured to determine a weight value corresponding to each of the sub-pictures; and a weighted summation unit 420, configured to perform a light angle on each of the sub-pictures according to the weight value The weighted sum of the vectors is obtained to obtain the light angle corresponding to the target picture.
  • the second determining unit 430 is configured to obtain an average light intensity according to the light intensity of each of the sub-pictures as the light intensity corresponding to the target picture.
  • the first determining module 200 is further configured to determine whether the light intensity of the sub-picture is in a first preset range; if not, the sub-picture is eliminated.
  • the second determining module 300 is further configured to determine whether the light of the sub-picture comes from the ground according to the light angle of the sub-picture; if it is from the ground, remove the sub-picture.
  • the apparatus further includes an adjustment module (not shown in the figure), the adjustment module is configured to calculate a confidence factor according to a vector of the weight value and the light angle; The weight value is adjusted.
  • the adjustment module is configured to calculate a confidence factor according to a vector of the weight value and the light angle; The weight value is adjusted.
  • the device for determining light information provided by the embodiment of the present invention is specifically configured to execute the method provided by the embodiment shown in FIG. 1 to FIG. 3, and the implementation principles, methods, and functional uses thereof are similar to the embodiments shown in FIG. 1-3. I will not repeat them here.
  • the above-mentioned apparatus for determining light information in the embodiments of the present invention may be used as one of the software or hardware functional units, which is independently provided in the above-mentioned electronic device, or may be used as one of the functional modules integrated in the processor to execute the embodiments of the present invention.
  • Method for determining light information may be used as one of the software or hardware functional units, which is independently provided in the above-mentioned electronic device, or may be used as one of the functional modules integrated in the processor to execute the embodiments of the present invention.
  • FIG. 6 is a schematic diagram of a hardware structure of an electronic device that executes a method for determining light information provided by an embodiment of a method of the present invention.
  • the electronic device includes:
  • One or more processors 610 and a memory 620 are taken as an example in FIG. 6.
  • the device for performing the method for determining light information may further include an input device 630 and an output device 630.
  • the processor 610, the memory 620, the input device 630, and the output device 640 may be connected through a bus or other methods. In FIG. 6, the connection through the bus is taken as an example.
  • the memory 620 is a non-volatile computer-readable storage medium, and can be used to store non-volatile software programs, non-volatile computer executable programs, and modules, such as the method for determining light information in the embodiment of the present invention. Corresponding program instructions / modules.
  • the processor 610 executes various functional applications and data processing of the server by running non-volatile software programs, instructions, and modules stored in the memory 620, that is, a method for determining the light information.
  • the memory 620 may include a storage program area and a storage data area, where the storage program area may store an operating system and an application program required for at least one function; the storage data area may store the use of the light information determining device provided according to the embodiment of the present invention Data created, etc.
  • the memory 620 may include a high-speed random access memory 620, and may further include a non-volatile memory 620, such as at least one magnetic disk memory 620, a flash memory device, or other non-volatile solid-state memory 620.
  • the memory 620 may optionally include a memory 620 remotely disposed with respect to the processor 66, and these remote memories 620 may be connected to the light information determining device through a network. Examples of the above network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
  • the input device 630 may receive inputted numeric or character information, and generate key signal inputs related to user settings and function control of the light information determining device.
  • the input device 630 may include a device such as a pressing module.
  • the one or more modules are stored in the memory 620, and when executed by the one or more processors 610, perform a method for determining the light information.
  • the electronic devices in the embodiments of the present invention exist in various forms, including but not limited to:
  • Mobile communication equipment This type of equipment is characterized by mobile communication functions, and its main goal is to provide voice and data communication.
  • Such terminals include: smart phones (such as iPhone), multimedia phones, feature phones, and low-end phones.
  • Ultra-mobile personal computer equipment This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has the characteristics of mobile Internet access.
  • Such terminals include: PDA, MID and UMPC devices, such as iPad.
  • Portable entertainment equipment This type of equipment can display and play multimedia content.
  • Such devices include: audio and video players (such as iPod), handheld game consoles, e-books, as well as smart toys and portable car navigation devices.
  • the electronic device in this embodiment may be a mobile phone with a supporting structure.
  • the mobile phone may be used to obtain a target picture in the method for determining light information in the foregoing embodiment.
  • the mobile phone is provided with a support plate on the back cover, which can make the mobile phone support stably, and is stable enough when acquiring target images and videos, thereby obtaining high-quality target pictures, and laying a foundation for subsequent processing of the target pictures.
  • the mobile phone's built-in support plate prevents the user from using a mobile phone case with a stand and an externally sticky stand, which facilitates the heat dissipation of the mobile phone, improves the aesthetics, and solves the fatigue caused by the user holding the mobile phone for a long time.
  • the mobile phone includes a front panel with a display screen (not shown in the figure) and a mobile phone back cover 1000; a middle and lower part of the mobile phone back cover 1000 is provided with a recessed area 1100, and the recessed area 1100 is inside
  • a support plate 2000 adapted to the shape and size of the recessed area 1100 is installed; the upper end of the support plate 2000 is hinged to the recessed area 1100 so that the support plate 2000 can be rotated to the mobile phone back cover 1000 is a preset angle.
  • the upper end of the support plate 2000 in this embodiment may have a rotating shaft, and the upper end of the recessed portion has a shaft hole adapted to the rotating shaft. The cooperation between the rotating shaft and the shaft hole is used to realize the support plate 2000. It can be rotated, of course, other rotating mechanisms with simpler structures are also within the optional range of this embodiment.
  • a connection piece 3000 is provided at the lower end of the support plate 2000.
  • One end of the connection piece 3000 is soft-connected to the support plate 2000 and the other end has A plugging portion 310 adapted to the shape and size of the mobile phone charging interface 4000.
  • the plugging portion 310 is mated with the mobile phone charging interface 4000.
  • the connecting member 3000 in this embodiment is made of rubber. The use of rubber not only has good deformation ability, but also has low cost and is easy to implement.
  • a rotatable support plate is provided in the recessed area of the back cover of the mobile phone, which can support the mobile phone side by side to meet the user's requirements.
  • the lower end of the support plate is fixed by connecting with the charging interface of the mobile phone, and it can also protect the charging interface and improve the functionality of the support plate.
  • the expansion of the support plate in this embodiment is also very convenient. It only needs to be pulled out from the charging port of the mobile phone.
  • the existing support plate cannot play the role of fixing the mobile phone. Therefore, the inventor made further improvements to the above-mentioned support plate structure.
  • the support plate 2000 in this embodiment specifically includes a first plate body 2100, a second plate body 2200, a first connection plate 2300, a second connection plate 2400, and a connecting rod 2500.
  • the first plate body 2100, the first connection plate 2300, the second connection plate 2400, and the second plate body 2200 are sequentially connected to form a plate body.
  • the first plate body 2100 has opposite first ends and second ends (i.e., FIG.
  • the second plate body 2200 has opposite third and fourth ends (ie, the upper and lower ends in the figure), and the link 2500 includes a first rod body 2510 and a second rod body 2520, opposite ends of the first rod body 2510 are hinged to the first end and the third end, respectively, and opposite ends of the second rod body 2520 are respectively connected to the second end and the fourth end Phase articulation, wherein the first rod body 2510 and the second rod body 2520 are both disposed on a side of the support plate away from the front panel.
  • the number of the connecting rods 2500 in this embodiment may also be one, and two ends of one connecting rod 2500 are respectively connected to the first and second ends, or two ends of one connecting rod 2500 are respectively connected to the first and second ends.
  • the three ends are connected to the fourth end, or one end of a link 2500 is connected to the middle of one side of the first plate 2100, and the other end is connected to the middle of one side of the second plate 2200.
  • the first connection The plate 2300 and the second connection plate 2400 are separate structures, that is, the first connection plate 2300 and the second connection plate 2400 are each composed of two plate-shaped members.
  • Above a link 2500 is the first connection plate 2300 and the second connection One plate-like member of the plate 2400, and below the link 2500 is another plate-like member of the first connection plate 2300 and the second connection plate 2400.
  • first connection plate 2300 and the second connection plate 2400 in this embodiment are located between the first plate body 2100 and the second plate body 2200, and one side of the first connection plate 2300
  • One side of the first plate body 2100 is hinged
  • one side of the second connection plate 2400 is hinged with one side of the second plate body 2200
  • the other side of the first connection plate 2300 is connected to the second plate
  • the other side of the connection plate 2400 is hinged, wherein the first connection plate 2300 and the second connection plate 2400 are disposed on a side of the support plate 2000 near the front panel.
  • the first plate body 2100 in this embodiment is provided with a first portion 2110 disposed along a thickness direction thereof, and the first portion 2110 is located in the first plate body 2100 and the connecting rod 2500.
  • the second plate body 2200 is provided with a second portion 2210 disposed along the thickness direction of the second plate body 2200, and the second portion 2210 is located between the hinge between the second plate body 2200 and the connecting rod 2500 and the hinge between the second plate body 2200 and the second connecting plate 2400; the first portion 2110, the second portion 2210, the first portion A connecting plate 2300, a second connecting plate 2400, and a connecting rod 2500 form a five-bar mechanism.
  • the above structure forms a five-bar mechanism through the first portion 2110, the second portion 2210, the first connection plate 2300, the second connection plate 2400, and the connecting rod 2500.
  • the entire support plate 2000 structure is rotated to a certain angle.
  • the first rod body 2510 and the second rod body 2520 are both disposed on a side of the support plate 2000 away from the front panel, and the first connection plate 2300 and the second connection plate 2400 are disposed on a side of the support plate 2000 near the front panel.
  • the five-link 2500 mechanism is at the first dead point position.
  • the first plate 2100 and the first plate 2100, the first connection plate 2300, and the second connection The plate 2400 cannot be rotated, and the dead point position can only be opened by an external force near the front panel, which can ensure that the support plate 2000 is always a plate structure, which provides a stable support for the mobile phone.
  • the first connecting plate and the second plate 2200 can be folded.
  • the first connecting plate 2300 and the first connecting plate 2300 are rotated to the second dead point and the first connecting plate 2300.
  • the second connecting plate 2400 can form a finger receiving portion for inserting a finger into the finger receiving portion, and can fix the mobile phone on a human hand to prevent the user from being crowded and colliding during use, causing the mobile phone to fall.
  • the support plate 2000 not only plays a supporting role, but also plays a role of fixing the mobile phone, which greatly improves its functionality.
  • phase articulation between the two components described above may be provided with a shaft hole in one component, and a rotation shaft, a rotation shaft and a shaft hole matched with the shaft hole in the other component. Together, they form a rotating mechanism so that the two components can rotate relative to each other.
  • the material of the first connection plate 2300 and the second connection plate 2400 can be selected to have a certain deformability, such as soft plastic.
  • a certain deformability such as soft plastic.
  • the first end, the second end, the third end, and the fourth end of the embodiment are each provided with a recess 2600, and the opposite ends of the first rod body 2510 are respectively disposed in the recesses.
  • opposite ends of the second rod body 2520 are respectively placed in the recessed portion 2600 of the third end and the recessed portion 2600 of the fourth end.
  • the connecting rod 2500 mechanism is provided in the board body through the recessed portion, so that the connecting rod 2500 mechanism, the board body, and the connecting plate together form a board body structure, which improves the integrity of the entire supporting plate 2000 and facilitates the installation of the supporting plate 2000.
  • the recessed area 1100 specifically includes a bottom wall and a side wall.
  • the bottom wall is provided with a ventilation structure 1110, and the ventilation structure 1110 may be a plurality of The ventilation hole and the ventilation structure 1110 may be provided with a ventilation grille on the bottom wall.
  • the design of the ventilation holes and the ventilation grille can enhance the heat dissipation effect of the mobile phone when the support plate 2000 is in a supported state or a folded state, thereby extending the service life of the mobile phone.
  • An embodiment of the present invention provides a non-transitory computer-readable storage storage medium, where the computer storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by an electronic device, the electronic device is caused
  • the method for determining light information in any of the foregoing method embodiments is performed on the above.
  • An embodiment of the present invention provides a computer program product, wherein the computer program product includes a computer program stored on a non-transitory computer-readable storage medium, the computer program includes program instructions, and when the program instructions When executed by an electronic device, the electronic device is caused to execute the method for determining light information in any of the foregoing method embodiments.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Telephone Set Structure (AREA)

Abstract

A method and apparatus for determining light ray information, and an electronic device. The method comprises: acquiring a target picture, and dividing the target picture into a first preset number of sub-pictures (S101), wherein each of the sub-pictures is composed of a second preset number of pixels; determining the light ray intensity of each of the sub-pictures, and calculating an image moment to determine a light intensity weighting center of the sub-picture (S102); determining, according to the light intensity weighting center of the sub-picture and a geometric center of the sub-picture, a light ray angle of the sub-picture (S103); and respectively calculating the light ray intensity and the light ray angle of the sub-pictures to obtain light ray information corresponding to the target picture (S104). In the method, environmental information, the position and the time of a picture or a video do not need to be pre-acquired, and collection and labeling of a face image or other specific hardware resources are not needed, and the light ray intensity can also be acquired in an area without light. Compared with the prior art, the method is lower in costs and is more convenient and accurate.

Description

光线信息的确定方法、装置及电子设备Method, device and electronic equipment for determining light information 技术领域Technical field
本发明涉及图像处理技术领域,尤其涉及一种光线信息的确定方法、装置及电子设备。The present invention relates to the field of image processing technology, and in particular, to a method, a device, and an electronic device for determining light information.
背景技术Background technique
增强现实(Augmented Reality,简称AR)技术,是实时地计算摄影机影像的位置及角度并加上相应图像、视频、3D模型,在屏幕上把虚拟世界套在真实世界并进行互动的一项技术。用户通过利用AR设备,能够感知到虚拟对象的存在。然而在实现本发明的过程中,发明人发现相关技术中,由于虚拟对象都是预先通过计算机生成的,无法获取用户在使用过程中场景的环境信息,或者无法准确检测到该场景的光强度和方向,因此无法与视频或真实世界中的场景相匹配。Augmented Reality (AR) technology is a technology that calculates the position and angle of a camera image in real time, adds corresponding images, videos, and 3D models, and sets the virtual world on the screen to interact with the real world. By using AR devices, users can sense the existence of virtual objects. However, in the process of implementing the present invention, the inventors found that in the related art, since the virtual objects are all generated by a computer in advance, it is impossible to obtain the environmental information of the scene of the user during use, or to accurately detect the light intensity and Orientation and therefore cannot match the scene in the video or real world.
此外,为了获得与现实场景相同的AR设备的虚拟对象,往往通过手机摄像头直接拍摄获取,并且越来越多的用户直接通过手机屏幕播放AR视频。为了避免手持设备发生抖动而造成取景效果不佳,或者用户长时间手持手机观看视频导致体力不支,往往需要将手机安装于固定支架以保持稳定,专用相机支架固然效果颇佳,但是成本昂贵,普通用户往往使用手机简易支架就能达到所需的取景效果,而通常的简易支架位于手机保护壳上、或通过强力胶粘贴在手机背部,越来越多的用户因为手机玻璃日益坚固、手机散热问题、手机美观度的原因而不愿意使用手机保护壳和胶粘的简易支架。In addition, in order to obtain a virtual object of an AR device that is the same as a real scene, it is often captured directly through a mobile phone camera, and more and more users play AR videos directly through a mobile phone screen. In order to avoid the poor framing effect caused by shaking of the handheld device, or the user's physical exertion caused by holding the mobile phone for a long time to watch the video, it is often necessary to install the mobile phone in a fixed bracket to maintain stability. A special camera bracket is effective, but it is expensive and common. Users often use the simple bracket of the mobile phone to achieve the desired framing effect. Usually, the simple bracket is located on the protective case of the mobile phone, or pasted on the back of the mobile phone through strong glue. Problems, reasons for the aesthetics of mobile phones, reluctance to use mobile phone protective cases and adhesive simple brackets.
发明内容Summary of the Invention
本发明实施例提供的光线信息的确定方法、装置及电子设备,用以至少解决相关技术中的上述问题。The method, device, and electronic device for determining light information provided by the embodiments of the present invention are used to solve at least the foregoing problems in related technologies.
本发明实施例一方面提供了一种光线信息的确定方法,包括:An embodiment of the present invention provides a method for determining light information, including:
获取目标图片,将所述目标图片分解成第一预设数量的子图片,其中, 所述子图片由第二预设数量的像素组成;确定所述子图片的光线强度,并计算图像矩来确定所述子图片的光强加权中心;根据所述子图片的光强加权中心与所述子图片的几何中心确定所述子图片的光线角度;分别对各所述子图片的光线强度、光线角度进行计算,得到所述目标图片对应的光线信息。Obtain a target picture, and decompose the target picture into a first preset number of sub-pictures, where the sub-picture is composed of a second preset number of pixels; determine the light intensity of the sub-picture, and calculate the image moment Determine the light intensity weighting center of the sub-picture; determine the light angle of the sub-picture according to the light intensity-weighted center of the sub-picture and the geometric center of the sub-picture; The angle is calculated to obtain the light information corresponding to the target picture.
进一步地,所述分别对各所述子图片的光线强度、光线角度进行计算,得到所述目标图片对应的光线信息,包括:确定各所述子图片对应的权重值;根据所述权重值对各所述子图片的光线角度的向量进行加权求和,得到所述目标图片对应的光线角度;根据各所述子图片的光线强度得到平均光强,作为所述目标图片对应的光线强度。Further, calculating the light intensity and light angle of each of the sub-pictures to obtain the light information corresponding to the target picture includes: determining a weight value corresponding to each of the sub-pictures; The vector of the light angles of the sub-pictures is weighted and summed to obtain the light angle corresponding to the target picture; an average light intensity is obtained according to the light intensity of each of the sub-pictures as the light intensity corresponding to the target picture.
进一步地,在所述确定所述子图片的光线强度之后,所述方法还包括:判断所述子图片的光线强度是否处于第一预设范围;若未处于所述第一预设范围,则将所述子图片剔除。Further, after determining the light intensity of the sub-picture, the method further includes: determining whether the light intensity of the sub-picture is in a first preset range; if it is not in the first preset range, then Culling the sub-picture.
进一步地,在所述根据所述子图片的光强加权中心与所述子图片的几何中心确定所述子图片的光线角度之后,所述方法还包括:根据所述子图片的光线角度判断所述子图片的光线是否来自于地面;若来自于地面,则将所述子图片剔除。Further, after the light angle of the sub-picture is determined according to the light intensity weighting center of the sub-picture and the geometric center of the sub-picture, the method further includes: Whether the light of the sub-picture comes from the ground; if it is from the ground, the sub-picture is removed.
进一步地,所述方法还包括:根据所述权重值和所述光线角度的向量计算置信因子;根据所述置信因子对所述权重值进行调整。Further, the method further comprises: calculating a confidence factor according to a vector of the weight value and the ray angle; and adjusting the weight value according to the confidence factor.
本发明实施例的另一方面提供了一种光线信息的确定装置,包括:Another aspect of the embodiments of the present invention provides a device for determining light information, including:
获取模块,用于获取目标图片,将所述目标图片分解成第一预设数量的子图片,其中,所述子图片由第二预设数量的像素组成;第一确定模块,用于确定所述子图片的光线强度,并计算图像矩来确定所述子图片的光强加权中心;第二确定模块,用于根据所述子图片的光强加权中心与所述子图片的几何中心确定所述子图片的光线角度;计算模块,用于分别对各所述子图片的光线强度、光线角度进行计算,得到所述目标图片对应的光线信息。An acquisition module is configured to acquire a target picture and decompose the target picture into a first preset number of sub-pictures, where the sub-pictures are composed of a second preset number of pixels; a first determination module is configured to determine all The light intensity of the sub-picture is calculated, and the image moment is calculated to determine the light-intensity weighting center of the sub-picture; the second determining module is configured to determine the weighting center of the sub-picture according to the light-intensity center of the sub-picture and the geometric center of the sub-picture The light angle of the sub-picture; a calculation module configured to calculate the light intensity and the light angle of each of the sub-pictures to obtain the light information corresponding to the target picture.
进一步地,所述计算模块包括:第一确定单元,用于确定各所述子图片对应的权重值;加权求和单元,用于根据所述权重值对各所述子图片的光线角度的向量进行加权求和,得到所述目标图片对应的光线角度;第二确定单元,用于根据各所述子图片的光线强度得到平均光强,作为所述目 标图片对应的光线强度。Further, the calculation module includes: a first determination unit for determining a weight value corresponding to each of the sub-pictures; and a weighted summation unit for a vector of a light angle of each of the sub-pictures according to the weight value Performing weighted summation to obtain the light angle corresponding to the target picture; a second determining unit, configured to obtain an average light intensity according to the light intensity of each of the sub-pictures, as the light intensity corresponding to the target picture.
进一步地,所述第一确定模块还用于,判断所述子图片的光线强度是否处于第一预设范围;若未处于所述第一预设范围,则将所述子图片剔除。Further, the first determining module is further configured to determine whether the light intensity of the sub-picture is in a first preset range; if not, the sub-picture is eliminated.
进一步地,所述第二确定模块还用于,根据所述子图片的光线角度判断所述子图片的光线是否来自于地面;若来自于地面,则将所述子图片剔除。Further, the second determining module is further configured to determine whether the light of the sub-picture comes from the ground according to the light angle of the sub-picture; if it is from the ground, remove the sub-picture.
进一步地,所述装置还包括调整模块,所述调整模块用于,根据所述权重值和所述光线角度的向量计算置信因子;根据所述置信因子对所述权重值进行调整。Further, the apparatus further includes an adjustment module, the adjustment module is configured to calculate a confidence factor according to the weight value and the vector of the light angle; and adjust the weight value according to the confidence factor.
本发明实施例的又一方面提供一种电子设备,包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行上述任一项所述的光线信息的确定方法。Another aspect of the embodiments of the present invention provides an electronic device, including: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a memory that can be used by the at least one processor An instruction that is executed by the at least one processor, so that the at least one processor can execute the method for determining light information according to any one of the foregoing.
进一步地,所述电子设备为手机,所述光线信息的确定方法中目标图片的获取通过该手机实现。所述手机包括具有显示屏的前面板和手机后盖;所述手机后盖的中下部设有一凹陷区,所述凹陷区内安装有与所述凹陷区形状尺寸相适配的支撑板;所述支撑板的上端与所述凹陷区铰接,以使所述支撑板能够转动至与所述手机后盖呈一预设角度;所述支撑板的下端设置有一连接件,所述连接件一端与所述支撑板软连接,另一端具有与手机充电接口形状尺寸相适配的封堵部,所述封堵部与所述手机充电接口插接配合;Further, the electronic device is a mobile phone, and the obtaining of the target picture in the method for determining light information is implemented by the mobile phone. The mobile phone includes a front panel with a display screen and a mobile phone back cover; a middle and lower part of the mobile phone back cover is provided with a recessed area, and a support plate adapted to the shape and size of the recessed area is installed in the recessed area; The upper end of the support plate is hinged with the recessed area, so that the support plate can be rotated to a predetermined angle with the back cover of the mobile phone; a lower end of the support plate is provided with a connecting piece, and one end of the connecting piece and The support plate is soft-connected, and the other end is provided with a plugging portion adapted to the shape and size of the mobile phone charging interface, and the plugging portion is mated with the mobile phone charging interface;
进一步的,所述支撑板包括第一板体、第二板体、第一连接板、第二连接板以及连杆,所述第一板体、第一连接板、第二连接板和第二板体依次连接形成一板体;所述第一板体具有相对的第一端和第二端,所述第二板体具有相对的第三端和第四端,所述连杆包括第一杆体和第二杆体,所述第一杆体相对两端分别与所述第一端和所述第三端相铰接,所述第二杆体相对两端分别与所述第二端和所述第四端相铰接,其中所述第一杆体和所述第二杆体均设置在所述支撑板远离所述前面板的一侧;所述第一连接板和所述第二连接板位于所述第一板体和所述第二板体之间,所述第一连接板一侧与所述第一板体一侧相铰接,所述第二连接板一侧与所述第二板体一侧相铰接,所述 第一连接板另一侧与所述第二连接板另一侧相铰接,所述第一连接板和所述第二连接板设置在所述支撑板靠近所述前面板的一侧;所述第一板体设有沿其厚度方向设置的第一部分,所述第一部分位于所述第一板体与所述连杆的铰接处和所述第一板体与所述第一连接板的铰接处之间;所述第二板体设有沿其厚度方向设置的第二部分,所述第二部分位于所述第二板体与连杆的铰接处和所述第二板体与所述第二连接板的铰接处之间;所述第一部分、第二部分、第一连接板、第二连接板以及连杆形成五杆体机构。Further, the support plate includes a first plate body, a second plate body, a first connection plate, a second connection plate, and a link, the first plate body, the first connection plate, the second connection plate, and the second The plates are sequentially connected to form a plate; the first plate has opposite first and second ends, the second plate has opposite third and fourth ends, and the link includes a first A rod body and a second rod body, opposite ends of the first rod body are hinged to the first end and the third end, respectively, and opposite ends of the second rod body are respectively connected to the second end and the fourth end End-to-phase hinge, wherein the first rod body and the second rod body are both disposed on a side of the support plate away from the front panel; the first connection plate and the second connection plate are located on the first Between the plate body and the second plate body, one side of the first connection plate is hinged to one side of the first plate body, and one side of the second connection plate is opposite to one side of the second plate body. Hinged, the other side of the first connection plate is hinged with the other side of the second connection plate, the first connection plate and the second connection plate The first plate is provided on a side of the support plate close to the front plate; the first plate is provided with a first portion disposed along a thickness direction of the first plate, and the first portion is located at a hinge between the first plate and the link. And between the first plate body and the hinge of the first connecting plate; the second plate body is provided with a second portion provided along its thickness direction, and the second portion is located on the second plate Between the hinge between the body and the connecting rod and the hinge between the second plate and the second connecting plate; the first portion, the second portion, the first connecting plate, the second connecting plate, and the connecting rod form five Rod body mechanism.
进一步地,所述凹陷区包括底壁和侧壁,所述底壁和/或所述侧壁上设有通风结构,所述通风结构为多个通风孔或通风格栅。Further, the recessed area includes a bottom wall and a side wall, and the bottom wall and / or the side wall is provided with a ventilation structure, and the ventilation structure is a plurality of ventilation holes or ventilation grilles.
进一步地,所述连接件由橡胶制成。Further, the connecting member is made of rubber.
进一步地,所述第一端、第二端、第三端和第四端均设有一凹陷部,所述第一杆体的相对两端分别置于所述第一端的凹陷部和所述第三端的凹陷部内,所述第二杆体相对两端分别置于所述第三端的凹陷部和所述第四端的凹陷部内。Further, each of the first end, the second end, the third end, and the fourth end is provided with a recessed portion, and opposite ends of the first rod body are respectively disposed in the recessed portion of the first end and the first end. In the recessed portion at the three ends, the opposite ends of the second rod body are respectively placed in the recessed portion of the third end and the recessed portion of the fourth end.
由以上技术方案可见,本发明实施例提供的光线信息的确定方法、装置及电子设备,无需预先获取图片或视频的环境信息、位置和时间,也不需要进行人脸图像的采集标注或其他特定的硬件资源。在没有光照的区域里,也可以利用本方法进行光线强度的获取。相较于现有技术来说,本发明实施例提供的方法成本较低,且较为便捷准确。此外,本发明实施例提供地用于上述光线信息的确定方法中的带有支撑板的手机,可以使得手机拍摄、播放更加平稳,使用更加方便,手机无需保护壳和粘贴部件,外观更加美观,既改善了光线信息的确定方法中目标图片的获取质量,又可以脱离上述方法单独使用。As can be seen from the above technical solutions, the method, device, and electronic device for determining light information provided by the embodiments of the present invention do not need to obtain environmental information, location, and time of pictures or videos in advance, and do not need to collect or mark face images or other specific information. Hardware resources. In areas without light, this method can also be used to obtain the light intensity. Compared with the prior art, the method provided by the embodiment of the present invention has lower cost, and is more convenient and accurate. In addition, the mobile phone with a support plate provided in the method for determining the light information provided by the embodiment of the present invention can make the mobile phone shoot and play more smoothly and more conveniently. It not only improves the quality of obtaining the target picture in the method of determining the light information, but also can be used separately from the above method.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明实施例中记载的一些实施例,对于本领域普通技术人员来讲,还可以根据这些附图获得其他的附图。In order to more clearly explain the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are merely These are some of the embodiments described in the embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained according to these drawings.
图1为本发明一个实施例提供的光线信息的确定方法流程图;FIG. 1 is a flowchart of a method for determining light information according to an embodiment of the present invention; FIG.
图2为本发明一个实施例提供的子图片的光强加权中心和加权中心 坐标位置图;FIG. 2 is a light intensity weighted center and a weighted center coordinate position map of a sub-picture provided by an embodiment of the present invention; FIG.
图3为本发明一个实施例提供的步骤S104的具体流程图;3 is a specific flowchart of step S104 provided by an embodiment of the present invention;
图4为本发明一个实施例提供的光线信息的确定装置结构图;4 is a structural diagram of a device for determining light information according to an embodiment of the present invention;
图5为本发明一个实施例提供的光线信息的确定装置结构图;5 is a structural diagram of a device for determining light information according to an embodiment of the present invention;
图6为执行本发明方法实施例提供的光线信息的确定方法的电子设备的硬件结构示意图;6 is a schematic diagram of a hardware structure of an electronic device that executes a method for determining light information provided by an embodiment of a method of the present invention;
图7为本发明一个实施例提供的用于光线信息的确定方法中获取目标图片的手机结构示意图;7 is a schematic structural diagram of a mobile phone for obtaining a target picture in a method for determining light information according to an embodiment of the present invention;
图8为本发明一个实施例提供的用于光线信息的确定方法中获取目标图片的手机支撑板的爆炸图;8 is an exploded view of a mobile phone support plate for obtaining a target picture in a method for determining light information according to an embodiment of the present invention;
图9为本发明一个实施例提供的用于光线信息的确定方法中获取目标图片的手机支撑板的处于支撑状态下的示意图;FIG. 9 is a schematic diagram of a mobile phone support plate in a supported state for obtaining a target picture in a method for determining light information according to an embodiment of the present invention; FIG.
图10为图9的A部放大图;10 is an enlarged view of part A of FIG. 9;
图11为图9的B部放大图;11 is an enlarged view of a portion B of FIG. 9;
图12为本发明一个实施例提供的用于光线信息的确定方法中获取目标图片的手机支撑板的处于折叠状态下的示意图。FIG. 12 is a schematic diagram of a mobile phone supporting plate for acquiring a target picture in a method for determining light information according to an embodiment of the present invention in a folded state.
具体实施方式detailed description
为了使本领域的人员更好地理解本发明实施例中的技术方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明实施例一部分实施例,而不是全部的实施例。基于本发明实施例中的实施例,本领域普通技术人员所获得的所有其他实施例,都应当属于本发明实施例保护的范围。In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described The embodiments are only a part of the embodiments of the present invention, but not all the embodiments. Based on the embodiments in the embodiments of the present invention, all other embodiments obtained by those skilled in the art should belong to the protection scope of the embodiments of the present invention.
本发明实施例的执行主体为电子设备或服务器,所述电子设备包括但不限于手机、平板电脑、笔记本电脑、带摄像头的台式电脑等。下面结合附图,对本发明的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互结合。图1为本发明实施例提供的光线信息的确定方法流程图。如图1所示,本发明实施例提供的光线信息的确定方法,包括:The execution subject of the embodiment of the present invention is an electronic device or a server. The electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a desktop computer with a camera, and the like. Hereinafter, some embodiments of the present invention will be described in detail with reference to the drawings. In the case of no conflict, the following embodiments and features in the embodiments can be combined with each other. FIG. 1 is a flowchart of a method for determining light information according to an embodiment of the present invention. As shown in FIG. 1, a method for determining light information provided by an embodiment of the present invention includes:
S101,获取目标图片,将所述目标图片分解成第一预设数量的子图片。S101. Obtain a target picture, and decompose the target picture into a first preset number of sub-pictures.
具体地,目标图片可以是视频中的某一帧、也可以是从相机上捕捉的 单个图片帧,本发明在此不做限定。获取的时机可以是基于用户的操作指令,也可以是当视频的场景满足预设的要求或条件。Specifically, the target picture may be a certain frame in a video or a single picture frame captured from a camera, which is not limited in the present invention. The acquisition timing may be based on a user's operation instruction, or when the scene of the video meets a preset requirement or condition.
在本步骤中,获取目标图片之后,将该目标图片分解成第一预设数量个由预设尺寸组成的小正方形网格元素,每个小正方形网格元素作为一张子图片,其中,所述子图片由第二预设数量的像素组成。举例来说,可以把目标图片分解成C列R行(其中C、R都是整数,且C≥2,R≥2),得到多张子图片,每个子图片由p个像素组成。In this step, after obtaining the target picture, the target picture is decomposed into a first preset number of small square grid elements composed of a preset size, and each small square grid element is used as a sub-picture, where The sub-picture is composed of a second preset number of pixels. For example, the target picture can be decomposed into C columns and R rows (where C and R are integers, and C≥2, R≥2) to obtain multiple sub-pictures, each of which consists of p pixels.
作为本实施例的可选实施方式,由于光线信息不涉及颜色问题,因此对于彩色的图片,在进行分解之前,可以对目标图片进行灰度提取,也可以避免颜色会光线强度获取的影响。As an optional implementation manner of this embodiment, since the light information does not involve color problems, for a color picture, before the decomposition, the target picture can be extracted with grayscale, and the influence of the color on the light intensity acquisition can also be avoided.
S102,确定所述子图片的光线强度,并计算图像矩来确定所述子图片的光强加权中心。S102. Determine a light intensity of the sub-picture, and calculate an image moment to determine a light-intensity weighting center of the sub-picture.
首先,对于每一张子图片,根据其中的对比度信息等获得该子图片对应的光线强度。光线强度确定之后,判断所述子图片的光线强度是否处于第一预设范围,若未处于所述第一预设范围,将所述子图片剔除。First, for each sub-picture, the light intensity corresponding to the sub-picture is obtained according to the contrast information and the like. After the light intensity is determined, it is determined whether the light intensity of the sub-picture is in a first preset range, and if it is not in the first preset range, the sub-picture is eliminated.
具体来说,对比度太强的子图片,其有可能是目标图片轮廓的一部分,从而为后续的计算带来噪声,因此需要对其进行剔除过滤。可以预先对多张图片进行分析,确定属于图片中重要信息部分的图像对应的对比度范围,将该范围作为上述第一预设范围。Specifically, a sub-picture with too high contrast may be a part of the outline of the target picture, which brings noise to subsequent calculations, so it needs to be removed and filtered. An analysis may be performed on multiple pictures in advance to determine a contrast range corresponding to an image belonging to an important information part of the picture, and the range is used as the first preset range.
对于处于第一预设范围的子图片,需要计算每一个该子图片的图像矩,来确定其对应的光强加权中心。图像矩是一个从数字图形中计算出来的矩集,通常描述了该图像的全局特征,并提供了大量的关于该图像不同类型的几何特征信息,比如大小、位置、方向及形状等,例如:一阶矩与形状有关;二阶矩显示了曲线围绕直线平均值的扩展程度;三阶矩则是关于平均值的对称性测量;由二阶矩和三阶矩可以导出一组共七个不变矩,不变矩是图像的统计特征,满足平移、伸缩、旋转均不变的不变形,在图像处理中,几何不变矩可以作为一个重要的特征来表示物体,可以据此特征来对图像进行分类等操作。上述一阶矩、二阶矩、三阶矩以及由二阶矩和三阶矩导出的七个不变矩都有具体的计算公式,根据这些公式确定光强加权中心属于本领域的技术常识,本发明在此不做赘述。For the sub-pictures in the first preset range, the image moment of each sub-picture needs to be calculated to determine the corresponding light intensity weighting center. An image moment is a set of moments calculated from digital graphics. It usually describes the global features of the image and provides a lot of information about the different types of geometric features of the image, such as size, position, direction, and shape. For example: First-order moments are related to shape; second-order moments show the degree of expansion of a curve around a straight line average; third-order moments are a measure of the symmetry of the mean; second- and third-order moments can be used to derive a set of seven Moment invariant and invariant moment are the statistical characteristics of the image, which meet the invariant invariance of translation, expansion and rotation. In image processing, geometric invariant moment can be used as an important feature to represent an object. Classify images. The above-mentioned first, second, third and third moments and the seven invariant moments derived from the second and third moments all have specific calculation formulas. According to these formulas, determining the light intensity weighting center belongs to common technical knowledge in the field. The present invention will not repeat them here.
如图2所示,通过图像矩确定了光强加权中心g,其在子图像中的坐 标位置为(x g,y g)。 As shown in FIG. 2, the light intensity weighting center g is determined by the image moment, and its coordinate position in the sub-image is (x g , y g ).
S103,根据所述子图片的光强加权中心与所述子图片的几何中心确定所述子图片的光线角度。S103. Determine a light angle of the sub-picture according to a light intensity weighting center of the sub-picture and a geometric center of the sub-picture.
如图2所示,确定子图片中几何中心c的坐标位置(x c,y c),并将该几何中心c的坐标位置与步骤S102中确定的光强加权中心g的坐标位置进行比较,从几何中心c到加权中心g的向量
Figure PCTCN2018096689-appb-000001
的方向即是受到光线影响的结果,为我们提供了该子图片所在目标图片位置的局部光效指示。具体地,向量
Figure PCTCN2018096689-appb-000002
代表光线的方向,d代表向量cg的模
Figure PCTCN2018096689-appb-000003
α代表子图片的光线角度,由于tanα=(y g-y c)/(x g-x c),则α=Arctan((y g-y c)/(x g-x c)),即通过几何中心和加权中心的坐标计算得到该子图片的光线角度。
As shown in FIG. 2, determining the coordinate position (x c , y c ) of the geometric center c in the sub-picture, and comparing the coordinate position of the geometric center c with the coordinate position of the light intensity weighted center g determined in step S102. Vector from geometric center c to weighted center g
Figure PCTCN2018096689-appb-000001
The direction of is the result of being affected by light, which provides us with a local light effect indication of the target picture location where the sub-picture is located. Specifically, vectors
Figure PCTCN2018096689-appb-000002
Represents the direction of the light, and d represents the modulus of the vector cg
Figure PCTCN2018096689-appb-000003
α represents the light angle of the sub-picture. Since tanα = (y g -y c ) / (x g -x c ), then α = Arctan ((y g -y c ) / (x g -x c )), that is, The light angle of the sub-picture is calculated by the coordinates of the geometric center and the weighted center.
作为本实施例的可选实施方式,在确定了每个子图片的光线角度之后,可以根据子图片的光线角度向量判断该子图片的光线是否来自于地面,若该子图片的光线来自于地面,说明该光线不属于当前场景的光照信息,则将所述子图片剔除。As an optional implementation of this embodiment, after the light angle of each sub-picture is determined, whether the light of the sub-picture comes from the ground can be determined according to the light angle vector of the sub-picture. If the light of the sub-picture comes from the ground, If the light does not belong to the lighting information of the current scene, then the sub-picture is eliminated.
S104,分别对各所述子图片的光线强度、光线角度进行计算,得到所述目标图片对应的光线信息。S104. Calculate the light intensity and light angle of each of the sub-pictures to obtain the light information corresponding to the target picture.
当每个子图片都经过步骤S102和步骤S103确定光线强度和光线角度后,则对所有的子图片的光线强度进行计算,得到目标图片的光线强度,并对所有的子图片的光线角度进行计算,得到目标图片的光线角度,所述目标图片的光线角度和所述目标图片的光线强度,即为所述目标图片对应的光线信息。After determining the light intensity and light angle of each sub-picture through steps S102 and S103, the light intensity of all the sub-pictures is calculated to obtain the light intensity of the target picture, and the light angles of all the sub-pictures are calculated. The light angle of the target picture is obtained. The light angle of the target picture and the light intensity of the target picture are light information corresponding to the target picture.
可选地,本步骤可以通过如下子步骤进行:Optionally, this step may be performed by the following sub-steps:
S1041,确定各所述子图片对应的权重值。S1041: Determine a weight value corresponding to each of the sub-pictures.
具体地,可以根据每个子图片对应的光线角度的向量模、和/或光线角度、和/或之前的经验确定每个子图片对应的权重值。Specifically, a weight value corresponding to each sub-picture may be determined according to a vector mode of a light angle corresponding to each sub-picture, and / or a light angle, and / or previous experience.
作为本发明实施例的一种可选实施方式,可以根据各子图片对应的权重值和各子图片对应的光线角度的向量计算置信因子,当置信因子小于预设值时,则对上述权重值进行调整。具体地,所述置信因子为所述光线角度的向量和与所述权重值加和之比,置信因子能够表明权重值是否与向量趋势相匹配,置信因子越趋近于1,这说明权重值越合适。当置信因子小 于预设值时,说明确定的权重值不合适,此时需要对权重值进行调整,调整之后再根据上述方法计算新的置信因子进行检验,直至新的置信因子能够大于预设阈值。As an optional implementation of the embodiment of the present invention, a confidence factor may be calculated according to a weight value corresponding to each sub-picture and a vector of a light angle corresponding to each sub-picture. When the confidence factor is less than a preset value, the weight value is Make adjustments. Specifically, the confidence factor is a ratio of the vector sum of the angle of the light rays to the sum of the weight values. The confidence factor can indicate whether the weight value matches the trend of the vector. The closer the confidence factor is to 1, this indicates that the weight value The more appropriate. When the confidence factor is less than the preset value, it means that the determined weight value is inappropriate. At this time, the weight value needs to be adjusted. After the adjustment, a new confidence factor is calculated and tested according to the above method until the new confidence factor can be greater than the preset threshold. .
S1042,根据所述权重值对各所述子图片的光线角度的向量进行加权求和,得到所述目标图片对应的光线角度。S1042: Perform weighted summation on a vector of light angles of the sub-pictures according to the weight value to obtain a light angle corresponding to the target picture.
具体地,根据所述权重值确定各子图片的光线角度的向量的长度,之后再对每个长度确定的向量进行加和,得到目标图片对应的光线角度的向量,根据该目标图片对应的光线角度的向量,即可按照步骤S103中介绍方法得到目标图片对应的光线角度。Specifically, the length of the light angle vector of each sub-picture is determined according to the weight value, and then the vectors determined by each length are added to obtain a vector of the light angle corresponding to the target picture, and according to the light corresponding to the target picture The vector of angles can be obtained according to the method described in step S103.
S1043,根据各所述子图片的光线强度得到平均光强,作为所述目标图片对应的光线强度。S1043: Obtain an average light intensity according to the light intensity of each of the sub-pictures, as the light intensity corresponding to the target picture.
具体来说,由于光线强度是标量,不需要进行矢量加和,因此仅需要对各子图片的光线强度加和求得平均值,该平均值即为目标图片对应的光线强度。Specifically, since the light intensity is a scalar, there is no need to add a vector, so only the light intensity of each sub-picture needs to be added to obtain an average value, and the average value is the light intensity corresponding to the target image.
本发明实施例提供的光线信息的确定方法,无需预先获取图片或视频的环境信息、位置和时间,也不需要进行人脸图像的采集标注或其他特定的硬件资源。在没有光照的区域里,也可以利用本方法进行光线强度的获取。相较于现有技术来说,本发明实施例提供的方法成本较低,且较为便捷准确。The method for determining light information provided by the embodiment of the present invention does not need to obtain environmental information, location, and time of a picture or a video in advance, and does not need to collect and mark a face image or other specific hardware resources. In areas without light, this method can also be used to obtain the light intensity. Compared with the prior art, the method provided by the embodiment of the present invention has lower cost, and is more convenient and accurate.
图4为本发明实施例提供的光线信息的确定装置结构图。如图3所示,该装置具体包括:获取模块100,第一确定模块200、第二确定模块300和计算模块400。其中,FIG. 4 is a structural diagram of a device for determining light information according to an embodiment of the present invention. As shown in FIG. 3, the device specifically includes: an acquisition module 100, a first determination module 200, a second determination module 300, and a calculation module 400. among them,
获取模块100,用于获取目标图片,将所述目标图片分解成第一预设数量的子图片,其中,所述子图片由第二预设数量的像素组成;第一确定模块200,用于确定所述子图片的光线强度,并计算图像矩来确定所述子图片的光强加权中心;第二确定模块300,用于根据所述子图片的光强加权中心与所述子图片的几何中心确定所述子图片的光线角度;计算模块400,用于分别对各所述子图片的光线强度、光线角度进行计算,得到所述目标图片对应的光线信息。An obtaining module 100 is configured to obtain a target picture and decompose the target picture into a first preset number of sub-pictures, where the sub-pictures are composed of a second preset number of pixels; a first determining module 200 is configured to: Determine the light intensity of the sub-picture, and calculate the image moment to determine the light-intensity weighting center of the sub-picture; the second determination module 300 is configured to determine the light-intensity weighting center of the sub-picture and the geometry of the sub-picture The center determines the light angle of the sub-picture; a calculation module 400 is configured to calculate the light intensity and the light angle of each of the sub-pictures to obtain the light information corresponding to the target picture.
本发明实施例提供的光线信息的确定装置具体用于执行图1和图2所示实施例提供的所述方法,其实现原理、方法和功能用途等与图1和图2 所示实施例类似,在此不再赘述。The apparatus for determining light information provided in the embodiment of the present invention is specifically configured to execute the method provided in the embodiment shown in FIG. 1 and FIG. 2, and the implementation principles, methods, and functional uses thereof are similar to the embodiments shown in FIG. 1 and FIG. 2. , Will not repeat them here.
图5为本发明实施例提供的光线信息的确定装置结构图。如图5所示,该装置具体包括:获取模块100,第一确定模块200、第二确定模块300和计算模块400。其中,FIG. 5 is a structural diagram of a device for determining light information according to an embodiment of the present invention. As shown in FIG. 5, the device specifically includes: an acquisition module 100, a first determination module 200, a second determination module 300, and a calculation module 400. among them,
获取模块100,用于获取目标图片,将所述目标图片分解成第一预设数量的子图片,其中,所述子图片由第二预设数量的像素组成;第一确定模块200,用于确定所述子图片的光线强度,并计算图像矩来确定所述子图片的光强加权中心;第二确定模块300,用于根据所述子图片的光强加权中心与所述子图片的几何中心确定所述子图片的光线角度;计算模块400,用于分别对各所述子图片的光线强度、光线角度进行计算,得到所述目标图片对应的光线信息。An obtaining module 100 is configured to obtain a target picture and decompose the target picture into a first preset number of sub-pictures, where the sub-pictures are composed of a second preset number of pixels; a first determining module 200 is configured to: Determine the light intensity of the sub-picture, and calculate the image moment to determine the light-intensity weighting center of the sub-picture; the second determination module 300 is configured to determine the light-intensity weighting center of the sub-picture and the geometry of the sub-picture The center determines the light angle of the sub-picture; a calculation module 400 is configured to calculate the light intensity and the light angle of each of the sub-pictures to obtain the light information corresponding to the target picture.
可选地,计算模块400包括:第一确定单元410,用于确定各所述子图片对应的权重值;加权求和单元420,用于根据所述权重值对各所述子图片的光线角度的向量进行加权求和,得到所述目标图片对应的光线角度;第二确定单元430,用于根据各所述子图片的光线强度得到平均光强,作为所述目标图片对应的光线强度。Optionally, the calculation module 400 includes: a first determining unit 410, configured to determine a weight value corresponding to each of the sub-pictures; and a weighted summation unit 420, configured to perform a light angle on each of the sub-pictures according to the weight value The weighted sum of the vectors is obtained to obtain the light angle corresponding to the target picture. The second determining unit 430 is configured to obtain an average light intensity according to the light intensity of each of the sub-pictures as the light intensity corresponding to the target picture.
可选地,第一确定模块200还用于,判断所述子图片的光线强度是否处于第一预设范围;若未处于所述第一预设范围,则将所述子图片剔除。Optionally, the first determining module 200 is further configured to determine whether the light intensity of the sub-picture is in a first preset range; if not, the sub-picture is eliminated.
可选地,第二确定模块300还用于,根据所述子图片的光线角度判断所述子图片的光线是否来自于地面;若来自于地面,则将所述子图片剔除。Optionally, the second determining module 300 is further configured to determine whether the light of the sub-picture comes from the ground according to the light angle of the sub-picture; if it is from the ground, remove the sub-picture.
可选地,所述装置还包括调整模块(图中未示出),所述调整模块用于,根据所述权重值和所述光线角度的向量计算置信因子;根据所述置信因子对所述权重值进行调整。Optionally, the apparatus further includes an adjustment module (not shown in the figure), the adjustment module is configured to calculate a confidence factor according to a vector of the weight value and the light angle; The weight value is adjusted.
本发明实施例提供的光线信息的确定装置具体用于执行图1-图3所示实施例提供的所述方法,其实现原理、方法和功能用途和图1-图3所示实施例类似,在此不再赘述。The device for determining light information provided by the embodiment of the present invention is specifically configured to execute the method provided by the embodiment shown in FIG. 1 to FIG. 3, and the implementation principles, methods, and functional uses thereof are similar to the embodiments shown in FIG. 1-3. I will not repeat them here.
上述这些本发明实施例的光线信息的确定装置可以作为其中一个软件或者硬件功能单元,独立设置在上述电子设备中,也可以作为整合在处理器中的其中一个功能模块,执行本发明实施例的光线信息的确定方法。The above-mentioned apparatus for determining light information in the embodiments of the present invention may be used as one of the software or hardware functional units, which is independently provided in the above-mentioned electronic device, or may be used as one of the functional modules integrated in the processor to execute the embodiments of the present invention. Method for determining light information.
图6为执行本发明方法实施例提供的光线信息的确定方法的电子设备的硬件结构示意图。根据图6所示,该电子设备包括:FIG. 6 is a schematic diagram of a hardware structure of an electronic device that executes a method for determining light information provided by an embodiment of a method of the present invention. According to FIG. 6, the electronic device includes:
一个或多个处理器610以及存储器620,图6中以一个处理器610为例。执行所述的光线信息的确定方法的设备还可以包括:输入装置630和输出装置630。One or more processors 610 and a memory 620. One processor 610 is taken as an example in FIG. 6. The device for performing the method for determining light information may further include an input device 630 and an output device 630.
处理器610、存储器620、输入装置630和输出装置640可以通过总线或者其他方式连接,图6中以通过总线连接为例。The processor 610, the memory 620, the input device 630, and the output device 640 may be connected through a bus or other methods. In FIG. 6, the connection through the bus is taken as an example.
存储器620作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本发明实施例中的所述光线信息的确定方法对应的程序指令/模块。处理器610通过运行存储在存储器620中的非易失性软件程序、指令以及模块,从而执行服务器的各种功能应用以及数据处理,即实现所述光线信息的确定方法。The memory 620 is a non-volatile computer-readable storage medium, and can be used to store non-volatile software programs, non-volatile computer executable programs, and modules, such as the method for determining light information in the embodiment of the present invention. Corresponding program instructions / modules. The processor 610 executes various functional applications and data processing of the server by running non-volatile software programs, instructions, and modules stored in the memory 620, that is, a method for determining the light information.
存储器620可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据本发明实施例提供的光线信息的确定装置的使用所创建的数据等。此外,存储器620可以包括高速随机存取存储器620,还可以包括非易失性存储器620,例如至少一个磁盘存储器620件、闪存器件、或其他非易失性固态存储器620件。在一些实施例中,存储器620可选包括相对于处理器66远程设置的存储器620,这些远程存储器620可以通过网络连接至所述光线信息的确定装置。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 620 may include a storage program area and a storage data area, where the storage program area may store an operating system and an application program required for at least one function; the storage data area may store the use of the light information determining device provided according to the embodiment of the present invention Data created, etc. In addition, the memory 620 may include a high-speed random access memory 620, and may further include a non-volatile memory 620, such as at least one magnetic disk memory 620, a flash memory device, or other non-volatile solid-state memory 620. In some embodiments, the memory 620 may optionally include a memory 620 remotely disposed with respect to the processor 66, and these remote memories 620 may be connected to the light information determining device through a network. Examples of the above network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
输入装置630可接收输入的数字或字符信息,以及产生与光线信息的确定装置的用户设置以及功能控制有关的键信号输入。输入装置630可包括按压模组等设备。The input device 630 may receive inputted numeric or character information, and generate key signal inputs related to user settings and function control of the light information determining device. The input device 630 may include a device such as a pressing module.
所述一个或者多个模块存储在所述存储器620中,当被所述一个或者多个处理器610执行时,执行所述光线信息的确定方法。The one or more modules are stored in the memory 620, and when executed by the one or more processors 610, perform a method for determining the light information.
本发明实施例的电子设备以多种形式存在,包括但不限于:The electronic devices in the embodiments of the present invention exist in various forms, including but not limited to:
(1)移动通信设备:这类设备的特点是具备移动通信功能,并且以提供话音、数据通信为主要目标。这类终端包括:智能手机(例如iPhone)、多媒体手机、功能性手机,以及低端手机等。(1) Mobile communication equipment: This type of equipment is characterized by mobile communication functions, and its main goal is to provide voice and data communication. Such terminals include: smart phones (such as iPhone), multimedia phones, feature phones, and low-end phones.
(2)超移动个人计算机设备:这类设备属于个人计算机的范畴,有计算 和处理功能,一般也具备移动上网特性。这类终端包括:PDA、MID和UMPC设备等,例如iPad。(2) Ultra-mobile personal computer equipment: This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has the characteristics of mobile Internet access. Such terminals include: PDA, MID and UMPC devices, such as iPad.
(3)便携式娱乐设备:这类设备可以显示和播放多媒体内容。该类设备包括:音频、视频播放器(例如iPod),掌上游戏机,电子书,以及智能玩具和便携式车载导航设备。(3) Portable entertainment equipment: This type of equipment can display and play multimedia content. Such devices include: audio and video players (such as iPod), handheld game consoles, e-books, as well as smart toys and portable car navigation devices.
(4)服务器。(4) The server.
(5)其他具有数据交互功能的电子装置。(5) Other electronic devices with data interaction function.
具体的,本实施例中的电子设备可以是一种带有支撑结构的手机,参见图7-12,该手机可以用于上述实施例中的光线信息的确定方法中的目标图片的获取。该手机通过在后盖设置支撑板,可以令手机平稳支撑,获取目标图像和视频时足够稳定,从而获取高质量的目标图片,为目标图片的后续处理打下基础。同时,手机自带支撑板避免了用户使用带支架的手机壳和外粘的支架,方便了手机散热,提高了美观度,解决了用户长时间手持手机导致的疲劳问题。Specifically, the electronic device in this embodiment may be a mobile phone with a supporting structure. Referring to FIGS. 7-12, the mobile phone may be used to obtain a target picture in the method for determining light information in the foregoing embodiment. The mobile phone is provided with a support plate on the back cover, which can make the mobile phone support stably, and is stable enough when acquiring target images and videos, thereby obtaining high-quality target pictures, and laying a foundation for subsequent processing of the target pictures. At the same time, the mobile phone's built-in support plate prevents the user from using a mobile phone case with a stand and an externally sticky stand, which facilitates the heat dissipation of the mobile phone, improves the aesthetics, and solves the fatigue caused by the user holding the mobile phone for a long time.
如图7所示,所述手机包括具有显示屏的前面板(图中未示出)和手机后盖1000;所述手机后盖1000的中下部设有一凹陷区1100,所述凹陷区1100内安装有与所述凹陷区1100形状尺寸相适配的支撑板2000;所述支撑板2000的上端与所述凹陷区1100相铰接,以使所述支撑板2000能够转动至与所述手机后盖1000呈一预设角度,具体的,本实施例的支撑板2000的上端可以具有转轴,凹陷部的上端具有与转轴相适配的轴孔,通过转轴和轴孔的配合以实现支撑板2000的可转动,当然其他结构较简单的转动机构也在本实施例的可选范围之内。As shown in FIG. 7, the mobile phone includes a front panel with a display screen (not shown in the figure) and a mobile phone back cover 1000; a middle and lower part of the mobile phone back cover 1000 is provided with a recessed area 1100, and the recessed area 1100 is inside A support plate 2000 adapted to the shape and size of the recessed area 1100 is installed; the upper end of the support plate 2000 is hinged to the recessed area 1100 so that the support plate 2000 can be rotated to the mobile phone back cover 1000 is a preset angle. Specifically, the upper end of the support plate 2000 in this embodiment may have a rotating shaft, and the upper end of the recessed portion has a shaft hole adapted to the rotating shaft. The cooperation between the rotating shaft and the shaft hole is used to realize the support plate 2000. It can be rotated, of course, other rotating mechanisms with simpler structures are also within the optional range of this embodiment.
另外,为了实现支撑板2000下端与手机的可拆卸连接,本实施例在所述支撑板2000的下端设置有一连接件3000,所述连接件3000一端与所述支撑板2000软连接,另一端具有与手机充电接口4000形状尺寸相适配的封堵部310,所述封堵部310与所述手机充电接口4000插接配合,该结构不仅实现了支撑板2000下端与手机的可拆卸连接,而且还能对充电接口4000起到保护作用,提高了支撑板2000的功能性。具体的,本实施例的所述连接件3000由橡胶制成,采用橡胶不仅具有良好的形变能力,而且成本较低,易于实现。In addition, in order to realize the detachable connection between the lower end of the support plate 2000 and the mobile phone, in this embodiment, a connection piece 3000 is provided at the lower end of the support plate 2000. One end of the connection piece 3000 is soft-connected to the support plate 2000 and the other end has A plugging portion 310 adapted to the shape and size of the mobile phone charging interface 4000. The plugging portion 310 is mated with the mobile phone charging interface 4000. This structure not only realizes the detachable connection between the lower end of the support plate 2000 and the mobile phone, but also It can also protect the charging interface 4000 and improve the functionality of the support plate 2000. Specifically, the connecting member 3000 in this embodiment is made of rubber. The use of rubber not only has good deformation ability, but also has low cost and is easy to implement.
本实施例在手机后盖的凹陷区内设有可转动的支撑板,可以对手机起 到侧立支撑作用,满足用户的使用要求,无需在手机上套设手机壳,避免了手机壳对手机散热的影响。而支撑板的下端通过与手机充电接口的连接实现自身的固定,而且还能够起到保护充电接口的作用,提升了支撑板的功能性,另外,本实施例的支撑板的展开也十分方便,仅需要通过将封堵部从手机充电接口拔出即可。In this embodiment, a rotatable support plate is provided in the recessed area of the back cover of the mobile phone, which can support the mobile phone side by side to meet the user's requirements. There is no need to set a mobile phone case on the mobile phone, which prevents the mobile phone case from affecting the mobile phone. The effect of heat dissipation. The lower end of the support plate is fixed by connecting with the charging interface of the mobile phone, and it can also protect the charging interface and improve the functionality of the support plate. In addition, the expansion of the support plate in this embodiment is also very convenient. It only needs to be pulled out from the charging port of the mobile phone.
另外,现有的支撑板无法起到固定手机的作用。因此发明人对上述支撑板结构做出了进一步改进。In addition, the existing support plate cannot play the role of fixing the mobile phone. Therefore, the inventor made further improvements to the above-mentioned support plate structure.
结合附图8-12所示,本实施例的所述支撑板2000具体包括第一板体2100、第二板体2200、第一连接板2300、第二连接板2400以及连杆2500,所述第一板体2100、第一连接板2300、第二连接板2400和第二板体2200依次连接形成一板体;所述第一板体2100具有相对的第一端和第二端(即图示中的上端和下端),所述第二板体2200具有相对的第三端和第四端(即图示中的上端和下端),所述连杆2500包括第一杆体2510和第二杆体2520,所述第一杆体2510的相对两端分别与所述第一端和所述第三端相铰接,所述第二杆体2520相对两端分别与所述第二端和所述第四端相铰接,其中所述第一杆体2510和所述第二杆体2520均设置在所述支撑板远离所述前面板的一侧。As shown in FIGS. 8-12, the support plate 2000 in this embodiment specifically includes a first plate body 2100, a second plate body 2200, a first connection plate 2300, a second connection plate 2400, and a connecting rod 2500. The first plate body 2100, the first connection plate 2300, the second connection plate 2400, and the second plate body 2200 are sequentially connected to form a plate body. The first plate body 2100 has opposite first ends and second ends (i.e., FIG. (The upper and lower ends shown), the second plate body 2200 has opposite third and fourth ends (ie, the upper and lower ends in the figure), and the link 2500 includes a first rod body 2510 and a second rod body 2520, opposite ends of the first rod body 2510 are hinged to the first end and the third end, respectively, and opposite ends of the second rod body 2520 are respectively connected to the second end and the fourth end Phase articulation, wherein the first rod body 2510 and the second rod body 2520 are both disposed on a side of the support plate away from the front panel.
需要说明的是,本实施例的连杆2500的数量也可以为一个,一个连杆2500的两端分别与第一端和第二端相连接,或者,一个连杆2500的两端分别与第三端和第四端相连接,又或者,一个连杆2500的一端与第一板体2100一侧的中间相连,另一端与第二板体2200一侧的中间相连,此时,第一连接板2300和第二连接板2400为分体结构,即第一连接板2300和第二连接板2400均由两个板状件构成,一个连杆2500的上方为第一连接板2300和第二连接板2400的一个板状件,连杆2500的下方为第一连接板2300和第二连接板2400的另一板状件。It should be noted that the number of the connecting rods 2500 in this embodiment may also be one, and two ends of one connecting rod 2500 are respectively connected to the first and second ends, or two ends of one connecting rod 2500 are respectively connected to the first and second ends. The three ends are connected to the fourth end, or one end of a link 2500 is connected to the middle of one side of the first plate 2100, and the other end is connected to the middle of one side of the second plate 2200. At this time, the first connection The plate 2300 and the second connection plate 2400 are separate structures, that is, the first connection plate 2300 and the second connection plate 2400 are each composed of two plate-shaped members. Above a link 2500 is the first connection plate 2300 and the second connection One plate-like member of the plate 2400, and below the link 2500 is another plate-like member of the first connection plate 2300 and the second connection plate 2400.
具体的,本实施例的所述第一连接板2300和所述第二连接板2400位于所述第一板体2100和所述第二板体2200之间,所述第一连接板2300一侧与所述第一板体2100一侧相铰接,所述第二连接板2400一侧与所述第二板体2200一侧相铰接,所述第一连接板2300另一侧与所述第二连接板2400另一侧相铰接,其中所述第一连接板2300和所述第二连接板2400设置在所述支撑板2000靠近所述前面板的一侧。Specifically, the first connection plate 2300 and the second connection plate 2400 in this embodiment are located between the first plate body 2100 and the second plate body 2200, and one side of the first connection plate 2300 One side of the first plate body 2100 is hinged, one side of the second connection plate 2400 is hinged with one side of the second plate body 2200, and the other side of the first connection plate 2300 is connected to the second plate The other side of the connection plate 2400 is hinged, wherein the first connection plate 2300 and the second connection plate 2400 are disposed on a side of the support plate 2000 near the front panel.
如图9-11所示,本实施例的所述第一板体2100设有沿其厚度方向设置的第一部分2110,所述第一部分2110位于所述第一板体2100与所述连杆2500的铰接处和所述第一板体2100与所述第一连接板2300的铰接处之间;所述第二板体2200设有沿其厚度方向设置的第二部分2210,所述第二部分2210位于所述第二板体2200与连杆2500的铰接处和所述第二板体2200与所述第二连接板2400的铰接处之间;所述第一部分2110、第二部分2210、第一连接板2300、第二连接板2400以及连杆2500形成五杆体机构。As shown in FIGS. 9-11, the first plate body 2100 in this embodiment is provided with a first portion 2110 disposed along a thickness direction thereof, and the first portion 2110 is located in the first plate body 2100 and the connecting rod 2500. Between the hinge portion of the first plate body 2100 and the hinge portion of the first connection plate 2300; the second plate body 2200 is provided with a second portion 2210 disposed along the thickness direction of the second plate body 2200, and the second portion 2210 is located between the hinge between the second plate body 2200 and the connecting rod 2500 and the hinge between the second plate body 2200 and the second connecting plate 2400; the first portion 2110, the second portion 2210, the first portion A connecting plate 2300, a second connecting plate 2400, and a connecting rod 2500 form a five-bar mechanism.
上述结构通过第一部分2110、第二部分2210、第一连接板2300、第二连接板2400以及连杆2500形成五杆体机构,在需要支撑时,将整个支撑板2000结构转动至一定角度,而由于第一杆体2510和第二杆体2520均设置在支撑板2000远离所述前面板的一侧,第一连接板2300和第二连接板2400设置在支撑板2000靠近所述前面板的一侧,因此在支撑板2000支撑面给到向远离前面板方向的力时,五连杆2500机构处于第一死点位置,第一板体2100和第一板体2100、第一连接板2300和第二连接板2400无法转动,只能通过向靠近前面板方向的外力打开死点位置,能够保证支撑板2000始终为一个板体结构,对手机起到稳定的支撑作用;而当通过向靠近前面板方向的外力打开死点位置时,可以将第一连板体和第二板体2200折叠,此时第一连接板2300和第一连接板2300转动至第二死点位置,第一连接板2300和第二连接板2400可以形成一个手指收容部,用于将手指插入到手指收容部内,可以将手机固定在人手上,避免用户在使用过程中出现拥挤和碰撞,而造成手机摔落,该结构的支撑板2000不仅起到支撑作用,还起到手机的固定作用,大大提高了其功能性。The above structure forms a five-bar mechanism through the first portion 2110, the second portion 2210, the first connection plate 2300, the second connection plate 2400, and the connecting rod 2500. When support is needed, the entire support plate 2000 structure is rotated to a certain angle. The first rod body 2510 and the second rod body 2520 are both disposed on a side of the support plate 2000 away from the front panel, and the first connection plate 2300 and the second connection plate 2400 are disposed on a side of the support plate 2000 near the front panel. When the support surface of the support plate 2000 gives a force away from the front panel, the five-link 2500 mechanism is at the first dead point position. The first plate 2100 and the first plate 2100, the first connection plate 2300, and the second connection The plate 2400 cannot be rotated, and the dead point position can only be opened by an external force near the front panel, which can ensure that the support plate 2000 is always a plate structure, which provides a stable support for the mobile phone. When the external force is used to open the dead point position, the first connecting plate and the second plate 2200 can be folded. At this time, the first connecting plate 2300 and the first connecting plate 2300 are rotated to the second dead point and the first connecting plate 2300. The second connecting plate 2400 can form a finger receiving portion for inserting a finger into the finger receiving portion, and can fix the mobile phone on a human hand to prevent the user from being crowded and colliding during use, causing the mobile phone to fall. The support plate 2000 not only plays a supporting role, but also plays a role of fixing the mobile phone, which greatly improves its functionality.
需要说明的是,上述的两个构件之间“相铰接”的实现方式可以是在一个构件上设有轴孔,另一构件上设有与所述轴孔相配合的转轴,转轴和轴孔共同形成一个转动机构,以使得两个构件可以相对转动。It should be noted that the implementation of the "phase articulation" between the two components described above may be provided with a shaft hole in one component, and a rotation shaft, a rotation shaft and a shaft hole matched with the shaft hole in the other component. Together, they form a rotating mechanism so that the two components can rotate relative to each other.
有利的,可以将第一连接板2300和第二连接板2400的材质选用为具有一定形变能力的材料,例如软质塑料,在第一连接板2300和第二连接板2400形成一个手指收容部时,手指插入其中可以提高舒适度。Advantageously, the material of the first connection plate 2300 and the second connection plate 2400 can be selected to have a certain deformability, such as soft plastic. When the first connection plate 2300 and the second connection plate 2400 form a finger receiving portion, , Inserting fingers into it can improve comfort.
再结合附图8所示,本实施例的所述第一端、第二端、第三端和第四端均设有一凹陷部2600,所述第一杆体2510的相对两端分别置于所述第 一端的凹陷部2600和所述第三端的凹陷部2600内,所述第二杆体2520相对两端分别置于所述第三端的凹陷部2600和所述第四端的凹陷部2600内。In combination with FIG. 8, the first end, the second end, the third end, and the fourth end of the embodiment are each provided with a recess 2600, and the opposite ends of the first rod body 2510 are respectively disposed in the recesses. Within the recessed portion 2600 of the first end and the recessed portion 2600 of the third end, opposite ends of the second rod body 2520 are respectively placed in the recessed portion 2600 of the third end and the recessed portion 2600 of the fourth end.
上述结构将连杆2500机构通过凹陷部设置在板体内,使得连杆2500机构和板体及连接板共同形成一个板体结构,提高了整个支撑板2000的整体性,便于支撑板2000的安装。In the above structure, the connecting rod 2500 mechanism is provided in the board body through the recessed portion, so that the connecting rod 2500 mechanism, the board body, and the connecting plate together form a board body structure, which improves the integrity of the entire supporting plate 2000 and facilitates the installation of the supporting plate 2000.
更有利的,本实施例还对凹陷区1100的结构进行改进,所述凹陷区1100具体包括底壁和侧壁,所述底壁上设有通风结构1110,所述通风结构1110可以是多个通风孔,通风结构1110也可以是在所述底壁设有通风格栅。通风孔和通风格栅的设计可以在支撑板2000处于支撑状态或者折叠状态下,加强手机的散热效果,进而延长了手机的使用寿命。More advantageously, this embodiment further improves the structure of the recessed area 1100. The recessed area 1100 specifically includes a bottom wall and a side wall. The bottom wall is provided with a ventilation structure 1110, and the ventilation structure 1110 may be a plurality of The ventilation hole and the ventilation structure 1110 may be provided with a ventilation grille on the bottom wall. The design of the ventilation holes and the ventilation grille can enhance the heat dissipation effect of the mobile phone when the support plate 2000 is in a supported state or a folded state, thereby extending the service life of the mobile phone.
本发明实施例提供了一种非暂态计算机可读存存储介质,所述计算机存储介质存储有计算机可执行指令,其中,当所述计算机可执行指令被电子设备执行时,使所述电子设备上执行上述任意方法实施例中的光线信息的确定方法。An embodiment of the present invention provides a non-transitory computer-readable storage storage medium, where the computer storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by an electronic device, the electronic device is caused The method for determining light information in any of the foregoing method embodiments is performed on the above.
本发明实施例提供了一种计算机程序产品,其中,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,其中,当所述程序指令被电子设备执行时,使所述电子设备执行上述任意方法实施例中的光线信息的确定方法。An embodiment of the present invention provides a computer program product, wherein the computer program product includes a computer program stored on a non-transitory computer-readable storage medium, the computer program includes program instructions, and when the program instructions When executed by an electronic device, the electronic device is caused to execute the method for determining light information in any of the foregoing method embodiments.
最后应说明的是:以上实施例仅用以说明本发明实施例的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。In the end, it should be noted that the above embodiments are only used to illustrate the technical solutions of the embodiments of the present invention, rather than limiting them. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: The technical solutions described in the foregoing embodiments can still be modified, or some of the technical features are equivalently replaced; and these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and range.

Claims (10)

  1. 一种光线信息的确定方法,其特征在于,包括:A method for determining light information, comprising:
    获取目标图片,将所述目标图片分解成第一预设数量的子图片,其中,所述子图片由第二预设数量的像素组成;Obtaining a target picture, and decomposing the target picture into a first preset number of sub-pictures, where the sub-pictures are composed of a second preset number of pixels;
    确定所述子图片的光线强度,并计算图像矩来确定所述子图片的光强加权中心;Determining the light intensity of the sub-picture, and calculating an image moment to determine a light-intensity weighting center of the sub-picture;
    根据所述子图片的光强加权中心与所述子图片的几何中心确定所述子图片的光线角度;Determining a light angle of the sub-picture according to a light-weighted center of the sub-picture and a geometric center of the sub-picture;
    分别对各所述子图片的光线强度、光线角度进行计算,得到所述目标图片对应的光线信息。Calculate the light intensity and light angle of each of the sub-pictures to obtain the light information corresponding to the target picture.
  2. 根据权利要求1所述的方法,其特征在于,所述分别对各所述子图片的光线强度、光线角度进行计算,得到所述目标图片对应的光线信息,包括:The method according to claim 1, wherein calculating the light intensity and light angle of each of the sub-pictures to obtain the light information corresponding to the target picture comprises:
    确定各所述子图片对应的权重值;Determining a weight value corresponding to each of the sub-pictures;
    根据所述权重值对各所述子图片的光线角度的向量进行加权求和,得到所述目标图片对应的光线角度;Performing weighted summation on a vector of light angles of each of the sub-pictures according to the weight value to obtain a light angle corresponding to the target picture;
    根据各所述子图片的光线强度得到平均光强,作为所述目标图片对应的光线强度。An average light intensity is obtained according to the light intensity of each of the sub-pictures, as the light intensity corresponding to the target picture.
  3. 根据权利要求1或2所述的方法,其特征在于,在所述确定所述子图片的光线强度之后,所述方法还包括:The method according to claim 1 or 2, wherein after the determining the light intensity of the sub-picture, the method further comprises:
    判断所述子图片的光线强度是否处于第一预设范围;Determining whether the light intensity of the sub-picture is in a first preset range;
    若未处于所述第一预设范围,则将所述子图片剔除。If it is not in the first preset range, the sub-picture is deleted.
  4. 根据所述权利要求1或2所述的方法,其特征在于,在所述根据所述子图片的光强加权中心与所述子图片的几何中心确定所述子图片的光线角度之后,所述方法还包括:The method according to claim 1 or 2, wherein after determining the light angle of the sub-picture according to the light-weighted center of the sub-picture and the geometric center of the sub-picture, the The method also includes:
    根据所述子图片的光线角度判断所述子图片的光线是否来自于地面;Determining whether the light of the sub-picture comes from the ground according to the light angle of the sub-picture;
    若来自于地面,则将所述子图片剔除。If it is from the ground, the sub-picture is deleted.
  5. 根据权利要求2所述的方法,其特征在于,所述方法还包括:The method according to claim 2, further comprising:
    根据所述权重值和所述光线角度的向量计算置信因子;Calculating a confidence factor according to a vector of the weight value and the ray angle;
    根据所述置信因子对所述权重值进行调整。Adjusting the weight value according to the confidence factor.
  6. 一种光线信息的确定装置,其特征在于,包括:A device for determining light information, comprising:
    获取模块,用于获取目标图片,将所述目标图片分解成第一预设数量的子图片,其中,所述子图片由第二预设数量的像素组成;An obtaining module, configured to obtain a target picture and decompose the target picture into a first preset number of sub-pictures, where the sub-pictures are composed of a second preset number of pixels;
    第一确定模块,用于确定所述子图片的光线强度,并计算图像矩来确定所述子图片的光强加权中心;A first determining module, configured to determine a light intensity of the sub-picture, and calculate an image moment to determine a light-intensity weighting center of the sub-picture;
    第二确定模块,用于根据所述子图片的光强加权中心与所述子图片的几何中心确定所述子图片的光线角度;A second determining module, configured to determine a light angle of the sub-picture according to a light intensity weighting center of the sub-picture and a geometric center of the sub-picture;
    计算模块,用于分别对各所述子图片的光线强度、光线角度进行计算,得到所述目标图片对应的光线信息。The calculation module is configured to calculate the light intensity and light angle of each of the sub-pictures to obtain the light information corresponding to the target picture.
  7. 根据权利要求6所述的装置,其特征在于,所述计算模块包括:The apparatus according to claim 6, wherein the calculation module comprises:
    第一确定单元,用于确定各所述子图片对应的权重值;A first determining unit, configured to determine a weight value corresponding to each of the sub-pictures;
    加权求和单元,用于根据所述权重值对各所述子图片的光线角度的向量进行加权求和,得到所述目标图片对应的光线角度;A weighted summing unit, configured to perform weighted summation on a vector of light angles of the sub-pictures according to the weight value to obtain a light angle corresponding to the target picture;
    第二确定单元,用于根据各所述子图片的光线强度得到平均光强,作为所述目标图片对应的光线强度。The second determining unit is configured to obtain an average light intensity according to the light intensity of each of the sub-pictures, as the light intensity corresponding to the target picture.
  8. 根据权利要求6或7所述的装置,其特征在于,所述第一确定模块还用于,判断所述子图片的光线强度是否处于第一预设范围;若未处于所述第一预设范围,则将所述子图片剔除。The device according to claim 6 or 7, wherein the first determining module is further configured to determine whether the light intensity of the sub-picture is in a first preset range; if it is not in the first preset range, Range, the sub-picture is eliminated.
  9. 根据所述权利要求6或7所述的装置,其特征在于,所述第二确定模块还用于,根据所述子图片的光线角度判断所述子图片的光线是否来自于地面;若来自于地面,则将所述子图片剔除。The device according to claim 6 or 7, wherein the second determining module is further configured to determine whether the light of the sub-picture comes from the ground according to the light angle of the sub-picture; Ground, the sub-pictures are removed.
  10. 一种电子设备,其特征在于,包括:至少一个处理器;以及,An electronic device, comprising: at least one processor; and
    与所述至少一个处理器通信连接的存储器;其中,A memory connected in communication with the at least one processor; wherein,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求1至5中任一项所述的光线信息的确定方法。The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute any one of claims 1 to 5. Method for determining light information.
PCT/CN2018/096689 2018-07-23 2018-07-23 Method and apparatus for determining light ray information, and electronic device WO2020019131A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2018/096689 WO2020019131A1 (en) 2018-07-23 2018-07-23 Method and apparatus for determining light ray information, and electronic device
CN201810904510.XA CN109005362B (en) 2018-07-23 2018-08-09 Light ray information determination method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/096689 WO2020019131A1 (en) 2018-07-23 2018-07-23 Method and apparatus for determining light ray information, and electronic device

Publications (1)

Publication Number Publication Date
WO2020019131A1 true WO2020019131A1 (en) 2020-01-30

Family

ID=64595805

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/096689 WO2020019131A1 (en) 2018-07-23 2018-07-23 Method and apparatus for determining light ray information, and electronic device

Country Status (2)

Country Link
CN (1) CN109005362B (en)
WO (1) WO2020019131A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101710429A (en) * 2009-10-12 2010-05-19 湖南大学 Illumination algorithm of augmented reality system based on dynamic light map
CN104915641A (en) * 2015-05-27 2015-09-16 上海交通大学 Method for obtaining face image light source orientation based on android platform
US20160307303A1 (en) * 2014-02-28 2016-10-20 Panasonic Intellectual Property Management Co., Ltd. Image capture device
CN106851106A (en) * 2017-03-09 2017-06-13 山东浪潮商用系统有限公司 A kind of enhancing AR follows the trail of the electronic image stabilization method of stability

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2306228A1 (en) * 1998-05-25 2011-04-06 Panasonic Corporation Range finder device and camera
WO2012111190A1 (en) * 2011-02-15 2012-08-23 三菱電機株式会社 Surface light source device and liquid crystal display device
JP6091176B2 (en) * 2012-11-19 2017-03-08 キヤノン株式会社 Image processing method, image processing program, image processing apparatus, and imaging apparatus
CN104463198A (en) * 2014-11-19 2015-03-25 上海电机学院 Method for carrying out illumination estimation on real illumination environment
CN106373179B (en) * 2016-08-29 2019-02-26 北京像素软件科技股份有限公司 Illumination scene rendering method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101710429A (en) * 2009-10-12 2010-05-19 湖南大学 Illumination algorithm of augmented reality system based on dynamic light map
US20160307303A1 (en) * 2014-02-28 2016-10-20 Panasonic Intellectual Property Management Co., Ltd. Image capture device
CN104915641A (en) * 2015-05-27 2015-09-16 上海交通大学 Method for obtaining face image light source orientation based on android platform
CN106851106A (en) * 2017-03-09 2017-06-13 山东浪潮商用系统有限公司 A kind of enhancing AR follows the trail of the electronic image stabilization method of stability

Also Published As

Publication number Publication date
CN109005362B (en) 2020-07-07
CN109005362A (en) 2018-12-14

Similar Documents

Publication Publication Date Title
WO2020029178A1 (en) Light and shadow rendering method and device for virtual object in panoramic video, and electronic apparatus
US10878537B2 (en) Image splicing method, apparatus, terminal, and storage medium
US11270419B2 (en) Augmented reality scenario generation method, apparatus, system, and device
TWI683259B (en) Method and related device of determining camera posture information
CN105453131B (en) The adjust automatically of image
WO2020019132A1 (en) Method and apparatus for rendering virtual object on the basis of light information, and electronic device
US11270464B2 (en) Dynamic detection and correction of light field camera array miscalibration
WO2018214365A1 (en) Image correction method, apparatus, device, and system, camera device, and display device
WO2019134516A1 (en) Method and device for generating panoramic image, storage medium, and electronic apparatus
US11082659B2 (en) Light field camera modules and light field camera module arrays
US11553123B2 (en) Dynamic detection and correction of light field camera array miscalibration
US8398246B2 (en) Real-time projection management
US11064154B2 (en) Device pose detection and pose-related image capture and processing for light field based telepresence communications
WO2019200719A1 (en) Three-dimensional human face model-generating method and apparatus, and electronic device
US10171785B2 (en) Color balancing based on reference points
JP7487293B2 (en) Method and device for controlling virtual camera movement, and computer device and program
CN105959675A (en) Video data processing method and device
WO2020019133A1 (en) Method and device for determining shadow effect and electronic device
WO2021135683A1 (en) Display terminal adjustment method and display terminal
US20140354784A1 (en) Shooting method for three dimensional modeling and electronic device supporting the same
CN109690611A (en) A kind of method for correcting image and device
EP2667615A1 (en) Method and apparatus for removing distortions when projecting images on real surfaces
JP2010072813A (en) Image processing device and image processing program
WO2020019134A1 (en) Illumination information optimization method and apparatus, and electronic device
WO2020019131A1 (en) Method and apparatus for determining light ray information, and electronic device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18928061

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 01.06.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18928061

Country of ref document: EP

Kind code of ref document: A1