commit | dceacb5304184a14fd80190ad61bfa886fbe8d6a | [log] [tgz] |
---|---|---|
author | Shuzhen Wang <shuzhenwang@google.com> | Tue Apr 16 11:28:08 2019 -0700 |
committer | Shuzhen Wang <shuzhenwang@google.com> | Mon Apr 22 14:36:53 2019 -0700 |
tree | 09f4858f4e984c724d4983c6514fb5a8bc33cc98 | |
parent | ac64098127785c34c866e704e46283a0cb3c7a37 [diff] |
DngCreator: Handle off-by-1 issue for DNG rects In DNG sdk, rectangle's bottom and right are exclusive. Update DngUtils to be consistent with that. Also fixed normalized optical center calculation given pixel [0, 0] is a square centered at (0.5, 0.5). Test: DngCreatorTest, and visually inspect DNG images taken Bug: 119566614 Change-Id: I73ab9327f75c24282ae14ef798fef797bb700bae