The documentation for Histogram transformation gives this formula
MTF(m,x) = (m-1) x
-----------
(2m-1)x - m
I have an image whose median is .5333333
If I use this formula with x = .53333 and
m = .25 (TargetBackground)
I get .774, however, if I do STF on the image it says
the midpoint is .275 (The clip is zero)
When I try this formula with a star image the
calculations work out but not for this image which is a gray gradient.
So what is STF using to get its result?