WO2018107710A1 - 一种无损缩放显示局部视频的方法及装置 - Google Patents

一种无损缩放显示局部视频的方法及装置 Download PDF

Info

Publication number
WO2018107710A1
WO2018107710A1 PCT/CN2017/089309 CN2017089309W WO2018107710A1 WO 2018107710 A1 WO2018107710 A1 WO 2018107710A1 CN 2017089309 W CN2017089309 W CN 2017089309W WO 2018107710 A1 WO2018107710 A1 WO 2018107710A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
original
displaying
yuv frame
image
Prior art date
Application number
PCT/CN2017/089309
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 WO2018107710A1 publication Critical patent/WO2018107710A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44012Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving rendering scenes according to scene graphs, e.g. MPEG-4 scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440281Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the temporal resolution, e.g. by frame skipping

Definitions

  • the present invention relates to the field of video zooming, and in particular, to a method and apparatus for displaying local video losslessly.
  • the traditional video display resolution depends on the actual display.
  • the video display resolution is the actual resolution of the video on the display. In theory, the display resolution is not greater than the physical resolution of the display.
  • the traditional video display resolution depends on the actual display.
  • the video display resolution is the actual resolution of the video on the display. In theory, the display resolution is not greater than the physical resolution of the display. For example, a normal 1080p display for 4k HD video. Play display, the graphics card will zoom each image of 4K video to 1080p, so that the image frame that is seen is 1080p resolution, the text on the video will be displayed due to compression, resulting in a normal small resolution display Viewing high-definition video content, the video is scaled to normal resolution and the image display effect is lost.
  • the normal small-resolution display viewing high-definition video content the video being scaled to the normal resolution and the loss of the image display effect is a technical problem that those skilled in the art need to solve.
  • the embodiment of the invention provides a method and a device for displaying a partial video losslessly, which is used for solving the technical problem that an ordinary small-resolution display views high-definition video content, and the video is scaled to an ordinary resolution, and the image display effect is lost.
  • An embodiment of the present invention provides a method for displaying a local video by lossless scaling, including:
  • a partial video image of a native resolution corresponding to the cropped region is obtained and displayed by rendering the new yuv frame.
  • the decoding the video into the original yuv frame, and determining the specified area to be viewed of the original yuv frame specifically includes:
  • the specified area to be viewed of the original yuv frame is determined according to mouse coordinates and mouse middle key scroll data.
  • the obtaining, by the rendering of the new yuv frame, the partial video image of the original resolution corresponding to the intercepted area comprises:
  • the partial video image is received and the partial video image is displayed.
  • the method further includes:
  • the original all video images are obtained and displayed by rendering the original yuv frames according to the mouse rollback signal.
  • the obtaining, by displaying the original yuv frame according to the mouse rollback signal, and displaying the original all video images specifically includes:
  • An embodiment of the present invention provides a device for displaying a local video by lossless scaling, and performing scaling according to the method for displaying a local video by using the lossless scaling, including:
  • a decoding and determining area module configured to decode the video into an original yuv frame, and determine a designated area of the original yuv frame to be viewed;
  • a framing module configured to determine a intercepted area corresponding to the specified area to be viewed, and acquire a new yuv frame corresponding to the intercepted area
  • a first rendering module configured to obtain and display a partial video image of a native resolution corresponding to the intercepted region by rendering the new yuv frame.
  • the decoding and determining area module specifically includes:
  • a decoding unit configured to decode the video into an original yuv frame
  • an area determining unit configured to determine, according to the mouse coordinates and the middle mouse key scrolling data, the specified area to be viewed of the original yuv frame.
  • the first rendering module specifically includes:
  • a first image obtaining unit configured to render the new yuv frame by DirectX to obtain a partial video image of a native resolution corresponding to the intercepted region
  • a first image display unit configured to receive the partial video image and display the partial video image.
  • the means for displaying the partial video by the lossless scaling further comprises:
  • a second rendering module configured to obtain and display the original all video images by rendering the original yuv frame according to the mouse rollback signal.
  • the second rendering module specifically includes:
  • a second image obtaining unit configured to obtain the original all video images by rendering the original yuv frame by DirectX according to a mouse rollback signal
  • a second image display unit configured to receive the entire video image and display the entire video image.
  • the method of the embodiment of the present invention decodes a video into an original yuv frame, and determines a specified area of the original yuv frame to be viewed; determines a intercepted area corresponding to the specified area to be viewed, and acquires a new corresponding to the intercepted area.
  • a yuv frame obtaining and displaying a local video image of an original resolution corresponding to the intercepted area by rendering the new yuv frame, thereby making the partial video image a native resolution, and solving a normal small resolution display to view an HD video
  • FIG. 1 is a schematic diagram of an embodiment of a method for losslessly zooming and displaying a partial video according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of another embodiment of a method for losslessly zooming and displaying partial video according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of an embodiment of an apparatus for losslessly zooming and displaying partial video according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of an application example of a method for losslessly zooming and displaying partial video according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of an original image in an application example of a method for losslessly zooming and displaying partial video according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of determining an area to be viewed in an original image in an application example of a method for losslessly zooming and displaying a partial video according to an embodiment of the present invention
  • FIG. 7 is a schematic diagram of finally displaying a partial image in an application example of a method for losslessly zooming and displaying a partial video according to an embodiment of the present invention.
  • the embodiment of the invention provides a method and a device for displaying a partial video losslessly, which is used for solving the technical problem that an ordinary small-resolution display views high-definition video content, and the video is scaled to an ordinary resolution, and the image display effect is lost.
  • an embodiment of the present invention provides an embodiment of a method for losslessly displaying a partial video, including:
  • an embodiment of the present invention provides an embodiment of a method for losslessly displaying a partial video, including:
  • an embodiment of the present invention provides a device for losslessly zooming and displaying a partial video, and performing zooming based on the method for displaying a partial video by lossless scaling, including:
  • a decoding and determining area module 301 configured to decode the video into an original yuv frame, and determine a designated area of the original yuv frame to be viewed;
  • the framing module 302 is configured to determine a intercepted area corresponding to the specified area to be viewed, and acquire a new yuv frame corresponding to the intercepted area;
  • the first rendering module 303 is configured to obtain and display a partial video image of the original resolution corresponding to the intercepted region by rendering the new yuv frame.
  • the decoding and determining area module 301 specifically includes:
  • a decoding unit 401 configured to decode the video into an original yuv frame
  • the area determining unit 402 is configured to determine a specified area to be viewed of the original yuv frame according to mouse coordinates and mouse middle key scroll data.
  • the first rendering module 303 specifically includes:
  • the first image obtaining unit 501 is configured to obtain the local video image of the original resolution corresponding to the intercepted area by rendering the new yuv frame by DirectX;
  • the first image display unit 502 is configured to receive the partial video image and display the partial video image.
  • the second rendering module 304 is configured to obtain and display the original all video images by rendering the original yuv frames according to the mouse rollback signal.
  • the second rendering module 304 specifically includes:
  • the second image obtaining unit 601 is configured to obtain the original all video images by rendering the original yuv frame by DirectX according to the mouse rollback signal;
  • the second image display unit 602 is configured to receive the entire video image and display the entire video image.
  • the conventional video display resolution is dependent on the actual display.
  • the video display resolution is the actual resolution of the video on the display. In theory, the display resolution is not greater than the physical resolution of the display, such as 4k HD.
  • the video is played back with a normal 1080p display.
  • the graphics card will scale each frame of the 4K video to 1080p, so that the image frame seen is 1080p resolution, and the text on the video will be displayed due to compression.
  • An application example of a method for losslessly zooming and displaying partial video of an embodiment of the present invention by intercepting a partial region of an original yuv frame of a high definition video, rendering a captured new partial video image yuv frame on a common resolution display, although I don't see all the areas of the video, but you can see the original unscaled image of any area of the video by customizing the local position.
  • the interception operation uses the mouse to scroll the middle mouse button in the specified area of the video to determine the intercepted area in real time.
  • a bit like a map zoom operation if you don't need to view a local area, you can mouse Go back to the original retreated to the entire region.
  • the intercepted image is based on the original yuv frame to crop the local pixel content according to the position to obtain a new yuv frame.
  • the DirectX rendered image yuv frame is completed by the graphics card. The high frequency change when the mouse scrolls intercepts the video specified area. Can be loaded without the load being too large and the frame rate is reduced.
  • the technical solution mainly solves the problem that the high-resolution video is scaled to the common resolution on the ordinary resolution display and the image display effect is distorted, and can be applied to some fields (such as security video surveillance, etc.).
  • the invention provides a method for losslessly zooming and displaying partial video.
  • the traditional video display resolution is dependent on the actual display.
  • the video display resolution is the actual resolution of the video on the display. In theory, the display resolution is not greater than
  • the physical resolution of the display the present invention intercepts the partial image of the high-resolution video in real time, and displays the partial image on the ordinary resolution display in a non-destructive manner, so that the normal resolution display can view the content of the designated area of the high-definition video, and the partial image is
  • the interception operation uses the mouse to scroll the middle mouse button in the specified area of the video to determine the intercepted area in real time.
  • the video captured to the maximum level is the original resolution, that is, the losslessly compressed partial image, and the ordinary small resolution display is used to view the high definition video content. The problem that the video is scaled to the normal resolution and the image display effect is lost.
  • an application example of a method for losslessly zooming and displaying partial video uses a 4K surveillance camera to view on a computer with a normal 1080p resolution, and maximizes a video dialog box in a full screen.
  • the license plate of the road vehicle is still somewhat invisible.
  • a white frame selection portion in the figure is selected as a designated area to be viewed, and only a partial image of the vehicle is displayed (white of FIG. 6).
  • Figure 7 shows the final display results.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

本发明实施例提供了一种无损缩放显示局部视频的方法及装置,用于解决普通小分辨率显示器查看高清视频内容,视频被缩放为普通分辨率而发生图像显示效果损失的技术问题。本发明实施例方法通过将视频解码为原始yuv帧,并确定所述原始yuv帧的待查看指定区域;确定与所述待查看指定区域对应的的截取区域并获取与所述截取区域对应的新yuv帧;通过渲染所述新yuv帧获得并显示与所述截取区域对应的原始分辨率的局部视频图像,从而使得所述局部视频图像为原始分辨率,解决了普通小分辨率显示器查看高清视频内容,视频被缩放为普通分辨率而发生图像显示效果损失的技术问题。

Description

一种无损缩放显示局部视频的方法及装置
本申请要求于2016年12月12日提交中国专利局、申请号为201611140391.2、发明名称为“一种无损缩放显示局部视频的方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及视频缩放领域,尤其涉及一种无损缩放显示局部视频的方法及装置。
背景技术
传统的视频显示分辨率都是依赖于实际显示器,视频显示分辨率即视频的实际在显示器上的分辨率,理论上显示分辨率是不大于显示器的物理分辨率的。
传统的视频显示分辨率都是依赖于实际显示器,视频显示分辨率即视频实际在显示器上的分辨率,理论上显示分辨率是不大于显示器的物理分辨率的,例如4k高清视频用普通1080p显示器播放显示,显卡会将4K视频的每一帧图像缩放到1080p,这样看到的图像帧就是1080p分辨率的,视频上的文字等都会因压缩了而显示效果不好,造成普通小分辨率显示器查看高清视频内容,视频被缩放为普通分辨率而发生图像显示效果损失的技术问题。
因此,普通小分辨率显示器查看高清视频内容,视频被缩放为普通分辨率而发生图像显示效果损失是本领域技术人员需要解决的技术问题。
发明内容
本发明实施例提供了一种无损缩放显示局部视频的方法及装置,用于解决普通小分辨率显示器查看高清视频内容,视频被缩放为普通分辨率而发生图像显示效果损失的技术问题。
本发明实施例提供一种无损缩放显示局部视频的方法,包括:
将视频解码为原始yuv帧,并确定所述原始yuv帧的待查看指定区域;
确定与所述待查看指定区域对应的的截取区域并获取与所述截取区域对应的新yuv帧;
通过渲染所述新yuv帧获得并显示与所述截取区域对应的原始分辨率的局部视频图像。
优选地,所述将视频解码为原始yuv帧,并确定所述原始yuv帧的待查看指定区域具体包括:
将视频解码为原始yuv帧;
根据鼠标坐标及鼠标中键滚动数据确定所述原始yuv帧的待查看指定区域。
优选地,所述通过渲染所述新yuv帧获得并显示与所述截取区域对应的原始分辨率的局部视频图像具体包括:
通过DirectX渲染所述新yuv帧获得与所述截取区域对应的原始分辨率的局部视频图像;
接收所述局部视频图像并显示所述局部视频图像。
优选地,所述通过渲染所述新yuv帧获得并显示与所述截取区域对应的原始分辨率的局部视频图像之后还包括:
根据鼠标滚回信号通过渲染所述原始yuv帧获得并显示原始的全部视频图像。
优选地,所述根据鼠标滚回信号通过渲染所述原始yuv帧获得并显示原始的全部视频图像具体包括:
根据鼠标滚回信号通过DirectX渲染所述原始yuv帧获得原始的全部视频图像;
接收所述全部视频图像并显示所述全部视频图像。
本发明实施例提供一种无损缩放显示局部视频的装置,基于上述的一种无损缩放显示局部视频的方法进行缩放,包括:
解码与确定区域模块,用于将视频解码为原始yuv帧,并确定所述原始yuv帧的待查看指定区域;
取帧模块,用于确定与所述待查看指定区域对应的的截取区域并获取与所述截取区域对应的新yuv帧;
第一渲染模块,用于通过渲染所述新yuv帧获得并显示与所述截取区域对应的原始分辨率的局部视频图像。
优选地,所述解码与确定区域模块具体包括:
解码单元,用于将视频解码为原始yuv帧;
区域确定单元,用于根据鼠标坐标及鼠标中键滚动数据确定所述原始yuv帧的待查看指定区域。
优选地,所述第一渲染模块具体包括:
第一图像获取单元,用于通过DirectX渲染所述新yuv帧获得与所述截取区域对应的原始分辨率的局部视频图像;
第一图像显示单元,用于接收所述局部视频图像并显示所述局部视频图像。
优选地,所述无损缩放显示局部视频的装置还包括:
第二渲染模块,用于根据鼠标滚回信号通过渲染所述原始yuv帧获得并显示原始的全部视频图像。
优选地,所述第二渲染模块具体包括:
第二图像获取单元,用于根据鼠标滚回信号通过DirectX渲染所述原始yuv帧获得原始的全部视频图像;
第二图像显示单元,用于接收所述全部视频图像并显示所述全部视频图像。
从以上技术方案可以看出,本发明实施例具有以下优点:
本发明实施例方法通过将视频解码为原始yuv帧,并确定所述原始yuv帧的待查看指定区域;确定与所述待查看指定区域对应的的截取区域并获取与所述截取区域对应的新yuv帧;通过渲染所述新yuv帧获得并显示与所述截取区域对应的原始分辨率的局部视频图像,从而使得所述局部视频图像为原始分辨率,解决了普通小分辨率显示器查看高清视频内容,视频被缩放为普通分辨率而发生图像显示效果损失的技术问题。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实 施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其它的附图。
图1为本发明实施例提供一种无损缩放显示局部视频的方法的一个实施例的示意图;
图2为本发明实施例提供一种无损缩放显示局部视频的方法的另一个实施例的示意图;
图3为本发明实施例提供一种无损缩放显示局部视频的装置的一个实施例的示意图;
图4为本发明实施例提供一种无损缩放显示局部视频的方法的一个应用例的示意图;
图5为本发明实施例提供一种无损缩放显示局部视频的方法的一个应用例中原始图像的示意图;
图6为本发明实施例提供一种无损缩放显示局部视频的方法的一个应用例中原始图像中确定待查看指定区域的示意图;
图7为本发明实施例提供一种无损缩放显示局部视频的方法的一个应用例中最终显示局部图像的示意图。
具体实施方式
本发明实施例提供了一种无损缩放显示局部视频的方法及装置,用于解决普通小分辨率显示器查看高清视频内容,视频被缩放为普通分辨率而发生图像显示效果损失的技术问题。
为使得本发明的发明目的、特征、优点能够更加的明显和易懂,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,下面所描述的实施例仅仅是本发明一部分实施例,而非全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。
请参阅图1,本发明实施例提供一种无损缩放显示局部视频的方法的一个实施例,包括:
101、将视频解码为原始yuv帧,并确定所述原始yuv帧的待查看指定区域;
102、确定与所述待查看指定区域对应的的截取区域并获取与所述截取区域对应的新yuv帧;
103、通过渲染所述新yuv帧获得并显示与所述截取区域对应的原始分辨率的局部视频图像。
以上是对本发明实施例提供的一种无损缩放显示局部视频的方法的一个实施例进行详细的描述,以下将对本发明实施例提供的一种无损缩放显示局部视频的方法的另一个实施例进行详细的描述。
请参阅图1,本发明实施例提供一种无损缩放显示局部视频的方法的一个实施例,包括:
201、将视频解码为原始yuv帧;
202、根据鼠标坐标及鼠标中键滚动数据确定所述原始yuv帧的待查看指定区域。
203、确定与所述待查看指定区域对应的的截取区域并获取与所述截取区域对应的新yuv帧;
204、通过渲染所述新yuv帧获得并显示与所述截取区域对应的原始分辨率的局部视频图像。
205、通过DirectX渲染所述新yuv帧获得与所述截取区域对应的原始分辨率的局部视频图像;
206、接收所述局部视频图像并显示所述局部视频图像。
207、根据鼠标滚回信号通过渲染所述原始yuv帧获得并显示原始的全部视频图像。
208、根据鼠标滚回信号通过DirectX渲染所述原始yuv帧获得原始的全部视频图像;
209、接收所述全部视频图像并显示所述全部视频图像。
以上是对本发明实施例提供的一种无损缩放显示局部视频的方法的另一 个实施例进行详细的描述,以下将对本发明实施例提供的一种无损缩放显示局部视频的装置的一个实施例进行详细的描述。
请参阅图3,本发明实施例提供一种无损缩放显示局部视频的装置,基于上述的一种无损缩放显示局部视频的方法进行缩放,包括:
解码与确定区域模块301,用于将视频解码为原始yuv帧,并确定所述原始yuv帧的待查看指定区域;
取帧模块302,用于确定与所述待查看指定区域对应的的截取区域并获取与所述截取区域对应的新yuv帧;
第一渲染模块303,用于通过渲染所述新yuv帧获得并显示与所述截取区域对应的原始分辨率的局部视频图像。
解码与确定区域模块301具体包括:
解码单元401,用于将视频解码为原始yuv帧;
区域确定单元402,用于根据鼠标坐标及鼠标中键滚动数据确定所述原始yuv帧的待查看指定区域。
第一渲染模块303具体包括:
第一图像获取单元501,用于通过DirectX渲染所述新yuv帧获得与所述截取区域对应的原始分辨率的局部视频图像;
第一图像显示单元502,用于接收所述局部视频图像并显示所述局部视频图像。
本发明实施例提供的无损缩放显示局部视频的装置还包括:
第二渲染模块304,用于根据鼠标滚回信号通过渲染所述原始yuv帧获得并显示原始的全部视频图像。
第二渲染模块304具体包括:
第二图像获取单元601,用于根据鼠标滚回信号通过DirectX渲染所述原始yuv帧获得原始的全部视频图像;
第二图像显示单元602,用于接收所述全部视频图像并显示所述全部视频图像。
以上是对本发明实施例提供的一种无损缩放显示局部视频的装置的一个实施例进行详细的描述,以下将对本发明实施例提供的一种无损缩放显示局 部视频的方法的一个应用例做详细的描述。
请参阅图4,传统的视频显示分辨率都是依赖于实际显示器,视频显示分辨率即视频实际在显示器上的分辨率,理论上显示分辨率是不大于显示器的物理分辨率的,例如4k高清视频用普通1080p显示器播放显示,显卡会将4K视频的每一帧图像缩放到1080p,这样看到的图像帧就是1080p分辨率的,视频上的文字等都会因压缩了而显示效果不好,本发明实施例的一种无损缩放显示局部视频的方法的一个应用例通过截取高清视频的原始yuv帧的局部区域,将截取的新的局部视频图像yuv帧渲染显示在普通分辨率显示器上,虽然这样看到的不是视频全部区域,但通过自定义指定局部位置可以看到视频的任何区域的原始未缩放的图像,截取操作通过鼠标在视频指定区域滚动鼠标中键来实时确定截取的区域,这一点有点类似地图的缩放操作,如果不需要查看局部区域时,可鼠标后滚回退到原始的全部区域。
截取图像是基于原始yuv帧根据位置裁剪出局部像素内容得到新的yuv帧,DirectX渲染图像yuv帧是通过显卡来完成的,鼠标滚动时高频率的改变截取视频指定区域对于显卡来说一般都是能负载得起的,不会出现负载太大而帧率降低的情况。
本技术方案主要解决了高分辨率视频在普通分辨率显示器上被缩放为普通分辨率而发生图像显示效果失真的问题,可应用于某些领域(如安防视频监控等)。
本发明提供了一种无损缩放显示局部视频的方法,传统的视频显示分辨率都是依赖于实际显示器,视频显示分辨率即视频的实际在显示器上的分辨率,理论上显示分辨率是不大于显示器的物理分辨率的,本发明通过实时截取高分率视频的局部图像,将局部图像无损显示在普通分辨率显示器上,这样可实现普通分辨率显示器查看高清视频指定区域的内容,局部图像的截取操作通过鼠标在视频指定区域滚动鼠标中键来实时确定截取的区域,缩放到最大级别截取的视频为原始分辨率,即无损压缩的局部图像,解决了普通小分辨率显示器查看高清视频内容,视频被缩放为普通分辨率而发生图像显示效果损失的问题。
请参阅图5,本发明实施例提供的一种无损缩放显示局部视频的方法的一个应用例的视频源采用4K监控摄像头,在在普通1080p分辨率的电脑上查看,在全屏最大化视频对话框的情况下,道路行驶车辆的车牌还是有些看不清。
请参阅图6,当对视频按本发明实施例提供的一种无损缩放显示局部视频的方法,选取图中白色框选部分作为待查看指定区域,只显示它的车辆局部图像(图6的白色框部分)时,就能够清晰的看清楚车牌号:如图7。
图7为最终的显示结果。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。

Claims (10)

  1. 一种无损缩放显示局部视频的方法,其特征在于,包括:
    将视频解码为原始yuv帧,并确定所述原始yuv帧的待查看指定区域;
    确定与所述待查看指定区域对应的的截取区域并获取与所述截取区域对应的新yuv帧;
    通过渲染所述新yuv帧获得并显示与所述截取区域对应的原始分辨率的局部视频图像。
  2. 根据权利要求1所述的一种无损缩放显示局部视频的方法,其特征在于,所述将视频解码为原始yuv帧,并确定所述原始yuv帧的待查看指定区域具体包括:
    将视频解码为原始yuv帧;
    根据鼠标坐标及鼠标中键滚动数据确定所述原始yuv帧的待查看指定区域。
  3. 根据权利要求1所述的一种无损缩放显示局部视频的方法,其特征在于,所述通过渲染所述新yuv帧获得并显示与所述截取区域对应的原始分辨率的局部视频图像具体包括:
    通过DirectX渲染所述新yuv帧获得与所述截取区域对应的原始分辨率的局部视频图像;
    接收所述局部视频图像并显示所述局部视频图像。
  4. 根据权利要求1所述的一种无损缩放显示局部视频的方法,其特征在于,所述通过渲染所述新yuv帧获得并显示与所述截取区域对应的原始分辨率的局部视频图像之后还包括:
    根据鼠标滚回信号通过渲染所述原始yuv帧获得并显示原始的全部视频图像。
  5. 根据权利要求4所述的一种无损缩放显示局部视频的方法,其特征在于,所述根据鼠标滚回信号通过渲染所述原始yuv帧获得并显示原始的全部视频图像具体包括:
    根据鼠标滚回信号通过DirectX渲染所述原始yuv帧获得原始的全部视频图像;
    接收所述全部视频图像并显示所述全部视频图像。
  6. 一种无损缩放显示局部视频的装置,基于如权利要求1至5中任意一项所述的一种无损缩放显示局部视频的方法进行缩放,其特征在于,包括:
    解码与确定区域模块,用于将视频解码为原始yuv帧,并确定所述原始yuv帧的待查看指定区域;
    取帧模块,用于确定与所述待查看指定区域对应的的截取区域并获取与所述截取区域对应的新yuv帧;
    第一渲染模块,用于通过渲染所述新yuv帧获得并显示与所述截取区域对应的原始分辨率的局部视频图像。
  7. 根据权利要求6所述的一种无损缩放显示局部视频的装置,其特征在于,所述解码与确定区域模块具体包括:
    解码单元,用于将视频解码为原始yuv帧;
    区域确定单元,用于根据鼠标坐标及鼠标中键滚动数据确定所述原始yuv帧的待查看指定区域。
  8. 根据权利要求6所述的一种无损缩放显示局部视频的装置,其特征在于,所述第一渲染模块具体包括:
    第一图像获取单元,用于通过DirectX渲染所述新yuv帧获得与所述截取区域对应的原始分辨率的局部视频图像;
    第一图像显示单元,用于接收所述局部视频图像并显示所述局部视频图像。
  9. 根据权利要求1所述的一种无损缩放显示局部视频的装置,其特征在于,所述无损缩放显示局部视频的装置还包括:
    第二渲染模块,用于根据鼠标滚回信号通过渲染所述原始yuv帧获得并显示原始的全部视频图像。
  10. 根据权利要求9所述的一种无损缩放显示局部视频的装置,其特征在于,所述第二渲染模块具体包括:
    第二图像获取单元,用于根据鼠标滚回信号通过DirectX渲染所述原始yuv帧获得原始的全部视频图像;
    第二图像显示单元,用于接收所述全部视频图像并显示所述全部视频图 像。
PCT/CN2017/089309 2016-12-12 2017-06-21 一种无损缩放显示局部视频的方法及装置 WO2018107710A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611140391.2A CN106534972A (zh) 2016-12-12 2016-12-12 一种无损缩放显示局部视频的方法及装置
CN201611140391.2 2016-12-12

Publications (1)

Publication Number Publication Date
WO2018107710A1 true WO2018107710A1 (zh) 2018-06-21

Family

ID=58341956

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/089309 WO2018107710A1 (zh) 2016-12-12 2017-06-21 一种无损缩放显示局部视频的方法及装置

Country Status (2)

Country Link
CN (1) CN106534972A (zh)
WO (1) WO2018107710A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111414104A (zh) * 2019-01-07 2020-07-14 阿里巴巴集团控股有限公司 一种电子地图局部显示方法及装置

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106534972A (zh) * 2016-12-12 2017-03-22 广东威创视讯科技股份有限公司 一种无损缩放显示局部视频的方法及装置
CN108055568A (zh) * 2017-12-07 2018-05-18 北京奇虎科技有限公司 一种电子设备中的视频播放方法和装置
CN108845776B (zh) * 2018-06-05 2021-11-12 威创集团股份有限公司 一种控制方法和装置、存储介质
CN110944186B (zh) * 2019-12-10 2022-02-01 杭州当虹科技股份有限公司 一种视频局部区域高质量查看方法
CN111741274B (zh) * 2020-08-25 2020-12-29 北京中联合超高清协同技术中心有限公司 一种支持画面局部放大和漫游的超高清视频监看方法
CN112218026B (zh) * 2020-08-25 2023-08-29 北京中联合超高清协同技术中心有限公司 一种超高清图像转换装置
CN113852757B (zh) * 2021-09-03 2023-05-26 维沃移动通信(杭州)有限公司 视频处理方法、装置、设备和存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1858843A (zh) * 2005-08-12 2006-11-08 深圳华为移动通信技术有限公司 移动终端中图像自适应缩放的系统及其方法
WO2007047493A2 (en) * 2005-10-13 2007-04-26 Penthera Technologies, Inc. Regions of interest in video frames
CN101661700A (zh) * 2008-08-26 2010-03-03 奇菱科技股份有限公司 影像分辨率调整装置、显示装置以及影像分辨率调整方法
CN102801963A (zh) * 2012-08-27 2012-11-28 北京尚易德科技有限公司 基于高清数字摄像头监控的电子ptz方法及装置
CN103929627A (zh) * 2014-05-08 2014-07-16 深圳英飞拓科技股份有限公司 基于Dptz的视频监控互动方法及装置
CN106534972A (zh) * 2016-12-12 2017-03-22 广东威创视讯科技股份有限公司 一种无损缩放显示局部视频的方法及装置

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9933935B2 (en) * 2011-08-26 2018-04-03 Apple Inc. Device, method, and graphical user interface for editing videos
WO2014014238A1 (en) * 2012-07-17 2014-01-23 Samsung Electronics Co., Ltd. System and method for providing image
CN102905056B (zh) * 2012-10-18 2015-09-02 利亚德光电股份有限公司 视频图像处理方法及装置
CN104836956A (zh) * 2015-05-09 2015-08-12 陈包容 一种手机拍摄视频的处理方法及装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1858843A (zh) * 2005-08-12 2006-11-08 深圳华为移动通信技术有限公司 移动终端中图像自适应缩放的系统及其方法
WO2007047493A2 (en) * 2005-10-13 2007-04-26 Penthera Technologies, Inc. Regions of interest in video frames
CN101661700A (zh) * 2008-08-26 2010-03-03 奇菱科技股份有限公司 影像分辨率调整装置、显示装置以及影像分辨率调整方法
CN102801963A (zh) * 2012-08-27 2012-11-28 北京尚易德科技有限公司 基于高清数字摄像头监控的电子ptz方法及装置
CN103929627A (zh) * 2014-05-08 2014-07-16 深圳英飞拓科技股份有限公司 基于Dptz的视频监控互动方法及装置
CN106534972A (zh) * 2016-12-12 2017-03-22 广东威创视讯科技股份有限公司 一种无损缩放显示局部视频的方法及装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111414104A (zh) * 2019-01-07 2020-07-14 阿里巴巴集团控股有限公司 一种电子地图局部显示方法及装置
CN111414104B (zh) * 2019-01-07 2023-04-18 阿里巴巴集团控股有限公司 一种电子地图局部显示方法及装置

Also Published As

Publication number Publication date
CN106534972A (zh) 2017-03-22

Similar Documents

Publication Publication Date Title
WO2018107710A1 (zh) 一种无损缩放显示局部视频的方法及装置
US11335297B2 (en) Method for displaying projection picture and method for rotating projection picture
US8164600B2 (en) Method and system for combining images generated by separate sources
US7733405B2 (en) Apparatus and method for resizing an image
US8754984B2 (en) System and method for video caption re-overlaying for video adaptation and retargeting
CN106990951B (zh) 一种进度条的绘制方法及系统
WO2017211250A1 (zh) 图像的叠加显示方法和系统
US20110292060A1 (en) Frame buffer sizing to optimize the performance of on screen graphics in a digital electronic device
US20080074432A1 (en) Method for acquiring a computer screen image
CN111741274B (zh) 一种支持画面局部放大和漫游的超高清视频监看方法
EP3886444A1 (en) Video processing method and apparatus, and electronic device and computer-readable medium
EP2109313A1 (en) Television receiver and method
CN110944186B (zh) 一种视频局部区域高质量查看方法
US20220328019A1 (en) Display terminal adjustment method and display terminal
WO2019057041A1 (zh) 用于实现图像增强的方法、装置和电子设备
WO2016095429A1 (zh) 一种移动终端屏幕截图方法及装置
US20130141471A1 (en) Obscuring graphical output on remote displays
CN110266977A (zh) 半导体集成电路和图像显示的控制方法
CN103248797A (zh) 一种基于fpga的视频分辨率增强方法及模块
WO2014030405A1 (ja) 表示装置、表示方法、テレビジョン受信機及び表示制御装置
US9953399B2 (en) Display method and display device
US7583321B2 (en) Displaying data on lower resolution displays
US20060033753A1 (en) Apparatuses and methods for incorporating an overlay within an image
WO2022237460A1 (zh) 图像处理方法、设备、存储介质及程序产品
CN110570441A (zh) 一种超高清低延时视频控制方法及系统

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: 17879725

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 20.11.2019)

122 Ep: pct application non-entry in european phase

Ref document number: 17879725

Country of ref document: EP

Kind code of ref document: A1