CN107071278A - Terminal and star orbital shooting method - Google Patents

Terminal and star orbital shooting method Download PDF

Info

Publication number
CN107071278A
CN107071278A CN201710211550.1A CN201710211550A CN107071278A CN 107071278 A CN107071278 A CN 107071278A CN 201710211550 A CN201710211550 A CN 201710211550A CN 107071278 A CN107071278 A CN 107071278A
Authority
CN
China
Prior art keywords
celestial body
coordinate
initial frame
shooting
capture apparatus
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.)
Pending
Application number
CN201710211550.1A
Other languages
Chinese (zh)
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201710211550.1A priority Critical patent/CN107071278A/en
Publication of CN107071278A publication Critical patent/CN107071278A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses a kind of terminal, the terminal includes:Taking module, for when receiving star orbital shooting instruction, control capture apparatus, which is shot, to obtain initial frame, obtains the coordinate of the capture apparatus;Identification module, for recognizing the celestial body in the initial frame, obtains the coordinate of the celestial body;Position module, for the coordinate according to the capture apparatus, the coordinate of the celestial body and default shooting duration of video, it is determined that terminating the final position of celestial body during shooting;Drafting module, the star orbital for drawing the celestial body on the initial frame according to the final position generates star orbital image.The invention also discloses a kind of star orbital shooting method.The present invention need not expend the star orbital to be captured such as user's plenty of time, the problem of solving star orbital shooting overlong time.

Description

Terminal and star orbital shooting method
Technical field
The present invention relates to field of terminal technology, more particularly to a kind of terminal and star orbital shooting method.
Background technology
Due to the convenience of mobile terminal, increasing user is accustomed to being taken pictures with mobile terminal, shoots beautiful scenery or note Drop in record life.As mobile terminal shoots the development and upgrading of hardware, user directly can be shot using mobile terminal Star, or even shoot star orbital.
But, current star orbital, which is clapped, to be needed to expose for a long time and carry out multiframe superposition, and this process generally requires to continue It is more than a few hours, harsh to environmental requirement.Moreover, shooting process is very long, be easily interrupted, blocks if cloud, send a telegram here, electricity Situations such as pond not enough power supply, occurs, and can interrupt shooting, and the photo of effort shooting before just turns into waste paper, can only re-shoot. It is additionally, since the overlong time of star orbital shooting, the parameter such as exposure time of shooting is very difficult to regulation, and slightly deviation can not just be clapped To star orbital image.
It can be seen that, current star orbital shooting takes oversize, shooting difficulty height.
The content of the invention
It is a primary object of the present invention to provide a kind of terminal and star orbital shooting method, it is intended to which solving star orbital shooting, time-consuming Technical problem.
To achieve the above object, the present invention provides a kind of terminal, and the terminal includes:
Taking module, for when receiving star orbital shooting instruction, control capture apparatus, which is shot, to obtain initial frame, obtains described The coordinate of capture apparatus;
Identification module, for recognizing the celestial body in the initial frame, obtains the coordinate of the celestial body;
Position module, for the coordinate according to the capture apparatus, the coordinate of the celestial body and default shooting duration of video, really The fixed final position for terminating celestial body during shooting;
Drafting module, the star orbital for drawing the celestial body on the initial frame according to the final position generates star Rail image.
Further, the position module is additionally operable to,
Calculate according to the coordinate of the capture apparatus and the coordinate of the celestial body, and default shooting duration of video and obtain described The hour angle difference of celestial body;The final position of celestial body when determining to terminate to shoot according to the hour angle difference.
Further, the position module is additionally operable to,
According to the coordinate of the capture apparatus and the coordinate of the celestial body, and the standard time of initial frame is shot, calculated First hour angle of the celestial body;According to the coordinate of the capture apparatus and the coordinate of the celestial body, and shoot the mark of initial frame Between punctual, default shooting duration of video, calculate the second hour angle of the celestial body;According to first hour angle and second hour angle, Calculate the hour angle difference for obtaining the celestial body.
Further, the position module is additionally operable to,
It is determined that the standard time for shooting initial frame was the first standard time, according to the coordinate of the capture apparatus and described the One standard time, calculating obtained for the first local sidereal time;According to the coordinate of the celestial body and first local sidereal time, calculate Obtain the first hour angle of the celestial body.
Further, the identification module is additionally operable to,
The elevation angle and azimuth of the capture apparatus are obtained, is carried out according to the elevation angle and azimuth on default celestial sphere Projection determines target area;Noise reduction filtering processing is carried out to the initial frame, the non-zero output pixel point of the initial frame is obtained; Non-zero output pixel point in the target area and the initial frame, recognizes the celestial body in the initial frame, obtains institute State coordinate of the celestial body on the celestial sphere.
In addition, to achieve the above object, the present invention also provides a kind of star orbital shooting method, and the star orbital shooting method includes Following steps:
When receiving star orbital shooting instruction, control capture apparatus, which is shot, obtains initial frame, obtains the seat of the capture apparatus Mark;
The celestial body in the initial frame is recognized, the coordinate of the celestial body is obtained;
According to the coordinate of the capture apparatus, the coordinate of the celestial body and default shooting duration of video, it is determined that when terminating to shoot The final position of the celestial body;
The star orbital of the celestial body is drawn on the initial frame according to the final position, star orbital image is generated.
Further, the coordinate, the coordinate of the celestial body and default shooting duration of video according to the capture apparatus, really Include when terminating to shoot calmly the step of the final position of the celestial body:
Calculate according to the coordinate of the capture apparatus and the coordinate of the celestial body, and default shooting duration of video and obtain described The hour angle difference of celestial body;
The final position of celestial body when determining to terminate to shoot according to the hour angle difference.
Further, the coordinate and the coordinate of the celestial body according to the capture apparatus, and during default shooting The step of long calculating obtains the hour angle difference of the celestial body includes:
According to the coordinate of the capture apparatus and the coordinate of the celestial body, and the standard time of initial frame is shot, calculated First hour angle of the celestial body;
According to the coordinate of the capture apparatus and the coordinate of the celestial body, and shoot the standard time of initial frame, preset Shooting duration of video, calculate the second hour angle of the celestial body;
According to first hour angle and second hour angle, the hour angle difference for obtaining the celestial body is calculated.
Further, the coordinate and the coordinate of the celestial body according to the capture apparatus, and shoot initial frame The step of standard time, the first hour angle for calculating the celestial body, includes:
It is determined that the standard time for shooting initial frame was the first standard time, according to the coordinate of the capture apparatus and described the One standard time, calculating obtained for the first local sidereal time;
According to the coordinate of the celestial body and first local sidereal time, the first hour angle for obtaining the celestial body is calculated.
Further, the step of celestial body in the identification initial frame, coordinate for obtaining the celestial body, includes:
The elevation angle and azimuth of the capture apparatus are obtained, is carried out according to the elevation angle and azimuth on default celestial sphere Projection determines target area;
Noise reduction filtering processing is carried out to the initial frame, the non-zero output pixel point of the initial frame is obtained;
Non-zero output pixel point in the target area and the initial frame, recognizes the day in the initial frame Body, obtains coordinate of the celestial body on the celestial sphere.
A kind of terminal and star orbital shooting method that the embodiment of the present invention is proposed, the terminal include:Taking module, identification mould Block, position module and drafting module.Wherein, taking module is when receiving star orbital shooting instruction, and control capture apparatus, which is shot, to be obtained Initial frame, using initial frame as the initial reference images of star orbital shooting, and obtains the coordinate of capture apparatus, determines capture apparatus Position;Then, the celestial body photographed in identification module identification initial frame, obtains the coordinate of each celestial body, to determine celestial body Position, and then obtain the rotational trajectory of celestial body;Because each celestial body is that, in rotation, therefore, position module needs to be set according to shooting Standby coordinate, the coordinate of each celestial body and default imaginary shooting duration of video, it is determined that end of each celestial body on initial frame when terminating to shoot Point position, drafting module generates star orbital image so as to draw the star orbital of each celestial body on initial frame according to each celestial body final position. Shooting duration of video of the present invention with reference to needed for the initial frame of star orbital shooting and user, each celestial body is drawn out in simulation on initial frame Star orbital, generate star orbital image, it is to be captured without expending user's plenty of time etc., and without having to worry about in shooting process due to various Reason causes to shoot interruption or image frame is impaired.It is position and the hypothesis in strict accordance with celestial body to be additionally, since the application The star orbital that shooting duration of video is drawn, it is completely the same to draw obtained star orbital and shoot obtained star orbital for a long time so that user Real star orbital image, the problem of perfection solves star orbital shooting overlong time can be obtained.
Brief description of the drawings
Fig. 1 is the hardware architecture diagram for realizing the optional mobile terminal of each embodiment one of the invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the high-level schematic functional block diagram of terminal first embodiment of the present invention, second embodiment and 3rd embodiment;
Fig. 4 is the schematic flow sheet of star orbital shooting method first embodiment of the present invention;
Fig. 5 is the coordinate, the coordinate of the celestial body and default shooting duration of video in Fig. 4 according to the capture apparatus, it is determined that Refinement schematic flow sheet when terminating to shoot the step of the final position of the celestial body;
Fig. 6 is the schematic flow sheet of star's rail image pickup method second embodiment of the present invention;
Fig. 7 is the coordinate and the coordinate of the celestial body in Fig. 6 according to the capture apparatus, and shoots the standard of initial frame Time, the refinement schematic flow sheet for the step of calculating the first hour angle of the celestial body;
Fig. 8 is the schematic flow sheet of star's rail image pickup method 3rd embodiment of the present invention;
Fig. 9 is a kind of celestial body movement schematic diagram in the embodiment of the present invention.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Describe to realize the mobile terminal of each embodiment of the invention referring now to accompanying drawing.In follow-up description, use For represent element such as " module ", " part " or " unit " suffix only for be conducive to the present invention explanation, itself Not specific meaning.Therefore, " module " can be used mixedly with " part ".
Mobile terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as moving Phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet personal computer), PMP The mobile terminal of (portable media player), guider etc. and such as numeral TV, desktop computer etc. are consolidated Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, except being used in particular for movement Outside the element of purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 illustrates for an optional mobile terminal hardware configuration of realization each embodiment of the invention.
Mobile terminal 1 00 can include wireless communication unit 110, user input unit 120, sensing unit 130, output list Member 140, memory 150, controller 160 and power subsystem 170 etc..Fig. 1 shows the mobile terminal with various assemblies, but It is that should be understood that, it is not required that implement all components shown.More or less components can alternatively be implemented.Will be under The element of mobile terminal is described in detail in face.
Wireless communication unit 110 generally includes one or more assemblies, and it allows mobile terminal 1 00 and wireless communication system Or the radio communication between network.For example, wireless communication unit can include mobile communication module 111, wireless Internet mould Block 112, location information module 113 etc..
Mobile communication module 111 sends radio signals to base station (for example, access point, node B etc.), exterior terminal And in server at least one and/or receive from it radio signal.Such radio signal can be logical including voice Talk about signal, video calling signal or the various types of data for sending and/or receiving according to text and/or Multimedia Message.
Wireless Internet module 112 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.The module can be internally or externally It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by the module can include WLAN (WLAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
Location information module 113 is the module for checking or obtaining the positional information of mobile terminal.Location information module Typical case be GPS (global positioning system).According to current technology, the calculating of location information module 113 is from three or more The range information and correct time information of many satellites and for the Information application triangulation of calculating, so that according to warp Degree, latitude and highly accurately calculate three-dimensional current location information.Currently, used for calculating the method for position and temporal information Three satellites and the position calculated by using other satellite correction and the error of temporal information.In addition, position Information module 113 can be by Continuous plus current location information in real time come calculating speed information.
The order that user input unit 120 can be inputted according to user generates key input data to control each of mobile terminal Plant operation.User input unit 120 allows user to input various types of information, and can include keyboard, metal dome, touch Plate (for example, detection due to being touched caused by resistance, pressure, electric capacity etc. change sensitive component), roller, rocking bar etc. Deng.Especially, when touch pad is superimposed upon on display unit 141 in the form of layer, touch-screen can be formed.
Sensing unit 130 detects the current state of mobile terminal 1 00, (for example, mobile terminal 1 00 opens or closes shape State), the position of mobile terminal 1 00, user is for the presence or absence of contact (that is, touch input) of mobile terminal 1 00, mobile terminal The acceleration or deceleration movement of 100 orientation, mobile terminal 1 00 and direction etc., and generate for controlling mobile terminal 1 00 The order of operation or signal.For example, when mobile terminal 1 00 is embodied as sliding-type mobile phone, sensing unit 130 can be sensed The sliding-type phone is opening or closing.
Output unit 140 can include display unit 141 etc..
Display unit 141 may be displayed on the information handled in mobile terminal 1 00.For example, when mobile terminal 1 00 is in electricity When talking about call mode, display unit 141 can be shown with conversing or other communicating (for example, text messaging, multimedia file Download etc.) related user interface (UI) or graphic user interface (GUI).When mobile terminal 1 00 is in video calling pattern Or during image capture mode, display unit 141 can show the image of capture and/or the image of reception, show video or figure UI or GUI of picture and correlation function etc..
Memory 150 can store software program of the processing performed by controller 160 and control operation etc., Huo Zheke Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And And, memory 150 can store the vibration of various modes on being exported when touching and being applied to touch-screen and audio signal Data.
Memory 150 can include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, many Media card, card-type memory (for example, SD or DX memories etc.), random access storage device (RAM), static random-access storage Device (SRAM), read-only storage (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..Moreover, mobile terminal 1 00 can be with performing memory by network connection The network storage device cooperation of 150 store function.
The overall operation of the generally control mobile terminal of controller 160.For example, controller 160 is performed and voice call, data Communication, video calling etc. related control and processing.Controller 160 can be with execution pattern identifying processing, will be in touch-screen The handwriting input of upper execution or picture draw input and are identified as character or image.
Power subsystem 170 receives external power or internal power under the control of controller 160 and provides operation each member Appropriate electric power needed for part and component.
Various embodiments described herein can be with use such as computer software, hardware or its any combination of calculating Machine computer-readable recording medium is implemented.Implement for hardware, embodiment described herein can be by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can Programming gate array (FPGA), processor, controller, microcontroller, microprocessor, it is designed to perform function described herein At least one of electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 160. For software implementation, the embodiment of such as process or function can be with allowing to perform the single of at least one function or operation Software module is implemented.Software code can by the software application (or program) write with any appropriate programming language Lai Implement, software code can be stored in memory 150 and be performed by controller 160.
So far, oneself according to its function through describing mobile terminal.Below, for the sake of brevity, will description such as folded form, Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc. is as showing Example.Therefore, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
Mobile terminal 1 00 as shown in Figure 1 may be constructed such that using via frame or packet transmission data it is all if any Line and wireless communication system and satellite-based communication system are operated.
The communication system for describing wherein be operated according to the mobile terminal of the present invention referring now to Fig. 2.
Such communication system can use different air interfaces and/or physical layer.For example, used by communication system Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications system System (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, under The description in face is related to cdma communication system, but such teaching is equally applicable to other types of system.
With reference to Fig. 2, cdma wireless communication system can include multiple mobile terminal 1s 00, multiple base stations (BS) 270, base station Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN) 290 form interface.MSC280 is also structured to the BSC275 formation interfaces with that can be couple to base station 270 via back haul link. If any of interface that back haul link can be known according to Ganji is constructed, the interface includes such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that system can include multiple BSC275 as shown in Figure 2.
Each BS270 can service one or more subregions (or region), by multidirectional antenna or the day of sensing specific direction Each subregion of line covering is radially away from BS270.Or, each subregion can be by two or more for diversity reception Antenna is covered.Each BS270 may be constructed such that the multiple frequency distribution of support, and each frequency distribution has specific frequency spectrum (for example, 1.25MHz, 5MHz etc.).
What subregion and frequency were distributed, which intersects, can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver System (BTS) or other equivalent terms.In this case, term " base station " can be used for broadly representing single BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Or, specific BS270 each subregion can be claimed For multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to the mobile terminal operated in system by broadcsting transmitter (BT) 295 100.In fig. 2 it is shown that several global positioning system (GPS) satellites 300.Satellite 300 helps to position multiple mobile terminal 1s 00 In at least one.
In fig. 2, multiple satellites 300 are depicted, it should be understood that can be obtained using any number of satellite Useful location information.Substitute GPS tracking techniques or outside GPS tracking techniques, can use can track mobile terminal Position other technologies.In addition, at least one gps satellite 300 can optionally or additionally handle satellite dmb biography It is defeated.
As a typical operation of wireless communication system, BS270 receives the reverse link from various mobile terminal 1s 00 Signal.Mobile terminal 1 00 generally participates in call, information receiving and transmitting and other types of communication.It is each anti-that certain base station 270 is received Handled to link signal in specific BS270.The data of acquisition are forwarded to the BSC275 of correlation.BSC provides call Resource allocation and the mobile management function of coordination including the soft switching process between BS270.BSC275 is also by the number received According to MSC280 is routed to, it is provided for the extra route service with PSTN290 formation interfaces.Similarly, PSTN290 with MSC280 formation interfaces, MSC and BSC275 formation interface, and BSC275 correspondingly control BS270 with by forward link signals It is sent to mobile terminal 1 00.
Based on above-mentioned mobile terminal hardware configuration and communication system, each embodiment of the invention is proposed.
Reference picture 3, terminal first embodiment of the present invention provides a kind of terminal, and the terminal includes:
Taking module 10, for when receiving star orbital shooting instruction, control capture apparatus, which is shot, to obtain initial frame, obtains institute State the coordinate of capture apparatus.
In the present embodiment, capture apparatus can be with equipment such as the mobile terminals for shooting hardware.Terminal and capture apparatus It can be deployed in same hardware product, terminal can also be communicated to connect by the various ways such as wire/wireless and capture apparatus, Carry out signaling, data transfer.
The hand-held capture apparatus of user or after capture apparatus is fixed, opens the camera of capture apparatus, selection star orbital is clapped Pattern is taken the photograph, so as to input star orbital shooting instruction, star orbital shooting is carried out.Taking module 10 is after star orbital shooting instruction is received, control Capture apparatus is shot, and obtains initial frame.
Certainly, user can also directly input star orbital shooting instruction.Then taking module 10 receive star orbital shooting instruction after, Control starts the camera of capture apparatus, is shot, obtains initial frame.
When shooting initial frame, taking module 10 passes through GPS (the Global Positioning in capture apparatus System, global positioning system) device determines the position of capture apparatus, to obtain the current coordinate of capture apparatus.Need explanation It is that the coordinate of capture apparatus can use longitude and latitude to characterize, then taking module 10 is by determined by the GPS device in capture apparatus Longitude and latitude, is used as the coordinate of capture apparatus.
Identification module 20, for recognizing the celestial body in the initial frame, obtains the coordinate of the celestial body.
After shooting obtains initial frame, the celestial body in the identification initial frame of identification module 20.
Specifically, as a kind of mode, identification module 20 can be according to information such as color, the brightness of pixel to initial frame Celestial body identification is carried out, the size of each celestial body and the arrangement position photographed in initial frame is determined, obtains the stellar map of initial frame.
Then, according to the size and arrangement position of each celestial body in stellar map, be compared on default celestial sphere, search with Stellar map identical astrology region in initial frame.
Then, identification module 20 is compared one by one in astrology region to the celestial body in initial frame, is determined in initial frame Each celestial body, obtains the identification informations such as the title or numbering of each celestial body, hereby it is achieved that in initial frame celestial body identification.
It should be noted that celestial sphere can be default, the celestial sphere that identification module 20 can also be in real-time query server Carry out celestial body identification.Celestial sphere be one centered on observer, imaginary ball model, the celestial body that observer is seen all is Projection of each celestial body in day ball surface.
After each celestial body in identifying initial frame, identification module 20 obtains celestial body in day according to the identification information of celestial body Coordinate on ball, namely celestial body right ascension and declination.
For example:Celestial body is the m65 (extragalactic system) in Leo, then the celestial body can be found according to celestial sphere on celestial sphere Coordinate is:
Right ascension α=11h18m00s;Declination δ=13 ° 13 '.
Right ascension α:Circumference, using the longitude and latitude by first point of Aries γ as 0 point, is divided into by longitude of the celestial body on celestial sphere from west to east 24 hours;Declination δ:Latitude of the celestial body on celestial sphere, it is just to the south negative northwards using celestial equator as 0 °, each point 90 °.
Thus, identification module 20 obtains the coordinate of each celestial body in initial frame respectively.
Position module 30, for the coordinate according to the capture apparatus, the coordinate of the celestial body and default shooting duration of video, It is determined that terminating the final position of celestial body during shooting.
After the coordinate of celestial body in obtaining the coordinate of capture apparatus, initial frame, when position module 30 combines default shooting It is long, at the end of determining star orbital shooting, position of the celestial body in initial frame.
Wherein, shooting duration of video is virtual hypothesis shooting duration of video, the position of celestial body, Yi Jixing during determining to terminate to shoot Length of rail etc..User can set the shooting duration of video of star orbital previously according to demand, such as 30 minutes, 1 hour, 3 hours, make For default shooting duration of video;Certainly, if user is not provided with shooting duration of video, position module 30 can also use default default value to make For default shooting duration of video.It should be noted that user can also carry out setting for shooting duration of video after shooting obtains initial frame Put, the shooting duration of video that position module 30 sets user is used as default shooting duration of video.
Further, as a kind of embodiment, the position module 30 is additionally operable to,
Calculate according to the coordinate of the capture apparatus and the coordinate of the celestial body, and default shooting duration of video and obtain described The hour angle difference of celestial body;The final position of celestial body when determining to terminate to shoot according to the hour angle difference.
After the coordinate of capture apparatus is obtained, position module 30 is calculated when shooting initial frame, each celestial body in initial frame Hour angle, and it regard this hour angle as corresponding first hour angle of each celestial body.Wherein, hour angle (HA, Hour Angle) is celestial body relative to The angular distance of meridian circle, borrowing time unit hour is measured, 1HA=15 degree.
Then, position module 30 calculates the time for obtaining terminating to shoot according to the time and shooting duration of video for shooting initial frame, And the hour angle of celestial body when obtaining terminating to shoot is calculated, it is used as corresponding second hour angle of each celestial body.
After the first hour angle and the second hour angle of celestial body is obtained, position module 30 is according to the first hour angle and the second hour angle, meter Calculate obtain celestial body assuming that star orbital shooting during rotate produced hour angle difference.
Certainly, alternatively embodiment, position module 30 can also inquire about celestial sphere, obtain celestial body and terminate in shooting Afterwards with the hour angle difference of initial hour angle.
Thus, position module 30 can obtain the hour angle difference of each celestial body in initial frame respectively.
Because earth rotation influences, the celestial body captured by the camera of capture apparatus is not stall relative to capture apparatus Dynamic, the position of celestial body is different when the position of celestial body is from shooting initial frame when terminating to shoot.Because each celestial body encloses in celestial sphere Rotate, therefore the rotation of each celestial body is a concentric circles, can be determined just according to the elevation angle of capture apparatus, coordinate around celestial pole The star orbital center of circle in beginning frame.
Thus, position module 30 i.e. can be according to hour angle difference and the star orbital center of circle, it is determined that celestial body is initial when terminating to shoot Final position in frame.
Positions of the celestial body A when shooting initial frame in reference picture 9, initial frame is identified with solid circles.When terminating to shoot, The position of celestial body is changed, and positions of the celestial body A in initial frame is identified with dotted line circle, position solid line when terminating to shoot Circle mark.
Drafting module 40, the star orbital for drawing the celestial body on the initial frame according to the final position, generation Star orbital image.
After the final position of celestial body is obtained, the initial bit of position as celestial body on initial frame using celestial body of drafting module 40 Put, using the star orbital center of circle in initial frame as the center of circle, draw connection celestial body initial position and the circular arc in final position, be used as celestial body Star orbital.
Thus, drafting module 40 draws the star orbital of each celestial body respectively, generates complete star orbital image.
Not only include the reference object in initial frame in the star orbital image that user obtains, include each celestial body of drafting Star orbital.
In this application, taking module 10 is when receiving star orbital shooting instruction, and control capture apparatus, which is shot, obtains initial frame, Using initial frame as the initial reference images of star orbital shooting, and the coordinate of capture apparatus is obtained, determine the position of capture apparatus; Then, the celestial body photographed in the identification of identification module 20 initial frame, the coordinate of each celestial body of acquisition, the position to determine celestial body, And then obtain the rotational trajectory of celestial body;Because each celestial body is that, in rotation, therefore, position module 30 is needed according to capture apparatus Coordinate, the coordinate of each celestial body and default imaginary shooting duration of video, it is determined that terminal position of each celestial body on initial frame when terminating to shoot Put, drafting module 40 generates star orbital image so as to draw the star orbital of each celestial body on initial frame according to each celestial body final position.This The initial frame of embodiment combination star orbital shooting and the shooting duration of video needed for user, each celestial body is drawn out in simulation on initial frame Star orbital, generate star orbital image, it is to be captured without expending user's plenty of time etc., and without having to worry about in shooting process due to various Reason causes to shoot interruption or image frame is impaired.It is position and the hypothesis in strict accordance with celestial body to be additionally, since the application The star orbital that shooting duration of video is drawn, it is completely the same to draw obtained star orbital and shoot obtained star orbital for a long time so that user Real star orbital image, the problem of perfection solves star orbital shooting overlong time can be obtained.
Further, reference picture 3, terminal second embodiment of the present invention provides a kind of terminal, based on the invention described above terminal First embodiment, the position module 30 is additionally operable to,
According to the coordinate of the capture apparatus and the coordinate of the celestial body, and the standard time of initial frame is shot, calculated First hour angle of the celestial body;According to the coordinate of the capture apparatus and the coordinate of the celestial body, and shoot the mark of initial frame Between punctual, default shooting duration of video, calculate the second hour angle of the celestial body;According to first hour angle and second hour angle, Calculate the hour angle difference for obtaining the celestial body.
In the hour angle difference of celestial body in calculating shooting process, day when position module 30 can calculate shooting initial frame respectively The hour angle of body and the hour angle for terminating celestial body during shooting, further calculate the hour angle difference of celestial body.
For ease of calculating, using the hour angle of celestial body when shooting initial frame as the first hour angle of celestial body, day during shooting will be terminated The hour angle of body as celestial body the second hour angle.
When calculating the first hour angle of celestial body, as a kind of embodiment, the position module 30 is additionally operable to,
It is determined that the standard time for shooting initial frame was the first standard time, according to the coordinate of the capture apparatus and described the One standard time, calculating obtained for the first local sidereal time;According to the coordinate of the celestial body and first local sidereal time, calculate Obtain the first hour angle of the celestial body.
When calculating the first hour angle of celestial body, first, position module 30 obtains the coordinate of capture apparatus and shoots initial Standard time during frame, and it regard standard time when shooting initial frame as the first standard time.Shoot standard during initial frame Time can be captured by position module 30 by network.
Wherein, the standard time is the time in the time zone residing for capture apparatus belonging to geographical position.If for example, capture apparatus institute The geographical position at place is then Beijing time when using eastern 8th area in China, during standard during 8th areas of Er Dong=GMT+ Eastern time zone number, for example, if (GMT) is 8 points of morning of October 1 during the standard in London, then mark Pekinese It is at 4 points in afternoon October 1 on time.
After the coordinate of capture apparatus and the first standard time is obtained, position module 30 is according to the coordinate of capture apparatus and One standard time, the local sidereal time for calculating shooting ground was used as the first local sidereal time.
Specifically, equation below can be used to calculate local sidereal time:
S=S+ (M-Nh+ λ)+(M-Nh) × 0.002738.
Wherein, s is local sidereal time, is shooting the hour angle for the first point of Aries γ that ground is determined;
Greenwich local sidereal time when S is same day universal time zero;
M is current standard time, i.e. the time in the time zone belonging to geographical position residing for capture apparatus;
λ is the longitude information (namely hour angle) in geographical position residing for capture apparatus;
Nh be area's phase residing for capture apparatus to the time difference of GMT, unit is hour;
0.002738 is conversion coefficient, 1 ÷ 365.2422.
Therefore, position module 30 is using the longitude of capture apparatus as λ, and the first standard time obtained S and Nh as M, inquiry, Formula can be substituted into and calculate the first local sidereal time s for obtaining shooting ground, namely the local sidereal on ground is shot when shooting initial frame When.
After obtaining for the first sidereal time, seat of the position module 30 according to the first local sidereal time and celestial body on celestial sphere Mark, calculate celestial body the first hour angle, namely shoot initial frame when celestial body hour angle.
Specifically, the first hour angle of equation below progress calculating celestial body can be used:
T=s- α.
Wherein, t is the hour angle of celestial body;
S is local sidereal time;
α is the right ascension of celestial body.
Therefore, position module 30 can be using the first local sidereal time as s, and the right ascension of celestial body substitutes into formula and calculated as α Obtain the first hour angle t of celestial body.
Thus, position module 30 can calculate the first hour angle for obtaining each celestial body in initial frame respectively.
Then, position module 30 calculates the standard time for obtaining terminating to shoot according to the first standard time and shooting duration of video, And it regard the standard time for terminating to shoot as the second standard time.
After obtaining for the second standard time, position module 30 first according to the coordinate of capture apparatus, and the second standard time, The local sidereal time that ground is shot when obtaining terminating to shoot is calculated, and regard the local sidereal time that ground is shot when terminating to shoot as second Local sidereal time.
Then, coordinate and second local sidereal time of the position module 30 according to celestial body, calculating obtains celestial body after terminating to shoot Hour angle, and the hour angle of celestial body after shooting will be terminated be used as the second hour angle.
Thus, position module 30 can calculate the second hour angle for obtaining each celestial body in initial frame respectively.
Then, position module 30 calculates the hour angle difference for obtaining celestial body according to the first hour angle and the second hour angle.
Thus, position module 30 can calculate the hour angle difference for obtaining each celestial body in initial frame respectively.
In the present embodiment, position module 30 is according to the coordinate of celestial body in the coordinate and initial frame of capture apparatus, and claps Take the photograph the standard time of initial frame, calculate celestial body the first hour angle, namely shoot initial frame when celestial body hour angle;Also, position mould Block 30 is according to the coordinate of capture apparatus and the coordinate of celestial body, and shoots the standard time of initial frame, default shooting duration of video, meter The second hour angle of celestial body is calculated, namely terminates the hour angle of celestial body during shooting;Then, position module 30 according to the first hour angle of celestial body and Second hour angle, calculating obtains celestial body due to the hour angle difference produced by rotation.When the present embodiment shoots initial frame by calculating respectively At the end of the accurate calculating of the hour angle of celestial body obtains imagination shooting when the hour angle of celestial body and end are shot, each celestial body production in initial frame Raw hour angle difference, so as to be better able to more accurately determine final position of each celestial body at the end of shooting in initial frame, makes The star orbital that must be drawn more closing to reality shoots generated star orbital for a long time.
Further, reference picture 3, terminal 3rd embodiment of the present invention provides a kind of terminal, based on the invention described above terminal First embodiment or second embodiment, the identification module 20 are additionally operable to,
The elevation angle and azimuth of the capture apparatus are obtained, is carried out according to the elevation angle and azimuth on default celestial sphere Projection determines target area;Noise reduction filtering processing is carried out to the initial frame, the non-zero output pixel point of the initial frame is obtained; Non-zero output pixel point in the target area and the initial frame, recognizes the celestial body in the initial frame, obtains institute State coordinate of the celestial body on the celestial sphere.
When shooting initial frame, identification module 20 obtains the elevation angle and azimuth of capture apparatus current pose.Specifically, knowing Other module 20 can be shot by compass, gyroscope, gravity sensor for being installed in capture apparatus etc., and when shooting star orbital The parameters such as the wide-angle of equipment, to obtain the elevation angle and azimuth that it is presently in posture.
Then, identification module 20 is projected according to the elevation angle and azimuth of capture apparatus on default celestial sphere, it is determined that The corresponding shooting area of capture apparatus is target area, the region in this target area namely initial frame where celestial body.
After initial frame is obtained, identification module 20 carries out celestial body in noise reduction filtering processing, enhancing initial frame to initial frame It has been shown that, exclusive PCR factor obtains the non-zero output pixel point of initial frame.
Certainly, identification module 20 can also remove the objects interfered in initial frame further by image recognition, such as non- Starry sky region, so as to make the pixel that obtained non-zero output pixel point is only initial frame culminant star dummy section, improves celestial body identification Accuracy rate and recognition speed.
After the non-zero output pixel point in obtaining target area and initial frame, identification module 20 is according to non-zero in initial frame The composition of output pixel point, is matched in the stellar map of target area, is searched and non-zero output pixel point in initial frame Composition identical astrology region;Then, another one compare, determine each celestial body photographed in initial frame corresponding day on celestial sphere Body, so as to obtain the identification informations such as the title or numbering of each celestial body.
Then, identification module 20 inquires about the coordinate that celestial sphere obtains each celestial body according to the identification information of each celestial body in initial frame, Including right ascension and declination.
Further, if in the target area to identify the celestial body in initial frame, identification module 20 can be according to default Multiple, expand target area scope, again carry out celestial body identification.
Further, in the celestial body during initial frame is recognized according to target area, identification module 20 is according to celestial body initial The coordinate in position and celestial sphere in frame, judges whether capture apparatus has rotation in shooting, if for example, capture apparatus is movement Terminal, the camera of usual mobile terminal then may determine that user is clapped using mobile terminal in the upper area of mobile terminal When taking the photograph star orbital, if having rotated the fuselage of mobile terminal, such as so that camera has been rotated down 90 degree, 160 degree towards celestial body Deng.
If capture apparatus has rotation, identification module 20 obtains the angle and direction of capture apparatus rotation.Drafting module 40 When drawing the star orbital of celestial body, the direction rotated according to capture apparatus and angle, correspondence adjust the star orbital center of circle position in initial frame Put, ensure the correctness of star orbital circular arc.
In the present embodiment, identification module 20 obtains the elevation angle and azimuth of capture apparatus, determines the posture of capture apparatus; Then, identification module 20 is projected according to the elevation angle and azimuth of capture apparatus on default celestial sphere, is determined in initial frame The region photographed corresponding region on celestial sphere is target area, required matching during reducing celestial body in identification initial frame Scope;Meanwhile, identification module 20 needs to carry out noise reduction filtering processing to initial frame, obtains the non-zero output pixel point of initial frame, Obtain the celestial body astrology of initial frame shooting;Then, non-zero output pixel of the identification module 20 in target area and initial frame The celestial body photographed in point, identification initial frame, obtains coordinate of the celestial body on the celestial sphere.In the present embodiment, first according to bat The attitude informations such as the elevation angle and azimuth when taking the photograph the shooting star orbital of equipment reduce seeking scope, in conjunction with the non-zero output of initial frame Pixel is precisely matched, and identifies the celestial body in initial frame, improves the accuracy of celestial body identification.
Reference picture 4, star orbital shooting method first embodiment of the present invention provides a kind of star orbital shooting method, the star orbital shooting Method includes:
Step S10, when receiving star orbital shooting instruction, control capture apparatus, which is shot, obtains initial frame, obtains described shoot The coordinate of equipment.
In the present embodiment, capture apparatus can be with equipment such as the mobile terminals for shooting hardware.Star orbital shooting terminal with Capture apparatus can be deployed in same hardware product, star orbital shooting terminal can also by the various ways such as wire/wireless with Capture apparatus is communicated to connect, and carries out signaling, data transfer.
The hand-held capture apparatus of user or after capture apparatus is fixed, opens the camera of capture apparatus, selection star orbital is clapped Pattern is taken the photograph, so as to input star orbital shooting instruction, star orbital shooting is carried out.Star orbital shooting terminal is after star orbital shooting instruction is received, control Capture apparatus processed is shot, and obtains initial frame.
Certainly, user can also directly input star orbital shooting instruction.Then star orbital shooting terminal is receiving star orbital shooting instruction Afterwards, control starts the camera of capture apparatus, is shot, obtains initial frame.
When shooting initial frame, star orbital shooting terminal passes through GPS (the Global Positioning in capture apparatus System, global positioning system) device determines the position of capture apparatus, to obtain the current coordinate of capture apparatus.Need explanation It is that the coordinate of capture apparatus can use longitude and latitude to characterize, then star orbital shooting terminal is determined the GPS device in capture apparatus Longitude and latitude, be used as the coordinate of capture apparatus.
Celestial body in step S20, the identification initial frame, obtains the coordinate of the celestial body.
After shooting obtains initial frame, the celestial body in star orbital shooting terminal recognition initial frame.
Specifically, as a kind of mode, star orbital shooting terminal can be according to information such as color, the brightness of pixel to initial Frame carries out celestial body identification, determines the size of each celestial body and the arrangement position photographed in initial frame, obtains the stellar map of initial frame.
Then, according to the size and arrangement position of each celestial body in stellar map, be compared on default celestial sphere, search with Stellar map identical astrology region in initial frame.
Then, the celestial body in initial frame is compared one by one in astrology region, determines each celestial body in initial frame, obtained The identification informations such as the title or numbering of each celestial body, hereby it is achieved that in initial frame celestial body identification.
It should be noted that celestial sphere can be default, the day that star orbital shooting terminal can also be in real-time query server Ball carries out celestial body identification.Celestial sphere be one centered on observer, imaginary ball model, the celestial body that observer is seen is all It is projection of each celestial body in day ball surface.
After each celestial body in identifying initial frame, star orbital shooting terminal obtains celestial body and existed according to the identification information of celestial body Coordinate on celestial sphere, namely celestial body right ascension and declination.
For example:Celestial body is the m65 (extragalactic system) in Leo, then the celestial body can be found according to celestial sphere on celestial sphere Coordinate is:
Right ascension α=11h18m00s;Declination δ=13 ° 13 '.
Right ascension α:Circumference, using the longitude and latitude by first point of Aries γ as 0 point, is divided into by longitude of the celestial body on celestial sphere from west to east 24 hours;Declination δ:Latitude of the celestial body on celestial sphere, it is just to the south negative northwards using celestial equator as 0 °, each point 90 °.
Thus, star orbital shooting equipment obtains the coordinate of each celestial body in initial frame respectively.
Step S30, the coordinate according to the capture apparatus, the coordinate of the celestial body and default shooting duration of video, it is determined that knot The final position of celestial body when beam is shot.
After the coordinate of celestial body in obtaining the coordinate of capture apparatus, initial frame, star orbital shooting terminal combines default shoot Duration, at the end of determining star orbital shooting, position of the celestial body in initial frame.
Wherein, shooting duration of video is virtual hypothesis shooting duration of video, the position of celestial body, Yi Jixing during determining to terminate to shoot Length of rail etc..User can set the shooting duration of video of star orbital previously according to demand, such as 30 minutes, 1 hour, 3 hours, make For default shooting duration of video;Certainly, if user is not provided with shooting duration of video, star orbital shooting terminal can also use default default value It is used as default shooting duration of video.It should be noted that user can also carry out setting for shooting duration of video after shooting obtains initial frame Put, the shooting duration of video that star orbital shooting terminal sets user is used as default shooting duration of video.
Specifically, as a kind of embodiment, reference picture 5, the step S30 includes:
Step S31, the coordinate according to the capture apparatus and the celestial body coordinate, and default shooting duration of video are calculated Obtain the hour angle difference of the celestial body.
After the coordinate of capture apparatus is obtained, when star orbital shooting terminal calculates shooting initial frame, each celestial body in initial frame Hour angle, and regard this hour angle as corresponding first hour angle of each celestial body.Wherein, hour angle (HA, Hour Angle), is that celestial body is relative In the angular distance of meridian circle, borrowing time unit hour is measured, 1HA=15 degree.
Then, star orbital shooting terminal according to shoot initial frame time and shooting duration of video, calculate obtain terminate shoot when Between, and the hour angle of celestial body when obtaining terminating to shoot is calculated, it is used as corresponding second hour angle of each celestial body.
After the first hour angle and the second hour angle of celestial body is obtained, star orbital shooting terminal according to the first hour angle and the second hour angle, Calculate obtain celestial body assuming that star orbital shooting during rotate produced hour angle difference.
Certainly, alternatively embodiment, star orbital shooting terminal can also inquire about celestial sphere, obtain celestial body and tie shooting The hour angle difference of the initial hour angles of Shu Houyu.
Thus, star orbital shooting terminal can obtain the hour angle difference of each celestial body in initial frame respectively.
Step S32, the final position according to celestial body during hour angle difference determination end shooting.
Because earth rotation influences, the celestial body captured by the camera of capture apparatus is not stall relative to capture apparatus Dynamic, the position of celestial body is different when the position of celestial body is from shooting initial frame when terminating to shoot.Because each celestial body encloses in celestial sphere Rotate, therefore the rotation of each celestial body is a concentric circles, can be determined just according to the elevation angle of capture apparatus, coordinate around celestial pole The star orbital center of circle in beginning frame.
Thus, star orbital shooting terminal be can according to hour angle difference and the star orbital center of circle, it is determined that terminate shoot when celestial body first Final position in beginning frame.
Positions of the celestial body A when shooting initial frame in reference picture 9, initial frame is identified with solid circles.When terminating to shoot, The position of celestial body is changed, and positions of the celestial body A when shooting initial frame is identified with dotted line circle, and position when terminating to shoot is used Solid circles are identified.
Step S40, the star orbital that the celestial body is drawn according to the final position on the initial frame, generate star orbital figure Picture.
After the final position of celestial body is obtained, using celestial body, the position on initial frame is used as the initial of celestial body to star orbital shooting terminal Position, using the star orbital center of circle in initial frame as the center of circle, draws connection celestial body initial position and the circular arc in final position, is used as celestial body Star orbital.
Thus, star orbital shooting terminal draws the star orbital of each celestial body respectively, generates complete star orbital image.
Not only include the reference object in initial frame in the star orbital image that user obtains, include each celestial body of drafting Star orbital.
In this application, when receiving star orbital shooting instruction, control capture apparatus, which is shot, obtains initial frame, and initial frame is made For the initial reference images of star orbital shooting, and the coordinate of capture apparatus is obtained, determine the position of capture apparatus;Then, recognize The celestial body photographed in initial frame, obtains the coordinate of each celestial body, to determine the position of celestial body, and then obtains the rotation rail of celestial body Mark;Because each celestial body is in rotation, accordingly, it would be desirable to according to the coordinate of capture apparatus, the coordinate of each celestial body and default imagination Shooting duration of video, it is determined that final position of each celestial body on initial frame when terminating to shoot, so that according to each celestial body final position first The star orbital of each celestial body is drawn on beginning frame, star orbital image is generated.Needed for the initial frame of the present embodiment combination star orbital shooting and user Shooting duration of video, the star orbital of each celestial body is drawn out in simulation on initial frame, star orbital image is generated, without expending user's plenty of time Etc. to be captured, and without having to worry about being interrupted or image frame is impaired in shooting process because a variety of causes causes to shoot.Moreover, Because the application is the star orbital drawn in strict accordance with the position and the shooting duration of video assumed of celestial body, draw obtained star orbital with it is long when Between to shoot obtained star orbital be completely the same so that user can obtain real star orbital image, and perfection solves star orbital bat The problem of taking the photograph overlong time.
Further, reference picture 6, star orbital shooting method second embodiment of the present invention provides a kind of star orbital shooting method, base In the invention described above star orbital shooting method first embodiment, the step S31 includes:
Step S311, the coordinate according to the capture apparatus and the celestial body coordinate, and shoot the standard of initial frame Time, calculate the first hour angle of the celestial body.
Calculate shooting process in celestial body hour angle difference when, can calculate respectively shoot initial frame when celestial body hour angle and The hour angle of celestial body when terminating to shoot, further calculates the hour angle difference of celestial body.
For ease of calculating, using the hour angle of celestial body when shooting initial frame as the first hour angle of celestial body, day during shooting will be terminated The hour angle of body as celestial body the second hour angle.
When calculating the first hour angle of celestial body, as a kind of embodiment, reference picture 7, the step S311 includes:
Step S3111, the coordinate according to the capture apparatus and the celestial body coordinate, and shoot the standard of initial frame Time, default shooting duration of video, calculate the second hour angle of the celestial body.
When calculating the first hour angle of celestial body, first, star orbital shooting terminal obtains the coordinate of capture apparatus and shot just Standard time during beginning frame, and it regard standard time when shooting initial frame as the first standard time.Shoot mark during initial frame It can be captured between punctual by star orbital shooting terminal by network.
Wherein, the standard time is the time in the time zone residing for capture apparatus belonging to geographical position.If for example, capture apparatus institute The geographical position at place is then Beijing time when using eastern 8th area in China, during standard during 8th areas of Er Dong=GMT+ Eastern time zone number, for example, if (GMT) is 8 points of morning of October 1 during the standard in London, then mark Pekinese It is at 4 points in afternoon October 1 on time.
After the coordinate of capture apparatus and the first standard time is obtained, star orbital shooting terminal according to the coordinate of capture apparatus and First standard time, the local sidereal time for calculating shooting ground was used as the first local sidereal time.
Specifically, equation below can be used to calculate local sidereal time:
S=S+ (M-Nh+ λ)+(M-Nh) × 0.002738.
Wherein, s is local sidereal time, is shooting the hour angle for the first point of Aries γ that ground is determined;
Greenwich local sidereal time when S is same day universal time zero;
M is current standard time, i.e. the time in the time zone belonging to geographical position residing for capture apparatus;
λ is the longitude information (namely hour angle) in geographical position residing for capture apparatus;
Nh be area's phase residing for capture apparatus to the time difference of GMT, unit is hour;
0.002738 is conversion coefficient, 1 ÷ 365.2422.
Therefore, using the longitude of capture apparatus as λ, the first standard time obtained S and Nh as M, inquiry, you can substitute into public Formula calculates the first local sidereal time s for obtaining shooting ground, namely the local sidereal time on ground is shot when shooting initial frame.
Step S3111, the coordinate according to the celestial body and first local sidereal time, calculate and obtain the of the celestial body One hour angle.
After obtaining for the first sidereal time, according to the coordinate of the first local sidereal time and celestial body on celestial sphere, celestial body is calculated The first hour angle, namely shoot initial frame when celestial body hour angle.
Specifically, the first hour angle of equation below progress calculating celestial body can be used:
T=s- α.
Wherein, t is the hour angle of celestial body;
S is local sidereal time;
α is the right ascension of celestial body.
It therefore, it can the first local sidereal time as s, the right ascension of celestial body substitutes into formula calculating and obtain celestial body as α First hour angle t.
Thus, it is possible to calculate the first hour angle for obtaining each celestial body in initial frame respectively.
Step S312, the coordinate according to the capture apparatus and the celestial body coordinate, and when terminating the standard shot Between, calculate the second hour angle of the celestial body.
After shooting duration of video is obtained, star orbital shooting terminal is terminated according to the first standard time and shooting duration of video, calculating The standard time of shooting, and it regard the standard time for terminating to shoot as the second standard time.
After obtaining for the second standard time, star orbital shooting terminal is first according to the coordinate of capture apparatus, and during the second standard Between, calculate obtain terminate shoot when shoot ground local sidereal time, and using terminate shoot when shoot ground local sidereal time as Second local sidereal time.
Then, coordinate and second local sidereal time of the star orbital shooting terminal according to celestial body, calculating obtains terminating to shoot the day after tomorrow The hour angle of body, and it regard the hour angle for terminating celestial body after shooting as the second hour angle.
Thus, it is possible to calculate the second hour angle for obtaining each celestial body in initial frame respectively.
Step S313, according to first hour angle and second hour angle, calculate the hour angle difference for obtaining the celestial body.
Thus, star orbital shooting terminal can calculate the hour angle difference for obtaining each celestial body in initial frame respectively.
In the present embodiment, according to the coordinate of celestial body in the coordinate and initial frame of capture apparatus, and initial frame is shot Standard time, calculate celestial body the first hour angle, namely shoot initial frame when celestial body hour angle;Also, according to the seat of capture apparatus The coordinate of mark and celestial body, and the standard time of initial frame, default shooting duration of video are shot, the second hour angle of celestial body is calculated, The hour angle of celestial body when terminating to shoot;Then, according to the first hour angle and the second hour angle of celestial body, calculating obtains celestial body due to rotation Produced hour angle difference.The present embodiment by calculate respectively shoot initial frame when celestial body hour angle and terminate shoot when celestial body when At the end of the accurate calculating in angle obtains imagination shooting, the hour angle difference that each celestial body is produced in initial frame, so as to be better able to more smart Determine final position of each celestial body in initial frame at the end of shooting so that the star orbital of drafting more closing to reality is for a long time Shoot generated star orbital.
Further, reference picture 8, star orbital shooting method 3rd embodiment of the present invention provides a kind of star orbital shooting method, base In the invention described above star orbital shooting method first embodiment or second embodiment, (the present embodiment is implemented in star orbital shooting method first Exemplified by), the step S10 includes:
Step S11, the elevation angle and azimuth for obtaining the capture apparatus, according to the elevation angle and azimuth in default day Projection is carried out on ball and determines target area.
When shooting initial frame, star orbital shooting terminal obtains the elevation angle and azimuth of capture apparatus current pose.Specifically, Star orbital shooting terminal can be by compass, gyroscope, gravity sensor for being installed in capture apparatus etc., and when shooting star orbital The parameters such as the wide-angle of capture apparatus, to obtain the elevation angle and azimuth that it is presently in posture.
Then, star orbital shooting terminal is projected, really according to the elevation angle and azimuth of capture apparatus on default celestial sphere The corresponding shooting area of capture apparatus is determined for target area, the region in this target area namely initial frame where celestial body.
Step S12, noise reduction filtering processing is carried out to the initial frame, obtain the non-zero output pixel point of the initial frame.
After initial frame is obtained, the display of celestial body in noise reduction filtering processing, enhancing initial frame is carried out to initial frame, is excluded dry Factor is disturbed, the non-zero output pixel point of initial frame is obtained.
It is, of course, also possible to further by image recognition, remove the objects interfered in initial frame, such as non-starry sky region, So as to make the pixel that obtained non-zero output pixel point is only initial frame culminant star dummy section, improve celestial body identification accuracy rate and Recognition speed.
Step S13, the non-zero output pixel point in the target area and the initial frame, recognize the initial frame In celestial body, obtain the coordinate of the celestial body on the celestial sphere.
After the non-zero output pixel point in obtaining target area and initial frame, star orbital shooting terminal is according to non-in initial frame The composition of zero output pixel, is matched in the stellar map of target area, is searched and non-zero output pixel point in initial frame Composition identical astrology region;Then, another one compare, determine that each celestial body photographed in initial frame is corresponding on celestial sphere Celestial body, so as to obtain the identification informations such as the title or numbering of each celestial body.
Then, star orbital shooting terminal inquires about the seat that celestial sphere obtains each celestial body according to the identification information of each celestial body in initial frame Mark, including right ascension and declination.
Further, if in the target area to identify the celestial body in initial frame, can be expanded according to default multiple The scope of target area, carries out celestial body identification again.
Further, in the celestial body during initial frame is recognized according to target area, according to position of the celestial body in initial frame With the coordinate in celestial sphere, judge whether capture apparatus has rotation in shooting, if for example, capture apparatus is that mobile star orbital shooting is whole End, the camera of generally mobile star orbital shooting terminal then may determine that user exists in the upper area of mobile star orbital shooting terminal During using mobile star orbital shooting terminal taking star orbital, if having rotated the fuselage of mobile star orbital shooting terminal, such as so that shooting Head have been rotated down 90 degree, 160 degree etc. to celestial body.
If capture apparatus has rotation, the angle and direction of capture apparatus rotation is obtained.When drawing the star orbital of celestial body, root Star orbital home position in the direction rotated according to capture apparatus and angle, correspondence adjustment initial frame, ensures the correct of star orbital circular arc Property.
In the present embodiment, the elevation angle and azimuth of capture apparatus are obtained, the posture of capture apparatus is determined;Then, according to The elevation angle and azimuth of capture apparatus are projected on default celestial sphere, determine the region photographed in initial frame on celestial sphere Corresponding region is target area, the scope of required matching during reducing celestial body in identification initial frame;Simultaneously, it is necessary to initial Frame carries out noise reduction filtering processing, obtains the non-zero output pixel point of initial frame, obtains the celestial body astrology of initial frame shooting;Then, The celestial body photographed in non-zero output pixel point in target area and initial frame, identification initial frame, obtains celestial body in institute State the coordinate on celestial sphere.In the present embodiment, believed first according to postures such as the elevations angle and azimuth during the shooting star orbital of capture apparatus Breath reduces seeking scope, is precisely matched in conjunction with the non-zero output pixel point of initial frame, identifies the celestial body in initial frame, Improve the accuracy of celestial body identification.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of terminal, it is characterised in that the terminal includes:
Taking module, for when receiving star orbital shooting instruction, control capture apparatus, which is shot, to obtain initial frame, obtains described shoot The coordinate of equipment;
Identification module, for recognizing the celestial body in the initial frame, obtains the coordinate of the celestial body;
Position module, for the coordinate according to the capture apparatus, the coordinate of the celestial body and default shooting duration of video, it is determined that knot The final position of celestial body when beam is shot;
Drafting module, the star orbital for drawing the celestial body on the initial frame according to the final position generates star orbital figure Picture.
2. terminal as claimed in claim 1, it is characterised in that the position module is additionally operable to,
Calculate according to the coordinate of the capture apparatus and the coordinate of the celestial body, and default shooting duration of video and obtain the celestial body Hour angle difference;The final position of celestial body when determining to terminate to shoot according to the hour angle difference.
3. terminal as claimed in claim 2, it is characterised in that the position module is additionally operable to,
According to the coordinate of the capture apparatus and the coordinate of the celestial body, and the standard time of initial frame is shot, calculate described First hour angle of celestial body;According to the coordinate of the capture apparatus and the coordinate of the celestial body, and when shooting the standard of initial frame Between, default shooting duration of video, calculate the second hour angle of the celestial body;According to first hour angle and second hour angle, calculate Obtain the hour angle difference of the celestial body.
4. terminal as claimed in claim 3, it is characterised in that the position module is additionally operable to,
It is determined that the standard time for shooting initial frame was the first standard time, according to the coordinate of the capture apparatus and first mark Between punctual, calculating obtained for the first local sidereal time;According to the coordinate of the celestial body and first local sidereal time, calculating is obtained First hour angle of the celestial body.
5. the terminal as described in claim any one of 1-4, it is characterised in that the identification module is additionally operable to,
The elevation angle and azimuth of the capture apparatus are obtained, is projected according to the elevation angle and azimuth on default celestial sphere Determine target area;Noise reduction filtering processing is carried out to the initial frame, the non-zero output pixel point of the initial frame is obtained;According to Non-zero output pixel point in the target area and the initial frame, recognizes the celestial body in the initial frame, obtains the day Coordinate of the body on the celestial sphere.
6. a kind of star orbital shooting method, it is characterised in that the star orbital shooting method comprises the following steps:
When receiving star orbital shooting instruction, control capture apparatus, which is shot, obtains initial frame, obtains the coordinate of the capture apparatus;
The celestial body in the initial frame is recognized, the coordinate of the celestial body is obtained;
According to the coordinate of the capture apparatus, the coordinate of the celestial body and default shooting duration of video, it is determined that described in when terminating to shoot The final position of celestial body;
The star orbital of the celestial body is drawn on the initial frame according to the final position, star orbital image is generated.
7. star orbital shooting method as claimed in claim 6, it is characterised in that the coordinate according to the capture apparatus, institute The coordinate and default shooting duration of video of celestial body are stated, it is determined that including when terminating to shoot the step of the final position of the celestial body:
Calculate according to the coordinate of the capture apparatus and the coordinate of the celestial body, and default shooting duration of video and obtain the celestial body Hour angle difference;
The final position of celestial body when determining to terminate to shoot according to the hour angle difference.
8. star orbital shooting method as claimed in claim 7, it is characterised in that the coordinate and institute according to the capture apparatus The coordinate of celestial body is stated, and default shooting duration of video calculates the step of obtaining the hour angle difference of the celestial body and included:
According to the coordinate of the capture apparatus and the coordinate of the celestial body, and the standard time of initial frame is shot, calculate described First hour angle of celestial body;
According to the coordinate of the capture apparatus and the coordinate of the celestial body, and shoot the standard time of initial frame, default bat Duration is taken the photograph, the second hour angle of the celestial body is calculated;
According to first hour angle and second hour angle, the hour angle difference for obtaining the celestial body is calculated.
9. star orbital shooting method as claimed in claim 8, it is characterised in that the coordinate and institute according to the capture apparatus The step of stating the coordinate of celestial body, and shoot the standard time of initial frame, the first hour angle for calculating the celestial body includes:
It is determined that the standard time for shooting initial frame was the first standard time, according to the coordinate of the capture apparatus and first mark Between punctual, calculating obtained for the first local sidereal time;
According to the coordinate of the celestial body and first local sidereal time, the first hour angle for obtaining the celestial body is calculated.
10. the star orbital shooting method as described in claim any one of 6-9, it is characterised in that in the identification initial frame Celestial body, include the step of the coordinate for obtaining the celestial body:
The elevation angle and azimuth of the capture apparatus are obtained, is projected according to the elevation angle and azimuth on default celestial sphere Determine target area;
Noise reduction filtering processing is carried out to the initial frame, the non-zero output pixel point of the initial frame is obtained;
Non-zero output pixel point in the target area and the initial frame, recognizes the celestial body in the initial frame, obtains Take coordinate of the celestial body on the celestial sphere.
CN201710211550.1A 2017-03-31 2017-03-31 Terminal and star orbital shooting method Pending CN107071278A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710211550.1A CN107071278A (en) 2017-03-31 2017-03-31 Terminal and star orbital shooting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710211550.1A CN107071278A (en) 2017-03-31 2017-03-31 Terminal and star orbital shooting method

Publications (1)

Publication Number Publication Date
CN107071278A true CN107071278A (en) 2017-08-18

Family

ID=59602873

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710211550.1A Pending CN107071278A (en) 2017-03-31 2017-03-31 Terminal and star orbital shooting method

Country Status (1)

Country Link
CN (1) CN107071278A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112351207A (en) * 2020-10-30 2021-02-09 维沃移动通信有限公司 Shooting control method and electronic equipment
CN113055606A (en) * 2021-04-22 2021-06-29 维沃移动通信(深圳)有限公司 Shooting method and device and electronic equipment
CN113301253A (en) * 2021-05-20 2021-08-24 努比亚技术有限公司 Auxiliary shooting method of astronomical image, mobile terminal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104092948A (en) * 2014-07-29 2014-10-08 小米科技有限责任公司 Method and device for processing image
CN105141825A (en) * 2015-06-23 2015-12-09 努比亚技术有限公司 Heavenly body shooting method and device
CN106357979A (en) * 2016-09-19 2017-01-25 宇龙计算机通信科技(深圳)有限公司 Photographing method, device and terminal
CN106506858A (en) * 2016-12-01 2017-03-15 努比亚技术有限公司 Star orbital Forecasting Methodology and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104092948A (en) * 2014-07-29 2014-10-08 小米科技有限责任公司 Method and device for processing image
CN105141825A (en) * 2015-06-23 2015-12-09 努比亚技术有限公司 Heavenly body shooting method and device
CN106357979A (en) * 2016-09-19 2017-01-25 宇龙计算机通信科技(深圳)有限公司 Photographing method, device and terminal
CN106506858A (en) * 2016-12-01 2017-03-15 努比亚技术有限公司 Star orbital Forecasting Methodology and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112351207A (en) * 2020-10-30 2021-02-09 维沃移动通信有限公司 Shooting control method and electronic equipment
CN113055606A (en) * 2021-04-22 2021-06-29 维沃移动通信(深圳)有限公司 Shooting method and device and electronic equipment
CN113301253A (en) * 2021-05-20 2021-08-24 努比亚技术有限公司 Auxiliary shooting method of astronomical image, mobile terminal and storage medium
CN113301253B (en) * 2021-05-20 2024-02-09 努比亚技术有限公司 Auxiliary shooting method for astronomical image, mobile terminal and storage medium

Similar Documents

Publication Publication Date Title
CN106454121B (en) Double-camera shooting method and device
CN106060227B (en) Mobile terminal
CN103105993B (en) Method and system for realizing interaction based on augmented reality technology
CN105141833B (en) Terminal image pickup method and device
WO2017071476A1 (en) Image synthesis method and device, and storage medium
CN106878949B (en) Positioning terminal, system and method based on double cameras
CN106506858B (en) Star orbital prediction technique and device
CN105979148A (en) Panoramic photographing device, system and method
CN106911881B (en) Dynamic photo shooting device and method based on double cameras and terminal
CN107071278A (en) Terminal and star orbital shooting method
CN106447741A (en) Picture automatic synthesis method and system
CN105897564A (en) Photo sharing apparatus and method
CN105933529A (en) Shooting picture display method and device
KR20100022698A (en) Mobile terminal and geotagging method thereof
CN106973226B (en) Shooting method and terminal
US9888433B2 (en) Mobile terminal and method for controlling the same
CN106980460B (en) Mobile terminal and image processing method
CN106095072B (en) A kind of control method, smart machine and server
CN106100968A (en) A kind of information sharing method and terminal
CN104754129B (en) The determination method and device of photographed scene
CN106791119A (en) A kind of photo processing method, device and terminal
CN105847586A (en) Multimedia playing control method and mobile terminal
CN106791449B (en) Photo shooting method and device
CN106060384B (en) Camera control method and device
KR101749393B1 (en) Watch-type mobile terminal and dispaying method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170818