Log in

View Full Version : SSIM and numerical variable


leon1789
20th August 2011, 15:15
Hello,

The library ssim.dll allows to see the SSIM on the video.
In an avs script, is it possible to put the SSIM evaluation in a numeric variable (type float)?

Thanks!

PS. with an other library?

poisondeathray
20th August 2011, 16:05
I'm not sure what you are asking?

you can print them in a csv file and open with any text editor or excel

or use another tool like msu vqmt

leon1789
20th August 2011, 16:24
you can print them in a csv file and open with any text editor or excel

yes, that's true, but it isn't what I want :)

I'm not sure what you are asking?

I brought a precision to my question: in avs script, can I put the SSIM evaluation in a numeric variable (type float)?

IanB
20th August 2011, 23:18
@leon1789,

Yes, but you will have to learn to use runtime scripting, i.e. scriptclip() and friends.

leon1789
21st August 2011, 09:21
@leon1789,

Yes, but you will have to learn to use runtime scripting, i.e. scriptclip() and friends.

Ok, it's not surprising (because variable not constant). And what is the command? :)

Gavino
21st August 2011, 17:02
This post suggests that the following run-time (per-frame) functions are available:
SSIM_AVG(clip a, clip b)
SSIM_Y(clip a, clip b)
SSIM_U(clip a, clip b)
SSIM_V(clip a, clip b)

See also posts #16 and #21 of the same thread for examples of use.

leon1789
21st August 2011, 18:20
Thank you for your answer.
This post suggests that the following run-time (per-frame) functions are available:
SSIM_AVG(clip a, clip b)
SSIM_Y(clip a, clip b)
SSIM_U(clip a, clip b)
SSIM_V(clip a, clip b)

See also posts #16 and #21 of the same thread for examples of use.

You're right, but the library ssim.dll (size:84 KB, date: 2005-08-17, source: http://avisynth.org/warpenterprises/ ) in my plugins doesn't exporte ssim_avg, _y, etc. but only ssim(clip a, clip b, ...) .

Perharps a more recent version of ssim.ddl, but where? :)

leon1789
23rd August 2011, 16:38
nobody can help me?

Gavino
23rd August 2011, 17:22
the library ssim.dll (size:84 KB, date: 2005-08-17, source: http://avisynth.org/warpenterprises/ ) in my plugins doesn't exporte ssim_avg, _y, etc. but only ssim(clip a, clip b, ...) .

Perharps a more recent version of ssim.ddl, but where? :)
Version 0.24 (2004-06-05) downloaded from the SSIM thread doesn't have them either, and the link in post #16 which mentioned them is dead.

Perhaps sh0dan has that version. Try a PM to him.

leon1789
24th August 2011, 16:03
Ok, thanks!