TMPprocess (ImageQLSI class method)
Process OPD images into temperature images.
TMPprocess
Computes a temperature image from a wavefront image.
Synthax
objT = obj.TMPprocess(Med)
objT = obj.TMPprocess(Med, Name, Value)
objListT = objList.TMPprocess(___)
[objT, GreenFunction, GreenT_z0] = objList.TMPprocess(___)
Description
obj.TMPprocess() computes the 2D temperature map associated with a wavefront distorsion. See Ref. [#ACSP10_322]_ for more detail.
Objects vectors can also be used with this method. The transformation applies then to all the objects of the vector.
The output objT is an object from the class ImageT.
This method accepts one input parameter, the variable Med from the class MediumT, defining the thermal properties of the surrounding medium (thermal conductivities and dn/dT values). It also accepts Name-value arguments, as listed below.
Optional outputs are the OPD and temperature Green’s functions. They can be reused in subsequent calls of the TMPprocess function to save computation time.
Name-value arguments
Note
Specify optional pairs of arguments as Name1 = Value1, ..., NameN = ValueN, where Name is the argument name and Value is the corresponding value. Name-value arguments must appear after other arguments, but the order of the pairs does not matter.
'g'and'loop'(default values:1and1)For large temperature increases, a non-linear algorithm is required to obtain accurate temperature increase maps, as explained in Ref.2. In that case, the
'g'and'loop'parameters must be specified. Typical values are 0.4 and 10:objT = TMPprocess(Med, 'g', 0.4, 'loop', 10);
Note that
g=1; loop=1corresponds to the linear algorithm.'alpha'(default value:1e-5)This is the Tikhonov parameter.Keeping it at 1e-5 is usually fine. Higher values tend to smooth the image, and underestimate the temperature increase. Smaller values tend to increase the noise on the temperature image.
'smoothing'(default value:0, that is no smoothing)When the OPD image is very noisy, one may want to smooth it. This can be done using the
smoothmethod of the ImageQLSI class, but also using this Name-Value argument here. If different from zero (the default value), this smoothing option applies theimgaussfiltfunction to the OPD image, the value being the parameter of the imgaussfilt function. The smaller the parameter and the stronger the smoothing.'imExpander'(default value:true)This parameter is a boolean. If set to true, it extrapolates the image over a double-size area to avoid artefacts on the boundaries of the reconstructed temperature image. This parameter is true by default, and we recommend to leave it like that, unless the temperature increase is really located at the center of the image.
'T0'Ambient temperature value, set at 22°C by default.
'zT'Height at which the temperature should be computed. 0 by default, i.e. the interface between the two media.
'GreenOPD'Specifies the OPD Green’s function, in case it has aleady been computed before, just to save computation time.
'GreenT_z0'Specifies the temperature Green’s function, in case it has aleady been computed before, just to save computation time.
'GreenT_3D'Specifies the 3D temperature Green’s function, in case it has aleady been computed before, just to save computation time.
- 1
Thermal Imaging of Nanostructures by Quantitative Optical Phase Analysis, G. Baffou et al., ACS Nano 6, 2452 (2012)
- 2
Three-dimensional temperature imaging around a gold microwire, Applied Physics Letters 102, 244103 (2013)