This chapter describes the MATLAB framework is presented and some basic common functions. It also describes the common routines that are used by most, but not all, tone mapping operators (TMOs). The chapter provides the MATLAB code of the logarithm mapping operator. Local operators improve the quality of the tone mapped image over global operators by attempting to reproduce both the local and the global contrast. A local operator based on photographic principles. Frequency-based/gradient domain operators have the same goal of preserving edges and local contrast as local operators. In this case, as the name implies, range compression is performed in the frequency/gradient domain instead of the spatial domain. The chapter shows how a low curvature image simplifier (LCIS) filters hierarchy works compared to a hierarchy of linear filters. A multi-scale application of LCIS filters builds a similar hierarchy by making use of a partial differential equation (PDE) inspired by anisotropic diffusion.