Convert HDR image to LDR using edge-preserving multiscale decompositions
uses one or more name-value pairs to control various aspects of the tone mapping.LDR
= tonemapfarbman(HDR
,Name,Value
)
This function uses an anisotropic diffusion filter, imdiffusefilt
, for the approximation of the weighted least squares filter, as
proposed by Farbman et al. [1]
[1] Farbman, Z., R. Fattal, D. Lischinski, and R. Szeliski. "Edge-Preserving Decompositions for Multi-Scale Tone and Detail Manipulation." ACM Transactions on Graphics. Vol. 27, Number 3, August 2008, pp. 1–10.
hdrread
| imdiffusefilt
| locallapfilt
| localtonemap
| makehdr
| tonemap