Sounds really good. I would offer to be a beta tester if I were further along in my own personal scanning project. (ask me in 3-4 monthsThere was a thread here a few months back about using SilverFast as a sort of poor man's densitometer, which linked to these very helpful pages:
How to make linear scans with SilverFast 8.8: https://www.sebastian-schlueter.com/blog/2017/2/10/how-to-make-a-linear-scan-with-silverfast-88
Using a scanner as densitometer: https://sites.google.com/site/negfix/scan_dens
Using these tutorials I now have high quality 16-bit linear HDR scans of my negatives, and know how to manually compute the density of a given area of the image.
However I'd like to take this a step further by creating an automated process to calculate (roughly?) the density range of a given linear scan of a negative, so that ideally I can take a pile of scans and easily identify which of them are the highest in contrast (to make the best subjects for alt-process printing which requires a DR of say >1.6).
I was a software engineer in a past life so I have the technical skills to pull this off using a toolkit like ImageMagick, but what I don't know is the best conceptual method for doing so. Here is what I have currently, in pseudo-code:
- Crop to 98% horizontal and vertical (to eliminate any film border I might've left in when cropping the prescan)
- Resize image to 1% (reduce to a manageable number of pixels)
- Calculate histogram of unique greyscale values (still in 16-bit, so essentially return the 1-65535 value of each pixel)
- Parse result, put in numeric order
- For the max and min values, take the log10 of (65535/X) to derive Dmax and Dmin, then take the difference as DR
This seems to "work" as far as it goes, and clearly lets me identify more-contrasty negs, but I have no idea how accurate my derived "density range" is compared to what a real densitometer would generate. The fuzziest part seems to be in deciding how big of an area to sample - is the average value of each 1% block of the image a reasonable approximation? I've also played around with using smaller sample sizes but then throwing out a few values on either end of the spectrum because they seemed to throw off calculations pretty badly.
I recognize it may not be possible to get an exact value but is there anything I could be doing better to get an approximation useful enough to determine suitability for different types of printing methods?
Epsonscan also has a densitometer reading. I've never used it so I don't know how accurate and effective it is. Maybe someone else has and can give some details.
How would that tool help me in scanning?This tool tells the R-G-B values of the scan, but those values are not the the sensitometric density in the negative. Anyway if you scan a density wedge with the film then you may locate what patch is close to the spot in the negative.
Silverfast also has a similar tool:
View attachment 249244
How would that tool help me in scanning?
Doesn't checking the histogram accomplish the same thing? Why would you want to look at specific pixels when you have the histogram?It your 16 bits/channel scan takes all the histogram and later you adjust curves in Photoshot, then it is not useful.
Instead, if you craft yor image directly in the scanner software, by adjusting clip levels and curve with it... then you may read the values of the pixels in your image to know if you are clipping highlight or shadow detail, for example.
Personally I do not use much those tools, as I work all images with Photoshot, it may bve useful with images in wjhat you not want to waste much effort on them, and you want just to obtain some decent final image from the scanner sorftware, not wnating to edit later with Ps, etc.
Doesn't checking the histogram accomplish the same thing? Why would you want to look at specific pixels when you have the histogram?
Are you asking essentially how to verify that your process gives the same or similar results to a densitometer? Sorry for being obvious, but how about comparing with a known-good instrument?
How do you allow clipping in specific areas?Not the same, with the "Densitometer tool" you check particular areas in the frame to see what reading you have there. May be you want to allow clipping in certain areas of the scene but not in others.
How do you allow clipping in specific areas?
Yes, that's exactly the goal, and I should have made that clearer: the whole point here is to avoid shelling out for a densitometer if I can help it.But the suggestion to use a step wedge as a source of truth is well-taken, and that's a small investment I don't mind making for meaningful calibration. Thanks for the additional advice as well! I'll absolutely post the script on GitHub and link here once I'm confident in the results.
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?