WO2018107776A1 - Procédé et système de rotation de données vidéo - Google Patents

Procédé et système de rotation de données vidéo Download PDF

Info

Publication number
WO2018107776A1
WO2018107776A1 PCT/CN2017/096479 CN2017096479W WO2018107776A1 WO 2018107776 A1 WO2018107776 A1 WO 2018107776A1 CN 2017096479 W CN2017096479 W CN 2017096479W WO 2018107776 A1 WO2018107776 A1 WO 2018107776A1
Authority
WO
WIPO (PCT)
Prior art keywords
pixel
video data
target
rotation
coordinate
Prior art date
Application number
PCT/CN2017/096479
Other languages
English (en)
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 威创集团股份有限公司
Publication of WO2018107776A1 publication Critical patent/WO2018107776A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/2628Alteration of picture size, shape, position or orientation, e.g. zooming, rotation, rolling, perspective, translation

Definitions

  • the present invention relates to the field of video signal processing technologies, and in particular, to a video data rotation method and system.
  • the application frequency of display devices such as video splicing walls is getting higher and higher, and the application range is wider and wider.
  • the data acquisition angle of the video source acquisition device usually changes (such as the scanning lens rotation of the scanner or the rotation of the camera lens, etc.), if the video data is to be During the acquisition process, the video data acquired under the acquisition of the angle change is sent to the display device for display, and the video data acquired in the above-mentioned acquisition angle change needs to be rotated during the display process of the display device to ensure the above video. The effect of the data on the display device.
  • the traditional video data rotation scheme there is a technique to realize the rotation of the corresponding image data by a two-step method, but in the first transformation, the high frequency part in the image is lost, and the image quality is degraded obviously, and then Paeth and Tanaka propose three on this basis.
  • the image rotation processing can be completed by three times of translation, but the image quality is obviously different from the original image.
  • a video data rotation method includes the following steps:
  • Each pixel in the video data is respectively filled to a target coordinate position corresponding to the pixel according to the rotation correspondence.
  • a video data rotation system comprising:
  • the obtaining module is configured to obtain an original display range corresponding to the video data to be rotated on the display interface
  • a calculation module configured to calculate target coordinates after the display coordinates corresponding to the respective pixels in the original display range are rotated according to the target rotation angle
  • a determining module configured to determine a rotation correspondence relationship between the pixel and the target coordinate according to an original correspondence relationship between the pixel and the display coordinate in the video data
  • a filling module configured to fill each pixel in the video data to a target coordinate position corresponding to the pixel according to the rotation correspondence.
  • the above video data rotation method and system can obtain the original display range corresponding to the video data to be rotated on the display interface and the corresponding display coordinates in the original display range in the video data, and calculate the target after the display coordinate is rotated according to the target rotation angle. Coordinates, determining a rotation correspondence relationship between the pixel and the target coordinate according to an original correspondence relationship between the pixel and the display coordinate in the video data, so that each pixel in the video data is respectively filled to a target coordinate position corresponding to the pixel according to the rotation correspondence relationship, In order to realize the rotation of each pixel in the video data on the display interface, the performance parameters of each pixel in the rotated video data remain unchanged, the corresponding image quality is better maintained, and each pixel in the above video data is rotated. The process is relatively simple and has a high rotational efficiency.
  • FIG. 1 is a flow chart of a video data rotation method of an embodiment
  • FIG. 2 is a schematic diagram of an original display range and a target display range of an embodiment
  • Figure 3 is a schematic diagram showing the original display range of an embodiment
  • Figure 4 is a schematic diagram showing the original display range of an embodiment
  • FIG. 5 is a schematic structural diagram of a video data rotation system of an embodiment.
  • FIG. 1 is a flowchart of a video data rotation method according to an embodiment, which includes the following steps:
  • the data acquisition angle of the video source acquisition device changes (such as the scan lens rotation of the scanner, the projection angle of the projector, or the rotation of the camera lens, etc.), and the video data acquired in this state is required.
  • the display is performed on the corresponding display interface to ensure the display effect of the above video data on the display interface.
  • the video data includes a plurality of pixel points, and each pixel point has a corresponding display coordinate on the display interface, and each of the display coordinates constitutes an original display range corresponding to the video data on the display interface.
  • the target rotation angle may be determined according to the fluctuation range of the data acquisition angle of the video source acquiring device.
  • the target rotation angle is a variation angle of the data acquisition angle of the video source acquiring device with respect to the horizontal direction or the vertical direction.
  • the above steps may display the correspondence between the coordinates and the target coordinates by the correspondence between the pixels and the display coordinates, and determine the correspondence between the pixels and the target coordinates to obtain a rotation correspondence.
  • the above steps may sample the pixels according to the arrangement features of the respective pixels in the video data to acquire respective pixels in the video data and perform corresponding filling.
  • the video data rotation method provided in this embodiment can obtain the original display range corresponding to the video data to be rotated on the display interface and the display coordinates corresponding to each display in the original display range in the video data, and calculate the display coordinate to rotate according to the target rotation angle.
  • a target coordinate determining a rotation correspondence relationship between the pixel and the target coordinate according to an original correspondence relationship between the pixel and the display coordinate in the video data, thereby filling each pixel in the video data to a target coordinate corresponding to the pixel according to the rotation correspondence relationship Position, in order to realize the rotation of each pixel in the above video data on the display interface, the performance parameter of each pixel in the rotated video data remains unchanged, the corresponding image quality is better maintained, and each pixel in the above video data is realized.
  • the process of rotation is relatively simple and has a high rotational efficiency.
  • the process of calculating the target coordinates of the display coordinates corresponding to each pixel in the original display range according to the target rotation angle may include:
  • the target coordinates corresponding to the display coordinates of the respective pixels in the target coordinate system are respectively calculated.
  • the conversion from the original coordinate system to the target coordinate system is performed according to the target rotation angle, thereby realizing the conversion from the display coordinate to the target coordinate, and has high conversion accuracy.
  • the original display range ABCD shown in FIG. 2 is rotated to the target display range A'B'C'D', and the corresponding target rotation angle is ⁇ , and the original coordinate system in which the original display range ABCD is located may be converted first.
  • the transformation from the original display range ABCD to the target display range A'B'C'D' is realized.
  • the transformation process of the above-described original display range ABCD to the target display range A'B'C'D' may include:
  • the width of the rectangular area is w
  • the height is l
  • the coordinates are A(x 0 , y k1 ), B(x j1 , y k ), C(x j , y k2 ), D(x j2 , y 0 ), respectively.
  • the lengths of the respective horizontal segments include: the abscissa of the point D is j1, the abscissa of the point B is j2, and the abscissa of the point C is j, and the length of each segment is obtained by mathematical geometric calculation as follows:
  • the lengths of the respective vertical segments include: the ordinate of the point A is k1, the ordinate of the point C is k2, and the ordinate of the point B is k, and the length of each segment is obtained by mathematical geometric calculation. :
  • Equations 1-6 the coordinates of the four points A, B, C, and D can be calculated, and the rectangular area circled by these four points is the area to be rotated (original display range). Assuming that the pixel coordinates of the rotation area are (x, y), when the image is taken, there is a limitation that 0 ⁇ x ⁇ x j , 0 ⁇ y ⁇ y k .
  • a new coordinate system (target coordinate system) is newly established.
  • the new Cartesian coordinate system is established with the lower left point of the rectangle as the origin.
  • the D point is used as the origin (D' after rotation).
  • the method may further include:
  • the video capturing unit is a camera of the imaging device or a scanning lens of the scanner;
  • a target rotation angle of the video data is determined according to the rotation angle.
  • the target rotation angle of the video data is determined according to the rotation angle of the video collection unit, and the accuracy of the determined target rotation angle is ensured.
  • the original correspondence between the pixels and the display coordinates in the video data is as described above.
  • the process of determining the rotation correspondence between the pixel and the target coordinates may include:
  • Corresponding relationship between each pixel and each target coordinate is determined according to the original correspondence relationship and the coordinate correspondence relationship, and a rotation correspondence relationship is obtained.
  • the rotation corresponding relationship is determined according to the original correspondence relationship and the coordinate correspondence relationship, and the accuracy is high, thereby ensuring the accuracy of the filling position of each pixel after the rotation, and improving the display effect of the corresponding video data after the rotation.
  • the process of filling each pixel in the video data to the target coordinate position corresponding to the pixel according to the rotation correspondence may include:
  • Each pixel is sequentially sampled from the video data according to the arrangement order, and the acquired pixels are respectively filled to a target coordinate position corresponding to the pixel.
  • the sampling of the pixels is performed according to the order of arrangement of the pixels in the video data, so that the sampling process is more orderly.
  • the method may further include:
  • a double rate synchronous dynamic random buffer is set, and the video data to be rotated is buffered to the double rate synchronous dynamic random buffer.
  • the process of filling each pixel in the video data to the target coordinate position corresponding to the pixel according to the rotation correspondence may include:
  • each pixel in the video data buffered by the double rate synchronous dynamic random buffer is respectively filled to a target coordinate position corresponding to the pixel according to the rotation correspondence.
  • the double rate synchronous dynamic random buffer can be established by using DDR (Double Rate Synchronous Dynamic Random Access Memory), and the double rate synchronous dynamic random buffer is a new video frame data storage.
  • the area uses the double rate synchronous dynamic random buffer area to buffer the video data, and then performs corresponding sampling and filling, so that the subsequent sampling and filling process is more stable.
  • the original display range is a triangular area; the vertices of the triangular area correspond to a first pixel in the video data;
  • the process of filling each pixel in the video data to the target coordinate position corresponding to the pixel according to the rotation correspondence relationship includes:
  • each line is downsampled, the ordinate of the sampling coordinate is decremented by one, and the abscissa of the sampling coordinate is decremented by one to the left. , add one to the right;
  • the original display range of this embodiment is a triangular area, and pixel sampling of the area can be started from the pixel corresponding to the vertex position, and sampled line by line. For each next line, the y coordinate (ordinate) is reduced by one until yk2 (original display) For the x-axis coordinate (abscissa), for each x-axis coordinate, the coordinates are decremented by one to the left and one to the right.
  • the original display range is a parallel four deformation region; the upper left vertex of the parallel four deformation region corresponds to the first pixel in the video data;
  • the process of filling each pixel in the video data to the target coordinate position corresponding to the pixel according to the rotation correspondence relationship includes:
  • the original display range of this embodiment is a parallel four-deformation region.
  • another acquisition rule may be adopted. That is, the x coordinate (abscissa) is decremented by one to the left, and the right is also decremented by one, and the absolute value of the abscissa of the two edges is kept consistent until the adoption of A
  • the point, that is, the x coordinate is 0; the y coordinate (ordinate) can be used for each next line, and the y coordinate is reduced by one until the y coordinate is the lowest point of the original display range.
  • the original display range is an inverted triangle
  • the sample can be sampled row by row from the upper left vertex point of the inverted triangle region, and the next y coordinate (ordinate) is reduced by one to the inverted triangle region.
  • the lower vertex; the x-axis coordinate (abscissa), every next line of sampling, the coordinate is increased to the left, minus one to the right.
  • the target rotation angle is 45° or 90°, the sampling process is relatively simple.
  • FIG. 5 is a schematic structural diagram of a video data rotation system according to an embodiment, including:
  • the obtaining module 10 is configured to obtain an original display range corresponding to the video data to be rotated on the display interface;
  • the calculation module 20 is configured to calculate target coordinates after the display coordinates corresponding to the respective pixels in the original display range are rotated according to the target rotation angle;
  • a determining module 30 configured to determine a rotation correspondence relationship between the pixel and the target coordinate according to an original correspondence relationship between the pixel and the display coordinate in the video data
  • the filling module 40 is configured to fill each pixel in the video data to a target coordinate position corresponding to the pixel according to the rotation correspondence.
  • the video data rotation system provided by the present invention has a one-to-one correspondence with the video data rotation method provided by the present invention, and the technical features and advantages thereof in the embodiment of the video data rotation method are applicable to the embodiment of the video data rotation system. , hereby declare.

Landscapes

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

Abstract

La présente invention concerne un procédé et un système de rotation de données vidéo. Le procédé de rotation de données vidéo comporte les étapes suivantes: obtenir une plage d'affichage d'origine correspondant à des données vidéo à faire pivoter qui se situent sur une interface d'affichage; calculer une coordonnée visée après qu'une coordonnée d'affichage correspondant à chaque pixel de la plage d'affichage d'origine a subi une rotation selon un angle de rotation visé; déterminer une relation de correspondance de rotation entre un pixel et la coordonnée visée selon une relation de correspondance d'origine entre un pixel et une coordonnée d'affichage dans des données vidéo; garnir chaque pixel dans les données vidéo vers une position de coordonnée visée correspondant à un pixel respectivement selon la relation de correspondance de rotation de façon à faire pivoter chaque pixel desdites données vidéo dans l'interface d'affichage; les paramètres de performances de chaque pixel dans les données vidéo ayant subi une rotation restent inchangé, une qualité d'image y correspondant est bien maintenue, et un processus de rotation de chaque pixel des données vidéo est relativement simple à mettre en œuvre, tout en présentant un rendement de rotation élevé.
PCT/CN2017/096479 2016-12-13 2017-08-08 Procédé et système de rotation de données vidéo WO2018107776A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611148195.XA CN106791481A (zh) 2016-12-13 2016-12-13 视频数据旋转方法和系统
CN201611148195.X 2016-12-13

Publications (1)

Publication Number Publication Date
WO2018107776A1 true WO2018107776A1 (fr) 2018-06-21

Family

ID=58881117

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/096479 WO2018107776A1 (fr) 2016-12-13 2017-08-08 Procédé et système de rotation de données vidéo

Country Status (2)

Country Link
CN (1) CN106791481A (fr)
WO (1) WO2018107776A1 (fr)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109658337A (zh) * 2018-11-21 2019-04-19 中国航空工业集团公司洛阳电光设备研究所 一种图像实时电子消旋的fpga实现方法
CN111369446A (zh) * 2018-12-26 2020-07-03 杭州海康威视数字技术股份有限公司 一种图像旋转方法及装置

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106791481A (zh) * 2016-12-13 2017-05-31 广东威创视讯科技股份有限公司 视频数据旋转方法和系统
CN108154838A (zh) * 2017-12-21 2018-06-12 威创集团股份有限公司 一种三角形模块显示驱动电路实现方法及驱动电路
CN115424523B (zh) * 2022-06-27 2023-11-03 安顺市联顺达科技有限公司 分区图像旋转处理的智能显示方法、装置及电子设备
CN116343714A (zh) * 2023-03-01 2023-06-27 业成科技(成都)有限公司 显示屏旋转自适应方法、装置、计算机设备和存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070292050A1 (en) * 2006-06-16 2007-12-20 Sonix Technology Co., Ltd. Method and apparatus for rotating 2D image
JP2009147453A (ja) * 2007-12-11 2009-07-02 Canon Inc 画像処理装置、方法及びプログラム
CN102982788A (zh) * 2012-12-20 2013-03-20 马国光 实时视频图像的任意角度旋转处理系统及方法
CN103826068A (zh) * 2014-03-03 2014-05-28 南京航空航天大学 一种视频图像旋转方法
CN105430331A (zh) * 2015-11-13 2016-03-23 浙江宇视科技有限公司 调整监控图像显示方向的方法和装置
CN106791481A (zh) * 2016-12-13 2017-05-31 广东威创视讯科技股份有限公司 视频数据旋转方法和系统

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101527795B (zh) * 2009-04-13 2012-06-20 腾讯科技(深圳)有限公司 一种在播放中旋转视频的处理方法、装置与系统
CN103679630A (zh) * 2012-09-03 2014-03-26 三星电子(中国)研发中心 一种视频旋转方法
JP6071436B2 (ja) * 2012-11-05 2017-02-01 オリンパス株式会社 撮像装置、撮像方法およびプログラム
CN105721791B (zh) * 2016-02-02 2018-04-17 深圳市创维群欣安防科技股份有限公司 一种拼接显示屏的旋转显示方法及系统
CN105739874A (zh) * 2016-03-11 2016-07-06 沈阳聚德视频技术有限公司 一种基于dsp的edma在图像旋转中的实现方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070292050A1 (en) * 2006-06-16 2007-12-20 Sonix Technology Co., Ltd. Method and apparatus for rotating 2D image
JP2009147453A (ja) * 2007-12-11 2009-07-02 Canon Inc 画像処理装置、方法及びプログラム
CN102982788A (zh) * 2012-12-20 2013-03-20 马国光 实时视频图像的任意角度旋转处理系统及方法
CN103826068A (zh) * 2014-03-03 2014-05-28 南京航空航天大学 一种视频图像旋转方法
CN105430331A (zh) * 2015-11-13 2016-03-23 浙江宇视科技有限公司 调整监控图像显示方向的方法和装置
CN106791481A (zh) * 2016-12-13 2017-05-31 广东威创视讯科技股份有限公司 视频数据旋转方法和系统

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109658337A (zh) * 2018-11-21 2019-04-19 中国航空工业集团公司洛阳电光设备研究所 一种图像实时电子消旋的fpga实现方法
CN109658337B (zh) * 2018-11-21 2023-03-24 中国航空工业集团公司洛阳电光设备研究所 一种图像实时电子消旋的fpga实现方法
CN111369446A (zh) * 2018-12-26 2020-07-03 杭州海康威视数字技术股份有限公司 一种图像旋转方法及装置
CN111369446B (zh) * 2018-12-26 2023-06-02 杭州海康威视数字技术股份有限公司 一种图像旋转方法及装置

Also Published As

Publication number Publication date
CN106791481A (zh) 2017-05-31

Similar Documents

Publication Publication Date Title
WO2018107776A1 (fr) Procédé et système de rotation de données vidéo
US8170376B2 (en) Super-resolution device and method
CN110300292B (zh) 投影畸变校正方法、装置、系统及存储介质
JP4116649B2 (ja) 高解像度化装置および方法
US9554048B2 (en) In-stream rolling shutter compensation
CN104463778B (zh) 一种全景图生成方法
WO2015165132A1 (fr) Procédé pour éliminer des pointes de bord d'image ayant une super-résolution
JP6450982B2 (ja) 構造化ステレオ
JP2012185808A (ja) 画像処理装置、画像処理方法、及びコンピュータプログラム、並びに撮像装置
JPWO2005024723A1 (ja) 画像合成システム、画像合成方法及びプログラム
JPWO2011010438A1 (ja) 視差検出装置、測距装置及び視差検出方法
JP2010237177A (ja) Mtf測定装置およびmtf測定プログラム
CN111951193B (zh) 图像的水平畸变矫正方法及水平畸变矫正装置
CN113310432A (zh) 一种基于逐像素调控的自适应条纹投影三维测量方法
US11244431B2 (en) Image processing
WO2022218210A1 (fr) Procédé et appareil de traitement d'image, système optique et support de stockage lisible par ordinateur
CN110211039B (zh) 一种图像处理方法及其装置
US11196929B2 (en) Signal processing device, imaging device, and signal processing method
TWI506567B (zh) 圖像處理裝置及其物體輪廓的提取方法
JP2008216127A (ja) 距離画像生成装置、距離画像生成方法及びプログラム
JP6317611B2 (ja) ディスプレイ表示パターン生成装置及びそのプログラム
JP2017123003A (ja) 画像処理システム、画像処理装置、画像処理方法、検査システムおよびプログラム
US8970744B2 (en) Two-dimensional lens shading correction
JP5058720B2 (ja) 映像高解像度化装置及び方法
WO2012023596A1 (fr) Système de lecture de livre et procédé de lecture de livre

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 20.11.2019)

122 Ep: pct application non-entry in european phase

Ref document number: 17880719

Country of ref document: EP

Kind code of ref document: A1