bsltl

The BSLTL package is a free collection of OCTAVE/MATLAB routines for working with the biospeckle laser technique.

Select category:

Data

datacut
DATACUT is a function in graphic mode that selects and cuts a portion of data pack (DATA).
datapack
This function creates a data pack (3D matrix) from a set of images in a directory.
datapack_to_gif
This function creates a gif file from the data pack (DATA).

Extras

hbpmf
The function returns the binary entropy of a probability mass function.
mwindowing
This function divides the MAT matrix in windows of WLines lines and WColumns columns, then in each one of these windows it is calculated the mean value of all elements.
threshold2d
It is a function that returns a matrix X with elements smaller than U.

Filter

datapack_conv
This function implements a convolution for each pixel of datapack.
firfilterbank
This function implements a filter bank for each pixel of a datapack.
firsynthesisbank
This function makes a step to synthesis filter bank for each pixel of datapacks DATA0 and DATA1.
firsynthesispath
This function makes a synthesis of a path in a filter bank, for each pixel of datapack DATA.
freqmod
This function returns the modulus of frequency response of function H.
qmfmaker
This function returns a vector with the parameters of a FIR filter with cut-off in pi/2 (for a 2*pi normalized frequency range).
qmfmirror
This function returns the vector H1, the quadrature mirror filter of H0.

Graphic

fujii
This function implements the Fujii Technique [1].
gendiff
This function implements the Generalized Difference Technique [1].
stdcont
This function implements the temporal speckle contrast matrix [1], the temporal speckle standard deviation matrix and the temporal speckle mean matrix.
graphavd
This function implements the Absolute Value of the Differences (AVD) method [1], only using a pixel-by time, with the normalization of the co-occurrence matrix (COM) proposed by CARDOSO, R
graphim
This function implements the Inertia Moment (IM) [1] method, only on a pixel-by time, with the normalization of the co-occurrence matrix (COM) proposed by CARDOSO, R.R.
graphptd
This function implements the Parameterized form of Temporal Difference (PTD) [1] technique.
graphrvd
This function implements the Regular Value of the Differences method [1], only on a pixel-by time, with the normalization of the co-occurrence matrix (COM) proposed by CARDOSO, R.R.
graphmhi
This function implements the Motion History Image (MHI) technique [1-2], and considers a pixel as in activity, where it should have an absolute intensity jump superior to U.
graphkurt
This function calculates the temporal speckle kurtosis matrix (K).
graphskew
This function calculates the temporal speckle skewness matrix (S).

Numerical

avd
Absolute Value of the Differences (AVD) method.
coom
This function creates the Co-occurrence matrix (COM)[1].
inertiamoment
This function implements the Inertia Moment (IM) method [1].
numad
Numerical analysis of the modified AVD method [1].
rvd
Regular Value of the Differences (RVD) method [1].
stscorr
This function implements the spatial-temporal speckle correlation [1] technique.
thsp2corr
This function implements the space-time speckle correlation [1] technique.
pmfad
The probability mass function of absolute difference (PMFAD) represents the probabilities of a random variable Z, being $Z=|i-j|$.
pmfrd
The probability mass function of regular difference (PMFRD) represents the probabilities of a random variable W, being $W=(i-j)$.
thsp
This function creates the THSP (Time History Speckle Pattern)[1][2] of a set of pixels in a line or column of a datapack (DATA).
thsp_gaussian
This function creates the THSP (Time History Speckle Pattern)[1][2] of a set of M points (pixels) randomly (Gaussian) selected in EXAMPLE_MATRIX, and through DATA(:,:,k) for all k value.
thsp_line
This function creates the THSP (Time History Speckle Pattern)[1][2] of a set of pixels in a line in a data pack (DATA), (This function is an alias of thsp() function).
thsp_random
This function creates the THSP (Time History Speckle Pattern)[1][2] of a set of M points (pixels) randomly (Uniform) selected in DATA(:,:,1), and through DATA(:,:,k) for all k value.

Quality

homogeneity
Homogeneity of spatial variability [1].
satdark
Saturation and sub-exposition of light[1].
sscont
Spatial speckle contrast window [1] method.

WithoutTutorial

datapack_to_bmp
This function save the images inside of datapack in a set of BMP files.
get_fir_filter
This function returns a fir filter with an order and cut-off specified.
get_lux_level
This function creates an analysis in time of illumination level in some points in the datpack.
imagesc_with_points
This function is similar to imagesc, with the difference that this also draw the points contained in the variable POINTS.
mwnumbering
This function divides the MAT matrix in windows of WLines lines and WColumns columns, then in each one of these windows it is calculated the mean value of all elements.
select_points
This function select a set of M points, selected according to Type, in DATA(:,:,1), and through DATA(:,:,k)
thsp_points
This function evaluates the THSP (Time History Speckle Patterns) of a set points selected in DATA(:,:,1), and through DATA(:,:,k) for all k value.

Package: bsltl