Questions tagged [ssim]

The structural similarity (SSIM) index is a method for measuring the similarity between two images

https://en.wikipedia.org/wiki/Structural_similarity

82 questions
0
votes
1 answer

SSIM Coding Error

I have some questions. I try to follow some coding from Mathworks: I = imread('cameraman.tif'); ssimValues = zeros(1,10); qualityFactor = 10:10:100; for i = 1:10 imwrite(I,'compressedImage.jpg','jpg','quality',qualityFactor(i)); …
0
votes
1 answer

How do I use built-in MATLAB functions?

MATLAB has lots of built-in functions that I can call, such as "sin" and "norm." However, some of MATLAB's built-in functions are part of different libraries that I cannot access directly. For example, the function "ssim" is part of MATLAB's image…
Rainmaker
  • 1,181
  • 2
  • 11
  • 11
0
votes
1 answer

how to random dc?

i want to make an image scrambling using DCT in matlab. i used a grayscale image. i want to random dc with random value. how to set the DC coefficient of each block to a random value 0-255 and leave all others??these are steps for experiment:Divide…
theeya
  • 3
  • 2
-1
votes
0 answers

Use SSIM to calculate diff of two video frames

I'm trying to use SSIM to find differences between two images (from a camera, so view is fixed). But while the two images are almost identical except some small light changes, it shows tons of differences. My impression was SSIM would be more robust…
Tina J
  • 4,983
  • 13
  • 59
  • 125
-1
votes
1 answer

Compare Different Images Stored Inside a Dictionary

{1: [52896, 34525, 13422, 18945, 55787], 3: [66831, 32906, 44984, 18537, 51682], 6: [49239, 53087, 59521, 3221, 11184], 7: [6628, 30861, 15325, 64671, 51520], 0: [47524, 12454, 42290, 5301, 16277], 4: [48736, 6874, 49780, 25624, 25399], 2:…
-1
votes
1 answer

Python quality inspection with opencv (ssim)

I'm currently an intern at a quality inspector company. My job is to write a program that can detect faulty products (for example, missing screw). They take a picture of every single product. My idea is that I choose an image which could serve as a…
Monard
  • 425
  • 1
  • 5
  • 9
-1
votes
1 answer

MATLAB-SSIM calculating for images

I am searching a aulgorithm to find the similarity between two images, and I found SSIM, and even the codes like: function [mssim, ssim_map] = SSIM(img1, img2, K, window, L) if (size(img1) ~= size(img2)) ssim_index = -Inf; ssim_map = -Inf; …
user2753594
  • 145
  • 4
  • 15
1 2 3 4 5
6