(self, clip, final_width, final_height)
| 247 | # Original idea by Chibi_goku http://recensubshq.forumfree.it/?t=64839203 |
| 248 | # Vapoursynth port by MonoS @github: https://github.com/MonoS/VS-MaskDetail |
| 249 | def mask_detail(self, clip, final_width, final_height): |
| 250 | temp = self.scaler.descaler(clip, final_width, final_height) |
| 251 | temp = self.scaler.upscaler(temp, clip.width, clip.height) |
| 252 | mask = core.std.Expr([clip, temp], 'x y - abs dup 0.015 > swap 16 * 0 ?').std.Inflate() |
| 253 | mask = _DefineScaler(kernel="spline36").upscaler(mask, final_width, final_height) |
| 254 | |
| 255 | return mask |
| 256 | |
| 257 | def save_images(self, src_luma32): |
| 258 | src = src_luma32 |
no test coverage detected