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. |
|
|
Thread Tools | Search this Thread | Display Modes |
8th September 2011, 05:31 | #121 | Link |
Registered User
Join Date: Nov 2003
Posts: 1,281
|
__________________
http://www.7-zip.org/ |
8th September 2011, 05:34 | #122 | Link | |
( ≖‿≖)
Join Date: Jul 2011
Location: BW, Germany
Posts: 380
|
Quote:
I won't do that for anything serious though since none of those downloading services are remotely as good as mediafire. (Except maybe the multiupload's own DD) I can't stand wait times and such, if I'm forced to download from such shitty hosts I'd rather not download the file at all. Edit: MEDIAFIRE IS BACK UP http://www.mediafire.com/?0sbwzrd8f0nowbw
__________________
Forget about my old .3dlut stuff, just use mpv if you want accurate color management |
|
8th September 2011, 05:37 | #123 | Link |
Registered User
Join Date: Nov 2003
Posts: 1,281
|
No worries. Looks like I successfully converted the base64 anyway.
Never heard of that before. Thanks again.
__________________
http://www.7-zip.org/ |
8th September 2011, 05:51 | #124 | Link |
Registered User
Join Date: Nov 2003
Posts: 1,281
|
Ok, something is wrong.
I used, Code:
linkicc -i Rec.709_2.35_gamma.icc -d device.icm -o output.3dl2 Code:
tag3dlut -i output.3dl2 -o output.3dlut --legacy --compression none
__________________
http://www.7-zip.org/ |
8th September 2011, 05:55 | #125 | Link | |
( ≖‿≖)
Join Date: Jul 2011
Location: BW, Germany
Posts: 380
|
Quote:
I've posted to the lcms-user mailing group in order to find out what the cause of this bug is, but in the meantime, what you can do is use the incorrect profile (re-uploaded here: http://www.mediafire.com/?9g66hzyg92jmlye) and fix the tagging manually with -7. So, basically, Code:
linkicc -i Rec.709_2.35_gamma.icc -d device.icm -o output.3dl2 Code:
tag3dlut -i output.3dl2 -o output.3dlut --legacy --compression none -7
__________________
Forget about my old .3dlut stuff, just use mpv if you want accurate color management Last edited by nand chan; 8th September 2011 at 06:00. |
|
8th September 2011, 06:00 | #126 | Link |
Registered User
Join Date: Nov 2003
Posts: 1,281
|
That fixed it.
__________________
http://www.7-zip.org/ |
8th September 2011, 06:20 | #127 | Link |
( ≖‿≖)
Join Date: Jul 2011
Location: BW, Germany
Posts: 380
|
Another comparison between the two:
http://screenshotcomparison.com/comparison/78975 (BPC) indicates black point correction, a flag which I've enabled starting version 0.11 (without BPC it's basically the same but the blacks are a tiny bit cut off, since it maps the input to a true black level which of course the LCD monitor can't actually reproduce) I haven't quite tracked down the reason why the yCMS image seems a bit brighter in general, but I'm guessing it's because of different gamma settings. Edit: yeah, it was a different gamma setting. yCMS uses a gamma of 2.2 by default, BT.709 uses 2.35. That's why the image appears slightly darker. I'll upload an sRGB comparison image in a moment.
__________________
Forget about my old .3dlut stuff, just use mpv if you want accurate color management Last edited by nand chan; 8th September 2011 at 06:38. |
8th September 2011, 06:44 | #128 | Link |
( ≖‿≖)
Join Date: Jul 2011
Location: BW, Germany
Posts: 380
|
Here is an sRGB comparison image:
http://screenshotcomparison.com/comparison/78977 And here is a 2.2 gamma BT.709 comparison image: (this should, in theory, be closest to the yCMS result) http://screenshotcomparison.com/comparison/78979 I've uploaded the 2.2 gamma profile if you want to make use of it: http://www.mediafire.com/?8svo69bqavubn4b (the same warning applies as for the last) What it boils down to: LittleCMS handles the high-sat colors better but yCMS handles the low spectrum better. I think it's time for me to create a program that can combine the two, by using LittleCMS values above a certain brightness, and yCMS values below them. Then we'll have a perfectly linear tone curve mapping that accounts for LCD inaccuracies, with the full 3D color correction of LittleCMS! Sounds like a plan? You bet it does!
__________________
Forget about my old .3dlut stuff, just use mpv if you want accurate color management Last edited by nand chan; 8th September 2011 at 07:00. |
8th September 2011, 07:14 | #129 | Link |
Registered User
Join Date: Nov 2003
Posts: 1,281
|
Getting an error from mediafire trying to download the 2.2 gamma profile.
__________________
http://www.7-zip.org/ |
8th September 2011, 09:44 | #130 | Link |
Registered User
Join Date: Aug 2011
Location: Australia
Posts: 51
|
Why not use ICC device links rather than "3dluts" ?
This may be a dumb question, but why all this messing around with .ti3 files ? They are raw device measurement information, and that leaves a lot of work in creating a device model and linking it to a input profile to create a 3D transform.
There are a bunch of tools already out there that do most of this work. ArgyllCMS has the profile creation capability, and both lcms and Argyll have device link capability. (Argyll's is probably a bit more sophisticated though). ICC device links are a standard "3dlut", so why invent some new format ? All you should have to work on for use with video is 1) Creating suitable input profiles to suite video encoding standards 2) Providing a mechanism to apply a 3Dlut and 1D curves to video in realtime using the GPU, and 3) provide a loader to load ICC device to device links + display calibration curves so the GPU code can use it. Note that the equivalent machinery (implemented as non-real time, general CPU code) exists in Argyll imdi. lcms has similar code. |
8th September 2011, 15:23 | #131 | Link | ||||||
( ≖‿≖)
Join Date: Jul 2011
Location: BW, Germany
Posts: 380
|
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
You're missing the point of the .3dlut format. The .3dlut format is not a general purpose / comprehensive “transformation” format, the point of the .3dlut format is to pre-calculate /every single value/ so you can use the result in real-time during video playback. Have you ever loaded a 1920x1080 image on a color managed application like Firefox? It takes about ~5 seconds depending on the image to apply the color correction fully, and that's without 64-bit floating point logic. Using a properly multi-threaded code (linkicc), it still takes about 10 seconds to generate a full .3dlut from ICC profiles with all of the bells and whistles (FLAG_HIGHRESPRECALC, BPC, application of 3x1D TRCs and so forth).
__________________
Forget about my old .3dlut stuff, just use mpv if you want accurate color management |
||||||
8th September 2011, 16:47 | #132 | Link | |
( ≖‿≖)
Join Date: Jul 2011
Location: BW, Germany
Posts: 380
|
Quote:
Here's what I dubbed a composite image vs yCMS: http://screenshotcomparison.com/comparison/79074 They should basically be the same in terms of appearance and black level handling, but the composite image will be, in general, a /bit/ more accurate (since it accounts for 3D errors as well). For an explanation of how the system works: http://img40.imageshack.us/img40/582...positeluma.png The areas where the screen is red means LittleCMS is being used, the areas where it's blue means yCMS is being used. Purple means they're being interpolated. The determining factor is luma, and you can adjust the cross-over point and amount of spread (interpolation) being performed. Here is a grayscale comparison: http://img823.imageshack.us/img823/7021/compvsycms.png On my monitor, I notice that yCMS's grays are slightly too blue, since it doesn't perform the 3D correction. It also shows a tiny bit more banding than the composite. I've also disabled black point compensation again since composite mode eliminates the problem.
__________________
Forget about my old .3dlut stuff, just use mpv if you want accurate color management |
|
8th September 2011, 18:17 | #133 | Link |
( ≖‿≖)
Join Date: Jul 2011
Location: BW, Germany
Posts: 380
|
Version 0.11 release
This release spotlights the addition of a new GUI program called LinkIccGUI. This GUI program serves as a front-end for the entire process from .ti3 parsing to ICC linking up to and including auto-calibration, legacy tagging, composite joining and so forth. Users who simply wish to get good color management out of the box now have a one-click solution that doesn't require any further in-depth knowledge of the system. Special note: If “auto-calibrate” is checked, you have to make sure that /no/ calibration curve is interfering with madVR. Either disable Windows color management or set your monitor to the sRGB device profile. Alternatively, you could use one of the many available tools to disable the curves (dispcalGUI, dispclut.exe, ArgyllCMS, CalibrationTester.exe and so forth). Download link: http://www.mediafire.com/?c6hlon3r1g0ohfa Changelog: Code:
Version 0.11: - IccTransform() was removed + IccSingle(String, [Intent]) added. Intent is optional and defaults to Relative. This IccSingle filter decodes between a profiles PCS and ColorSpace and can go both ways (eg. XYZ->RGB, RGB->XYZ) + IccLink(String, String, [Intent]) added - this links two profiles together and can only go one way (no PCS support) * Missing ICC profiles no longer result in a crash * Comments after LutScript lines with strings in them get filtered out properly now * Fixed a bug where tag3dlut would still mark a lut as compressed even in legacy mode (the actual output wasn't compressed, but the tag was incorrectly set) * linkicc.exe now automatically assumes the input to be BT.709 instead of detecting the primaries from the ICC profile, due to a strange issue in LittleCMS where the input tags will be completely incorrect. + New tag --auto-detect (-a) reverses this behavior [linkicc] + New program: join3dlut.exe, this program joins together two .3dl2s, switching between the two depending on the luminance of the input. + New program: LinkICCGUI.exe. This is the new preferred front-end for everything. It accepts both an .icc and a .ti3, and applies the following steps automatically: make3dlut linkicc (auto-generates a BT.709 / 2.2 profile in memory) join3dlut applycal tag3dlut The result is a fully functional v1 .3dlut ready for madVR compatibility. No further steps are needed.
__________________
Forget about my old .3dlut stuff, just use mpv if you want accurate color management |
8th September 2011, 18:49 | #134 | Link |
Registered User
Join Date: Sep 2006
Posts: 2,197
|
the whole thing still seems rather complicated to me, because I dont know what is required to start, what information or input files and where to take them from
basically, all I want to to is to create a .3dlut file for black level fixing, so changing input levels from default 0-255 to something like input range 16+X - 235+X (x= depending on how much black and/or white is off) and sometimes changing gamma a little as well which worked in ymcs like this: Code:
Output_Transfer_Function 4.5 0.099 0.45 0.018 with ycms, I only needed to put some lines into a .txt file, but how does this work with your programm?
__________________
Laptop Lenovo Legion 5 17IMH05: i5-10300H, 16 GB Ram, NVIDIA GTX 1650 Ti (+ Intel UHD 630), Windows 10 x64, madVR (x64), MPC-HC (x64), LAV Filter (x64), XySubfilter (x64) (K-lite codec pack) |
8th September 2011, 19:40 | #136 | Link | ||
( ≖‿≖)
Join Date: Jul 2011
Location: BW, Germany
Posts: 380
|
Quote:
If you still want to create a .3dlut that will map from 0-255 to 16-235, you can do that by using: Code:
gen3dlut.exe -o levels.3dl2 --range Full changedepth.exe -i levels.3dl2 --output-range Limited Quote:
Code:
merge3dlut -o result.3dl2 levels.3dl2 gamma.3dlut Ps. Alternatively, just use LutScript: Code:
!Input_Range(Full) !Output_Range(Limited) !Pixel({ LutFile("gammafixing.3dlut") })
__________________
Forget about my old .3dlut stuff, just use mpv if you want accurate color management Last edited by nand chan; 8th September 2011 at 19:43. |
||
8th September 2011, 20:43 | #137 | Link | ||
Registered User
Join Date: Sep 2006
Posts: 2,197
|
Quote:
Quote:
__________________
Laptop Lenovo Legion 5 17IMH05: i5-10300H, 16 GB Ram, NVIDIA GTX 1650 Ti (+ Intel UHD 630), Windows 10 x64, madVR (x64), MPC-HC (x64), LAV Filter (x64), XySubfilter (x64) (K-lite codec pack) |
||
8th September 2011, 22:03 | #138 | Link | ||
( ≖‿≖)
Join Date: Jul 2011
Location: BW, Germany
Posts: 380
|
Quote:
Oh well, this is why I split off the 3DL2 from 3DLUT in the first place, so I can make changes like this and modify the spec as feedback comes in, before pushing it back upstream. Quote:
It's important to note here that LutScript is just a front-end, it's basically just a script-form that wraps all of the functions that the 3dLutLib.dll exposes. So if I add some feature like YCbCr conversion, gamut mapping or gamma conversion to LutScript, it will just use the respective functions from yCMS and/or LittleCMS. Ps. If you're doing gamma correction, why not use madVR's built in function for this? Or is the application going to be something other than madVR?
__________________
Forget about my old .3dlut stuff, just use mpv if you want accurate color management Last edited by nand chan; 8th September 2011 at 22:08. |
||
8th September 2011, 22:10 | #139 | Link |
Registered User
Join Date: Sep 2006
Posts: 2,197
|
I have no clue, no clue what all these progs can go, what gamut correction even means or that madvr has a built in function for this. Ive been given that line once to change gamma and that was the only way I knew how to change this.
__________________
Laptop Lenovo Legion 5 17IMH05: i5-10300H, 16 GB Ram, NVIDIA GTX 1650 Ti (+ Intel UHD 630), Windows 10 x64, madVR (x64), MPC-HC (x64), LAV Filter (x64), XySubfilter (x64) (K-lite codec pack) |
8th September 2011, 22:11 | #140 | Link |
( ≖‿≖)
Join Date: Jul 2011
Location: BW, Germany
Posts: 380
|
Sorry, I mistyped - I meant /gamma/ correction. madVR has a built-in function for gamma correction, you can scale the input (2.2 gamma) to any pure power curve / BT.709 curve you want, eg. 2.35 or 2.0, without needing a .3dlut for the task.
__________________
Forget about my old .3dlut stuff, just use mpv if you want accurate color management |
Tags |
3dlut, argyllcms, color management, icc, madvr, ti3, ycms |
Thread Tools | Search this Thread |
Display Modes | |
|
|