The ImageT class
ImageT is a handle class. See the Temperature computing tutorial for more information on how to create and deal with ImageT objects.
Properties
name |
type |
default |
description |
|---|---|---|---|
|
double array |
OPD image |
|
|
double array |
Temperature image |
|
|
double array |
Heat source density image |
|
|
double |
0 |
Height at which the temperature was computed |
name |
type |
description |
|---|---|---|
|
double |
Number of pixels along x |
|
double array |
Number of pixels along y |
Constructor
Constructor
Synthax
obj = ImageT()
obj = ImageT(W, TMP, H)
obj = ImageT() creates an empty ImageT object.
obj = ImageT(W, TMP, H) creates an ImageT object, W defining the OPD image, TMP the temperature image, and H the heat source density image. Each of these inputs is optional.
Examples
Build an ImageT object by importing data
T = readMatrix('data/T.txt');
W = readMatrix('data/W.txt');
IM = ImageT(T, W); % creates the ImageT object
ImageT methods
figureT
Display the images contained in an ImageT object
Synthax
obj.figureT()
Description
This method displays the images of the obj ImageT object within a figure using the dynamicFigure function, respectively the OPD, the heat source density and the temperature images, as shown below.