Commit be2975c
authored
fix(IBA): reorient() cases for transpose and transverse (#5350)
Orientations 5 and 7 were swapped: case 5 produced transverse and case 7
produced transpose. Fix both cases.
This adds reorient() tests covering all 8 values to the oiiotool-xform
testsuite, and updates the python-imagebufalgo reorient() test to use
the new test image for consistency.
Also, add orientation example images to documentation.
Fixes #4661
Signed-off-by: Luna Kim <177369799+luna-y-kim@users.noreply.github.com>1 parent f17c4b4 commit be2975c
24 files changed
Lines changed: 55 additions & 28 deletions
File tree
- src
- doc
- figures
- libOpenImageIO
- testsuite
- oiiotool-xform
- ref
- src
- python-imagebufalgo
- ref
- src
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
77 | 93 | | |
78 | 94 | | |
79 | 95 | | |
| |||
83 | 99 | | |
84 | 100 | | |
85 | 101 | | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
96 | 112 | | |
97 | 113 | | |
98 | 114 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
366 | | - | |
| 366 | + | |
367 | 367 | | |
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
374 | | - | |
| 374 | + | |
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
| |||
0 commit comments