Commit dc409d8
authored
[feat]IBA:demosaic add X-Trans demosaicing (#4579)
Implements X-Trans pattern demosaicing using a simple bilinear
algorithm. Adds the Xtrans pattern layout to the ImageBuf attributes in
the raw reader plugin.
I have implemented unit tests in imagebufalgo_test.cpp which cover all
permutations of the Bayer and X-Trans layouts, as the X-Trans pattern is
a bit too complicated to generate using oiiotool.
---------
Signed-off-by: Anton Dukhovnikov <antond@wetafx.co.nz>1 parent 3baab41 commit dc409d8
7 files changed
Lines changed: 1181 additions & 226 deletions
File tree
- src
- doc
- include/OpenImageIO
- libOpenImageIO
- raw.imageio
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4212 | 4212 | | |
4213 | 4213 | | |
4214 | 4214 | | |
4215 | | - | |
| 4215 | + | |
4216 | 4216 | | |
4217 | | - | |
4218 | | - | |
| 4217 | + | |
| 4218 | + | |
4219 | 4219 | | |
4220 | | - | |
4221 | | - | |
| 4220 | + | |
| 4221 | + | |
| 4222 | + | |
| 4223 | + | |
| 4224 | + | |
| 4225 | + | |
4222 | 4226 | | |
4223 | 4227 | | |
4224 | 4228 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3701 | 3701 | | |
3702 | 3702 | | |
3703 | 3703 | | |
3704 | | - | |
| 3704 | + | |
3705 | 3705 | | |
3706 | | - | |
| 3706 | + | |
| 3707 | + | |
3707 | 3708 | | |
3708 | 3709 | | |
3709 | 3710 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2164 | 2164 | | |
2165 | 2165 | | |
2166 | 2166 | | |
2167 | | - | |
| 2167 | + | |
| 2168 | + | |
| 2169 | + | |
2168 | 2170 | | |
2169 | 2171 | | |
2170 | 2172 | | |
| |||
2174 | 2176 | | |
2175 | 2177 | | |
2176 | 2178 | | |
2177 | | - | |
| 2179 | + | |
| 2180 | + | |
| 2181 | + | |
| 2182 | + | |
2178 | 2183 | | |
2179 | 2184 | | |
2180 | 2185 | | |
2181 | | - | |
| 2186 | + | |
2182 | 2187 | | |
2183 | 2188 | | |
2184 | 2189 | | |
| |||
0 commit comments