[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN105141825B - A kind of celestial body image pickup method and device - Google Patents

A kind of celestial body image pickup method and device Download PDF

Info

Publication number
CN105141825B
CN105141825B CN201510349569.3A CN201510349569A CN105141825B CN 105141825 B CN105141825 B CN 105141825B CN 201510349569 A CN201510349569 A CN 201510349569A CN 105141825 B CN105141825 B CN 105141825B
Authority
CN
China
Prior art keywords
terminal
standard
celestial
celestial body
observed
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.)
Active
Application number
CN201510349569.3A
Other languages
Chinese (zh)
Other versions
CN105141825A (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.)
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 CN201510349569.3A priority Critical patent/CN105141825B/en
Publication of CN105141825A publication Critical patent/CN105141825A/en
Application granted granted Critical
Publication of CN105141825B publication Critical patent/CN105141825B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Studio Devices (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a kind of celestial body image pickup method, this method includes:When terminal at least two standard within a predetermined period of time, obtain and the hour angle of when standard corresponding celestial image and terminal celestial body to be observed corresponding with when standard;Terminal is according to when standard and the hour angle of terminal celestial body to be observed corresponding with when standard, hour angle difference when calculating each standard relative to primary standard;Hour angle difference when terminal is according to when each standard relative to primary standard, by it is each with standard when corresponding celestial image be overlapped, obtain final celestial image.Meanwhile the embodiment of the invention also discloses a kind of celestial body filming apparatus.

Description

A kind of celestial body image pickup method and device
Technical field
The present invention relates to field of mobile terminals more particularly to a kind of celestial body image pickup methods and device.
Background technology
Currently, in celestial body specific using terminal taking, in order to overcome earth rotation to need to introduce red to the influence of sight star Road instrument carries out auxiliary shooting, and terminal camera is made to be directed at the celestial body for needing to shoot always, final to obtain the consistent day of an argument degree Body image.However, equatorial telescope is expensive, the cost of terminal can be caused excessively high if terminal assembles equatorial telescope;If terminal does not fill With equatorial telescope then since the celestial image that earth rotation causes terminal to obtain is straight or curved optical track.
Invention content
In order to solve the above technical problems, an embodiment of the present invention is intended to provide a kind of celestial body image pickup method and device, do not make In the case of with equatorial telescope, terminal taking is made to go out clearly celestial image.
The technical proposal of the invention is realized in this way:
In a first aspect, an embodiment of the present invention provides a kind of celestial body image pickup method, it is applied to terminal, including:The terminal When at least two standard within a predetermined period of time, when obtaining with the standard corresponding celestial image and with when the standard pairs The hour angle for the terminal celestial body to be observed answered;The corresponding end when terminal is according to when the standard and with the standard The hour angle for holding celestial body to be observed, hour angle difference when calculating each standard relative to primary standard;The terminal is according to described every Hour angle difference when a standard relative to primary standard, by it is each with the standard when corresponding celestial image be overlapped, obtain Obtain final celestial image.
In the above-described embodiments, the terminal obtain the terminal celestial body to be observed corresponding with when the standard when Angle specifically includes:The terminal obtains the latitude and longitude information in itself residing geographical location and itself is current in Current standards The elevation angle and azimuth of posture;When the terminal is according to the Current standards, the latitude and longitude information, the elevation angle and azimuth Obtain local sidereal time and the corresponding right ascension of celestial body to be observed;The terminal is according to local sidereal time and described to be observed The corresponding right ascension of celestial body obtain the hour angle of the terminal celestial body to be observed corresponding with when the Current standards.
In the above-described embodiments, the terminal obtains the elevation angle and azimuth of itself current pose in Current standards, tool Body includes:The terminal passes through following at least one device in Current standards:Compass, gyroscope and gravity sensor come The elevation angle and azimuth of posture itself are presently in described in obtaining.
In the above-described embodiments, when the terminal is according to the Current standards, the latitude and longitude information, the elevation angle and side Parallactic angle obtains local sidereal time, specifically includes:When the terminal is according to the Current standards, the latitude and longitude information passes through public affairs Formula s=S0+ (M-Nh+ λ)+(M-Nh) μ, are calculated the local sidereal time;Wherein, s is the local sidereal time;S0, it is Greenwich local sidereal time when same day universal time zero;M, when being the Current standards;λ is geographical position residing for the terminal The longitude information set;Nh is the time difference of the time zone belonging to geographical location residing for the terminal with respect to greenwich time;μ, to change Calculate coefficient.
In the above-described embodiments, the terminal is according to the local sidereal time and the corresponding right ascension of the celestial body to be observed The hour angle for obtaining the terminal celestial body to be observed corresponding with when the Current standards, specifically includes:The terminal is according to The local sidereal time s and corresponding right ascension α of the celestial body to be observed, passes through formula:T=s- α are calculated and the current mark The hour angle t of the punctual corresponding terminal celestial body to be observed.
Second aspect, an embodiment of the present invention provides a kind of celestial body filming apparatus, are applied to terminal, including:Obtaining unit, Computing unit and superpositing unit, wherein:The obtaining unit when being used at least two standard within a predetermined period of time, obtains And the hour angle of corresponding celestial image and the terminal celestial body to be observed corresponding with when the standard when standard;The meter Calculate unit, for according to when the standard and the obtaining unit obtain with the standard when the corresponding terminal it is to be observed The hour angle of celestial body, hour angle difference when calculating each standard relative to primary standard;The superpositing unit, by according to based on described Hour angle difference when calculating each standard that unit is calculated relative to primary standard, the obtaining unit is obtained every It is a with the standard when corresponding celestial image be overlapped, obtain final celestial image.
In the above-described embodiments, the obtaining unit includes:First acquisition subelement, the second acquisition subelement and hour angle obtain Subelement is taken, wherein:Described first obtains subelement, the longitude and latitude in Current standards, obtaining itself residing geographical location Spend information and the elevation angle and azimuth of itself current pose;Described second obtains subelement, for obtaining son according to described first When the Current standards that unit obtains, the latitude and longitude information, the elevation angle and azimuth obtain local sidereal time and wait seeing The corresponding right ascension of celestial body of survey;The hour angle obtains subelement, for according to described second obtain that subelement obtains it is described It is to be observed that square sidereal time and the corresponding right ascension of the celestial body to be observed obtain corresponding terminal when with the Current standards The hour angle of celestial body.
In the above-described embodiments, described first subelement is obtained, be specifically used for:In Current standards, by it is following at least A kind of device:Compass, gyroscope and gravity sensor obtain the elevation angle and azimuth for itself being presently in posture.
In the above-described embodiments, described second subelement is obtained, be specifically used for:Subelement is obtained according to described first to obtain The Current standards when, the latitude and longitude information passes through formula s=S0+ (M-Nh+ λ)+(M-Nh) μ, are calculated describedly The square sidereal time;Wherein, s is the local sidereal time;S0, Greenwich local sidereal time when being same day universal time zero;M is When the Current standards;λ is the longitude information in geographical location residing for the terminal;Nh, for geographical location institute residing for the terminal The time difference of the time zone of category with respect to greenwich time;μ is conversion coefficient.
In the above-described embodiments, the hour angle obtains subelement, is specifically used for:According to for obtaining son according to described second The local sidereal time s and the corresponding right ascension α of the celestial body to be observed that unit obtains, pass through formula:T=s- α, calculate To the hour angle t of the terminal celestial body to be observed corresponding with when the Current standards.
An embodiment of the present invention provides a kind of celestial body image pickup method and device, within a predetermined period of time at least by terminal The hour angle of corresponding with when standard celestial image and terminal celestial body to be observed is obtained when two standards;According to when standard and and standard When corresponding hour angle, hour angle difference when calculating each standard relative to primary standard;According to when each standard relative to initial Hour angle difference when standard, by it is each with standard when corresponding celestial image be overlapped, obtain final celestial image, terminal made to exist Clearly celestial image is shot in the case of without using equatorial telescope, is greatly reduced the hardware cost of terminal taking celestial body, is Commonness photograph fan provides convenience.
Description of the drawings
The hardware architecture diagram of Fig. 1 mobile terminals of each embodiment to realize the present invention;
Fig. 2 is the flow diagram of the celestial body image pickup method applied to mobile terminal as shown in Figure 1;
Celestial image when Fig. 3 is various criterion provided in an embodiment of the present invention captured by terminal;
Fig. 4 is the flow diagram of the specific embodiment of celestial body image pickup method provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of celestial body filming apparatus provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of the obtaining unit of celestial body filming apparatus provided in an embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
It should be appreciated that described herein, specific examples are only used to explain the present invention, is not intended to limit the present invention.
The mobile terminal of each embodiment of the present invention is realized in description with reference to the drawings.In subsequent description, use For indicate element such as " module ", " component " or " unit " suffix only for be conducive to the present invention explanation, itself There is no specific meanings.Therefore, " module " can be used mixedly with " component ".
Mobile terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as moving Phone, smart phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP The mobile terminal of (portable media player), navigation device etc. and such as number 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 in addition to being used in particular for moving Except the element of purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 to realize the present invention the mobile terminal of each embodiment hardware configuration signal.
Mobile terminal 100 may include wireless communication unit 110, A/V (audio/video) input unit 120, user's input Unit 130, sensing unit 140, output unit 150, memory 160, interface unit 170, controller 180 and power supply unit 190 Etc..Fig. 1 shows the mobile terminal with various assemblies, it should be understood that being not required for implementing all groups shown Part.More or fewer components can alternatively be implemented.The element of mobile terminal will be discussed in more detail below.
Wireless communication unit 110 generally includes one or more components, allows mobile terminal 100 and wireless communication system Or the radio communication between network.For example, wireless communication unit may include broadcasting reception module 111, mobile communication module 112, at least one of wireless Internet module 113, short range communication module 114 and location information module 115.
Broadcasting reception module 111 receives broadcast singal and/or broadcast via broadcast channel from external broadcast management server Relevant information.Broadcast channel may include satellite channel and/or terrestrial channel.Broadcast management server can be generated and sent The broadcast singal and/or broadcast related information that the server or reception of broadcast singal and/or broadcast related information generate before And send it to the server of terminal.Broadcast singal may include TV broadcast singals, radio signals, data broadcasting Signal etc..Moreover, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast phase Closing information can also provide via mobile communications network, and in this case, broadcast related information can be by mobile communication mould Block 112 receives.Broadcast singal can exist in a variety of manners, for example, it can be with the electronics of digital multimedia broadcasting (DMB) Program guide (EPG), digital video broadcast-handheld (DVB-H) electronic service guidebooks (ESG) etc. form and exist.Broadcast Receiving module 111 can receive signal broadcast by using various types of broadcast systems.Particularly, broadcasting reception module 111 It can be wide by using such as multimedia broadcasting-ground (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video It broadcasts-holds (DVB-H), the Radio Data System of forward link media (MediaFLO@), received terrestrial digital broadcasting integrated service (ISDB-T) etc. digit broadcasting system receives digital broadcasting.Broadcasting reception module 111, which may be constructed such that, to be adapted to provide for extensively Broadcast the various broadcast systems of signal and above-mentioned digit broadcasting system.Via broadcasting reception module 111 receive broadcast singal and/ Or broadcast related information can be stored in memory 160 (or other types of storage medium).
Mobile communication module 112 sends radio signals to base station (for example, access point, node B etc.), exterior terminal And at least one of server and/or receive from it radio signal.Such radio signal may include that voice is logical 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 113 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 may include WLAN (Wireless LAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
Short range communication module 114 is the module for supporting short range communication.Some examples of short-range communication technology include indigo plant Tooth TM, radio frequency identification (RFID), Infrared Data Association (IrDA), ultra wide band (UWB), purple honeybee TM etc..
Location information module 115 is the module of the location information for checking or obtaining mobile terminal.Location information module Typical case be GPS (global positioning system).According to current technology, GPS module 115, which calculates, comes from three or more satellites Range information and correct time information and the Information application triangulation for calculating, to according to longitude, latitude Highly accurately calculate three-dimensional current location information.Currently, it is defended using three for the method for calculating position and temporal information Star and the error that calculated position and temporal information are corrected by using an other satellite.In addition, GPS module 115 It can be by Continuous plus current location information in real time come calculating speed information.
A/V input units 120 are for receiving audio or video signal.A/V input units 120 may include 121 He of camera Microphone 1220, camera 121 in video acquisition mode or image capture mode by image capture apparatus obtain static map The image data of piece or video is handled.Treated, and picture frame may be displayed on display unit 151.At camera 121 Picture frame after reason can be stored in memory 160 (or other storage mediums) or be carried out via wireless communication unit 110 It sends, two or more cameras 1210 can be provided according to the construction of mobile terminal.Microphone 122 can be in telephone relation mould Sound (audio data) is received via microphone in formula, logging mode, speech recognition mode etc. operational mode, and can be incited somebody to action Such acoustic processing is audio data.Audio that treated (voice) data can be converted in the case of telephone calling model For the format output of mobile communication base station can be sent to via mobile communication module 112.Microphone 122 can implement various types Noise eliminate (or inhibit) algorithm with eliminate noise that (or inhibition) generates during sending and receiving audio signal or Person interferes.
User input unit 130 can generate key input data to control each of mobile terminal according to order input by user Kind operation.User input unit 130 allows user to input various types of information, and may include keyboard, metal dome, touch Plate (for example, sensitive component of detection variation of resistance, pressure, capacitance etc. caused by being contacted), idler wheel, rocking bar etc. Deng.Particularly, when touch tablet is superimposed upon in the form of layer on display unit 151, touch screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 100, (for example, the opening of mobile terminal 100 or cancellation shape State), the position of mobile terminal 100, user is for the presence or absence of contact (that is, touch input) of mobile terminal 100, mobile terminal 100 orientation, the acceleration or deceleration movement of mobile terminal 100 and direction etc., and generate for controlling mobile terminal 100 The order of operation or signal.For example, when mobile terminal 100 is embodied as sliding-type mobile phone, sensing unit 140 can sense The sliding-type phone is to open or cancel.In addition, sensing unit 140 can detect power supply unit 190 whether provide electric power or Whether person's interface unit 170 couples with external device (ED).Sensing unit 140, which may include proximity sensor 1410, to be combined below Touch screen is described this.
Interface unit 170 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Identification module can store to use each of mobile terminal 100 for verifying user It plants information and may include subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) Etc..In addition, the device with identification module can (hereinafter referred to as " identification device ") take the form of smart card therefore to know Other device can be connect via port or other attachment devices with mobile terminal 100.Interface unit 170, which can be used for receiving, to be come from The input (for example, data information, electric power etc.) of external device (ED) and the input received is transferred in mobile terminal 100 One or more elements can be used for the transmission data between mobile terminal and external device (ED).
In addition, when mobile terminal 100 is connect with external base, interface unit 170 may be used as allowing will be electric by it Power provides to the path of mobile terminal 100 from pedestal or may be used as that the various command signals inputted from pedestal is allowed to pass through it It is transferred to the path of mobile terminal.The various command signals or electric power inputted from pedestal, which may be used as mobile terminal for identification, is The no signal being accurately fitted on pedestal.Output unit 150 is configured to provide with vision, audio and/or tactile manner defeated Go out signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.).Output unit 150 may include display Unit 151, audio output module 152, alarm unit 153 etc..
Display unit 151 may be displayed on the information handled in mobile terminal 100.For example, when mobile terminal 100 is in electricity When talking about call mode, display unit 151 can show and converse or other communicate (for example, text messaging, multimedia file Download etc.) relevant user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling pattern Or when image capture mode, display unit 151 can show the image of capture and/or the image of reception, show video or figure The UI or GUI etc. of picture and correlation function.
Meanwhile when display unit 151 and touch tablet in the form of layer it is superposed on one another to form touch screen when, display unit 151 may be used as input unit and output device.Display unit 151 may include liquid crystal display (LCD), thin film transistor (TFT) In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least It is a kind of.Some in these displays may be constructed such that transparence to allow user to be watched from outside, this is properly termed as transparent Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific Desired embodiment, mobile terminal 100 may include two or more display units (or other display devices), for example, moving Dynamic terminal may include outernal display unit (not shown) and inner display unit (not shown).Touch screen, which can be used for detecting, to be touched Input pressure and touch input position and touch input area.
Audio output module 152 can mobile terminal be in call signal reception pattern, call mode, logging mode, It is that wireless communication unit 110 is received or in memory 160 when under the isotypes such as speech recognition mode, broadcast reception mode The audio data transducing audio signal of middle storage and to export be sound.Moreover, audio output module 152 can provide and movement The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that terminal 100 executes. Audio output module 152 may include loud speaker, buzzer etc..
Alarm unit 153 can provide output notifying event to mobile terminal 100.Typical event can be with Including calling reception, message sink, key signals input, touch input etc..Other than audio or video exports, alarm unit 153 can provide output with the generation of notification event in different ways.For example, alarm unit 153 can be in the form of vibration Output is provided, when receiving calling, message or some other entrance communications (incomingcommunication), alarm list Member 153 can provide tactile output (that is, vibration) to notify to user.It is exported by tactile as offer, even if When the mobile phone of user is in the pocket of user, user also can recognize that the generation of various events.Alarm unit 153 The output of the generation of notification event can be provided via display unit 151 or audio output module 152.
Memory 160 can store the software program etc. of the processing and control operation that are executed by controller 180, Huo Zheke Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And And memory 160 can be stored about when the vibration and audio signal for touching the various modes that the when of being applied to touch screen exports Data.
Memory 160 may include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, more 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 memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..Moreover, mobile terminal 100 can execute memory with by network connection The network storage device of 160 store function cooperates.
The overall operation of the usually control mobile terminal of controller 180.For example, controller 180 executes and voice communication, data Communication, video calling etc. relevant control and processing.In addition, controller 180 may include for reproducing (or playback) more matchmakers The multi-media module 1810 of volume data, multi-media module 1810 can construct in controller 180, or can be structured as and control Device 180 processed detaches.Controller 180 can be with execution pattern identifying processing, by the handwriting input executed on the touchscreen or figure Piece draws input and is identified as character or image.
Power supply unit 190 receives external power or internal power under the control of controller 180 and provides operation each member Electric power appropriate needed for part and component.
Various embodiments described herein can with use such as computer software, hardware or any combination thereof calculating Machine readable medium is implemented.Hardware is implemented, 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), controller, microcontroller, microprocessor, is designed to execute function described herein processor At least one of electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180. For software implementation, the embodiment of such as process or function can with allow to execute the individual of at least one functions or operations Software module is implemented.Software code can by the software application (or program) write with any programming language appropriate Lai Implement, software code can be stored in memory 160 and be executed by controller 180.
So far, oneself according to its function through describing mobile terminal.In the following, 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., which is used as, to be shown Example.Therefore, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
Based on above-mentioned mobile terminal hardware configuration, each embodiment of the method for the present invention is proposed.Below in conjunction with of the invention real The attached drawing in example is applied, technical scheme in the embodiment of the invention is clearly and completely described.
Fig. 2 is the flow diagram of the celestial body image pickup method applied to mobile terminal as shown in Figure 1, and this method includes:
S201:When being obtained with standard when terminal at least two standard within a predetermined period of time corresponding celestial image and with The hour angle of corresponding terminal celestial body to be observed when standard;
Wherein, it is the time in the time zone belonging to geographical location residing for terminal when standard.If for example, geographical position residing for terminal It sets in China, then when using eastern 8th area, that is, Beijing time, when standard when 8th areas Er Dong=greenwich time+east time zone number, For example, if (greenwich time) is 8 points of No.1 morning in October when the standard in London, then being ten when Pekinese's standard At 4 points in month No.1 afternoon.
Hour angle (HA, Hour Angle), is angular distance of the celestial body relative to meridian circle, and borrowing time unit hour is counted Amount, 1HA=15 degree.
It should be noted that terminal obtains multiple celestial images, is by repeatedly shooting celestial body in predetermined time period Final celestial image is obtained subsequently through the captured a variety of celestial images of superposition to prepare.In addition, terminal is in multiple standards The hour angle of corresponding terminal celestial body to be observed is obtained, for subsequently when being superimposed a variety of celestial images, celestial body to be observed being made to exist Same position is on image.That is, terminal is without using equatorial telescope, it is also ensured that when shooting celestial body not It is influenced by earth rotation.
Illustratively, terminal obtains the hour angle of terminal celestial body to be observed corresponding with when standard, specifically includes:Terminal is being worked as When preceding standard, itself residing latitude and longitude information in geographical location and the elevation angle and azimuth of itself current pose are obtained;Terminal root When according to Current standards, latitude and longitude information, the elevation angle and azimuth obtain local sidereal time and the corresponding right ascension of celestial body to be observed;Eventually End corresponding terminal celestial body to be observed when being obtained with Current standards according to local sidereal time and the corresponding right ascension of celestial body to be observed Hour angle.
Wherein, local sidereal time being the time measured by standard using local longitude, being corresponded to when for calculating Current standards Terminal celestial body to be observed hour angle.
Right ascension, be longitude of the celestial body on celestial sphere, when for calculating Current standards corresponding terminal celestial body to be observed when Angle.It should be noted that the corresponding right ascension of celestial body to be observed can be searched to obtain using celestial coordinates system.For example, Leo Coordinates of the interior m65 (extragalactic system) on celestial sphere be:11h18m00s.
Preferably, terminal obtains the elevation angle and azimuth of itself current pose in Current standards, specifically includes:Terminal exists When Current standards, pass through following at least one device:Compass, gyroscope and gravity sensor are presently in appearance to obtain itself The elevation angle and azimuth of state.
Preferably, when terminal is according to Current standards, latitude and longitude information, the elevation angle and azimuth obtain local sidereal time, specifically Including:When terminal is according to Current standards, latitude and longitude information passes through formula s=S0+ (M-Nh+ λ)+(M-Nh) μ, are calculated ground The square sidereal time;Wherein, s is local sidereal time;S0, Greenwich local sidereal time when being same day universal time zero;M is current When standard, i.e., the time in the time zone belonging to geographical location residing for terminal;λ is the longitude information in geographical location residing for terminal;Nh, The time difference for the time zone belonging to geographical location residing for terminal with respect to greenwich time;μ is conversion coefficient.
It should be noted that Greenwich local sidereal time S when same day universal time zero0It can be by searching for astronomical yearbook It obtains;The value of conversion coefficient μ is μ=1/365.2422.
For example, it is known that when Current standards, that is, Beijing time M=19h35m;Look into March 31 known to astronomical universal year calendar Greenwich local sidereal time S when universal time zero0=12h33m52s;Longitude λ=the 7h55m04s in Nanjing;Belonging to Nanjing Time zone is 8h with respect to the time difference Nh of greenwich time, and conversion coefficient μ=1/365.2422 passes through formula s=S0+(M-Nh+λ) + (M-Nh) μ can calculate the local sidereal time s=8h05m50s of Nanjing at this time.
Preferably, it is corresponding when terminal is obtained according to local sidereal time and the corresponding right ascension of celestial body to be observed with Current standards Terminal celestial body to be observed hour angle, specifically include:Terminal according to the local sidereal time s and corresponding right ascension α of celestial body to be observed, Pass through formula:The hour angle t of terminal celestial body to be observed corresponding with when Current standards is calculated in t=s- α.
S202:Terminal calculates each standard according to when standard and the hour angle of terminal celestial body to be observed corresponding with when standard When relative to primary standard when hour angle difference;
It should be noted that being different for hour angle of the same celestial body observed by different location, different time , therefore, the hour angle that terminal is obtained in different standards is different.
Wherein, when primary standard, when shooting the standard of celestial body for the first time in predetermined time period for terminal.
S203:Hour angle difference when terminal is according to when each standard relative to primary standard, will each with standard when it is corresponding Celestial image is overlapped, and obtains final celestial image.
It should be noted that since earth rotation influences, the celestial body of terminal camera shooting is mobile, referring to Fig. 3, Celestial image when showing various criterion captured by terminal, it can be seen that the day position in primary standard captured by terminal The position of the solid line circle of a figures in the middle of image, i.e. Fig. 3;And the generation of the celestial body captured by a period of time terminal is crossed Movement, i.e. the position of celestial body in the picture when the position of the solid line circle of b figures is Current standards in Fig. 3, dashed circle The position of celestial body in the picture when position is primary standard.Therefore, terminal according to when each standard relative to initial by marking Punctual hour angle difference, by it is each with standard when corresponding celestial image be overlapped, can make it is mobile after celestial body remain In same position.
You need to add is that it is each consistent with the lap of corresponding celestial image when standard in order to ensure, it needs Its non-overlapping part is cut out, in this way, corresponding map when finally the image size of celestial image can be than primary standard As small.For example, corresponding celestial image is 13,200,000 pixels when primary standard, when each celestial image corresponding with when standard After non-overlapping part is cut out, the final celestial image obtained is reduced to 8,000,000 pixels.
Fig. 4 is the flow diagram of the specific embodiment of celestial body image pickup method provided in an embodiment of the present invention, this method packet It includes:
S401:Corresponding celestial image when being obtained with nine standards when terminal nine standards within a predetermined period of time;
S402:Terminal obtains the latitude and longitude information in geographical location residing for terminal corresponding with when nine standards respectively, and eventually The elevation angle and azimuth of the residing posture in end;
S403:Terminal utilizes formula s=S0+ (M-Nh+ λ)+(M-Nh) μ, and with nine standards when corresponding longitude and latitude letter Breath, corresponding local sidereal time s when calculating separately with nine standards;
S404:Terminal obtains celestial body to be observed according to the elevation angle, azimuth and latitude and longitude information, and according to day to be observed Body obtains right ascension α corresponding with the celestial body;
S405:Corresponding local sidereal time s and right ascension α when terminal is according to nine standards is calculated by formula t=s- α Obtain the hour angle t of terminal corresponding with when nine standards celestial body to be observed;
By step S402- step S405, whens terminal nine standards within a predetermined period of time, obtains corresponding nine ends Hold the hour angle of celestial body to be observed.
S406:Corresponding hour angle when terminal is according to nine standards, when calculating each standard relative to primary standard Hour angle difference;
S407:Hour angle difference when terminal is according to when each standard relative to primary standard, will each with standard when it is corresponding Celestial image is overlapped, and obtains final celestial image.
In conclusion an embodiment of the present invention provides a kind of celestial body image pickup methods, within a predetermined period of time by terminal The hour angle of corresponding with when standard celestial image and terminal celestial body to be observed is obtained when at least two standards;According to when standard and with Corresponding hour angle when standard, hour angle difference when calculating each standard relative to primary standard;According to when each standard relative to Hour angle difference when primary standard, by it is each with standard when corresponding celestial image be overlapped, obtain final celestial image, make end Clearly celestial image is shot at end without using equatorial telescope, greatly reduce the hardware of terminal taking celestial body at This, provides convenience for commonness photograph fan.
Fig. 5 is a kind of structural schematic diagram of celestial body filming apparatus provided in an embodiment of the present invention, which is applied to eventually End, including:Obtaining unit 501, computing unit 502 and superpositing unit 503, wherein:
Obtaining unit 501, when being used at least two standard within a predetermined period of time, corresponding celestial body when obtaining with standard The hour angle of image and terminal celestial body to be observed corresponding with when standard;
Computing unit 502, for according to when standard and obtaining unit 501 obtain with standard when corresponding terminal it is to be observed The hour angle of celestial body, hour angle difference when calculating each standard relative to primary standard;
Superpositing unit 503, when each standard for being calculated according to computing unit 502 relative to primary standard Hour angle difference, corresponding celestial image is overlapped when obtaining unit 501 each of is obtained with standard, obtains final map Picture.
Illustratively, Fig. 6 shows a kind of structure of the obtaining unit of celestial body filming apparatus provided in an embodiment of the present invention Schematic diagram, referring to Fig. 6, obtaining unit 501 includes:First acquisition subelement 5011, second obtains subelement 5012 and hour angle obtains Subelement 5013 is taken, wherein:First obtains subelement 5011, in Current standards, obtaining itself residing geographical location The elevation angle and azimuth of latitude and longitude information and itself current pose;Second obtains subelement 5012, for obtaining son according to first When the Current standards that unit 5011 obtains, latitude and longitude information, the elevation angle and azimuth obtain local sidereal time and celestial body to be observed Corresponding right ascension;Hour angle obtains subelement 5013, for obtaining the local sidereal time and wait for that subelement 5012 obtains according to second The corresponding right ascension of celestial body of observation obtains the hour angle of terminal celestial body to be observed corresponding with when Current standards.
Preferably, first subelement 5011 is obtained, be specifically used for:In Current standards, pass through following at least one device: Compass, gyroscope and gravity sensor itself are presently in the elevation angle and azimuth of posture to obtain.
Preferably, second subelement 5012 is obtained, be specifically used for:The current mark that subelement 5011 obtains is obtained according to first On time, latitude and longitude information passes through formula s=S0+ (M-Nh+ λ)+(M-Nh) μ, are calculated local sidereal time;Wherein, s, for ground The square sidereal time;S0, Greenwich local sidereal time when being same day universal time zero;M, when being Current standards;λ is residing for terminal The longitude information in geographical location;Nh is the time difference of the time zone belonging to geographical location residing for terminal with respect to greenwich time;μ is Conversion coefficient.
Preferably, hour angle obtains subelement 5013, is specifically used for:It is obtained according to for obtaining subelement 5012 according to second Local sidereal time s and the corresponding right ascension α of celestial body to be observed, pass through formula:T=s- α are calculated and when Current standards pairs The hour angle t for the terminal celestial body to be observed answered.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program Product.Therefore, the shape of hardware embodiment, software implementation or embodiment combining software and hardware aspects can be used in the present invention Formula.Moreover, the present invention can be used can use storage in the computer that one or more wherein includes computer usable program code The form for the computer program product implemented on medium (including but not limited to magnetic disk storage and optical memory etc.).
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.

Claims (10)

1. a kind of celestial body image pickup method is applied to terminal, which is characterized in that including:
When the terminal at least two standard within a predetermined period of time, when obtaining with the standard corresponding celestial image and with The hour angle of the corresponding terminal celestial body to be observed when the standard;
The terminal is every according to when the standard and the hour angle of the terminal celestial body to be observed corresponding with when the standard, calculating Hour angle difference when a standard relative to primary standard;
The hour angle difference when terminal is according to when each standard relative to primary standard, will each with the standard when it is corresponding Celestial image be overlapped, obtain final celestial image, wherein it is described will each with the standard when corresponding celestial image Be overlapped, the non-overlapping part of each celestial image corresponding with when the standard cut, obtain it is each with it is described Corresponding celestial image consistent lap when standard.
2. according to the method described in claim 1, it is characterized in that, the terminal obtains corresponding end when with the standard The hour angle for holding celestial body to be observed, specifically includes:
The terminal obtains itself residing latitude and longitude information in geographical location and facing upward for itself current pose in Current standards Angle and azimuth;When the terminal is according to the Current standards, the latitude and longitude information, the elevation angle and azimuth obtain place Sidereal time and the corresponding right ascension of celestial body to be observed;The terminal is according to the local sidereal time and the celestial body pair to be observed The right ascension answered obtains the hour angle of the terminal celestial body to be observed corresponding with when the Current standards.
3. according to the method described in claim 2, it is characterized in that, the terminal obtains itself current pose in Current standards The elevation angle and azimuth, specifically include:
The terminal passes through following at least one device in Current standards:Compass, gyroscope and gravity sensor obtain The elevation angle and azimuth for itself being presently in posture.
4. according to the method described in claim 2, it is characterized in that, when the terminal is according to the Current standards, the longitude and latitude Information is spent, the elevation angle and azimuth obtain local sidereal time, specifically include:
When the terminal is according to the Current standards, the latitude and longitude information passes through formula s=S0+ (M-Nh+ λ)+(M-Nh) μ, The local sidereal time is calculated;Wherein, s is the local sidereal time;S0, Greenwich when being same day universal time zero Local sidereal time;M, when being the Current standards;λ is the longitude information in geographical location residing for the terminal;Nh is the end Hold the time zone belonging to residing geographical location with respect to the time difference of greenwich time;μ is conversion coefficient.
5. according to the method described in claim 2, it is characterized in that, the terminal is according to the local sidereal time and described waits seeing The corresponding right ascension of celestial body of survey obtains the hour angle of the terminal celestial body to be observed corresponding with when the Current standards, specific to wrap It includes:
The terminal passes through formula according to the local sidereal time s and corresponding right ascension α of the celestial body to be observed:T=s- α, The hour angle t of the terminal celestial body to be observed corresponding with when the Current standards is calculated.
6. a kind of celestial body filming apparatus is applied to terminal, which is characterized in that including:Obtaining unit, computing unit and superposition are single Member, wherein:
The obtaining unit, when being used at least two standard within a predetermined period of time, corresponding day when obtaining with the standard The hour angle of body image and the terminal celestial body to be observed corresponding with when the standard;
The computing unit, for according to corresponding described when the standard and when the obtaining unit obtains with the standard The hour angle of terminal celestial body to be observed, hour angle difference when calculating each standard relative to primary standard;
The superpositing unit, when each standard for being calculated according to the computing unit relative to primary standard Hour angle difference, corresponding celestial image is overlapped when the obtaining unit each of is obtained with the standard, is obtained final Celestial image, wherein it is described by each with the standard when corresponding celestial image be overlapped, to it is each with the standard when The non-overlapping part of corresponding celestial image is cut, obtain it is each with the standard when corresponding celestial image it is consistent Lap.
7. device according to claim 6, which is characterized in that the obtaining unit includes:First obtains subelement, second It obtains subelement and hour angle obtains subelement, wherein:
Described first obtains subelement, the latitude and longitude information in Current standards, obtaining itself residing geographical location, and from The elevation angle and azimuth of body current pose;
Described second obtains subelement, when for obtaining the Current standards that subelement obtains according to described first, the warp Latitude information, the elevation angle and azimuth obtain local sidereal time and the corresponding right ascension of celestial body to be observed;
The hour angle obtains subelement, for obtaining local sidereal time that subelement obtains according to described second and described waiting for The corresponding right ascension of celestial body of observation obtains the hour angle of the terminal celestial body to be observed corresponding with when the Current standards.
8. device according to claim 7, which is characterized in that described first obtains subelement, is specifically used for:
In Current standards, pass through following at least one device:Compass, gyroscope and gravity sensor come obtain it is described itself It is presently in the elevation angle and azimuth of posture.
9. device according to claim 7, which is characterized in that described second obtains subelement, is specifically used for:
When obtaining the Current standards that subelement obtains according to described first, the latitude and longitude information passes through formula s=S0+ (M-Nh+ λ)+(M-Nh) μ, are calculated the local sidereal time;Wherein, s is the local sidereal time;S0, it is the same day world When zero when Greenwich local sidereal time;M, when being the Current standards;λ is the longitude in geographical location residing for the terminal Information;Nh is the time difference of the time zone belonging to geographical location residing for the terminal with respect to greenwich time;μ is conversion coefficient.
10. device according to claim 7, which is characterized in that the hour angle obtains subelement, is specifically used for:
According to for obtaining the local sidereal time s and the celestial body correspondence to be observed that subelement obtains according to described second Right ascension α, pass through formula:T=s- α, be calculated the terminal celestial body to be observed corresponding with when the Current standards when Angle t.
CN201510349569.3A 2015-06-23 2015-06-23 A kind of celestial body image pickup method and device Active CN105141825B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510349569.3A CN105141825B (en) 2015-06-23 2015-06-23 A kind of celestial body image pickup method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510349569.3A CN105141825B (en) 2015-06-23 2015-06-23 A kind of celestial body image pickup method and device

Publications (2)

Publication Number Publication Date
CN105141825A CN105141825A (en) 2015-12-09
CN105141825B true CN105141825B (en) 2018-08-21

Family

ID=54727023

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510349569.3A Active CN105141825B (en) 2015-06-23 2015-06-23 A kind of celestial body image pickup method and device

Country Status (1)

Country Link
CN (1) CN105141825B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107071260A (en) * 2016-11-29 2017-08-18 努比亚技术有限公司 A kind of filming apparatus and method, and terminal device
CN107426506B (en) * 2017-03-31 2019-10-29 努比亚技术有限公司 A kind of method and terminal of celestial body shooting
CN107071278A (en) * 2017-03-31 2017-08-18 努比亚技术有限公司 Terminal and star orbital shooting method
EP3454140B1 (en) * 2017-09-08 2020-02-26 ETA SA Manufacture Horlogère Suisse Astronomical clock device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101393027A (en) * 2008-11-18 2009-03-25 苏州信达光电科技有限公司 Hand-held starry sky display equipment and starry sky display method
CN102164244A (en) * 2010-02-19 2011-08-24 奥林巴斯映像株式会社 Image shooting device
CN102859988A (en) * 2010-04-28 2013-01-02 宾得理光映像有限公司 Automatic celestial-body tracking / image-capturing method and automatic celestial-body tracking / image-capturing camera
CN103597809A (en) * 2011-06-16 2014-02-19 理光映像有限公司 Celestial body automatic tracking and imaging method, and celestial body automatic tracking and imaging device
CN103837126A (en) * 2012-11-22 2014-06-04 施浒立 Three-dimensional direction angle measuring device and method using celestial body position as alignment calibration reference
JP2014119389A (en) * 2012-12-18 2014-06-30 Canon Marketing Japan Inc Image management device, image management system, control method, and program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101393027A (en) * 2008-11-18 2009-03-25 苏州信达光电科技有限公司 Hand-held starry sky display equipment and starry sky display method
CN102164244A (en) * 2010-02-19 2011-08-24 奥林巴斯映像株式会社 Image shooting device
CN102859988A (en) * 2010-04-28 2013-01-02 宾得理光映像有限公司 Automatic celestial-body tracking / image-capturing method and automatic celestial-body tracking / image-capturing camera
CN103597809A (en) * 2011-06-16 2014-02-19 理光映像有限公司 Celestial body automatic tracking and imaging method, and celestial body automatic tracking and imaging device
CN103837126A (en) * 2012-11-22 2014-06-04 施浒立 Three-dimensional direction angle measuring device and method using celestial body position as alignment calibration reference
JP2014119389A (en) * 2012-12-18 2014-06-30 Canon Marketing Japan Inc Image management device, image management system, control method, and program

Also Published As

Publication number Publication date
CN105141825A (en) 2015-12-09

Similar Documents

Publication Publication Date Title
CN106502693B (en) A kind of image display method and device
KR101688155B1 (en) Information processing apparatus and method thereof
CN104917879B (en) A kind of method, device and mobile terminal for cancelling alarm clock calling
CN105915623A (en) Device and method of processing application installation package
CN105141825B (en) A kind of celestial body image pickup method and device
CN104881346B (en) The detection method and device of a kind of mobile terminal and its application program power consumption
CN106878949A (en) A kind of positioning terminal based on dual camera, system and method
CN106772247A (en) A kind of terminal and sound localization method
CN105898703A (en) Method and device for managing identified pseudo base stations
CN108965727A (en) A kind of image-pickup method, terminal and computer readable storage medium
CN106550124A (en) It is a kind of to apply prepackage method and terminal
CN109033263A (en) A kind of application recommended method and terminal
CN104735254B (en) terminal screen locking method and system
CN106028382A (en) NV (Nonvolatile Random Access Memory) parameter reading-writing device and method
CN104754129B (en) The determination method and device of photographed scene
CN107046601A (en) A kind of mobile terminal and screen control method
CN106646442A (en) Distance measurement method and terminal
CN105929409A (en) Navigation signal control system and method
CN106454087B (en) A kind of filming apparatus and method
CN106707737B (en) A kind of Wave timepiece timing method and mobile terminal
CN106951350A (en) The inspection method and device of a kind of mobile terminal disk
CN106650347A (en) Synchronous unblocking method, device and terminals
CN109167418A (en) A kind of wireless charging edge power down process method, system and storage medium
CN109165487A (en) A kind of method, mobile terminal and the computer readable storage medium of face unlock
CN106303080B (en) A kind of method and apparatus prompting new information on a display screen

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant