Showing posts with label film scanner densitometer. Show all posts
Showing posts with label film scanner densitometer. Show all posts

Friday, 17 April 2009

Testing LS-4000 with Stouffer Stepwedge

Now that I have a LS-4000 in my home I thought I would apply some of the same testing that I have previously used on my Epson flatbed scanners. I used the FH-3 holder to hold a Stouffer Stepwedge and scanned it in sections to see how the scanner responded to levels of denisty.

I was stunned how it ran out of grunt in ability to penetrate the dark areas. I noticed how sensitive to the 'clear' area of the wedge it was so I popped a little bit of analog gain into the scan (0.8 actually). I did this to hopefully extend the dynamic range into the dark areas and bring the white areas up to begin clipping at "film base".

Cutting straight to the results it is not only not good, its actually surprisingly not good.

This is the result of a scan with 0.8 of analog gain applied to the master gain.

I have plotted a Log10 graph of the results in red (as this is how scanner responce needs to be measured for photographic purposes).

It seems to have made a strange change to the "linearity" of the scanner with a marked step occurring at about step 13.

Its strange that both parts remain more or less straight with a deviation in the middle.

Further, the 'blooming' of the scanner is apparent in the darker areas (note the small intrusion of one of the "frame" supports in the FH-3, this shows that the depth of black is not fully reached even though the ability to discern graduations is substantially impaired).



out of interest this is the result from my Epson 3200, and no blooming is evident in this.



so ... this makes the result from the Nikon particularly scary. Feel free to compare this to the results from my Epson 4990 scanner here.

Note: this effect of blooming is also apparent with x8 oversampling, so it is not just a digital noise issue.

I also thought it was worth mentioning that not only is there substantial bloom (clearly visible here) but that altering the analog gain disturbed the levels of RGB too. Looking at the RHS of this graph you can see three peaks, this is the places where Red Green and Blue have moved up towards 255 but clearly unevenly.

So, without careful profiling using the analog gain on this scanner to 'punch into dark areas' will result in strange colour shifts. I advise use with caution.

I left this section 'zoomed in' to show just how much blooming results in the transition from dark area to light area, it is significant.




Addendum

I was asked some additional quesitons about this so I have repeated the tests and included results for 0 analog gain.

NOTE: rather than wait over the weekend I've disassembled the scanner and sure enough the mirror was rather filthy. So a quick clean with windex and a cotton bud (removing the mirror of course) later and its now performing well


My method was to scan with the scale set as linear from 0 to 255, the scanner software is set to put the data into Bruce RGB, so after scanning this profile was assigned to the data to ensure that the results are correct. As the wedge is so long, I had to scan it in 3 sections. To perform this I needed to
  • insert the wedge strip into the FH-3 holder
  • disable any preview or focus on insert
  • scan each step without prescan or preview
some overlap was possible in scanning (as it is manually fed) so I can confirm that (for instance) the values of step 4 (and the clear part of the step number) were consistent from scan to scan.



The results (data first) include the stand deviation of the values in the selection swatch. Standard error is calculated as the percentage of standard deviation to the median value (not, I use median in this testing not mean).


It seems to indicate that the error is getting quite high as the values go above 13 on the stepwedge. This needs to be taken into account when assessing how effective alteration of the image with curves will effect colour accuracy or noise in shadow details. Now the graphical view




seems that the linearity step at about 13 is still there

Sunday, 5 April 2009

Epson 4990 response testing

Some time ago I tested my Epson 3200 scanner for its ability to plumb the depths of a Stouffer wedge. The reason is to understand (not guess at) how much density the scanner can cope with (meaning how much shadow detail can be recovered from slide scanning).

I scanned the wedge as a linear full range positive and then input the median values obtained from each 'patch'. That's the blue line is the scan value (255 - 0) returned, the red line is the Log10 of that.

Looking at the straight numerical levels shows that it really starts to plateau out at about 17 on the step wedge. It seems like a good result, but when compared to the much older 3200 its not that much different.


Since it is the log difference between the values that is important in film scanning I've placed them in the graph. Interestingly the 3200 actually remains linear in the log responce longer than the 4990.

I don't know if this is a good or a bad thing as film already has non-linear responses in the shoulder of the curve anyway.

Well, anyway it seems that the 4990 goes into the shadows a little better than the 3200, but despite how it seems on scanning film its not screamingly better when measured.

Friday, 3 October 2008

Epson 3200 more optimal scans

Now, normally everything goes well with easy things, but everything isn't always easy. Sometimes (as if by chance ;-) our exposures on film make scanning a breeze. Other times things work out to cause problems, other times we deliberately seek to make a challenge.

Anyway, the outcome of this experiment taught me something about both my scanner and colour negative film.

  • The scanner seems to respond differently to adjustments in the scanning software (meaning that changes in there are not only software and thus not equal to changes post scanning in Photoshop)
  • Colour negative film is much denser than I'd thought making it as challenging to work with as slide (although in an opposite area -> highlights)
So what did I do?

Recently I was working on 3 images taken for testing how Fuji Pro160S responds to over exposure. I took the shots on an bright sunny contrasty day, and was scanning them with a mind for putting them on my page on setting film exposure with a digital camera. That article also explores how film reacts to light a little as well (or densitometery using a scanner under a different name). Anyway, this image to the left was taken with my digital camera (not altering the exposure it chose) then plugging that straight into the film camera I then took 3 exposures;
  1. equal to the digital camera
  2. +1 fstop
  3. +2 fstop
I was surprised to find that not only did the shadow detail improve (expected) but that the skys continued to have tone (especially visible in viewing the negative on the lightbox). It almost looked like a regular HDRI but without the weird artifacts.

My first scans just contained washed out sky in the +2 exposure. So there was the challenge of scanning this "difficult" negative and getting all of what I could see in that scan onto my file to start working with. This proved to be a bigger test of my scanner than I had thought, and has taught me much about both colour negatives (their dye layers), my scanner and has coalesced much of what I've leant and heard about scanning in the last 10 or so years (as an amateur scanner).

In a previous post I explored the linearity of my (this) Epson 3200 flatbed scanner. In a more recent post about trying to get more optimal exposures and or scans of Negative I began talking to a fellow and in thinking about things and rescanning things I stumbled across an interesting point:

scan times varied with different settings of my scanner.

I had not noticed this before, although I had noticed that covering the calibration area on the scanner does also alter scan times. Some time ago I spent some time fiddling about with this in an effort to appreciate if this makes a difference and published my discussions here on photo.net.

As perhaps you can see (graph from my previously mentioned Blog page) covering the calibration area made little real difference to the response in the darkest areas of the negative. Sure the scanner perhaps increased exposure but as the density got higher (film got darker) the results were approaching the same. Probably the sensor was running out of sensitivity.

So, I went back to just doing things normally (not trying to fool the scanner.

It wasn't until I was testing the software NegPos. I was seeing decidedly more noise in the scans done with it than I was when I did plain "negative" scans using the Epson software to scan my negative as Negative. I thought that this warranted some exploration.

The first thing which is significant here is that NegPos software requires you do a full scale linear scan with your scanner (to make its internals maths easier), while when I scan with Epson scan I tune the the histogram in its software.

I have become sure that speckly noise in dense areas of scans of negatives is caused by scanner noise (things like the sky and clouds, which is also where "pepper grain" noise is located). However I noticed that when tuning the histogram myself I got less of this than with a full linear scan.

So, lets look at my process (and I suggest that you try to repeat theses results yourself).

The question often arises should I adjust my scan in the scanner softare or in photoshop? People argue that there should be no difference because this will result in software doing the same things just in different places.

This is only true if nothing changes about the way that the scanner obtains the data. For example proponents of vuescan will prefer to do a "linear scan" and save the raw data of that (which is essentially scanning as a positive and then inverting).

this next paragaph is complex, so you might need to read it twice:

As well, due to the I've found however that on my Epson 3200, with the driver in the Professional mode, that adjusting the sliders in the scan software further towards the dark area does make a physical change in scanning (I'm sure this will apply to 4870, 4990, V700/750 series scanners as they use the same software as far as I know).

For example a linear full range scan @ 1200 dpi of a segment of negative will take 1min 39 seconds while a histogram adjusted scan of the exact same thing at the same dpi takes just under 5 minutes.

That's nearly double the time. So I suspect that it is doing something like giving the CCD's longer exposure.

To repeat and summarize the above: I gained a change in scan time by just moving the dark slider to force the scanner to scan more of the dark area. This then may effectively be a hardware adjustment.

Lets look for some evidence to see if it may be. To cover any assumptions, below are the two different setting groups that I'm meaning with the discussion of settings. There is the all channel view and the split channel view:


On the left side is a full range linear scan, on the right is also a linear scan, but I have adjusted the individual channels to optimize what is in the range. You scan see they are still linear by the tone curve viewer (although there is much greater contrasts applied because the each cover a different range).

Note: Colour negative film is not like slide film in an important way (aside from being negative), each of the film layers reacts differently to light.

If you look at the chart to the left (which is the response curves for Fuji Pro 160S negative film) you will see that the starting point at the left is denser for blue than it is for red or green light. This is a point which confuses many (and took me some time to grasp too).

Essentially it means that if you expose a grey card as grey then the density (say, at -1 on the axis) for each channel will be different.

Don't glaze over here (as its easy to) as there is no magic to density, it just means how dark your exposed bit is on the negative. Look again at the histograms above and you will see that red is over on the right (indicating that it is not as dark) and blue is over on the left (indicating that it is dark).

So, to set your scan levels appropriate to each channel is exactly what is needed for film (and why simply scanning and inverting will look ugly and need work to fix. Scanner software does this automatically, but I have found it is far to agressive chopping off high light and shadow details.

Note 2: if you change the scanner mode to Film Type: Color Negative Film you will not get a straight line in the tone curve viewer and if you inspect the channels you'll find its more like this. Note that the location of the histograms is on the opposite end of the scale now. Also note the clipping applied (differently) to each channel.



To the left I've simply left it to defaults, to right I've used the Epson "auto exposure" tool. This is why I prefer to scan as positive and invert in photoshop later ... to avoid the software doing what I don't want it to

You can see that it is clipping some of the darker and lighter ends of the negative (probably just to make sure) and adjusting the slope on the gamma (contrast) to be quite steep and is setting different black and white points for each channel.

I could (and sometimes do) manually trim or tune these right here, but I thought that to get the maximum control over this I would scan as positve (so Gamma can remain linear) optimize the channels, and then invert and apply curves as required in my photo editor. I thought that the easiest "quick" experiment was to scan a portion of the neg in three ways:
  • full range linear scan
  • partial range linear scan (that is to reduce how far into the 'light area' I bother scanning but leaving the dark areas untouched)
  • lastly a fully "optimised" scan (where I look at setting black and white points for each R G and B colour channel separately).

To give you some idea of the differences I am seeing I've put below a screen grab of the three blue channel sections I obtained by scanning just this way.



I think you can see that there is impressively less noise in the optimised scan than the others (and the worst is the full linear scan). That there is this difference supports the theory that a scan is not a scan and that its not just the software making the difference.

This is what I got (with some playing with levels and curves myself) from my adjusted VS the Epson auto negative.


So with no effort Epsons stuff produces an OK result. But this negative had been "over esposed" by 2 stops to get better detail in the shadows (not to wash out the sky). So for me it was worth playing with this to keep that sky detail.

So if my theory is correct, and given that ColorNeg works with the full range scan its hardly surprising to find that there is some noise in the blue channel with this scanner. Compare the results of the two scans in the Blue channel:



So, for my scanner this settles the issue that setting the levels properly in the scan does make a difference. Even if I prefer the 'look' or the simplicity of the conversions that the CF software gives, I can't use it if I want to optimize my scans to keep away from the noise in the system.

So I'm comfortable with my workflow here with this scanner.

This is probably enough for most people (wait, I hear someone already crying out "No ... the short answer please!").

But ... for the gear heads among us I thought I'd try to see "why is it so". (the rest can skip reading now ;-)

Lets go back to our old friend the step wedge and see what happens when I alter the scan to make the input range from all R G and B from 0 to 50 (rather than 0 to 255).


Well, for one thing, we loose lots of data up the top there (but then that's not surprising). We can see we also loose linear responce of the sensor as its now gaining a colour cast. But what we really need to know is: is the neg denser than the scanner can penetrate? I think it isn't because when I put them both on the glass and scan them in this way I get the following.
Note that the blue spike is very marginally on the darker edge of where the darkest parts of the blue in the negative lay? This does however mean that colour negative is right on the limits of this scanner (not so for black and white negative though).

Correcting for this shift is non trivial btw, as you'll notice that the spikes are not aligned, this is much less so on a linear scan done more within the limits of the scanner.

If we measure the values of each of the known stepwedge incriments we can check how well the scanner performs optimised in this range. I've plotted this in excel taking a rectangle in the center of each of the steps and plotted this both as a value with a Log value of this (as the steps are in 1/2 stops) to check for its accurate responce. Beside this I've also plotted another graph with the percentage error for each step. This is provided by the standard deviation of the measured rectangle around the median (Photoshop does this for me) as a percentage of the value.



So as we get further past 15, the percentage error starts rising to above 20%. Meaning we can't really rely on the accuracy of the scan here (meaning increased noise). This means that we can't easily rely the points for red green and blue being where we may predict them to be. As I see it we have to balance by eye rather than algorithm. So pale blue skies and bright clouds might be available but not without some work.

Therefore just how we approach getting at the blue channel in the colour negative and how we adjust it carefully will have a large impact on the image quality and on the amount of noise in the skys.


So, now I understand more of why people say "scanning negatives is harder than scanning slides" as well as why colour negatives represent more challenge to scanners than black and white ones.

I would very much appreciate results of such explorations done on other scanners (such as Nikon or Imacon), but I expect that "drum" scanners will have far fewer troubles in this area.

:-)

Wednesday, 26 March 2008

Using Epson flatbed scanners for densitometery

In his book "Beyond the Zone system" Phil Davis outlines how to adapt a pentax spot meter to be used as a make shift densitometer (for checking negative density in understanding development and traditional enlarger printing). Well, if that can be done (and calibrated) why not use a scanner with a known (and constant) light soruce which already seems to be calibrated. I this article I explore using my Epson in just that way.

Two of the scanners I use for film scanning are Epson scanners (a 3200 and a 4870). These are not exactly cutting edge material, but then when scanning 4x5 inch sheet film maybe they don't really need to be. In terms of resolution, they do not cut the mustard (so to speak) when scanning 35mm with the intention of printing bigger than 5x7 inch prints, where a Nikon LS-40ED or LS-V ED is better, but its easy to get 1200 dpi out of them and some bureaus only provide 2400dpi for A0 sized prints anyway.

Anyway, back to the Epson. I've been interested to know just how well it really performs, so I bought a Stouffer stepwedge and scanned it to see how the scanner would perform. This is the result of a 'linear' scan with no curves applied.


Stouffer publish the data on this step wedge as:
number of steps density change density change in stops Dmax
21 0.15 1/2 3.05


The Epson scanners have a 'calibration' area at the top of the plastic film holder. This is used internally in the scanner to (I assume) to reference check the light source. I reasoned that if I covered that with something that blocked some of that light then I might be able to get better black out of it.

So, I got a bit of green OHP transparency sheet and used that to cover the scanner in a series of scans. I scanned the step wedge in the following manner:
  1. 16bit RGB scan
  2. 16bit greyscale
  3. 16bit greyscale (one sheet of green OHP transparency)
  4. 16bit greyscale (two sheets of green OHP transparency)
My results are interesting.

tablet step RGB no cover (Green channel) greyscale plain greyscale 1 sheet greyscale 2 cover
1 230 233 254 253
2 192 192 226 237
3 153 155 183 210
4 126 127 150 175
5 101 104 123 142
6 85 85 102 120
7 69 71 83 96
8 56 57 67 79
9 45 47 56 65
10 38 40 46 54
11 32 33 38 45
12 26 28 33 38
13 24 24 28 32
14 19 20 24 28
15 16 17 20 24
16 15 15 18 21
17 13 13 16 19
18 11 12 15 18
19 10 11 14 16
20 10 11 13 15
21 9 10 12 15


Here is the graphic view:

You can see that a log(10) plot (scale on the LHS is more or less linear until about step 17). The straight sample data is plotted on the RHS of the graph.

My interpretation of this is that:

1) the scanner runs out of grunt at about step 16 or 17 and only pulls the last dregs out of shadows. I don't mind this for my negatives (which are seldom so dense), but I think it makes it clear that this is not the beastie for scanning slides (especially slightly dense ones).

2) covering the calibration area yields better white point selection, with the best results (not published here) coming from using a piece of unexposed but developed film as the cover (say a section of film leader, or sacrifice a sheet of film). This has the advantage of maximizing the separation of the data and bringing up the dark end of the scale by a stop or so.

I will be keen to test my 4870 next