View Single Post
Old 2nd February 2019, 22:26   #205  |  Link
zorr
Registered User
 
Join Date: Mar 2018
Posts: 447
Quote:
Originally Posted by Seedmanc View Post
I don't think I understand how to use the new method. I tried incorporating it into my script and thing went wrong I think, the pareto graphs look weird and the "best" results now are terribly slow and very different from anything I've gotten before.
Sorry, I should have made a better example. You don't actually need to blur anything, it was there just to demonstrate how B-SSIM score gets lower if you increase the blurring.

Replace the lines 135-146 with this and it should work.

Code:
scharr_orig = scharr(orig_yv12)
scharr_inter = scharr(inter_yv12)
FrameEvaluate(last, """
	#global ssim = SSIM_FRAME(scaled_orig, scaled_inter)
	global ssim = SSIM_FRAME(orig_yv12, inter_yv12)
	global bssim = BSSIM_MOD(scharr_orig, scharr_inter, ssim)	
	global ssim_total = ssim_total + (bssim == 1.0 ? 0.0 : bssim)		
""")
zorr is offline   Reply With Quote