Summary of the invention
In view of the above problems, it is proposed that the embodiment of the present application is to provide a kind of and to overcome the problems referred to above or a kind of panorama player method of solving the problem at least in part and corresponding a kind of panorama and play device.
In order to solve the problem, the embodiment of the present application discloses a kind of panorama player method, comprising:
End side receives panoramic picture and key images, and wherein, described key images is the high-definition image based on each specific position shooting in panorama;
Receive the image-watching position that user selects;
Judge whether described image-watching position is described specific position;
When described image-watching position is not described specific position, described panoramic picture extracts the topography suitable with described image-watching position, and represent described suitable topography;
When described image-watching position is specific position, represent the high-definition image of described specific position.
Preferably, described panoramic picture and described key images are gathered by image capture device simultaneously, and described image capture device comprises one or more camera.
Preferably, for adopting, described panoramic picture and described key images are transferred to preset service device to described image capture device by different data channel; Described preset service device is transferred to described end side after being used for that the described panoramic picture of different data channel transmission and described key images are carried out stream combination treatment.
Preferably, each position in panorama is represented by the system of coordinates preset; Described judge that whether described image-watching position is that the step of described specific position comprises:
When the coordinate matching of the coordinate of image-watching position that user selects and specific position, judge that described image-watching position is specific position;
When the coordinate of image-watching position that user selects does not mate with the coordinate of specific position, judge that described image-watching position is not specific position.
Preferably, described method also comprises:
The image-watching position that the user received selects is uploaded to described preset service device; The number of times of the image-watching position that each user that described preset service device also formerly receives for adding up selects, described specific position, as specific position, is sent to described image capture device by the image-watching position that the user that number of times meets preset requirement selects.
Meanwhile, disclosed herein as well is a kind of panorama and play device, comprising:
The image-receptive device being positioned at end side, for receiving panoramic picture and key images, wherein, described key images is the high-definition image based on each specific position shooting in panorama;
The position receiving trap being positioned at end side, for receiving the image-watching position that user selects;
The position judging module being positioned at end side, for judging whether described image-watching position is described specific position;
Be positioned at end side first represents module, for when described image-watching position is not described specific position, extracting the topography suitable with described image-watching position in described panoramic picture, and represents described suitable topography;
Be positioned at end side the 2nd represents module, for when described image-watching position is specific position, representing the high-definition image of described specific position.
Preferably, described panoramic picture and described key images are gathered by image capture device simultaneously, and described image capture device comprises one or more camera.
Preferably, for adopting, described panoramic picture and described key images are transferred to preset service device to described image capture device by different data channel; Described preset service device is transferred to described end side after being used for that the described panoramic picture of different data channel transmission and described key images are carried out stream combination treatment.
Preferably, in panorama, each position is represented by the system of coordinates preset; Described position judging module comprises further:
First judges submodule block, for when the coordinate matching of the coordinate of the image-watching position that user selects and specific position, judging that described image-watching position is specific position;
2nd judges submodule block, for when the coordinate of image-watching position that user selects does not mate with the coordinate of specific position, judging that described image-watching position is not specific position.
Preferably, described device also comprises:
The upper transmission module being positioned at end side, for being uploaded to described preset service device by the image-watching position that the user received selects; The number of times of the image-watching position that each user that described preset service device also formerly receives for adding up selects, described specific position, as specific position, is sent to described image capture device by the image-watching position that the user that number of times meets preset requirement selects.
The embodiment of the present application comprises following advantage:
By adopting, panoramic picture, local high-definition image mix the method represented to the embodiment of the present application, and what namely remain panorama looks around sense, clear can represent again the image of key position.
Embodiment
For enabling above-mentioned purpose, the feature and advantage of the application more become apparent, below in conjunction with the drawings and specific embodiments, the application is described in further detail.
One of core idea of the embodiment of the present application is, panoramic picture, local high-definition image mixing is represented.
With reference to Fig. 1, show the flow chart of steps of a kind of panorama player method embodiment of the application, specifically can comprise the steps:
Step 101, end side receives panoramic picture and key images, and wherein, described key images is the high-definition image based on each specific position shooting in panorama; Described panoramic picture can comprise: to by the different positions of multiple camera based on panorama, the topography obtained after shooting synthesize after image, and, carry out taking the panoramic picture obtained to panorama by single camera;
Panorama shooting refers to and carries out horizontal 360-degree and vertical 180 degree of shootings centered by certain point, and at present, panorama is live has been widely used in the fields such as sports event live broadcast, meeting are live, talent competition. The image capture device live for panorama generally can comprise three cameras, and each camera takes the image within the scope of an angle, and the image of each camera shooting just can obtain panoramic picture after splicing synthesis. Image capture device can also be the capture apparatus of single special lens, such as, and flake camera lens, reflection camera lens, it is possible to directly photographing panorama picture.
Step 102, receives the image-watching position that user selects;
In the embodiment of the present application, end side can be web browser, is generally provided with viewing location adjustment option on the broadcasting page of panoramic video. By position adjustment option, it is possible to adjusting all directions adjustment vertically and horizontally needs the position of viewing.
Step 103, judges whether described image-watching position is described specific position;
Specific position is generally the position representing important content in video, and such as, in football race panorama is live, specific position can be the position near forbidden zone; In meeting panorama is live, specific position can be the position that the speaker of meeting sits. When user select viewing location be not specific position time, the topography extracting this viewing location from panoramic picture shows.
Step 104, when described image-watching position is not described specific position, extracts the topography suitable with described image-watching position in described panoramic picture, and represents described suitable topography;
Step 105, when described image-watching position is specific position, represents the high-definition image of described specific position.
In the embodiment of the present application, to specific position shooting have high-definition image, when user select viewing location be specific position time, adopt specific position high-definition image show. Be combined the method carrying out playing with the specific position image slices of high definition by panoramic picture, what namely remain panoramic video looks around sense, and meanwhile, the image of specific position also can show with high-definition image.
Gathering by image capture device as a kind of preferred exemplary of the embodiment of the present application, described panoramic picture and described key images, described image capture device comprises one or more camera simultaneously.
Current panorama acquisition system, image capture device can comprise multiple camera, and the picture captured by each camera is through splicing and combining into panoramic picture, but the splicing of image can make image produce distortion, and it is lower to splice marginal sharpness. In addition, image capture device can also be the capture apparatus of single special lens, such as, and flake camera lens, reflection camera lens, it is possible to directly photographing panorama picture. In fact the resolving power of current image capture device camera be very high, and the image in territory, camera primary focal zone is still high-definition image.
Due to the presentation mode of panoramic video, in fact be that user can only see the topography in panoramic picture to local enlarged reality, mass data user awareness less than, the view data of user's viewing only accounts for a part for all data of video tunnel so that actual transmissions efficiency is very low. Transfer full HD panoramic picture in addition and need very big bandwidth, and the restriction due to existing transmission bandwidth, the panoramic picture of complete high definition cannot directly be presented to user side.
As a kind of preferred exemplary of the embodiment of the present application, for adopting, described panoramic picture and described key images are transferred to preset service device to described image capture device by different data channel; Described preset service device is transferred to described end side after being used for that the described panoramic picture of different data channel transmission and described key images are carried out stream combination treatment.
After image capture device collects panoramic picture and key images, two data paths are used panoramic picture and key images to be uploaded onto the server respectively; One tunnel transmission panoramic picture; The key images of one tunnel transmission high definition. When User Perspective broadcasts panoramic video, panoramic picture and key images are carried out stream combination treatment by server, then by the end side of the data flow after combination treatment to user so that user when viewing panorama is live, can watch the topography of high definition.
As a kind of preferred exemplary of the embodiment of the present application, the number of times of the image-watching position that each user that described preset service device also formerly receives for adding up selects, current specific position, as current specific position, is sent to described image capture device by the image-watching position that the user that number of times meets preset requirement selects.
As a kind of preferred exemplary of the embodiment of the present application, each position in panorama is represented by the system of coordinates preset; Described step 103 can comprise following sub-step:
Sub-step S11, when the coordinate matching of the coordinate of image-watching position that user selects and specific position, judges that described image-watching position is specific position;
Sub-step S12, when the coordinate of image-watching position that user selects does not mate with the coordinate of specific position, judges that described image-watching position is not specific position.
Image capture device is when being spliced into panoramic picture by topography, it is possible to each position in panorama is arranged system of coordinates. In the end side of user, the image-watching position that user selects also is pass through coordinate representation. User after end side chooses image-watching position, the coordinate that end side judges image-watching position whether with specific position coordinate matching. As a kind of preferred exemplary of the embodiment of the present application, specific position can carry out statistics by server by the image-watching position multiple user selected and obtain, it is also possible to be that the director by being responsible for live process determines.
As a kind of preferred exemplary of the embodiment of the present application, described panorama player method can also comprise the following steps:
The image-watching position that the user received selects is uploaded to described preset service device; The number of times of the image-watching position that each user that described preset service device also formerly receives for adding up selects, described specific position, as specific position, is sent to described image capture device by the image-watching position that the user that number of times meets preset requirement selects.
The image-watching position that the user received selects is uploaded onto the server by end side, the number of times of the image-watching position that each user that each end side that server statistics formerly receives is uploaded selects, statistics can be obtained several more image-watching positions of number of times as specific position by server.
With reference to Fig. 2, show the schematic diagram of a kind of panorama Play System in the embodiment of the present application, wherein, panorama Play System 20 can comprise: image capture device 201, panorama output module 202, key images output module 203, server 204, user watch and select module 205, decision-making module 206, stream mixed transport module 207, mixing to present module 208;
Panorama is carried out image collection by image capture device 201, and image capture device 201 can comprise one or more camera, single special camera can direct photographing panorama picture, common camera can gather the topography of a position in panorama.
The image that panorama output module 202 adopts image capture device to gather generates panoramic picture, and exports server 204 to; The topography of each camera collection is spliced by panorama output module 202, is combined into panoramic picture.
The image that key images output module 203 adopts image capture device 201 to gather generates the key images of high definition, and key images exports to server 204; Image capture device 201 adopts high-resolution camera, it is possible to directly photograph high-definition image, and key images output module 203 finds the high-definition image of camera focal position from the topography that camera photographs.
User watches the image-watching position selecting module 205 to receive user's selection; User watches and selects module 205 can be arrange position adjustment option on video web-pages, it is possible to need the position of viewing the adjustment user of four direction up and down.
By the image-watching position that counting user is selected, decision-making module 206 determines that in the image of which position in panorama, which needs the key images as high definition to export.
Panoramic picture in server 204 and key images are carried out stream combination treatment by stream mixed transport module 207, and flow the image after combination treatment and be sent to mixing and present module 208.
It is adopt the topography in panorama to carry out representing or adopt the key images of high definition to represent that mixing presents the image-watching position that module 208 judges that user selects; In panorama, each position is all provided with coordinate figure, and the image of each position also just can be represented by coordinate; The image-watching position that user selects can also be represented by coordinate, when the image-watching position that user selects coordinate and specific position coordinate matching constantly, the key images of employing high definition represents; When the coordinate of the image-watching position that user selects is not with the coordinate matching of specific position, the topography in panorama is adopted to show.
It should be noted that, for embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the embodiment of the present application is not by the restriction of described sequence of operation, because according to the embodiment of the present application, some step can adopt other orders or carry out simultaneously. Secondly, those skilled in the art also should know, the embodiment described in specification sheets all belongs to preferred embodiment, and involved action might not be that the embodiment of the present application is necessary.
With reference to Fig. 3, a kind of panorama showing the application plays the structure block diagram of device embodiment, specifically can comprise such as lower module:
The image-receptive device 301 being positioned at end side, for receiving panoramic picture and key images, wherein, described key images is the high-definition image based on each specific position shooting in panorama; Described panoramic picture comprises: to by the different positions of multiple camera based on panorama, the topography obtained after shooting synthesize after image, and, carry out taking the panoramic picture obtained to panorama by single camera;
The position receiving trap 302 being positioned at end side, for receiving the image-watching position that user selects;
The position judging module 303 being positioned at end side, for judging whether described image-watching position is described specific position;
Be positioned at end side first represents module 304, for when described image-watching position is not described specific position, extracting the topography suitable with described image-watching position in described panoramic picture, and represents described suitable topography;
Be positioned at end side the 2nd represents module 305, for when described image-watching position is specific position, representing the high-definition image of described specific position.
Gathering by image capture device as a kind of preferred exemplary of the embodiment of the present application, described panoramic picture and described key images, described image capture device comprises one or more camera simultaneously.
As a kind of preferred exemplary of the embodiment of the present application, for adopting, described panoramic picture and described key images are transferred to preset service device to described image capture device by different data channel; Described preset service device is transferred to described end side after being used for that the described panoramic picture of different data channel transmission and described key images are carried out stream combination treatment.
As a kind of preferred exemplary of the embodiment of the present application, in panorama, each position is represented by the system of coordinates preset; Described position judging module comprises further:
First judges submodule block, for when the coordinate matching of the coordinate of the image-watching position that user selects and specific position, judging that described image-watching position is specific position;
2nd judges submodule block, for when the coordinate of image-watching position that user selects does not mate with the coordinate of specific position, judging that described image-watching position is not specific position.
As a kind of preferred exemplary of the embodiment of the present application, described device can also comprise:
The upper transmission module being positioned at end side, for being uploaded to described preset service device by the image-watching position that the user received selects; The number of times of the image-watching position that each user that described preset service device also formerly receives for adding up selects, described specific position, as specific position, is sent to described image capture device by the image-watching position that the user that number of times meets preset requirement selects.
For device embodiment, due to itself and embodiment of the method basic simlarity, so what describe is fairly simple, relevant part illustrates see the part of embodiment of the method.
Each embodiment in this specification sheets all adopts the mode gone forward one by one to describe, each embodiment emphasis illustrate be the difference with other embodiments, between each embodiment identical similar part mutually see.
Those skilled in the art are it should be appreciated that the embodiment of the embodiment of the present application can be provided as method, device or computer program. Therefore, the embodiment of the present application can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect. And, the embodiment of the present application can adopt the form at one or more upper computer program implemented of computer-usable storage medium (including but not limited to multiple head unit, CD-ROM, optical memory etc.) wherein including computer usable program code.
The embodiment of the present application is that schema and/or skeleton diagram with reference to the method according to the embodiment of the present application, terminating unit (system) and computer program describe. Should understand can by the combination of the flow process in each flow process in computer program instructions flowchart and/or skeleton diagram and/or square frame and schema and/or skeleton diagram and/or square frame. These computer program instructions can be provided to the treater of multi-purpose computer, special purpose computer, Embedded Processor or other programmable datas process terminating unit to produce a machine so that the instruction performed by the treater of computer or other programmable datas process terminating unit is produced for realizing the device of function specified in schema flow process or multiple flow process and/or skeleton diagram square frame or multiple square frame.
These computer program instructions also can be stored in and computer or other programmable datas can be guided to process in the computer-readable memory that terminating unit works in a specific way, making the instruction that is stored in this computer-readable memory produce the manufacture comprising instruction device, this instruction device realizes the function specified in schema flow process or multiple flow process and/or skeleton diagram square frame or multiple square frame.
These computer program instructions also can be loaded on computer or other programmable datas process terminating unit, make to perform a series of operation steps to produce computer implemented process on computer or other programmable terminal equipment, thus the instruction performed on computer or other programmable terminal equipment is provided for realizing the step of the function specified in schema flow process or multiple flow process and/or skeleton diagram square frame or multiple square frame.
Although having described the preferred embodiment of the embodiment of the present application, but those skilled in the art once the substantially creative concept of cicada, then these embodiments can be made other change and amendment. Therefore, it is intended that the appended claims shall be construed comprise preferred embodiment and fall into all changes and the amendment of the embodiment of the present application scope.
Finally, also it should be noted that, herein, the such as relational terms of first and second grades and so on is only used for separating an entity or operation with another entity or operational zone, and not necessarily requires or imply to there is any this kind of actual relation or sequentially between these entities or operation. And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, so that comprise the process of a series of key element, method, article or terminating unit not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise the key element intrinsic for this kind of process, method, article or terminating unit. When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the terminating unit comprising described key element and also there is other identical element.
A kind of panorama player method the application provided above and a kind of panorama play device, it is described in detail, apply specific case herein the principle of the application and enforcement mode to have been set forth, illustrating just for helping the method understanding the application and core concept thereof of above embodiment; Meanwhile, for one of ordinary skill in the art, according to the thought of the application, all will change in specific embodiments and applications, in sum, this description should not be construed as the restriction to the application.