WO2016011860A1 - 移动终端的拍摄方法及移动终端 - Google Patents

移动终端的拍摄方法及移动终端 Download PDF

Info

Publication number
WO2016011860A1
WO2016011860A1 PCT/CN2015/082098 CN2015082098W WO2016011860A1 WO 2016011860 A1 WO2016011860 A1 WO 2016011860A1 CN 2015082098 W CN2015082098 W CN 2015082098W WO 2016011860 A1 WO2016011860 A1 WO 2016011860A1
Authority
WO
WIPO (PCT)
Prior art keywords
constellation
mobile terminal
image
template
matching
Prior art date
Application number
PCT/CN2015/082098
Other languages
English (en)
French (fr)
Inventor
苏磊
里强
Original Assignee
努比亚技术有限公司
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 努比亚技术有限公司 filed Critical 努比亚技术有限公司
Publication of WO2016011860A1 publication Critical patent/WO2016011860A1/zh

Links

Images

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/95Computational photography systems, e.g. light-field imaging systems
    • H04N23/951Computational photography systems, e.g. light-field imaging systems by using two or more images to influence resolution, frame rate or aspect ratio

Definitions

  • This document relates to the field of shooting technology, and in particular, to a method for photographing a mobile terminal and a mobile terminal.
  • This paper provides a method for shooting a mobile terminal and a mobile terminal, which solves the technical problem of automatically recognizing a constellation in the star-track shooting.
  • a method for shooting by a mobile terminal includes:
  • the mobile terminal captures an image
  • the step of matching the image with the pre-stored constellation template in the mobile terminal includes:
  • a constellation template corresponding to the location information is pushed to the user to match the image to the pushed constellation template.
  • the step of matching the image with a pre-stored constellation template in the mobile terminal includes:
  • the pixels are selected, and the relative positions of the selected pixels are matched with the relative positions of the pixels in the constellation template.
  • the step of the mobile terminal capturing an image includes:
  • a mobile terminal comprising:
  • the shooting module is set to: take an image
  • a matching module configured to: match the image with a pre-stored constellation template in the mobile terminal;
  • the identification module is configured to: when the matching is successful, identify a corresponding constellation in the image.
  • the mobile terminal further includes:
  • Get the module set to: obtain the current location information of the user;
  • the pushing module is configured to: push a constellation template corresponding to the location information to the user to match the image with the pushed constellation template.
  • the matching module includes:
  • a determining unit configured to: determine whether a brightness of a pixel in the image is greater than a preset value
  • the matching unit is configured to: if the brightness of the pixel in the image is greater than a preset value, select the pixel, and match the relative position of the selected pixel with the relative position of the pixel in the constellation template.
  • the mobile terminal further includes:
  • the generating module is configured to: acquire constellation information, generate a constellation template based on the constellation information, and store the constellation template in a constellation database.
  • a computer readable storage medium storing computer executable instructions for performing the method of any of the above.
  • the embodiment of the present invention can preset the constellation template in the mobile terminal, and after the user takes a photo of the starry sky, the captured photo can be matched with the constellation template. If the matching is successful, the corresponding constellation can be identified, and the photo is identified on the photo. Out of the constellation.
  • the user after the user takes a photo of the starry sky, the user can find the constellation without identifying the user, which is convenient and fast, and can improve the user experience.
  • FIG. 1 is a schematic flowchart of a first embodiment of a method for photographing a mobile terminal according to the present invention
  • FIG. 2 is a schematic diagram of a refinement process of step S102 in FIG. 1;
  • FIG. 3 is a schematic flowchart of a second embodiment of a method for photographing a mobile terminal according to the present invention.
  • FIG. 4 is a schematic diagram of functional modules of a first embodiment of a mobile terminal according to the present invention.
  • FIG. 5 is a schematic diagram of a refinement function module of the matching module in FIG. 4;
  • FIG. 6 is a schematic diagram of functional modules of a second embodiment of a mobile terminal according to the present invention.
  • An embodiment of the present invention provides a method for photographing a mobile terminal.
  • the method for photographing the mobile terminal includes:
  • Step S101 the mobile terminal captures an image
  • the mobile terminal may be a mobile phone or a tablet computer or the like.
  • a night shooting mode can be added to the mobile terminal, and the user can select the shooting mode or the normal shooting mode to take an image, wherein the night shooting mode is combined with the requirement of the night shooting scene, and the exposure time, ISO (sensing) is preset.
  • Parameters such as the speed of the component, resolution, exposure compensation, noise reduction, etc., can also preset different parameters according to different starry sky scenes in different regions, for the user to select when shooting.
  • the camera of the mobile terminal When the user selects the night shooting mode, press the shooting button or trigger the virtual shooting button, the camera of the mobile terminal performs shooting, and performs exposure according to the preset number of times, such as exposure for 5 to 10 seconds.
  • the mobile terminal may also display different constellation templates for the user to refer to, and then perform shooting.
  • This embodiment is used for shooting at night when the weather is fine, and it is not suitable for shooting in foggy weather or when the environmental pollution is serious.
  • the mobile terminal can also capture the star track video, and synthesize the captured image to obtain the star track video.
  • the first image and the second image are combined for brightness synthesis to obtain the first Synthesize the image, perform a brightness synthesis process on the third image and the first composite image, obtain a second composite image, and so on, until all the synthesis, encode the first image and all the composite images, and finally generate a star track video.
  • the stars are in motion, and the endpoint of each motion can be taken as the current position of the star, and then the constellation can be matched in the star-track video.
  • Step S102 matching the image with a pre-stored constellation template in the mobile terminal
  • the constellation template is pre-stored in the mobile terminal, and the constellation template includes all the stars included in the constellation, the relative position of each star, and the like. Some constellations change their orientation or orientation at different times, such as the Big Dipper, so the relative positions include multiple. In other embodiments, the brightness of the stars may also be used as an additional match, but considering the weather and environmental pollution, the brightness of the stars is only a minor match.
  • the constellation templates can be set for different geographical locations and different times.
  • the geographic location may be based on an area within a longitude and latitude range, and the orientation or orientation of the constellation may change during a month or at different times of the year, and multiple constellation templates of the constellation are set at this time.
  • a star can be reserved as a reference, and then the relative position information of the other stars of the constellation with the star is obtained, and then matched with the constellation template.
  • the user may perform manual matching, such as inputting the name or location information of the constellation on the mobile terminal to perform a search, obtaining a constellation template, and then performing matching one by one; or automatically matching by the mobile terminal.
  • the star track video can be matched with the constellation template, and then different constellations are identified in the star track video.
  • Step S103 when the matching is successful, the corresponding constellation is identified in the image.
  • the image captured by the user and the constellation template are successfully matched, the image is identified.
  • the corresponding constellation is output and the corresponding constellation name can be identified.
  • each star of the constellation may be identified in a wired manner, or may be identified in a blinking manner, or may be identified in other eye-catching manners, etc., to alert the user.
  • the constellation may be identified in the star-track video, such as in a wired manner or in a blinking manner, wherein the color of the connection and the flashing and the motion track are different. To the identification role. Since the star-track video is dynamic, the constellation also follows the movement.
  • the present embodiment can preset the constellation template in the mobile terminal, and after the user takes a photo of the starry sky, the captured photo can be matched with the constellation template. If the matching is successful, the corresponding constellation can be identified. The constellation is identified on the photo. In this embodiment, after the user takes a photo of the starry sky, the user can find the constellation without careful identification, which is convenient and quick, and can improve the user experience.
  • the method before the step of matching an image with a pre-stored constellation template in the mobile terminal, includes the following steps: acquiring current location information of the user; The user pushes a constellation template corresponding to the location information to match the image to the pushed constellation template.
  • a positioning device such as a GPS or the like may be built in the mobile terminal, or the location information of the mobile terminal may be obtained by positioning the base station of the mobile operation network.
  • the location information is based on an area within a longitude and latitude range.
  • the constellation appearing at the location may be predicted, and the mobile terminal acquires the constellation template of the constellation appearing at the location, and then pushes the user to the screen of the mobile terminal, and the user may refer to the displayed constellation template.
  • Shooting, or the mobile terminal directly matches the captured image with the pushed constellation template to improve the speed of matching.
  • the foregoing step S102 includes:
  • Step S1021 determining whether the brightness of the pixel in the image is greater than a preset value
  • Step S1022 if yes, selecting the pixel, and comparing the relative positions of the selected pixels with the The relative positions of the pixels in the constellation template are matched accordingly.
  • the mobile terminal determines whether the brightness of the pixel in the image is greater than a preset value. If it is greater than, the pixel is considered to be a star, if the brightness of the pixel in the image is not greater than a preset value. When the pixel is discarded, the pixels with lower brightness are filtered to a certain extent, and the cumulative effect of the ambient light is avoided to affect the image.
  • the pixels are selected, that is, all the stars in the image are selected, and the relative positions are matched with the pixels in the constellation template.
  • the embodiment further includes: before the step S101:
  • Step S100 Acquire constellation information, generate a constellation template based on the constellation information, and store the constellation template in a constellation database.
  • the constellation information includes the constellation name, the number of stars, and the relative position of each star, and may also include the brightness of each star.
  • the mobile terminal includes a constellation template of all constellations.
  • a constellation template is generated based on the constellation information, and the constellation template is stored in the constellation database for use in constellation matching.
  • the embodiment of the present invention further provides a mobile terminal.
  • the mobile terminal includes:
  • the shooting module 101 is configured to: capture an image
  • the mobile terminal may be a mobile phone or a tablet computer or the like.
  • a night shooting mode can be added to the mobile terminal, and the user can select the shooting mode or the normal shooting mode to take an image, wherein the night shooting mode combines the requirements of the night shooting scene, and the exposure time, ISO, and resolution are preset. Rate, exposure compensation, noise reduction and other parameters, you can also preset different parameters according to different starry sky scenes in different regions, for users to choose when shooting.
  • the camera of the mobile terminal When the user selects the night shooting mode, press the shooting button or trigger the virtual shooting button, the camera of the mobile terminal performs shooting, and performs exposure according to the preset number of times, such as exposure for 5 to 10 seconds.
  • the mobile terminal may also display different constellation templates for the user to refer to, and then perform shooting.
  • This embodiment is used for shooting at night when the weather is fine, and it is not suitable for shooting in foggy weather or when the environmental pollution is serious.
  • the mobile terminal can also capture the star track video, and synthesize the captured image to obtain the star track video.
  • the first image and the second image are combined for brightness synthesis to obtain the first Synthesize the image, perform a brightness synthesis process on the third image and the first composite image, obtain a second composite image, and so on, until all the synthesis, encode the first image and all the composite images, and finally generate a star track video.
  • the stars are in motion, and the endpoint of each motion can be taken as the current position of the star, and then the constellation can be matched in the star-track video.
  • the matching module 102 is configured to: match the image with a pre-stored constellation template in the mobile terminal;
  • the constellation template is pre-stored in the mobile terminal, and the constellation template includes all the stars included in the constellation, the relative position of each star, and the like. Some constellations change their orientation or orientation at different times, such as the Big Dipper, so the relative positions include multiple. In other embodiments, the brightness of the stars may also be used as an additional match, but considering the weather and environmental pollution, the brightness of the stars is only a minor match.
  • the constellation templates can be set for different geographical locations and different times.
  • the geographic location may be based on an area within a longitude and latitude range, and the orientation or orientation of the constellation may change during a month or at different times of the year, and multiple constellation templates of the constellation are set at this time.
  • a star can be reserved as a reference, and then the relative position information of the other stars of the constellation with the star is obtained, and then matched with the constellation template.
  • the user may perform manual matching, such as inputting the name or location information of the constellation on the mobile terminal to perform a search, obtaining a constellation template, and then performing matching one by one; or automatically matching by the mobile terminal.
  • the star track video and the constellation template can be performed. Match and then identify different constellations in the star track video.
  • the identification module 103 is configured to: when the matching is successful, identify a corresponding constellation in the image.
  • the corresponding constellation is identified on the image, and the corresponding constellation name can be identified.
  • each star of the constellation may be identified in a wired manner, or may be identified in a blinking manner, or may be identified in other eye-catching manners, etc., to alert the user.
  • the constellation may be identified in the star-track video, such as in a wired manner or in a blinking manner, wherein the color of the connection and the flashing and the motion track are different. To the identification role. Since the star-track video is dynamic, the constellation also follows the movement.
  • the present embodiment can preset the constellation template in the mobile terminal, and after the user takes a photo of the starry sky, the captured photo can be matched with the constellation template. If the matching is successful, the corresponding constellation can be identified. The constellation is identified on the photo. In this embodiment, after the user takes a photo of the starry sky, the user can find the constellation without careful identification, which is convenient and quick, and can improve the user experience.
  • the mobile terminal further includes: an obtaining module, configured to: obtain current location information of the user; and the pushing module is configured to: push the user to correspond to the location information Constellation template to match the image to the pushed constellation template.
  • a positioning device such as a GPS or the like may be built in the mobile terminal, or the location information of the mobile terminal may be obtained by positioning the base station of the mobile operation network.
  • the location information is based on an area within a longitude and latitude range.
  • the constellation appearing at the location may be predicted, and the mobile terminal acquires the constellation template of the constellation appearing at the location, and then pushes the user to the screen of the mobile terminal, and the user may refer to the displayed constellation template.
  • Shooting, or the mobile terminal directly matches the captured image with the pushed constellation template to improve the speed of matching.
  • the matching module 102 includes:
  • the determining unit 1021 is configured to: determine whether the brightness of the pixel in the image is greater than a preset value
  • the matching unit 1022 is configured to: if the brightness of the pixel in the image is greater than a preset value, select the pixel, and match the relative position of the selected pixel with the relative position of the pixel in the constellation template. .
  • the mobile terminal determines whether the brightness of the pixel in the image is greater than a preset value. If it is greater than, the pixel is considered to be a star, if the brightness of the pixel in the image is not greater than a preset value. When the pixel is discarded, the pixels with lower brightness are filtered to a certain extent, and the cumulative effect of the ambient light is avoided to affect the image.
  • the pixels are selected, that is, all the stars in the image are selected, and the relative positions are matched with the pixels in the constellation template.
  • the mobile terminal further includes:
  • the generating module 100 is configured to: acquire constellation information, generate a constellation template based on the constellation information, and store the constellation template in a constellation database.
  • the constellation information includes the constellation name, the number of stars, and the relative position of each star, and may also include the brightness of each star.
  • the mobile terminal includes a constellation template of all constellations.
  • a constellation template is generated based on the constellation information, and the constellation template is stored in the constellation database for use in constellation matching.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • the device/function module/functional unit in the above embodiment When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the embodiment of the present invention can preset the constellation template in the mobile terminal, and after the user takes a photo of the starry sky, the captured photo can be matched with the constellation template. If the matching is successful, the corresponding constellation can be identified, and the photo is identified on the photo. Out of the constellation.
  • the user after the user takes a photo of the starry sky, the user can find the constellation without careful identification, which is convenient and quick, and can improve the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Studio Devices (AREA)

Abstract

一种移动终端的拍摄方法和移动终端,所述移动终端的拍摄方法包括:移动终端拍摄图像;将所述图像与所述移动终端中预存的星座模板进行匹配;当匹配成功时,在所述图像中标识出对应的星座。

Description

移动终端的拍摄方法及移动终端 技术领域
本文涉及拍摄技术领域,尤其涉及一种移动终端拍摄的方法及移动终端。
背景技术
随着手机、平板电脑等移动终端的摄像硬件的不断提升,移动终端的拍摄功能也越来越多样化,用户对移动终端的拍摄要求也越来越高。
在移动终端的拍摄中,星空的拍摄逐渐受到人们的喜爱,如星轨的拍摄等。有些用户希望在拍摄星空的照片中不需要辨认就能拍摄到星座,由于技术的限制,目前无法实现,这样会降低用户的体验。
上述内容仅用于辅助理解本文的技术方案,并不代表承认上述内容是现有技术。
发明内容
本文提供一种移动终端拍摄的方法及移动终端,解决星轨拍摄中自动辨认星座的技术问题。
一种移动终端拍摄的方法包括:
移动终端拍摄图像;
将所述图像与所述移动终端中预存的星座模板进行匹配;
当匹配成功时,在所述图像中标识出对应的星座。
可选地,所述将图像与所述移动终端中预存的星座模板进行匹配的步骤之前包括:
获取用户当前的位置信息;
向用户推送与所述位置信息对应的星座模板,以将所述图像与所推送的星座模板进行匹配。
可选地,将所述图像与所述移动终端中预存的星座模板进行匹配的步骤包括:
判断所述图像中的像素的亮度是否大于预设值;
若是,选出所述像素,将所选出的像素的相对位置与所述星座模板中的像素的相对位置对应进行匹配。
可选地,所述移动终端拍摄图像的步骤之前包括:
获取星座信息,基于所述星座信息生成星座模板,将所述星座模板存储于星座数据库中。
一种移动终端,所述移动终端包括:
拍摄模块,设置为:拍摄图像;
匹配模块,设置为:将所述图像与所述移动终端中预存的星座模板进行匹配;
标识模块,设置为:当匹配成功时,在所述图像中标识出对应的星座。
可选地,所述移动终端还包括:
获取模块,设置为:获取用户当前的位置信息;
推送模块,设置为:向用户推送与所述位置信息对应的星座模板,以将所述图像与所推送的星座模板进行匹配。
可选地,所述匹配模块包括:
判断单元,设置为:判断所述图像中的像素的亮度是否大于预设值;
匹配单元,设置为:若所述图像中的像素的亮度大于预设值,选出所述像素,将所选出的像素的相对位置与所述星座模板中的像素的相对位置对应进行匹配。
可选地,所述移动终端还包括:
生成模块,设置为:获取星座信息,基于所述星座信息生成星座模板,将所述星座模板存储于星座数据库中。
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述任一项的方法。
本发明实施例通过在移动终端中预置星座模板,在用户拍摄星空照片后,可以将所拍摄的照片与星座模板进行匹配,如能够匹配成功,则能识别出对应的星座,在照片上标识出该星座。本发明实施例在用户拍摄星空照片后,不需要用户进行辨认即能够找到星座,方便快捷,并可提高用户体验。
附图概述
图1为本发明移动终端拍摄的方法第一实施例的流程示意图;
图2为图1中步骤S102的细化流程示意图;
图3为本发明移动终端拍摄的方法第二实施例的流程示意图;
图4为本发明移动终端第一实施例的功能模块示意图;
图5为图4中匹配模块的细化功能模块示意图;
图6为本发明移动终端第二实施例的功能模块示意图。
本发明的实施方式
下面结合附图对本发明的实施方式进行说明。
本发明实施例提供一种移动终端拍摄的方法,参照图1,在一实施例中,该移动终端拍摄的方法包括:
步骤S101,移动终端拍摄图像;
在本实施例中,移动终端可以是手机或者平板电脑等。可以为移动终端增加了一种夜拍拍摄模式,用户可以选择该拍摄模式或普通拍摄模式进行拍摄图像,其中,夜拍拍摄模式结合夜间拍摄场景的要求,预先设定了曝光时间、ISO(感光元件的感光速度)、分辨率、曝光补偿、降噪等参数,还可以根据不同地区不同的星空场景预设不同的参数,供用户拍摄时进行选择。
当用户选择了夜拍拍摄模式,按下拍摄按键或触发虚拟拍摄按键后,移动终端的摄像头进行拍摄,并按照预设的次数进行曝光,如曝光5~10秒。
本实施例中,移动终端也可以显示不同的星座模板,以供用户进行参考,然后再进行拍摄。
本实施例在天气较晴朗的夜间进行拍摄,在大雾天或者环境污染较严重时,不适合拍摄。
本实施例中,移动终端也可以拍摄星轨视频,将所拍摄的图像进行合成处理可以得到星轨视频,例如,将拍摄的第一张图像与第二张图像进行亮度合成处理,得到第一合成图像,将第三张图像与第一合成图像进行亮度合成处理,得到第二合成图像,依次类推,直至全部合成,将第一张图像与所有的合成图像进行编码处理,最终生成星轨视频。星轨视频中星星为运动状态,可以取每个运动的端点作为星星当前的位置,然后可以在星轨视频中进行星座的匹配。
步骤S102,将所述图像与所述移动终端中预存的星座模板进行匹配;
本实施例中,在移动终端中预存星座模板,该星座模板包括星座所包括的所有星星,每个星星的相对位置等。有些星座在不同的时间其方位或朝向会发生改变,如北斗星,因此,相对位置包括多种。在其他实施例中,也可以以星星的亮度作为一个附加的匹配,但考虑天气及环境污染等条件,星星的亮度仅作次要的匹配。
本实施例中,可以为不同的地理位置、不同的时间设置星座模板。地理位置可以是基于一经度及纬度范围内的一个区域,而一个月中或者一年中不同的时间,星座的方位或朝向可能发生改变,此时设置该星座的多个星座模板。
本实施例中,可以预定一星星作为参考,然后取得该星座的其他星星的与该星星的相对位置信息,再与星座模板进行匹配。
本实施例中,可以由用户进行手动匹配,如在移动终端上输入星座的名称或者位置信息进行搜索,得到星座模板,然后进行逐个匹配;或者由移动终端自动进行匹配。
本实施例中,如果拍摄的是星轨视频,可以将星轨视频与星座模板进行匹配,然后在星轨视频中识别出不同的星座。
步骤S103,当匹配成功时,在所述图像中标识出对应的星座。
本实施例中,在用户所拍摄的图像与星座模板匹配成功时,图像上标识 出对应的星座,并可以标识出相应的星座名称。
本实施例中,可以将星座的每个星星以连线的方式标识,或者以闪烁的方式进行标识,或者以其他能够醒目的方式进行标识,等等,以提醒用户。
本实施例中,如果拍摄的是星轨视频,可以在星轨视频中标识出星座,如以连线的方式或者闪烁的方式,其中,连线及闪烁与运动轨迹的颜色要不同,以起到标识作用。由于星轨视频为动态,因此,星座也跟随运动。
与相关技术相比,本实施例通过在移动终端中预置星座模板,在用户拍摄星空照片后,可以将所拍摄的照片与星座模板进行匹配,如能够匹配成功,则能识别出对应的星座,在照片上标识出该星座,本实施例在用户拍摄星空照片后,不需要用户进行仔细辨认即能够找到星座,方便快捷,并可提高用户体验。
在一实施例中,在上述图1的实施例的基础上,本实施例在将图像与所述移动终端中预存的星座模板进行匹配的步骤之前包括以下步骤:获取用户当前的位置信息;向用户推送与所述位置信息对应的星座模板,以将所述图像与所推送的星座模板进行匹配。
本实施例中,可以在移动终端中内置定位装置,如GPS等,或者通过移动运营网的基站的定位,得到移动终端的位置信息。位置信息是基于一经度及纬度范围内的一个区域。
在获取移动终端的位置信息后,可以预测该位置出现的星座,移动终端获取该位置出现的星座的星座模板,然后向用户推送,显示在移动终端的屏幕上,用户可以参考显示的星座模板进行拍摄,或者由移动终端直接将所拍摄的图像与所推送的星座模板进行匹配,以提高匹配的速度。
在一实施例中,如图2所示,在上述图1的实施例的基础上,上述步骤S102包括:
步骤S1021,判断所述图像中的像素的亮度是否大于预设值;
步骤S1022,若是,选出所述像素,将所选出的像素的相对位置与所述 星座模板中的像素的相对位置对应进行匹配。
本实施例中,在用户所拍摄的图像中,移动终端判断图像中的像素的亮度是否大于预设值,如果大于,则认为该像素为星星,若图像中的像素的亮度不大于预设值时,舍弃该像素,从而对亮度较低的像素进行了一定程度的过滤,避免了环境光的累计效果对图像造成影响。
本实施例选出像素,即选出图像中所有的星星,将其与星座模板中的像素进行相对位置的匹配。
在一实施例中,如图3所示,在上述图1的实施例的基础上,本实施例在上述步骤S101之前还包括:
步骤S100,获取星座信息,基于所述星座信息生成星座模板,将所述星座模板存储于星座数据库中。
本实施例中,星座信息包括星座名称、星星数量及每个星星的相对位置等,另外还可以包括每个星星的亮度等。本实施例中,移动终端包括所有星座的星座模板。
本实施例中,基于星座信息生成星座模板,将星座模板存储在星座数据库中,以备做星座匹配之用。
本发明实施例还提供一种移动终端,如图4所示,在一实施例中,移动终端包括:
拍摄模块101,设置为:拍摄图像;
在本实施例中,移动终端可以是手机或者平板电脑等。可以为移动终端增加了一种夜拍拍摄模式,用户可以选择该拍摄模式或普通拍摄模式进行拍摄图像,其中,夜拍拍摄模式结合夜间拍摄场景的要求,预先设定了曝光时间、ISO、分辨率、曝光补偿、降噪等参数,还可以根据不同地区不同的星空场景预设不同的参数,供用户拍摄时进行选择。
当用户选择了夜拍拍摄模式,按下拍摄按键或触发虚拟拍摄按键后,移动终端的摄像头进行拍摄,并按照预设的次数进行曝光,如曝光5~10秒。
本实施例中,移动终端也可以显示不同的星座模板,以供用户进行参考,然后再进行拍摄。
本实施例在天气较晴朗的夜间进行拍摄,在大雾天或者环境污染较严重时,不适合拍摄。
本实施例中,移动终端也可以拍摄星轨视频,将所拍摄的图像进行合成处理可以得到星轨视频,例如,将拍摄的第一张图像与第二张图像进行亮度合成处理,得到第一合成图像,将第三张图像与第一合成图像进行亮度合成处理,得到第二合成图像,依次类推,直至全部合成,将第一张图像与所有的合成图像进行编码处理,最终生成星轨视频。星轨视频中星星为运动状态,可以取每个运动的端点作为星星当前的位置,然后可以在星轨视频中进行星座的匹配。
匹配模块102,设置为:将所述图像与所述移动终端中预存的星座模板进行匹配;
本实施例中,在移动终端中预存星座模板,该星座模板包括星座所包括的所有星星,每个星星的相对位置等。有些星座在不同的时间其方位或朝向会发生改变,如北斗星,因此,相对位置包括多种。在其他实施例中,也可以以星星的亮度作为一个附加的匹配,但考虑天气及环境污染等条件,星星的亮度仅作次要的匹配。
本实施例中,可以为不同的地理位置、不同的时间设置星座模板。地理位置可以是基于一经度及纬度范围内的一个区域,而一个月中或者一年中不同的时间,星座的方位或朝向可能发生改变,此时设置该星座的多个星座模板。
本实施例中,可以预定一星星作为参考,然后取得该星座的其他星星的与该星星的相对位置信息,再与星座模板进行匹配。
本实施例中,可以由用户进行手动匹配,如在移动终端上输入星座的名称或者位置信息进行搜索,得到星座模板,然后进行逐个匹配;或者由移动终端自动进行匹配。
本实施例中,如果拍摄的是星轨视频,可以将星轨视频与星座模板进行 匹配,然后在星轨视频中识别出不同的星座。
标识模块103,设置为:当匹配成功时,在所述图像中标识出对应的星座。
本实施例中,在用户所拍摄的图像与星座模板匹配成功时,图像上标识出对应的星座,并可以标识出相应的星座名称。
本实施例中,可以将星座的每个星星以连线的方式标识,或者以闪烁的方式进行标识,或者以其他能够醒目的方式进行标识,等等,以提醒用户。
本实施例中,如果拍摄的是星轨视频,可以在星轨视频中标识出星座,如以连线的方式或者闪烁的方式,其中,连线及闪烁与运动轨迹的颜色要不同,以起到标识作用。由于星轨视频为动态,因此,星座也跟随运动。
与相关技术相比,本实施例通过在移动终端中预置星座模板,在用户拍摄星空照片后,可以将所拍摄的照片与星座模板进行匹配,如能够匹配成功,则能识别出对应的星座,在照片上标识出该星座,本实施例在用户拍摄星空照片后,不需要用户进行仔细辨认即能够找到星座,方便快捷,并可提高用户体验。
在一实施例中,在上述图4的实施例的基础上,移动终端还包括:获取模块,设置为:获取用户当前的位置信息;推送模块,设置为:向用户推送与所述位置信息对应的星座模板,以将所述图像与所推送的星座模板进行匹配。
本实施例中,可以在移动终端中内置定位装置,如GPS等,或者通过移动运营网的基站的定位,得到移动终端的位置信息。位置信息是基于一经度及纬度范围内的一个区域。
在获取移动终端的位置信息后,可以预测该位置出现的星座,移动终端获取该位置出现的星座的星座模板,然后向用户推送,显示在移动终端的屏幕上,用户可以参考显示的星座模板进行拍摄,或者由移动终端直接将所拍摄的图像与所推送的星座模板进行匹配,以提高匹配的速度。
在一实施例中,如图5所示,在上述图4的实施例的基础上,所述匹配模块102包括:
判断单元1021,设置为:判断所述图像中的像素的亮度是否大于预设值;
匹配单元1022,设置为:若所述图像中的像素的亮度大于预设值,选出所述像素,将所选出的像素的相对位置与所述星座模板中的像素的相对位置对应进行匹配。
本实施例中,在用户所拍摄的图像中,移动终端判断图像中的像素的亮度是否大于预设值,如果大于,则认为该像素为星星,若图像中的像素的亮度不大于预设值时,舍弃该像素,从而对亮度较低的像素进行了一定程度的过滤,避免了环境光的累计效果对图像造成影响。
本实施例选出像素,即选出图像中所有的星星,将其与星座模板中的像素进行相对位置的匹配。
在一实施例中,如图6所示,在上述图4的实施例的基础上,所述移动终端还包括:
生成模块100,设置为:获取星座信息,基于所述星座信息生成星座模板,将所述星座模板存储于星座数据库中。
本实施例中,星座信息包括星座名称、星星数量及每个星星的相对位置等,另外还可以包括每个星星的亮度等。本实施例中,移动终端包括所有星座的星座模板。
本实施例中,基于星座信息生成星座模板,将星座模板存储在星座数据库中,以备做星座匹配之用。
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。
上述实施例中的装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。
上述实施例中的装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。
工业实用性
本发明实施例通过在移动终端中预置星座模板,在用户拍摄星空照片后,可以将所拍摄的照片与星座模板进行匹配,如能够匹配成功,则能识别出对应的星座,在照片上标识出该星座。本发明实施例在用户拍摄星空照片后,不需要用户进行仔细辨认即能够找到星座,方便快捷,并可提高用户体验。

Claims (9)

  1. 一种移动终端的拍摄方法,包括:
    移动终端拍摄图像;
    将所述图像与所述移动终端中预存的星座模板进行匹配;
    当匹配成功时,在所述图像中标识出对应的星座。
  2. 根据权利要求1所述移动终端的拍摄方法,其中,所述将图像与所述移动终端中预存的星座模板进行匹配的步骤之前包括:
    获取用户当前的位置信息;
    向用户推送与所述位置信息对应的星座模板,以将所述图像与所推送的星座模板进行匹配。
  3. 根据权利要求1或2所述移动终端的拍摄方法,其中,将所述图像与所述移动终端中预存的星座模板进行匹配的步骤包括:
    判断所述图像中的像素的亮度是否大于预设值;
    若是,选出所述像素,将所选出的像素的相对位置与所述星座模板中的像素的相对位置对应进行匹配。
  4. 根据权利要求1所述移动终端的拍摄方法,其中,所述移动终端拍摄图像的步骤之前包括:
    获取星座信息,基于所述星座信息生成星座模板,将所述星座模板存储于星座数据库中。
  5. 一种移动终端,包括:
    拍摄模块,设置为:拍摄图像;
    匹配模块,设置为:将所述图像与所述移动终端中预存的星座模板进行匹配;
    标识模块,设置为:当匹配成功时,在所述图像中标识出对应的星座。
  6. 如权利要求5所述的移动终端,还包括:
    获取模块,设置为:获取用户当前的位置信息;
    推送模块,设置为:向用户推送与所述位置信息对应的星座模板,以将所述图像与所推送的星座模板进行匹配。
  7. 如权利要求5或6所述的移动终端,其中,所述匹配模块包括:
    判断单元,设置为:判断所述图像中的像素的亮度是否大于预设值;
    匹配单元,设置为:若所述图像中的像素的亮度大于预设值,选出所述像素,将所选出的像素的相对位置与所述星座模板中的像素的相对位置对应进行匹配。
  8. 如权利要求5所述的移动终端,还包括:
    生成模块,设置为:获取星座信息,基于所述星座信息生成星座模板,将所述星座模板存储于星座数据库中。
  9. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1-4任一项的方法。
PCT/CN2015/082098 2014-07-24 2015-06-23 移动终端的拍摄方法及移动终端 WO2016011860A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410355757.2A CN104168420B (zh) 2014-07-24 2014-07-24 移动终端的拍摄方法及移动终端
CN201410355757.2 2014-07-24

Publications (1)

Publication Number Publication Date
WO2016011860A1 true WO2016011860A1 (zh) 2016-01-28

Family

ID=51912028

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/082098 WO2016011860A1 (zh) 2014-07-24 2015-06-23 移动终端的拍摄方法及移动终端

Country Status (2)

Country Link
CN (1) CN104168420B (zh)
WO (1) WO2016011860A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022125895A1 (en) 2020-12-11 2022-06-16 Dupont Nutrition Biosciences Aps Microcrystalline cellulose, compositions, methods of making the same and food products comprising them

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104168420B (zh) * 2014-07-24 2016-10-19 努比亚技术有限公司 移动终端的拍摄方法及移动终端
CN105447094A (zh) * 2015-11-09 2016-03-30 上海斐讯数据通信技术有限公司 星座识别方法及装置、移动终端
CN105554393A (zh) * 2016-01-21 2016-05-04 努比亚技术有限公司 一种移动终端、摄影装置及拍摄照片的方法
CN106060384B (zh) * 2016-05-31 2019-07-19 努比亚技术有限公司 拍照控制方法和装置
CN106294835A (zh) * 2016-08-18 2017-01-04 珠海迈科智能科技股份有限公司 一种信息处理方法及装置
CN109684423A (zh) * 2017-10-18 2019-04-26 安在熙 星座输出系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201629094U (zh) * 2010-04-06 2010-11-10 刘忠毅 辅助观星系统
CN102694967A (zh) * 2011-03-22 2012-09-26 天津三星光电子有限公司 一种实现观星的方法及其装置
CN202798889U (zh) * 2012-09-21 2013-03-13 天津三星光电子有限公司 一种移动终端
US20140039963A1 (en) * 2012-08-03 2014-02-06 Skybox Imaging, Inc. Satellite scheduling system
CN104168420A (zh) * 2014-07-24 2014-11-26 深圳市中兴移动通信有限公司 移动终端的拍摄方法及移动终端

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100724870B1 (ko) * 2005-08-23 2007-06-04 삼성전자주식회사 휴대단말기의 별자리 검색방법
CN103905730B (zh) * 2014-03-24 2015-11-25 努比亚技术有限公司 移动终端的拍摄方法和移动终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201629094U (zh) * 2010-04-06 2010-11-10 刘忠毅 辅助观星系统
CN102694967A (zh) * 2011-03-22 2012-09-26 天津三星光电子有限公司 一种实现观星的方法及其装置
US20140039963A1 (en) * 2012-08-03 2014-02-06 Skybox Imaging, Inc. Satellite scheduling system
CN202798889U (zh) * 2012-09-21 2013-03-13 天津三星光电子有限公司 一种移动终端
CN104168420A (zh) * 2014-07-24 2014-11-26 深圳市中兴移动通信有限公司 移动终端的拍摄方法及移动终端

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022125895A1 (en) 2020-12-11 2022-06-16 Dupont Nutrition Biosciences Aps Microcrystalline cellulose, compositions, methods of making the same and food products comprising them

Also Published As

Publication number Publication date
CN104168420A (zh) 2014-11-26
CN104168420B (zh) 2016-10-19

Similar Documents

Publication Publication Date Title
WO2016011860A1 (zh) 移动终端的拍摄方法及移动终端
US11367158B2 (en) Image capturing method and display method for recognizing a relationship among a plurality of images displayed on a display screen
CN103945129B (zh) 基于移动终端的拍照预览构图指导方法及系统
US10284789B2 (en) Dynamic generation of image of a scene based on removal of undesired object present in the scene
TWI450111B (zh) 用於基於影像捕捉裝置呈現的使用者建議之導引式攝影術之方法、電腦可使用媒體、及裝置
WO2016058456A1 (zh) 拍照方法及智能终端、云端服务器
CN105005960B (zh) 获取水印照片的方法、装置及系统
CN105320695B (zh) 图片处理方法及装置
CN109495686B (zh) 拍摄方法及设备
CN107197153B (zh) 一种照片的拍摄方法及拍摄装置
US10282862B2 (en) Digital image generation and capture hint data
WO2019214574A1 (zh) 图像拍摄方法、装置及电子终端
US20180295273A1 (en) Device and method for detecting regions in an image
WO2014169582A1 (zh) 配置参数发送方法、接收方法及装置
US9479712B2 (en) Image blending based on image reference information
US20120249583A1 (en) Display apparatus, display method, and computer-readable recording medium
CN114982218A (zh) 具有自动对象选择的用于远程图像捕获的装置和方法
CN115552879A (zh) 锚点信息处理方法、装置、设备及存储介质
WO2018028720A1 (zh) 拍摄方法以及拍摄装置
JP2017059121A (ja) 画像管理装置、画像管理方法及びプログラム
JP2014158102A (ja) 撮像装置および画像処理装置
US20190116214A1 (en) Method and system for taking pictures on real time dynamic basis
KR102683362B1 (ko) 이미지를 처리하기 위한 방법 및 그 전자 장치
TW201338518A (zh) 擷取影像方法及影像擷取裝置
KR102628714B1 (ko) 모바일 단말용 사진 촬영 지원 카메라 시스템 및 방법

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15824147

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 23/06/2017)

122 Ep: pct application non-entry in european phase

Ref document number: 15824147

Country of ref document: EP

Kind code of ref document: A1