MT_contrast.hpp 1.0 KB

123456789101112131415161718192021222324252627282930313233
  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_CONTRAST__HPP
  20. #define MT_CONTRAST__HPP
  21. class MT_contrast
  22. {
  23. public:
  24. float* data;
  25. unsigned int length;
  26. float coeff;
  27. MT_contrast(float* d = NULL, unsigned int l = 0, float c = 0.0) :data(d), length(l), coeff(c) {};
  28. };
  29. #endif