DLPU082C August 2021 – March 2024 DLPC7540
Figure 13-4 shows a butterfly like warping use case with 4 × 3 control points on a 3840 × 2160 product resolution. For simplicity, this example uses symmetric warping and integer positions. Customers can define an asymmetric map and real number positions in fixed point 13.3 format.
Figure 13-4 Example of WarpingTable Dimension
Number of Rows : 3
Number of Columns : 4
Control Points / Source Points
Number of Horizontal Control Points : 4 (= number of columns)
Number of Vertical Control Points : 3 (= number of rows)
The following map is generated:
[0.0, 0.0] [1279.4, 0.0] [2559.6, 0.0] [3839.0, 0.0]
[0.0, 1079.0] [1279.4, 1079.0] [2559.6, 1079.0] [3839.0, 1079.0]
[0.0, 2159.0] [1279.4, 2159.0] [2559.6, 2159.0] [3839.0, 2159.0]
Following equation calculates the control points for a given DMD resolution and warp map dimension:
Xi = (DMDWidth - 1) / (NumColumns - 1) × ColumnNumber
Yi = (DMDHeight - 1) / NumRows - 1) × RowNumber
Warping Map Points
[ 0.0, 0.0] [1280.0, 200.0] [2560.0, 200.0] [3839.0, 0.0]
[200.0, 1080.0] [1280.0, 1080.0] [2560.0, 1080.0] [3640.0, 1080.0]
[ 0.0, 2159.0] [1280.0, 1960.0] [2560.0, 1960.0] [3839.0, 2159.0]
| Table Index | Floating Point Format | 13.3 Fixed Point Format |
|---|---|---|
| 0 | 0.0 | 0 |
| 1 | 0.0 | 0 |
| 2 | 1280.0 | 10240 |
| 3 | 200.0 | 1600 |
| 4 | 2560.0 | 20480 |
| 5 | 200.0 | 1600 |
| 6 | 3839.0 | 30712 |
| 7 | 0.0 | 0 |
| 8 | 200.0 | 1600 |
| 9 | 1080.0 | 8640 |
| 10 | 1280.0 | 10240 |
| 11 | 1080.0 | 8649 |
| 12 | 2560.0 | 20480 |
| 13 | 1080.0 | 8649 |
| 14 | 3640.0 | 29120 |
| 15 | 1080.0 | 8649 |
| 16 | 0.0 | 0 |
| 17 | 2159.0 | 17272 |
| 18 | 1280.0 | 10240 |
| 19 | 1960.0 | 15680 |
| 20 | 2560.0 | 20480 |
| 21 | 1960.0 | 15680 |
| 22 | 3839.0 | 30712 |
| 23 | 2159.0 | 17272 |