WO2016026455A1 - Method and device for automatically optimizing star trail photography result - Google Patents
Method and device for automatically optimizing star trail photography result Download PDFInfo
- Publication number
- WO2016026455A1 WO2016026455A1 PCT/CN2015/087698 CN2015087698W WO2016026455A1 WO 2016026455 A1 WO2016026455 A1 WO 2016026455A1 CN 2015087698 W CN2015087698 W CN 2015087698W WO 2016026455 A1 WO2016026455 A1 WO 2016026455A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- star
- track
- pixel
- pixel point
- pixels
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 230000000694 effects Effects 0.000 claims description 46
- 238000004364 calculation method Methods 0.000 claims description 15
- 238000012545 processing Methods 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims description 6
- 238000005457 optimization Methods 0.000 abstract description 13
- 238000012805 post-processing Methods 0.000 abstract description 3
- 230000035772 mutation Effects 0.000 description 2
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000009432 framing Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
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
- H04N23/71—Circuitry for evaluating the brightness variation
-
- 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/10—Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from different wavelengths
Definitions
- This paper deals with the field of automatic optimization of star-track shooting effects, especially relates to a method and device for automatically optimizing the star-track shooting effect.
- the star track is a night scene picture taken by photographers.
- the photographer wants to highlight the subject object (ie, the star track) to enhance the visual effect, but in the actual shooting process, when shooting the star track, there are often interferences from various light sources.
- the scenery of the non-satellite track becomes as prominent as the star track, even more prominent than the star track, or makes the image appear very messy, breaking the overall effect of the shooting.
- the related art can process the captured image by using the image processing software after the shooting is completed, this requires not only a large amount of time and effort, but also a reshooting when the framing error or the unsatisfactory is found after the processing is performed. It is necessary to provide a method and apparatus for automatically optimizing the star track shooting effect at the shooting scene.
- the technical problem to be solved by the present invention is to provide a method and a device for automatically optimizing the star-track shooting effect, so as to solve the problem that the user needs to spend a lot of time and energy on the captured star-track image in the related art star-track shooting. And can't find the shooting effect in the shooting scene in time is not ideal, miss the defect of the timing of the reshoot.
- the step of determining a pixel point in a non-star-track region in the captured star-track image include:
- the pixel point is a pixel point of the star track area, otherwise, the pixel point is determined to be a pixel point of the non-star track area.
- the step of obtaining a range of luminance values of the pixels of the star track region includes:
- a range of luminance values of the pixels of the star-track region is obtained by performing statistical calculation on the luminance values of the pixels of the first row in the star-track image.
- the step of performing pixel-by-row scanning on the pixel points in the star-track image to obtain the brightness value of each pixel point includes:
- the pixels in the star track image are scanned line by line, and then the brightness value of each pixel is read.
- the step of determining pixels located in the non-satellite orbit region in the captured star-track image includes:
- the C step includes:
- step C1 determining that the first pixel and the last pixel in each row are abrupt pixels, and performing step C2 from the first pixel;
- step C2 sequentially calculating an absolute value of a luminance difference between adjacent pixel points, and determining whether an absolute value of a luminance difference between the current pixel point and a subsequent adjacent pixel point exceeds a first preset threshold, and if so, Perform step C3;
- the step of obtaining a range of luminance values of the pixels of the star track region includes:
- a range of luminance values of the pixels of the star-track region is obtained by performing statistical calculation on the luminance values of the pixels of the first row in the star-track image.
- the step of performing pixel-by-row scanning on the pixel points in the star-track image to obtain the brightness value of each pixel point includes:
- the pixels in the star track image are scanned line by line, and then the brightness value of each pixel is read.
- a device for automatically optimizing a star-track shooting effect comprising a region determining unit and a processing unit, wherein:
- the area determining unit is configured to: determine, at the end of the star-track shooting, a pixel point in the non-star-track region of the captured star-track image;
- the processing unit is configured to perform darkening processing on pixel points in the non-satellite track region.
- the area determining unit is configured to determine the captured star track image as follows Pixels located in non-star-track regions:
- the area determining unit is configured to obtain a range of brightness values of the pixels of the star track area as follows:
- a range of luminance values of the pixels of the star-track region is obtained by performing statistical calculation on the luminance values of the pixels of the first row in the star-track image.
- the area determining unit is configured to scan the pixel points in the star track image row by row to obtain brightness values of each pixel point:
- the pixels in the star track image are scanned line by line, and then the brightness value of each pixel is read.
- the area determining unit is configured to determine pixels of the captured star track image that are located in the non-star track area as follows:
- the area determining unit is configured to: according to the acquired brightness values of the respective pixel points, find a sudden pixel point in which the change of the brightness value in each row of pixels exceeds the first preset threshold:
- step C1 determining that the first pixel and the last pixel in each row are abrupt pixels, and performing step C2 from the first pixel;
- step C2 sequentially calculating an absolute value of a luminance difference between adjacent pixel points, and determining whether an absolute value of a luminance difference between the current pixel point and a subsequent adjacent pixel point exceeds a first preset threshold, and if so, Perform step C3;
- the area determining unit is configured to obtain a range of brightness values of the pixels of the star track area as follows:
- a range of luminance values of the pixels of the star-track region is obtained by performing statistical calculation on the luminance values of the pixels of the first row in the star-track image.
- the area determining unit is configured to scan the pixel points in the star track image row by row to obtain brightness values of each pixel point:
- the pixels in the star track image are scanned line by line, and then the brightness value of each pixel is read.
- a mobile terminal comprising any of the above-mentioned automatic star-track shooting effects automatically optimized for optimizing the star-track image captured by the camera.
- the mobile terminal further includes a photographing device for performing star track shooting to obtain a star track image.
- a computer program comprising program instructions that, when executed by a terminal, cause the terminal to perform an automatic optimization of any of the above-described star-tracking effects.
- the method and device for automatically optimizing the star-track shooting effect of the technical solution of the present invention can determine the pixel points in the non-star-track region of the captured star-track image at the end of the star-track shooting, and the pixel points in the non-star-track region Darkening can highlight the star track as the focus of the entire star track image, thus making the star track image more dreamy; and the entire optimization process does not require user participation, saving users the late stage of the star track image
- FIG. 1 is a schematic block diagram of an apparatus for automatically optimizing a star track shooting effect according to an embodiment of the present invention
- FIG. 2 is a flowchart of a method for automatically optimizing a star track shooting effect according to an embodiment of the present invention
- step S201 is a flow chart of step S201 in a scenario of the embodiment shown in FIG. 2;
- step S201 is a flow chart of step S201 in another scenario of the embodiment shown in FIG. 2.
- Embodiments of the present invention provide a mobile terminal including a photographing device for performing star-track shooting and a device for automatically optimizing a star-track shooting effect for optimizing a star-track image captured by the photographing device.
- the device for automatically optimizing the star track shooting effect includes: an area determining unit 101 and a processing unit 102, where
- the area determining unit 101 is configured to: determine, at the end of the star-track shooting, the pixel points in the non-star-track region of the captured star-track image;
- the processing unit 102 is configured to perform darkening processing on the pixels in the non-satellite region.
- the camera collects an image every preset time, and then determines whether the brightness of the pixel in the current image at the same position is greater than the brightness of the pixel in the past image, and if so, The pixels at the same position in the past image are replaced with the pixels in the current image, and image synthesis is performed accordingly. Therefore, in the embodiment of the present invention, the pixel points of the star track area and the non-star track area are distinguished by using different brightness values of the pixel points of the star track image and the non-star track area.
- the region determining unit 101 determines that the pixel points in the non-star-track region in the captured star-track image can be implemented in two ways:
- the area determining unit 101 is configured to: obtain a brightness value range of the pixel points of the star track area; scan the pixel points in the star track image one by one to obtain the brightness value of each pixel point; and determine the brightness value of each pixel point Whether the size is within the range of the brightness value, and if so, determining that the pixel is a pixel of the star track region; otherwise, determining that the pixel is a pixel of the non-star region.
- the area determining unit 101 is configured to: determine a pixel point in the non-star-track region of the captured star-track image by: A, obtaining a range of luminance values of the pixel points of the star-track region; B, and pixels in the image of the star-track image Point-by-row scanning to obtain the brightness value of each pixel; C.
- each pixel point find a sudden image in which the change of the brightness value in each row of pixels exceeds the first preset threshold a point; D, determining the number of brightness values between adjacent abrupt pixel points of each row exceeding the number of pixels in the range of brightness values and the number of all pixels between the adjacent abrupt pixel points Whether the percentage is greater than a preset second threshold, and if so, determining that the pixel between the adjacent abrupt pixel points is a pixel point of the non-satellite orbit region; otherwise, determining a pixel point between the adjacent abrupt pixel points is The pixel point of the star track area.
- pixels A1-A100 there are 100 pixels between pixels A1-A100, and the brightness value of 10 pixels (A5, A12, A15, ...) exceeds the brightness value range, the percentage is 10%, which is less than the second threshold, then A1 is judged.
- -A100 is the star track area;
- B1-B100 There are 100 pixels between the pixels B1-B100, and the brightness value of 70 pixels exceeds the brightness value range, and the percentage is 70%. If the value is greater than the second threshold, it is judged that B1-B100 is a non-star track area.
- the area determining unit is configured to: according to the obtained brightness value of each pixel point, find a sudden pixel point in which the change of the brightness value in each row of pixels exceeds the first preset threshold, or set
- the above step C is implemented as follows: C1, determining that the first pixel and the last pixel in each row are abrupt pixels, and performing step C2 from the first pixel; C2, sequentially calculating adjacent And determining an absolute value of the luminance difference between the pixel points, and determining whether the absolute value of the luminance difference between the current pixel point and the subsequent adjacent pixel point exceeds a first preset threshold, and if yes, performing step C3; C3, Calculating the absolute value of the brightness difference between the current pixel point and the subsequent pixel point in turn, and determining whether the current pixel point is the last pixel point, and if so, stopping the calculation, if otherwise, until the absolute value of the brightness difference is less than the first preset Another pixel point of the threshold, and determining whether the number of N pixel points between
- a row of pixels C1-C100 determine C1, C100 as abrupt pixel points
- the region determining unit 101 may further scan the pixels in the star track image row by row, and read the brightness values of the pixels with the same distance.
- the first preset threshold, the second preset threshold, and the range of brightness values of the satellite track pixels can be obtained based on experimental data.
- the range of brightness values of the pixels in the star track area can also be obtained by statistically counting the brightness values of the pixels in the first row of the star track image during scanning.
- the device for automatically optimizing the star-track shooting effect can determine the pixel points in the non-star-track region of the captured star-track image at the end of the star-track shooting, and darken the pixels in the non-star-track region.
- the star track can be highlighted as the focus of the entire star track image, thus making the star track image more dreamy; and the entire optimization process does not require user participation, saving the user post-processing of the star track image.
- the optimization is completed directly at the shooting scene, and the user can find out whether the shooting effect is ideal in time, and timely make up the shot when the shooting effect is not ideal, thereby improving the user experience.
- the embodiment of the present invention further provides a method for automatically optimizing the star track shooting effect.
- the method flow includes:
- step S201 includes the following steps:
- the range of brightness values of the pixels in the star track region can be obtained by using experimental data, and then used as a preset value; or by scanning the brightness of the pixel in the first row of the star track image during scanning.
- the value is obtained by statistical calculation.
- the pixel points in the star track image are scanned row by row, and then the brightness values of the pixels with the same distance are read; the brightness value of each pixel point may also be read.
- step S201 includes the following steps:
- steps A and B are the same as steps S2011 and S2012 in FIG. 3, and details are not described herein again.
- pixels A1-A100 there are 100 pixels between pixels A1-A100, and the brightness value of 10 pixels (A5, A12, A15, ...) exceeds the brightness value range, the percentage is 10%, which is less than the second threshold, then A1 is judged.
- -A100 is the star track area;
- B1-B100 There are 100 pixels between the pixels B1-B100, and the brightness value of 70 pixels exceeds the brightness value range, and the percentage is 70%. If the value is greater than the second threshold, it is judged that B1-B100 is a non-star track area.
- the step C includes:
- step C1 determining that the first pixel and the last pixel in each row are abrupt pixels, and performing step C2 from the first pixel;
- step C2 sequentially calculating an absolute value of a luminance difference between adjacent pixel points, and determining whether an absolute value of a luminance difference between the current pixel point and a subsequent adjacent pixel point exceeds a first preset threshold, and if so, Perform step C3;
- a row of pixels C1-C100 determine C1, C100 as abrupt pixel points
- the first preset threshold, the second preset threshold, and the range of luminance values of the pixels in the satellite track area of the embodiment may be obtained according to experimental data.
- the method for automatically optimizing the star-track shooting effect can determine the pixel points in the non-star-track region of the captured star-track image at the end of the star-track shooting, and darken the pixels in the non-star-track region.
- the star track can be highlighted as the focus of the entire star track image, thus making the star track image more dreamy; and the entire optimization process does not require user participation, saving the user post-processing of the star track image.
- the optimization is completed directly at the shooting scene, and the user can find out whether the shooting effect is ideal in time, and timely make up the shot when the shooting effect is not ideal, thereby improving the user experience.
- the embodiment of the invention further discloses a computer program, comprising program instructions, when the program instruction is executed by the terminal, so that the terminal can perform the method for automatically optimizing any of the above-mentioned star track shooting effects.
- the embodiment of the invention also discloses a carrier carrying the computer program.
- the method and device for automatically optimizing the star-track shooting effect of the technical solution of the present invention can determine the pixel points in the non-star-track region of the captured star-track image at the end of the star-track shooting, and the pixel points in the non-star-track region Darkening can highlight the star track as the focus of the entire star track image, thus making the star track image more dreamy; and the entire optimization process does not require user participation, saving users the late stage of the star track image
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
- Image Analysis (AREA)
Abstract
A method and device for automatically optimizing a star trail photography result, the method comprising: when star trail photographing is complete, determining pixel points located in a non-star trail area in a star trail image; and darkening the pixel points in the non-star trail area. The technical solution can determine, after star trail photographing is complete, a non-star trail area in a photographed star trail image based on preset optimization options, and darken the determined non-star trail area to highlight the star trail as the focus of the entire photographed star trail image, making the photographed star trail image more dreamlike and fantastical. In addition, the entire optimization process does not require user intervention, saving time of a user when post-processing the star trail image; moreover, the optimization process is completed at a photographing location, such that a user can timely discover whether photography results are ideal, and if not, can timely take a reshoot, thus improving user experience.
Description
本文涉及星轨拍摄效果自动优化技术领域,尤其涉及一种星轨拍摄效果自动优化的方法及装置。This paper deals with the field of automatic optimization of star-track shooting effects, especially relates to a method and device for automatically optimizing the star-track shooting effect.
随着数字成像技术的发展,拍摄者可以实现对各种场景的拍摄,其中星轨更是摄影爱好者必拍的夜景图片。在拍摄星轨时,拍摄者都希望能够突出拍摄的主体对像(即星轨),以增强视觉效果,但是实际拍摄过程中,在对星轨进行拍摄时,往往存在各种光源的干扰,使得非星轨区域的景色变得与星轨一样突出,甚至比星轨更加突出,或者使得图像显得非常杂乱,破环了拍摄的整体效果。With the development of digital imaging technology, photographers can shoot a variety of scenes, and the star track is a night scene picture taken by photographers. When shooting a star track, the photographer wants to highlight the subject object (ie, the star track) to enhance the visual effect, but in the actual shooting process, when shooting the star track, there are often interferences from various light sources. The scenery of the non-satellite track becomes as prominent as the star track, even more prominent than the star track, or makes the image appear very messy, breaking the overall effect of the shooting.
相关技术虽然可以在拍摄完成后利用图像处理软件对拍摄的图像进行处理,但是这不仅需要用户花费大量的时间和精力,更无法在进行处理后发现取景失误或不理想时进行补拍,因此有必要提供一种能够在拍摄现场对星轨拍摄效果自动优化的方法及装置。Although the related art can process the captured image by using the image processing software after the shooting is completed, this requires not only a large amount of time and effort, but also a reshooting when the framing error or the unsatisfactory is found after the processing is performed. It is necessary to provide a method and apparatus for automatically optimizing the star track shooting effect at the shooting scene.
发明内容Summary of the invention
有鉴于此,本发明要解决的技术问题是提供一种星轨拍摄效果自动优化的方法及装置,以解决相关技术星轨拍摄中用户需对拍摄的星轨图像花费大量的时间和精力进行处理,以及不能在拍摄现场及时发现拍摄效果不理想,错过补拍时机的缺陷。In view of this, the technical problem to be solved by the present invention is to provide a method and a device for automatically optimizing the star-track shooting effect, so as to solve the problem that the user needs to spend a lot of time and energy on the captured star-track image in the related art star-track shooting. And can't find the shooting effect in the shooting scene in time is not ideal, miss the defect of the timing of the reshoot.
本发明解决上述技术问题所采用的技术方案如下:The technical solution adopted by the present invention to solve the above technical problems is as follows:
一种星轨拍摄效果自动优化的方法,包括如下步骤:A method for automatically optimizing a star track shooting effect includes the following steps:
当星轨拍摄结束时,确定拍摄的星轨图像中位于非星轨区域的像素点;When the star track is over, determine the pixel points in the non-star track area of the captured star track image;
对所述非星轨区域中的像素点进行暗化处理。Darkening the pixels in the non-satellite region.
可选地,所述确定拍摄的星轨图像中位于非星轨区域的像素点的步骤包
括:Optionally, the step of determining a pixel point in a non-star-track region in the captured star-track image
include:
获取星轨区像素点的亮度值范围;Obtain a range of luminance values of pixels in the star track area;
对所述星轨图像中的像素点进行逐排扫描,获取各像素点的亮度值;Performing a row-by-row scan on the pixel points in the star-track image to obtain a brightness value of each pixel point;
判断每个像素点的亮度值的大小是否在所述亮度值范围之内;Determining whether the magnitude of the luminance value of each pixel is within the range of the luminance value;
若是,则确定所述像素点为星轨区域的像素点,否则,确定所述像素点为非星轨区域的像素点。If yes, it is determined that the pixel point is a pixel point of the star track area, otherwise, the pixel point is determined to be a pixel point of the non-star track area.
可选地,所述获取星轨区像素点的亮度值范围的步骤包括:Optionally, the step of obtaining a range of luminance values of the pixels of the star track region includes:
根据实验数据获得所述星轨区像素点的亮度值范围,然后将所述星轨区像素点的亮度值范围作为一个预设值;或者,Obtaining a brightness value range of the pixel points of the star track area according to the experimental data, and then using the brightness value range of the pixel area of the star track area as a preset value; or
在扫描时,通过对星轨图像中第一排的像素点的亮度值进行统计计算获取所述星轨区像素点的亮度值范围。At the time of scanning, a range of luminance values of the pixels of the star-track region is obtained by performing statistical calculation on the luminance values of the pixels of the first row in the star-track image.
可选地,所述对所述星轨图像中的像素点进行逐排扫描,获取各像素点的亮度值的步骤包括:Optionally, the step of performing pixel-by-row scanning on the pixel points in the star-track image to obtain the brightness value of each pixel point includes:
对该星轨图像中的像素点进行逐排扫描,然后读取间隔距离相同的像素点的亮度值;或者,Performing a row-by-row scan of the pixels in the star-track image, and then reading the brightness values of the pixels having the same distance; or
对该星轨图像中的像素点进行逐排扫描,然后读取每一个像素点的亮度值。The pixels in the star track image are scanned line by line, and then the brightness value of each pixel is read.
可选地,所述确定拍摄的星轨图像中位于非星轨区域的像素点的步骤包括:Optionally, the step of determining pixels located in the non-satellite orbit region in the captured star-track image includes:
A、获取星轨区像素点的亮度值范围;A. Obtain a range of brightness values of pixels in the star track area;
B、对所述星轨图像中的像素点进行逐排扫描,获取各像素点的亮度值;B. Scan the pixels in the star track image row by row to obtain the brightness value of each pixel point;
C、根据获取的各像素点的亮度值,查找每一排像素点中亮度值的变化超出第一预设阀值的突变像素点;C. Find, according to the obtained brightness value of each pixel point, a sudden pixel point in which the change of the brightness value in each row of pixels exceeds the first preset threshold;
D、判断每一排的相邻的突变像素点之间的亮度值的大小超出所述亮度值范围的像素点的数量与所述相邻的突变像素点之间的所有像素点的数量的百分比是否大于预设的第二阀值,若是,判断所述相邻的突变像素点之间的像素点为非星轨区域的像素点,否则判断所述相邻的突变像素点之间的像素点为星轨区域的像素点。D. determining that the size of the luminance value between adjacent abrupt pixel points of each row exceeds the number of pixels of the luminance value range and the percentage of the number of all pixel points between the adjacent abrupt pixel points Whether it is greater than a preset second threshold, if yes, determining that a pixel point between the adjacent abrupt pixel points is a pixel point of a non-star-track region, otherwise determining a pixel point between the adjacent abrupt pixel points The pixel point of the star track area.
可选地,所述C步骤包括:
Optionally, the C step includes:
C1、确定每一排中的第一个像素点及最后一个像素点为突变像素,并从所述第一个像素点开始执行步骤C2;C1, determining that the first pixel and the last pixel in each row are abrupt pixels, and performing step C2 from the first pixel;
C2、依次计算相邻的像素点之间的亮度差的绝对值,并判断该当前像素点与其后相邻像素点之间的亮度差的绝对值是否超过第一预设阀值,若是,则执行步骤C3;C2, sequentially calculating an absolute value of a luminance difference between adjacent pixel points, and determining whether an absolute value of a luminance difference between the current pixel point and a subsequent adjacent pixel point exceeds a first preset threshold, and if so, Perform step C3;
C3、依次计算该当前像素点与其后像素点的亮度差的绝对值,并判断当前像素点是否为该最后一个像素点,若是则停止计算,若否则直到找出亮度差绝对值小于该第一预设阀值的另一像素点,并且判断该另一像素点和当前像素点之间间隔的N个像素点的数量是否大于第三预设阈值,若是,确定该当前像素点和另一像素点为突变像素点,并以另一像素点作为突变像素点开始继续执行步骤C2。C3. Calculate the absolute value of the brightness difference between the current pixel point and the subsequent pixel point in turn, and determine whether the current pixel point is the last pixel point, and if so, stop the calculation, if otherwise, until the absolute value of the brightness difference is less than the first Presetting another pixel point of the threshold, and determining whether the number of N pixel points spaced between the other pixel point and the current pixel point is greater than a third predetermined threshold, and if so, determining the current pixel point and another pixel The point is the abrupt pixel point, and step C2 is continued with another pixel point as the abrupt pixel point.
可选地,所述获取星轨区像素点的亮度值范围的步骤包括:Optionally, the step of obtaining a range of luminance values of the pixels of the star track region includes:
根据实验数据获得所述星轨区像素点的亮度值范围,然后将所述星轨区像素点的亮度值范围作为一个预设值;或者,Obtaining a brightness value range of the pixel points of the star track area according to the experimental data, and then using the brightness value range of the pixel area of the star track area as a preset value; or
在扫描时,通过对星轨图像中第一排的像素点的亮度值进行统计计算获取所述星轨区像素点的亮度值范围。At the time of scanning, a range of luminance values of the pixels of the star-track region is obtained by performing statistical calculation on the luminance values of the pixels of the first row in the star-track image.
可选地,所述对所述星轨图像中的像素点进行逐排扫描,获取各像素点的亮度值的步骤包括:Optionally, the step of performing pixel-by-row scanning on the pixel points in the star-track image to obtain the brightness value of each pixel point includes:
对该星轨图像中的像素点进行逐排扫描,然后读取间隔距离相同的像素点的亮度值;或者,Performing a row-by-row scan of the pixels in the star-track image, and then reading the brightness values of the pixels having the same distance; or
对该星轨图像中的像素点进行逐排扫描,然后读取每一个像素点的亮度值。The pixels in the star track image are scanned line by line, and then the brightness value of each pixel is read.
一种星轨拍摄效果自动优化的装置,所述装置包括区域确定单元和处理单元,其中:A device for automatically optimizing a star-track shooting effect, the device comprising a region determining unit and a processing unit, wherein:
所述区域确定单元设置成:在星轨拍摄结束时,确定拍摄的星轨图像中位于非星轨区域的像素点;The area determining unit is configured to: determine, at the end of the star-track shooting, a pixel point in the non-star-track region of the captured star-track image;
所述处理单元设置成:对所述非星轨区域中的像素点进行暗化处理。The processing unit is configured to perform darkening processing on pixel points in the non-satellite track region.
可选地,所述区域确定单元设置成按照如下方式确定拍摄的星轨图像中
位于非星轨区域的像素点:Optionally, the area determining unit is configured to determine the captured star track image as follows
Pixels located in non-star-track regions:
获取星轨区像素点的亮度值范围;Obtain a range of luminance values of pixels in the star track area;
对所述星轨图像中的像素点进行逐排扫描,获取各像素点的亮度值;Performing a row-by-row scan on the pixel points in the star-track image to obtain a brightness value of each pixel point;
判断每个像素点的亮度值的大小是否在所述亮度值范围之内,若是,则确定所述像素点为星轨区域的像素点,否则,确定所述像素点为非星轨区域的像素点。Determining whether the magnitude of the luminance value of each pixel is within the range of the luminance value, and if so, determining that the pixel is a pixel of the star track region; otherwise, determining that the pixel is a pixel of the non-star region point.
可选地,所述区域确定单元设置成按照如下方式获取星轨区像素点的亮度值范围:Optionally, the area determining unit is configured to obtain a range of brightness values of the pixels of the star track area as follows:
根据实验数据获得所述星轨区像素点的亮度值范围,然后将所述星轨区像素点的亮度值范围作为一个预设值;或者,Obtaining a brightness value range of the pixel points of the star track area according to the experimental data, and then using the brightness value range of the pixel area of the star track area as a preset value; or
在扫描时,通过对星轨图像中第一排的像素点的亮度值进行统计计算获取所述星轨区像素点的亮度值范围。At the time of scanning, a range of luminance values of the pixels of the star-track region is obtained by performing statistical calculation on the luminance values of the pixels of the first row in the star-track image.
可选地,所述区域确定单元设置成按照如下方式对所述星轨图像中的像素点进行逐排扫描,获取各像素点的亮度值:Optionally, the area determining unit is configured to scan the pixel points in the star track image row by row to obtain brightness values of each pixel point:
对该星轨图像中的像素点进行逐排扫描,然后读取间隔距离相同的像素点的亮度值;或者,Performing a row-by-row scan of the pixels in the star-track image, and then reading the brightness values of the pixels having the same distance; or
对该星轨图像中的像素点进行逐排扫描,然后读取每一个像素点的亮度值。The pixels in the star track image are scanned line by line, and then the brightness value of each pixel is read.
可选地,所述区域确定单元设置成按照如下方式确定拍摄的星轨图像中位于非星轨区域的像素点:Optionally, the area determining unit is configured to determine pixels of the captured star track image that are located in the non-star track area as follows:
A、获取星轨区像素点的亮度值范围;A. Obtain a range of brightness values of pixels in the star track area;
B、对所述星轨图像中的像素点进行逐排扫描,获取各像素点的亮度值;B. Scan the pixels in the star track image row by row to obtain the brightness value of each pixel point;
C、根据获取的各像素点的亮度值,查找每一排像素点中亮度值的变化超出第一预设阀值的突变像素点;C. Find, according to the obtained brightness value of each pixel point, a sudden pixel point in which the change of the brightness value in each row of pixels exceeds the first preset threshold;
D、判断每一排的相邻的突变像素点之间的亮度值的大小超出所述亮度值范围的像素点的数量与所述相邻的突变像素点之间的所有像素点的数量的百分比是否大于预设的第二阀值,若是,判断所述相邻的突变像素点之间的像素点为非星轨区域的像素点,否则判断所述相邻的突变像素点之间的像素点为星轨区域的像素点。
D. determining that the size of the luminance value between adjacent abrupt pixel points of each row exceeds the number of pixels of the luminance value range and the percentage of the number of all pixel points between the adjacent abrupt pixel points Whether it is greater than a preset second threshold, if yes, determining that a pixel point between the adjacent abrupt pixel points is a pixel point of a non-star-track region, otherwise determining a pixel point between the adjacent abrupt pixel points The pixel point of the star track area.
可选地,所述区域确定单元设置成按照如下方式根据获取的各像素点的亮度值,查找每一排像素点中亮度值的变化超出第一预设阀值的突变像素点:Optionally, the area determining unit is configured to: according to the acquired brightness values of the respective pixel points, find a sudden pixel point in which the change of the brightness value in each row of pixels exceeds the first preset threshold:
C1、确定每一排中的第一个像素点及最后一个像素点为突变像素,并从所述第一个像素点开始执行步骤C2;C1, determining that the first pixel and the last pixel in each row are abrupt pixels, and performing step C2 from the first pixel;
C2、依次计算相邻的像素点之间的亮度差的绝对值,并判断该当前像素点与其后相邻像素点之间的亮度差的绝对值是否超过第一预设阀值,若是,则执行步骤C3;C2, sequentially calculating an absolute value of a luminance difference between adjacent pixel points, and determining whether an absolute value of a luminance difference between the current pixel point and a subsequent adjacent pixel point exceeds a first preset threshold, and if so, Perform step C3;
C3、依次计算该当前像素点与其后像素点的亮度差的绝对值,并判断当前像素点是否为该最后一个像素点,若是则停止计算,若否则直到找出亮度差绝对值小于该第一预设阀值的另一像素点,并且判断该另一像素点和当前像素点之间间隔的N个像素点的数量是否大于第三预设阈值,若是,确定该当前像素点和另一像素点为突变像素点,并以另一像素点作为突变像素点开始继续执行步骤C2。C3. Calculate the absolute value of the brightness difference between the current pixel point and the subsequent pixel point in turn, and determine whether the current pixel point is the last pixel point, and if so, stop the calculation, if otherwise, until the absolute value of the brightness difference is less than the first Presetting another pixel point of the threshold, and determining whether the number of N pixel points spaced between the other pixel point and the current pixel point is greater than a third predetermined threshold, and if so, determining the current pixel point and another pixel The point is the abrupt pixel point, and step C2 is continued with another pixel point as the abrupt pixel point.
可选地,所述区域确定单元设置成按照如下方式获取星轨区像素点的亮度值范围:Optionally, the area determining unit is configured to obtain a range of brightness values of the pixels of the star track area as follows:
根据实验数据获得所述星轨区像素点的亮度值范围,然后将所述星轨区像素点的亮度值范围作为一个预设值;或者,Obtaining a brightness value range of the pixel points of the star track area according to the experimental data, and then using the brightness value range of the pixel area of the star track area as a preset value; or
在扫描时,通过对星轨图像中第一排的像素点的亮度值进行统计计算获取所述星轨区像素点的亮度值范围。At the time of scanning, a range of luminance values of the pixels of the star-track region is obtained by performing statistical calculation on the luminance values of the pixels of the first row in the star-track image.
可选地,所述区域确定单元设置成按照如下方式对所述星轨图像中的像素点进行逐排扫描,获取各像素点的亮度值:Optionally, the area determining unit is configured to scan the pixel points in the star track image row by row to obtain brightness values of each pixel point:
对该星轨图像中的像素点进行逐排扫描,然后读取间隔距离相同的像素点的亮度值;或者,Performing a row-by-row scan of the pixels in the star-track image, and then reading the brightness values of the pixels having the same distance; or
对该星轨图像中的像素点进行逐排扫描,然后读取每一个像素点的亮度值。The pixels in the star track image are scanned line by line, and then the brightness value of each pixel is read.
一种移动终端,包括上述任意的星轨拍摄效果自动优化的装置,用于对所述拍摄装置拍摄的星轨图像进行优化处理。
A mobile terminal comprising any of the above-mentioned automatic star-track shooting effects automatically optimized for optimizing the star-track image captured by the camera.
可选地,该移动终端还包括拍摄装置,所述拍摄装置用于进行星轨拍摄,得到星轨图像。Optionally, the mobile terminal further includes a photographing device for performing star track shooting to obtain a star track image.
一种计算机程序,包括程序指令,当该程序指令被终端执行时,使得该终端可执行上述任意的星轨拍摄效果自动优化的方法。A computer program comprising program instructions that, when executed by a terminal, cause the terminal to perform an automatic optimization of any of the above-described star-tracking effects.
一种载有所述的计算机程序的载体。A carrier carrying the computer program as described.
本发明技术方案的星轨拍摄效果自动优化的方法及装置,能够在星轨拍摄结束时,确定拍摄的星轨图像中位于非星轨区域的像素点,对该非星轨区域中的像素点进行暗化处理,可以将星轨突出显示成为整个拍摄的星轨图像的重点,因此使得拍摄的星轨图像更具有梦幻色彩;并且整个优化过程无需用户参与,节省了用户对星轨图像进行后期处理的时间,同时该优化直接在拍摄现场完成,用户可及时发现拍摄效果是否理想,并在拍摄效果不理想时及时进行补拍,提升了用户体验。The method and device for automatically optimizing the star-track shooting effect of the technical solution of the present invention can determine the pixel points in the non-star-track region of the captured star-track image at the end of the star-track shooting, and the pixel points in the non-star-track region Darkening can highlight the star track as the focus of the entire star track image, thus making the star track image more dreamy; and the entire optimization process does not require user participation, saving users the late stage of the star track image The processing time, at the same time, the optimization is directly completed at the shooting scene, the user can find out whether the shooting effect is ideal, and timely make up the shot when the shooting effect is not ideal, which improves the user experience.
附图概述BRIEF abstract
图1为本发明实施例提供的一种星轨拍摄效果自动优化的装置的模块示意图;1 is a schematic block diagram of an apparatus for automatically optimizing a star track shooting effect according to an embodiment of the present invention;
图2为本发明实施例提供的一种星轨拍摄效果自动优化的方法的流程图;2 is a flowchart of a method for automatically optimizing a star track shooting effect according to an embodiment of the present invention;
图3为图2所示实施例的一种场景中步骤S201流程图;3 is a flow chart of step S201 in a scenario of the embodiment shown in FIG. 2;
图4为图2所示实施例的另一种场景中步骤S201的流程图。4 is a flow chart of step S201 in another scenario of the embodiment shown in FIG. 2.
本发明的较佳实施方式Preferred embodiment of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
以下结合附图和实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明实施例提供了一种移动终端,该移动终端包括用于进行星轨拍摄的拍摄装置及用于对该拍摄装置拍摄的星轨图像进行优化处理的星轨拍摄效果自动优化的装置。请参阅图1,该星轨拍摄效果自动优化的装置包括:区域确定单元101及处理单元102,其中,Embodiments of the present invention provide a mobile terminal including a photographing device for performing star-track shooting and a device for automatically optimizing a star-track shooting effect for optimizing a star-track image captured by the photographing device. Referring to FIG. 1 , the device for automatically optimizing the star track shooting effect includes: an area determining unit 101 and a processing unit 102, where
区域确定单元101设置成:在星轨拍摄结束时,确定拍摄的星轨图像中位于非星轨区域的像素点;The area determining unit 101 is configured to: determine, at the end of the star-track shooting, the pixel points in the non-star-track region of the captured star-track image;
处理单元102设置成:对该非星轨区域中的像素点进行暗化处理。The processing unit 102 is configured to perform darkening processing on the pixels in the non-satellite region.
实际应用中,在星轨拍摄开始后,摄像头每隔预设时间采集一张图像,然后判断同一位置当前的图像中的像素的亮度是否大于过去的图像中的像素的亮度,若是,则该将过去的图像中同一位置的像素替换为当前的图像中的像素,据此进行图像合成。因此,本发明实施例利用星轨图像中位于星轨区与非星轨区的像素点的亮度值的不同对星轨区与非星轨区的像素点进行区分。In practical applications, after the start of the star track shooting, the camera collects an image every preset time, and then determines whether the brightness of the pixel in the current image at the same position is greater than the brightness of the pixel in the past image, and if so, The pixels at the same position in the past image are replaced with the pixels in the current image, and image synthesis is performed accordingly. Therefore, in the embodiment of the present invention, the pixel points of the star track area and the non-star track area are distinguished by using different brightness values of the pixel points of the star track image and the non-star track area.
可选地,区域确定单元101,确定拍摄的星轨图像中位于非星轨区域的像素点可通过两种方式实现:Optionally, the region determining unit 101 determines that the pixel points in the non-star-track region in the captured star-track image can be implemented in two ways:
方式一:method one:
区域确定单元101,设置成:获取星轨区像素点的亮度值范围;对该星轨图像中的像素点进行逐排扫描,获取各像素点的亮度值;判断每个像素点的亮度值的大小是否在该亮度值范围之内,若是,则确定该像素点为星轨区域的像素点,否则,确定该像素点为非星轨区域的像素点。The area determining unit 101 is configured to: obtain a brightness value range of the pixel points of the star track area; scan the pixel points in the star track image one by one to obtain the brightness value of each pixel point; and determine the brightness value of each pixel point Whether the size is within the range of the brightness value, and if so, determining that the pixel is a pixel of the star track region; otherwise, determining that the pixel is a pixel of the non-star region.
方式二:Method 2:
区域确定单元101,设置成:通过如下方式确定拍摄的星轨图像中位于非星轨区域的像素点:A、获取星轨区像素点的亮度值范围;B、对该星轨图像中的像素点进行逐排扫描,获取各像素点的亮度值;C、根据获取的各像素点的亮度值,查找每一排像素点中亮度值的变化超出第一预设阀值的突变像
素点;D、判断每一排的相邻的突变像素点之间的亮度值的大小超出该亮度值范围的像素点的数量与该相邻的突变像素点之间的所有像素点的数量的百分比是否大于预设的第二阀值,若是,判断该相邻的突变像素点之间的像素点为非星轨区域的像素点,否则判断该相邻的突变像素点之间的像素点为星轨区域的像素点。The area determining unit 101 is configured to: determine a pixel point in the non-star-track region of the captured star-track image by: A, obtaining a range of luminance values of the pixel points of the star-track region; B, and pixels in the image of the star-track image Point-by-row scanning to obtain the brightness value of each pixel; C. According to the obtained brightness value of each pixel point, find a sudden image in which the change of the brightness value in each row of pixels exceeds the first preset threshold
a point; D, determining the number of brightness values between adjacent abrupt pixel points of each row exceeding the number of pixels in the range of brightness values and the number of all pixels between the adjacent abrupt pixel points Whether the percentage is greater than a preset second threshold, and if so, determining that the pixel between the adjacent abrupt pixel points is a pixel point of the non-satellite orbit region; otherwise, determining a pixel point between the adjacent abrupt pixel points is The pixel point of the star track area.
如:像素A1-A100,之间有100个像素,其中有10个像素(A5、A12、A15……)的亮度值大小超出亮度值范围,百分比为10%,小于第二阈值,则判断A1-A100为星轨区;For example, there are 100 pixels between pixels A1-A100, and the brightness value of 10 pixels (A5, A12, A15, ...) exceeds the brightness value range, the percentage is 10%, which is less than the second threshold, then A1 is judged. -A100 is the star track area;
像素B1-B100,之间有100个像素,其中有70个像素的亮度值大小超出亮度值范围,百分比为70%,大于第二阈值,则判断B1-B100为非星轨区。There are 100 pixels between the pixels B1-B100, and the brightness value of 70 pixels exceeds the brightness value range, and the percentage is 70%. If the value is greater than the second threshold, it is judged that B1-B100 is a non-star track area.
在实际应用中,区域确定单元设置成通过如下方式实现根据获取的各像素点的亮度值,查找每一排像素点中亮度值的变化超出第一预设阀值的突变像素点,或者说设置成按照如下方式实现上述步骤C:C1、确定每一排中的第一个像素点及最后一个像素点为突变像素,并从该第一个像素点开始执行步骤C2;C2、依次计算相邻的像素点之间的亮度差的绝对值,并判断该当前像素点与其后相邻像素点之间的亮度差的绝对值是否超过第一预设阀值,若是,则执行步骤C3;C3、依次计算该当前像素点与其后像素点的亮度差的绝对值,并判断当前像素点是否为该最后一个像素点,若是则停止计算,若否则直到找出亮度差绝对值小于该第一预设阀值的另一像素点,并且判断该另一像素点和当前像素点之间间隔的N个像素点的数量是否大于第三预设阈值,若是,确定该当前像素点和另一像素点为突变像素点,并以另一像素点作为突变像素点开始继续执行步骤C2。In an actual application, the area determining unit is configured to: according to the obtained brightness value of each pixel point, find a sudden pixel point in which the change of the brightness value in each row of pixels exceeds the first preset threshold, or set The above step C is implemented as follows: C1, determining that the first pixel and the last pixel in each row are abrupt pixels, and performing step C2 from the first pixel; C2, sequentially calculating adjacent And determining an absolute value of the luminance difference between the pixel points, and determining whether the absolute value of the luminance difference between the current pixel point and the subsequent adjacent pixel point exceeds a first preset threshold, and if yes, performing step C3; C3, Calculating the absolute value of the brightness difference between the current pixel point and the subsequent pixel point in turn, and determining whether the current pixel point is the last pixel point, and if so, stopping the calculation, if otherwise, until the absolute value of the brightness difference is less than the first preset Another pixel point of the threshold, and determining whether the number of N pixel points between the other pixel point and the current pixel point is greater than a third predetermined threshold, and if so, determining Pixel and another pixel point mutation pixel and another pixel to pixel as a mutation execution continues in step C2.
如:一排像素C1-C100,确定C1、C100为突变像素点,For example, a row of pixels C1-C100, determine C1, C100 as abrupt pixel points,
从C1开始依次计算C1和C2之间的亮度差的绝对值,C2和C3之间的亮度差的绝对值……并计算上述亮度差的绝对值是否超过第一预设阀值,例如C11和C12之间的亮度差的绝对值超过第一预设阀值,Calculate the absolute value of the luminance difference between C1 and C2, the absolute value of the luminance difference between C2 and C3, and calculate whether the absolute value of the above luminance difference exceeds the first preset threshold, such as C11 and The absolute value of the difference in luminance between C12 exceeds the first preset threshold.
依次计算C11和C12、C11和C13、C11和C14……之间亮度差的绝对值,并计算上述亮度差的绝对值是否小于第一预设阀值,例如C11和C36之间亮度差的绝对值小于第一预设阀值,且C11和C36之间间隔25个像素,
大于第三预设阈值,则确定C11和C36为突变像素点。Calculate the absolute value of the luminance difference between C11 and C12, C11 and C13, C11 and C14... in order, and calculate whether the absolute value of the above luminance difference is smaller than the first preset threshold, for example, the absolute difference between the luminance difference between C11 and C36 The value is less than the first preset threshold, and the interval between C11 and C36 is 25 pixels.
Above the third predetermined threshold, it is determined that C11 and C36 are abrupt pixel points.
需要说明的是,本实施例中,区域确定单元101,还可以对该星轨图像中的像素点进行逐排扫描,并读取间隔距离相同的像素点的亮度值。第一预设阀值、第二预设阀值及星轨区像素点的亮度值范围,可以根据实验数据获取。其中星轨区像素点的亮度值范围,还可以在扫描时,通过对星轨图像中第1排的像素点的亮度值进行统计计数获取。It should be noted that, in this embodiment, the region determining unit 101 may further scan the pixels in the star track image row by row, and read the brightness values of the pixels with the same distance. The first preset threshold, the second preset threshold, and the range of brightness values of the satellite track pixels can be obtained based on experimental data. The range of brightness values of the pixels in the star track area can also be obtained by statistically counting the brightness values of the pixels in the first row of the star track image during scanning.
本实施例提供的星轨拍摄效果自动优化的装置,能够在星轨拍摄结束时,确定拍摄的星轨图像中位于非星轨区域的像素点,对该非星轨区域中的像素点进行暗化处理,可以将星轨突出显示成为整个拍摄的星轨图像的重点,因此使得拍摄的星轨图像更具有梦幻色彩;并且整个优化过程无需用户参与,节省了用户对星轨图像进行后期处理的时间,同时该优化直接在拍摄现场完成,用户可及时发现拍摄效果是否理想,并在拍摄效果不理想时及时进行补拍,提升了用户体验。The device for automatically optimizing the star-track shooting effect provided by the embodiment can determine the pixel points in the non-star-track region of the captured star-track image at the end of the star-track shooting, and darken the pixels in the non-star-track region. The star track can be highlighted as the focus of the entire star track image, thus making the star track image more dreamy; and the entire optimization process does not require user participation, saving the user post-processing of the star track image. Time, at the same time, the optimization is completed directly at the shooting scene, and the user can find out whether the shooting effect is ideal in time, and timely make up the shot when the shooting effect is not ideal, thereby improving the user experience.
在上述装置实施例的基础上,本发明实施例还提供了一种星轨拍摄效果自动优化的方法,请参阅图2,方法流程包括:On the basis of the foregoing device embodiment, the embodiment of the present invention further provides a method for automatically optimizing the star track shooting effect. Referring to FIG. 2, the method flow includes:
S201、当星轨拍摄结束时,确定拍摄的星轨图像中位于非星轨区域的像素点。S201. When the star track is finished, determine the pixel points in the non-star track area of the captured star track image.
请参阅图3,在本实施例的一个场景中,步骤S201包括如下步骤:Referring to FIG. 3, in a scenario of this embodiment, step S201 includes the following steps:
S2011、获取星轨区域像素点的亮度值范围;S2011, obtaining a range of brightness values of pixels in the star track area;
可选地,星轨区域像素点的亮度值范围可以通过可以根据实验数据获得,然后将作为一个预设值;也可以以在扫描时,通过对星轨图像中第1排的像素点的亮度值进行统计计算获取。Optionally, the range of brightness values of the pixels in the star track region can be obtained by using experimental data, and then used as a preset value; or by scanning the brightness of the pixel in the first row of the star track image during scanning. The value is obtained by statistical calculation.
S2012、对该星轨图像中的像素点进行逐排扫描,获取各像素点的亮度值;S2012, performing pixel-by-row scanning on the pixels in the star-track image to obtain brightness values of each pixel point;
可选地,对该星轨图像中的像素点进行逐排扫描,然后读取间隔距离相同的像素点的亮度值;也可以读取每一个像素点的亮度值。Optionally, the pixel points in the star track image are scanned row by row, and then the brightness values of the pixels with the same distance are read; the brightness value of each pixel point may also be read.
S2013、判断每个像素点的亮度值的大小是否在该亮度值范围之内;S2013, determining whether the magnitude of the brightness value of each pixel is within the range of the brightness value;
S2014、若是,则确定该像素点为星轨区域的像素点,否则,确定该像素
点为非星轨区域的像素点。S2014, if yes, determining that the pixel is a pixel of the star track region; otherwise, determining the pixel
The point is the pixel of the non-star track area.
请参阅图4,在本实施例的另一个场景中,步骤S201包括如下步骤:Referring to FIG. 4, in another scenario of this embodiment, step S201 includes the following steps:
A、获取星轨区像素点的亮度值范围;A. Obtain a range of brightness values of pixels in the star track area;
B、对该星轨图像中的像素点进行逐排扫描,获取各像素点的亮度值;B. scanning the pixels in the star track image row by row to obtain the brightness value of each pixel point;
可选地,步骤A、B的实现方式与图3中的步骤S2011、S2012相同,此处不再赘述。Optionally, the implementation manners of steps A and B are the same as steps S2011 and S2012 in FIG. 3, and details are not described herein again.
C、根据获取的各像素点的亮度值,查找每一排像素点中亮度值的变化超出第一预设阀值的突变像素点;C. Find, according to the obtained brightness value of each pixel point, a sudden pixel point in which the change of the brightness value in each row of pixels exceeds the first preset threshold;
D、判断每一排的相邻的突变像素点之间的亮度值的大小超出所述亮度值范围的像素点的数量与所述相邻的突变像素点之间的所有像素点的数量的百分比是否大于预设的第二阀值,若是,判断所述相邻的突变像素点之间的像素点为非星轨区域的像素点,否则判断所述相邻的突变像素点之间的像素点为星轨区域的像素点。D. determining that the size of the luminance value between adjacent abrupt pixel points of each row exceeds the number of pixels of the luminance value range and the percentage of the number of all pixel points between the adjacent abrupt pixel points Whether it is greater than a preset second threshold, if yes, determining that a pixel point between the adjacent abrupt pixel points is a pixel point of a non-star-track region, otherwise determining a pixel point between the adjacent abrupt pixel points The pixel point of the star track area.
如:像素A1-A100,之间有100个像素,其中有10个像素(A5、A12、A15……)的亮度值大小超出亮度值范围,百分比为10%,小于第二阈值,则判断A1-A100为星轨区;For example, there are 100 pixels between pixels A1-A100, and the brightness value of 10 pixels (A5, A12, A15, ...) exceeds the brightness value range, the percentage is 10%, which is less than the second threshold, then A1 is judged. -A100 is the star track area;
像素B1-B100,之间有100个像素,其中有70个像素的亮度值大小超出亮度值范围,百分比为70%,大于第二阈值,则判断B1-B100为非星轨区。There are 100 pixels between the pixels B1-B100, and the brightness value of 70 pixels exceeds the brightness value range, and the percentage is 70%. If the value is greater than the second threshold, it is judged that B1-B100 is a non-star track area.
可选地,所述步骤C包括:Optionally, the step C includes:
C1、确定每一排中的第一个像素点及最后一个像素点为突变像素,并从该第一个像素点开始执行步骤C2;C1, determining that the first pixel and the last pixel in each row are abrupt pixels, and performing step C2 from the first pixel;
C2、依次计算相邻的像素点之间的亮度差的绝对值,并判断该当前像素点与其后相邻像素点之间的亮度差的绝对值是否超过第一预设阀值,若是,则执行步骤C3;C2, sequentially calculating an absolute value of a luminance difference between adjacent pixel points, and determining whether an absolute value of a luminance difference between the current pixel point and a subsequent adjacent pixel point exceeds a first preset threshold, and if so, Perform step C3;
C3、依次计算该当前像素点与其后像素点的亮度差的绝对值,并判断当前像素点是否为该最后一个像素点,若是则停止计算,若否则直到找出亮度差绝对值小于该第一预设阀值的另一像素点,并且判断该另一像素点和当前像素点之间间隔的N个像素点的数量是否大于第三预设阈值,若是,确定该
当前像素点和另一像素点为突变像素点,并以另一像素点作为突变像素点开始继续执行步骤C2。C3. Calculate the absolute value of the brightness difference between the current pixel point and the subsequent pixel point in turn, and determine whether the current pixel point is the last pixel point, and if so, stop the calculation, if otherwise, until the absolute value of the brightness difference is less than the first Presetting another pixel point of the threshold, and determining whether the number of N pixel points spaced between the other pixel point and the current pixel point is greater than a third predetermined threshold, and if so, determining the
The current pixel point and the other pixel point are abrupt pixel points, and step C2 is continued with another pixel point as the abrupt pixel point.
如:一排像素C1-C100,确定C1、C100为突变像素点,For example, a row of pixels C1-C100, determine C1, C100 as abrupt pixel points,
从C1开始依次计算C1和C2之间的亮度差的绝对值,C2和C3之间的亮度差的绝对值……并计算上述亮度差的绝对值是否超过第一预设阀值,例如C11和C12之间的亮度差的绝对值超过第一预设阀值,Calculate the absolute value of the luminance difference between C1 and C2, the absolute value of the luminance difference between C2 and C3, and calculate whether the absolute value of the above luminance difference exceeds the first preset threshold, such as C11 and The absolute value of the difference in luminance between C12 exceeds the first preset threshold.
依次计算C11和C12、C11和C13、C11和C14……之间亮度差的绝对值,并计算上述亮度差的绝对值是否小于第一预设阀值,例如C11和C36之间亮度差的绝对值小于第一预设阀值,且C11和C36之间间隔25个像素,大于第三预设阈值,则确定C11和C36为突变像素点。Calculate the absolute value of the luminance difference between C11 and C12, C11 and C13, C11 and C14... in order, and calculate whether the absolute value of the above luminance difference is smaller than the first preset threshold, for example, the absolute difference between the luminance difference between C11 and C36 The value is less than the first preset threshold, and the interval between C11 and C36 is 25 pixels, which is greater than the third preset threshold, and it is determined that C11 and C36 are abrupt pixel points.
S202、对该非星轨区域中的像素点进行暗化处理。S202: Darken the pixel points in the non-satellite track area.
需要说明的是,本实施例的第第一预设阀值、第二预设阀值及星轨区像素点的亮度值范围,可以根据实验数据获取。It should be noted that the first preset threshold, the second preset threshold, and the range of luminance values of the pixels in the satellite track area of the embodiment may be obtained according to experimental data.
本实施例提供的星轨拍摄效果自动优化的方法,能够在星轨拍摄结束时,确定拍摄的星轨图像中位于非星轨区域的像素点,对该非星轨区域中的像素点进行暗化处理,可以将星轨突出显示成为整个拍摄的星轨图像的重点,因此使得拍摄的星轨图像更具有梦幻色彩;并且整个优化过程无需用户参与,节省了用户对星轨图像进行后期处理的时间,同时该优化直接在拍摄现场完成,用户可及时发现拍摄效果是否理想,并在拍摄效果不理想时及时进行补拍,提升了用户体验。The method for automatically optimizing the star-track shooting effect provided by the embodiment can determine the pixel points in the non-star-track region of the captured star-track image at the end of the star-track shooting, and darken the pixels in the non-star-track region. The star track can be highlighted as the focus of the entire star track image, thus making the star track image more dreamy; and the entire optimization process does not require user participation, saving the user post-processing of the star track image. Time, at the same time, the optimization is completed directly at the shooting scene, and the user can find out whether the shooting effect is ideal in time, and timely make up the shot when the shooting effect is not ideal, thereby improving the user experience.
本发明实施例还公开了一种计算机程序,包括程序指令,当该程序指令被终端执行时,使得该终端可执行上述任意的星轨拍摄效果自动优化的方法。The embodiment of the invention further discloses a computer program, comprising program instructions, when the program instruction is executed by the terminal, so that the terminal can perform the method for automatically optimizing any of the above-mentioned star track shooting effects.
本发明实施例还公开了一种载有所述的计算机程序的载体。The embodiment of the invention also discloses a carrier carrying the computer program.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
以上参照附图说明了本发明的优选实施例,并非因此局限本发明的权利范围。本领域技术人员不脱离本发明的范围和实质内所作的任何修改、等同替换和改进,均应在本发明的权利范围之内。
The preferred embodiments of the present invention have been described above with reference to the drawings, and are not intended to limit the scope of the invention. Any modifications, equivalent substitutions and improvements made by those skilled in the art without departing from the scope and spirit of the invention are intended to be included within the scope of the invention.
本发明技术方案的星轨拍摄效果自动优化的方法及装置,能够在星轨拍摄结束时,确定拍摄的星轨图像中位于非星轨区域的像素点,对该非星轨区域中的像素点进行暗化处理,可以将星轨突出显示成为整个拍摄的星轨图像的重点,因此使得拍摄的星轨图像更具有梦幻色彩;并且整个优化过程无需用户参与,节省了用户对星轨图像进行后期处理的时间,同时该优化直接在拍摄现场完成,用户可及时发现拍摄效果是否理想,并在拍摄效果不理想时及时进行补拍,提升了用户体验。因此本发明具有很强的工业实用性。
The method and device for automatically optimizing the star-track shooting effect of the technical solution of the present invention can determine the pixel points in the non-star-track region of the captured star-track image at the end of the star-track shooting, and the pixel points in the non-star-track region Darkening can highlight the star track as the focus of the entire star track image, thus making the star track image more dreamy; and the entire optimization process does not require user participation, saving users the late stage of the star track image The processing time, at the same time, the optimization is directly completed at the shooting scene, the user can find out whether the shooting effect is ideal, and timely make up the shot when the shooting effect is not ideal, which improves the user experience. Therefore, the present invention has strong industrial applicability.
Claims (20)
- 一种星轨拍摄效果自动优化的方法,包括如下步骤:A method for automatically optimizing a star track shooting effect includes the following steps:当星轨拍摄结束时,确定拍摄的星轨图像中位于非星轨区域的像素点;When the star track is over, determine the pixel points in the non-star track area of the captured star track image;对所述非星轨区域中的像素点进行暗化处理。Darkening the pixels in the non-satellite region.
- 根据权利要求1所述的星轨拍摄效果自动优化的方法,其中,所述确定拍摄的星轨图像中位于非星轨区域的像素点的步骤包括:The method for automatically optimizing a star-track shooting effect according to claim 1, wherein the step of determining a pixel point of the non-star-track region in the captured star-track image comprises:获取星轨区像素点的亮度值范围;Obtain a range of luminance values of pixels in the star track area;对所述星轨图像中的像素点进行逐排扫描,获取各像素点的亮度值;Performing a row-by-row scan on the pixel points in the star-track image to obtain a brightness value of each pixel point;判断每个像素点的亮度值的大小是否在所述亮度值范围之内;Determining whether the magnitude of the luminance value of each pixel is within the range of the luminance value;若是,则确定所述像素点为星轨区域的像素点,否则,确定所述像素点为非星轨区域的像素点。If yes, it is determined that the pixel point is a pixel point of the star track area, otherwise, the pixel point is determined to be a pixel point of the non-star track area.
- 根据权利要求2所述的星轨拍摄效果自动优化的方法,其中,所述获取星轨区像素点的亮度值范围的步骤包括:The method for automatically optimizing a star-track shooting effect according to claim 2, wherein the step of acquiring a range of luminance values of the pixels of the star-track region comprises:根据实验数据获得所述星轨区像素点的亮度值范围,然后将所述星轨区像素点的亮度值范围作为一个预设值;或者,Obtaining a brightness value range of the pixel points of the star track area according to the experimental data, and then using the brightness value range of the pixel area of the star track area as a preset value; or在扫描时,通过对星轨图像中第一排的像素点的亮度值进行统计计算获取所述星轨区像素点的亮度值范围。At the time of scanning, a range of luminance values of the pixels of the star-track region is obtained by performing statistical calculation on the luminance values of the pixels of the first row in the star-track image.
- 根据权利要求2所述的星轨拍摄效果自动优化的方法,其中,所述对所述星轨图像中的像素点进行逐排扫描,获取各像素点的亮度值的步骤包括:The method for automatically optimizing the star-track shooting effect according to claim 2, wherein the step of scanning the pixel points in the star-track image in a row-by-row manner to obtain the brightness value of each pixel point comprises:对该星轨图像中的像素点进行逐排扫描,然后读取间隔距离相同的像素点的亮度值;或者,Performing a row-by-row scan of the pixels in the star-track image, and then reading the brightness values of the pixels having the same distance; or对该星轨图像中的像素点进行逐排扫描,然后读取每一个像素点的亮度值。The pixels in the star track image are scanned line by line, and then the brightness value of each pixel is read.
- 根据权利要求1所述的星轨拍摄效果自动优化的方法,其中,所述确 定拍摄的星轨图像中位于非星轨区域的像素点的步骤包括:A method for automatically optimizing a star-track shooting effect according to claim 1, wherein said The steps of the pixels in the non-star orbital region of the fixed star image include:A、获取星轨区像素点的亮度值范围;A. Obtain a range of brightness values of pixels in the star track area;B、对所述星轨图像中的像素点进行逐排扫描,获取各像素点的亮度值;B. Scan the pixels in the star track image row by row to obtain the brightness value of each pixel point;C、根据获取的各像素点的亮度值,查找每一排像素点中亮度值的变化超出第一预设阀值的突变像素点;C. Find, according to the obtained brightness value of each pixel point, a sudden pixel point in which the change of the brightness value in each row of pixels exceeds the first preset threshold;D、判断每一排的相邻的突变像素点之间的亮度值的大小超出所述亮度值范围的像素点的数量与所述相邻的突变像素点之间的所有像素点的数量的百分比是否大于预设的第二阀值,若是,判断所述相邻的突变像素点之间的像素点为非星轨区域的像素点,否则判断所述相邻的突变像素点之间的像素点为星轨区域的像素点。D. determining that the size of the luminance value between adjacent abrupt pixel points of each row exceeds the number of pixels of the luminance value range and the percentage of the number of all pixel points between the adjacent abrupt pixel points Whether it is greater than a preset second threshold, if yes, determining that a pixel point between the adjacent abrupt pixel points is a pixel point of a non-star-track region, otherwise determining a pixel point between the adjacent abrupt pixel points The pixel point of the star track area.
- 根据权利要求5所述的星轨拍摄效果自动优化的方法,其中,所述C步骤包括:The method for automatically optimizing a star-track shooting effect according to claim 5, wherein the C step comprises:C1、确定每一排中的第一个像素点及最后一个像素点为突变像素,并从所述第一个像素点开始执行步骤C2;C1, determining that the first pixel and the last pixel in each row are abrupt pixels, and performing step C2 from the first pixel;C2、依次计算相邻的像素点之间的亮度差的绝对值,并判断该当前像素点与其后相邻像素点之间的亮度差的绝对值是否超过第一预设阀值,若是,则执行步骤C3;C2, sequentially calculating an absolute value of a luminance difference between adjacent pixel points, and determining whether an absolute value of a luminance difference between the current pixel point and a subsequent adjacent pixel point exceeds a first preset threshold, and if so, Perform step C3;C3、依次计算该当前像素点与其后像素点的亮度差的绝对值,并判断当前像素点是否为该最后一个像素点,若是则停止计算,若否则直到找出亮度差绝对值小于该第一预设阀值的另一像素点,并且判断该另一像素点和当前像素点之间间隔的N个像素点的数量是否大于第三预设阈值,若是,确定该当前像素点和另一像素点为突变像素点,并以另一像素点作为突变像素点开始继续执行步骤C2。C3. Calculate the absolute value of the brightness difference between the current pixel point and the subsequent pixel point in turn, and determine whether the current pixel point is the last pixel point, and if so, stop the calculation, if otherwise, until the absolute value of the brightness difference is less than the first Presetting another pixel point of the threshold, and determining whether the number of N pixel points spaced between the other pixel point and the current pixel point is greater than a third predetermined threshold, and if so, determining the current pixel point and another pixel The point is the abrupt pixel point, and step C2 is continued with another pixel point as the abrupt pixel point.
- 根据权利要求5或6所述的星轨拍摄效果自动优化的方法,其中,所述获取星轨区像素点的亮度值范围的步骤包括:The method for automatically optimizing a star-track shooting effect according to claim 5 or 6, wherein the step of acquiring a range of luminance values of the pixels of the star-track region comprises:根据实验数据获得所述星轨区像素点的亮度值范围,然后将所述星轨区像素点的亮度值范围作为一个预设值;或者, Obtaining a brightness value range of the pixel points of the star track area according to the experimental data, and then using the brightness value range of the pixel area of the star track area as a preset value; or在扫描时,通过对星轨图像中第一排的像素点的亮度值进行统计计算获取所述星轨区像素点的亮度值范围。At the time of scanning, a range of luminance values of the pixels of the star-track region is obtained by performing statistical calculation on the luminance values of the pixels of the first row in the star-track image.
- 根据权利要求5或6所述的星轨拍摄效果自动优化的方法,其中,所述对所述星轨图像中的像素点进行逐排扫描,获取各像素点的亮度值的步骤包括:The method for automatically optimizing the star-track shooting effect according to claim 5 or 6, wherein the step of scanning the pixel points in the star-track image in a row-by-row manner to obtain the brightness value of each pixel point comprises:对该星轨图像中的像素点进行逐排扫描,然后读取间隔距离相同的像素点的亮度值;或者,Performing a row-by-row scan of the pixels in the star-track image, and then reading the brightness values of the pixels having the same distance; or对该星轨图像中的像素点进行逐排扫描,然后读取每一个像素点的亮度值。The pixels in the star track image are scanned line by line, and then the brightness value of each pixel is read.
- 一种星轨拍摄效果自动优化的装置,所述装置包括区域确定单元和处理单元,其中:A device for automatically optimizing a star-track shooting effect, the device comprising a region determining unit and a processing unit, wherein:所述区域确定单元设置成:在星轨拍摄结束时,确定拍摄的星轨图像中位于非星轨区域的像素点;The area determining unit is configured to: determine, at the end of the star-track shooting, a pixel point in the non-star-track region of the captured star-track image;所述处理单元设置成:对所述非星轨区域中的像素点进行暗化处理。The processing unit is configured to perform darkening processing on pixel points in the non-satellite track region.
- 根据权利要求9所述的星轨拍摄效果自动优化的装置,其中,所述区域确定单元设置成按照如下方式确定拍摄的星轨图像中位于非星轨区域的像素点:The apparatus for automatically optimizing a star-track shooting effect according to claim 9, wherein the area determining unit is configured to determine a pixel point of the captured star-track image located in the non-star-track region as follows:获取星轨区像素点的亮度值范围;Obtain a range of luminance values of pixels in the star track area;对所述星轨图像中的像素点进行逐排扫描,获取各像素点的亮度值;Performing a row-by-row scan on the pixel points in the star-track image to obtain a brightness value of each pixel point;判断每个像素点的亮度值的大小是否在所述亮度值范围之内,若是,则确定所述像素点为星轨区域的像素点,否则,确定所述像素点为非星轨区域的像素点。Determining whether the magnitude of the luminance value of each pixel is within the range of the luminance value, and if so, determining that the pixel is a pixel of the star track region; otherwise, determining that the pixel is a pixel of the non-star region point.
- 根据权利要求10所述的星轨拍摄效果自动优化的装置,其中,所述区域确定单元设置成按照如下方式获取星轨区像素点的亮度值范围:The apparatus for automatically optimizing a star-track shooting effect according to claim 10, wherein the area determining unit is configured to acquire a range of brightness values of the pixels of the star-track area as follows:根据实验数据获得所述星轨区像素点的亮度值范围,然后将所述星轨区 像素点的亮度值范围作为一个预设值;或者,Obtaining a range of luminance values of the pixel points of the star track region according to experimental data, and then using the star track region The brightness value range of the pixel is used as a preset value; or,在扫描时,通过对星轨图像中第一排的像素点的亮度值进行统计计算获取所述星轨区像素点的亮度值范围。At the time of scanning, a range of luminance values of the pixels of the star-track region is obtained by performing statistical calculation on the luminance values of the pixels of the first row in the star-track image.
- 根据权利要求10所述的星轨拍摄效果自动优化的装置,其中,所述区域确定单元设置成按照如下方式对所述星轨图像中的像素点进行逐排扫描,获取各像素点的亮度值:The apparatus for automatically optimizing a star-track shooting effect according to claim 10, wherein the area determining unit is configured to scan the pixel points in the star-track image in a row-by-row manner to acquire brightness values of the respective pixel points. :对该星轨图像中的像素点进行逐排扫描,然后读取间隔距离相同的像素点的亮度值;或者,Performing a row-by-row scan of the pixels in the star-track image, and then reading the brightness values of the pixels having the same distance; or对该星轨图像中的像素点进行逐排扫描,然后读取每一个像素点的亮度值。The pixels in the star track image are scanned line by line, and then the brightness value of each pixel is read.
- 根据权利要求9所述的星轨拍摄效果自动优化的装置,其中,所述区域确定单元设置成按照如下方式确定拍摄的星轨图像中位于非星轨区域的像素点:The apparatus for automatically optimizing a star-track shooting effect according to claim 9, wherein the area determining unit is configured to determine a pixel point of the captured star-track image located in the non-star-track region as follows:A、获取星轨区像素点的亮度值范围;A. Obtain a range of brightness values of pixels in the star track area;B、对所述星轨图像中的像素点进行逐排扫描,获取各像素点的亮度值;B. Scan the pixels in the star track image row by row to obtain the brightness value of each pixel point;C、根据获取的各像素点的亮度值,查找每一排像素点中亮度值的变化超出第一预设阀值的突变像素点;C. Find, according to the obtained brightness value of each pixel point, a sudden pixel point in which the change of the brightness value in each row of pixels exceeds the first preset threshold;D、判断每一排的相邻的突变像素点之间的亮度值的大小超出所述亮度值范围的像素点的数量与所述相邻的突变像素点之间的所有像素点的数量的百分比是否大于预设的第二阀值,若是,判断所述相邻的突变像素点之间的像素点为非星轨区域的像素点,否则判断所述相邻的突变像素点之间的像素点为星轨区域的像素点。D. determining that the size of the luminance value between adjacent abrupt pixel points of each row exceeds the number of pixels of the luminance value range and the percentage of the number of all pixel points between the adjacent abrupt pixel points Whether it is greater than a preset second threshold, if yes, determining that a pixel point between the adjacent abrupt pixel points is a pixel point of a non-star-track region, otherwise determining a pixel point between the adjacent abrupt pixel points The pixel point of the star track area.
- 根据权利要求13所述的星轨拍摄效果自动优化的装置,其中,所述区域确定单元设置成按照如下方式根据获取的各像素点的亮度值,查找每一排像素点中亮度值的变化超出第一预设阀值的突变像素点:The apparatus for automatically optimizing the star-track shooting effect according to claim 13, wherein the area determining unit is configured to search for the change of the brightness value in each row of pixel points according to the obtained brightness value of each pixel point as follows The abrupt pixel point of the first preset threshold:C1、确定每一排中的第一个像素点及最后一个像素点为突变像素,并从 所述第一个像素点开始执行步骤C2;C1, determining that the first pixel and the last pixel in each row are abrupt pixels, and The first pixel begins to perform step C2;C2、依次计算相邻的像素点之间的亮度差的绝对值,并判断该当前像素点与其后相邻像素点之间的亮度差的绝对值是否超过第一预设阀值,若是,则执行步骤C3;C2, sequentially calculating an absolute value of a luminance difference between adjacent pixel points, and determining whether an absolute value of a luminance difference between the current pixel point and a subsequent adjacent pixel point exceeds a first preset threshold, and if so, Perform step C3;C3、依次计算该当前像素点与其后像素点的亮度差的绝对值,并判断当前像素点是否为该最后一个像素点,若是则停止计算,若否则直到找出亮度差绝对值小于该第一预设阀值的另一像素点,并且判断该另一像素点和当前像素点之间间隔的N个像素点的数量是否大于第三预设阈值,若是,确定该当前像素点和另一像素点为突变像素点,并以另一像素点作为突变像素点开始继续执行步骤C2。C3. Calculate the absolute value of the brightness difference between the current pixel point and the subsequent pixel point in turn, and determine whether the current pixel point is the last pixel point, and if so, stop the calculation, if otherwise, until the absolute value of the brightness difference is less than the first Presetting another pixel point of the threshold, and determining whether the number of N pixel points spaced between the other pixel point and the current pixel point is greater than a third predetermined threshold, and if so, determining the current pixel point and another pixel The point is the abrupt pixel point, and step C2 is continued with another pixel point as the abrupt pixel point.
- 根据权利要求13或14所述的星轨拍摄效果自动优化的装置,其中,所述区域确定单元设置成按照如下方式获取星轨区像素点的亮度值范围:The apparatus for automatically optimizing a star-track shooting effect according to claim 13 or 14, wherein the area determining unit is configured to acquire a range of luminance values of the star-track area pixel points as follows:根据实验数据获得所述星轨区像素点的亮度值范围,然后将所述星轨区像素点的亮度值范围作为一个预设值;或者,Obtaining a brightness value range of the pixel points of the star track area according to the experimental data, and then using the brightness value range of the pixel area of the star track area as a preset value; or在扫描时,通过对星轨图像中第一排的像素点的亮度值进行统计计算获取所述星轨区像素点的亮度值范围。At the time of scanning, a range of luminance values of the pixels of the star-track region is obtained by performing statistical calculation on the luminance values of the pixels of the first row in the star-track image.
- 根据权利要求13或14所述的星轨拍摄效果自动优化的装置,其中,所述区域确定单元设置成按照如下方式对所述星轨图像中的像素点进行逐排扫描,获取各像素点的亮度值:The apparatus for automatically optimizing the star-track shooting effect according to claim 13 or 14, wherein the area determining unit is configured to scan the pixel points in the star-track image in a row-by-row manner to obtain each pixel point. Brightness value:对该星轨图像中的像素点进行逐排扫描,然后读取间隔距离相同的像素点的亮度值;或者,Performing a row-by-row scan of the pixels in the star-track image, and then reading the brightness values of the pixels having the same distance; or对该星轨图像中的像素点进行逐排扫描,然后读取每一个像素点的亮度值。The pixels in the star track image are scanned line by line, and then the brightness value of each pixel is read.
- 一种移动终端,包括如权利要求9至16中任一项所述的星轨拍摄效果自动优化的装置,用于对所述拍摄装置拍摄的星轨图像进行优化处理。 A mobile terminal comprising the device for automatically optimizing a star-track shooting effect according to any one of claims 9 to 16 for optimizing an image of a star-track image captured by the camera.
- 如权利要求17所述的移动终端,该移动终端还包括拍摄装置,所述拍摄装置用于进行星轨拍摄,得到星轨图像。The mobile terminal of claim 17, further comprising a photographing device for performing star-track photography to obtain a star-track image.
- 一种计算机程序,包括程序指令,当该程序指令被终端执行时,使得该终端可执行如权利要求1-8中任一项所述的星轨拍摄效果自动优化的方法。A computer program comprising program instructions that, when executed by a terminal, cause the terminal to perform a method of automatically optimizing a star-tracking effect as claimed in any one of claims 1-8.
- 一种载有如权利要求19所述的计算机程序的载体。 A carrier carrying the computer program of claim 19.
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410419852.4A CN104159035B (en) | 2014-08-22 | 2014-08-22 | A kind of method and device of star orbital shooting effect Automatic Optimal |
CN201410419852.4 | 2014-08-22 | ||
CN201510487280 | 2015-08-10 | ||
CN201510487280.8 | 2015-08-10 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016026455A1 true WO2016026455A1 (en) | 2016-02-25 |
Family
ID=55350212
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2015/087698 WO2016026455A1 (en) | 2014-08-22 | 2015-08-20 | Method and device for automatically optimizing star trail photography result |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2016026455A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111429194A (en) * | 2019-01-09 | 2020-07-17 | 阿里巴巴集团控股有限公司 | User track determination system, method, device and server |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1525760A (en) * | 2003-08-29 | 2004-09-01 | 北京中星微电子有限公司 | A picture synthesis processing method |
WO2013157662A1 (en) * | 2012-04-20 | 2013-10-24 | Ricoh Company, Ltd. | Imaging device and image processing method |
CN103905730A (en) * | 2014-03-24 | 2014-07-02 | 深圳市中兴移动通信有限公司 | Shooting method of mobile terminal and mobile terminal |
CN104159035A (en) * | 2014-08-22 | 2014-11-19 | 深圳市中兴移动通信有限公司 | Method and device of automatically optimizing orbital shooting effect |
-
2015
- 2015-08-20 WO PCT/CN2015/087698 patent/WO2016026455A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1525760A (en) * | 2003-08-29 | 2004-09-01 | 北京中星微电子有限公司 | A picture synthesis processing method |
WO2013157662A1 (en) * | 2012-04-20 | 2013-10-24 | Ricoh Company, Ltd. | Imaging device and image processing method |
CN103905730A (en) * | 2014-03-24 | 2014-07-02 | 深圳市中兴移动通信有限公司 | Shooting method of mobile terminal and mobile terminal |
CN104159035A (en) * | 2014-08-22 | 2014-11-19 | 深圳市中兴移动通信有限公司 | Method and device of automatically optimizing orbital shooting effect |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111429194A (en) * | 2019-01-09 | 2020-07-17 | 阿里巴巴集团控股有限公司 | User track determination system, method, device and server |
CN111429194B (en) * | 2019-01-09 | 2023-04-07 | 阿里巴巴集团控股有限公司 | User track determination system, method, device and server |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9591237B2 (en) | Automated generation of panning shots | |
US20170256036A1 (en) | Automatic microlens array artifact correction for light-field images | |
US9769397B2 (en) | Method and apparatus for acquiring a set of images illuminated by a flash | |
CN111915505B (en) | Image processing method, device, electronic equipment and storage medium | |
WO2017166479A1 (en) | Light measurement method and apparatus of image collection device | |
WO2016165488A1 (en) | Photo processing method and device | |
CN104836947A (en) | Image shooting method and apparatus | |
WO2016019770A1 (en) | Method, device and storage medium for picture synthesis | |
CN105007430B (en) | The method and apparatus set for determining exposure | |
CN108307098B (en) | Fisheye camera shadow correction parameter determination method, correction method and device and fisheye camera | |
CN110636274A (en) | Ultrashort-focus picture screen alignment method and device, ultrashort-focus projector and storage medium | |
JP2016081466A (en) | Image processing device, and image processing method and program | |
CN104506767A (en) | Method for generating different focal lengths of same scene by using continuous movement of motor and terminal | |
US20170331997A1 (en) | Brightness compensation method and device, and computer storage medium | |
JP2019087794A5 (en) | ||
CN114584700A (en) | Focusing marking method, marking device and electronic equipment | |
WO2016082590A1 (en) | Picture processing method and apparatus, and storage medium | |
TW201138438A (en) | Method of automatically calibrating a visual parameter for an imaging device | |
CN111405185A (en) | Zoom control method and device for camera, electronic equipment and storage medium | |
WO2016192467A1 (en) | Method and device for playing videos | |
TWI420899B (en) | Image processing apparatus and image processing method and storage medium | |
WO2016026455A1 (en) | Method and device for automatically optimizing star trail photography result | |
CN104159035B (en) | A kind of method and device of star orbital shooting effect Automatic Optimal | |
JP2013128212A (en) | Image processing device, imaging device, and method therefor | |
US10771687B2 (en) | Image capturing apparatus, image processing apparatus, image processing method, and storage medium |
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: 15833678 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 19/07/2017) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 15833678 Country of ref document: EP Kind code of ref document: A1 |