oilpainting.hpp 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. // This file is part of OpenCV project.
  2. // It is subject to the license terms in the LICENSE file found in the top-level directory
  3. // of this distribution and at http://opencv.org/license.html.
  4. #ifndef __OPENCV_OIL_PAINTING_HPP__
  5. #define __OPENCV_OIL_PAINTING_HPP__
  6. #include <opencv2/core.hpp>
  7. #include <opencv2/imgproc.hpp>
  8. namespace cv
  9. {
  10. namespace xphoto
  11. {
  12. //! @addtogroup xphoto
  13. //! @{
  14. /** @brief oilPainting
  15. See the book @cite Holzmann1988 for details.
  16. @param src Input three-channel or one channel image (either CV_8UC3 or CV_8UC1)
  17. @param dst Output image of the same size and type as src.
  18. @param size neighbouring size is 2-size+1
  19. @param dynRatio image is divided by dynRatio before histogram processing
  20. @param code color space conversion code(see ColorConversionCodes). Histogram will used only first plane
  21. */
  22. CV_EXPORTS_W void oilPainting(InputArray src, OutputArray dst, int size, int dynRatio, int code);
  23. /** @brief oilPainting
  24. See the book @cite Holzmann1988 for details.
  25. @param src Input three-channel or one channel image (either CV_8UC3 or CV_8UC1)
  26. @param dst Output image of the same size and type as src.
  27. @param size neighbouring size is 2-size+1
  28. @param dynRatio image is divided by dynRatio before histogram processing
  29. */
  30. CV_EXPORTS_W void oilPainting(InputArray src, OutputArray dst, int size, int dynRatio);
  31. //! @}
  32. }
  33. }
  34. #endif // __OPENCV_OIL_PAINTING_HPP__