aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/lib/ssim
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2018-03-08 14:56:02 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-03-08 14:59:52 -0800
commitb592a8295aac0fdfffc2aa55695924e53e90bba7 (patch)
tree0d62a74b40a6599318911555f089242531f85b41 /tensorflow/core/lib/ssim
parent04d33df3058a9e172659cb6ba9e5bc8f1412ec42 (diff)
Add SSIM and PSNR functions to tf.image.
Add the following functions: - tf.image.psnr() - tf.image.ssim() - tf.image.ssim_multiscale() - tf.image.sobel_edges() - tf.image.image_gradients() Add test images in tensorflow/core/lib/ssim/testdata, .../psnr/testdata. Fulfills request for SSIM, fixes #15370. PiperOrigin-RevId: 188394631
Diffstat (limited to 'tensorflow/core/lib/ssim')
-rw-r--r--tensorflow/core/lib/ssim/testdata/checkerboard1.pngbin0 -> 773 bytes
-rw-r--r--tensorflow/core/lib/ssim/testdata/checkerboard2.pngbin0 -> 3121 bytes
-rw-r--r--tensorflow/core/lib/ssim/testdata/checkerboard3.pngbin0 -> 4546 bytes
3 files changed, 0 insertions, 0 deletions
diff --git a/tensorflow/core/lib/ssim/testdata/checkerboard1.png b/tensorflow/core/lib/ssim/testdata/checkerboard1.png
new file mode 100644
index 0000000000..6ede4395e2
--- /dev/null
+++ b/tensorflow/core/lib/ssim/testdata/checkerboard1.png
Binary files differ
diff --git a/tensorflow/core/lib/ssim/testdata/checkerboard2.png b/tensorflow/core/lib/ssim/testdata/checkerboard2.png
new file mode 100644
index 0000000000..baaa432290
--- /dev/null
+++ b/tensorflow/core/lib/ssim/testdata/checkerboard2.png
Binary files differ
diff --git a/tensorflow/core/lib/ssim/testdata/checkerboard3.png b/tensorflow/core/lib/ssim/testdata/checkerboard3.png
new file mode 100644
index 0000000000..95fa3bbb3e
--- /dev/null
+++ b/tensorflow/core/lib/ssim/testdata/checkerboard3.png
Binary files differ