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. |
1st February 2005, 13:37 | #161 | Link |
mad computer-scientist
Join Date: Mar 2002
Posts: 1,375
|
i've started some tests
i still haven't figured out what is wrong gicocu only differes from gimp on complicated curves i'm working on finding out what exatly throws it off i'll also look into hsv if bugsbunny's vdub filter supports it we'd have a gui so i'd use his format |
1st February 2005, 23:59 | #162 | Link |
Registered User
Join Date: Nov 2003
Location: Austria
Posts: 75
|
@ E-Male:
I will use a nonstandard HSV space: Standard: S float from 0-1 (or int from 0-100%) V float from 0-1 (or int from 0-100%) H 0 from 360° I will use 0 - 255 integer values for H,S,V so I can use it with my curves interface. The conversion from RGB to HSV works fine already, the conversion back still is a bit buggy but I can already play around a bit with the curves. As soon as I got it working I can PM you the conversion code. CMYK and YUV colorspaces are already working in a test version I've put online. |
2nd February 2005, 01:20 | #163 | Link |
mad computer-scientist
Join Date: Mar 2002
Posts: 1,375
|
i think it would be nice to have an option to eitehr save the curve in the colorspace it was created in or convert it to rgb (both LUTs should be equivalent)
EDIT: i now think i was wrong with this assumption!!! i should be able to write an avisynth plug-in that reads the hsv curves in your format i'd look into writing some hsv related avisynth stuff now but still nobody has given me an explicit example of what we can do with it to achive film look so i got no idea what to work on with it Last edited by E-Male; 3rd February 2005 at 00:46. |
2nd February 2005, 04:47 | #166 | Link |
the dumbest
Join Date: Oct 2002
Location: Malvinas
Posts: 494
|
Ohh, so I didn't understand.
It was in reply to this: "but still nobody has given me an explicit example of what we can do with it to achive film look" So I started preparing a quick and dirty horrible example of how you can use this method for a correct film look. I think the method of curves and the code is available through BBugsBunny's filter. Anyway I think an HSV curve should be possible to translate into RGB curves, though I don't really know how easy or difficult it could be... |
3rd February 2005, 01:41 | #169 | Link |
the dumbest
Join Date: Oct 2002
Location: Malvinas
Posts: 494
|
Well, I know for sure I have problems understanding you.Sorry.
I made a before and after image which has a macbeth chart in it to show you what you can do thru HSV curves.If that is usefull I don't know then. |
3rd February 2005, 06:13 | #172 | Link |
mad computer-scientist
Join Date: Mar 2002
Posts: 1,375
|
i did some more testing with GiCoCU
and the problems seem to be worse than i thought EDIT: i thin ki foudn the problem i was using avisynth's spline code, which is cubic but gimp doesn't use cubic splines, it uses Catmull Rom splines i'll do some research and will update the plug-in ASAP EDIT2: possibly more good news i think i finally found the code i need ín the gimp source i might be able to have the plug-in act 100% the same Last edited by E-Male; 3rd February 2005 at 07:10. |
4th February 2005, 00:37 | #173 | Link |
Registered User
Join Date: Nov 2003
Location: Austria
Posts: 75
|
HSV support is now working in my test version of the gradation curves VirtualDub filter.
Info can be found here: http://neuron2.net/board/viewtopic.php?t=623 |
4th February 2005, 19:02 | #175 | Link |
mad computer-scientist
Join Date: Mar 2002
Posts: 1,375
|
GiCoCu
new GiCoCu, based completely on the original gimp code
seems to completely reproduce gimps handling of the curve-files http://e-rels.dyndns.org/downloads/GiCoCu.dll example: GiCoCu("c:/curves/my_curve.cur") notes: -it's "/" not "\" (i'm gonna fix that) -it's rgb24 only (rgb32 incl alpha to follow soon, more maybe later) the good: -seems to finally work correctly (looking like results by gimp itself) the bad: -not optimized in any way (yet) !!WARNING: there is no error handling, yet!! please test and report your results! a little by-product from my testing: http://e-rels.dyndns.org/downloads/GiCoCu.dll produces a color pattern that might help you testing some plug-ins needs rgb24 fed (i was to lazy to work myself into source-filters) example: colors(colorbars().converttorgb24()) Last edited by E-Male; 4th February 2005 at 19:30. |
7th February 2005, 12:05 | #177 | Link |
interlace this!
Join Date: Jun 2003
Location: i'm in ur transfers, addin noise
Posts: 4,555
|
wha? of course we're interested!
thanks for the update. i'm between a few things at the moment, but i'll play with it a little.
__________________
sucking the life out of your videos since 2004 |
7th February 2005, 14:16 | #178 | Link |
mad computer-scientist
Join Date: Mar 2002
Posts: 1,375
|
sorry, i write that in a bit of a bad mood
i just hoped that after i got back from my WE-trip that there would be some replies, after i spend quite some headdaches on this filter i again am just to impatient... |
7th February 2005, 19:29 | #180 | Link |
mad computer-scientist
Join Date: Mar 2002
Posts: 1,375
|
GiCoCu.dll - a Gimp Color Curve File reader for Avisynth
new version GiCoCu(string filename, bool alpha, bool photoshop, bool hsv) changes: -catches some errors -"\" accepted in filenames ("/" still work, too) -rgb32 support (as well as rgb24) -optional alpha channal support: if alpha = true and colorspace is rgb32 the alpha-channel of the video is processed as well default: false -amp files support (format of photoshop and bugsbunny's vdub plug-in) if photoshop = true the plug-in expects a photoshop amp-file instead of a gimp color curve file default: false -hsv support (thx to bugsbunny) if hsv = true the curves are applyed in HSV color-space (DOES NOT WORK, YET) default: false |
Thread Tools | Search this Thread |
Display Modes | |
|
|