WO2016119217A1 - 视频通信中放大视频图像的方法和终端 - Google Patents

视频通信中放大视频图像的方法和终端 Download PDF

Info

Publication number
WO2016119217A1
WO2016119217A1 PCT/CN2015/071951 CN2015071951W WO2016119217A1 WO 2016119217 A1 WO2016119217 A1 WO 2016119217A1 CN 2015071951 W CN2015071951 W CN 2015071951W WO 2016119217 A1 WO2016119217 A1 WO 2016119217A1
Authority
WO
WIPO (PCT)
Prior art keywords
video image
terminal
resolution
partial
partial video
Prior art date
Application number
PCT/CN2015/071951
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 华为技术有限公司
Priority to PCT/CN2015/071951 priority Critical patent/WO2016119217A1/zh
Priority to CN201580001929.9A priority patent/CN106170987A/zh
Publication of WO2016119217A1 publication Critical patent/WO2016119217A1/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/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting

Definitions

  • the embodiments of the present invention relate to the field of communications technologies, and in particular, to a method and a terminal for amplifying a video image in video communication.
  • the video image during video communication may not be clear.
  • the mobile terminal cannot enlarge the video image. For example, when a user presents a trinkets to another user during video communication, the video image displayed by the mobile terminal cannot be clearly enlarged, so that the other user can hardly see the trinkets through the video images on the mobile terminal.
  • Embodiments of the present invention provide a method and a terminal for amplifying a video image in video communication, which are used to amplify a video image in a video image sent by a counterpart in a video communication process.
  • an embodiment of the present invention provides a method for amplifying a video image in video communication, including: in a process of performing video communication between a first terminal and a second terminal, the first terminal receives the second terminal a video enlargement request, the video enlargement request including location information of a portion of the video image requesting the enlargement in the original video image;
  • the first terminal reduces the original video image to the partial video image corresponding to the location information
  • the first terminal sends the partial video image to the second terminal.
  • the method before the first terminal sends the partial video image to the second terminal, the method further includes: obtaining, by the first terminal, a cut The resolution of the portion of the video image;
  • the method when the resolution of the partial video image obtained by the clipping is smaller than the resolution required by the transmission, the method further includes:
  • the first terminal increases the resolution of capturing the original video image to obtain an original video image with an increased resolution
  • the first terminal reduces the original video image with the increased resolution to the partial video image, and the resolution of the partial video image obtained by cutting the original video image with the increased resolution is greater than or equal to the The resolution required for transmission;
  • the method further includes: the first terminal lowering a resolution of the transmission request, so that the reduced resolution of the transmission request is required Less than or equal to the resolution of the partial video image.
  • the method further includes: the first terminal compressing the partial video image obtained by the clipping according to the resolution of the transmission request Obtaining a partial video image after compression processing, and a resolution of the partial video image after the compression processing is equal to a resolution required by the transmission;
  • the location information is coordinate information of a rectangular frame occupied by the partial video image in the original video image.
  • the method further includes:
  • the first terminal sends the original video image to the second terminal according to the video image restoration request.
  • an embodiment of the present invention provides a method for amplifying a video image in video communication, including: in a process of performing video communication between a first terminal and a second terminal, the second terminal acquires a part of a video image that needs to be requested to be enlarged. Location information in the original video image;
  • the second terminal receives the partial video image sent by the first terminal
  • the second terminal displays the partial video image.
  • the location information is coordinate information of a rectangular frame occupied by the partial video image in the original video image.
  • the second terminal acquires location information of the part of the video image that needs to be requested to be amplified, including :
  • the second terminal acquires a sliding track on a display interface of the second terminal
  • the second terminal determines that the coordinates of the end point of the rectangular frame are the location information of the partial video image.
  • the aspect ratio of the rectangular frame is the same as the aspect ratio of the resolution required for transmission.
  • the method further includes:
  • the second terminal receives the original video image sent by the first terminal
  • the second terminal displays the original video image.
  • an embodiment of the present invention provides a terminal, as a first terminal, including:
  • a receiving unit configured to receive, during a video communication between the first terminal and the second terminal, a video enlargement request sent by the second terminal, where the video enlargement request includes a part of the video image requested to be enlarged in the original video image Location information in ;
  • a processing unit configured to: cut the original video image into the partial video image corresponding to the location information according to the video enlargement request;
  • a sending unit configured to send the partial video image to the second terminal.
  • the processing unit is further configured to: after the sending unit sends the partial video image to the second terminal, obtain the partial video image obtained by the clipping Resolution
  • the sending unit When the sending unit sends the partial video image to the second terminal, the sending unit is specifically configured to: send a partial video image with a resolution greater than or equal to a resolution required by the transmission to the second terminal.
  • the processing unit is further configured to send, by the sending unit, the resolution to the second terminal is greater than Or before the partial video image of the resolution required for transmission, when the resolution of the partial video image obtained by the clipping is smaller than the resolution required by the transmission, the resolution of capturing the original video image is improved, and the resolution is increased.
  • a large original video image and the original video image with the increased resolution is reduced to the partial video image, and the resolution of the partial video image obtained by clipping from the increased original video image is greater than or equal to The resolution required for the transmission;
  • the sending unit When the sending unit sends a partial video image with a resolution greater than or equal to the resolution required for the transmission to the second terminal, the sending unit is specifically configured to: send the original video image that is increased from the resolution to the second terminal. The partial video image obtained by the cut.
  • the processing unit is further configured to send, by the sending unit, the part to the second terminal Before the video image, when the resolution of the partial video image obtained by the clipping is smaller than the resolution required by the transmission, the resolution required by the transmission is lowered, so that the resolution of the reduced transmission requirement is less than or equal to The resolution of the partial video image.
  • the processing unit is further configured to send, by the sending unit, the Before the partial video image, when the resolution of the partial video image obtained by the clipping is smaller than the resolution required by the transmission, the partial video image obtained by the clipping is compressed according to the resolution required by the transmission, and obtained Compressing the processed partial video image, the resolution of the compressed partial video image is equal to the resolution required by the transmission;
  • the sending unit When the sending unit sends the partial video image to the second terminal, the sending unit is specifically configured to: send the compressed partial video image to the second terminal.
  • the location information is the partial video image The coordinate information of the rectangular frame occupied in the original video image.
  • the receiving unit is further configured to: Decoding a video image recovery request sent by the second terminal;
  • the sending unit is further configured to send the original video image to the second terminal according to the video image restoration request.
  • an embodiment of the present invention provides a terminal, as a second terminal, including:
  • a processing unit configured to acquire, in a process of performing video communication between the first terminal and the second terminal, position information of a part of the video image that needs to be requested to be enlarged in the original video image;
  • a sending unit configured to send a video image enlargement request to the first terminal, where the video image enlargement request includes the location information
  • a receiving unit configured to receive the partial video image sent by the first terminal
  • the processing unit is further configured to display the partial video image.
  • the location information is coordinate information of a rectangular frame occupied by the partial video image in the original video image.
  • the processing unit when acquiring location information of a part of the video image that needs to be requested to be enlarged in the original video image, Specifically, the method is: acquiring a sliding track on the display interface of the second terminal; acquiring a rectangular frame according to the sliding track, where the sliding track is located in the rectangular frame; determining coordinates of an end point of the rectangular frame as The position information of a part of the video image.
  • the aspect ratio of the rectangular frame is the same as the aspect ratio of the resolution required for transmission.
  • the sending unit is further used for The first terminal sends a video image recovery request
  • the receiving unit is further configured to receive the original video image sent by the first terminal;
  • the processing unit is further configured to display the original video image.
  • an embodiment of the present invention provides a terminal, as a first terminal, including:
  • a receiver configured to receive, during a video communication between the first terminal and the second terminal, a video enlargement request sent by the second terminal, where the video enlargement request includes a partial video image requesting amplification in an original video image Location information in ;
  • a processor configured to reduce the original video image to the partial video image corresponding to the location information according to the video enlargement request
  • a transmitter configured to send the partial video image to the second terminal.
  • the processor is further configured to acquire the partial video image obtained by the clipping before the transmitter sends the partial video image to the second terminal Resolution
  • the transmitter When the transmitter sends the partial video image to the second terminal, the transmitter is specifically configured to: send a partial video image with a resolution greater than or equal to a resolution required by the transmission to the second terminal.
  • the processor is further configured to send, by the sender, the resolution to the second terminal is greater than Or before the partial video image of the resolution required for transmission, when the resolution of the partial video image obtained by the clipping is smaller than the resolution required by the transmission, the resolution of capturing the original video image is improved, and the resolution is increased.
  • a large original video image and the original video image with the increased resolution is reduced to the partial video image, and the resolution of the partial video image obtained by clipping from the increased original video image is greater than or equal to The resolution required for the transmission;
  • the transmitter When the transmitter sends a partial video image with a resolution greater than or equal to the resolution required for the transmission to the second terminal, the transmitter is specifically configured to: send the original video image that is increased from the resolution to the second terminal.
  • the partial video image obtained by the cut.
  • the processor is further configured to send the part to the second terminal by the sender Before the video image, the resolution of the partial video image obtained by the clipping is smaller than the transmission requirement At the resolution of the transmission, the resolution required for the transmission is reduced such that the resolution of the reduced transmission requirement is less than or equal to the resolution of the partial video image.
  • the processor is further configured to send, by the sender, the part to the second terminal Before the video image, when the resolution of the partial video image obtained by the clipping is smaller than the resolution required by the transmission, the partial video image obtained by the clipping is compressed according to the resolution required by the transmission to obtain compression. a processed partial video image, the resolution of the compressed partial video image being equal to the resolution required by the transmission;
  • the transmitter When the transmitter sends the partial video image to the second terminal, the transmitter is specifically configured to: send the compressed partial video image to the second terminal.
  • the location information is the partial video image The coordinate information of the rectangular frame occupied in the original video image.
  • the receiver is further configured to receive Decoding a video image recovery request sent by the second terminal;
  • the transmitter is further configured to send the original video image to the second terminal according to the video image restoration request.
  • the embodiment of the present invention provides a terminal, as a second terminal, including:
  • a processor configured to acquire, in a process of performing video communication between the first terminal and the second terminal, position information of a part of the video image that needs to be requested to be enlarged in the original video image;
  • a transmitter configured to send a video image enlargement request to the first terminal, where the video image enlargement request includes the location information
  • a receiver configured to receive the partial video image sent by the first terminal
  • the processor is further configured to display the partial video image.
  • the location information is coordinate information of a rectangular frame occupied by the partial video image in the original video image.
  • the processor when acquiring location information of a part of the video image that needs to be requested to be enlarged in the original video image, Specifically, the method is: acquiring a sliding track on a display interface of the second terminal; Acquiring a rectangular frame according to the sliding track, the sliding track is located in the rectangular frame; determining coordinates of an end point of the rectangular frame as position information of the partial video image.
  • the aspect ratio of the rectangular frame is the same as the aspect ratio of the resolution required for transmission.
  • the transmitter is further used for The first terminal sends a video image recovery request
  • the receiver is further configured to receive the original video image sent by the first terminal;
  • the processor is further configured to display the original video image.
  • the method and the terminal for amplifying a video image in the video communication provided by the embodiment of the present invention, in the process of performing video communication between the first terminal and the second terminal, the first terminal receives the video enlargement request sent by the second terminal, the video
  • the enlargement request includes requesting location information of the enlarged partial video image in the original video image; and further, according to the video enlargement request, the original video image is reduced to the partial video image corresponding to the location information, and the partial video image is sent to
  • the second terminal can display the partial video image, thereby realizing amplifying part of the video image in the video image sent by the other party during the video communication process.
  • Embodiment 1 is a flowchart of Embodiment 1 of a method for amplifying a video image in video communication according to the present invention
  • FIG. 2 is a schematic diagram of a position of a partial video image in an original video image provided by the present invention
  • FIG. 3 is a schematic diagram of a partial video image obtained by clipping from an original video image provided by the present invention
  • Embodiment 4 is a flowchart of Embodiment 2 of a method for amplifying a video image in video communication according to the present invention
  • Embodiment 3 is a flowchart of Embodiment 3 of a method for amplifying a video image in video communication according to the present invention
  • Embodiment 6 is a flowchart of Embodiment 4 of a method for amplifying a video image in video communication according to the present invention
  • Embodiment 7 is a flowchart of Embodiment 5 of a method for amplifying a video image in video communication according to the present invention.
  • Embodiment 8 is a flowchart of Embodiment 6 of a method for amplifying a video image in video communication according to the present invention
  • Embodiment 9 is a flowchart of Embodiment 7 of a method for amplifying a video image in video communication according to the present invention.
  • Embodiment 8 is a flowchart of Embodiment 8 of a method for amplifying a video image in video communication according to the present invention
  • Embodiment 1 of a terminal according to the present invention is a schematic structural diagram of Embodiment 1 of a terminal according to the present invention.
  • Embodiment 2 of a terminal according to the present invention is a schematic structural diagram of Embodiment 2 of a terminal according to the present invention.
  • FIG. 13 is a schematic structural diagram of Embodiment 3 of a terminal according to the present invention.
  • FIG. 14 is a schematic structural diagram of Embodiment 4 of a terminal according to the present invention.
  • Embodiment 1 is a flowchart of Embodiment 1 of a method for amplifying a video image in a video communication according to the present invention. As shown in FIG. 1, the method in this embodiment may include:
  • the first terminal receives a video enlargement request sent by the second terminal in a process of performing video communication between the first terminal and the second terminal, where the video enlargement request includes a position of the partial video image requested to be enlarged in the original video image. information.
  • the user using the second terminal can view the original video image sent by the first terminal on the display interface of the second terminal.
  • the user may select the partial video image on the display interface of the second terminal, and input to the second terminal for zooming in.
  • An instruction to display the part of the video image, and then the second terminal may acquire location information of the part of the video image that is requested to be enlarged in the original video image, and then carry the location information in the video amplification request and send the information to the first terminal, and accordingly,
  • the first terminal receives the video amplification request sent by the second terminal.
  • the first terminal cuts the original video image into the partial video image corresponding to the location information.
  • the first terminal may cut and obtain a partial video image corresponding to the location information included in the video image enlargement request from the original video image.
  • the location information is coordinate information of a rectangular frame occupied by the partial video image in the original video image.
  • the second terminal requests to enlarge the area shown by the rectangular frame in FIG. 2, and then the first terminal may cut the original video image into a partial video image corresponding to the rectangular frame, and the partial video image obtained by the clipping is as shown in FIG. Show.
  • the first terminal sends the partial video image to the second terminal.
  • the first terminal after acquiring the partial video image corresponding to the location information, the first terminal sends the partial video image to the second terminal.
  • the second terminal displays the partial video image; for example, the first terminal may display the partial video image in full screen.
  • the so-called partial video images are relative to the previous original video images, and for the terminal, the video images are displayed in full screen in the display interface of the terminal.
  • the method for amplifying a video image in video communication provided by the embodiment of the present invention, in the process of performing video communication between the first terminal and the second terminal, the first terminal receives a video enlargement request sent by the second terminal, and the video enlargement request And including location information of the part of the video image requested to be enlarged in the original video image; and then, according to the video enlargement request, the original video image is reduced to the partial video image corresponding to the location information, and the partial video image is sent to the first
  • the second terminal can display the partial video image, thereby realizing amplifying part of the video image in the video image sent by the other party during the video communication process.
  • Embodiment 4 is a flowchart of Embodiment 2 of a method for amplifying a video image in a video communication according to the present invention. As shown in FIG. 4, the method in this embodiment may include:
  • the first terminal receives a video enlargement request sent by the second terminal, where the video enlargement request includes a position of the partial video image requested to be enlarged in the original video image. information.
  • the first terminal cuts the original video image into the partial video image corresponding to the location information.
  • the first terminal acquires a resolution of the partial video image obtained by the clipping.
  • the first terminal sends the partial video image to the second terminal.
  • the first terminal may obtain the resolution of the partial video image obtained by the clipping, for example, the resolution of the partial video image obtained by the clipping is 960*720, and the resolution required for the transmission is 640*480.
  • the resolution of the part of the video image is greater than the resolution required for the transmission; or the resolution of the partial video image obtained by the clipping is 640*480, and the resolution of the part of the video image is equal to the resolution required for the transmission; therefore, the resolution can be determined.
  • Part of the video image satisfies the video image transmission requirement, and then the first terminal transmits a partial video image that is greater than or equal to the resolution required by the transmission to the second terminal, and the second terminal displays the received partial video image, thereby A part of the video image in the video image sent by the other party is amplified during the video communication process. Moreover, since the resolution of the partial video image received by the second terminal is higher, part of the video image displayed by the second terminal is clearer, and the user experience is also improved.
  • the method for amplifying a video image in the video communication provided by the embodiment, in the process of performing video communication between the first terminal and the second terminal, the first terminal receives a video enlargement request sent by the second terminal, where the video enlargement request includes Requesting the position information of the enlarged partial video image in the original video image, obtaining the resolution of the partial video image obtained by the clipping, and when the resolution of the partial video image is greater than or equal to the resolution required for the transmission, to the second terminal Sending the partial video image, the second terminal can display the partial video image, thereby realizing amplifying part of the video image in the video image sent by the other party during the video communication process. Moreover, since the resolution of the partial video image received by the second terminal is higher, part of the video image displayed by the second terminal is clearer, and the user experience is also improved.
  • FIG. 5 is a flowchart of Embodiment 3 of a method for amplifying a video image in a video communication according to the present invention. As shown in FIG. 5, the method in this embodiment may include:
  • the first terminal receives a video enlargement request sent by the second terminal, where the video enlargement request includes a position of the partial video image requested to be enlarged in the original video image. information.
  • the first terminal cuts the original video image into the partial video image corresponding to the location information.
  • the first terminal acquires a resolution of the part of the video image obtained by the clipping.
  • the first terminal increases the resolution of capturing the original video image to obtain an original video image with an increased resolution.
  • the first terminal may obtain the resolution of the partial video image obtained by the clipping, for example, the resolution of the partial video image obtained by the clipping is 340*240, and the resolution required for the transmission is 640*480.
  • the resolution of the part of the video image is smaller than the resolution required for the transmission, so it can be determined that the part of the video image does not satisfy the video image transmission requirement, and in order to meet the video image transmission requirement, the resolution of the partial video image obtained by the reduction is greater than or equal to the transmission.
  • the second terminal can increase the resolution of the original video image, and the resolution of the captured original video image will increase.
  • the resolution of the original video image is 640*480, and in order to make the resolution of the partial video image greater than or equal to the resolution required for the transmission, the resolution of the original video image may be The rate increases by at least two times.
  • the first terminal reduces the original video image with the increased resolution to the partial video image, and the resolution of the partial video image obtained by cutting the original video image with the increased resolution is greater than or equal to the transmission requirement. Resolution.
  • the first terminal sends, to the second terminal, the partial video image that is cut out from the original video image with the increased resolution.
  • the first terminal further reduces the original video image with increased resolution to a partial video image according to the position information of the partial video image in the original video image, and the pixels of the partial video image obtained by the S305 reduction are greater than or equal to The resolution required for the transfer. And then the first terminal sends a partial video image that is greater than or equal to the resolution required by the transmission to the second terminal, and the second terminal displays the received partial video image, so that the other party can be sent during the video communication process. A portion of the video image in the video image is magnified. Moreover, since the resolution of the partial video image received by the second terminal is higher, part of the video image displayed by the second terminal is clearer, and the user experience is also improved.
  • the method for amplifying a video image in the video communication provided in this embodiment, in the process of performing video communication between the first terminal and the second terminal, the first terminal receives the video amplification sent by the second terminal
  • the request, the video enlargement request includes position information of the part of the video image requested to be enlarged in the original video image, and obtains the resolution of the part of the video image obtained by the clipping, and the resolution of the partial video image obtained by the reduction is smaller than the resolution required for the transmission.
  • the second terminal may display the partial video image, thereby realizing amplifying part of the video image in the video image sent by the other party during the video communication process. Moreover, since the resolution of the partial video image received by the second terminal is higher, part of the video image displayed by the second terminal is clearer, and the user experience is also improved.
  • FIG. 6 is a flowchart of Embodiment 4 of a method for amplifying a video image in a video communication according to the present invention. As shown in FIG. 6, the method in this embodiment may include:
  • the first terminal receives a video enlargement request sent by the second terminal, where the video enlargement request includes a position of the partial video image requested to be enlarged in the original video image. information.
  • the first terminal cuts the original video image into the partial video image corresponding to the location information.
  • the first terminal acquires a resolution of the partial video image obtained by the clipping.
  • the first terminal reduces the resolution required by the transmission, so that the resolution of the reduced transmission requirement is less than or equal to the part.
  • the resolution of the video image is smaller than the resolution required by the transmission.
  • the first terminal sends the partial video image to the second terminal.
  • the first terminal may obtain the resolution of the partial video image obtained by the clipping, for example, the resolution of the partial video image obtained by the clipping is 427*320, and the resolution required for the transmission is 640*480.
  • the resolution of the part of the video image is smaller than the resolution required for the transmission.
  • the first terminal may reduce the resolution required for the transmission, such as may transmit The required resolution is reduced to 352*288.
  • the resolution of the part of the video image is greater than the resolution of the reduced transmission requirement, and then the second terminal part of the video image is sent to the second terminal, and the second terminal is received.
  • Part of the video image into The line display makes it possible to enlarge a part of the video image in the video image sent by the other party during the video communication process.
  • the method for amplifying a video image in the video communication provided by the embodiment, in the process of performing video communication between the first terminal and the second terminal, the first terminal receives a video enlargement request sent by the second terminal, where the video enlargement request includes Requesting the position information of the part of the video image in the original video image to obtain the resolution of the part of the video image obtained by the clipping, and when the resolution of the part of the video image obtained by the clipping is smaller than the resolution required by the transmission, the first The terminal reduces the resolution required by the transmission, and then sends a partial video image to the second terminal, and the second terminal can display the partial video image, thereby realizing part of the video in the video image sent by the other party during the video communication process.
  • the image is enlarged.
  • FIG. 7 is a flowchart of Embodiment 5 of a method for amplifying a video image in a video communication according to the present invention. As shown in FIG. 7, the method in this embodiment may include:
  • the first terminal receives a video enlargement request sent by the second terminal in a process of performing video communication between the first terminal and the second terminal, where the video enlargement request includes a position of the partial video image requested to be enlarged in the original video image. information.
  • the first terminal cuts the original video image into the partial video image corresponding to the location information.
  • the first terminal acquires a resolution of the part of the video image obtained by the clipping.
  • the first terminal compresses the partial video image obtained by the reduction according to the resolution required by the transmission, and obtains the compressed processing.
  • the resolution of the compressed partial video image is equal to the resolution required for the transmission.
  • the first terminal sends the compressed partial video image to the second terminal.
  • the first terminal may obtain the resolution of the partial video image obtained by the clipping, for example, the resolution of the partial video image obtained by the clipping is 1280*960, and the resolution required for the transmission is 640*480.
  • the resolution of the partial video image is greater than the resolution required for the transmission.
  • the first terminal compresses the partial video image and compresses the video image to the partial video image.
  • Resolution equals the resolution of the transmission requirement After the time rate, the partial video image after the compression process is obtained, and then the first terminal sends the compressed partial video image to the second terminal. This can save the traffic consumption of the first terminal and the second terminal in the process of transmitting the partial video image.
  • the method for amplifying a video image in the video communication provided by the embodiment, in the process of performing video communication between the first terminal and the second terminal, the first terminal receives a video enlargement request sent by the second terminal, where the video enlargement request includes Requesting the position information of the part of the video image in the original video image to obtain the resolution of the part of the video image obtained by the clipping, and when the resolution of the part of the video image obtained by the clipping is greater than the resolution required by the transmission, the first The terminal compresses the partial video image obtained by the reduction according to the resolution required by the transmission to obtain a partial video image after the compression processing, and then sends the compressed partial video image to the second terminal, where the second terminal The partial video image can be displayed, thereby realizing the partial video image in the video image sent by the other party during the video communication process, and saving the first terminal and the second terminal in the process of transmitting the partial video image. Traffic consumption.
  • FIG. 8 is a flowchart of Embodiment 6 of a method for amplifying a video image in a video communication according to the present invention. As shown in FIG. 8, the method in this embodiment may include:
  • the second terminal acquires location information of a part of the video image that needs to be requested to be enlarged in the original video image.
  • the second terminal may acquire location information of a part of the video image that needs to be enlarged by the user who uses the second terminal in the original video image.
  • the user who uses the second terminal can see the original video image sent by the first terminal on the display interface of the second terminal, and the user who uses the second terminal needs a part of the video image in the original video image.
  • the user can click anywhere on the display interface of the second terminal, and the button for zooming in the image is displayed on the display interface. The user clicks the button, and then the user selects a part of the video image to be enlarged on the display interface.
  • clicking the confirmation button is equivalent to the user inputting an instruction for enlarging the partial video image to the second terminal, and then the second terminal can obtain a part of the video image that needs to be enlarged according to the instruction. Location information in the video image.
  • the location information is coordinate information of a rectangular frame occupied by the partial video image in the original video image.
  • the second terminal sends a video image enlargement request to the first terminal, where the video image is placed. Large requests include this location information.
  • the second terminal after acquiring the location information of the partial video image in the original video image, the second terminal sends a video image enlargement request to the first terminal, where the video image enlargement request includes the acquired location information.
  • the second terminal receives the partial video image sent by the first terminal.
  • the first terminal after receiving the video image enlargement request sent by the second terminal, the first terminal reduces the original video image into a partial video image according to the video image enlargement request, and then sends the partial video image to the second video image.
  • the terminal correspondingly, receives the partial video image sent by the first terminal.
  • the second terminal displays the partial video image.
  • the second terminal after receiving the partial video image sent by the first terminal, displays the partial video image, that is, the second terminal displays the partial video image on the display interface of the second terminal, for example, the The second terminal can display the partial video image in full screen on the display interface. Thereby, it is possible to enlarge a part of the video image in the video image sent by the other party during the video communication process.
  • the method for amplifying a video image in the video communication provided by the embodiment, in the process of video communication between the first terminal and the second terminal, the second terminal acquires location information of a part of the video image that needs to be requested to be enlarged in the original video image;
  • the first terminal sends a video image enlargement request including the location information; receives the partial video image sent by the first terminal; and displays the partial video image, thereby realizing a video image sent by the other party in the video communication process. Part of the video image is enlarged.
  • FIG. 9 is a flowchart of Embodiment 7 of a method for amplifying a video image in a video communication according to the present invention. As shown in FIG. 9, the method in this embodiment may include:
  • the second terminal acquires a sliding track on the display interface of the second terminal.
  • the second terminal acquires a rectangular frame according to the sliding track, where the sliding track is located in the rectangular frame.
  • the second terminal determines that the coordinates of the end point of the rectangular frame are the location information of the partial video image.
  • the second terminal in the process of video communication between the first terminal and the second terminal, the second terminal is used.
  • the user may perform a touch slide on the display interface of the second terminal, and the second terminal may acquire a track of the touch slide on the display interface of the second terminal, and then according to the slide
  • the trajectory acquires a rectangular frame, and the sliding trajectory all falls within the range of the rectangular frame, and the second terminal can take the coordinates of the end point of the rectangular frame as the position information of the partial video image, for example, two diagonal lines of the rectangular frame can be The coordinates of the endpoints are used as location information for the partial video image.
  • the first terminal obtains a rectangular frame according to the coordinates of the endpoint
  • the video image in the rectangular frame is the video image requested by the second terminal, for example, according to the coordinates of the two endpoints and the two endpoints are a rectangular frame.
  • the two endpoints of the diagonal get a rectangular box.
  • the closed circle shown in FIG. 2 is a sliding track
  • the second terminal can acquire all coordinate points of the sliding track, and identify edge coordinate points in four directions, and obtain the edge coordinate points according to the four directions.
  • a rectangular box which may be, for example, the smallest rectangular box including a sliding track.
  • the aspect ratio of the rectangular frame is the same as the aspect ratio of the resolution required for the transmission, so that the effect of the horizontal extension or the longitudinal stretching after the second terminal receives the partial video image sent by the first terminal can be avoided.
  • the second terminal can obtain a minimum rectangular frame with an aspect ratio of 640:480 as shown in FIG. 2, and determine the points A and C in the rectangular frame shown in FIG. 2.
  • the coordinates of the point are the position information of the partial video image, or the coordinates of the points B and C in the rectangular frame shown in FIG. 2 are the positional information of the partial video image.
  • the second terminal sends a video image enlargement request to the first terminal, where the video image enlargement request includes the location information.
  • the second terminal receives the partial video image sent by the first terminal.
  • the second terminal displays the partial video image.
  • the method for amplifying a video image in the video communication provided by the embodiment, in the process of performing video communication between the first terminal and the second terminal, the second terminal acquires location information of a part of the video image that needs to be requested to be enlarged in the original video image; Sending a video image enlargement request including the location information to the first terminal; receiving the partial video image sent by the first terminal; and displaying the partial video image, thereby implementing a video image sent by the other party during the video communication process Part of the video image is zoomed in.
  • Embodiment 8 is a flowchart of Embodiment 8 of a method for amplifying a video image in video communication according to the present invention, as shown in FIG. As shown in FIG. 10, the method of this embodiment may include:
  • the second terminal acquires location information of a part of the video image that needs to be requested to be enlarged in the original video image.
  • the second terminal sends a video image enlargement request to the first terminal.
  • the video image enlargement request includes the location information.
  • the first terminal cuts the original video image into a partial video image corresponding to the location information.
  • the first terminal sends the partial video image to the second terminal.
  • the second terminal displays the partial video image.
  • the second terminal sends a video image recovery request to the first terminal.
  • the second terminal and the first terminal perform partial video image enlargement processing when performing the video communication process, and if the user using the second terminal wants to restore the video image, it is no longer necessary to enlarge the partial video image.
  • the user may input an instruction for restoring the video image to the second terminal, for example, the user may click a recovery button on the display interface of the second terminal, and then the second terminal sends a video image to the first terminal according to the instruction. Restore the request.
  • the first terminal sends the original video image to the second terminal according to the video image recovery request.
  • the first terminal receives the video image recovery request sent by the second terminal, stops acquiring the partial video image, and transmits the original video image obtained by the first terminal to the second terminal.
  • the second terminal displays the original video image.
  • the second terminal receives the original video image sent by the first terminal, and displays the original video image to the user.
  • the second terminal may display the original video image in full screen on the display interface.
  • the video image enlargement request may include a flag bit and a position information bit.
  • the second terminal needs to enlarge a part of the video image, the second terminal sends a video image enlargement request to the first terminal, and the video image is enlarged.
  • the flag bit in the request is marked as true, for example, when the flag bit is 1, it is true, and the location information is location information of a part of the video image.
  • the second terminal does not need to be placed In most video images, the second terminal sends a video image enlargement request to the first terminal, and the flag bit in the video image enlargement request is marked as false, that is, the video image is restored, for example, when the flag bit is 0, False, the location information can also be 0.
  • the method for amplifying a video image in video communication provided by the method of the present invention, further, sending, by the second terminal, a video image recovery request to the first terminal; the first terminal according to the video image recovery request, to the second The terminal transmits the original video image; the second terminal displays the original video image. Thereby, after partial video image enlargement in video communication, the display of the original video image can be restored.
  • FIG. 11 is a schematic structural diagram of Embodiment 1 of the terminal of the present invention.
  • the terminal as the first terminal in this embodiment may include: a receiving unit 11, a processing unit 12, and a sending unit 13; Receiving, in the process of performing video communication between the first terminal and the second terminal, a video enlargement request sent by the second terminal, where the video enlargement request includes location information of a part of the video image requested to be enlarged in the original video image.
  • the processing unit 12 is configured to, according to the video enlargement request, the original video image is reduced to the partial video image corresponding to the location information, and the sending unit 13 is configured to send the part to the second terminal.
  • Video image is configured to, according to the video enlargement request, the original video image is reduced to the partial video image corresponding to the location information, and the sending unit 13 is configured to send the part to the second terminal.
  • the processing unit 12 is further configured to: before the sending unit 13 sends the partial video image to the second terminal, acquire a resolution of the partial video image obtained by the clipping; the sending unit 13 is in the When the second terminal sends the partial video image, it is specifically used to: send a partial video image with a resolution greater than or equal to the resolution required by the transmission to the second terminal.
  • the processing unit 12 is further configured to: when the sending unit 13 sends a partial video image with a resolution greater than or equal to the resolution of the transmission requirement to the second terminal, When the resolution of the partial video image is smaller than the resolution required by the transmission, the resolution of capturing the original video image is improved, an original video image with an increased resolution is obtained; and the original video image with the increased resolution is obtained.
  • the transmitting unit 13 is in the second terminal
  • the method is specifically configured to: send, to the second terminal, the partial video image that is cut out from the original video image with the increased resolution.
  • the processing unit 12 is further configured to: when the sending unit 13 sends the partial video image to the second terminal, when the obtained partial video image is cut
  • the resolution required for the transmission is reduced such that the resolution of the reduced transmission requirement is less than or equal to the resolution of the partial video image.
  • the processing unit 12 is further configured to: when the sending unit 13 sends the partial video image to the second terminal, when the resolution of the partial video image obtained by the clipping is smaller than When the resolution required for the transmission is described, the partial video image obtained by the clipping is compressed according to the resolution required by the transmission to obtain a partial video image after the compression processing, and the resolution of the partial video image after the compression processing The rate is equal to the resolution of the transmission requirement.
  • the sending unit 13 is specifically configured to: send the compressed partial video image to the second terminal.
  • the location information is coordinate information of a rectangular frame occupied by the partial video image in the original video image.
  • the receiving unit 11 is further configured to: receive the video image recovery request sent by the second terminal; the sending unit 13 is further configured to send the original video image to the second terminal according to the video image recovery request. .
  • the terminal in this embodiment may be used to perform the technical solution executed by the first terminal in the foregoing method embodiments of the present invention.
  • the implementation principle and technical effects are similar, and details are not described herein again.
  • the terminal as the second terminal in this embodiment may include: a processing unit 21, a sending unit 22, and a receiving unit 23; And performing, by the first terminal, the location information of the part of the video image that needs to be amplified in the original video image, and the sending unit 22, configured to send the video image enlargement request to the first terminal
  • the video image enlargement request includes the location information
  • the receiving unit 23 is configured to receive the partial video image sent by the first terminal
  • the processing unit 21 is further configured to display the partial video image.
  • the location information is coordinate information of a rectangular frame occupied by the partial video image in the original video image.
  • the processing unit 21 is configured to: acquire a sliding track on a display interface of the second terminal when acquiring the location information of the partial video image that needs to be requested to be enlarged in the original video image. Obtaining a rectangular frame according to the sliding track, the sliding track is located in the rectangular frame; determining coordinates of an end point of the rectangular frame as position information of the partial video image.
  • the aspect ratio of the rectangular frame is the same as the aspect ratio of the resolution required for transmission.
  • the sending unit 22 is further configured to send a video image recovery request to the first terminal
  • the receiving unit 23 is further configured to receive the original video image sent by the first terminal
  • the processing unit 21 is further configured to: The original video image is displayed.
  • the terminal in this embodiment may be used to perform the technical solution executed by the second terminal in the foregoing method embodiments of the present invention.
  • the implementation principle and technical effects are similar, and details are not described herein again.
  • FIG. 13 is a schematic structural diagram of Embodiment 3 of the terminal of the present invention.
  • the terminal as the first terminal in this embodiment may include: a receiver 31, a processor 32, and a transmitter 33.
  • a processor 32 configured to reduce the original video image to the partial video image corresponding to the location information according to the video enlargement request
  • a transmitter 33 configured to send the part to the second terminal Video image.
  • the processor 32 is further configured to: before the transmitter 33 sends the partial video image to the second terminal, obtain a resolution of the partial video image obtained by the clipping; the transmitter 33 is in the When the second terminal sends the partial video image, it is specifically used to: send a partial video image with a resolution greater than or equal to the resolution required by the transmission to the second terminal.
  • the processor 32 is further configured to: when the transmitter 33 sends a partial video image with a resolution greater than or equal to the resolution required by the transmission to the second terminal, When the resolution of the partial video image is smaller than the resolution required by the transmission, the resolution of capturing the original video image is improved, an original video image with an increased resolution is obtained; and the original video image with the increased resolution is obtained.
  • the transmitter 33 is in the second terminal
  • the method is specifically configured to: send, to the second terminal, the partial video image that is cut out from the original video image with the increased resolution.
  • the processor 32 is further configured to: when the transmitter 33 sends the partial video image to the second terminal, when the resolution of the partial video image obtained by the clipping is smaller than When the resolution required for transmission is reduced, the resolution required for the transmission is reduced such that the resolution of the reduced transmission requirement is less than or equal to the resolution of the partial video image.
  • the processor 32 is further configured to send the sender 33 to the first Before the second terminal sends the partial video image, when the resolution of the partial video image obtained by the clipping is smaller than the resolution required by the transmission, the partial video image obtained by the clipping is obtained according to the resolution required by the transmission.
  • the method is specifically configured to: send the compressed partial video image to the second terminal.
  • the location information is coordinate information of a rectangular frame occupied by the partial video image in the original video image.
  • the receiver 31 is further configured to receive a video image recovery request sent by the second terminal, and the transmitter 33 is further configured to send the original video image to the second terminal according to the video image recovery request. .
  • the terminal in this embodiment may further include a memory (not shown) for storing program code for performing a method of amplifying a video image in the video communication; the processor 32 is configured to call the program code in the memory. Do the above.
  • the terminal in this embodiment may be used to perform the technical solution executed by the first terminal in the foregoing method embodiments of the present invention.
  • the implementation principle and technical effects are similar, and details are not described herein again.
  • FIG. 14 is a schematic structural diagram of Embodiment 4 of the terminal of the present invention.
  • the terminal as the second terminal in this embodiment may include: a processor 41, a transmitter 42 and a receiver 43. And acquiring, in the process of performing video communication between the first terminal and the second terminal, position information of a part of the video image that needs to be requested to be enlarged in the original video image; and the transmitter 42 is configured to send the video image to the first terminal. And amplifying the request, the video image enlargement request includes the location information, the receiver 43 is configured to receive the partial video image sent by the first terminal, and the processor 41 is further configured to display the partial video image.
  • the location information is coordinate information of a rectangular frame occupied by the partial video image in the original video image.
  • the processor 41 is configured to: acquire a sliding track on the display interface of the second terminal, when acquiring the location information of the partial video image that needs to be requested to be enlarged in the original video image. Obtaining a rectangular frame according to the sliding track, the sliding track is located in the rectangular frame; determining coordinates of an end point of the rectangular frame as position information of the partial video image.
  • the aspect ratio of the rectangular frame is the same as the aspect ratio of the resolution required for transmission.
  • the transmitter 42 is further configured to send a video image recovery request to the first terminal
  • the receiver 43 is further configured to receive the original video image sent by the first terminal
  • the processor 41 is further configured to: The original video image is displayed.
  • the terminal in this embodiment may further include a memory (not shown) for storing program code for performing a method of enlarging the video image in the video communication; the processor 41 is configured to call the program code in the memory. Do the above.
  • the terminal in this embodiment may be used to perform the technical solution executed by the second terminal in the foregoing method embodiments of the present invention.
  • the implementation principle and technical effects are similar, and details are not described herein again.
  • the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed.
  • the foregoing storage medium includes: read-only memory (English: Read-Only Memory, ROM for short), random access memory (English: Random Access Memory, RAM), disk or A variety of media such as optical discs that can store program code.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Studio Devices (AREA)

Abstract

一种视频通信中放大视频图像的方法和终端,此方法包括:在第一终端与第二终端视频通信过程中,所述第一终端接收所述第二终端发送的视频放大请求,所述视频放大请求包括请求放大的部分视频图像在原始视频图像中的位置信息;所述第一终端根据所述视频放大请求,将所述原始视频图像裁减为与所述位置信息对应的所述部分视频图像;所述第一终端向所述第二终端发送所述部分视频图像,该第二终端显示将部分视频图像进行放大然后再显示给用户,从而实现了在视频通信过程中将对方发送的视频图像中的部分视频图像进行放大。

Description

视频通信中放大视频图像的方法和终端 技术领域
本发明实施例涉及通信技术领域,尤其涉及一种视频通信中放大视频图像的方法和终端。
背景技术
随着3G网络或4G网络的发展,用户可以使用移动终端进行视频通信,从而可以观察到通话对方的表情、所处场景,以利于更好地沟通。现有技术中,发起视频通信的终端(即主叫终端)与被叫终端之间的视频通信连通后,可以各自显示对端的视频图像。
然而,受移动终端的屏幕大小限制,视频通信过程中的视频图像可能不太清晰。但是在现有的视频通信过程中,移动终端无法将视频图像放大显示。例如视频通信过程中一用户向另一用户展示一个小饰品时,移动终端显示的视频图像无法清晰地放大,使得该另一用户通过其移动终端上的视频图像难以看清该小饰品。
发明内容
本发明实施例提供一种视频通信中放大视频图像的方法和终端,用于在视频通信过程中将对方发送的视频图像中的视频图像进行放大。
第一方面,本发明实施例提供一种视频通信中放大视频图像的方法,包括:在第一终端与第二终端进行视频通信的过程中,所述第一终端接收所述第二终端发送的视频放大请求,所述视频放大请求包括请求放大的部分视频图像在原始视频图像中的位置信息;
所述第一终端根据所述视频放大请求,将所述原始视频图像裁减为与所述位置信息对应的所述部分视频图像;
所述第一终端向所述第二终端发送所述部分视频图像。
在第一方面的第一种可能的实现方式中,所述第一终端向所述第二终端发送所述部分视频图像之前,所述方法还包括:所述第一终端获取裁减得到 的所述部分视频图像的分辨率;
所述第一终端向所述第二终端发送所述部分视频图像,包括:所述第一终端向所述第二终端发送分辨率大于或等于传输要求的分辨率的部分视频图像。
结合第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,当裁减得到的所述部分视频图像的分辨率小于所述传输要求的分辨率时,所述第一终端向所述第二终端发送分辨率大于或等于传输要求的分辨率的部分视频图像之前,所述方法还包括:
所述第一终端提高拍摄所述原始视频图像的分辨率,得到分辨率增大的原始视频图像;
所述第一终端将所述分辨率增大的原始视频图像裁减为所述部分视频图像,从所述分辨率增大的原始视频图像中裁减得到的部分视频图像的分辨率大于或等于所述传输要求的分辨率;
所述第一终端向所述第二终端发送分辨率大于或等于传输要求的分辨率的部分视频图像,包括:所述第一终端向所述第二终端发送从所述分辨率增大的原始视频图像中裁减得到的所述部分视频图像。
结合第一方面的第一种可能的实现方式,在第一方面的第三种可能的实现方式中,当裁减得到的所述部分视频图像的分辨率小于所述传输要求的分辨率时,所述第一终端向所述第二终端发送所述部分视频图像之前,所述方法还包括:所述第一终端降低所述传输要求的分辨率,以使降低后的所述传输要求的分辨率小于或等于所述部分视频图像的分辨率。
结合第一方面的第一种可能的实现方式,在第一方面的第四种可能的实现方式中,当裁减得到的所述部分视频图像的分辨率大于所述传输要求的分辨率时,所述第一终端向所述第二终端发送所述部分视频图像之前,所述方法还包括:所述第一终端根据所述传输要求的分辨率,将所述裁减得到的部分视频图像进行压缩处理,获得压缩处理后的部分视频图像,所述压缩处理后的部分视频图像的分辨率等于所述传输要求的分辨率;
所述第一终端向所述第二终端发送所述部分视频图像,包括:所述第一终端向所述第二终端发送所述压缩处理后的部分视频图像。
结合第一方面或第一方面的第一种至第四种可能的实现方式中的任意一 种,在第一方面的第五种可能的实现方式中,所述位置信息为所述部分视频图像在所述原始视频图像中占据的矩形框的坐标信息。
结合第一方面或第一方面的第一种至第五种可能的实现方式中的任意一种,在第一方面的第六种可能的实现方式中,所述方法还包括:
所述第一终端接收所述第二终端发送的视频图像恢复请求;
所述第一终端根据所述视频图像恢复请求,向所述第二终端发送所述原始视频图像。
第二方面,本发明实施例提供一种视频通信中放大视频图像的方法,包括:在第一终端与第二终端进行视频通信的过程中,所述第二终端获取需要请求放大的部分视频图像在原始视频图像中的位置信息;
所述第二终端向所述第一终端发送视频图像放大请求,所述视频图像放大请求包括所述位置信息;
所述第二终端接收所述第一终端发送的所述部分视频图像;
所述第二终端显示所述部分视频图像。
在第二方面的第一种可能的实现方式中,所述位置信息为所述部分视频图像在所述原始视频图像中占据的矩形框的坐标信息。
结合第二方面的第一种可能的实现方式,在第二方面的第二种可能的实现方式中,所述第二终端获取需要请求放大的部分视频图像在原始视频图像中的位置信息,包括:
所述第二终端获取在所述第二终端的显示界面上的滑动轨迹;
所述第二终端根据所述滑动轨迹获取矩形框,所述滑动轨迹位于所述矩形框内;
所述第二终端确定所述矩形框的端点的坐标为所述部分视频图像的位置信息。
结合第二方面的第二种可能的实现方式,在第二方面的第三种可能的实现方式中,所述矩形框的长宽比与传输要求的分辨率的长宽比相同。
结合第二方面或第二方面的第一种至第三种可能的实现方式中的任意一种,在第二方面的第四种可能的实现方式中,还包括:
所述第二终端向所述第一终端发送视频图像恢复请求;
所述第二终端接收所述第一终端发送的所述原始视频图像;
所述第二终端显示所述原始视频图像。
第三方面,本发明实施例提供一种终端,作为第一终端,包括:
接收单元,用于在所述第一终端与第二终端进行视频通信的过程中,接收所述第二终端发送的视频放大请求,所述视频放大请求包括请求放大的部分视频图像在原始视频图像中的位置信息;
处理单元,用于根据所述视频放大请求,将所述原始视频图像裁减为所述位置信息对应的所述部分视频图像;
发送单元,用于向所述第二终端发送所述部分视频图像。
在第三方面的第一种可能的实现方式中,所述处理单元,还用于在所述发送单元向所述第二终端发送所述部分视频图像之前,获取裁减得到的所述部分视频图像的分辨率;
所述发送单元在向所述第二终端发送所述部分视频图像时,具体用于:向所述第二终端发送分辨率大于或等于传输要求的分辨率的部分视频图像。
结合第三方面的第一种可能的实现方式,在第三方面的第二种可能的实现方式中,所述处理单元,还用于在所述发送单元向所述第二终端发送分辨率大于或等于传输要求的分辨率的部分视频图像之前,当裁减得到的所述部分视频图像的分辨率小于所述传输要求的分辨率时,提高拍摄所述原始视频图像的分辨率,得到分辨率增大的原始视频图像;以及将所述分辨率增大的原始视频图像裁减为所述部分视频图像,从所述分辨率增大的原始视频图像中裁减得到的部分视频图像的分辨率大于或等于所述传输要求的分辨率;
所述发送单元在向所述第二终端发送分辨率大于或等于传输要求的分辨率的部分视频图像时,具体用于:向所述第二终端发送从所述分辨率增大的原始视频图像中裁减得到的所述部分视频图像。
结合第三方面的第一种可能的实现方式,在第三方面的第三种可能的实现方式中,所述处理单元,还用于在所述发送单元向所述第二终端发送所述部分视频图像之前,当裁减得到的所述部分视频图像的分辨率小于所述传输要求的分辨率时,降低所述传输要求的分辨率,以使降低后的所述传输要求的分辨率小于或等于所述部分视频图像的分辨率。
结合第三方面的第一种可能的实现方式,在第三方面的第四种可能的实现方式中,所述处理单元,还用于在所述发送单元向所述第二终端发送所述 部分视频图像之前,当裁减得到的所述部分视频图像的分辨率小于所述传输要求的分辨率时,根据所述传输要求的分辨率,将所述裁减得到的部分视频图像进行压缩处理,获得压缩处理后的部分视频图像,所述压缩处理后的部分视频图像的分辨率等于所述传输要求的分辨率;
所述发送单元在向所述第二终端发送所述部分视频图像时,具体用于:向所述第二终端发送所述压缩处理后的部分视频图像。
结合第三方面或第三方面的第一种至第四种可能的实现方式中的任意一种,在第三方面的第五种可能的实现方式中,所述位置信息为所述部分视频图像在所述原始视频图像中占据的矩形框的坐标信息。
结合第三方面或第三方面的第一种至第五种可能的实现方式中的任意一种,在第三方面的第六种可能的实现方式中,所述接收单元还用于,接收所述第二终端发送的视频图像恢复请求;
所述发送单元还用于,根据所述视频图像恢复请求向所述第二终端发送所述原始视频图像。
第四方面,本发明实施例提供一种终端,作为第二终端,包括:
处理单元,用于在第一终端与所述第二终端进行视频通信的过程中,获取需要请求放大的部分视频图像在原始视频图像中的位置信息;
发送单元,用于向所述第一终端发送视频图像放大请求,所述视频图像放大请求包括所述位置信息;
接收单元,用于接收所述第一终端发送的所述部分视频图像;
所述处理单元,还用于显示所述部分视频图像。
在第四方面的第一种可能的实现方式中,所述位置信息为所述部分视频图像在所述原始视频图像中占据的矩形框的坐标信息。
结合第四方面的第一种可能的实现方式,在第四方面的第二种可能的实现方式中,所述处理单元在获取需要请求放大的部分视频图像在原始视频图像中的位置信息时,具体用于:获取在所述第二终端的显示界面上的滑动轨迹;根据所述滑动轨迹获取矩形框,所述滑动轨迹位于所述矩形框内;确定所述矩形框的端点的坐标为所述部分视频图像的位置信息。
结合第四方面的第二种可能的实现方式,在第四方面的第三种可能的实现方式中,所述矩形框的长宽比与传输要求的分辨率的长宽比相同。
结合第四方面或第四方面的第一种至第三种可能的实现方式中的任意一种,在第四方面的第四种可能的实现方式中,所述发送单元,还用于向所述第一终端发送视频图像恢复请求;
所述接收单元,还用于接收所述第一终端发送的所述原始视频图像;
所述处理单元,还用于显示所述原始视频图像。
第五方面,本发明实施例提供一种终端,作为第一终端,包括:
接收器,用于在所述第一终端与第二终端进行视频通信的过程中,接收所述第二终端发送的视频放大请求,所述视频放大请求包括请求放大的部分视频图像在原始视频图像中的位置信息;
处理器,用于根据所述视频放大请求,将所述原始视频图像裁减为所述位置信息对应的所述部分视频图像;
发送器,用于向所述第二终端发送所述部分视频图像。
在第五方面的第一种可能的实现方式中,所述处理器,还用于在所述发送器向所述第二终端发送所述部分视频图像之前,获取裁减得到的所述部分视频图像的分辨率;
所述发送器在向所述第二终端发送所述部分视频图像时,具体用于:向所述第二终端发送分辨率大于或等于传输要求的分辨率的部分视频图像。
结合第五方面的第一种可能的实现方式,在第五方面的第二种可能的实现方式中,所述处理器,还用于在所述发送器向所述第二终端发送分辨率大于或等于传输要求的分辨率的部分视频图像之前,当裁减得到的所述部分视频图像的分辨率小于所述传输要求的分辨率时,提高拍摄所述原始视频图像的分辨率,得到分辨率增大的原始视频图像;以及将所述分辨率增大的原始视频图像裁减为所述部分视频图像,从所述分辨率增大的原始视频图像中裁减得到的部分视频图像的分辨率大于或等于所述传输要求的分辨率;
所述发送器在向所述第二终端发送分辨率大于或等于传输要求的分辨率的部分视频图像时,具体用于:向所述第二终端发送从所述分辨率增大的原始视频图像中裁减得到的所述部分视频图像。
结合第五方面的第一种可能的实现方式,在第五方面的第三种可能的实现方式中,所述处理器,还用于在所述发送器向所述第二终端发送所述部分视频图像之前,当裁减得到的所述部分视频图像的分辨率小于所述传输要求 的分辨率时,降低所述传输要求的分辨率,以使降低后的所述传输要求的分辨率小于或等于所述部分视频图像的分辨率。
结合第五方面的第一种可能的实现方式,在第五方面的第四种可能的实现方式中,所述处理器,还用于在所述发送器向所述第二终端发送所述部分视频图像之前,当裁减得到的所述部分视频图像的分辨率小于所述传输要求的分辨率时,根据所述传输要求的分辨率,将所述裁减得到的部分视频图像进行压缩处理,获得压缩处理后的部分视频图像,所述压缩处理后的部分视频图像的分辨率等于所述传输要求的分辨率;
所述发送器在向所述第二终端发送所述部分视频图像时,具体用于:向所述第二终端发送所述压缩处理后的部分视频图像。
结合第五方面或第五方面的第一种至第四种可能的实现方式中的任意一种,在第五方面的第五种可能的实现方式中,所述位置信息为所述部分视频图像在所述原始视频图像中占据的矩形框的坐标信息。
结合第五方面或第五方面的第一种至第五种可能的实现方式中的任意一种,在第五方面的第六种可能的实现方式中,所述接收器还用于,接收所述第二终端发送的视频图像恢复请求;
所述发送器还用于,根据所述视频图像恢复请求向所述第二终端发送所述原始视频图像。
第六方面,本发明实施例提供一种终端,作为第二终端,包括:
处理器,用于在第一终端与所述第二终端进行视频通信的过程中,获取需要请求放大的部分视频图像在原始视频图像中的位置信息;
发送器,用于向所述第一终端发送视频图像放大请求,所述视频图像放大请求包括所述位置信息;
接收器,用于接收所述第一终端发送的所述部分视频图像;
所述处理器,还用于显示所述部分视频图像。
在第六方面的第一种可能的实现方式中,所述位置信息为所述部分视频图像在所述原始视频图像中占据的矩形框的坐标信息。
结合第六方面的第一种可能的实现方式,在第六方面的第二种可能的实现方式中,所述处理器在获取需要请求放大的部分视频图像在原始视频图像中的位置信息时,具体用于:获取在所述第二终端的显示界面上的滑动轨迹; 根据所述滑动轨迹获取矩形框,所述滑动轨迹位于所述矩形框内;确定所述矩形框的端点的坐标为所述部分视频图像的位置信息。
结合第六方面的第二种可能的实现方式,在第六方面的第三种可能的实现方式中,所述矩形框的长宽比与传输要求的分辨率的长宽比相同。
结合第六方面或第六方面的第一种至第三种可能的实现方式中的任意一种,在第六方面的第四种可能的实现方式中,所述发送器,还用于向所述第一终端发送视频图像恢复请求;
所述接收器,还用于接收所述第一终端发送的所述原始视频图像;
所述处理器,还用于显示所述原始视频图像。
本发明实施例提供的视频通信中放大视频图像的方法和终端,通过在第一终端与第二终端进行视频通信的过程中,该第一终端接收该第二终端发送的视频放大请求,该视频放大请求包括请求放大的部分视频图像在原始视频图像中的位置信息;再根据该视频放大请求,将该原始视频图像裁减为与该位置信息对应的该部分视频图像,将该部分视频图像发送给该第二终端,该第二终端可以显示该部分视频图像,从而实现了在视频通信过程中将对方发送的视频图像中的部分视频图像进行放大。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明视频通信中放大视频图像的方法实施例一的流程图;
图2为本发明提供的部分视频图像在原始视频图像中的位置的一种示意图;
图3为本发明提供的从原始视频图像裁减获得的部分视频图像的一种示意图;
图4为本发明视频通信中放大视频图像的方法实施例二的流程图;
图5为本发明视频通信中放大视频图像的方法实施例三的流程图;
图6为本发明视频通信中放大视频图像的方法实施例四的流程图;
图7为本发明视频通信中放大视频图像的方法实施例五的流程图;
图8为本发明视频通信中放大视频图像的方法实施例六的流程图;
图9为本发明视频通信中放大视频图像的方法实施例七的流程图;
图10为本发明视频通信中放大视频图像的方法实施例八的流程图;
图11为本发明终端实施例一的结构示意图;
图12为本发明终端实施例二的结构示意图;
图13为本发明终端实施例三的结构示意图;
图14为本发明终端实施例四的结构示意图。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
图1为本发明视频通信中放大视频图像的方法实施例一的流程图,如图1所示,本实施例的方法可以包括:
S101、在第一终端与第二终端进行视频通信的过程中,该第一终端接收该第二终端发送的视频放大请求,该视频放大请求包括请求放大的部分视频图像在原始视频图像中的位置信息。
本实施例中,当第一终端与第二终端在进行视频通信过程中,使用该第二终端的用户在该第二终端的显示界面上可以看到第一终端发送过来的原始视频图像。当使用该第二终端的用户需要对该原始视频图像中的部分视频图像进行放大显示,该用户可以在第二终端的显示界面上选取该部分视频图像,将向该第二终端输入用于放大显示该部分视频图像的指令,然后该第二终端可以获取请求放大的部分视频图像在原始视频图像中的位置信息,再将该位置信息携带在视频放大请求中发送给第一终端,相应地,该第一终端接收该第二终端发送的该视频放大请求。
S102、该第一终端根据该视频放大请求,将该原始视频图像裁减为与该位置信息对应的该部分视频图像。
本实施例中,该第一终端接收到该视频放大请求后,可以从该原始视频图像中裁减获取与该视频图像放大请求中包括的该位置信息对应的部分视频图像。
可选地,该位置信息为该部分视频图像在该原始视频图像中占据的矩形框的坐标信息。例如,第二终端请求放大的为图2中矩形框所示的区域,然后第一终端可以将该原始视频图像裁减为该矩形框对应的部分视频图像,裁减获得的部分视频图像如图3所示。
S103、该第一终端向该第二终端发送该部分视频图像。
本实施例中,该第一终端获取到该位置信息对应的部分视频图像之后,将该部分视频图像发送给该第二终端。相应地,第二终端接收到该第一终端发送的该部分视频图像之后,显示该部分视频图像;例如:该第一终端可以全屏显示该部分视频图像。从而可以实现在视频通信过程中可以将对方发送的视频图像中的部分视频图像进行放大。
需要说明的是,所谓的部分视频图像,是相对于之前原始视频图像而言的,对于终端而言,这些视频图像都是在终端的显示界面中全屏显示的。
本发明实施例提供的视频通信中放大视频图像的方法,通过在第一终端与第二终端进行视频通信的过程中,该第一终端接收该第二终端发送的视频放大请求,该视频放大请求包括请求放大的部分视频图像在原始视频图像中的位置信息;再根据该视频放大请求,将该原始视频图像裁减为与该位置信息对应的该部分视频图像,将该部分视频图像发送给该第二终端,该第二终端可以显示该部分视频图像,从而实现了在视频通信过程中将对方发送的视频图像中的部分视频图像进行放大。
图4为本发明视频通信中放大视频图像的方法实施例二的流程图,如图4所示,本实施例的方法可以包括:
S201、在第一终端与第二终端进行视频通信的过程中,该第一终端接收该第二终端发送的视频放大请求,该视频放大请求包括请求放大的部分视频图像在原始视频图像中的位置信息。
S202、该第一终端根据该视频放大请求,将该原始视频图像裁减为与该位置信息对应的该部分视频图像。
本实施例中,S201与S202的具体实现过程可以参见本发明方法实施例 一中的相关记载,此处不再赘述。
S203、该第一终端获取裁减得到的该部分视频图像的分辨率。
S204、当该部分视频图像的分辨率大于或等于传输要求的分辨率时,该第一终端向该第二终端发送该部分视频图像。
本实施例中,该第一终端可以获取裁减得到的部分视频图像的分辨率,例如:裁减得到的部分视频图像的分辨率为960*720,传输要求的分辨率为640*480时,此时该部分视频图像的分辨率大于传输要求的分辨率;或者,裁减得到的部分视频图像的分辨率为640*480,此时该部分视频图像的分辨率等于传输要求的分辨率;因此可以确定该部分视频图像满足视频图像传输要求,然后该第一终端将大于或等于传输要求的分辨率的部分视频图像发送给该第二终端,第二终端在将接收到的部分视频图像进行显示,从而可以实现在视频通信过程中将对方发送的视频图像中的部分视频图像进行放大。而且由于第二终端接收到的部分视频图像的分辨率较高,因此第二终端显示的部分视频图像更清晰,也提高了用户体验。
本实施例提供的视频通信中放大视频图像的方法,通过在第一终端与第二终端进行视频通信的过程中,该第一终端接收该第二终端发送的视频放大请求,该视频放大请求包括请求放大的部分视频图像在原始视频图像中的位置信息,获取裁减得到的该部分视频图像的分辨率,当该部分视频图像的分辨率大于或等于传输要求的分辨率时,向该第二终端发送该部分视频图像,该第二终端可以显示该部分视频图像,从而实现了在视频通信过程中将对方发送的视频图像中的部分视频图像进行放大。而且由于第二终端接收到的部分视频图像的分辨率较高,因此第二终端显示的部分视频图像更清晰,也提高了用户体验。
图5为本发明视频通信中放大视频图像的方法实施例三的流程图,如图5所示,本实施例的方法可以包括:
S301、在第一终端与第二终端进行视频通信的过程中,该第一终端接收该第二终端发送的视频放大请求,该视频放大请求包括请求放大的部分视频图像在原始视频图像中的位置信息。
S302、该第一终端根据该视频放大请求,将该原始视频图像裁减为与该位置信息对应的该部分视频图像。
本实施例中,S301与S302的具体实现过程可以参见本发明方法实施例一中的相关记载,此处不再赘述。
S303、该第一终端获取裁减得到的该部分视频图像的分辨率。
S304、当裁减得到的部分视频图像的分辨率小于传输要求的分辨率时,该第一终端提高拍摄该原始视频图像的分辨率,得到分辨率增大的原始视频图像。
本实施例中,该第一终端可以获取裁减得到的部分视频图像的分辨率,例如:裁减得到的部分视频图像的分辨率为340*240,传输要求的分辨率为640*480时,此时该部分视频图像的分辨率小于传输要求的分辨率,因此可以确定该部分视频图像不满足视频图像传输要求,为了达到视频图像传输要求,要使得裁减得到的部分视频图像的分辨率大于或等于传输要求的分辨率,第二终端可以提高拍摄原始视频图像的分辨率,拍摄获取的原始视频图像的分辨率将到增大。如果该部分视频图像占原始视频图像的1/2,原始视频图像的分辨率为640*480,为了使得部分视频图像的分辨率大于或等于传输要求的分辨率,则可以将原始视频图像的分辨率增大至少两倍。
S305、该第一终端将该分辨率增大的原始视频图像裁减为该部分视频图像,从该分辨率增大的原始视频图像中裁减得到的部分视频图像的分辨率大于或等于该传输要求的分辨率。
S306、该第一终端向该第二终端发送从该分辨率增大的原始视频图像中裁减得到的该部分视频图像。
本实施例中,该第一终端再根据部分视频图像在原始视频图像中的位置信息,将分辨率增大的原始视频图像裁减为部分视频图像,S305裁减获得的部分视频图像的像素大于或等于传输要求的分辨率。然后第一终端将大于或等于传输要求的分辨率的部分视频图像发送给该第二终端,第二终端在将接收到的部分视频图像进行显示,从而可以实现在视频通信过程中将对方发送的视频图像中的部分视频图像进行放大。而且由于第二终端接收到的部分视频图像的分辨率较高,因此第二终端显示的部分视频图像更清晰,也提高了用户体验。
本实施例提供的视频通信中放大视频图像的方法,通过在第一终端与第二终端进行视频通信的过程中,该第一终端接收该第二终端发送的视频放大 请求,该视频放大请求包括请求放大的部分视频图像在原始视频图像中的位置信息,获取裁减得到的该部分视频图像的分辨率,当裁减得到的部分视频图像的分辨率小于传输要求的分辨率时,提高拍摄该原始视频图像的分辨率,得到分辨率增大的原始视频图像;将该分辨率增大的原始视频图像裁减为该部分视频图像,然后向该第二终端发送从该分辨率增大的原始视频图像中裁减得到的该部分视频图像,该第二终端可以显示该部分视频图像,从而实现了在视频通信过程中将对方发送的视频图像中的部分视频图像进行放大。而且由于第二终端接收到的部分视频图像的分辨率较高,因此第二终端显示的部分视频图像更清晰,也提高了用户体验。
图6为本发明视频通信中放大视频图像的方法实施例四的流程图,如图6所示,本实施例的方法可以包括:
S401、在第一终端与第二终端进行视频通信的过程中,该第一终端接收该第二终端发送的视频放大请求,该视频放大请求包括请求放大的部分视频图像在原始视频图像中的位置信息。
S402、该第一终端根据该视频放大请求,将该原始视频图像裁减为与该位置信息对应的该部分视频图像。
本实施例中,S401与S402的具体实现过程可以参见本发明方法实施例一中的相关记载,此处不再赘述。
S403、该第一终端获取裁减得到的该部分视频图像的分辨率。
S404、当裁减得到的该部分视频图像的分辨率小于该传输要求的分辨率时,该第一终端降低该传输要求的分辨率,以使降低后的该传输要求的分辨率小于或等于该部分视频图像的分辨率。
S405、该第一终端向该第二终端发送该部分视频图像。
本实施例中,该第一终端可以获取裁减得到的部分视频图像的分辨率,例如:裁减得到的部分视频图像的分辨率为427*320,传输要求的分辨率为640*480时,此时该部分视频图像的分辨率小于传输要求的分辨率,为了使第一终端向第二终端发送的部分视频图像满足视频图像传输要求,该第一终端可以降低传输要求的分辨率,如可以将传输要求的分辨率降低至352*288,此时该部分视频图像的分辨率大于降低后的传输要求的分辨率,然后第二终端部分视频图像发送给该第二终端,第二终端在将接收到的部分视频图像进 行显示,从而可以实现在视频通信过程中将对方发送的视频图像中的部分视频图像进行放大。
本实施例提供的视频通信中放大视频图像的方法,通过在第一终端与第二终端进行视频通信的过程中,该第一终端接收该第二终端发送的视频放大请求,该视频放大请求包括请求放大的部分视频图像在原始视频图像中的位置信息,获取裁减得到的该部分视频图像的分辨率,当裁减得到的该部分视频图像的分辨率小于该传输要求的分辨率时,该第一终端降低该传输要求的分辨率,然后将部分视频图像发送给该第二终端,该第二终端可以显示该部分视频图像,从而实现了在视频通信过程中将对方发送的视频图像中的部分视频图像进行放大。
图7为本发明视频通信中放大视频图像的方法实施例五的流程图,如图7所示,本实施例的方法可以包括:
S501、在第一终端与第二终端进行视频通信的过程中,该第一终端接收该第二终端发送的视频放大请求,该视频放大请求包括请求放大的部分视频图像在原始视频图像中的位置信息。
S502、该第一终端根据该视频放大请求,将该原始视频图像裁减为与该位置信息对应的该部分视频图像。
本实施例中,S501与S502的具体实现过程可以参见本发明方法实施例一中的相关记载,此处不再赘述。
S503、该第一终端获取裁减得到的该部分视频图像的分辨率。
S504、当裁减得到的该部分视频图像的分辨率大于传输要求的分辨率时,该第一终端根据该传输要求的分辨率,将该裁减得到的部分视频图像进行压缩处理,获得压缩处理后的部分视频图像,该压缩处理后的部分视频图像的分辨率等于该传输要求的分辨率。
S505、该第一终端向该第二终端发送该压缩处理后的部分视频图像。
本实施例中,该第一终端可以获取裁减得到的部分视频图像的分辨率,例如:裁减得到的部分视频图像的分辨率为1280*960,传输要求的分辨率为640*480时,此时该部分视频图像的分辨率大于传输要求的分辨率,为了使得该部分视频图像的分辨率等于传输要求的分辨率,该第一终端将该部分视频图像进行压缩处理,压缩至该部分视频图像的分辨率等于传输要求的分辨 率时为止,获得压缩处理后的该部分视频图像,然后该第一终端将该压缩处理后的部分视频图像发送给该第二终端。这样可以节省第一终端与第二终端在传输该部分视频图像的过程中的流量消耗。
本实施例提供的视频通信中放大视频图像的方法,通过在第一终端与第二终端进行视频通信的过程中,该第一终端接收该第二终端发送的视频放大请求,该视频放大请求包括请求放大的部分视频图像在原始视频图像中的位置信息,获取裁减得到的该部分视频图像的分辨率,当裁减得到的该部分视频图像的分辨率大于该传输要求的分辨率时,该第一终端根据该传输要求的分辨率,将该裁减得到的部分视频图像进行压缩处理,获得压缩处理后的部分视频图像,然后将压缩处理后的部分视频图像发送给该第二终端,该第二终端可以显示该部分视频图像,从而实现了在视频通信过程中将对方发送的视频图像中的部分视频图像进行放大,而且还节省了第一终端与第二终端在传输该部分视频图像的过程中的流量消耗。
图8为本发明视频通信中放大视频图像的方法实施例六的流程图,如图8所示,本实施例的方法可以包括:
S601、在第一终端与第二终端进行视频通信的过程中,该第二终端获取需要请求放大的部分视频图像在原始视频图像中的位置信息。
本实施例中,当第一终端与第二终端在进行视频通信过程中,第二终端可以获取使用该第二终端的用户需要放大的部分视频图像在原始视频图像中的位置信息。例如:使用该第二终端的用户在该第二终端的显示界面上可以看到第一终端发送过来的原始视频图像,当使用该第二终端的用户需要对该原始视频图像中的部分视频图像进行放大显示,该用户可以在第二终端的显示界面上的任意位置点击,显示界面上显示用于放大图像的按键,用户点击该按键,然后用户在显示界面上选择需要放大的部分视频图像,在选取好部分视频图像之后,再点击确认按键,相当于用户向该第二终端输入用于放大该部分视频图像的指令,然后该第二终端可以根据该指令获取需要放大的部分视频图像在原始视频图像中的位置信息。
可选地,该位置信息为该部分视频图像在该原始视频图像中占据的矩形框的坐标信息。
S602、该第二终端向该第一终端发送视频图像放大请求,该视频图像放 大请求包括该位置信息。
本实施例中,第二终端在获取部分视频图像在原始视频图像中的位置信息之后,该第二终端向该第一终端发送视频图像放大请求,该视频图像放大请求包括上述获取的位置信息。
S603、该第二终端接收该第一终端发送的该部分视频图像。
本实施例中,该第一终端接收到该第二终端发送的视频图像放大请求之后,根据该视频图像放大请求,将原始视频图像裁减为部分视频图像,再将该部分视频图像发送给第二终端,相应地,第二终端接收该第一终端发送的部分视频图像。
S604、该第二终端显示该部分视频图像。
本实施例中,该第二终端接收到第一终端发送的该部分视频图像之后,显示该部分视频图像,即该第二终端在该第二终端的显示界面上显示该部分视频图像,例如该第二终端可以在显示界面上全屏显示该部分视频图像。从而可以实现在视频通信过程中将对方发送的视频图像中的部分视频图像进行放大。
本实施例提供的视频通信中放大视频图像的方法,通过在第一终端与第二终端视频通信过程中,该第二终端获取需要请求放大的部分视频图像在原始视频图像中的位置信息;向该第一终端发送包括该位置信息的视频图像放大请求;接收该第一终端发送的该部分视频图像;并显示该部分视频图像,从而实现了在视频通信过程中将对方发送的视频图像中的部分视频图像进行放大。
图9为本发明视频通信中放大视频图像的方法实施例七的流程图,如图9所示,本实施例的方法可以包括:
S701、在第一终端与第二终端进行视频通信过程中,第二终端获取在该第二终端的显示界面上的滑动轨迹。
S702、该第二终端根据该滑动轨迹获取矩形框,该滑动轨迹位于该矩形框内。
S703、该第二终端确定该矩形框的端点的坐标为该部分视频图像的位置信息。
本实施例中,在第一终端与第二终端视频通信过程中,使用第二终端的 用户在进入放大视频图像的请求界面后,用户可以在第二终端的显示界面上进行触摸滑动,该第二终端可以获取在该第二终端的显示界面上的触摸滑动的轨迹,然后根据该滑动轨迹获取一个矩形框,并且该滑动轨迹全部落入矩形框的范围内,该第二终端可以将矩形框的端点的坐标作为部分视频图像的位置信息,例如可以将矩形框的对角线的两个端点的坐标作为部分视频图像的位置信息。相应地,第一终端根据端点的坐标获得一个矩形框,该矩形框内的视频图像即为第二终端请求放大的视频图像,例如可以根据两个端点的坐标以及这两个端点为一个矩形框的对角线的两个端点,获得一个矩形框。具体地,如图2所示的闭合圆圈即为滑动轨迹,第二终端可以获取该滑动轨迹的所有坐标点,并识别出四个方向的边缘坐标点,根据四个方向的边缘坐标点,获取一个矩形框,该矩形框例如可以是包括滑动轨迹的最小矩形框。
可选地,该矩形框的长宽比与传输要求的分辨率的长宽比相同,从而可以避免第二终端接收到第一终端发送的部分视频图像后产生横向拉伸或纵向拉伸的效果。例如:传输要求的分辨率为640*480,则如图2所示第二终端可以获取一个长宽比为640:480的最小矩形框,并确定图2所示的矩形框中A点和C点的坐标为部分视频图像的位置信息,或者,图2所示矩形框中B点和C点的坐标为部分视频图像的位置信息。
S704、该第二终端向该第一终端发送视频图像放大请求,该视频图像放大请求包括该位置信息。
S705、该第二终端接收该第一终端发送的该部分视频图像。
S706、该第二终端显示该部分视频图像。
本实施例中,S704-S706的具体实现过程可以参见本发明方法实施例六中的相关记载,此处不再赘述。
本实施例提供的视频通信中放大视频图像的方法,通过在第一终端与第二终端进行视频通信过程中,该第二终端获取需要请求放大的部分视频图像在原始视频图像中的位置信息;向该第一终端发送包括该位置信息的视频图像放大请求;接收该第一终端发送的该部分视频图像;并显示该部分视频图像,从而实现了在视频通信过程中将对方发送的视频图像中的部分视频图像进行放大。
图10为本发明视频通信中放大视频图像的方法实施例八的流程图,如图 10所示,本实施例的方法可以包括:
S801、第二终端获取需要请求放大的部分视频图像在原始视频图像中的位置信息。
S802、该第二终端向该第一终端发送视频图像放大请求。
该视频图像放大请求包括该位置信息。
S803、该第一终端根据该视频放大请求,将原始视频图像裁减为与位置信息对应的部分视频图像;
S804、该第一终端向该第二终端发送该部分视频图像。
S805、该第二终端显示该部分视频图像。
本实施例中,S801-S805的具体实现方式可以参见本发明方法上述各方法实施例中的相关记载,此处不再赘述。
S806、该第二终端向该第一终端发送视频图像恢复请求。
本实施例中,该第二终端与第一终端在进行视频通信过程时进行了部分视频图像放大处理,若使用该第二终端的用户想要恢复视频图像,即不再需要放大该部分视频图像,该用户可以向第二终端输入用于恢复视频图像的指令,例如该用户可以点击第二终端的显示界面上的恢复按扭,然后该第二终端根据该指令向该第一终端发送视频图像恢复请求。
S807、该第一终端根据该视频图像恢复请求,向该第二终端发送该原始视频图像。
本实施例中,该第一终端接收到该第二终端发送的视频图像恢复请求,停止获取该部分视频图像,而是将该第一终端拍摄获得的原始视频图像传输给第二终端。
S808、该第二终端显示该原始视频图像。
本实施例中,该第二终端接收到该第一终端发送的原始视频图像,并将该原始视频图像显示给用户,例如该第二终端可以在显示界面上全屏显示该原始视频图像。
可选地,该视频图像放大请求可以包括一个标志位和位置信息位,当该第二终端需要放大部分视频图像时,该第二终端向该第一终端发送视频图像放大请求,该视频图像放大请求中的标志位标示为真,例如当该标志位为1时表示为真,该位置信息为部分视频图像的位置信息。当第二终端不需要放 大部分视频图像时,该第二终端向该第一终端发送视频图像放大请求,该视频图像放大请求中的标志位标示为假,即表示恢复视频图像,例如当该标志位为0时表示为假,该位置信息也可以为0。
本发明方法实施例提供的视频通信中放大视频图像的方法,进一步地,通过该第二终端向该第一终端发送视频图像恢复请求;该第一终端根据该视频图像恢复请求,向该第二终端发送该原始视频图像;该第二终端显示该原始视频图像。从而实现在视频通信中进行部分视频图像放大之后,还可以恢复原始视频图像的显示。
图11为本发明终端实施例一的结构示意图,如图11所示,本实施例的终端作为第一终端可以包括:接收单元11、处理单元12和发送单元13;其中,接收单元11,用于在所述第一终端与第二终端进行视频通信的过程中,接收所述第二终端发送的视频放大请求,所述视频放大请求包括请求放大的部分视频图像在原始视频图像中的位置信息;处理单元12,用于根据所述视频放大请求,将所述原始视频图像裁减为所述位置信息对应的所述部分视频图像;发送单元13,用于向所述第二终端发送所述部分视频图像。
可选地,处理单元12,还用于在发送单元13向所述第二终端发送所述部分视频图像之前,获取裁减得到的所述部分视频图像的分辨率;发送单元13在向所述第二终端发送所述部分视频图像时,具体用于:向所述第二终端发送分辨率大于或等于传输要求的分辨率的部分视频图像。
在第一种可选的实现方式中,处理单元12,还用于在发送单元13向所述第二终端发送分辨率大于或等于传输要求的分辨率的部分视频图像之前,当裁减得到的所述部分视频图像的分辨率小于所述传输要求的分辨率时,提高拍摄所述原始视频图像的分辨率,得到分辨率增大的原始视频图像;以及将所述分辨率增大的原始视频图像裁减为所述部分视频图像,从所述分辨率增大的原始视频图像中裁减得到的部分视频图像的分辨率大于或等于所述传输要求的分辨率;发送单元13在向所述第二终端发送分辨率大于或等于传输要求的分辨率的部分视频图像时,具体用于:向所述第二终端发送从所述分辨率增大的原始视频图像中裁减得到的所述部分视频图像。
在第二种可选的实现方式中,处理单元12,还用于在发送单元13向所述第二终端发送所述部分视频图像之前,当裁减得到的所述部分视频图像的 分辨率小于所述传输要求的分辨率时,降低所述传输要求的分辨率,以使降低后的所述传输要求的分辨率小于或等于所述部分视频图像的分辨率。
在第三种可选的实现方式中,处理单元12,还用于在发送单元13向所述第二终端发送所述部分视频图像之前,当裁减得到的所述部分视频图像的分辨率小于所述传输要求的分辨率时,根据所述传输要求的分辨率,将所述裁减得到的部分视频图像进行压缩处理,获得压缩处理后的部分视频图像,所述压缩处理后的部分视频图像的分辨率等于所述传输要求的分辨率;发送单元13在向所述第二终端发送所述部分视频图像时,具体用于:向所述第二终端发送所述压缩处理后的部分视频图像。
可选地,所述位置信息为所述部分视频图像在所述原始视频图像中占据的矩形框的坐标信息。
可选地,接收单元11还用于,接收所述第二终端发送的视频图像恢复请求;发送单元13还用于,根据所述视频图像恢复请求向所述第二终端发送所述原始视频图像。
本实施例的终端,可以用于执行本发明上述各方法实施例中第一终端所执行的技术方案,其实现原理和技术效果类似,此处不再赘述。
图12为本发明终端实施例二的结构示意图,如图12所示,本实施例的终端作为第二终端可以包括:处理单元21、发送单元22和接收单元23;处理单元21,用于在第一终端与所述第二终端进行视频通信的过程中,获取需要请求放大的部分视频图像在原始视频图像中的位置信息;发送单元22,用于向所述第一终端发送视频图像放大请求,所述视频图像放大请求包括所述位置信息;接收单元23,用于接收所述第一终端发送的所述部分视频图像;处理单元21,还用于显示所述部分视频图像。
可选地,所述位置信息为所述部分视频图像在所述原始视频图像中占据的矩形框的坐标信息。
在一种可选的实现方式中,处理单元21在获取需要请求放大的部分视频图像在原始视频图像中的位置信息时,具体用于:获取在所述第二终端的显示界面上的滑动轨迹;根据所述滑动轨迹获取矩形框,所述滑动轨迹位于所述矩形框内;确定所述矩形框的端点的坐标为所述部分视频图像的位置信息。
可选地,所述矩形框的长宽比与传输要求的分辨率的长宽比相同。
可选地,发送单元22,还用于向所述第一终端发送视频图像恢复请求;接收单元23,还用于接收所述第一终端发送的所述原始视频图像;处理单元21,还用于显示所述原始视频图像。
本实施例的终端,可以用于执行本发明上述各方法实施例中第二终端所执行的技术方案,其实现原理和技术效果类似,此处不再赘述。
图13为本发明终端实施例三的结构示意图,如图13所示,本实施例的终端作为第一终端可以包括:接收器31、处理器32和发送器33;其中,接收器31,用于在所述第一终端与第二终端进行视频通信的过程中,接收所述第二终端发送的视频放大请求,所述视频放大请求包括请求放大的部分视频图像在原始视频图像中的位置信息;处理器32,用于根据所述视频放大请求,将所述原始视频图像裁减为所述位置信息对应的所述部分视频图像;发送器33,用于向所述第二终端发送所述部分视频图像。
可选地,处理器32,还用于在发送器33向所述第二终端发送所述部分视频图像之前,获取裁减得到的所述部分视频图像的分辨率;发送器33在向所述第二终端发送所述部分视频图像时,具体用于:向所述第二终端发送分辨率大于或等于传输要求的分辨率的部分视频图像。
在第一种可选的实现方式中,处理器32,还用于在发送器33向所述第二终端发送分辨率大于或等于传输要求的分辨率的部分视频图像之前,当裁减得到的所述部分视频图像的分辨率小于所述传输要求的分辨率时,提高拍摄所述原始视频图像的分辨率,得到分辨率增大的原始视频图像;以及将所述分辨率增大的原始视频图像裁减为所述部分视频图像,从所述分辨率增大的原始视频图像中裁减得到的部分视频图像的分辨率大于或等于所述传输要求的分辨率;发送器33在向所述第二终端发送分辨率大于或等于传输要求的分辨率的部分视频图像时,具体用于:向所述第二终端发送从所述分辨率增大的原始视频图像中裁减得到的所述部分视频图像。
在第二种可选的实现方式中,处理器32,还用于在发送器33向所述第二终端发送所述部分视频图像之前,当裁减得到的所述部分视频图像的分辨率小于所述传输要求的分辨率时,降低所述传输要求的分辨率,以使降低后的所述传输要求的分辨率小于或等于所述部分视频图像的分辨率。
在第三种可选的实现方式中,处理器32,还用于在发送器33向所述第 二终端发送所述部分视频图像之前,当裁减得到的所述部分视频图像的分辨率小于所述传输要求的分辨率时,根据所述传输要求的分辨率,将所述裁减得到的部分视频图像进行压缩处理,获得压缩处理后的部分视频图像,所述压缩处理后的部分视频图像的分辨率等于所述传输要求的分辨率;发送器33在向所述第二终端发送所述部分视频图像时,具体用于:向所述第二终端发送所述压缩处理后的部分视频图像。
可选地,所述位置信息为所述部分视频图像在所述原始视频图像中占据的矩形框的坐标信息。
可选地,接收器31还用于,接收所述第二终端发送的视频图像恢复请求;发送器33还用于,根据所述视频图像恢复请求向所述第二终端发送所述原始视频图像。
可选地,本实施例的终端还可以包括存储器(图中未示出),用于存储执行视频通信中放大视频图像的方法的程序代码;处理器32用于调用存储器中的所述程序代码执行上述操作。
本实施例的终端,可以用于执行本发明上述各方法实施例中第一终端所执行的技术方案,其实现原理和技术效果类似,此处不再赘述。
图14为本发明终端实施例四的结构示意图,如图14所示,本实施例的终端作为第二终端可以包括:处理器41、发送器42和接收器43;其中,处理器41,用于在第一终端与所述第二终端进行视频通信的过程中,获取需要请求放大的部分视频图像在原始视频图像中的位置信息;发送器42,用于向所述第一终端发送视频图像放大请求,所述视频图像放大请求包括所述位置信息;接收器43,用于接收所述第一终端发送的所述部分视频图像;处理器41,还用于显示所述部分视频图像。
可选地,所述位置信息为所述部分视频图像在所述原始视频图像中占据的矩形框的坐标信息。
在一种可选的实现方式中,处理器41在获取需要请求放大的部分视频图像在原始视频图像中的位置信息时,具体用于:获取在所述第二终端的显示界面上的滑动轨迹;根据所述滑动轨迹获取矩形框,所述滑动轨迹位于所述矩形框内;确定所述矩形框的端点的坐标为所述部分视频图像的位置信息。
可选地,所述矩形框的长宽比与传输要求的分辨率的长宽比相同。
可选地,发送器42,还用于向所述第一终端发送视频图像恢复请求;接收器43,还用于接收所述第一终端发送的所述原始视频图像;处理器41,还用于显示所述原始视频图像。
可选地,本实施例的终端还可以包括存储器(图中未示出),用于存储执行视频通信中放大视频图像的方法的程序代码;处理器41用于调用存储器中的所述程序代码执行上述操作。
本实施例的终端,可以用于执行本发明上述各方法实施例中第二终端所执行的技术方案,其实现原理和技术效果类似,此处不再赘述。
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:只读内存(英文:Read-Only Memory,简称:ROM)、随机存取存储器(英文:Random Access Memory,简称:RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims (36)

  1. 一种视频通信中放大视频图像的方法,其特征在于,包括:
    在第一终端与第二终端进行视频通信的过程中,所述第一终端接收所述第二终端发送的视频放大请求,所述视频放大请求包括请求放大的部分视频图像在原始视频图像中的位置信息;
    所述第一终端根据所述视频放大请求,将所述原始视频图像裁减为与所述位置信息对应的所述部分视频图像;
    所述第一终端向所述第二终端发送所述部分视频图像。
  2. 根据权利要求1所述的方法,其特征在于,所述第一终端向所述第二终端发送所述部分视频图像之前,所述方法还包括:所述第一终端获取裁减得到的所述部分视频图像的分辨率;
    所述第一终端向所述第二终端发送所述部分视频图像,包括:所述第一终端向所述第二终端发送分辨率大于或等于传输要求的分辨率的部分视频图像。
  3. 根据权利要求2所述的方法,其特征在于,当裁减得到的所述部分视频图像的分辨率小于所述传输要求的分辨率时,所述第一终端向所述第二终端发送分辨率大于或等于传输要求的分辨率的部分视频图像之前,所述方法还包括:
    所述第一终端提高拍摄所述原始视频图像的分辨率,得到分辨率增大的原始视频图像;
    所述第一终端将所述分辨率增大的原始视频图像裁减为所述部分视频图像,从所述分辨率增大的原始视频图像中裁减得到的部分视频图像的分辨率大于或等于所述传输要求的分辨率;
    所述第一终端向所述第二终端发送分辨率大于或等于传输要求的分辨率的部分视频图像,包括:所述第一终端向所述第二终端发送从所述分辨率增大的原始视频图像中裁减得到的所述部分视频图像。
  4. 根据权利要求2所述的方法,其特征在于,当裁减得到的所述部分视频图像的分辨率小于所述传输要求的分辨率时,所述第一终端向所述第二终端发送所述部分视频图像之前,所述方法还包括:所述第一终端降低所述传输要求的分辨率,以使降低后的所述传输要求的分辨率小于或等于所述部分 视频图像的分辨率。
  5. 根据权利要求2所述的方法,其特征在于,当裁减得到的所述部分视频图像的分辨率大于所述传输要求的分辨率时,所述第一终端向所述第二终端发送所述部分视频图像之前,所述方法还包括:所述第一终端根据所述传输要求的分辨率,将所述裁减得到的部分视频图像进行压缩处理,获得压缩处理后的部分视频图像,所述压缩处理后的部分视频图像的分辨率等于所述传输要求的分辨率;
    所述第一终端向所述第二终端发送所述部分视频图像,包括:所述第一终端向所述第二终端发送所述压缩处理后的部分视频图像。
  6. 根据权利要求1-5任意一项所述的方法,其特征在于,所述位置信息为所述部分视频图像在所述原始视频图像中占据的矩形框的坐标信息。
  7. 根据权利要求1-6任意一项所述的方法,其特征在于,所述方法还包括:
    所述第一终端接收所述第二终端发送的视频图像恢复请求;
    所述第一终端根据所述视频图像恢复请求,向所述第二终端发送所述原始视频图像。
  8. 一种视频通信中放大视频图像的方法,其特征在于,包括:
    在第一终端与第二终端进行视频通信的过程中,所述第二终端获取需要请求放大的部分视频图像在原始视频图像中的位置信息;
    所述第二终端向所述第一终端发送视频图像放大请求,所述视频图像放大请求包括所述位置信息;
    所述第二终端接收所述第一终端发送的所述部分视频图像;
    所述第二终端显示所述部分视频图像。
  9. 根据权利要求8所述的方法,其特征在于,所述位置信息为所述部分视频图像在所述原始视频图像中占据的矩形框的坐标信息。
  10. 根据权利要求9所述的方法,其特征在于,所述第二终端获取需要请求放大的部分视频图像在原始视频图像中的位置信息,包括:
    所述第二终端获取在所述第二终端的显示界面上的滑动轨迹;
    所述第二终端根据所述滑动轨迹获取矩形框,所述滑动轨迹位于所述矩形框内;
    所述第二终端确定所述矩形框的端点的坐标为所述部分视频图像的位置信息。
  11. 根据权利要求10所述的方法,其特征在于,所述矩形框的长宽比与传输要求的分辨率的长宽比相同。
  12. 根据权利要求8-11任意一项所述的方法,其特征在于,还包括:
    所述第二终端向所述第一终端发送视频图像恢复请求;
    所述第二终端接收所述第一终端发送的所述原始视频图像;
    所述第二终端显示所述原始视频图像。
  13. 一种终端,其特征在于,作为第一终端,包括:
    接收单元,用于在所述第一终端与第二终端进行视频通信的过程中,接收所述第二终端发送的视频放大请求,所述视频放大请求包括请求放大的部分视频图像在原始视频图像中的位置信息;
    处理单元,用于根据所述视频放大请求,将所述原始视频图像裁减为所述位置信息对应的所述部分视频图像;
    发送单元,用于向所述第二终端发送所述部分视频图像。
  14. 根据权利要求13所述的终端,其特征在于,所述处理单元,还用于在所述发送单元向所述第二终端发送所述部分视频图像之前,获取裁减得到的所述部分视频图像的分辨率;
    所述发送单元在向所述第二终端发送所述部分视频图像时,具体用于:向所述第二终端发送分辨率大于或等于传输要求的分辨率的部分视频图像。
  15. 根据权利要求14所述的终端,其特征在于,所述处理单元,还用于在所述发送单元向所述第二终端发送分辨率大于或等于传输要求的分辨率的部分视频图像之前,当裁减得到的所述部分视频图像的分辨率小于所述传输要求的分辨率时,提高拍摄所述原始视频图像的分辨率,得到分辨率增大的原始视频图像;以及将所述分辨率增大的原始视频图像裁减为所述部分视频图像,从所述分辨率增大的原始视频图像中裁减得到的部分视频图像的分辨率大于或等于所述传输要求的分辨率;
    所述发送单元在向所述第二终端发送分辨率大于或等于传输要求的分辨率的部分视频图像时,具体用于:向所述第二终端发送从所述分辨率增大的原始视频图像中裁减得到的所述部分视频图像。
  16. 根据权利要求14所述的终端,其特征在于,所述处理单元,还用于在所述发送单元向所述第二终端发送所述部分视频图像之前,当裁减得到的所述部分视频图像的分辨率小于所述传输要求的分辨率时,降低所述传输要求的分辨率,以使降低后的所述传输要求的分辨率小于或等于所述部分视频图像的分辨率。
  17. 根据权利要求14所述的终端,其特征在于,所述处理单元,还用于在所述发送单元向所述第二终端发送所述部分视频图像之前,当裁减得到的所述部分视频图像的分辨率小于所述传输要求的分辨率时,根据所述传输要求的分辨率,将所述裁减得到的部分视频图像进行压缩处理,获得压缩处理后的部分视频图像,所述压缩处理后的部分视频图像的分辨率等于所述传输要求的分辨率;
    所述发送单元在向所述第二终端发送所述部分视频图像时,具体用于:向所述第二终端发送所述压缩处理后的部分视频图像。
  18. 根据权利要求13-17任意一项所述的终端,其特征在于,所述位置信息为所述部分视频图像在所述原始视频图像中占据的矩形框的坐标信息。
  19. 根据权利要求13-18任意一项所述的终端,其特征在于,所述接收单元还用于,接收所述第二终端发送的视频图像恢复请求;
    所述发送单元还用于,根据所述视频图像恢复请求向所述第二终端发送所述原始视频图像。
  20. 一种终端,其特征在于,作为第二终端,包括:
    处理单元,用于在第一终端与所述第二终端进行视频通信的过程中,获取需要请求放大的部分视频图像在原始视频图像中的位置信息;
    发送单元,用于向所述第一终端发送视频图像放大请求,所述视频图像放大请求包括所述位置信息;
    接收单元,用于接收所述第一终端发送的所述部分视频图像;
    所述处理单元,还用于显示所述部分视频图像。
  21. 根据权利要求20所述的终端,其特征在于,所述位置信息为所述部分视频图像在所述原始视频图像中占据的矩形框的坐标信息。
  22. 根据权利要求21所述的终端,其特征在于,所述处理单元在获取需要请求放大的部分视频图像在原始视频图像中的位置信息时,具体用于:获 取在所述第二终端的显示界面上的滑动轨迹;根据所述滑动轨迹获取矩形框,所述滑动轨迹位于所述矩形框内;确定所述矩形框的端点的坐标为所述部分视频图像的位置信息。
  23. 根据权利要求22所述的终端,其特征在于,所述矩形框的长宽比与传输要求的分辨率的长宽比相同。
  24. 根据权利要求20-23任意一项所述的终端,其特征在于,所述发送单元,还用于向所述第一终端发送视频图像恢复请求;
    所述接收单元,还用于接收所述第一终端发送的所述原始视频图像;
    所述处理单元,还用于显示所述原始视频图像。
  25. 一种终端,其特征在于,作为第一终端,包括:
    接收器,用于在所述第一终端与第二终端进行视频通信的过程中,接收所述第二终端发送的视频放大请求,所述视频放大请求包括请求放大的部分视频图像在原始视频图像中的位置信息;
    处理器,用于根据所述视频放大请求,将所述原始视频图像裁减为所述位置信息对应的所述部分视频图像;
    发送器,用于向所述第二终端发送所述部分视频图像。
  26. 根据权利要求25所述的终端,其特征在于,所述处理器,还用于在所述发送器向所述第二终端发送所述部分视频图像之前,获取裁减得到的所述部分视频图像的分辨率;
    所述发送器在向所述第二终端发送所述部分视频图像时,具体用于:向所述第二终端发送分辨率大于或等于传输要求的分辨率的部分视频图像。
  27. 根据权利要求26所述的终端,其特征在于,所述处理器,还用于在所述发送器向所述第二终端发送分辨率大于或等于传输要求的分辨率的部分视频图像之前,当裁减得到的所述部分视频图像的分辨率小于所述传输要求的分辨率时,提高拍摄所述原始视频图像的分辨率,得到分辨率增大的原始视频图像;以及将所述分辨率增大的原始视频图像裁减为所述部分视频图像,从所述分辨率增大的原始视频图像中裁减得到的部分视频图像的分辨率大于或等于所述传输要求的分辨率;
    所述发送器在向所述第二终端发送分辨率大于或等于传输要求的分辨率的部分视频图像时,具体用于:向所述第二终端发送从所述分辨率增大的原 始视频图像中裁减得到的所述部分视频图像。
  28. 根据权利要求26所述的终端,其特征在于,所述处理器,还用于在所述发送器向所述第二终端发送所述部分视频图像之前,当裁减得到的所述部分视频图像的分辨率小于所述传输要求的分辨率时,降低所述传输要求的分辨率,以使降低后的所述传输要求的分辨率小于或等于所述部分视频图像的分辨率。
  29. 根据权利要求26所述的终端,其特征在于,所述处理器,还用于在所述发送器向所述第二终端发送所述部分视频图像之前,当裁减得到的所述部分视频图像的分辨率小于所述传输要求的分辨率时,根据所述传输要求的分辨率,将所述裁减得到的部分视频图像进行压缩处理,获得压缩处理后的部分视频图像,所述压缩处理后的部分视频图像的分辨率等于所述传输要求的分辨率;
    所述发送器在向所述第二终端发送所述部分视频图像时,具体用于:向所述第二终端发送所述压缩处理后的部分视频图像。
  30. 根据权利要求25-29任意一项所述的终端,其特征在于,所述位置信息为所述部分视频图像在所述原始视频图像中占据的矩形框的坐标信息。
  31. 根据权利要求25-30任意一项所述的终端,其特征在于,所述接收器还用于,接收所述第二终端发送的视频图像恢复请求;
    所述发送器还用于,根据所述视频图像恢复请求向所述第二终端发送所述原始视频图像。
  32. 一种终端,其特征在于,作为第二终端,包括:
    处理器,用于在第一终端与所述第二终端进行视频通信的过程中,获取需要请求放大的部分视频图像在原始视频图像中的位置信息;
    发送器,用于向所述第一终端发送视频图像放大请求,所述视频图像放大请求包括所述位置信息;
    接收器,用于接收所述第一终端发送的所述部分视频图像;
    所述处理器,还用于显示所述部分视频图像。
  33. 根据权利要求32所述的终端,其特征在于,所述位置信息为所述部分视频图像在所述原始视频图像中占据的矩形框的坐标信息。
  34. 根据权利要求33所述的终端,其特征在于,所述处理器在获取需要 请求放大的部分视频图像在原始视频图像中的位置信息时,具体用于:获取在所述第二终端的显示界面上的滑动轨迹;根据所述滑动轨迹获取矩形框,所述滑动轨迹位于所述矩形框内;确定所述矩形框的端点的坐标为所述部分视频图像的位置信息。
  35. 根据权利要求34所述的终端,其特征在于,所述矩形框的长宽比与传输要求的分辨率的长宽比相同。
  36. 根据权利要求32-35任意一项所述的终端,其特征在于,所述发送器,还用于向所述第一终端发送视频图像恢复请求;
    所述接收器,还用于接收所述第一终端发送的所述原始视频图像;
    所述处理器,还用于显示所述原始视频图像。
PCT/CN2015/071951 2015-01-30 2015-01-30 视频通信中放大视频图像的方法和终端 WO2016119217A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2015/071951 WO2016119217A1 (zh) 2015-01-30 2015-01-30 视频通信中放大视频图像的方法和终端
CN201580001929.9A CN106170987A (zh) 2015-01-30 2015-01-30 视频通信中放大视频图像的方法和终端

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/071951 WO2016119217A1 (zh) 2015-01-30 2015-01-30 视频通信中放大视频图像的方法和终端

Publications (1)

Publication Number Publication Date
WO2016119217A1 true WO2016119217A1 (zh) 2016-08-04

Family

ID=56542211

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/071951 WO2016119217A1 (zh) 2015-01-30 2015-01-30 视频通信中放大视频图像的方法和终端

Country Status (2)

Country Link
CN (1) CN106170987A (zh)
WO (1) WO2016119217A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111601066A (zh) * 2020-05-26 2020-08-28 维沃移动通信有限公司 信息获取方法、装置及电子设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102055912A (zh) * 2009-10-29 2011-05-11 北京中星微电子有限公司 一种视频应用系统、视频特效处理系统和方法
US20130286227A1 (en) * 2012-04-30 2013-10-31 T-Mobile Usa, Inc. Data Transfer Reduction During Video Broadcasts
CN103517072A (zh) * 2012-06-18 2014-01-15 联想(北京)有限公司 视频通信方法和设备
CN103596025A (zh) * 2012-08-14 2014-02-19 腾讯科技(深圳)有限公司 视频聊天的画面调整方法、装置及相应的视频终端
CN104184986A (zh) * 2013-05-28 2014-12-03 华为技术有限公司 一种视频监控方法、装置及系统

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4938473B2 (ja) * 2007-01-23 2012-05-23 シャープ株式会社 連動型放送画面送受信システム
CN101697579B (zh) * 2009-10-23 2015-05-20 中兴通讯股份有限公司 一种具有可视电话功能的终端及其调节视频图像的方法
CN102137248B (zh) * 2010-01-21 2015-05-20 腾讯科技(深圳)有限公司 视频分辨率的切换方法及装置、终端及切换系统
CN102263928A (zh) * 2011-07-26 2011-11-30 中兴通讯股份有限公司 放大可视电话图像的方法、终端及可视电话系统
CN103702061A (zh) * 2013-12-23 2014-04-02 上海网达软件股份有限公司 一种智能终端视频通话分辨率自动调节方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102055912A (zh) * 2009-10-29 2011-05-11 北京中星微电子有限公司 一种视频应用系统、视频特效处理系统和方法
US20130286227A1 (en) * 2012-04-30 2013-10-31 T-Mobile Usa, Inc. Data Transfer Reduction During Video Broadcasts
CN103517072A (zh) * 2012-06-18 2014-01-15 联想(北京)有限公司 视频通信方法和设备
CN103596025A (zh) * 2012-08-14 2014-02-19 腾讯科技(深圳)有限公司 视频聊天的画面调整方法、装置及相应的视频终端
CN104184986A (zh) * 2013-05-28 2014-12-03 华为技术有限公司 一种视频监控方法、装置及系统

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111601066A (zh) * 2020-05-26 2020-08-28 维沃移动通信有限公司 信息获取方法、装置及电子设备
CN111601066B (zh) * 2020-05-26 2022-03-25 维沃移动通信有限公司 信息获取方法、装置、电子设备和存储介质

Also Published As

Publication number Publication date
CN106170987A (zh) 2016-11-30

Similar Documents

Publication Publication Date Title
EP3002905B1 (en) Unified communication-based video conference call method, device and system
US9800919B2 (en) Method and device for screen mirroring
US9288435B2 (en) Speaker switching delay for video conferencing
CA2865545C (en) Communication control system and control device
JP6634965B2 (ja) 通信端末、通信システム、通信制御方法、及びプログラム
WO2019072149A1 (zh) 缩略图生成方法及装置、电子设备、存储介质
CN104219474B (zh) 图像处理设备及其控制方法
WO2019001006A1 (zh) 一种图像数据的编码、解码方法及装置
US20160162151A1 (en) Input method and device thereof, and auxiliary input method and system thereof
KR101644868B1 (ko) 단말기 간 이미지 공유 방법, 단말 장치 및 통신 시스템
US10044979B2 (en) Acquiring regions of remote shared content with high resolution
JP2015149040A (ja) 情報処理装置、方法、プログラム、および端末装置
US20150201085A1 (en) Seamlessly transferring a communication
JP2014160467A (ja) 端末機のメッセンジャー制御装置及び方法
WO2020253123A1 (zh) 直立影像全屏显示方法、相关设备及系统
WO2013013449A1 (zh) 放大可视电话图像的方法、终端及可视电话系统
WO2017071356A1 (zh) 一种基于客户端的网络数据同步的方法、装置以及系统
CN112764853A (zh) 一种投屏方法、设备及系统
WO2022057362A1 (zh) 图像处理方法及装置、云真机系统、存储介质和电子设备
JP6540469B2 (ja) 通信端末、通信システム、通信制御方法、及びプログラム
US20150186095A1 (en) Inter-terminal image sharing method, terminal device, and communications system
WO2016119217A1 (zh) 视频通信中放大视频图像的方法和终端
KR101410837B1 (ko) 비디오 메모리의 모니터링을 이용한 영상 처리 장치
WO2018107715A1 (zh) 一种降低坐席管理系统成本的方法及系统
CN110661880A (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: 15879425

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

Country of ref document: EP

Kind code of ref document: A1