Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Border processing bug(s) #24

Open
Zeght opened this issue May 17, 2017 · 0 comments
Open

Border processing bug(s) #24

Zeght opened this issue May 17, 2017 · 0 comments
Labels

Comments

@Zeght
Copy link

Zeght commented May 17, 2017

blank = blankclip(pixel_type="Y8", height=128, color=$888888)
blank = stackvertical(blank, blank) # stacking is necessary to reproduce, you can use Dither_convert_8_to_16() instead
c = blank.mt_lutspa(expr="x 0.5 < 235 16 ?", u=-128, v=-128)
c.KNLMeansCL(rclip=blank)

Script above returns broken frame on first request. Other frames are usually fine. Bug don't happen when running with d=0, without rclip or inside MP_Pipeline.

Another bug that may not be related: low values of ref clip cause dimmed borders:

blank = blankclip(pixel_type="Y8", height=128, color=$888888)
ref = blank.mt_lut(y=0)
blank.KNLMeansCL(rclip=ref)

Also possible to reproduce without rclip by using y=-1 and processing in 16-bit color.
Bug appears with any parameter combinations and affects more pixels with larger a

Tested on AviSynth+ r1576 and r2455

@Khanattila Khanattila added the bug label May 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants