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. |
22nd November 2017, 09:49 | #1 | Link |
Registered User
Join Date: Nov 2017
Location: Russia, Nizhny Novgorod
Posts: 25
|
Is there a WYSIWYG tool for a SmoothCurve?
Hi, All!
There is such an avisynth-plugin for adjusting YUV color space - SmoothCurve, part of SmoothAdjust plug-in written by LaTo. I tried using the YUV Curve tool (Edius, see screenshot), I set the control points, then I transfer them in the form of coordinates in SmoothCurve. But this is not very convenient, because YUV Curve by Edius does not allow fine-tuning to correct the spoiled color (for example, the daytime sky has a purple hue, but not grayish or bluish) - too small a scale for adjusting Y, U, V channels. Is there a convenient WYSIWYG tool for SmoothCurve in nature? Thank you for attention. (Sorry for my bad English) Last edited by silverwing; 22nd November 2017 at 12:33. Reason: Too large screenshot |
22nd November 2017, 10:01 | #2 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
No idea about Smoothcurve, LaTo sources are closed and so not easy to create any kind of grapher.
Perhaps of use:- https://forum.doom9.org/showthread.p...ight=Coloryuv2 https://forum.doom9.org/showthread.p...light=rgbadapt
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 9th June 2018 at 07:41. |
22nd November 2017, 10:22 | #3 | Link | |
Registered User
Join Date: Nov 2017
Location: Russia, Nizhny Novgorod
Posts: 25
|
Quote:
Last edited by silverwing; 22nd November 2017 at 10:51. |
|
22nd November 2017, 10:57 | #4 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Graffers and toys
http://www.mediafire.com/file/5hdnos...ers%26Toys.zip ColorYUV2 Graffer v1.0b (Bottom of page) http://www.mediafire.com/file/wq4f9y...b_21120614.zip See MediaFire in sig below this post for dll, or below http://www.mediafire.com/file/875czv...l_20120529.zip RGBAdapt: http://www.mediafire.com/file/bo4afg...3-20150617.zip Sorry, non as yet available for 64 bit.
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? |
22nd November 2017, 11:24 | #5 | Link |
Registered User
Join Date: Nov 2017
Location: Russia, Nizhny Novgorod
Posts: 25
|
Thank you for the links!
I had to guess where to find the links. Apparently the Russian winter is so affecting my brain. I'll try to compile ColorYUV2 to 64-bit, thanks for the source code. And such question - what version of Visual Basic did you use for COLORYUV2_GRAF.exe? When I run the program, there is an error "ComDlg32.ocx file is missing or invalid". Apparently, I will have to install (my Windows 8.1 64-bit system) Visual Basic Runtime. Last edited by silverwing; 22nd November 2017 at 11:28. |
22nd November 2017, 11:41 | #6 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
The vBasic programs are compiled with VS 6(98) VB.
Graffers&Toys.zip contains the ComDlg32.ocx, but missing from ColorYUV2_Graf_v1-0b_21120614.zip [thought is might now be standard post XP OS (I'm on XP)].
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? |
22nd November 2017, 11:47 | #7 | Link |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
This may help.
__________________
Groucho's Avisynth Stuff |
22nd November 2017, 12:02 | #8 | Link |
Registered User
Join Date: Nov 2017
Location: Russia, Nizhny Novgorod
Posts: 25
|
Thanks again!
I found a link to VB Runtime (maybe someone will come in handy). OK. The program started without errors. Does it work only with BMP? Do I need to cut a bitmap from the video? Groucho2004, maybe you compile ColorYUV2 to 64-bit? You make good ICL DLLs, I often use them. Last edited by silverwing; 22nd November 2017 at 12:15. |
22nd November 2017, 12:15 | #9 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
ConvertToRGB32/24(Matrix=whatever), Pick a frame, save frame as BitMap.
Choose Matrix=whatever in ColorYUV2 1.0 beta. Other graffers require rec601. I never got around to figuring out how to open AVI in VB (just a beginner). Cheers Grouchy, Ill bung that page in my VB folder for future ref. EDIT: Someone may have done a ColorYUV2 slider thing in AvsPMod (I dont use it). EDIT: Think Bernardd may have done slider thing for RgbAdapt in this thread:- https://forum.doom9.org/showthread.php?t=174411 NOTE for anyone else, Graffers and toys also contains Graffer for builtin RgbAdjust and Levels. The UK Lottery Picker/Checker exe's in Graffers & Toys, are now useless, they upped it from 49 balls to 59 balls, some time ago. (was 13.7M:1 @ 49 balls for jackpot, god knows what it is now)
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 22nd November 2017 at 12:59. |
22nd November 2017, 12:36 | #10 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Quick test,with defaults.
Code:
ImageSource("YUV_Curve_tool1.jpg",end=0) Crop(155,0,426,-472) A=GamMac StackVertical(Last,A) GamMac:- https://forum.doom9.org/showthread.p...ghlight=Gammac
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 9th June 2018 at 07:48. |
22nd November 2017, 13:04 | #11 | Link | |
Registered User
Join Date: Nov 2017
Location: Russia, Nizhny Novgorod
Posts: 25
|
Quote:
I find it inconvenient because it requires a double conversion - ConvertToRGB and ConvertToYV12, which means the loss of color detail on old video sources with distorted color (DVD). Why do I say that? Because I'm paranoid and therefore I try not to use resize source material, but only OverCrop or UnderCrop with mod8. By the way, what would you advise from the least simple? Maybe overlay mask to unpurple daytime sky and people's faces? Of course in YUV-colorspace. Last edited by silverwing; 22nd November 2017 at 13:11. |
|
22nd November 2017, 13:17 | #12 | Link | |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
I'm no expert (crap really) at color correction, and would find it preferable to arrive at reasonable result even if it required double colorspace conversion,
than to arrive at less than reasonable result with no colorspace conversion. Also, if problem arose in RGB colorspace, then that is quite probably the best format to correct in (no idea if this is the case here). EDIT: By the way, think Groucho2004 did a 64 bit version GamMac in his Groucho Avisynth Stuff thread. EDIT: Quote:
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 22nd November 2017 at 15:51. |
|
22nd November 2017, 14:05 | #14 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
GamMac self adjusts at every frame, so if problem changeable in nature then not such a bad thing, (like when indoors compared with image above).
At least give it a try before you decide. EDIT: If trying GamMac, and YUV histogram partially outside of 16->235 TV Levels, then use Matrix="PC.601" or "PC.709", GamMac should correct either without problem. NOTE, default OMin=5, OMax=250, to give a little head/foot room for [EDIT: further] manual edit, set 0,255 if further edit not required. EDIT: I did start a YUV version of GamMac quite some time ago, results were promising, got to get back to it one day when I have time. Would likely be a completely separate plug, as args likely a lot different.
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 22nd November 2017 at 15:56. |
22nd November 2017, 16:08 | #15 | Link | |
Registered User
Join Date: Nov 2017
Location: Russia, Nizhny Novgorod
Posts: 25
|
StainlessS, thanks for the exhaustive answer. With pleasure I will treat you to my fruit wine (hand made).
P.S. GamMac very-very slow even on my fast workstation, given that it is necessary to build structures: Quote:
|
|
22nd November 2017, 16:55 | #16 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
What !!!, you calling me a 'fruit'. We have rules about such accusations against member on site, you naughty boy/girl
Suggest maybe Code:
# GamMac handles pixels individially, interlacing does not really matter, unless alternate field alters histogram drastically. AssumeTFF().ConvertToRGB24(Interlaced=True) # Matrix=Whatever GamMac(Show=false) # + other args Return ConvertToYV12(Interlaced=True) # Matrix=Whatever
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 22nd November 2017 at 17:13. |
22nd November 2017, 19:51 | #17 | Link |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
I added it to my Avisynth Stuff.
__________________
Groucho's Avisynth Stuff |
22nd November 2017, 23:25 | #18 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Mucho Grassy Ass my Hispanic Friend, we loves you
EDIT: @ G2K4 EDIT: OK, forgot, bit pissed, I meant Germanic friend. EDIT: Something like,:- es tut mir leit.
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 22nd November 2017 at 23:31. |
22nd November 2017, 23:35 | #19 | Link | |
Registered User
Join Date: Nov 2017
Location: Russia, Nizhny Novgorod
Posts: 25
|
Thank you!
Quote:
As for the GamMac, I'll try, thanks! |
|
22nd November 2017, 23:45 | #20 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
No Really, forgive my bad English. I have nothing to forgive, I'm was just jesting.
And a very warm welcome to the forum, please enjoy your stay.
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? |
Tags |
avisynth, smoothcurve, wysiwyg |
|
|