CN104333691A - A star trail photographing processing method and apparatus - Google Patents

A star trail photographing processing method and apparatus Download PDF

Info

Publication number
CN104333691A
CN104333691A CN201410426049.3A CN201410426049A CN104333691A CN 104333691 A CN104333691 A CN 104333691A CN 201410426049 A CN201410426049 A CN 201410426049A CN 104333691 A CN104333691 A CN 104333691A
Authority
CN
China
Prior art keywords
pixel
star rail
star
circle
sudden change
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410426049.3A
Other languages
Chinese (zh)
Other versions
CN104333691B (en
Inventor
龙浩
里强
崔小辉
苗雷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen ZTE Mobile Telecom Co Ltd
Original Assignee
Shenzhen ZTE Mobile Telecom Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen ZTE Mobile Telecom Co Ltd filed Critical Shenzhen ZTE Mobile Telecom Co Ltd
Priority to CN201410426049.3A priority Critical patent/CN104333691B/en
Publication of CN104333691A publication Critical patent/CN104333691A/en
Priority to PCT/CN2015/087703 priority patent/WO2016029822A1/en
Application granted granted Critical
Publication of CN104333691B publication Critical patent/CN104333691B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Studio Devices (AREA)

Abstract

The invention discloses a star trail photographing processing method and apparatus, which belongs to the technical field of digital imaging. The method process includes: after star trail photographing, computing a circle center of a star trail photographed this time according to any star trail arc in a composite image; extending segments of star trail arc in the composite image by surrounding the circle center to obtain a complete star trail effect picture. By using the method and apparatus of the invention, a photographer may photograph a complete star trail image within a short time, and thus the photographing time is shortened.

Description

A kind of star rail photographing process method and device
Technical field
The present invention relates to digital imaging technology field, particularly relate to a kind of star rail photographing process method and device.
Background technology
Along with the development of digital imaging technology, photographer can realize the shooting to various scene, and its culminant star rail image is the shutterbugs night scene figure that must clap especially.But, when taking star rail, if complete star rail picture will be photographed, then need to take for a long time, and for most photographer, particularly amateurish photographer, is difficult to extract the special time out and carries out the shooting of star rail.Therefore, be necessary to provide a kind of image pickup method and device, shoot complete star rail image in the short period of time to help photographer.
Summary of the invention
In view of this, the technical problem to be solved in the present invention is to provide a kind of image pickup method and device, consuming time longer to solve the shooting of prior art star rail, helps photographer to shoot the problem of complete star rail image in the short period of time.
It is as follows that the present invention solves the problems of the technologies described above adopted technical scheme:
According to an aspect of the present invention, provide a kind of star rail photographing process method, after comprising the steps: that the shooting of star rail terminates, calculate the center of circle of the star rail of this shooting according to arbitrary section of star rail camber line in composograph; Each section of star rail camber line in described composograph is carried out extending the complete star rail design sketch of acquisition around the described center of circle.
A kind of method as above is provided, after described star rail shooting terminates, calculates the center of circle of the star rail of this shooting according to arbitrary section of star rail camber line in composograph, comprising: extract 2 points on described arbitrary section of star rail camber line; Calculate with the mid point of described 2 straight lines that are end points, and to confirm by described mid point and perpendicular to the vertical line of described straight line; Determine the intersection point of described vertical line and described arbitrary section of star rail camber line; Mated by described 2 circumference be positioned on described vertical line with the center of circle, search the circumference by described and described intersection point at 2, and determine that described circumference is the track of described arbitrary section of star rail camber line, the center of circle of described circumference is the center of circle of the star rail of this shooting.
A kind of as above method is provided, described each section of star rail camber line in described composograph is carried out extending around the described center of circle obtain complete star rail design sketch, comprising: identify described composograph Zhong Xinggui district and Fei Xinggui district; Each section of star rail camber line in described composograph is extended around the described center of circle in Xing Gui district.
There is provided a kind of method as above, described identification described composograph Zhong Xinggui district and Fei Xinggui district, comprising: the range of luminance values obtaining Xing Gui district pixel; Pixel in described star rail image is scanned by row, obtains the brightness value of each pixel; Judge that the size of the brightness value of each pixel is whether within described range of luminance values; If so, then determine that described pixel is the pixel in star rail region, otherwise, determine that described pixel is the pixel in non-star rail region.
There is provided a kind of method as above, described identification described composograph Zhong Xinggui district and Fei Xinggui district, comprising: the range of luminance values of A, acquisition Xing Gui district pixel; B, the pixel in described star rail image to be scanned by row, obtain the brightness value of each pixel; C, according to the brightness value of each pixel obtained, the change of searching brightness value in each row's pixel exceeds the sudden change pixel of the first pre-set threshold value; Whether the percentage that D, the size of brightness value judged between each adjacent sudden change pixel arranged exceed the quantity of all pixels between the quantity of the pixel of described range of luminance values and described adjacent sudden change pixel is greater than the second default threshold values, if, the pixel judging between described adjacent sudden change pixel is the pixel in non-star rail region, otherwise the pixel judging between described adjacent sudden change pixel is the pixel in star rail region.
There is provided a kind of as above method, described step C comprises: C1, determine that first pixel in each row and last pixel are sudden change pixel, and from described first pixel, perform step C2;
C2, calculate the absolute value of the luminance difference between adjacent pixel successively, and judge whether current pixel point is last pixel described, if stop calculating, otherwise perform step C3; C3, judge that whether the absolute value of described current pixel point and the luminance difference thereafter between neighbor pixel is more than the first pre-set threshold value, if so, then determine that described current pixel point is for sudden change pixel, otherwise continue to perform step C2 from described current pixel point; C4, calculate the absolute value of described current pixel point and the luminance difference of pixel thereafter, and judge whether current another pixel participating in calculating is last pixel described, if stop calculating, otherwise judge whether described absolute value is less than described first pre-set threshold value, if so, determine that another pixel described is for sudden change pixel, and from another pixel described, perform step C2, otherwise continue to perform step C3 from another pixel described.
According to another aspect of the present invention, provide a kind of filming apparatus, described device comprises: center of circle determining unit, after terminating, calculates the center of circle of the star rail of this shooting according to arbitrary section of star rail camber line in composograph for the shooting of star rail; Processing unit, for carrying out extending the complete star rail design sketch of acquisition around the center of circle that described computing unit calculates by each section of star rail camber line in described composograph.
A kind of device as above is provided, described center of circle determining unit, also for extracting 2 points on described arbitrary section of star rail camber line, calculate with the mid point of described 2 straight lines that are end points, and to confirm by described mid point and perpendicular to the vertical line of described straight line, and for determining the intersection point of described vertical line and described arbitrary section of star rail camber line, described 2 circumference be positioned on described vertical line with the center of circle are mated, search the circumference by described and described intersection point at 2, and determine that described circumference is the track of described arbitrary section of star rail camber line, the center of circle of described circumference is the center of circle of the star rail of this shooting.
There is provided a kind of device as above, described processing unit, also for identifying described composograph Zhong Xinggui district and Fei Xinggui district, extends each section of star rail camber line in described composograph in Xing Gui district around the described center of circle.
A kind of device as above is provided, described processing unit, also for obtaining the range of luminance values of Xing Gui district pixel, and the pixel in described star rail image is scanned by row, obtain the brightness value of each pixel, and judge that the size of the brightness value of each pixel is whether within described range of luminance values, and for when judging that the size of brightness value of each pixel is within described range of luminance values, determine that described pixel is the pixel in star rail region, otherwise, determine that described pixel is the pixel in non-star rail region.
There is provided a kind of device as above, described processing unit, also for determining to be positioned in the star rail image taken the pixel in non-star rail region by performing following steps: the range of luminance values of A, acquisition Xing Gui district pixel; B, the pixel in described star rail image to be scanned by row, obtain the brightness value of each pixel; C, according to the brightness value of each pixel obtained, the change of searching brightness value in each row's pixel exceeds the sudden change pixel of the first pre-set threshold value; Whether the percentage that D, the size of brightness value judged between each adjacent sudden change pixel arranged exceed the quantity of all pixels between the quantity of the pixel of described range of luminance values and described adjacent sudden change pixel is greater than the second default threshold values, if, the pixel judging between described adjacent sudden change pixel is the pixel in non-star rail region, otherwise the pixel judging between described adjacent sudden change pixel is the pixel in star rail region.
A kind of device as above is provided, described controlled processing unit, also for realizing the brightness value of each pixel according to acquisition by performing following steps, search change of brightness value in each row's pixel and exceed the sudden change pixel of the first pre-set threshold value: C1, determine that first pixel in each row and last pixel are sudden change pixel, and from described first pixel, perform step C2; C2, calculate the absolute value of the luminance difference between adjacent pixel successively, and judge whether current pixel point is last pixel described, if stop calculating, otherwise perform step C3; C3, judge that whether the absolute value of described current pixel point and the luminance difference thereafter between neighbor pixel is more than the first pre-set threshold value, if so, then determine that described current pixel point is for sudden change pixel, otherwise continue to perform step C2 from described current pixel point; C4, calculate the absolute value of described current pixel point and the luminance difference of pixel thereafter, and judge whether current another pixel participating in calculating is last pixel described, if stop calculating, otherwise judge whether described absolute value is less than described first pre-set threshold value, if so, determine that another pixel described is for sudden change pixel, and from another pixel described, perform step C2, otherwise continue to perform step C3 from another pixel described.
A kind of star rail photographing process method of the present invention and device, only can determine the center of circle of this star rail taken according to the star rail camber line of shooting acquisition arbitrary section of star rail camber line when carrying out the shooting of star rail, then each section of star rail camber line in this composograph is extended around this center of circle, just complete star rail design sketch can be obtained, therefore, it is possible to make photographer shoot complete star rail image in the short period of time.And by when in this composograph, each section of star rail camber line extends around this center of circle, can also synthetic images Zhong Xinggui district and Fei Xinggui district distinguish, and Jin Xinggui district extends each section of star rail camber line, make the effect of the final more realistic shooting of star rail design sketch obtained.
Accompanying drawing explanation
The module diagram of a kind of filming apparatus that Fig. 1 provides for the embodiment of the present invention;
The method flow diagram of a kind of image pickup method that Fig. 2 provides for the embodiment of the present invention;
Fig. 3 is the flow chart of step S201 in Fig. 2;
Fig. 4 is the flow chart of the method one in middle identification this composograph Zhong Xinggui district embodiment illustrated in fig. 2 and Fei Xinggui district;
Fig. 5 is the flow chart of the method two in middle identification this composograph Zhong Xinggui district embodiment illustrated in fig. 2 and Fei Xinggui district;
Fig. 6 is the flow chart of step C in flow process shown in Fig. 5.
Embodiment
In order to make technical problem to be solved by this invention, technical scheme and beneficial effect clearly, understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Refer to Fig. 1, the invention provides a kind of filming apparatus.This filming apparatus comprises: detecting unit 101, control unit 102, center of circle determining unit 103 and processing unit 104.
In practical application, after the shooting of star rail starts, camera gathers an image every Preset Time; Judge whether the brightness of the pixel in the image that same position is current is greater than the brightness of the pixel in the image obtained in the past; If so, then the pixel of same position in the image in past is replaced with the pixel in current image by this, carries out the synthesis of star rail image accordingly.And the star rail in complete star rail image is made up of multiple concentric circles around the same center of circle.
Detecting unit 101, for when entering star rail screening-mode, detects whether open quick screening-mode.
Concrete, quick screening-mode functional entrance can be opened by arranging, being determined whether according to actual needs to open quick screening-mode by user, and the shooting time of quick screening-mode is set.
Control unit 102, when opening quick screening-mode for detecting at this detecting unit 101, controlling this filming apparatus and terminating the shooting of star rail when taking and proceeding to the time of presetting.
Concrete, control unit 102 realizes the control to shooting time by timer.Now control unit 102, also for when opening quick screening-mode, opening timer when taking and starting, and judging whether the timing of this timer reaches the default time, and for stopping shooting when the timing of timer reaches the default time.
Center of circle determining unit 103, for after the shooting of star rail terminates, calculates the center of circle of the star rail of this shooting according to arbitrary section of star rail camber line in composograph.
Concrete, processing unit 103 determines that according to the star rail camber line in this composograph the method in the center of circle of this star rail taken is as follows:
Extract 2 points on described arbitrary section of star rail camber line, calculate with the mid point of described 2 straight lines that are end points, and to confirm by described mid point and perpendicular to the vertical line of described straight line, and for determining the intersection point of described vertical line and described arbitrary section of star rail camber line, described 2 circumference be positioned on described vertical line with the center of circle are mated, search the circumference by described and described intersection point at 2, and determine that described circumference is the track of described arbitrary section of star rail camber line, the center of circle of described circumference is the center of circle of the star rail of this shooting.
Processing unit 104, for carrying out extending the complete star rail design sketch of acquisition around the center of circle that described computing unit calculates by each section of star rail camber line in described composograph.
Concrete, each section of star rail camber line in this composograph carries out extending when obtaining complete star rail design sketch by processing unit 104 around this center of circle, also for identifying this composograph Zhong Xinggui district and Fei Xinggui district, and each section of star rail camber line in this composograph is extended around this center of circle in Xing Gui district.
In practical application, processing unit 104 can be identified Xing Gui district and Fei Xinggui district by two kinds of methods.
Method one,
Obtain the range of luminance values of Xing Gui district pixel, and the pixel in described star rail image is scanned by row, obtain the brightness value of each pixel, and judge that the size of the brightness value of each pixel is whether within described range of luminance values, and for when judging that the size of brightness value of each pixel is within described range of luminance values, determine that described pixel is the pixel in star rail region, otherwise, determine that described pixel is the pixel in non-star rail region.
Method two,
Processing unit 104 processing unit, also for determining to be positioned in the star rail image taken the pixel in non-star rail region by performing following steps: the range of luminance values of A, acquisition Xing Gui district pixel; B, the pixel in described star rail image to be scanned by row, obtain the brightness value of each pixel; C, according to the brightness value of each pixel obtained, the change of searching brightness value in each row's pixel exceeds the sudden change pixel of the first pre-set threshold value; Whether the percentage that D, the size of brightness value judged between each adjacent sudden change pixel arranged exceed the quantity of all pixels between the quantity of the pixel of described range of luminance values and described adjacent sudden change pixel is greater than the second default threshold values, if, the pixel judging between described adjacent sudden change pixel is the pixel in non-star rail region, otherwise the pixel judging between described adjacent sudden change pixel is the pixel in star rail region.
When performing step C, processing unit 104 is also for realizing the brightness value of each pixel according to acquisition by performing following steps, search change of brightness value in each row's pixel and exceed the sudden change pixel of the first pre-set threshold value: C1, determine that first pixel in each row and last pixel are sudden change pixel, and from described first pixel, perform step C2; C2, calculate the absolute value of the luminance difference between adjacent pixel successively, and judge whether current pixel point is last pixel described, if stop calculating, otherwise perform step C3; C3, judge that whether the absolute value of described current pixel point and the luminance difference thereafter between neighbor pixel is more than the first pre-set threshold value, if so, then determine that described current pixel point is for sudden change pixel, otherwise continue to perform step C2 from described current pixel point; C4, calculate the absolute value of described current pixel point and the luminance difference of pixel thereafter, and judge whether current another pixel participating in calculating is last pixel described, if stop calculating, otherwise judge whether described absolute value is less than described first pre-set threshold value, if so, determine that another pixel described is for sudden change pixel, and from another pixel described, perform step C2, otherwise continue to perform step C3 from another pixel described.
Concrete, when the star rail camber line in this composograph extends around this center of circle in Xing Gui district by processing unit 104, can carry out from one end of this camber line extending or extending from the two ends of this camber line simultaneously; Also first can copy the camber line of this section of star rail, and then this section of star rail camber line place circumferentially this camber line is repeated paste, with the shooting effect making it more realistic.
In practical application, processing unit 104 can also scan by row to the pixel in this star rail image, and reads the brightness value of the identical pixel of spacing distance.The range of luminance values of the first pre-set threshold value, the second pre-set threshold value Ji Xinggui district pixel, can experimentally data acquisition.The range of luminance values of its culminant star rail district pixel, when scanning, can also obtain by carrying out statistics hormone to the brightness value of the pixel of the 1st row in star rail image.
In practical application, this device can also arrange display unit, for showing complete star rail design sketch.
A kind of filming apparatus of the present embodiment, quick screening-mode can be opened when carrying out the shooting of star rail, and when opening quick screening-mode, the time only needing shooting to preset just can stop shooting, then composograph when stopping shooting being obtained, the center of circle of this star rail taken is determined according to the star rail camber line in this composograph, then each section of star rail camber line in this composograph is extended around this center of circle, just complete star rail design sketch can be obtained, therefore, it is possible to make photographer shoot complete star rail image in the short period of time.And by when in this composograph, each section of star rail camber line extends around this center of circle, can also synthetic images Zhong Xinggui district and Fei Xinggui district distinguish, and Jin Xinggui district extends each section of star rail camber line, make the effect of the final more realistic shooting of star rail design sketch obtained.
On the basis of said apparatus embodiment, the invention provides a kind of image pickup method, refer to Fig. 2, method flow comprises:
After the shooting of S201, star rail terminates, calculate the center of circle of the star rail of this shooting according to arbitrary section of star rail camber line in composograph.
Refer to Fig. 3, this step comprises:
S2011,2 points extracted on this arbitrary section of star rail camber line;
S2012, to calculate with the mid point of these 2 straight lines that are end points, and to confirm by this mid point and perpendicular to the vertical line of this straight line;
S2013, determine the intersection point of this vertical line and this arbitrary section of star rail camber line;
S2014, to be mated by these 2 circumference be positioned on this vertical line with the center of circle, search the circumference by and this intersection point at these 2, and determine that this circumference is the track of this arbitrary section of star rail camber line, the center of circle of this circumference is the center of circle of the star rail of this shooting.
S202, each section of star rail camber line in this composograph is carried out around this center of circle extending obtaining complete star rail design sketch.
When performing this step, go back identifiable design this composograph Zhong Xinggui district and Fei Xinggui district; Each section of star rail camber line in this composograph is extended around this center of circle in Xing Gui district.
Concrete, identify that this composograph Zhong Xinggui district and Fei Xinggui district realize by two kinds of methods.
Refer to Fig. 4, method one comprises:
The range of luminance values of S401, acquisition Xing Gui district pixel;
S402, the pixel in this star rail image to be scanned by row, obtain the brightness value of each pixel;
S403, judge that the size of brightness value of each pixel is whether within this range of luminance values;
S405, if so, then determine that this pixel is the pixel in star rail region, otherwise, determine that this pixel is the pixel in non-star rail region.
Refer to Fig. 5, method two comprises:
The range of luminance values of A, acquisition Xing Gui district pixel;
B, the pixel in this star rail image to be scanned by row, obtain the brightness value of each pixel;
C, according to the brightness value of each pixel obtained, the change of searching brightness value in each row's pixel exceeds the sudden change pixel of the first pre-set threshold value;
Whether the percentage that D, the size of brightness value judged between each adjacent sudden change pixel arranged exceed the quantity of all pixels between the quantity of the pixel of this range of luminance values sudden change pixel adjacent with this is greater than the second default threshold values, if, the pixel judging between this adjacent sudden change pixel is the pixel in non-star rail region, otherwise the pixel judging between this adjacent sudden change pixel is the pixel in star rail region.
In practical application, the implementation method of step C can consult Fig. 6.
C1, determine that first pixel in each row and last pixel are sudden change pixel, and from this first pixel, perform step C2;
C2, calculate the absolute value of the luminance difference between adjacent pixel successively, and judge whether current pixel point is this last pixel, if stop calculating, otherwise perform step C3;
C3, judge that whether the absolute value of this current pixel point and the luminance difference thereafter between neighbor pixel is more than the first pre-set threshold value, if so, then determine that this current pixel point is for sudden change pixel, otherwise continue to perform step C2 from this current pixel point;
C4, calculate the absolute value of this current pixel point and the luminance difference of pixel thereafter, and judge whether current another pixel participating in calculating is this last pixel, if stop calculating, otherwise judge whether this absolute value is less than this first pre-set threshold value, if so, determine that this another pixel is for sudden change pixel, and from this another pixel, perform step C2, otherwise continue to perform step C3 from this another pixel.
In practical application, the present embodiment, before execution step S201, also can comprise the steps:
S1, when entering star rail screening-mode, detect whether open quick screening-mode.
Concrete, quick screening-mode functional entrance can be opened by arranging, being determined whether according to actual needs to open quick screening-mode by user, and the shooting time of quick screening-mode is set.
If S2 opens quick screening-mode, then stop shooting when taking and proceeding to the time of presetting.
Concrete, this step comprises:
If open quick screening-mode, then open timer when taking and starting;
Judge whether the timing of this timer reaches the default time;
If reach the default time, stop shooting
S3, obtain current composograph.
It should be noted that, when prior art utilizes digital camera (particularly mobile terminal) to take star rail, the form of the long-time multiexposure, multiple exposure of many employings takes multiple images, and in shooting process, the image of current shooting and last image are carried out synthesis and process, like this when shooting completes, just directly can obtain the star rail image after synthesis.Therefore the present embodiment shooting stop time, obtain current composite diagram be shooting last image and last image (namely going up a composite diagram) synthesize the image after processing.
A kind of image pickup method of the present embodiment, quick screening-mode can be opened when carrying out the shooting of star rail, and when opening quick screening-mode, the time only needing shooting to preset just can stop shooting, then composograph when stopping shooting being obtained, the center of circle of this star rail taken is determined according to the star rail camber line in this composograph, then each section of star rail camber line in this composograph is extended around this center of circle, just complete star rail design sketch can be obtained, therefore, it is possible to make photographer shoot complete star rail image in the short period of time.And by when in this composograph, each section of star rail camber line extends around this center of circle, can also synthetic images Zhong Xinggui district and Fei Xinggui district distinguish, and Jin Xinggui district extends each section of star rail camber line, make the effect of the final more realistic shooting of star rail design sketch obtained.
Above with reference to the accompanying drawings of the preferred embodiments of the present invention, not thereby limit to interest field of the present invention.Those skilled in the art do not depart from the scope and spirit of the present invention interior done any amendment, equivalent replacement and improve, all should within interest field of the present invention.

Claims (12)

1. a star rail photographing process method, is characterized in that, comprise the steps:
After the shooting of star rail terminates, calculate the center of circle of the star rail of this shooting according to arbitrary section of star rail camber line in composograph;
Each section of star rail camber line in described composograph is carried out extending the complete star rail design sketch of acquisition around the described center of circle.
2. method according to claim 1, is characterized in that, after described star rail shooting terminates, calculates the center of circle of the star rail of this shooting, comprising according to arbitrary section of star rail camber line in composograph:
Extract 2 points on described arbitrary section of star rail camber line;
Calculate with the mid point of described 2 straight lines that are end points, and to confirm by described mid point and perpendicular to the vertical line of described straight line;
Determine the intersection point of described vertical line and described arbitrary section of star rail camber line;
Mated by described 2 circumference be positioned on described vertical line with the center of circle, search the circumference by described and described intersection point at 2, and determine that described circumference is the track of described arbitrary section of star rail camber line, the center of circle of described circumference is the center of circle of the star rail of this shooting.
3. method according to claim 1 and 2, is characterized in that, is describedly carried out around the described center of circle extending by each section of star rail camber line in described composograph obtaining complete star rail design sketch, comprising:
Identify described composograph Zhong Xinggui district and Fei Xinggui district;
Each section of star rail camber line in described composograph is extended around the described center of circle in Xing Gui district.
4. method according to claim 3, is characterized in that, described identification described composograph Zhong Xinggui district and Fei Xinggui district, comprising:
Obtain the range of luminance values of Xing Gui district pixel;
Pixel in described star rail image is scanned by row, obtains the brightness value of each pixel;
Judge that the size of the brightness value of each pixel is whether within described range of luminance values;
If so, then determine that described pixel is the pixel in star rail region, otherwise, determine that described pixel is the pixel in non-star rail region.
5. method according to claim 3, is characterized in that, described identification described composograph Zhong Xinggui district and Fei Xinggui district, comprising:
The range of luminance values of A, acquisition Xing Gui district pixel;
B, the pixel in described star rail image to be scanned by row, obtain the brightness value of each pixel;
C, according to the brightness value of each pixel obtained, the change of searching brightness value in each row's pixel exceeds the sudden change pixel of the first pre-set threshold value;
Whether the percentage that D, the size of brightness value judged between each adjacent sudden change pixel arranged exceed the quantity of all pixels between the quantity of the pixel of described range of luminance values and described adjacent sudden change pixel is greater than the second default threshold values, if, the pixel judging between described adjacent sudden change pixel is the pixel in non-star rail region, otherwise the pixel judging between described adjacent sudden change pixel is the pixel in star rail region.
6. method according to claim 5, is characterized in that, described step C comprises:
C1, determine that first pixel in each row and last pixel are sudden change pixel, and from described first pixel, perform step C2;
C2, calculate the absolute value of the luminance difference between adjacent pixel successively, and judge whether current pixel point is last pixel described, if stop calculating, otherwise perform step C3;
C3, judge that whether the absolute value of described current pixel point and the luminance difference thereafter between neighbor pixel is more than the first pre-set threshold value, if so, then determine that described current pixel point is for sudden change pixel, otherwise continue to perform step C2 from described current pixel point;
C4, calculate the absolute value of described current pixel point and the luminance difference of pixel thereafter, and judge whether current another pixel participating in calculating is last pixel described, if stop calculating, otherwise judge whether described absolute value is less than described first pre-set threshold value, if so, determine that another pixel described is for sudden change pixel, and from another pixel described, perform step C2, otherwise continue to perform step C3 from another pixel described.
7. a filming apparatus, is characterized in that, described device comprises:
Center of circle determining unit, after terminating, calculates the center of circle of the star rail of this shooting for the shooting of star rail according to arbitrary section of star rail camber line in composograph;
Processing unit, for carrying out extending the complete star rail design sketch of acquisition around the center of circle that described computing unit calculates by each section of star rail camber line in described composograph.
8. device according to claim 7, it is characterized in that, described center of circle determining unit, also for extracting 2 points on described arbitrary section of star rail camber line, calculate with the mid point of described 2 straight lines that are end points, and to confirm by described mid point and perpendicular to the vertical line of described straight line, and for determining the intersection point of described vertical line and described arbitrary section of star rail camber line, described 2 circumference be positioned on described vertical line with the center of circle are mated, search the circumference by described and described intersection point at 2, and determine that described circumference is the track of described arbitrary section of star rail camber line, the center of circle of described circumference is the center of circle of the star rail of this shooting.
9. the device according to claim 7 or 8, is characterized in that, described processing unit, also for identifying described composograph Zhong Xinggui district and Fei Xinggui district, is extended by each section of star rail camber line in described composograph around the described center of circle in Xing Gui district.
10. device according to claim 9, it is characterized in that, described processing unit, also for obtaining the range of luminance values of Xing Gui district pixel, and the pixel in described star rail image is scanned by row, obtain the brightness value of each pixel, and judge that the size of the brightness value of each pixel is whether within described range of luminance values, and for when judging that the size of brightness value of each pixel is within described range of luminance values, determine that described pixel is the pixel in star rail region, otherwise, determine that described pixel is the pixel in non-star rail region.
11. devices according to claim 10, is characterized in that, described processing unit, also for determining to be positioned in the star rail image taken the pixel in non-star rail region by performing following steps: the range of luminance values of A, acquisition Xing Gui district pixel; B, the pixel in described star rail image to be scanned by row, obtain the brightness value of each pixel; C, according to the brightness value of each pixel obtained, the change of searching brightness value in each row's pixel exceeds the sudden change pixel of the first pre-set threshold value; Whether the percentage that D, the size of brightness value judged between each adjacent sudden change pixel arranged exceed the quantity of all pixels between the quantity of the pixel of described range of luminance values and described adjacent sudden change pixel is greater than the second default threshold values, if, the pixel judging between described adjacent sudden change pixel is the pixel in non-star rail region, otherwise the pixel judging between described adjacent sudden change pixel is the pixel in star rail region.
12. devices according to claim 11, it is characterized in that, described controlled processing unit, also for realizing the brightness value of each pixel according to acquisition by performing following steps, search change of brightness value in each row's pixel and exceed the sudden change pixel of the first pre-set threshold value: C1, determine that first pixel in each row and last pixel are sudden change pixel, and from described first pixel, perform step C2; C2, calculate the absolute value of the luminance difference between adjacent pixel successively, and judge whether current pixel point is last pixel described, if stop calculating, otherwise perform step C3; C3, judge that whether the absolute value of described current pixel point and the luminance difference thereafter between neighbor pixel is more than the first pre-set threshold value, if so, then determine that described current pixel point is for sudden change pixel, otherwise continue to perform step C2 from described current pixel point; C4, calculate the absolute value of described current pixel point and the luminance difference of pixel thereafter, and judge whether current another pixel participating in calculating is last pixel described, if stop calculating, otherwise judge whether described absolute value is less than described first pre-set threshold value, if so, determine that another pixel described is for sudden change pixel, and from another pixel described, perform step C2, otherwise continue to perform step C3 from another pixel described.
CN201410426049.3A 2014-08-26 2014-08-26 A kind of star rail photographing process method and device Active CN104333691B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410426049.3A CN104333691B (en) 2014-08-26 2014-08-26 A kind of star rail photographing process method and device
PCT/CN2015/087703 WO2016029822A1 (en) 2014-08-26 2015-08-20 Star trail shooting processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410426049.3A CN104333691B (en) 2014-08-26 2014-08-26 A kind of star rail photographing process method and device

Publications (2)

Publication Number Publication Date
CN104333691A true CN104333691A (en) 2015-02-04
CN104333691B CN104333691B (en) 2016-04-06

Family

ID=52408333

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410426049.3A Active CN104333691B (en) 2014-08-26 2014-08-26 A kind of star rail photographing process method and device

Country Status (1)

Country Link
CN (1) CN104333691B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016029822A1 (en) * 2014-08-26 2016-03-03 努比亚技术有限公司 Star trail shooting processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012142673A (en) * 2010-12-28 2012-07-26 Nikon Corp Imaging device
CN102694967A (en) * 2011-03-22 2012-09-26 天津三星光电子有限公司 A star gazing-realizing method and a device thereof
CN103905730A (en) * 2014-03-24 2014-07-02 深圳市中兴移动通信有限公司 Shooting method of mobile terminal and mobile terminal
CN103973984A (en) * 2014-05-29 2014-08-06 深圳市中兴移动通信有限公司 Shooting method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012142673A (en) * 2010-12-28 2012-07-26 Nikon Corp Imaging device
CN102694967A (en) * 2011-03-22 2012-09-26 天津三星光电子有限公司 A star gazing-realizing method and a device thereof
CN103905730A (en) * 2014-03-24 2014-07-02 深圳市中兴移动通信有限公司 Shooting method of mobile terminal and mobile terminal
CN103973984A (en) * 2014-05-29 2014-08-06 深圳市中兴移动通信有限公司 Shooting method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016029822A1 (en) * 2014-08-26 2016-03-03 努比亚技术有限公司 Star trail shooting processing method and device

Also Published As

Publication number Publication date
CN104333691B (en) 2016-04-06

Similar Documents

Publication Publication Date Title
EP3624439A3 (en) Imaging processing method for camera module in night scene, electronic device and storage medium
KR101941801B1 (en) Image processing method and device for led display screen
EP2887646B1 (en) Method and apparatus for acquiring a set of images illuminated by a flash
CN106851103B (en) Atomatic focusing method and device based on dual camera system
EP1378790A3 (en) Method and device for correcting lens aberrations in a stereo camera system with zoom
JP2016114946A (en) Camera module
CN105301876A (en) Projection method for intelligent projection robot, and robot employing projection method
RU2014145269A (en) METHOD OF DIGITAL CINEMA PROJECTIONS, DEVICE FOR OPTIMIZATION AND PROJECTION SYSTEM
CN104184935B (en) Image capture devices and method
US20160323505A1 (en) Photographing processing method, device and computer storage medium
CN110493525A (en) Zoom image determines method and device, storage medium, terminal
EP3136708A3 (en) Mobile terminal and controlling method thereof
MX347103B (en) Method and apparatus for multi-spectral imaging.
US8625004B2 (en) Method and apparatus for determining the movement of an optical axis
CN104539890A (en) Target tracking method and system
CN106991701A (en) A kind of calibration system and method for panorama shooting device parameter
CN105472263B (en) Image acquisition method and the image capture equipment for using the method
CN104333691B (en) A kind of star rail photographing process method and device
CN102238328A (en) Method of automatically calibrating a visual parameter for an imaging device
CN105049704A (en) Shooting method and equipment
CN104159035B (en) A kind of method and device of star orbital shooting effect Automatic Optimal
WO2021022989A1 (en) Calibration parameter obtaining method and apparatus, processor, and electronic device
JP2008005110A5 (en)
EP3758355A3 (en) Imaging method, apparatus for imaging, and electronic device
US20120075495A1 (en) Electronic camera

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
CB02 Change of applicant information

Address after: A District No. 9018 Han innovation building in Nanshan District high tech Zone in Shenzhen city of Guangdong Province, North Central Avenue, 518000 floor 10

Applicant after: Nubian Technologies Ltd.

Address before: A District No. 9018 Han innovation building in Nanshan District high tech Zone in Shenzhen city of Guangdong Province, North Central Avenue, 518000 floor 10

Applicant before: Shenzhen ZTE Mobile Tech Co., Ltd.

COR Change of bibliographic data
GR01 Patent grant