Commit Graph

  • b0e870f18c fix AE metric Cristy 2025-05-14 22:07:37 -04:00
  • acf6ddd7d9 correct NCC metric Cristy 2025-05-14 19:23:30 -04:00
  • 6a4ded4ee8 Changed argument order. Dirk Lemstra 2025-05-14 17:49:32 +02:00
  • 96205e4ccf Silence warning. Dirk Lemstra 2025-05-14 17:41:40 +02:00
  • 9085c27fd7 Enabled -Wdeclaration-after-statement in our linux and macos build (#8156) Dirk Lemstra 2025-05-14 17:40:58 +02:00
  • 509764497a correct distortion for subimage search Cristy 2025-05-13 21:06:04 -04:00
  • 2dbd0cc4f7 Added missing magick_fallthrough. Dirk Lemstra 2025-05-13 14:57:57 +02:00
  • 8449ac44e8 Code cleanup. Dirk Lemstra 2025-05-13 08:04:30 +02:00
  • 0ee0970d2a Added missing check for the pixel mask that should be used when reading the dds file (#8146). Dirk Lemstra 2025-05-13 08:02:23 +02:00
  • 4ded0a0903 NCC (DPC, PHASE) should only get a warning for constant color images Cristy 2025-05-12 21:51:14 -04:00
  • 7b3f763116 should only get a warning for constant color images Cristy 2025-05-12 21:42:24 -04:00
  • 2fce5f1f12 return correct location for NCC + SSIM metrics Cristy 2025-05-12 21:39:50 -04:00
  • 56bb476da0 fix PSNR metric Cristy 2025-05-12 20:53:06 -04:00
  • eb441e7b41 normalize PHASH metric Cristy 2025-05-12 20:39:13 -04:00
  • d08c8be298 trap for no spatial equivalent Cristy 2025-05-12 19:39:13 -04:00
  • 38631605e6 Added missing return. Dirk Lemstra 2025-05-12 22:23:48 +02:00
  • 86e92e9445 don't thread similarity check Cristy 2025-05-11 21:58:13 -04:00
  • 8d6d6cea6d PHASH similarity is minimum not maximum Cristy 2025-05-11 19:55:13 -04:00
  • e37053839f adjust similarity metric algorithm Cristy 2025-05-11 18:58:35 -04:00
  • 7526af477a scale PHASH to quantum range Cristy 2025-05-11 16:33:30 -04:00
  • 50a91b5870 add xmlns SVG declaration Cristy 2025-05-11 16:02:38 -04:00
  • 4e1af8ba4c latest CSS Cristy 2025-05-11 14:17:25 -04:00
  • 2a919f924f don't scale PHASH metric Cristy 2025-05-11 11:33:23 -04:00
  • 6a684c602d add missing include dependency Cristy 2025-05-11 09:45:52 -04:00
  • 21c6fcf73a check for log10 edge cases Cristy 2025-05-11 09:20:33 -04:00
  • c62c7bcc61 AE is sensitive to fuzz Cristy 2025-05-11 07:05:39 -04:00
  • eda61104bc Code cleanup. Dirk Lemstra 2025-05-11 09:02:30 +02:00
  • 21ea09d4c0 eliminate compiler warning Cristy 2025-05-10 22:27:49 -04:00
  • 98052a704e don't compute the index channel statistics Cristy 2025-05-10 22:24:00 -04:00
  • 402f1d9395 don't compute metrix for index channel Cristy 2025-05-10 22:08:37 -04:00
  • 5143b04007 eliminate compiler warning Cristy 2025-05-10 20:20:54 -04:00
  • c5d5236730 eliminate compiler error Cristy 2025-05-10 19:55:08 -04:00
  • f29fedcd61 correct NCC metric Cristy 2025-05-10 19:25:24 -04:00
  • ef390c3982 eliminate compiler warning Cristy 2025-05-10 17:57:57 -04:00
  • f701589023 initialize variance Cristy 2025-05-10 17:33:39 -04:00
  • 4c17177a65 reduction is not supported in OpenMP 2.0 Cristy 2025-05-10 16:34:29 -04:00
  • d01fbcbc2f Corrected patch for MSYS2 build. Dirk Lemstra 2025-05-10 15:58:56 +02:00
  • 563c15cffc The last newline should not be included in the length of the color profile when writing a pdf file. Dirk Lemstra 2025-05-10 14:30:30 +02:00
  • b122d253b6 restore parallelism when computing simularity Cristy 2025-05-10 08:06:22 -04:00
  • 4cb83da5d6 Don't use the windows specific implementation of our utility methods on MSYS2. Dirk Lemstra 2025-05-10 10:28:35 +02:00
  • 678f718aba Silence warning. Dirk Lemstra 2025-05-10 10:23:13 +02:00
  • 45eb799559 default to a depth of 32 Cristy 2025-05-09 19:10:15 -04:00
  • b3a8ebc859 Corrected offset calculation. Dirk Lemstra 2025-05-09 10:33:55 +02:00
  • 48ba5314db Revert incorrect patch. Dirk Lemstra 2025-05-09 00:01:07 +02:00
  • 1684b3ed80 Patches to fix writing PDFA files because /Device[Colorspace] is only allowed together with a color profile. Dirk Lemstra 2025-05-08 20:58:30 +02:00
  • 8632b6d01f We should always write the ID in a PDFA file. Dirk Lemstra 2025-05-08 18:59:51 +02:00
  • 345b315829 Corrected writing the PDF header that contains the version. Dirk Lemstra 2025-05-08 18:58:05 +02:00
  • 34062a2eb7 improve equal-sized image message Cristy 2025-05-07 19:32:44 -04:00
  • 498c663df0 use reduction rather than critical Cristy 2025-05-07 18:12:20 -04:00
  • 24c1df11e8 improve exception message Cristy 2025-05-07 17:03:10 -04:00
  • 4a5c86da61 Fixed build error. Dirk Lemstra 2025-05-07 18:45:35 +02:00
  • c282fe0711 cosmetic Cristy 2025-05-07 08:56:16 -04:00
  • 51d3c036e5 correct AE metric Cristy 2025-05-07 08:01:29 -04:00
  • 43c2482887 DPC and PHASE should error 1) as no spatial equivalent when frequency domain is off and 2) with constant color images Cristy 2025-05-06 20:03:05 -04:00
  • 58e34bb188 DPC requires a square image Cristy 2025-05-05 20:16:05 -04:00
  • 05d0ad65d3 Only set the bits that we need to set, this might fix the unsupported blending mode reported in #8061. Dirk Lemstra 2025-05-05 21:41:44 +02:00
  • 58d35b750f No longer increment the entropy when the value is a NaN. Dirk Lemstra 2025-05-05 18:25:28 +02:00
  • 99e5cbffdd Use log10 again instead of PerceptibleLog10. Dirk Lemstra 2025-05-05 18:10:53 +02:00
  • 36eb4e6443 Use log2 instead of PerceptibleLog10 when calculating the entropy. Dirk Lemstra 2025-05-05 18:08:53 +02:00
  • 55ce945933 Minor performance improvement of the statistics by avoiding duplicate computations. Dirk Lemstra 2025-05-05 17:41:36 +02:00
  • e46ee50410 Restored the implementation of GetImageFeatures, GetImagePerceptualHash and GetImageStatistics. Dirk Lemstra 2025-05-05 10:08:45 +02:00
  • 39ffbdab73 Removed unused file. Dirk Lemstra 2025-05-05 09:17:04 +02:00
  • 674630c8ce Corrected check. Dirk Lemstra 2025-05-05 08:20:33 +02:00
  • 3d05c79ed3 the metrics NCC, PHASE and DPC will have a perfect match score (similarity value) at 1 Cristy 2025-05-04 19:08:43 -04:00
  • dd3d29b9ae the metrics NCC, PHASE and DPC will have a perfect match score (similarity value) at 1 Cristy 2025-05-04 19:07:55 -04:00
  • 40bb4d4694 Corrected assignment of difference. Dirk Lemstra 2025-05-04 22:16:43 +02:00
  • 3bf4bbe42a PHASH should trap for equal size image for subimage-search Cristy 2025-05-04 15:36:48 -04:00
  • ba6614def8 NCC, DPC, PHASE, PHASH SHOULD NOT give an error here for equal size images with subimage-search as the images are not constant color Cristy 2025-05-04 15:20:01 -04:00
  • 51b33a1d44 optimize metric threading Cristy 2025-05-04 15:06:19 -04:00
  • ea47cdadb2 Added parenthesis to silence warning. Dirk Lemstra 2025-05-04 08:41:25 +02:00
  • e9d20d4f54 replace -nan with null Cristy 2025-05-03 18:52:44 -04:00
  • ff187dd7fa replace -nan with null Cristy 2025-05-03 18:50:09 -04:00
  • 321e2eec43 revert Cristy 2025-05-03 17:28:20 -04:00
  • 587484e0b3 fix PSNR metric Cristy 2025-05-03 15:17:55 -04:00
  • d1fe32ad85 fix -fx option to prevent divide by zero Cristy 2025-05-03 12:11:46 -04:00
  • 229fa96a98 Added extra checks to make sure we don't get stuck in the while loop. Dirk Lemstra 2025-05-02 18:33:17 +02:00
  • 97e5cacc7e Also allow bmp files that have a negative height when the compression is set to BI_BITFIELDS (#8130) Dirk Lemstra 2025-05-02 17:16:16 +02:00
  • ea6e8e88e2 correct PSNR metric Cristy 2025-05-02 10:25:36 -04:00
  • f039a8eae2 reverse PSRN polarity Cristy 2025-05-02 08:24:17 -04:00
  • 31b7df3a32 use log10() directly rather than macro Cristy 2025-05-02 08:06:17 -04:00
  • 8a7495a6d9 set PSNR maximum to 120 Cristy 2025-05-01 21:42:53 -04:00
  • a49dbf5295 set maximum PSNR to 216.3 for 16-bit images Cristy 2025-05-01 20:05:01 -04:00
  • bbb5192c0c convert nan & inf to null for JSON format Cristy 2025-05-01 19:31:07 -04:00
  • 95333f3624 don't account for edge cases Cristy 2025-05-01 14:03:56 -04:00
  • c09944c595 fix PSNR metric Cristy 2025-04-29 21:29:31 -04:00
  • 16f6e0d444 clip MSE when computing PSNR Cristy 2025-04-29 21:02:11 -04:00
  • 7e3f3ae3db Make sure we only return 1 when the docs don't match. Dirk Lemstra 2025-04-28 17:25:36 +02:00
  • f5c8c613c7 correct PSNR normalization Cristy 2025-04-28 08:04:53 -04:00
  • 1ee9088191 normalize PSNR distortion Cristy 2025-04-27 21:48:24 -04:00
  • 53a22981d2 correct Max PSNR distortion Cristy 2025-04-27 21:33:35 -04:00
  • 309956ec6a negate correlation image for PSNR Cristy 2025-04-27 20:43:13 -04:00
  • a74836c185 correct PSNR location Cristy 2025-04-27 20:29:40 -04:00
  • 9888d284db not need for fabs() for PSNR distortion Cristy 2025-04-27 18:49:33 -04:00
  • 44730748dc max PSNR is quantum range squared Cristy 2025-04-27 18:22:35 -04:00
  • 44af979530 change PSNR define name Cristy 2025-04-27 17:41:05 -04:00
  • 30ebdc746a move PSNR define to compare.h Cristy 2025-04-27 17:40:28 -04:00
  • 6e6fa1d608 set maximum PSNR Cristy 2025-04-27 17:05:48 -04:00
  • 363a4b0647 fix max PSNR define Cristy 2025-04-27 15:28:40 -04:00
  • 417dde7d47 correct PSNR metric Cristy 2025-04-27 14:09:41 -04:00
  • f1d6259126 correct RMSE metric in the frequency domain Cristy 2025-04-27 08:11:02 -04:00