WO2016011871A1 - Procédé de prise de vues, dispositif de prise de vues et support de stockage informatique - Google Patents
Procédé de prise de vues, dispositif de prise de vues et support de stockage informatique Download PDFInfo
- Publication number
- WO2016011871A1 WO2016011871A1 PCT/CN2015/082398 CN2015082398W WO2016011871A1 WO 2016011871 A1 WO2016011871 A1 WO 2016011871A1 CN 2015082398 W CN2015082398 W CN 2015082398W WO 2016011871 A1 WO2016011871 A1 WO 2016011871A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- image
- background
- currently
- normal
- brightness
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
Definitions
- the present invention relates to the field of imaging technology, and in particular, to a photographing method, a photographing apparatus, and a computer storage medium.
- Star-track shooting refers to the shooting mode in which the shooting device captures the running trajectory of the star through continuous exposure for a long time.
- the exposure time usually takes 20 to 60 minutes, and the photosensitive hardware capable of supporting long-time exposure is expensive.
- professional camera devices such as SLR cameras are equipped with the aforementioned photosensitive hardware, and for digital cameras such as digital Cameras, mobile phones, tablets, etc. cannot be equipped with such expensive photosensitive hardware.
- the Chinese Patent Application No. 201410112654.3 discloses a method for photographing a mobile terminal.
- the camera captures an image every preset time, and performs image synthesis according to the current image and the brightness information of the past image to generate a composite image.
- the photographing device is made to perform long-time exposure without relying on the photosensitive hardware, and the technique of image synthesis is used to simulate long-time exposure, and the star-track photographing function is realized on the digital photographing device.
- an embodiment of the present invention provides a photographing method, a photographing apparatus, and a computer storage medium, aiming at eliminating interference caused by sudden changes in ambient light on a photographing process. Improve the shooting effect.
- the embodiment of the invention provides a shooting method, and the method includes:
- the synthesizing the currently output image and the base image into a composite image includes:
- the pixels of the base image at the same position are replaced with the pixels of the currently output image to obtain the composite image.
- the determining whether the background of the currently outputted image is normal includes:
- the determining whether the brightness of the currently outputted image exceeds a preset multiple of the statistical value includes:
- the determining whether the background of the currently outputted image is normal includes:
- the base image when the first synthesis is performed, the base image is a first output normal background image or a preset image; when not first synthesized, the base image is a previously synthesized composite image.
- the background abnormality of the currently output image is determined, and the image is discarded.
- the number of bright spots is the number of pixel points in the image whose brightness value is greater than a predetermined threshold
- the acquiring the currently outputted image includes: collecting one image at a preset time; or acquiring the image in real time.
- the embodiment of the invention further provides a photographing device, which comprises an obtaining module, a judging module, a synthesizing module and a display module, wherein:
- Obtaining a module configured to obtain an image of the current output
- a determining module configured to determine whether a background of the currently outputted image is normal
- a synthesis module configured to determine a base image, and if the background of the currently output image is normal, synthesize the currently output image and the base image into a composite image
- a display module configured to display a composite image.
- the synthesizing module is configured to:
- the pixels of the base image at the same position are replaced with the pixels of the currently output image to obtain the composite image.
- the determining module is configured to:
- the determining module is configured to:
- the determining module is configured to:
- the base image is a first output normal background image or a preset image; when the synthesizing module is not first synthesized, the basic image is The composite image that was previously synthesized.
- the determining module is configured to: when it is determined that the brightness of the currently output image is greater than a preset value or exceed a preset multiple of the statistical value, determine a background abnormality of the currently output image, and discard the image.
- the number of bright spots is the number of pixel points in the image whose brightness value is greater than a predetermined threshold
- the determining module is configured to: when it is determined that the number of bright spots is greater than a preset value or exceed a preset multiple of the statistical value, determine a background abnormality of the currently output image, and discard the image.
- the acquiring module is configured to collect one image at a preset time; or collect the image in real time.
- the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the foregoing photographing method.
- the photographing method, device and computer storage medium provided by the embodiments of the present invention detect the background of the currently outputted image, and only combine the image with the base image when the background is detected to be normal, thereby eliminating
- the abnormal image of the background prevents the image of the background anomaly from being synthesized into the final composite image and affects the photo quality, thereby eliminating the interference caused by the sudden change of the ambient light and improving the shooting effect.
- FIG. 1 is a flow chart of an embodiment of a photographing method of the present invention
- FIG. 2 is a block diagram showing the structure of an embodiment of a photographing apparatus of the present invention.
- Figure 3 is a flow chart showing another embodiment of the photographing method of the present invention.
- the photographing method of the embodiment of the invention is mainly applied to star-track shooting, and the star-track photographing is used for photographing the motion trajectory of the stars, and the formation of the motion trajectory is caused by the relative motion between the photographer and the photographing target, and therefore can also be applied.
- the sudden change of ambient light in this embodiment mainly means that the ambient light suddenly becomes bright, and in other application scenarios, the ambient light may suddenly become dark.
- the following examples are described in detail by taking star track shooting as an example.
- FIG. 1 is a flowchart of an embodiment of a photographing method provided by the present invention. As shown in FIG. 1, the method includes:
- Step S301 Acquire an image currently output
- the collected image may be collected at intervals or collected in real time.
- Step S302 determining whether the background of the currently outputted image is normal
- Step S303 determining a base image if the background of the currently outputted image is normal
- Step S304 synthesize the currently output image and the base image into a composite image
- the base image when the first synthesis is performed, the base image is a first output normal background image or a preset image; when not first synthesized, the base image is a previously synthesized composite image.
- Step S305 displaying a composite image
- this step it may be displayed in real time or at regular intervals.
- FIG. 3 is a flowchart of another embodiment of a photographing method provided by the present invention.
- the photographing method includes the following steps:
- Step S101 collecting an image every preset time and outputting
- the imaging device collects the image through the camera interval and outputs the image.
- the interval time is the exposure time, and can be set to 40S to 60S, 5S to 10S, and the like.
- Step S102 determining whether the background of the currently outputted image is normal
- the photographing device determines whether the brightness of the currently outputted image is greater than a preset value or exceeds a preset value of the statistical value; if so, determining that the background of the image is abnormal; otherwise, determining that the background of the image is normal.
- a threshold value may be preset, the sum of the luminances of all the pixels in the currently output image, or the average brightness of the image is calculated, and then the calculation is obtained. The sum of the brightness, or the average brightness is compared with a preset threshold. If the threshold is higher than the threshold, the background is abnormal, otherwise the background is normal.
- the statistical value may be compared with a statistical value, and if the statistical value is exceeded by 1 to 2 times, the background abnormality is determined, otherwise the background is normal; the statistical value is obtained by the shooting device statistical base image or the brightness of the image of the background normal output in the past.
- the statistical value can be the average value, the median, and the like.
- the photographing device may also determine whether the number of bright points in the currently outputted image is greater than a preset value or exceed a preset multiple of the statistical value; if yes, determine that the background of the image is abnormal; otherwise, determine the background of the image. normal. Specifically, the photographing device calculates the number of bright points in the currently output image, where the bright point is a pixel point whose brightness value is greater than the threshold value, and then compares the calculated number of bright points with the preset number of bright point numbers, if the preset value is compared If the size is large, the background is abnormal, otherwise the background is normal. Alternatively, it may be compared with a statistical value.
- the statistical value is exceeded by 1 to 2 times, the background abnormality is determined, otherwise the background is normal; the statistical value is the number of bright spots in the image of the basic image of the photographing device or the image with normal background output in the past.
- the obtained value which can be the average value, the median, and the like.
- step S103 When it is determined that the background of the currently output image is abnormal, the process proceeds to step S103; otherwise, the process proceeds to step S104.
- Step S103 discarding the currently outputted image
- step S102 the detection of the next image output is continued.
- Step S104 determining a base image, synthesizing the currently output image and the base image into a composite image, and using the composite image as a base image for the next synthesis;
- the image is synthesized.
- the base image is first determined.
- the base image is the first output of the background normal image or the preset image.
- the currently output image is the start of shooting
- the preset image before shooting can be used as the base image; or there is no preset image, the first image with normal background is not synthesized, and the second background with normal background is output.
- the composition processing is performed only at the time of image, and at this time, the image of the first output with a normal background is used as the base image.
- the composite image obtained by the previous synthesis is determined as the base image of the synthesis.
- the synthesis process is performed. Specifically, taking the star track shooting as an example, the photographing device determines whether the brightness of the pixel of the image currently outputted at the same position is greater than the brightness of the pixel of the base image; if so, replacing the pixel of the base image of the same position with the pixel of the currently output image According to this, image synthesis is performed, a composite image is generated, and the composite image is used as a base image for the next image synthesis.
- Step S105 displaying the composite image in real time
- the composite image is displayed on the display screen in real time, and the process returns to step S102 to continue detecting the next image to be output, and preparing for the next image synthesis.
- image acquisition and image synthesis are performed synchronously to facilitate the user to view the currently generated composite image in real time; before each image is acquired and image synthesis is performed, it is detected whether the background of the currently output image is normal. If it is abnormal, discard the currently acquired image without synthesizing, and only combine the normal background image with the base image, thereby eliminating the background abnormal image and preventing the background abnormal image from being synthesized into the final composite image.
- the quality of the photos eliminates the interference caused by sudden changes in ambient light and improves the shooting effect.
- the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the foregoing photographing method.
- the photographing apparatus may be a general digital camera such as a card camera, or may be a terminal device such as a mobile phone or a tablet computer having a camera function.
- the photographing device includes an output module, an obtaining unit 201, a judging module 202, and a synthesizing module. 203 and display module 204.
- Output Module Configured to capture images and output them.
- the image is collected by the camera interval, and the interval time is the exposure time.
- the interval time is the exposure time.
- it can be set to 40S to 60S, 5S to 10S, and the like.
- the obtaining module 201 is configured to obtain an image currently output by the output module
- the determining module 202 configured to determine whether the background of the currently output image is normal. If the determination result is yes, the image is sent to the synthesis module; if the determination result is no, the image is discarded.
- the determining module 202 determines whether the brightness of the currently outputted image is greater than a preset value or exceeds a preset multiple of the statistical value; if so, determining that the background of the image is abnormal; otherwise, determining that the background of the image is normal.
- a threshold value may be preset, and the determining module 202 calculates the sum of the brightness of all the pixels in the currently output image, or the average brightness of the image, and then calculates the sum of the obtained brightness, or the average brightness and the preset threshold. The limit is compared. If the threshold is higher than the threshold, the background is abnormal. Otherwise, the background is normal. Alternatively, it may be compared with a statistical value.
- the statistical value is 1 to 2 times, the background abnormality is determined; otherwise, the background is normal; the statistical value is obtained by judging the brightness of the base image or the image of the normal background image output in the past.
- the statistical value can be the average value, the median, and the like.
- the determining module 202 may also determine whether the number of bright points in the currently outputted image is greater than a preset value or exceed a preset multiple of the statistical value; if yes, determine that the background of the image is abnormal; otherwise, determine the image.
- the background is normal.
- the determining module 202 calculates the number of bright points in the currently output image, where the bright point is a pixel point whose brightness value is greater than the threshold, and then compares the calculated number of bright points with the preset number of bright points, if the preset is compared If the value is large, the background is abnormal, otherwise the background is normal. Alternatively, it may be compared with a statistical value.
- the statistical value is 1 to 2 times, the background abnormality is determined, otherwise the background is determined to be normal; the statistical value is the judgment module 202.
- the synthesizing module 203 is configured to determine a base image, synthesize the currently output background normal image and the base image into a composite image, and use the composite image as a base image for the next synthesis.
- the synthesizing module 203 first determines the base image.
- the base image is the first output of the background normal image or the preset image.
- the preset image before shooting may be used as the base image; or there is no preset image, and the image with the first background normal may not be synthesized.
- the synthesis processing is performed when the second image with the normal background is output, and at this time, the image of the first output with the normal background is used as the base image.
- the composite image obtained by the previous synthesis is determined as the base image of the synthesis.
- the synthesizing module 203 determines whether the brightness of the pixel of the image currently outputted at the same position is greater than the brightness of the pixel of the base image; if so, replacing the pixel of the base image of the same position with the image of the current output.
- the pixels are subjected to image synthesis, a composite image is generated, and the composite image is used as a base image for the next image synthesis.
- the display module 204 is configured to display a composite image synthesized during shooting in real time.
- image acquisition and image synthesis are performed synchronously to facilitate the user to view the currently generated composite image in real time.
- the output module, the obtaining unit 201, the determining module 202, the synthesizing module 203, and the display module 204 may each be a central processing unit (CPU) or a digital signal processing (DSP). Or a microprocessor (MPU, Micro Processor Unit), or a Field Programmable Gate Array (FPGA); the CPU, DSP, MPU, and FPGA can be built in the data query system. Unified.
- CPU central processing unit
- DSP digital signal processing
- FPGA Field Programmable Gate Array
- the photographing apparatus of the present invention first detects whether the background of the currently outputted image is normal before each image is output and performs image synthesis. If the image is abnormal, the currently collected image is not synthesized, and only the background is normal. The image is combined with the base image to eliminate the background anomaly image, preventing the background anomaly image from being synthesized into the final composite image and affecting the photo quality, eliminating the interference caused by the sudden change of the ambient light, and improving the shooting. effect.
- the photographing device provided in the above embodiment is only illustrated by the division of the above functional modules when performing the star-track shooting. In actual applications, the above-mentioned function assignment can be completed by different functional modules as needed.
- the imaging device provided by the foregoing embodiment is the same as the embodiment of the imaging method, and the specific implementation process is described in detail in the method embodiment, and details are not described herein again.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
- Image Processing (AREA)
Abstract
Procédé de prise de vues, dispositif de prise de vues et support de stockage informatique. Le procédé comporte les étapes consistant à: acquérir une image actuellement délivrée; déterminer si l'arrière-plan de l'image actuellement délivrée est normal; déterminer une image de base si l'arrière-plan de l'image actuellement délivrée est normal; synthétiser l'image actuellement délivrée et l'image de base en une image synthétique; et afficher l'image synthétique.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410351395.X | 2014-07-22 | ||
CN201410351395.XA CN104113693B (zh) | 2014-07-22 | 2014-07-22 | 拍摄方法和拍摄装置 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016011871A1 true WO2016011871A1 (fr) | 2016-01-28 |
Family
ID=51710317
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2015/082398 WO2016011871A1 (fr) | 2014-07-22 | 2015-06-25 | Procédé de prise de vues, dispositif de prise de vues et support de stockage informatique |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104113693B (fr) |
WO (1) | WO2016011871A1 (fr) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114374796A (zh) * | 2021-12-31 | 2022-04-19 | 北京瞰瞰智能科技有限公司 | 图像处理方法、装置、图像传感器以及车辆 |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104113693B (zh) * | 2014-07-22 | 2016-04-06 | 努比亚技术有限公司 | 拍摄方法和拍摄装置 |
CN113810587B (zh) * | 2020-05-29 | 2023-04-18 | 华为技术有限公司 | 一种图像处理方法及装置 |
CN112261294B (zh) * | 2020-10-21 | 2022-08-26 | 维沃移动通信有限公司 | 一种拍摄方法、装置和电子设备 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005123824A (ja) * | 2003-10-15 | 2005-05-12 | Nippon Hoso Kyokai <Nhk> | 映像オブジェクト軌跡合成装置、その方法及びそのプログラム |
CN103888683A (zh) * | 2014-03-24 | 2014-06-25 | 深圳市中兴移动通信有限公司 | 移动终端及其拍摄方法 |
CN103905730A (zh) * | 2014-03-24 | 2014-07-02 | 深圳市中兴移动通信有限公司 | 移动终端的拍摄方法和移动终端 |
CN104113692A (zh) * | 2014-07-22 | 2014-10-22 | 深圳市中兴移动通信有限公司 | 图像拍摄方法和装置 |
CN104113693A (zh) * | 2014-07-22 | 2014-10-22 | 深圳市中兴移动通信有限公司 | 拍摄方法和拍摄装置 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1221138C (zh) * | 2003-10-08 | 2005-09-28 | 北京中星微电子有限公司 | 一种图像合成处理方法 |
JP2006174188A (ja) * | 2004-12-17 | 2006-06-29 | Casio Comput Co Ltd | 動画記録装置、及び動画撮影方法 |
JP5131257B2 (ja) * | 2009-08-27 | 2013-01-30 | カシオ計算機株式会社 | 表示制御装置及び表示制御プログラム |
JP5895409B2 (ja) * | 2011-09-14 | 2016-03-30 | 株式会社リコー | 撮像装置 |
-
2014
- 2014-07-22 CN CN201410351395.XA patent/CN104113693B/zh active Active
-
2015
- 2015-06-25 WO PCT/CN2015/082398 patent/WO2016011871A1/fr active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005123824A (ja) * | 2003-10-15 | 2005-05-12 | Nippon Hoso Kyokai <Nhk> | 映像オブジェクト軌跡合成装置、その方法及びそのプログラム |
CN103888683A (zh) * | 2014-03-24 | 2014-06-25 | 深圳市中兴移动通信有限公司 | 移动终端及其拍摄方法 |
CN103905730A (zh) * | 2014-03-24 | 2014-07-02 | 深圳市中兴移动通信有限公司 | 移动终端的拍摄方法和移动终端 |
CN104113692A (zh) * | 2014-07-22 | 2014-10-22 | 深圳市中兴移动通信有限公司 | 图像拍摄方法和装置 |
CN104113693A (zh) * | 2014-07-22 | 2014-10-22 | 深圳市中兴移动通信有限公司 | 拍摄方法和拍摄装置 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114374796A (zh) * | 2021-12-31 | 2022-04-19 | 北京瞰瞰智能科技有限公司 | 图像处理方法、装置、图像传感器以及车辆 |
CN114374796B (zh) * | 2021-12-31 | 2023-10-31 | 北京瞰瞰智能科技有限公司 | 图像处理方法、装置、图像传感器以及车辆 |
Also Published As
Publication number | Publication date |
---|---|
CN104113693B (zh) | 2016-04-06 |
CN104113693A (zh) | 2014-10-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5843454B2 (ja) | 画像処理装置、画像処理方法およびプログラム | |
CN111684788A (zh) | 一种图像处理的方法和装置 | |
US20110255786A1 (en) | Method and apparatus for determining flicker in the illumination of a subject | |
CN110290323B (zh) | 图像处理方法、装置、电子设备和计算机可读存储介质 | |
JP6300118B2 (ja) | 撮像装置、フリッカ検出方法及びプログラム | |
TW201103317A (en) | Response to detection of blur in an image | |
JP6096298B2 (ja) | 逆光補正方法、装置及び端末 | |
JP2007265125A (ja) | コンテンツ表示装置 | |
JP2017055231A (ja) | 画像処理装置、固体撮像素子、および電子機器 | |
WO2016011872A1 (fr) | Procédé et appareil de photographie d'une image et support de stockage informatique | |
WO2016011871A1 (fr) | Procédé de prise de vues, dispositif de prise de vues et support de stockage informatique | |
WO2016026465A1 (fr) | Procédé de prise de vues, dispositif de prise de vues, et programme informatique et support correspondants | |
JP6304605B2 (ja) | 撮像装置、フリッカ検出方法及びプログラム | |
JP2016054423A (ja) | 撮像装置、その制御方法およびプログラム | |
EP2541932A1 (fr) | Vérification de la qualité dans un système de surveillance vidéo | |
JP6191517B2 (ja) | 検出装置、検出プログラム、及び検出方法 | |
CN110049240B (zh) | 摄像头控制方法、装置、电子设备和计算机可读存储介质 | |
JP2018107705A (ja) | 撮像装置、その制御方法とプログラムと記録媒体 | |
JP7263626B2 (ja) | 画像における複数の光源のフリッカ現象の低減 | |
JP2012159781A5 (ja) | 制御装置、表示制御方法、およびプログラム | |
JP2017192114A5 (fr) | ||
JP2017069741A (ja) | 撮像装置、フリッカ検出方法及びプログラム | |
US10965877B2 (en) | Image generating method and electronic apparatus | |
JP2016189521A (ja) | 画像信号処理装置、画像信号処理方法、およびプログラム | |
Sindelar et al. | Space-variant image deblurring on smartphones using inertial sensors |
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: 15824730 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 1205 DATED 23/06/2017) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 15824730 Country of ref document: EP Kind code of ref document: A1 |