rafm
unread,Aug 13, 2009, 3:20:25 PM8/13/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pfstools
Hi Alexandre,
Durand et al. TMO is based on the bilateral filter, which splits an
image into two layers: one with smooth gradients and sharp edges (base
layer) and the other with textures and fine details (detail layer).
Then the contrast of the base layer is compressed. The range kernel
sigma decides what is the mean amplitude above which the edges are
preserved in the base layer. If you set this parameter too high, only
very high contrast edges will be preserved in the base layer, while
the other edges will be smoothed out, creating halos in the resulting
image. If you set this parameter too low, everything will end up in
the base layer and the resulting image will loose sharpness (because
base layer gets compressed).
The ideal behind this TMO is to compress large edges while preserving
small edges and the range kernel sigma gives a fuzzy threshold which
edges should be considered as large and which as small.
If I were to design a GUI, I would either hide this parameter (default
value works well for most images), or call it "preserve edges lower
than" and put it on the log scale from "small" to "large".
Cheers,
Rafal