Looks like a good find for a nice workflow for you.Here's the first flat (raw) scan adjusted in Photoshop Elements 2020. The only setting was Levels Auto. What's interesting and unrelated to this discussion is that Elements corrected the colors. I could not do that in Lightroom or manually in Elements using manual Levels. Auto levels works great. MAybe a should try negative film again. Elements seems to handle it well. I'm going to have to try Aiuto adjustments in Epsonscan again to see if that corrects too. Of course, Kodak says Portra is good for scanning.
View attachment 301722
Here are four files scanned on the Epson V750. The first was saved as a 16 bit TIFF (16 in 16 out). The second was taken from the very same scan saved as a 16 bit RAW (16 in 16 out). The third (16 in 8 out) was stored as RAW from the very same scan . The forth was RAW taken from the second scan (8 in 8 out.). For the record, a TIFF file from the second scan looked like the 16 bit TIFF from the first scan and the 8 bit RAW from the second scan. I am not uploading that one because it provides no additional useful information. Note. The files uploaded are jpeg version from the original TIFF and RAW files.
View attachment 301780
View attachment 301781
View attachment 301782
View attachment 301783
The ONLY consistent explanation for the fact that the 16 bit RAW image looks different from all of the other images and that both of the 8 bit RAW images look very much like the 16 bit TIFF image is that all of the images except for the 16 bit raw were gamma encoded. That includes both 8 bit RAW files, regardless of whether they started out as 16 bit or 8 bit input. This is pretty definitive proof that 16 in 8 out RAW files are gamma encoded, no matter what Mr. Hamrick said in his communications with Adrian. Please note that Mr. Hamrick brushed Adrian off rather than giving a meaningful response to his request for final clarification.
8 bit RAW files are gamma encoded and can't be directly compared to 16 bit raw files.
I would be happy to post images of the histograms from the original TIFF and RAW files if requested, but visual inspection should be sufficient to demonstrate the point.
I believe you are right that vuescan doesn't have code to handle every combination of input and output. My guess (and it's just a guess) is that when it comes to gamma encoding for 8 bit raw scans he probably only has one method. (By the way, I'm sure you know that I am using the term "encoding" in correctly. That's not actually the correct technical term for the gamma transformation, but I guess I use it because it is more intuitive and descriptive to me.)what does it do if you perform a separate scan for each combination? I performed a separate scan for each combination on my last post, and it clearly has different results for each. Myself being a software person that has a fair amount of experience writing software, I doubt vuescan has a full input/output matrix coded up to handle every single combination of input and output the way we think it should, especially if multiple outputs, or outputs generated from previous scans are selected, and it instead defaults to some baseline in those instances, so you might not actually be getting what you think you should be getting unless you actually perform a scan with just the settings you want for one output.
might be worth doing some troubleshooting on your end to see what it does. If you don’t, at some point, when I get the time I will, however I do actually have a business to run with paid work to do, and spending time here doesn’t pay the bills.
When are we going to get to the part about whether it is better to do 8 bit scans (8 bit scan/8 bit save) or 16 bit scans (16 bit scan 16 bit save)? When you do so, please give us you definition of "better" so we know that everyone is on the same page. Thanks.
So, long story short, there's no simple answer, it depends on what you're doing.
Like so many things in life there's probably not a simple answer to the question "When?'.When are we going to get to the part about whether it is better to do 8 bit scans (8 bit scan/8 bit save) or 16 bit scans (16 bit scan 16 bit save)? When you do so, please give us you definition of "better" so we know that everyone is on the same page. Thanks.
Thank you. The decision looks pretty straightforward to me.
Given the thrust of Alan Rockwood's comments, I gather he might not agree with you in all respects, but I will await his further comments before drawing any firm conclusions about where he stands on the issue.
To date in this discussion there has not been a comparison of a linear 16 bit results to a linear 8 bit result. There has only been a comparison of a linear 16 bit result to a gamma transformed 8 bit result, And this is why a proper comparison has not yet been done.
Do some scans of scenes, preferably with a fairly dominant peak. do them in 16 to 16 tiff, 16 to 16 RAW, 16 to 8 Raw and 8 to 8 raw (can throw in an 8 bit TIFF if you want as well.) Compare both the images and the histograms. You will see that the TIFFs (whether 16 bit or 8 bit TIFFs) and the 8 bit RAWs have similar look, both in the images themselves and in their histograms, not necessarily identical, but pretty close. The outlier will be the 16 bit RAW. For the 16 bit RAW file the scene will look dark and the main peak in the histogram will be shifted left (toward black). This is exactly what is predicted if the 8 bit RAW scans are gamma encoded, and it is what I see. I have done this multiple times, and I'm very sure you will get the same resultsThen explain the results for post #201. If the 8 bit acquire save 8 bit raw were really gamma encoded as you contend, I'd expect at least the same ball park values as the 16 bit acquire save 8 bit raw as by your logic they'd both be gamma encoded. They're not even in the same ball park as each other. Not only that, but in post #168, I also provide an 8 bit scan saved as a standard 8 bit tiff, which should be gamma encoded because it's not being saved as raw, and it also has very different values than the 8 bit acquire save 8 bit raw scan as well. If the 8 bit saves (raw or otherwise) are always being gamma encoded, then why the difference?
I don't doubt that you're seeing gamma encoded results with your own scans and I don't doubt the veracity of your commitment to that position, however, I am extremely doubtful that it's happening in every instance based on my own results.
Adrian, I'm glad that we have made progress working on this more or less together, though with a few bumps in the road along the way. Good luck with the coding when you are able to work it into your schedule.Well, I'll be darned. Consider me officially brushed off by Vuescan's creator. I'm not going to beat around the bush here. It would appear that the information dispensed to me regarding Vuescan's behavior by its creator is incorrect. Kudos to @alanrockwood for sticking to his guns.
8 bit acquire, 8 bit save raw
View attachment 301840
16 bit acquire, 8 bit save raw
View attachment 301841
If Vuescan was in fact not gamma encoding 8 bit acquire and 8 bit raw save, then these two histograms should not match, but as a matter of fact, they mostly do. If I toggle between them, there's a difference down on the lower end, but I suspect that is due to the difference of less noise and more dynamic range on the 16 bit acquire.
I've also done the exercise with saving to tiff files and arrived at the same place, though there is a slight difference between 8 bit raw saves and 8 bit tiff saves due to the fact that sRGB isn't actually a straight 2.2 TRC. That being said, yes, in fact, 16 bit acquire with 16 bit raw save is not gamma encoded, it really does appear to be just a straight sensor dump to disk, so that's good.
I still would like to get some answers with regards to the wildly different noise floor levels I've seen with my own testing, but I think in the interest of this thread, that is a different subject, and maybe a different thread after I get the time to really poke around at it.
So where does that leave us?
Well, I personally don't recommend trying to determine noise and dynamic range differences between acquiring at 8 bits and acquiring at 16 bits on files that have been conformed to a color space simply because that introduces a lot of transforms to the sensor samples that can distort things, and 8 bit raw saves from 8 bit acquires appear to have the straight 2.2 gamma applied to them, so I guess I'm gonna have to write a little code to convert a 16 bit raw save to one that has a 2.2 gamma applied to it to match the 8 bit raw save from an 8 bit raw acquire, then generate a raw 16 bit save with that applied and a raw 8 bit save from an 8 bit acquire so that we can realistically do some comparisons on the noise performance of the two acquisition modes.
Well, that's that. I don't have a time frame simply because writing that code simply takes time, so it'll have to happen when I can fit it in.
I have a question that may or may not be related. Photoshop Elements converts 16 bit files into 8 bits for many of their processing adjustments. I forget which edits do that at this time. So my question is, if you scan at 16 bits, but the post-processing program edits in 8 bits, should we expect any major differences in the results?
I would scan setting the scanner for negative film scans, not as a positive film that's inverted. Would that make a difference?It depends on the nature of the edits. If it's color negative film that you scanned as a positive and you still need to invert it and fix the contrast and colors, 8 bits isn't very good for that.
I would scan setting the scanner for negative film scans, not as a positive film that's inverted. Would that make a difference?
Adrian, I'm glad that we have made progress working on this more or less together, though with a few bumps in the road along the way. Good luck with the coding when you are able to work it into your schedule.
Epsonscan when set to scan negative color film reverses the output so you get the positive image file from the scan. The first and second picture in post #198 are examples of two of these scans of 6x7 Protra negative film (same frame). The first was scanned "flat" or "raw", with no adjustments applied. I believe the V600 used a gamma of 2.2 but I could be incorrect. In the second picture, I set the black and white points at each end of the available data in the histogram. The third picture is the one in post #199 (the results of "flat" or raw scan. Then, I applied Auto Levels in Elements to this resultant scanned file. It seems to give the best results. I don;t know if the result became 8 bits or was left at 16 bits.Does it output a positive image, or is the image still a negative?
That's very interesting.+1
Interestingly, doing a very counter-intuitive acquiring at 8 bits but saving at 16 bit raw (not tiff) doesn't seem to have the same gamma applied as saving at 8 bits, so it might be possible to compare acquiring 8 bits and acquiring 16 bits if they both have 16 bit raw as the output. That would potentially save me from writing some code.
That's very interesting.
Another possibility is to use the gamma adjustment in a histogram window in an image processing program. That can be used to provide an approximate result. I don't know if it's close enough to the correct transformation form to be useful for doing the comparison at low signal levels. I have experimented with it, and it seems to be able to make a gamma transformed image look a lot like one that has not been transformed, but I could not get a perfect match to the overall appearance of an image. However, it might be worth experimenting with a bit because it could negate the need to write code, or if not it could be used as at least a rough check on code.
I think one difficulty in writing code is that you don't know what transformation vuescan does when creating an 8 bit RAW. It might be one of the ones on the list in the color tab, or it might be a proprietary one the Hamrick uses. He could probably get away with using his own proprietary one because his raw files are mostly intended to be used by his own program rather than external programs, so there is not a strong need to make it compatible with other standards used in the external world.
Epsonscan when set to scan negative color film reverses the output so you get the positive image file from the scan. The first and second picture in post #198 are examples of two of these scans of 6x7 Protra negative film (same frame). The first was scanned "flat" or "raw", with no adjustments applied. I believe the V600 used a gamma of 2.2 but I could be incorrect. In the second picture, I set the black and white points at each end of the available data in the histogram. The third picture is the one in post #199 (the results of "flat" or raw scan. Then, I applied Auto Levels in Elements to this resultant scanned file. It seems to give the best results. I don;t know if the result became 8 bits or was left at 16 bits.
OF course if you select positive scan, and scan a negative, then the resulting file will leave the negative as a negative and you would have to reverse it in post-processing. I've never tried this method.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?