In summary, I have added 3 new public functions in
imagebufalgo.cpp:

1. ImageBufAlgo::histogram      - compute histogram.
2. ImageBufAlgo::histogram_draw - draw histogram in ImageBuf.
3. ImageBufAlgo::histogram_text - save histogram in text file.

and one simple caller in oiiotool.cpp.

Chris, I did not make some of the changes we talked
about since a discussion will follow anyway. But I did
fix other things for which we were sure.

You can merge this Pull Request by running:

  git pull https://github.com/StefanStavrev/oiio histogram1

Or you can view, comment on it, or merge it online at:

  https://github.com/OpenImageIO/oiio/pull/397

-- Commit Summary --

* Histograms

-- File Changes --

M src/include/imagebuf.h (2)
M src/include/imagebufalgo.h (44)
M src/libOpenImageIO/imagebufalgo.cpp (111)
M src/oiiotool/oiiotool.cpp (71)

-- Patch Links --

  https://github.com/OpenImageIO/oiio/pull/397.patch
  https://github.com/OpenImageIO/oiio/pull/397.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenImageIO/oiio/pull/397
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to