Quote:
Originally Posted by RickS
The problem is that STF autostretch isn't a normal PI process. It doesn't modify the data at all, only how it appears on screen.
I'm sure you could do something with PixelMath but it would be a beast of an expression. If the folks on the PI Forum don't come up with a clever idea I would be happy to have a quick play around with some sample data and see what I can do (ideally with a small collection of the images that failed to conform when processed by AutoHistogram.)
The scripting interface and PixelMath are incredibly powerful but not easy to pick up if you don't have a programming background.
Cheers,
Rick.
|
Thanks for the reply Rick.
I found the parameters that Auto STF is working to (which you can see by CTRL clicking on the Auto STF button):
Shadows Clipping -2.8
Target Background 0.25
Boost Clipping factor 0.75
Boost background factor 2.00
I know that STF itself doesn't affect the data, but it's easy to take that automatically computed result and copy it to the Histogram Transformation. There are some automatic clipping options on the HT dialog but not the same as the Auto STF.
Auto Histogram which is easy to use in a batch routine on a large number of images does not have the same options as the Auto STF either, although it has some of them. I certainly cannot get quite the same result with Auto Histogram as I can with Auto STF (and Histogram Transformation).
If you can figure out a way in Pixel Math to replicate the above Auto STF parameters that would be pretty cool
Phil