View Single Post
Old 1st November 2020, 16:06   #1  |  Link
anton_foy
Registered User
 
Join Date: Dec 2005
Location: Sweden
Posts: 702
FFT3dfilter double image

Hi!

However I try to use FFT3dfilter (this version FFT3dFilter-v2.6.7)
I get this double image which looks like some before-after thing and I cannot get rid of it.

http://www.imagebam.com/image/ea1d311358288345

These lines I have tried and all result in the same double image:

Code:
fft3dfilter(sigma=1.4, sharpen=0.3, plane=4, ncpu = 4)
Code:
fft3dfilter(sigma=1.4, sharpen=0.0, plane=4)
Code:
fft3dfilter(sigma=1.4, plane=4)
this is the full script:
Code:
MP_Pipeline("""

  ### Avisynth+ 3.6.1 (r3300, 3.6, I386) ###
SetFilterMTMode("DEFAULT_MT_MODE", 2)

#Index
FFVideoSource("F:\C0025.mp4")

# ### prefetch: 32, 16
### ###
### platform: Win32

SetFilterMTMode("FFVideoSource", MT_SERIALIZED)
trim(660,684)

convertbits(16)

### platform: win32
### branch 2
### ###


# DENOISE #
fft3dfilter(sigma=1.4, sharpen=0.3, plane=4, ncpu = 4)

### ###
### platform: Win32



### platform: win32
### branch 2
### ###

### platform: Win32

### ###

# UNBLOW #
clip1 = last.Levels(0, 1, 65280, 0, 235*256, coring=false, dither=false)
clipR = Levels(0, 1, 65280, 0, 235*256, coring=false, dither=false).converttorgb64().extractR()
clipG = Levels(0, 1, 65280, 0, 235*256, coring=false, dither=false).converttorgb64().extractG()
clipB = Levels(0, 1, 65280, 0, 235*256, coring=false, dither=false).converttorgb64().extractB()
RBD = clipB.Overlay(clipR, mode="darken", opacity=1.0)
GRD = clipG.Overlay(RBD, mode="darken", opacity=1.0)
umask= Greyscale().Levels(197*256, 0.76, 65280, 0, 255*256, coring=false, dither=false).fastgaussblur(20)
mt_merge(clip1, GRD, umask, Y=3, U=2, V=2, chroma="copy first", w=-1, h=-1, paramscale="i16")

### ###
### platform: Win32


# TOPSHARP #
shrp=sharpen(1.0)
vid1 = last
emask1 = vid1.mt_edge(mode="prewitt",thy1=0,thy2=65280, paramscale="i16").mt_expand(paramscale="i16").fastgaussblur(10)
result1 = mt_merge(vid1,shrp,emask1, U=2,V=2, paramscale="i16")
merge(result1)

### ###
### platform: Win32

# SOFTEN #
blr=mt_expand(paramscale="i16").Blur(1.56).Blur(1.56).Blur(1.56).Blur(1.56).Blur(1.56).Blur(1.56).Blur(1.56)
vid = last
shine = vid.Overlay(blr, mode="blend", opacity=0.9)
emask = vid.mt_edge(mode="prewitt",thy1=0,thy2=65280, paramscale="i16").mt_expand(paramscale="i16").mt_expand(paramscale="i16").mt_expand(paramscale="i16").fastgaussblur(20)
result = mt_merge(vid,shine,emask, U=2,V=2, paramscale="i16")
result

### ###
### platform: Win32

ConverttoStacked()

### ###
### platform: Win32

#Debanding
f3kdb(range=15, Y=45, Cb=30, Cr=30, grainY=0, grainC=0, sample_mode=2, blur_first=true, dynamic_grain=false, input_mode = 1, input_depth = 16, output_mode = 1, output_depth = 16, mt=true)

### ###
### platform: Win32

ConvertFromStacked()

### platform: Win32

### ###

""")

#Chroma Upscaling
ConverttoYUV444()

ConvertBits(bits=10, dither=1)
Prefetch(6)
I want to use this version because it support high bit depth. The neo_FFT3dfilter does not work with MP_Pipeline so I cannot use that. Any ideas?

Last edited by anton_foy; 1st November 2020 at 16:17.
anton_foy is offline   Reply With Quote