Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Lightning image shooting method and device and computer readable storage medium

An image capture and lightning technology, applied in image communication, television, electrical components, etc., can solve problems such as low filming rate, achieve the effects of enhancing user experience, simplifying the shooting process, and improving shooting effects

Pending Publication Date: 2021-10-01
NUBIA TECHNOLOGY CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in extreme environments, it is dangerous for users to shoot lightning with handheld terminal devices; due to the differences in brightness, color, and shape of lightning, users often need to adjust shooting parameters during the shooting process, which has a knowledge blind spot for most ordinary users; lightning It is usually fleeting, and the user turns on the camera and manually adjusts the shooting parameters when the lightning strikes, which often leads to a very low filming rate

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Lightning image shooting method and device and computer readable storage medium
  • Lightning image shooting method and device and computer readable storage medium
  • Lightning image shooting method and device and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0072] image 3 It is a flow chart of the first embodiment of the lightning image capturing method of the present invention. A lightning image shooting method, the method comprising:

[0073] S1. When it is determined to enter the preset lightning image shooting mode, obtain a preview image according to the first shooting parameter, and obtain a downsampled grayscale image of the preview image, and calculate the correlation with the grayscale mean value of the downsampled grayscale image The parameter change ratio of .

[0074] S2. Calculate a second shooting parameter according to the parameter change ratio and the first shooting parameter, and acquire a plurality of preview image frames with the second shooting parameter and a preset frequency.

[0075] S3. Input the grayscale image of the preview image frame to the lightning recognition network for training, and judge whether there is lightning in the preview image frame.

[0076] S4. If it exists, obtain the current sho...

Embodiment 2

[0087] Figure 4 It is a flow chart of the second embodiment of the lightning image shooting method of the present invention. Based on the above embodiment, when it is determined to enter the preset lightning image shooting mode, a preview image is obtained according to the first shooting parameter, and the next step of obtaining the preview image is Sampling the grayscale image, and calculating the parameter change ratio related to the grayscale mean of the downsampled grayscale image, including:

[0088] S11. Detect whether to enter the lightning image shooting mode in the shooting preview state.

[0089] S12. If it is determined to enter the lightning image shooting mode, obtain a preview frame image PreviewImage according to the preset shooting frequency and preset shooting parameters 0 , wherein, the preset shooting parameters include exposure time expTime 0 , Sensitivity ISO 0 , digital zoom factor F 0 .

[0090] Optionally, in this embodiment, in the shooting and s...

Embodiment 3

[0092] Figure 5 It is a flow chart of the third embodiment of the lightning image shooting method of the present invention. Based on the above embodiment, when it is determined to enter the preset lightning image shooting mode, a preview image is obtained according to the first shooting parameter, and the next step of obtaining the preview image is Sampling the grayscale image, and calculating the parameter change ratio related to the grayscale mean value of the downsampled grayscale image, further comprising:

[0093] S13. Obtain the downsampled grayscale image PreviewMiniGray of the preset size of the preview image 0 .

[0094] S14. PreviewMiniGray the downsampled grayscale image 0 Perform histogram statistics.

[0095] Optionally, in this embodiment, the downsampled grayscale image of a preset size of the preview image is acquired, where the preset size may be a pixel ratio of 400*300.

[0096] Optionally, in this embodiment, the downsampled grayscale image with a pres...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a lightning image shooting method and device and a computer readable storage medium; the method comprises the steps: obtaining a preview image according to a first shooting parameter when determining to enter a preset lightning image shooting mode, and obtaining a down-sampling gray-scale map of the preview image, calculating a parameter change proportion related to a gray average value of the down-sampling gray-scale map; calculating a second shooting parameter according to the parameter change proportion and the first shooting parameter, and obtaining a plurality of preview image frames according to the second shooting parameter and a preset frequency; inputting the grey-scale map of the preview image frame into a lightning recognition network for training, and judging whether lightning exists in the preview image frame; if yes, acquiring the current shooting parameter list to the pixel interval proportion of the grey-scale map, and shooting multiple frames of lightning images according to the shooting parameter list. A humanized lightning image shooting scheme is realized, the shooting process is simplified, and the shooting effect is improved.

Description

technical field [0001] The invention relates to the field of mobile communication, in particular to a lightning image shooting method, device and computer-readable storage medium. Background technique [0002] In the prior art, with the continuous development of smart terminal devices, there are more and more scenarios where users use the terminal devices to take pictures, and among them, shooting lightning is one of the favorite usage scenarios of some users. However, in extreme environments, it is dangerous for users to shoot lightning with handheld terminal devices; due to the differences in brightness, color, and shape of lightning, users often need to adjust shooting parameters during the shooting process, which has a knowledge blind spot for most ordinary users; lightning It is usually fleeting, and the user turns on the camera and manually adjusts the shooting parameters when the lightning strikes, which often leads to an extremely low filming rate. [0003] Therefor...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04N5/232
CPCH04N23/61H04N23/632
Inventor 胡永吉
Owner NUBIA TECHNOLOGY CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products