WO2018209549A1 - Terminal video interval division method and system - Google Patents

Terminal video interval division method and system Download PDF

Info

Publication number
WO2018209549A1
WO2018209549A1 PCT/CN2017/084490 CN2017084490W WO2018209549A1 WO 2018209549 A1 WO2018209549 A1 WO 2018209549A1 CN 2017084490 W CN2017084490 W CN 2017084490W WO 2018209549 A1 WO2018209549 A1 WO 2018209549A1
Authority
WO
WIPO (PCT)
Prior art keywords
object pixel
area
image
processor
pixel point
Prior art date
Application number
PCT/CN2017/084490
Other languages
French (fr)
Chinese (zh)
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 深圳市乃斯网络科技有限公司
Priority to PCT/CN2017/084490 priority Critical patent/WO2018209549A1/en
Publication of WO2018209549A1 publication Critical patent/WO2018209549A1/en

Links

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, rendering scenes according to MPEG-4 scene graphs

Definitions

  • the present invention relates to the field of terminals, and in particular, to a method and system for dividing a video segment of a terminal.
  • the terminal is a common device in people's daily life. There are more and more opportunities for the terminal to play video.
  • the decoding area of the existing terminal video is the same area. This solution has a long decoding time and affects the user experience.
  • the application provides a method for dividing a video segment of a terminal. It solves the shortcomings of low user experience of the prior art technical solutions.
  • a method for dividing a video segment of a terminal includes the following steps:
  • the midpoint of the object pixel as a square extends equidistantly around, and when the target pixel is not framed once, the current range is determined to be an area of the division.
  • the midpoint with the object pixel as a square extends equidistantly to the periphery.
  • determining that the current range is a region of the partition specifically includes:
  • Any object pixel is arbitrarily searched from the undivided area as the center point of the divided area.
  • the method further includes:
  • the new region is re-divided from the largest region.
  • a second aspect provides a terminal video interval division system, where the system includes:
  • An obtaining unit configured to obtain a preliminary decoded image
  • the processing unit is configured to extend equidistantly around the midpoint of the object pixel as a square.
  • the current range is determined to be an area of the division.
  • system further includes:
  • the processing unit is specifically configured to arbitrarily search for an object pixel point in the undivided area as a center point of the divided area.
  • the processing unit is specifically configured to re-divide the new area from the largest area if the number of the areas is lower than a set threshold.
  • a terminal including: a processor, a transceiver, a memory, and a bus, where the processor, the transceiver, and the memory are connected by using a bus.
  • the processor is configured to obtain a preliminary decoded image, and process the image to obtain a background pixel point and an object pixel point in the image, and extend the center point of the object pixel point to a square, and extend the same time.
  • the frame has object pixels, it is determined that the current range is an area of the division.
  • the processor is specifically configured to find an object pixel point as an center point of the divided area arbitrarily from the unpartitioned area.
  • the processor is specifically configured to re-divide a new area from a maximum area, such that the number of areas is lower than a set threshold.
  • the technical solution provided by the present invention obtains a preliminary decoded image, and the image is processed to obtain a background pixel point and an object pixel point in the image; the midpoint of the object pixel point is square and extends equidistantly around, and when extended, the frame is not framed.
  • the object pixel it is determined that the current range is a divided area, which has multi-step decoding, and divides the decoding area according to a specific situation, reduces decoding time, and has the advantage of high user experience.
  • FIG. 1 is a flowchart of a method for dividing a video segment of a terminal according to a first preferred embodiment of the present invention
  • FIG. 2 is a structural diagram of a terminal video segmentation system according to a second preferred embodiment of the present invention.
  • FIG. 3 is a hardware structural diagram of a terminal according to a second preferred embodiment of the present invention.
  • FIG. 1 is a schematic diagram of a method for dividing a video segment of a terminal according to a first preferred embodiment of the present invention. The method is as shown in FIG.
  • Step S101 Acquire a preliminary decoded image.
  • Step S102 processing the image to obtain a background pixel point and a target pixel point in the image.
  • step S103 the midpoint of the object pixel is square and equidistantly extended to the periphery.
  • the current range is determined to be a divided region.
  • the technical solution provided by the present invention obtains a preliminary decoded image, and the image is processed to obtain a background pixel point and an object pixel point in the image; the midpoint of the object pixel point is square and extends equidistantly around, and when extended, the frame is not framed.
  • the object pixel it is determined that the current range is a divided area, which has multi-step decoding, and divides the decoding area according to a specific situation, reduces decoding time, and has the advantage of high user experience.
  • the method further includes:
  • Any object pixel is arbitrarily searched from the undivided area as the center point of the divided area.
  • the new region is re-divided from the largest region.
  • FIG. 2 is a schematic diagram of a video segmentation system for a terminal according to a second preferred embodiment of the present invention. The system is as shown in FIG.
  • An obtaining unit 201 configured to acquire a preliminary decoded image
  • a distinguishing unit 202 configured to process the image to obtain a background pixel point and an object pixel point in the image
  • the processing unit 203 is configured to extend equidistantly around the midpoint of the object pixel as a square. When the object pixel is not framed once, the current range is determined to be a divided region.
  • the technical solution provided by the present invention obtains a preliminary decoded image, and the image is processed to obtain a background pixel point and an object pixel point in the image; the midpoint of the object pixel point is square and extends equidistantly around, and when extended, the frame is not framed.
  • the object pixel it is determined that the current range is a divided area, which has multi-step decoding, and divides the decoding area according to a specific situation, reduces decoding time, and has the advantage of high user experience.
  • the processing unit 203 is specifically configured to find an object pixel point as an center point of the divided area arbitrarily from the unpartitioned area.
  • the processing unit 203 is specifically configured to re-divide the new area from the largest area if the number of the areas is lower than a set threshold.
  • FIG. 3 is a terminal 30 including a processor 301, a transceiver 302, a memory 303, and a bus 304.
  • the transceiver 302 is configured to send and receive data with and from an external device.
  • the number of processors 301 can be one or more.
  • processor 301, memory 302, and transceiver 303 may be connected by bus 304 or other means.
  • Terminal 30 can be used to perform the steps of FIG.
  • the program code is stored in the memory 303.
  • the processor 301 is configured to call the program code stored in the memory 303 for performing the following operations:
  • the processor 301 is configured to obtain a preliminary decoded image, and process the image to obtain a background pixel point and a target pixel point in the image; the midpoint of the object pixel point is square and extend equidistantly around, and when the extension is not framed When there is an object pixel, it is determined that the current range is an area of the division.
  • the processor 301 herein may be a processing component or a general term of multiple processing components.
  • the processing element can be a central processor (Central) Processing Unit, CPU), or a specific integrated circuit (Application Specific Integrated) Circuit, ASIC), or one or more integrated circuits configured to implement embodiments of the present application, such as one or more microprocessors (digital signal) Processor, DSP), or one or more Field Programmable Gate Arrays (FPGAs).
  • CPU central processor
  • ASIC Application Specific Integrated Circuit
  • the memory 303 may be a storage device or a collective name of a plurality of storage elements, and is used to store executable program code or parameters, data, and the like required for the application running device to operate. And the memory 303 may include random access memory (RAM), and may also include non-volatile memory (non-volatile memory) Memory), such as disk storage, flash (Flash), etc.
  • RAM random access memory
  • non-volatile memory non-volatile memory
  • flash flash
  • Bus 304 can be an industry standard architecture (Industry Standard Architecture, ISA) bus, Peripheral Component (PCI) bus or extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, etc.
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 3, but it does not mean that there is only one bus or one type of bus.
  • the terminal may further include input and output means connected to the bus 304 for connection to other parts such as the processor 301 via the bus.
  • the input/output device can provide an input interface for the operator, so that the operator can select the control item through the input interface, and can also be other interfaces through which other devices can be externally connected.
  • the program may be stored in a computer readable storage medium, and the storage medium may include: Flash drive, read-only memory (English: Read-Only Memory, referred to as: ROM), random accessor (English: Random Access Memory, referred to as: RAM), disk or CD.
  • ROM Read-Only Memory
  • RAM Random Access Memory

Abstract

Disclosed are a terminal video interval division method and system, the method comprising the following steps: obtaining a preliminary decoding image; performing processing on the image to obtain background pixel points and object pixel points in the image; using an object pixel point as the midpoint of a square, extending equidistantly towards the surroundings, and upon extending once without framing an object pixel point, determining that a current range is one divided area. The present technical solution has the advantage of a good user experience.

Description

终端视频区间划分方法及系统  Terminal video interval division method and system 技术领域Technical field
本发明涉及终端领域,尤其涉及一种终端视频区间划分方法及系统。The present invention relates to the field of terminals, and in particular, to a method and system for dividing a video segment of a terminal.
背景技术Background technique
终端是人们日常生活中的常用设备,终端播放视频的机会越来越多,现有的终端视频的解码的区域为相同区域,此方案解码时间长,影响用户体验度。The terminal is a common device in people's daily life. There are more and more opportunities for the terminal to play video. The decoding area of the existing terminal video is the same area. This solution has a long decoding time and affects the user experience.
技术问题technical problem
本申请提供一种终端视频区间划分方法。其解决现有技术的技术方案用户体验度低的缺点。The application provides a method for dividing a video segment of a terminal. It solves the shortcomings of low user experience of the prior art technical solutions.
技术解决方案Technical solution
一方面,提供一种终端视频区间划分方法,所述方法包括如下步骤:In one aspect, a method for dividing a video segment of a terminal is provided, and the method includes the following steps:
获取初步解码的图像;Obtaining a preliminary decoded image;
将该图像进行处理得到图像中的背景像素点以及对象像素点;Processing the image to obtain background pixel points and object pixel points in the image;
以对象像素点为正方形的中点向四周等距离延伸,当延伸一次未框有对象像素点时,确定当前范围为划分的一个区域。The midpoint of the object pixel as a square extends equidistantly around, and when the target pixel is not framed once, the current range is determined to be an area of the division.
可选的,所述以对象像素点为正方形的中点向四周等距离延伸,当延伸一次未框有对象像素点时,确定当前范围为划分的一个区域具体包括:Optionally, the midpoint with the object pixel as a square extends equidistantly to the periphery. When the object pixel is not framed once, determining that the current range is a region of the partition specifically includes:
从未划分区域中任意寻找一个对象像素点作为划分区域的中心点。Any object pixel is arbitrarily searched from the undivided area as the center point of the divided area.
可选的,所述方法还包括:Optionally, the method further includes:
如区域的数量低于设定阈值,从最大区域中重新划分新的区域。If the number of regions is below the set threshold, the new region is re-divided from the largest region.
第二方面,提供一种终端视频区间划分系统,所述系统包括:A second aspect provides a terminal video interval division system, where the system includes:
获取单元,用于获取初步解码的图像;An obtaining unit, configured to obtain a preliminary decoded image;
区分单元,用于将该图像进行处理得到图像中的背景像素点以及对象像素点a distinguishing unit for processing the image to obtain background pixel points and object pixel points in the image
处理单元,用于以对象像素点为正方形的中点向四周等距离延伸,当延伸一次未框有对象像素点时,确定当前范围为划分的一个区域。The processing unit is configured to extend equidistantly around the midpoint of the object pixel as a square. When the object pixel is not framed once, the current range is determined to be an area of the division.
可选的,所述系统还包括:Optionally, the system further includes:
所述处理单元,具体用于从未划分区域中任意寻找一个对象像素点作为划分区域的中心点。The processing unit is specifically configured to arbitrarily search for an object pixel point in the undivided area as a center point of the divided area.
可选的,所述处理单元,具体用于如区域的数量低于设定阈值,从最大区域中重新划分新的区域。Optionally, the processing unit is specifically configured to re-divide the new area from the largest area if the number of the areas is lower than a set threshold.
第三方面,提供一种终端,包括:处理器、收发器、存储器和总线,所述处理器、收发器、存储器通过总线连接, In a third aspect, a terminal is provided, including: a processor, a transceiver, a memory, and a bus, where the processor, the transceiver, and the memory are connected by using a bus.
所述处理器,用于的获取初步解码的图像,将该图像进行处理得到图像中的背景像素点以及对象像素点,以对象像素点为正方形的中点向四周等距离延伸,当延伸一次未框有对象像素点时,确定当前范围为划分的一个区域。The processor is configured to obtain a preliminary decoded image, and process the image to obtain a background pixel point and an object pixel point in the image, and extend the center point of the object pixel point to a square, and extend the same time. When the frame has object pixels, it is determined that the current range is an area of the division.
可选的,所述处理器,具体用于从未划分区域中任意寻找一个对象像素点作为划分区域的中心点。Optionally, the processor is specifically configured to find an object pixel point as an center point of the divided area arbitrarily from the unpartitioned area.
可选的,所述处理器,具体用于如区域的数量低于设定阈值,从最大区域中重新划分新的区域。Optionally, the processor is specifically configured to re-divide a new area from a maximum area, such that the number of areas is lower than a set threshold.
有益效果Beneficial effect
本发明提供的技术方案获取初步解码的图像,将该图像进行处理得到图像中的背景像素点以及对象像素点;以对象像素点为正方形的中点向四周等距离延伸,当延伸一次未框有对象像素点时,确定当前范围为划分的一个区域,其具有多步解码,并且依据具体的情况划分解码区域,减少解码时间,具有用户体验度高的优点。The technical solution provided by the present invention obtains a preliminary decoded image, and the image is processed to obtain a background pixel point and an object pixel point in the image; the midpoint of the object pixel point is square and extends equidistantly around, and when extended, the frame is not framed. When the object pixel is used, it is determined that the current range is a divided area, which has multi-step decoding, and divides the decoding area according to a specific situation, reduces decoding time, and has the advantage of high user experience.
附图说明DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work.
图1为本发明第一较佳实施方式提供的一种终端视频区间划分方法的流程图;1 is a flowchart of a method for dividing a video segment of a terminal according to a first preferred embodiment of the present invention;
图2为本发明第二较佳实施方式提供的一种终端视频区间划分系统的结构图。FIG. 2 is a structural diagram of a terminal video segmentation system according to a second preferred embodiment of the present invention.
图3为本发明第二较佳实施方式提供的一种终端的硬件结构图。FIG. 3 is a hardware structural diagram of a terminal according to a second preferred embodiment of the present invention.
本发明的实施方式Embodiments of the invention
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
请参考图1,图1是本发明第一较佳实施方式提出的一种终端视频区间划分方法,该方法如图1所示,包括如下步骤:Please refer to FIG. 1. FIG. 1 is a schematic diagram of a method for dividing a video segment of a terminal according to a first preferred embodiment of the present invention. The method is as shown in FIG.
步骤S101、获取初步解码的图像。Step S101: Acquire a preliminary decoded image.
步骤S102、将该图像进行处理得到图像中的背景像素点以及对象像素点。Step S102: processing the image to obtain a background pixel point and a target pixel point in the image.
步骤S103、以对象像素点为正方形的中点向四周等距离延伸,当延伸一次未框有对象像素点时,确定当前范围为划分的一个区域。In step S103, the midpoint of the object pixel is square and equidistantly extended to the periphery. When the target pixel is not framed once, the current range is determined to be a divided region.
本发明提供的技术方案获取初步解码的图像,将该图像进行处理得到图像中的背景像素点以及对象像素点;以对象像素点为正方形的中点向四周等距离延伸,当延伸一次未框有对象像素点时,确定当前范围为划分的一个区域,其具有多步解码,并且依据具体的情况划分解码区域,减少解码时间,具有用户体验度高的优点。The technical solution provided by the present invention obtains a preliminary decoded image, and the image is processed to obtain a background pixel point and an object pixel point in the image; the midpoint of the object pixel point is square and extends equidistantly around, and when extended, the frame is not framed. When the object pixel is used, it is determined that the current range is a divided area, which has multi-step decoding, and divides the decoding area according to a specific situation, reduces decoding time, and has the advantage of high user experience.
可选的,该方法还包括:Optionally, the method further includes:
从未划分区域中任意寻找一个对象像素点作为划分区域的中心点。Any object pixel is arbitrarily searched from the undivided area as the center point of the divided area.
可选的,如区域的数量低于设定阈值,从最大区域中重新划分新的区域。Optionally, if the number of regions is lower than a set threshold, the new region is re-divided from the largest region.
请参考图2,图2是本发明第二较佳实施方式提出的一种终端视频区间划分系统,该系统如图2所示,包括:Please refer to FIG. 2. FIG. 2 is a schematic diagram of a video segmentation system for a terminal according to a second preferred embodiment of the present invention. The system is as shown in FIG.
获取单元201,用于的获取初步解码的图像;An obtaining unit 201, configured to acquire a preliminary decoded image;
区分单元202,用于将该图像进行处理得到图像中的背景像素点以及对象像素点a distinguishing unit 202, configured to process the image to obtain a background pixel point and an object pixel point in the image
处理单元203,用于以对象像素点为正方形的中点向四周等距离延伸,当延伸一次未框有对象像素点时,确定当前范围为划分的一个区域。The processing unit 203 is configured to extend equidistantly around the midpoint of the object pixel as a square. When the object pixel is not framed once, the current range is determined to be a divided region.
本发明提供的技术方案获取初步解码的图像,将该图像进行处理得到图像中的背景像素点以及对象像素点;以对象像素点为正方形的中点向四周等距离延伸,当延伸一次未框有对象像素点时,确定当前范围为划分的一个区域,其具有多步解码,并且依据具体的情况划分解码区域,减少解码时间,具有用户体验度高的优点。The technical solution provided by the present invention obtains a preliminary decoded image, and the image is processed to obtain a background pixel point and an object pixel point in the image; the midpoint of the object pixel point is square and extends equidistantly around, and when extended, the frame is not framed. When the object pixel is used, it is determined that the current range is a divided area, which has multi-step decoding, and divides the decoding area according to a specific situation, reduces decoding time, and has the advantage of high user experience.
可选的,处理单元203,具体用于从未划分区域中任意寻找一个对象像素点作为划分区域的中心点。Optionally, the processing unit 203 is specifically configured to find an object pixel point as an center point of the divided area arbitrarily from the unpartitioned area.
可选的,所述处理单元203,具体用于如区域的数量低于设定阈值,从最大区域中重新划分新的区域。Optionally, the processing unit 203 is specifically configured to re-divide the new area from the largest area if the number of the areas is lower than a set threshold.
参阅图3,图3为一种终端30,包括:处理器301、收发器302、存储器303和总线304,收发器302用于与外部设备之间收发数据。处理器301的数量可以是一个或多个。本申请的一些实施例中,处理器301、存储器302和收发器303可通过总线304或其他方式连接。终端30可以用于执行图1的步骤。关于本实施例涉及的术语的含义以及举例,可以参考图1对应的实施例。此处不再赘述。Referring to FIG. 3, FIG. 3 is a terminal 30 including a processor 301, a transceiver 302, a memory 303, and a bus 304. The transceiver 302 is configured to send and receive data with and from an external device. The number of processors 301 can be one or more. In some embodiments of the present application, processor 301, memory 302, and transceiver 303 may be connected by bus 304 or other means. Terminal 30 can be used to perform the steps of FIG. For the meaning and examples of the terms involved in the embodiment, reference may be made to the corresponding embodiment of FIG. 1. I will not repeat them here.
其中,存储器303中存储程序代码。处理器301用于调用存储器303中存储的程序代码,用于执行以下操作:The program code is stored in the memory 303. The processor 301 is configured to call the program code stored in the memory 303 for performing the following operations:
处理器301,用于的获取初步解码的图像,将该图像进行处理得到图像中的背景像素点以及对象像素点;以对象像素点为正方形的中点向四周等距离延伸,当延伸一次未框有对象像素点时,确定当前范围为划分的一个区域。The processor 301 is configured to obtain a preliminary decoded image, and process the image to obtain a background pixel point and a target pixel point in the image; the midpoint of the object pixel point is square and extend equidistantly around, and when the extension is not framed When there is an object pixel, it is determined that the current range is an area of the division.
需要说明的是,这里的处理器301可以是一个处理元件,也可以是多个处理元件的统称。例如,该处理元件可以是中央处理器(Central Processing Unit,CPU),也可以是特定集成电路(Application Specific Integrated Circuit,ASIC),或者是被配置成实施本申请实施例的一个或多个集成电路,例如:一个或多个微处理器(digital signal processor,DSP),或,一个或者多个现场可编程门阵列(Field Programmable Gate Array, FPGA)。It should be noted that the processor 301 herein may be a processing component or a general term of multiple processing components. For example, the processing element can be a central processor (Central) Processing Unit, CPU), or a specific integrated circuit (Application Specific Integrated) Circuit, ASIC), or one or more integrated circuits configured to implement embodiments of the present application, such as one or more microprocessors (digital signal) Processor, DSP), or one or more Field Programmable Gate Arrays (FPGAs).
存储器303可以是一个存储装置,也可以是多个存储元件的统称,且用于存储可执行程序代码或应用程序运行装置运行所需要参数、数据等。且存储器303可以包括随机存储器(RAM),也可以包括非易失性存储器(non-volatile memory),例如磁盘存储器,闪存(Flash)等。The memory 303 may be a storage device or a collective name of a plurality of storage elements, and is used to store executable program code or parameters, data, and the like required for the application running device to operate. And the memory 303 may include random access memory (RAM), and may also include non-volatile memory (non-volatile memory) Memory), such as disk storage, flash (Flash), etc.
总线304可以是工业标准体系结构(Industry Standard Architecture,ISA)总线、外部设备互连(Peripheral Component,PCI)总线或扩展工业标准体系结构(Extended Industry Standard Architecture,EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。为便于表示,图3中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。Bus 304 can be an industry standard architecture (Industry Standard Architecture, ISA) bus, Peripheral Component (PCI) bus or extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 3, but it does not mean that there is only one bus or one type of bus.
该终端还可以包括输入输出装置,连接于总线304,以通过总线与处理器301等其它部分连接。该输入输出装置可以为操作人员提供一输入界面,以便操作人员通过该输入界面选择布控项,还可以是其它接口,可通过该接口外接其它设备。The terminal may further include input and output means connected to the bus 304 for connection to other parts such as the processor 301 via the bus. The input/output device can provide an input interface for the operator, so that the operator can select the control item through the input interface, and can also be other interfaces through which other devices can be externally connected.
需要说明的是,对于前述的各个方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某一些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the foregoing various method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present invention. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详细描述的部分,可以参见其他实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are different, and the parts that are not described in detail in a certain embodiment can be referred to the related descriptions of other embodiments.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器(英文:Read-Only Memory ,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。A person skilled in the art may understand that all or part of the various steps of the foregoing embodiments may be performed by a program to instruct related hardware. The program may be stored in a computer readable storage medium, and the storage medium may include: Flash drive, read-only memory (English: Read-Only Memory, referred to as: ROM), random accessor (English: Random Access Memory, referred to as: RAM), disk or CD.
以上对本发明实施例所提供的内容下载方法及相关设备、系统进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The content downloading method and the related device and system provided by the embodiments of the present invention are described in detail above. The principles and implementation manners of the present invention are described in the specific examples. The description of the above embodiments is only used to help understand the present invention. The method of the invention and its core idea; at the same time, for the person of ordinary skill in the art, according to the idea of the present invention, there are some changes in the specific embodiment and the scope of application. In summary, the content of the specification should not be understood. To limit the invention.

Claims (9)

  1. 一种终端视频区间划分方法,其特征在于,所述方法包括如下步骤: A method for dividing a video segment of a terminal, the method comprising the following steps:
    获取初步解码的图像;Obtaining a preliminary decoded image;
    将该图像进行处理得到图像中的背景像素点以及对象像素点;Processing the image to obtain background pixel points and object pixel points in the image;
    以对象像素点为正方形的中点向四周等距离延伸,当延伸一次未框有对象像素点时,确定当前范围为划分的一个区域。The midpoint of the object pixel as a square extends equidistantly around, and when the target pixel is not framed once, the current range is determined to be an area of the division.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 further comprising:
    从未划分区域中任意寻找一个对象像素点作为划分区域的中心点。Any object pixel is arbitrarily searched from the undivided area as the center point of the divided area.
  3. 根据权要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1, wherein the method further comprises:
    如区域的数量低于设定阈值,从最大区域中重新划分新的区域。If the number of regions is below the set threshold, the new region is re-divided from the largest region.
  4. 一种终端视频区间划分系统,其特征在于,所述系统包括:A terminal video interval division system, characterized in that the system comprises:
    获取单元,用于获取初步解码的图像;An obtaining unit, configured to obtain a preliminary decoded image;
    区分单元,用于将该图像进行处理得到图像中的背景像素点以及对象像素点a distinguishing unit for processing the image to obtain background pixel points and object pixel points in the image
    处理单元,用于以对象像素点为正方形的中点向四周等距离延伸,当延伸一次未框有对象像素点时,确定当前范围为划分的一个区域。The processing unit is configured to extend equidistantly around the midpoint of the object pixel as a square. When the object pixel is not framed once, the current range is determined to be an area of the division.
  5. 根据权利要求4所述的系统,其特征在于,所述系统还包括:The system of claim 4, wherein the system further comprises:
    所述处理单元,具体用于从未划分区域中任意寻找一个对象像素点作为划分区域的中心点。The processing unit is specifically configured to arbitrarily search for an object pixel point in the undivided area as a center point of the divided area.
  6. 根据权利要求4所述的系统,其特征在于,所述处理单元,具体用于如区域的数量低于设定阈值,从最大区域中重新划分新的区域。The system according to claim 4, wherein the processing unit is specifically configured to re-divide the new region from the largest region if the number of regions is lower than a set threshold.
  7. 一种终端,包括:处理器、收发器、存储器和总线,所述处理器、收发器、存储器通过总线连接,其特征在于,A terminal includes: a processor, a transceiver, a memory, and a bus, wherein the processor, the transceiver, and the memory are connected by a bus, wherein
    所述处理器,用于的获取初步解码的图像,将该图像进行处理得到图像中的背景像素点以及对象像素点,以对象像素点为正方形的中点向四周等距离延伸,当延伸一次未框有对象像素点时,确定当前范围为划分的一个区域。The processor is configured to obtain a preliminary decoded image, and process the image to obtain a background pixel point and an object pixel point in the image, and extend the center point of the object pixel point to a square, and extend the same time. When the frame has object pixels, it is determined that the current range is an area of the division.
  8. 根据权利要求7所述的终端,其特征在于,The terminal according to claim 7, wherein
    所述处理器,具体用于从未划分区域中任意寻找一个对象像素点作为划分区域的中心点。The processor is specifically configured to randomly search for an object pixel point in an unpartitioned area as a center point of the divided area.
  9. 根据权利要求7所述的终端,其特征在于,所述处理器,具体用于如区域的数量低于设定阈值,从最大区域中重新划分新的区域。 The terminal according to claim 7, wherein the processor is specifically configured to re-divide a new area from a maximum area if the number of areas is lower than a set threshold.
PCT/CN2017/084490 2017-05-16 2017-05-16 Terminal video interval division method and system WO2018209549A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/084490 WO2018209549A1 (en) 2017-05-16 2017-05-16 Terminal video interval division method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/084490 WO2018209549A1 (en) 2017-05-16 2017-05-16 Terminal video interval division method and system

Publications (1)

Publication Number Publication Date
WO2018209549A1 true WO2018209549A1 (en) 2018-11-22

Family

ID=64273014

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/084490 WO2018209549A1 (en) 2017-05-16 2017-05-16 Terminal video interval division method and system

Country Status (1)

Country Link
WO (1) WO2018209549A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0846778A (en) * 1994-08-02 1996-02-16 Dainippon Printing Co Ltd Image magnification method
CN101039420A (en) * 2007-03-30 2007-09-19 孟智平 Streaming format-based image transmission method, prediction algorithm and display method
CN101583033A (en) * 2009-06-05 2009-11-18 中山大学 Method for protecting H.264 video data by using robust watermarks
CN103402087A (en) * 2013-07-23 2013-11-20 北京大学 Video encoding and decoding method based on gradable bit streams

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0846778A (en) * 1994-08-02 1996-02-16 Dainippon Printing Co Ltd Image magnification method
CN101039420A (en) * 2007-03-30 2007-09-19 孟智平 Streaming format-based image transmission method, prediction algorithm and display method
CN101583033A (en) * 2009-06-05 2009-11-18 中山大学 Method for protecting H.264 video data by using robust watermarks
CN103402087A (en) * 2013-07-23 2013-11-20 北京大学 Video encoding and decoding method based on gradable bit streams

Similar Documents

Publication Publication Date Title
WO2018176390A1 (en) Safety precaution method and system for winding machine
WO2018223354A1 (en) Positioning-based attendance recording method and system
WO2018209549A1 (en) Terminal video interval division method and system
WO2018223375A1 (en) Controlling and reminding method and system for terminal traffic
WO2018209586A1 (en) Bluetooth positioning method and system
WO2018209548A1 (en) Terminal video decoding method and system
WO2018170889A1 (en) Friend grouping method and system for instant messaging
WO2014056385A1 (en) Common message sending method, electronic device and storage medium
WO2018223346A1 (en) Method and system for positioning in photograph sharing
WO2018176225A1 (en) Decoding method and system for audio and video data
WO2018223355A1 (en) Game map positioning implementation method and system
WO2018209502A1 (en) Grouping method and system for terminal apps
WO2018176223A1 (en) Cloned implementation method and system for instant message
WO2018223376A1 (en) Method and system for controlling brightness of terminal
WO2018176224A1 (en) Method and system for processing audio and video data of mobile terminal
WO2018209508A1 (en) Method and system for implementing terminal app multitasking
WO2018218615A1 (en) Method and system for determining priorities of multiple apps in terminal
WO2018209550A1 (en) Terminal system update method and system
WO2018209504A1 (en) Group-based terminal app management method and system
WO2018223374A1 (en) Timely notification method and system for terminal charging
WO2019061384A1 (en) Method and system for electing task manager in distributed crawler system
WO2018165837A1 (en) Method and system for scraping information from network
WO2018218804A1 (en) Terminal hybrid identification method and system
WO2018223371A1 (en) Terminal hot spot access control method and system
WO2018161218A1 (en) Big data sequencing recommendation method and system with monitoring system

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

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

Country of ref document: EP

Kind code of ref document: A1

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

122 Ep: pct application non-entry in european phase

Ref document number: 17909809

Country of ref document: EP

Kind code of ref document: A1