Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Development
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 27th June 2015, 17:34   #181  |  Link
Khanattila
Registered User
 
Khanattila's Avatar
 
Join Date: Nov 2014
Posts: 440
Another possibility is to use mahalanobis distance but noise covariance matrix is required.
Khanattila is offline   Reply With Quote
Old 28th June 2015, 08:58   #182  |  Link
feisty2
I'm Siri
 
feisty2's Avatar
 
Join Date: Oct 2012
Location: void
Posts: 2,633
I'd just get green channel to do the weighting stuff, cuz green channel is generally the channel got the highest quality in real life images, least noisy, and got more details than RB.
feisty2 is offline   Reply With Quote
Old 28th June 2015, 13:35   #183  |  Link
feisty2
I'm Siri
 
feisty2's Avatar
 
Join Date: Oct 2012
Location: void
Posts: 2,633
request: can you add an extra reference clip option (default = input clip) to do the weighting calculation?
like "prefilter" for mvtools, you can use it to do a lot of things, like, use a blunt and aggressive filter to remove nasty artifacts like dot crawl, then get the dif between the filtered clean clip and the original noisy clip, then filter the dif with delicate filters like nlmeans, weights calculated from the clean clip, then add the dif back to the clean clip and you can remove the artifacts and save a lot of details from this

Last edited by feisty2; 28th June 2015 at 13:53.
feisty2 is offline   Reply With Quote
Old 29th June 2015, 16:01   #184  |  Link
Khanattila
Registered User
 
Khanattila's Avatar
 
Join Date: Nov 2014
Posts: 440
Quote:
Originally Posted by feisty2 View Post
request: can you add an extra reference clip option (default = input clip) to do the weighting calculation?
like "prefilter" for mvtools, you can use it to do a lot of things, like, use a blunt and aggressive filter to remove nasty artifacts like dot crawl, then get the dif between the filtered clean clip and the original noisy clip, then filter the dif with delicate filters like nlmeans, weights calculated from the clean clip, then add the dif back to the clean clip and you can remove the artifacts and save a lot of details from this
I don't know if you can get good results, but I will add this feature.
Khanattila is offline   Reply With Quote
Old 29th June 2015, 16:06   #185  |  Link
feisty2
I'm Siri
 
feisty2's Avatar
 
Join Date: Oct 2012
Location: void
Posts: 2,633
Quote:
Originally Posted by Khanattila View Post
I don't know if you can get good results, but I will add this feature.
amazing!
well, we'll have to test it first to get the answers
feisty2 is offline   Reply With Quote
Old 30th June 2015, 00:03   #186  |  Link
sl1pkn07
Pajas Mentales...
 
Join Date: Dec 2004
Location: Spanishtán
Posts: 496
Hi

EDIT3: I've open a git repo with the code and a small configure/makefile. with the patches applied and some more things

https://github.com/sl1pkn07/KNLmeansCL

greetings

Last edited by sl1pkn07; 3rd July 2015 at 23:05.
sl1pkn07 is offline   Reply With Quote
Old 4th July 2015, 16:07   #187  |  Link
GMJCZP
Registered User
 
GMJCZP's Avatar
 
Join Date: Apr 2010
Location: I have a statue in Hakodate, Japan
Posts: 744
Hello friends:

He wanted to know if there is a possibility to use this filter without a video card. I have a PC Foxconn G41MX-F 2.0 with an Intel Core 2 Duo E4400 processor with Windows XP SP3 installed, so the only way to have OpenCL was installed here:

http://www.wings3d.com/forum/showthread.php?tid=174

I installed the a) package (ATI Stream SDK v2) but get the following error message:

"opencl device not available!"

And I tried all the alternatives (DEFAULT, CPU, GPU, ACCELERATOR) and nothing.

Does the SDK package are not drivers or the correct version? What am I doing wrong? Do you simply can not use this plugin without video card? Thanks.
GMJCZP is offline   Reply With Quote
Old 4th July 2015, 16:12   #188  |  Link
feisty2
I'm Siri
 
feisty2's Avatar
 
Join Date: Oct 2012
Location: void
Posts: 2,633
remove winxp and get win10
feisty2 is offline   Reply With Quote
Old 4th July 2015, 22:46   #189  |  Link
sl1pkn07
Pajas Mentales...
 
Join Date: Dec 2004
Location: Spanishtán
Posts: 496
I tried to install 2 OpenCL vendors, one for Nvidia GPU and Intel only for CPU

http://sl1pkn07.wtf/paste/view/696b9533

when set 'device_type="CPU"', the "decoding" is slowwwwwwwww like ass ("spected", in dual Xeon X5650 (24Threads))

but when set 'device_type="GPU"', the VSpipe get segfault

[967221.403446] vspipe[8062]: segfault at 7f949359cb88 ip 00007f949359cb88 sp 00007ffd9162c448 error 15 in libc-2.21.so[7f949359c000+2000]

but when no set 'device_type=', knlmeans use the GPU.

how to debug this?

knlmeans is builded with

CXXFLAGS = -O2 -std=c++11 -Wall -Wno-unused-local-typedefs -I. -I./include -march=native -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/vapoursynth
LDFLAGS = -shared -fPIC -Wl,-O1,--sort-common,--as-needed,-z,relro

in linux with
gcc 5.1.0
ocl-icd 2.2.7 (OpenCL loader)
nvidia 352.21 beta drivers
Cuda 7.0.28
Intel OpenCL for CPU 15.1 (5.0.0.57)

Last edited by sl1pkn07; 5th July 2015 at 08:40.
sl1pkn07 is offline   Reply With Quote
Old 5th July 2015, 15:25   #190  |  Link
Khanattila
Registered User
 
Khanattila's Avatar
 
Join Date: Nov 2014
Posts: 440
Quote:
Originally Posted by GMJCZP View Post
Hello friends:

He wanted to know if there is a possibility to use this filter without a video card. I have a PC Foxconn G41MX-F 2.0 with an Intel Core 2 Duo E4400 processor with Windows XP SP3 installed, so the only way to have OpenCL was installed here:

http://www.wings3d.com/forum/showthread.php?tid=174

I installed the a) package (ATI Stream SDK v2) but get the following error message:

"opencl device not available!"

And I tried all the alternatives (DEFAULT, CPU, GPU, ACCELERATOR) and nothing.

Does the SDK package are not drivers or the correct version? What am I doing wrong? Do you simply can not use this plugin without video card? Thanks.
1) Sure. You can use it without a graphics card.
2) You should install the Intel driver: https://software.intel.com/en-us/art...opencl-drivers
Khanattila is offline   Reply With Quote
Old 5th July 2015, 15:30   #191  |  Link
Khanattila
Registered User
 
Khanattila's Avatar
 
Join Date: Nov 2014
Posts: 440
Quote:
Originally Posted by sl1pkn07 View Post
I tried to install 2 OpenCL vendors, one for Nvidia GPU and Intel only for CPU

http://sl1pkn07.wtf/paste/view/696b9533

when set 'device_type="CPU"', the "decoding" is slowwwwwwwww like ass ("spected", in dual Xeon X5650 (24Threads))

but when set 'device_type="GPU"', the VSpipe get segfault

[967221.403446] vspipe[8062]: segfault at 7f949359cb88 ip 00007f949359cb88 sp 00007ffd9162c448 error 15 in libc-2.21.so[7f949359c000+2000]

but when no set 'device_type=', knlmeans use the GPU.

how to debug this?

knlmeans is builded with

CXXFLAGS = -O2 -std=c++11 -Wall -Wno-unused-local-typedefs -I. -I./include -march=native -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/vapoursynth
LDFLAGS = -shared -fPIC -Wl,-O1,--sort-common,--as-needed,-z,relro

in linux with
gcc 5.1.0
ocl-icd 2.2.7 (OpenCL loader)
nvidia 352.21 beta drivers
Cuda 7.0.28
Intel OpenCL for CPU 15.1 (5.0.0.57)
1) Floating Point Performance: 57 Gflops (Xeon X5650) vs 2258 (GTX 760)
2) VSpipe get segfault... Maybe it's a problem in the code, I need to check.
Khanattila is offline   Reply With Quote
Old 5th July 2015, 15:39   #192  |  Link
Khanattila
Registered User
 
Khanattila's Avatar
 
Join Date: Nov 2014
Posts: 440
Quote:
Originally Posted by sl1pkn07 View Post
Hi

EDIT3: I've open a git repo with the code and a small configure/makefile. with the patches applied and some more things

https://github.com/sl1pkn07/KNLmeansCL

greetings
EDIT2. Taken. https://github.com/Khanattila/KNLMeansCL

Last edited by Khanattila; 8th July 2015 at 16:01.
Khanattila is offline   Reply With Quote
Old 6th July 2015, 01:44   #193  |  Link
GMJCZP
Registered User
 
GMJCZP's Avatar
 
Join Date: Apr 2010
Location: I have a statue in Hakodate, Japan
Posts: 744
Quote:
Originally Posted by Khanattila View Post
1) Sure. You can use it without a graphics card.
2) You should install the Intel driver: https://software.intel.com/en-us/art...opencl-drivers
Those drivers are for W7 SP1 and later, why did I mention all my PC settings and ATI package, which is supposedly the only one compatible with XP and Intel.

There will be a solution?
GMJCZP is offline   Reply With Quote
Old 6th July 2015, 02:25   #194  |  Link
Bloax
The speed of stupid
 
Bloax's Avatar
 
Join Date: Sep 2011
Posts: 317
You might want to just use the original TNLMeans instead of trying to make your CPU operate through OpenCL so that you can run an OpenCL remake of TNLMeans.
Bloax is offline   Reply With Quote
Old 6th July 2015, 08:07   #195  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by Bloax View Post
You might want to just use the original TNLMeans instead of trying to make your CPU operate through OpenCL
Indeed. On a C2D 4400 alone, KNLMeansCL and TNLMeans would probably perform about the same. TNLMeans may even have the edge.
However, all this is rather pointless because NLMeans on this CPU will be too slow for any practical use.
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline   Reply With Quote
Old 6th July 2015, 14:36   #196  |  Link
Khanattila
Registered User
 
Khanattila's Avatar
 
Join Date: Nov 2014
Posts: 440
Quote:
Originally Posted by GMJCZP View Post
Those drivers are for W7 SP1 and later, why did I mention all my PC settings and ATI package, which is supposedly the only one compatible with XP and Intel.

There will be a solution?
As suggested, you should try using the CPU. It's slow, but it should work.
Khanattila is offline   Reply With Quote
Old 7th July 2015, 13:58   #197  |  Link
GMJCZP
Registered User
 
GMJCZP's Avatar
 
Join Date: Apr 2010
Location: I have a statue in Hakodate, Japan
Posts: 744
The problems that should be happening is that the ATI package is incompatible with the plugin or too old, that is why the KNLMeans does not work for me (CPU or another mode). Thanks anyway.
GMJCZP is offline   Reply With Quote
Old 7th July 2015, 15:41   #198  |  Link
feisty2
I'm Siri
 
feisty2's Avatar
 
Join Date: Oct 2012
Location: void
Posts: 2,633
any news about "reference clip" feature?
feisty2 is offline   Reply With Quote
Old 9th July 2015, 17:34   #199  |  Link
Khanattila
Registered User
 
Khanattila's Avatar
 
Join Date: Nov 2014
Posts: 440
Quote:
Originally Posted by feisty2 View Post
any news about "reference clip" feature?
It's almost ready.
Khanattila is offline   Reply With Quote
Old 9th July 2015, 17:40   #200  |  Link
sl1pkn07
Pajas Mentales...
 
Join Date: Dec 2004
Location: Spanishtán
Posts: 496
[del]please send me your github user[/del]

oh, you forked it. then i can remove from my repository?

Last edited by sl1pkn07; 9th July 2015 at 17:42.
sl1pkn07 is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:29.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.