WO2017113727A1 - 立体片源的播放优化方法及装置 - Google Patents
立体片源的播放优化方法及装置 Download PDFInfo
- Publication number
- WO2017113727A1 WO2017113727A1 PCT/CN2016/089565 CN2016089565W WO2017113727A1 WO 2017113727 A1 WO2017113727 A1 WO 2017113727A1 CN 2016089565 W CN2016089565 W CN 2016089565W WO 2017113727 A1 WO2017113727 A1 WO 2017113727A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- stereoscopic
- offset
- source
- time
- time period
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N13/00—Stereoscopic video systems; Multi-view video systems; Details thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N13/00—Stereoscopic video systems; Multi-view video systems; Details thereof
- H04N13/30—Image reproducers
- H04N13/327—Calibration thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N13/00—Stereoscopic video systems; Multi-view video systems; Details thereof
- H04N13/20—Image signal generators
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N13/00—Stereoscopic video systems; Multi-view video systems; Details thereof
- H04N13/20—Image signal generators
- H04N13/296—Synchronisation thereof; Control thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N13/00—Stereoscopic video systems; Multi-view video systems; Details thereof
- H04N13/30—Image reproducers
- H04N13/398—Synchronisation thereof; Control thereof
Definitions
- the present patent application relates to the field of multimedia technologies, and in particular, to a playback optimization method and apparatus for a stereoscopic chip source.
- the stereoscopic display effect is different on different display devices.
- the factors affecting the stereoscopic effect mainly include the display size of the stereoscopic movie, that is, the size of the display screen, the parallax of the stereoscopic movie, and the like.
- the ordinary adjustment method is to give the film an overall parameter, so that the whole playback process can be played according to this parameter.
- a unified adjustment is bound to cause, some scenes will look better, but most scenes are not ideal.
- the stereo parameters used in each time period are matched, and the stereoscopic playback effect of the stereoscopic source is improved.
- an embodiment of the present invention provides a method for optimizing a stereoscopic source playback, comprising the steps of: acquiring a stereo adjustment parameter related to a time axis of a stereoscopic source; wherein the stereo adjustment parameter includes T offsets.
- the adjustment amount and the time period corresponding to the T offset adjustment amounts respectively; T is a natural number; when the stereoscopic slice source is stereoscopically played, the offset of the screen in each time period is adjusted, and the adjusted offset is The offset adjustment amount corresponding to this time period.
- One embodiment of the present invention provides a computer readable storage medium comprising computer executable instructions that, when executed by at least one processor, cause the processor to perform the above method.
- An embodiment of the present invention further provides a stereoscopic source playback device, including:
- a reading module configured to read, from the readable file, a stereo adjustment parameter related to a time axis of the stereoscopic slice source; wherein the stereo adjustment parameter includes T offset adjustment amounts and corresponding to T offset adjustment amounts respectively Time period; T is a natural number;
- a playback module configured to play a stereoscopic source; wherein, when the stereoscopic source is stereoscopically played, the offset of the screen in each time period is adjusted, and the adjusted offset is an offset adjustment corresponding to the time period. the amount.
- the embodiment of the present invention divides the stereoscopic slice source into T time segments on its time axis, and configures T offset adjustment amounts corresponding to T time segments respectively.
- the T time segments and the corresponding T offset adjustment amounts are the time axis related stereo adjustment parameters of the stereoscopic chip source; when the stereoscopic slice source is stereoscopically played, the pictures played for each time segment can pass the corresponding Offset adjustment, so that the stereo source can be adjusted through the matching parameters on the entire time axis.
- the number of screens is adjusted. Due to the different screen needs to be displayed according to each time period, different stereo adjustment parameters are matched in a targeted manner to ensure that the stereoscopic effect of the three-dimensional film source is optimal at each time period, and is different. Good playback on the display device. Thereby achieving the purpose of optimizing the stereoscopic playback of the entire stereoscopic source.
- the offset adjustment is a signed value; wherein the different symbols represent different offset directions of the left and right views.
- the different offset directions of the left and right views can be represented by symbols, so that the records of the offset adjustment parameters are concise and clear.
- each offset adjustment corresponds to one of the stereoscopic sources, respectively. Since one source is composed of multiple lenses, one continuous lens corresponds to the same offset adjustment, which ensures that the same lens has the same display effect and improves the viewer's visual experience.
- the step of acquiring a stereo adjustment parameter related to a time axis of the stereoscopic slice source includes the following substeps: decomposing the stereoscopic slice source into a lens, and respectively obtaining respective successive lenses constituting the stereoscopic slice source respectively Screen; in the screen corresponding to each successive lens, select T screens of the continuous lens to be adjusted; set the offset adjustment amount for the screen of the selected continuous lens, and set the time period of the screen in the time axis , as the time period corresponding to the offset adjustment amount.
- decomposing the stereoscopic source special stereoscopic optimization can be performed on the special part of the film, so that the process of image adjustment is more detailed, so that the stereoscopic source can be specifically adjusted to play the specific lens during playback. effect.
- the acquired stereo adjustment parameter is matched with a preset type of video player; when the stereoscopic source is stereoscopically played,
- the step of adjusting the offset of the time period screen includes the following substeps:
- the preset type of video player adjusts the offset of the screen in the time period, and the adjusted offset is the offset adjustment amount corresponding to the time period;
- the offset adjustment is performed on the screen in the time period, and the adjusted offset is the sum of the offset adjustment amount and the correction offset corresponding to the time period;
- the correction offset is a view deviation amount of the same effect that the movie player of the preset type and the movie player currently playing the stereoscopic source have the same effect on the same picture.
- the correspondence between the offset adjustment amounts of different movie players is preset; the correction offset is obtained according to the correspondence, which is simple to implement, and is beneficial to reducing the processing complexity of the player.
- the step of stereoscopically playing the stereoscopic chip source further includes: receiving a pressing signal of the preset button; and generating an offset adjustment amount for adjusting the currently played picture according to the received pressing signal. signal.
- the stereoscopic source is stereoscopically played, the user can adjust the stereoscopic effect on the basis of the existing stereoscopic effect according to the needs of the stereoscopic image to meet the needs of different users.
- FIG. 1 is a flow chart of a method for optimizing playback of a stereoscopic sheet source according to a first embodiment of the present invention
- FIG. 2 is a schematic diagram showing the positional relationship between a left view and a right view when the stereoscopic source screen is displayed in a plane according to the first embodiment of the present invention
- FIG. 3 is a schematic diagram showing the positional relationship between the left view and the right view when the stereoscopic source screen is displayed in a convex manner according to the first embodiment of the present invention
- FIG. 4 is a schematic diagram showing the positional relationship between the left view and the right view when the stereoscopic source screen is recessed and displayed according to the first embodiment of the present invention
- FIG. 5 is a flowchart of a method for optimizing playback of a stereoscopic sheet source according to a second embodiment of the present invention
- FIG. 6 is a schematic structural view of a playback device of a stereoscopic sheet source according to a fourth embodiment of the present invention.
- a first embodiment of the present invention relates to a method for optimizing playback of a stereoscopic slice source, and a specific process is shown in FIG.
- step 101 the stereoscopic sheet source is subjected to lens decomposition on the time axis to obtain screens corresponding to the respective successive lenses constituting the stereoscopic sheet source.
- the lens is decomposed on the stereo source time axis to prepare for subsequent acquisition of stereo adjustment parameters and offset adjustment for the corresponding picture of the continuous lens.
- step 102 the screen of the continuous lens to be adjusted is selected to generate a stereo adjustment parameter.
- T screens of the continuous lenses to be adjusted are selected, and the offset adjustment amount is set for the screen corresponding to the continuous lens to be adjusted, and combined with the stereoscopic image
- the time period in the source of the film generates stereo adjustment parameters and saves them in a readable file to ensure a high degree of matching between the picture and the stereo adjustment parameters to ensure high quality stereoscopic effects.
- the stereo adjustment mode is generally implemented by shifting the position of the stereoscopic image.
- the left and right views of the stereoscopic source source are completely overlapped on the screen 2, a planar effect is obtained.
- the relative positional relationship between the left view and the right view on the screen is as shown in FIG. 2.
- the reference numeral 1 in FIG. 2 indicates a screen in which the left view and the right view completely overlap, and the reference numeral 2 indicates the screen.
- the left view 11 is shifted to the right by N pixels
- the right view 12 is shifted to the left by N pixels
- the left view and the right view are displayed on the screen 2 in a relative positional relationship, as shown in FIG.
- the left view 11 is shifted to the left by N pixels
- the right view 12 is shifted to the right by N pixels, and the relative positional relationship between the left view and the right view on the screen 2 is as shown in FIG.
- the corresponding offset adjustment amount in each time period of the stereoscopic slice source is configured by the above offset method, and is saved as a stereoscopic parameter readable file related to the stereoscopic slice source time axis, and the offset of the time period T i in the readable file
- the adjustment amount is N i
- the offset adjustment amount N i is a signed value
- the different symbols represent different offset directions of the left and right views. For example, N i is positive, representing the left view moving N i to the left, the right view moving N i to the right; N i being negative, representing the left view moving to the right
- the offset adjustment amount N i lasts for the time from the start time of the corresponding time period T i to the end time of the time period, for example, T i is 1 to 1:30 (ie, 1 minute to 1 minute 30 seconds, The offset adjustment of the left and right views is N i ).
- step 103 the movie player reads the stereo adjustment parameter from the readable file to obtain the start time of the time period corresponding to each offset adjustment amount.
- step 104 the offset adjustment is performed during the stereoscopic source playback according to the stereo adjustment parameters read from the readable file. Specifically, the video player compares the current playing time with the obtained starting time in real time, and if the current playing time is the same as the starting time, searches for the offset adjustment corresponding to the time period in which the starting time is located. The offset of the currently played picture is adjusted according to the found offset adjustment amount until the end time of the time period of the start time is reached.
- the offset adjustment amount corresponding to the current time period is searched, and the parallax adjustment of the screen played in the time period is performed, thereby ensuring that the stereo adjustment parameter is synchronized with the same.
- a second embodiment of the present invention relates to a playback optimization method for a stereoscopic sheet source.
- the present embodiment is further improved on the basis of the first embodiment, and the main improvement is that in the second embodiment, the acquired stereo adjustment parameters are matched with the preset type of video player, that is, the preset stereoscopic
- the adjustment parameters are for a particular type of movie player, so when playing a movie, you need to determine whether the movie player that actually plays the movie is a preset type of movie player (ie, whether it is a movie that matches the stereo adjustment parameters). player).
- the offset adjustment is performed on the screen in the time period, and the adjusted offset is an offset adjustment amount corresponding to the time period (with the first embodiment)
- the adjustment mode is the same); if it is not a preset type of movie player, the offset adjustment is performed on the screen in the time period, and the adjusted offset is the offset adjustment amount corresponding to the time period and Correct the sum of the offsets.
- the correction offset is a view deviation amount of the same effect that the movie player of the preset type and the movie player currently playing the stereoscopic source have the same effect on the same picture.
- step 504 it is determined whether the type of the movie player playing the stereoscopic source is a preset type of video player, that is, whether the movie player playing the stereoscopic source is a movie player that matches the stereo adjustment parameter. Judging the type of the video player is to prepare for the subsequent offset adjustment of the image. In order to achieve the same stereoscopic effect as the preset movie player, the corresponding offset needs to be called according to the player type. Adjustment amount.
- step 507 the offset adjustment is performed during the stereoscopic source playback according to the stereo adjustment parameter read from the readable file. This step is the same as step 104, and details are not described herein again.
- the process proceeds to step 505, and the corresponding correction offset is obtained according to the preset correspondence of the offset adjustment amounts of different movie players.
- N i is a positive sign
- the B type video player and words if the same display effect to be achieved, it is necessary to adjust the left and right views N 'i is the offset. That is, the A-type movie player and the B-type movie player have the same amount of view deviation (ie, the corrected offset) for the same effect as
- the offset adjustment is performed during the playback of the stereoscopic slice source based on the stereo adjustment parameters read from the readable file and the acquired correction offset.
- a third embodiment of the present invention relates to a playback optimization method for a stereoscopic sheet source.
- the third embodiment is further optimized on the basis of the first or second embodiment, and the main improvement is:
- a preset button is added, and the button can generate a pressing signal, and the player generates an offset adjustment amount signal for adjusting the currently played picture by receiving a pressing signal of the preset button, thereby completing the pair Adjustment of the playback screen.
- the user can define the direction key of the computer keyboard “ ⁇ ” as the forward offset adjustment, and define the direction key “ ⁇ ” as the negative offset adjustment. Then, if the user wants the screen during the process of playing the stereo source on the computer. A more concave effect can be achieved by pressing the " ⁇ " key, and if the user wishes to present a more convex effect, the " ⁇ " key can be pressed to achieve.
- pressing the button and generating an offset adjustment amount by pressing the button can adjust the currently playing stereoscopic image again on the basis of the existing stereoscopic effect, thereby more conforming to the user's visual experience and improving the user experience.
- the same parts as those in the first embodiment, the methods and the steps in the first embodiment are applicable to the embodiment, and are not described herein.
- a fourth embodiment of the present invention relates to a playback device for a stereoscopic source, as shown in FIG. 6, comprising:
- a reading module configured to read, from the readable file, a stereo adjustment parameter related to a time axis of the stereoscopic slice source; wherein the stereo adjustment parameter includes T offset adjustment amounts and corresponding to T offset adjustment amounts respectively Time period; T is a natural number.
- a playback module configured to play a stereoscopic source; wherein, when the stereoscopic source is stereoscopically played, the offset of the screen in each time period is adjusted, and the adjusted offset is an offset adjustment corresponding to the time period. the amount.
- each offset adjustment amount corresponds to one of the stereoscopic sheet sources, respectively.
- the playing module further includes:
- Obtaining a sub-module configured to acquire a start time of a time period corresponding to each offset adjustment amount
- a comparison sub-module for comparing the current playing time with the obtained starting time in real time
- the adjustment submodule is configured to adjust the offset of the currently played picture according to the found offset adjustment amount until the end time of the time period of the start time is reached.
- the present embodiment is an apparatus embodiment corresponding to the first embodiment, and the present embodiment can be implemented in cooperation with the first embodiment.
- the related technical details mentioned in the first embodiment are still effective in the present embodiment, and are not described herein again in order to reduce repetition. Accordingly, the related art details mentioned in the present embodiment can also be applied to the first embodiment.
- each module involved in this embodiment is a logic module.
- a logical unit may be a physical unit, a part of a physical unit, or multiple physical entities. A combination of units is implemented.
- the present embodiment does not introduce a unit that is not closely related to solving the technical problem proposed by the present invention, but this does not mean that there are no other units in the present embodiment.
- the steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two.
- Software modules can reside in random access memory (RAM), flash memory, read only memory (ROM), programmable read only memory (PROM), erasable read only memory (PROM), erasable and programmable only Read memory (EPROM), electrically erasable programmable read only memory (EEPROM), registers, hard disk, removable disk, compact disk read only memory (CD-ROM), or any other form known in the art Storage media.
- the storage medium may be integral to the processor.
- the processor and the storage medium can reside in an application specific integrated circuit (ASIC).
- the ASIC can reside in a computing device or user terminal, or the processor and The storage medium can reside as a discrete component in a computing device or user terminal.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
- Stereoscopic And Panoramic Photography (AREA)
Abstract
本发明实施例涉及多媒体技术领域,公开了一种立体片源的播放优化方法及装置。本发明部分实施例中,包含以下步骤:获取与立体片源的时间轴相关的立体调整参数;其中,立体调整参数包含T个偏移调整量和分别与T个偏移调整量相对应的时间段;T为自然数;在立体播放所述立体片源时,对处于时间段的画面进行偏移量的调整,调整的偏移量为与该时间段相对应的偏移调整量。以立体片源的时间轴为主线,对各时间段画面所需达到的立体效果配置与其相适合的偏移调整量,保证在对立体片源在时间轴上进行视差调整过程中,各时间段所使用的立体参数均是匹配的,提高了立体片源的立体播放效果。
Description
交叉引用
本申请引用于2015年12月28日递交的第201511014472.3号中国专利申请,其通过引用被全部并入本申请。
本专利申请涉及多媒体技术领域,特别涉及一种立体片源的播放优化方法及装置。
随着3D显示技术的发展,立体显示的应用也越来越广,而对于同一个立体片源,比如电影,在不同的显示设备上,立体显示效果不同。在观看过程中,影响立体效果的因素主要有立体影片的显示大小,即显示屏幕的大小,立体影片的视差等。
发明人在实现本发明的过程中发现,而对于立体影片,一般都是适应电影院观看的影片,当这些影片在其他设备上播放时,如虚拟现实Virtual Reality(VR)设备,整体的立体效果就会发生变化,也就是说,在电影院播放效果最好的立体影片,在VR设备上效果不一定最好,那么,为了有较好的立体效果,就需要对立体影片进行立体调整。而普通的调整方法是对影片给一个整体的参数,使整个播放过程中按照这个参数来进行播放,然而不同场景达到最优的立体效果,所需要的参数不同,若使用同一个参数对所有场景进行统一调整,势必会引起,一些场景看起来会比较好,但多数场景效果并不理想。
发明内容
本发明部分实施例的目的在于提供一种立体片源播放优化方法及装置,以立体片源的时间轴为主线,对各时间段画面所需达到的立体效果配置与其相适合的偏移调整量,保证在对立体片源在时间轴上进行视差调整过程中,各时间段所使用的立体参数均是匹配的,提高了立体片源的立体播放效果。
为解决上述技术问题,本发明的实施方式提供了一种立体片源播放优化方法,包含以下步骤:获取与立体片源的时间轴相关的立体调整参数;其中,立体调整参数包含T个偏移调整量和分别与T个偏移调整量相对应的时间段;T为自然数;在立体播放立体片源时,对处于各时间段的画面进行偏移量的调整,调整的偏移量为与该时间段相对应的偏移调整量。
本发明的一个实施例提供了一种计算机可读存储介质,包括计算机可执行指令,所述计算机可执行指令在由至少一个处理器执行时致使所述处理器执行上述方法。
本发明的实施方式还提供了一种立体片源播放装置,包含:
读取模块,用于从可读文件中读取与立体片源的时间轴相关的立体调整参数;其中,立体调整参数包含T个偏移调整量和分别与T个偏移调整量相对应的时间段;T为自然数;
播放模块,用于播放立体片源;其中,在立体播放立体片源时,对处于各时间段的画面进行偏移量的调整,调整的偏移量为与该时间段相对应的偏移调整量。
本发明实施方式相对于现有技术而言,将立体片源在其时间轴上划分为T个时间段,并对T个时间段分别配置有T个与之相对应的偏移调整量,此T个时间段及与之对应的T个偏移调整量即为立体片源的时间轴相关的立体调整参数;在立体播放立体片源时,对各时间段播放的画面均可通过所对应的偏移量调整,这样立体片源在整个时间轴上都可通过与之相匹配的调整参
数来调整画面,由于根据各时间段需要显示的不同的画面需要,有针对性的匹配了不同的立体调整参数,保证立体片源在各时间段的立体效果均达到最优,而且在不同的显示设备上都能达到很好的播放效果。从而达到优化整个立体片源立体播放的目的。
在一个实施例中,偏移调整量为带符号的数值;其中,不同符号表示左右视图的不同偏移方向。可通过符号表示左右视图的不同偏移方向,使得偏移调整参数的记录简洁清楚。而且,在对播放画面进行调整的过程中只需要根据偏移调整量符号就能判断该往哪个方向偏移,使得立体调整的过程变得更加方便快捷。
在一个实施例中,每个偏移调整量分别与立体片源中的一个连续镜头相对应。由于一个片源是由多个镜头组成的,一个连续的镜头对应相同的偏移调整量,保证了同一个镜头的画面具有相同的显示效果,提高了观看者的视觉体验。
在一个实施例中,获取与立体片源的时间轴相关的立体调整参数的步骤中,包含以下子步骤:将立体片源进行镜头的分解,得到组成该立体片源的各连续镜头分别对应的画面;在各连续镜头分别对应的画面中,选择T个需要调整的连续镜头的画面;对选择的连续镜头的画面,设置偏移调整量,并将该画面在时间轴内所处的时间段,作为与该偏移调整量相对应的时间段。通过将立体片源进行分解,可以将影片中特别的部分进行特殊的立体优化,使得画面调整的过程更加细致,从而使得立体片源在播放过程中,能够有针对性地调整特定镜头的画面播放效果。
在一个实施例中,在获取与立体片源的时间轴相关的立体调整参数的步骤中,获取的立体调整参数与预设类型的影片播放器相匹配;在立体播放立体片源时,对处于时间段的画面进行偏移量的调整的步骤中,包含以下子步骤:
判断播放立体片源的影片播放器是否为预设类型的影片播放器;
如果为预设类型的影片播放器,则预设类型的影片播放器对处于时间段的画面进行偏移量的调整,调整的偏移量为与该时间段相对应的偏移调整量;
如果不为预设类型的影片播放器,则对处于时间段的画面进行偏移量的调整,调整的偏移量为与该时间段相对应的偏移调整量和修正偏移量之和;其中,修正偏移量为预设类型的影片播放器与当前播放立体片源的影片播放器对相同画面相同效果的视图偏差量。通过修正偏移量可以校正当前播放器与预设播放器在播放相同画面相同效果的视图偏差量,解决当前影片播放器不是预设播放器时,因偏移调整量不同所带来的立体效果不理想的问题,即可使得同一个立体片源在不同的播放器上都能达到较好的立体播放效果。
在一个实施例中,预设不同影片播放器的偏移调整量的对应关系;根据对应关系获取修正偏移量,实现简单,有利于降低播放器的处理复杂度。
在一个实施例中,在立体播放所述立体片源的步骤中,还包含:接收预设按键的按压信号;根据接收到的按压信号生成用于对当前播放的画面进行调整的偏移调整量信号。在立体播放立体片源时,用户可以根据对立体画面的需要,在已有的立体效果的基础上,对立体效果再度调整,满足不同用户需要。
图1是根据本发明第一实施方式的立体片源的播放优化方法的流程图;
图2是根据本发明第一实施方式中的立体片源画面平面显示时,左视图与右视图的位置关系示意图;
图3是根据本发明第一实施方式中的立体片源画面凸出显示时,左视图与右视图的位置关系示意图;
图4是根据本发明第一实施方式中的立体片源画面凹进显示时,左视图与右视图的位置关系示意图;
图5是根据本发明第二实施方式的立体片源的播放优化方法的流程图;
图6是根据本发明第四实施方式的立体片源的播放装置的结构示意图。
为使本发明部分实施例的目的、技术方案和优点更加清楚,下面将结合附图对本发明的各实施方式进行详细的阐述。然而,本领域的普通技术人员可以理解,在本发明各实施方式中,为了使读者更好地理解本申请而提出了许多技术细节。但是,即使没有这些技术细节和基于以下各实施方式的种种变化和修改,也可以实现本申请所要求保护的技术方案。
本发明的第一实施方式涉及一种立体片源的播放优化方法,具体流程如图1所示。
在步骤101中,将立体片源在时间轴上进行镜头分解,得到组成该立体片源的各连续镜头分别对应的画面。在立体片源时间轴上对其进行镜头分解,为后续获取立体调整参数及对连续镜头对应的画面进行偏移量调整做准备。
接着,在步骤102中,选择需要调整的连续镜头的画面,生成立体调整参数。具体地说,在通过步骤101得到的各连续镜头分别对应的画面中,选择T个需要调整的连续镜头的画面,对需要调整的连续镜头对应的画面,设置偏移调整量,结合其在立体片源中所处的时间段,生成立体调整参数,并保存在可读文件中,以保证画面与立体调整参数的高度匹配,保证得到高质量的立体效果。
具体的说,立体调整方式一般是通过偏移立体图像的位置来实现的,当立体片源左视图与右视图正常完全重叠在屏幕2上时,得到的是平面效果,
左视图与右视图在屏幕上的相对位置关系如图2所示,图2中的标号1表示左视图与右视图完全重叠的画面,标号2表示屏幕。
当图像需要整体凸出显示时,左视图11向右平移N个像素,右视图12向左平移N个像素,左视图与右视图在屏幕2上显示的相对位置关系,如图3所示。
当图像整体需要凹进显示时,左视图11向左平移N个像素,右视图12向右平移N个像素,左视图与右视图在屏幕2上的相对位置关系,如图4所示。
通过以上偏移方法配置出立体片源各时间段内相应的偏移调整量,并保存为与立体片源时间轴相关的立体参数可读文件,该可读文件中时间段Ti的偏移调整量为Ni,偏移调整量Ni为带符号的数值,不同符号表示左右视图的不同偏移方向。比如说,Ni为正,代表左视图向左移动Ni,右视图向右移动Ni;Ni为负,代表左视图向右移动|Ni|,右视图向左移动|Ni|。偏移调整量Ni持续的时间为其对应的时间段Ti的起始时间到该时间段的结束时间,如Ti为1~1:30(即第1分钟到第1分30秒,左右视图的偏移调整量为Ni)。
也就是说,在本步骤中,最终得到可读文件中,将保存有若干(Ni,Ti),每一个(Ni,Ti)对应一个连续镜头。
接着,在步骤103中,影片播放器从可读文件中读取立体调整参数,获取各偏移调整量所对应时间段的起始时间。
接着,在步骤104中,根据从可读文件中读取的立体调整参数,在立体片源播放过程中进行偏移量的调整。具体地说,影片播放器实时将当前播放时间与获得的起始时间对比,如果当前的播放时间与所述起始时间相同,则查找与该起始时间所在时间段相对应的偏移调整量,根据查找到的偏移调整量对当前播放的画面进行偏移量的调整,直至到达起始时间所在时间段的结束时间。
通过实时监控立体影片的播放时间段,查找当前时间段所对应的偏移调整量,并对该时间段内播放的画面进行视差调整,保证了立体调整参数与其同步。
不难发现,在本实施方式中,由于根据各时间段需要显示的不同的画面需要,有针对性的匹配了不同的立体调整参数,保证立体片源在各时间段的立体效果均达到最优,而且在不同的显示设备上都能达到很好的播放效果。从而达到优化整个立体片源立体播放的目的。而且,通过在各连续镜头分别对应的画面中,选择若干个需要调整的连续镜头的画面,对选择的连续镜头的画面,设置偏移调整量,可以将影片中特别的部分进行特殊的立体优化,从而使得立体片源在播放过程中,能够有针对性地调整特定镜头的画面播放效果。
本发明的第二实施方式涉及一种立体片源的播放优化方法。本实施方式在第一实施方式的基础上做了进一步改进,主要改进之处在于:在第二实施方式中,获取的立体调整参数与预设类型的影片播放器相匹配,即预先设置的立体调整参数是针对某一特定类型的影片播放器的,因此在播放影片时,需要判断实际播放影片的影片播放器是否为预设类型的影片播放器(即是否为与立体调整参数相匹配的影片播放器)。如果为预设类型的影片播放器,则对处于所述时间段的画面进行偏移量的调整,调整的偏移量为与该时间段相对应的偏移调整量(与第一实施方式的调整方式相同);如果不为预设类型的影片播放器,则对处于所述时间段的画面进行偏移量的调整,调整的偏移量为与该时间段相对应的偏移调整量和修正偏移量之和。其中,修正偏移量为预设类型的影片播放器与当前播放立体片源的影片播放器对相同画面相同效果的视图偏差量。
通过修正偏移量对不同的影片播放器的偏移量进行修正,解决当前影片播放器不是预设播放器时,因偏移调整量不同所带来的立体效果不理想的问
题,即可使得同一个立体片源在不同的播放器上都能达到较好的立体播放效果。
本实施方式的具体流程如图5所示,步骤501至步骤503分别与第一实施例中相对应的步骤101至步骤103相同,在此不再赘述。
在步骤504中,判断播放立体片源的影片播放器类型是否为预设类型的影片播放器,即判断播放立体片源的影片播放器,是否为与立体调整参数相匹配的影片播放器。对影片播放器的类型进行判断,是为后续对图像进行偏移量调整做准备,为达到与预设影片播放器对相同画面达到相同的立体效果,需要根据播放器类型调用相对应的偏移调整量。
若判断结果为是,进入步骤507,根据从可读文件中读取的立体调整参数,在立体片源播放过程中进行偏移量的调整,本步骤与步骤104相同,在此不再赘述。
若判断结果为否,则进入步骤505,根据预设的不同影片播放器的偏移调整量的对应关系,获取相对应的修正偏移量。比如说,对于A类型的影片播放器而言,为达到特定的显示效果,需要将左右视图调整Ni的偏移量(Ni的符号为正),然而,对于B类型的影片播放器而言,如果要达到相同的显示效果,则需要将左右视图调整N’i的偏移量。也就是说,A类型的影片播放器与B类型的影片播放器,对相同画面相同效果的视图偏差量(即修正偏移量)为|Ni-N’i|。
接着,进入步骤506,根据从可读文件中读取的立体调整参数和获取的修正偏移量,在立体片源的播放过程中进行偏移量的调整。通过对非预设类型的播放器进行调整偏移量的修正之后,可使得同一个立体片源在不同的播放器上都能达到较好的立体播放效果。
本发明的第三实施方式涉及一种立体片源的播放优化方法。第三实施方式在第一或第二实施方式的基础上做了进一步优化,主要改进之处在于:在
本发明第三实施方式中,增设一预设按键,按键可产生按压信号,播放器通过接收预设按键的按压信号生成用于对当前播放的画面进行调整的偏移调整量信号,从而完成对播放画面的调整。
比如说,用户可以定义电脑键盘的方向键“↑”为正向偏移调整,定义方向键“↓”为负向偏移调整,那么在电脑上播放立体片源的过程中,如果用户希望画面呈现更凹的效果,可以按压“↑”键来实现,同样如果用户希望呈现更凸的效果可以按压“↓”键来实现。
在立体播放过程中,按压按键,通过按压按键产生偏移调整量,即可在当前已有的立体效果基础上,对当前播放立体画面进行再次调整,更加贴合用户的视觉感受,提高用户体验。此外,本实施例中与第一实施例中相同的部分,第一实施例中的方法及步骤均适用于本实施例,在此不做赘述。
上面各种方法的步骤划分,只是为了描述清楚,实现时可以合并为一个步骤或者对某些步骤进行拆分,分解为多个步骤,只要包含相同的逻辑关系,都在本专利的保护范围内;对算法中或者流程中添加无关紧要的修改或者引入无关紧要的设计,但不改变其算法和流程的核心设计都在该专利的保护范围内。
本发明第四实施方式涉及一种立体片源的播放装置,如图6所示,包含:
读取模块,用于从可读文件中读取与立体片源的时间轴相关的立体调整参数;其中,立体调整参数包含T个偏移调整量和分别与T个偏移调整量相对应的时间段;T为自然数。
播放模块,用于播放立体片源;其中,在立体播放立体片源时,对处于各时间段的画面进行偏移量的调整,调整的偏移量为与该时间段相对应的偏移调整量。
进一步地,每个偏移调整量分别与立体片源中的一个连续镜头相对应。
在本实施方式中,播放模块进一步包含:
获取子模块,用于获取各偏移调整量所对应的时间段的起始时间;
对比子模块,用于实时地将当前的播放时间与获取的起始时间进行对比;
查找子模块,用于在当前的播放时间与起始时间相同时,查找与该起始时间所在时间段相对应的偏移调整量;
调整子模块,用于根据查找到的偏移调整量对当前播放的画面进行偏移量的调整,直至到达起始时间所在时间段的结束时间。
不难发现,本实施方式为与第一实施方式相对应的装置实施例,本实施方式可与第一实施方式互相配合实施。第一实施方式中提到的相关技术细节在本实施方式中依然有效,为了减少重复,这里不再赘述。相应地,本实施方式中提到的相关技术细节也可应用在第一实施方式中。
值得一提的是,本实施方式中所涉及到的各模块均为逻辑模块,在实际应用中,一个逻辑单元可以是一个物理单元,也可以是一个物理单元的一部分,还可以以多个物理单元的组合实现。此外,为了突出本发明的创新部分,本实施方式中并没有将与解决本发明所提出的技术问题关系不太密切的单元引入,但这并不表明本实施方式中不存在其它的单元。
结合本文中所揭示的实施例而描述的方法或算法的步骤可直接体现于硬件中,由处理器执行的软件模块中或所述两者的组合中。软件模块可驻留在随机存取存储器(RAM)、快闪存储器、只读存储器(ROM)、可编程只读存储器(PROM),可擦除只读存储器(PROM)、可擦除可编程只读存储器(EPROM)、电可擦除可编程只读存储器(EEPROM)、寄存器、硬盘、可装卸式盘、压缩光盘只读存储器(CD-ROM)或此项技术中已知的任一其他形式的存储媒体。在替代方案中,存储媒体可与处理器成一体式。处理器及存储媒体可驻留在专用集成电路(ASIC)中。ASIC可驻留在计算装置或用户终端中,或者,处理器及存
储媒体可作为离散组件驻留在计算装置或用户终端中。
本领域的普通技术人员可以理解,上述各实施方式是实现本发明的具体实施例,而在实际应用中,可以在形式上和细节上对其作各种改变,而不偏离本发明的精神和范围。
Claims (11)
- 一种立体片源的播放优化方法,包含以下步骤:获取与立体片源的时间轴相关的立体调整参数;其中,所述立体调整参数包含T个偏移调整量和分别与所述T个偏移调整量相对应的时间段;所述T为自然数;在立体播放所述立体片源时,对处于所述时间段的画面进行偏移量的调整,调整的偏移量为与该时间段相对应的偏移调整量。
- 根据权利要求1所述的立体片源的播放优化方法,其中,所述偏移调整量为带符号的数值;其中,不同符号表示左右视图的不同偏移方向。
- 根据权利要求1或2所述的立体片源的播放优化方法,其特征在于,每个所述偏移调整量分别与所述立体片源中的一个连续镜头相对应。
- 根据权利要求3所述的立体片源的播放优化方法,其中,所述获取与立体片源的时间轴相关的立体调整参数的步骤中,包含以下子步骤:将所述立体片源进行镜头的分解,得到组成该立体片源的各连续镜头分别对应的画面;在所述各连续镜头分别对应的画面中,选择T个需要调整的连续镜头的画面;对所述选择的连续镜头的画面,设置偏移调整量,并将该画面在所述时间轴内所处的时间段,作为与该偏移调整量相对应的时间段。
- 根据权利要求1至4中任一项所述的立体片源的播放优化方法,其中,所述获取与立体片源的时间轴相关的立体调整参数的步骤中,将获取的立体调整参数保存在可读文件中;在所述立体播放所述立体片源的步骤前,从所述可读文件中读取所述立体调整参数;在对处于所述时间段的画面进行偏移量的调整的步骤中,包含以下子步骤:获取所述读取的各偏移调整量所对应的时间段的起始时间;实时地将当前的播放时间与所述获取的起始时间进行对比;如果当前的播放时间与所述起始时间相同,则查找与该起始时间所在时间段相对应的偏移调整量;根据所述查找到的偏移调整量对当前播放的画面进行偏移量的调整,直至到达所述起始时间所在时间段的结束时间。
- 根据权利要求1至5中任一项所述的立体片源的播放优化方法,其中,在所述获取与立体片源的时间轴相关的立体调整参数的步骤中,获取的立体调整参数与预设类型的影片播放器相匹配;所述在立体播放所述立体片源时,对处于所述时间段的画面进行偏移量的调整的步骤中,包含以下子步骤:判断播放所述立体片源的影片播放器是否为所述预设类型的影片播放器;如果为所述预设类型的影片播放器,则所述预设类型的影片播放器对处于所述时间段的画面进行偏移量的调整,调整的偏移量为与该时间段相对应的偏移调整量;如果不为所述预设类型的影片播放器,则对处于所述时间段的画面进行偏移量的调整,调整的偏移量为与该时间段相对应的偏移调整量和修正偏移量之和;其中,所述修正偏移量为所述预设类型的影片播放器与当前播放所述立 体片源的影片播放器对相同画面相同效果的视图偏差量。
- 根据权利要求6所述的立体片源的播放优化方法,其中,还包含:预设不同影片播放器的偏移调整量的对应关系;根据所述对应关系获取所述修正偏移量。
- 根据权利要求1至7中任一项所述的立体片源的播放优化方法,其中,在所述立体播放所述立体片源的步骤中,还包含:接收预设按键的按压信号;根据所述接收到的按压信号生成用于对当前播放的画面进行调整的偏移调整量信号。
- 一种立体片源的播放装置,其中,包含:读取模块,用于从可读文件中读取与立体片源的时间轴相关的立体调整参数;其中,所述立体调整参数包含T个偏移调整量和分别与所述T个偏移调整量相对应的时间段;所述T为自然数;播放模块,用于播放所述立体片源;其中,在立体播放所述立体片源时,对处于所述时间段的画面进行偏移量的调整,调整的偏移量为与该时间段相对应的偏移调整量。
- 根据权利要求9所述的立体片源的播放装置,其中,每个所述偏移调整量分别与所述立体片源中的一个连续镜头相对应;所述播放模块包含:获取子模块,用于获取所述各偏移调整量所对应的时间段的起始时间;对比子模块,用于实时地将当前的播放时间与所述获取的起始时间进行对比;查找子模块,用于在当前的播放时间与所述起始时间相同时,查找与该 起始时间所在时间段相对应的偏移调整量;调整子模块,用于根据所述查找到的偏移调整量对当前播放的画面进行偏移量的调整,直至到达所述起始时间所在时间段的结束时间。
- 一种计算机可读存储介质,包括计算机可执行指令,所述计算机可执行指令在由至少一个处理器执行时致使所述处理器执行如权利要求1-8任一项所述的方法。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US15/241,196 US20170188009A1 (en) | 2015-12-28 | 2016-08-19 | Method for optimizing playback of stereoscopic film source and apparatus |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511014472.3A CN105898280A (zh) | 2015-12-28 | 2015-12-28 | 立体片源的播放优化方法及装置 |
CN201511014472.3 | 2015-12-28 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US15/241,196 Continuation US20170188009A1 (en) | 2015-12-28 | 2016-08-19 | Method for optimizing playback of stereoscopic film source and apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017113727A1 true WO2017113727A1 (zh) | 2017-07-06 |
Family
ID=57002536
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/089565 WO2017113727A1 (zh) | 2015-12-28 | 2016-07-10 | 立体片源的播放优化方法及装置 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105898280A (zh) |
WO (1) | WO2017113727A1 (zh) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106534968A (zh) * | 2016-11-14 | 2017-03-22 | 墨宝股份有限公司 | 一种3d视频在vr设备中的播放方法及系统 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102655597A (zh) * | 2011-11-23 | 2012-09-05 | 上海华博信息服务有限公司 | 可实时动态调节立体视频视差曲线的播放系统 |
CN103533333A (zh) * | 2013-10-28 | 2014-01-22 | 青岛海信电器股份有限公司 | 景深调节方法、景深调节装置和显示装置 |
US20140035903A1 (en) * | 2012-08-01 | 2014-02-06 | Dreamworks Animation Llc | Techniques for smoothing scripted stereo curves for stereoscopic computer animation |
CN103959336A (zh) * | 2011-12-12 | 2014-07-30 | 索尼公司 | 图像处理装置、其方法和非暂时性计算机可读存储介质 |
CN104883577A (zh) * | 2015-05-26 | 2015-09-02 | 吉林大学 | 一种基于视差变化连续性调节的立体视频舒适度增强方法 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8614737B2 (en) * | 2009-09-11 | 2013-12-24 | Disney Enterprises, Inc. | System and method for three-dimensional video capture workflow for dynamic rendering |
US20120127265A1 (en) * | 2010-11-18 | 2012-05-24 | Yi-Shu Chang | Apparatus and method for stereoscopic effect adjustment on video display |
CN102724521A (zh) * | 2011-03-29 | 2012-10-10 | 青岛海信电器股份有限公司 | 立体显示方法及装置 |
CN102256149B (zh) * | 2011-07-13 | 2014-12-10 | 深圳创维-Rgb电子有限公司 | 一种调整3d显示效果的方法、装置及电视机 |
-
2015
- 2015-12-28 CN CN201511014472.3A patent/CN105898280A/zh active Pending
-
2016
- 2016-07-10 WO PCT/CN2016/089565 patent/WO2017113727A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102655597A (zh) * | 2011-11-23 | 2012-09-05 | 上海华博信息服务有限公司 | 可实时动态调节立体视频视差曲线的播放系统 |
CN103959336A (zh) * | 2011-12-12 | 2014-07-30 | 索尼公司 | 图像处理装置、其方法和非暂时性计算机可读存储介质 |
US20140035903A1 (en) * | 2012-08-01 | 2014-02-06 | Dreamworks Animation Llc | Techniques for smoothing scripted stereo curves for stereoscopic computer animation |
CN103533333A (zh) * | 2013-10-28 | 2014-01-22 | 青岛海信电器股份有限公司 | 景深调节方法、景深调节装置和显示装置 |
CN104883577A (zh) * | 2015-05-26 | 2015-09-02 | 吉林大学 | 一种基于视差变化连续性调节的立体视频舒适度增强方法 |
Also Published As
Publication number | Publication date |
---|---|
CN105898280A (zh) | 2016-08-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8619148B1 (en) | Image correction after combining images from multiple cameras | |
EP2446635B1 (en) | Insertion of 3d objects in a stereoscopic image at relative depth | |
US8570319B2 (en) | Perceptually-based compensation of unintended light pollution of images for projection display systems | |
US20130051659A1 (en) | Stereoscopic image processing device and stereoscopic image processing method | |
US8817020B2 (en) | Image processing apparatus and image processing method thereof | |
EP2323416A2 (en) | Stereoscopic editing for video production, post-production and display adaptation | |
US20130141550A1 (en) | Method, apparatus and computer program for selecting a stereoscopic imaging viewpoint pair | |
US10165249B2 (en) | Method for smoothing transitions between scenes of a stereo film and controlling or regulating a plurality of 3D cameras | |
CN102223550A (zh) | 图像处理设备、图像处理方法和程序 | |
JP6715864B2 (ja) | 画像に対する深度マップを決定するための方法及び装置 | |
TW201445977A (zh) | 影像處理方法及影像處理系統 | |
US8941718B2 (en) | 3D video processing apparatus and 3D video processing method | |
Calagari et al. | Anahita: A system for 3d video streaming with depth customization | |
WO2017113727A1 (zh) | 立体片源的播放优化方法及装置 | |
WO2019047896A1 (zh) | 一种图像处理方法及装置 | |
WO2012176526A1 (ja) | 立体画像処理装置、立体画像処理方法、及びプログラム | |
CN114697758B (zh) | 视频处理方法、装置及电子设备 | |
US20140293019A1 (en) | Apparatus and method for producing stereoscopic subtitles by analyzing three-dimensional (3d) space | |
US10063845B2 (en) | Guided 3D display adaptation | |
Nam et al. | Hole‐Filling Methods Using Depth and Color Information for Generating Multiview Images | |
JP2012165232A (ja) | 色補正装置、色補正方法及び色補正プログラム | |
US20130136336A1 (en) | Image processing apparatus and controlling method for image processing apparatus | |
US20160165207A1 (en) | Electronic device, method, and computer program product | |
CN108833976B (zh) | 一种全景视频动态切流后的画面质量评估方法及装置 | |
JP2018121314A (ja) | 平面画像から立体画像を作成する立体化方法 |
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: 16880525 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16880525 Country of ref document: EP Kind code of ref document: A1 |