• Welcome to Photrio!
    Registration is fast and free. Join today to unlock search, see fewer ads, and access all forum features.
    Click here to sign up

QTR Correction Curve Tool for Inkjet Prints (and Negatives?)

Recent Classifieds

Forum statistics

Threads
201,108
Messages
2,819,274
Members
100,529
Latest member
VicSpectralstarSP-I
Recent bookmarks
0

Richard Boutwell

Member
Allowing Ads
Joined
Jul 21, 2003
Messages
583
Location
Philadelphia
Format
8x10 Format
I have been doing a lot of work making multi gray profiles in QTR for printing positives, but since I lost my darkroom last year I haven't had a way of testing some things I've been working on with digital negatives. I just put up an Excel template that automatically calculates a correction curve for pasting into the GRAY_CURVE= "....." line in the QTR ink Descriptor File.

You can read more about it on my site here: Dead Link Removed

I know there are things like ChartThrob, which I have used in the past, but since those rely on a scanner the results might not be as refined as what can be done with a spectrophotometer or densitometer.

I was wondering if anyone using QTR to make digital negatives could put this thing through its paces, and see if it works for creating a process correction curve. I would love it if this makes the linearization process less error prone, and the whole thing more consistent.
 

pschwart

Subscriber
Joined
Jul 15, 2005
Messages
1,147
Location
San Francisco, CA
Format
Multi Format
I have been doing a lot of work making multi gray profiles in QTR for printing positives, but since I lost my darkroom last year I haven't had a way of testing some things I've been working on with digital negatives. I just put up an Excel template that automatically calculates a correction curve for pasting into the GRAY_CURVE= "....." line in the QTR ink Descriptor File.

You can read more about it on my site here: Dead Link Removed

I know there are things like ChartThrob, which I have used in the past, but since those rely on a scanner the results might not be as refined as what can be done with a spectrophotometer or densitometer.

I was wondering if anyone using QTR to make digital negatives could put this thing through its paces, and see if it works for creating a process correction curve. I would love it if this makes the linearization process less error prone, and the whole thing more consistent.

I took a very quick look. Are requiring L*A*B measurements? That's going to be a showstopper for me and other who don't have a spectro, or whose densitometer measures only log densities. The QTR linearize routine supports LAB but it is not required. I may give it a go for carbon printing when I get some free time.

I have not tested this for creating a correction curve for printing inkjet negatives for alternative processes, but it should would for that as well—at least in theory...

Well, that's the hard part :smile: The "values not regularly increasing" error is a big problem when attempting to linearize a step tablet printed with an alt process as it is likely to require non-linear corrections to achieve linear output. In other words, the profile must already achieve close to linear output before attempting LINEARIZE as a final tweak. Inkjet prints are not as difficult since inkjet output is already very linear.
 
OP
OP
Richard Boutwell

Richard Boutwell

Member
Allowing Ads
Joined
Jul 21, 2003
Messages
583
Location
Philadelphia
Format
8x10 Format
I took a very quick look. Are requiring L*A*B measurements? That's going to be a showstopper for me and other who don't have a spectro, or whose densitometer measures only log densities. The QTR linearize routine supports LAB but it is not required. I may give it a go for carbon printing when I get some free time.

So there is a conversion formula that translates Density into LAB, and is how the QTR scripts are able to work with Density. I am working on updating the template so that it can work with Density as well. I have lots of things that go from LAB to density, but never finished creating a template with the formulas to go the other direction.

The "values not regularly increasing" error is a big problem when attempting to linearize a step tablet printed with an alt process as it is likely to require non-linear corrections to achieve linear output. In other words, the profile must already achieve close to linear output before attempting LINEARIZE as a final tweak. Inkjet prints are not as difficult since inkjet output is already very linear.

Take a look at the end of the post where I have some illustrations that have the "values not regularly increasing" error, but it is not a problem for my template. Whatever I am doing differently to create the correction curve doesn't have the same problem with out of order values that the QTR linearization program has.
 

pschwart

Subscriber
Joined
Jul 15, 2005
Messages
1,147
Location
San Francisco, CA
Format
Multi Format
I'll have to wait until your process supports log densities. I actually have a DTP41 spectro, but I don't think there is a simple way to capture LAB values.
I'd like to automate curve production, but my requirements are:
- it must be simpler and quicker than manually deriving a curve
- it must produce a curve at least as accurate as a manually derived curve. I have not encountered an automated process that didn't require manual tweaking, but that is the easy part -- a couple of manual corrections can quickly get you in the ballpark, but getting perfect ramp is still a chore.
 
OP
OP
Richard Boutwell

Richard Boutwell

Member
Allowing Ads
Joined
Jul 21, 2003
Messages
583
Location
Philadelphia
Format
8x10 Format
I'll have to wait until your process supports log densities. I actually have a DTP41 spectro, but I don't think there is a simple way to capture LAB values.
I'd like to automate curve production, but my requirements are:
- it must be simpler and quicker than manually deriving a curve
- it must produce a curve at least as accurate as a manually derived curve. I have not encountered an automated process that didn't require manual tweaking, but that is the easy part -- a couple of manual corrections can quickly get you in the ballpark, but getting perfect ramp is still a chore.

OK. Well I think I may have solved it. QTR does a Density to LAB_L conversion behind the scenes, so I needed to do the same so it could just map to what I have already done with the rest of the formulas in the sheet. The trouble was getting my brain around how to implement the Density to Lab conversion, but I tested it with some dummy data and it all seems to working just fine. The advantage here is that all the black/white point mapping and other calculations are done automatically.

This does not do any of the ink partitioning or calculate the gray value/cross over points so you will still need to find your ink limits and cross overs point and generate a raw base profile before you make a print of the 21-step target. Then just print the negative and make a print like normal and then measure and record the printed densities. As the densities are entered into the spreadsheet the behind the scenes formulas convert Density to CIEXYZ_Y then to CIELAB_L. It then generates a linear regression to find the target densities, and then the rest of the behind the scenes formulas do the automatic inverse correction curve calculations. You will still need to invert your image in photoshop before printing with the new corrected profile (although I might have an easy way to flip the quad curves so you could print straight from the positive). You could also then use a second set of density measurements from the print, and put them in the Linearize= line. Ideally it would get rid of the "not constantly increasing" error...

I will get it polished posted as soon as I can.
 
OP
OP
Richard Boutwell

Richard Boutwell

Member
Allowing Ads
Joined
Jul 21, 2003
Messages
583
Location
Philadelphia
Format
8x10 Format
Here is a link to the page where you can download both versions of the QTR Gray Curve Correction tool. This is an Excel Spreadsheet template so you will need that installed on your computer to use it. Hope it is helpful.

Dead Link Removed
 

pschwart

Subscriber
Joined
Jul 15, 2005
Messages
1,147
Location
San Francisco, CA
Format
Multi Format
Here is a link to the page where you can download both versions of the QTR Gray Curve Correction tool. This is an Excel Spreadsheet template so you will need that installed on your computer to use it. Hope it is helpful.

Dead Link Removed
Thanks Richard. I will try this. I opened the spreadsheet using Oracle Office and it's showing 10 digits of precision in the density cells, and even more in the gray_curve cell. I think you will want to update this to round off these values :smile: The curves for ideal densities and the correction curve would be much more useful if the graphs displayed a grid and labels for the X and Y axes.
 
OP
OP
Richard Boutwell

Richard Boutwell

Member
Allowing Ads
Joined
Jul 21, 2003
Messages
583
Location
Philadelphia
Format
8x10 Format
Its good to know this will open in things other than excel, I just hope the formatting stays consistent..

More precision won't hurt anything other than making it a little hard to read, but QTR doesn't seem mind working with so many decimal places. I will try to see what I can do about clearer labels on the graphs.


Sent from my iPhone using Tapatalk
 

pschwart

Subscriber
Joined
Jul 15, 2005
Messages
1,147
Location
San Francisco, CA
Format
Multi Format
QTR doesn't seem mind working with so many decimal places.
Sent from my iPhone using Tapatalk

but humans do, and in this context there is no benefit to providing more than 2 decimal places. The density values are not a problem as these are populated directly from the densitometer or manually entered (not sure why this column is prepopulated), but when I read my 21-step wedge, the false precision added by the spreadsheet is creating a gray_curve string 393 characters long. This is way too unwieldy. The correction curve values starting at V36 are only 2 decimal places, so why not just use those values when calculating the gray curve? I can certainly edit the string before pasting into my profile, but this is a job for the computer, not the user. :D
 
OP
OP
Richard Boutwell

Richard Boutwell

Member
Allowing Ads
Joined
Jul 21, 2003
Messages
583
Location
Philadelphia
Format
8x10 Format
in this context there is no benefit to providing more than 2 decimal places.

I am not sure about that. QTR creates curves with a precision of .00001526... so where do you reach a point of diminishing return (if there is one)? I realize we aren't shooting things at Pluto here so maybe this kind of precision isn't warranted. There are lots of other factors that can cause things to go off in the printing process, but the correction curve built during the install script creates a curve with two decimal places and the results are often not exactly linear. Take a look at the graphs comparing my correction curve with the built-in QTR linearization (bottom of the post on my site). The ones with my correction curve tool are smoother than what is done with the QTR linearization method (using the exact same measurement file for each).

The density values are not a problem as these are populated directly from the densitometer or manually entered (not sure why this column is prepopulated), but when I read my 21-step wedge, the false precision added by the spreadsheet is creating a gray_curve string 393 characters long.

They are pre-populated because there would be errors all over the place if someone were to open the file for the first time. These are also the densities I used to test it and just left it in there as dummy data to show what it is supposed to look like when working.

I am not a mathematician, and I don't know where something does become a false precision. The decimal places in the curve field are based on how this is built with the different interpolation methods and conversion formulas that translates Density to LAB these are the actual results of the formula. The cells in column v36 are just formatted to show 2 places.

This is way too unwieldy. The correction curve values starting at V36 are only 2 decimal places, so why not just use those values when calculating the gray curve? I can certainly edit the string before pasting into my profile, but this is a job for the computer, not the user. :D

All you need to do is copy from the spreadsheet and paste the string into the profile, so there is really no need to edit it. What should they be rounded off to? I don't know. I did just modify it to round the correction curve to 4 decimal places (you should be able to download that from my site now). I am curious to test it and see if it is any less accurate.
 
Last edited by a moderator:

pschwart

Subscriber
Joined
Jul 15, 2005
Messages
1,147
Location
San Francisco, CA
Format
Multi Format
The ones with my correction curve tool are smoother than what is done with the QTR linearization method (using the exact same measurement file for each).
Apples and oranges -- the QTR linearize process is not the same as applying a gray curve. Sorry if I have misunderstood your tool, I thought the values you calculate are to be deployed using GRAY_CURVE. I guess there is no reason you couldn't use the same values for LINEARIZE, but I wouldn't expect these methods to have the same result. One of the problems with QTR is that it's so poorly documented, it's hard to know precisely how functions are going to behave. GRAY_CURVE seems like less of a black box to me -- it's more flexible and less likely to return obscure errors, so this is the function that I use.
I don't understand the reference to "the correction curve built during the install script." I do know that I have been able to build excellent ramps using only 2,1, or even no decimals. As a software engineer, I have never encountered programming that required 10 or 13 decimals. For me, all these numbers are untidy and just make everything hard to read.
 
OP
OP
Richard Boutwell

Richard Boutwell

Member
Allowing Ads
Joined
Jul 21, 2003
Messages
583
Location
Philadelphia
Format
8x10 Format
I'm sorry i haven't replied sooner. Things have been hectic, and I wanted to make sure I responded carefully and fully.

One of the problems with QTR is that it's so poorly documented, it's hard to know precisely how functions are going to behave. GRAY_CURVE seems like less of a black box to me -- it's more flexible and less likely to return obscure errors, so this is the function that I use.

That is why I have been testing every little aspect of QTR and have been in the process of writing a book about it. It's over 20,000 words so far, with a little bit yet to go. Over the past year and a half I've made hundreds of profiles testing different inks, papers, and profiling methods, and am breaking down each part of the process down with explanations and illustrations on what each of the settings do, and how to make the each step in profile creation process almost semi-automatic. It's meant to take the trial and error out of most of the process, and make it fast and repeatable. This tool is just part of something that I will be including with the book, and decided to make this tool available for free now because ... well, just because I am a nice guy.

The built in QTR correction curve: I've written about this before on the QTR yahoo group. If you look at the terminal window after running the install script on the Mac you will see where it generates a linearization curve with "input,output" points for each profile that contains linearization measurement data. That linearize_curve=" ... " can be can be pasted into the Gray_Curve= line and the Linearize= line can then be deleted, the profile reinstalled with the correction curve, and then linearized again. Of course, this is not possible to do on a PC, which is one of the reasons I created this tool, but if the measurements are out of order or if there are any bumps the built in qtr correction correction curve might not function properly when pasted into the Gray_Curve= line. The correction Curve Tool I created works on the same premise as the linearization curve QTR makes from the linearize= line (really, they are both linearization curves, they are just generated differently).


Apples and oranges -- the QTR linearize process is not the same as applying a gray curve.


More like granny smiths and red deliciouses. The linearization done on the initial quad values is not the same as “redrawing” the initial profile using a gray curve input, but you can use a similar kind of correction curve as the one QTR generates to make a near-linear profile without using the linearize input. You can then go on to print and measure a 2nd 21 step target and linearize with those readings.

Sorry if I have misunderstood your tool, I thought the values you calculate are to be deployed using GRAY_CURVE.

That is correct, and is only meant for use in the gray curve line. Putting them anywhere else will cause unwanted results.

I guess there is no reason you couldn't use the same values for LINEARIZE, but I wouldn't expect these methods to have the same result.

If you put the measured values from the target in the linearize= line and not the ones from the correction curve, then yes that would work, and how it is usually done. Putting the values from the correction curve into the Linearize= line would not give you what you expected.

The following two scenarios would have similar results: Create an initial profile without Gray_Curve= or Linearize= settings, and then print and measure the 21-step target. Then use those measured values in the Linearize= line and you would then create a profile that should print linear (if you don’t get a linearization error). You could also take the same measurement file/densitometer readings you put into the Linearize= line and enter them it into the spread sheet tool, copy the correction curve, and paste it into the Gray_Curve line (with NOTHING in the linearize line). The two resulting quad files should look and print similarly. That is what the last three or four illustrations in my original post show.

I do know that I have been able to build excellent ramps using only 2,1, or even no decimals. As a software engineer, I have never encountered programming that required 10 or 13 decimals. For me, all these numbers are untidy and just make everything hard to read.

I am not a software engineer, so I can't speak to what kind of precision a program needs for the thing to have good results, but rounding it off to 4 decimal places should be just fine. This is not meant to be disrespectful to you or your field. I certainly wish I had more experience in that area, rather than struggling to teach myself/relearn some fun computer maths as an adult...

Most of the work now is using 6-7 gray inks and found that if the cross over points are not found by interpolation between the two nearest values (which can cause long decimal strings) and the linearization measurements are not averaged from 4-6 readings then the resulting profiles will have bumps/reversals in smooth gradients. You can get away with estimating the cross over points and rounding off with the linearization measurements with 1-3 black inks, but adding more inks complicates things and it requires more precise settings. What I am doing is all done from measurement files and all the calculations are done automatically by a different template. I just paste the results into a text file. Since I am not really writing or typing anything during this process it doesn’t matter to me how long the decimals are; the computer is doing all the work.

All that aside, I love how we are now having a debate about decimal places. . . (Wink smile emoticon)
 
OP
OP
Richard Boutwell

Richard Boutwell

Member
Allowing Ads
Joined
Jul 21, 2003
Messages
583
Location
Philadelphia
Format
8x10 Format
Do mean getting it to use the 1% steps from 0-10 and 90-100? No, this will not do that for you. However, it will give you the Luminance steps of the output values for creating a correction curve in photoshop (lower right part of table at the bottom) using the 5% steps. There are two versions; one for L*ab and one for Density (which is then converted to L*ab). The second one will allow you to make densitometer readings of the 21 step target and spit out a QTR gray curve coordinates or the luminance values for creating a Photoshop ACV curve (you will need to enter those by hand though)

I tried using a tool that converted to a Yule-Nelson curve like the Witherall one, but since QTR uses L*ab, (and that is what I am doing most of my work with) I tailored it to work directly with QTR Gray_Curve format and not the photoshop correction curves.

Dead Link Removed

Hope that answers your question.
 
OP
OP
Richard Boutwell

Richard Boutwell

Member
Allowing Ads
Joined
Jul 21, 2003
Messages
583
Location
Philadelphia
Format
8x10 Format
In my original post I said I was using this spreadsheet template for creating near perfectly linear profiles for inkjet prints (positives on paper) without needing to do the standard linearization step. I thought it would work fine for digital negatives too, but I hadn't had time to test this until late last week. The original calculations used for creating the correction curve could be used for linearizing a density range when measured as transmissive densities on the negative. That will create a linear increase from film base+fog to whatever the total blocking density is of the inks, but it won't correctly linearize for whatever printing process the negatives are being used for. With that original correction curve you end up basically with the Peizography Method 3 style digital negative density range. I finally tested this last week with grade 2 Lodima contact printing paper using a 5 shade profile with a modified QTR digital negative method I have been working on.

This new template uses density measurements of patches from a print made with a digital negative using a raw QTR profile, and then creates a correction curve to print with whatever process is being used. It is somewhat similar to what others have done with chart throb, hand drawn correction curves, and the linearization function built into QTR. This new spreadsheet should be easier to work for people with densitometers and should be less error prone. This allows you to just copy and paste the curve coordinates into the ink descriptor file and not mess with creating curves in photoshop or embedding them in the profile. It also allows you to do a second round of linearization after dialing in the final chemistry mix and exposure times (in my testing they did seem to change slightly—but were still perfectly useable as is). My darkroom for testing this with platinum is still on the basement floor, but I hope to have it up and running by the end of the year.

Here is the link to the new template. Please let me know if it works out for you.
 
Photrio.com contains affiliate links to products. We may receive a commission for purchases made through these links.
To read our full affiliate disclosure statement please click Here.

PHOTRIO PARTNERS EQUALLY FUNDING OUR COMMUNITY:



Ilford ADOX Freestyle Photographic Stearman Press Weldon Color Lab Blue Moon Camera & Machine
Top Bottom