Advertisement
Guest User

Image.h patch for ImageMagick.NET to add some properties

a guest
May 15th, 2012
315
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.70 KB | None | 0 0
  1. Index: Image.h
  2. ===================================================================
  3. --- Image.h (revision 91402)
  4. +++ Image.h (working copy)
  5. @@ -531,7 +531,31 @@
  6.             }
  7.         }
  8.  
  9. +       property double MeanErrorPerPixel
  10. +       {
  11. +           double get()
  12. +           {
  13. +               return image->meanErrorPerPixel();
  14. +           }
  15. +       }
  16.  
  17. +       property double NormalizedMaxError
  18. +       {
  19. +           double get()
  20. +           {
  21. +               return image->normalizedMaxError();
  22. +           }
  23. +       }
  24. +
  25. +       property double NormalizedMeanError
  26. +       {
  27. +           double get()
  28. +           {
  29. +               return image->normalizedMeanError();
  30. +           }
  31. +       }
  32. +
  33. +
  34.         //----------------------------------------------------------------
  35.         // IO
  36.         //----------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement