Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: normalize cleanup #3963

Merged
merged 1 commit into from
Aug 31, 2023
Merged

Conversation

lgritz
Copy link
Collaborator

@lgritz lgritz commented Aug 26, 2023

  • Add documentation for oiiotool --normalize

  • Add tests for oiiotool --normalize

  • Revamp existing normalize tests in testsuite/python-imagebofalgo: Get rid of old test images and refs, because their values were already normalized, so was probably not testing the math. Make new tests that are much smaller, 3x3 images that contain specific (non-normalized) values to verify they all get normalized corectly. They'll run a lot faster, too.

* Add documentation for oiiotool --normalize

* Add tests for oiiotool --normalize

* Revamp existing normalize tests in testsuite/python-imagebofalgo:
  Get rid of old test images and refs, because their values were
  already normalized, so was probably not testing the math.  Make new
  tests that are much smaller, 3x3 images that contain specific
  (non-normalized) values to verify they all get normalized
  corectly. They'll run a lot faster, too.

Signed-off-by: Larry Gritz <[email protected]>
@lgritz
Copy link
Collaborator Author

lgritz commented Aug 30, 2023

@ssh4net How does this look to you?

Copy link
Contributor

@ssh4net ssh4net left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For tests that you understand better than me, i trust your solution.
For rest everything looks fine.,

@lgritz lgritz merged commit 436ab6e into AcademySoftwareFoundation:master Aug 31, 2023
23 checks passed
@lgritz lgritz deleted the lg-normalize branch August 31, 2023 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants