MT_histogram_regularization.hpp 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. // This file is part of HDRip.
  2. //
  3. // HDRip is free software: you can redistribute it and/or modify it
  4. // under the terms of the GNU General Public License as published by
  5. // the Free Software Foundation, either version 3 of the License, or
  6. // (at your option) any later version.
  7. //
  8. // HDRip is distributed in the hope that it will be useful, but
  9. // WITHOUT ANY WARRANTY; without even the implied warranty of
  10. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. // GNU General Public License for more details.
  12. //
  13. // You should have received a copy of the GNU General Public License
  14. // along with HDRip. If not, see <https://www.gnu.org/licenses/>.
  15. //
  16. // HDRip project
  17. // Author : Rémi Synave
  18. // Contact : remi.synave@univ-littoral.fr
  19. #ifndef MT_HISTOGRAM_REGULARIZATION__HPP
  20. #define MT_HISTOGRAM_REGULARIZATION__HPP
  21. class MT_histogram_regularization
  22. {
  23. public:
  24. float* data;
  25. unsigned int length;
  26. float* colorDataY;
  27. float* colorDataFY;
  28. MT_histogram_regularization(float* d = NULL, unsigned int l = 0, float* cy = NULL, float* cfy = NULL) :data(d), length(l), colorDataY(cy), colorDataFY(cfy) {};
  29. };
  30. #endif