BSpeckleRender
Rendering deformed speckle images with a Boolean model.
The following code can be used for non-profit academic
research only.
BSpeckleRender
Archive of MATLAB codes (GPU / CPU code):
BSpeckleRender.tgz (last modified January 10th, 2018)
Implements the algorithm described in the JMIV
paper below.
Please consult
documentation.pdf.
Please
cite:
F. Sur, B. Blaysat,
M. Grédiac.
Rendering deformed
speckle images with a Boolean model. Journal
of Mathematical Imaging and Vision, vol. 60, no. 5, pages
634-650, Springer,
2018.
Link.
Pdf
file.
Bibtex entry.
BSpeckleRender_b
Archive of MATLAB codes (GPU / CPU code):
BSpeckleRender_b.tgz (last modified August 29th, 2019)
Instead of rendering black disks over a white
background, this code renders smooth spots with a Gaussian profile over a white background. See
the README.txt file in the archive and the dataset below.
This code is used for rendering the speckle images
in:
F. Sur, B. Blaysat, M. Grédiac.
On biases in displacement estimation for image registration,
with a focus on photomechanics. Journal of Mathematical Imaging and Vision, Springer,
2021.
Link.
Pdf
file.
Bibtex .
CheckerBoardRender
Archive of MATLAB codes (GPU / CPU code):
CheckerboardRender.tgz (last modified May 6th, 2021)
This code renders with Monte Carlo integration the checkerboard images defined in Section 3.4.2 of:
M. Grédiac, B. Blaysat, F. Sur.
On the optimal pattern for displacement field measurement:
random speckle and DIC, or checkerboard and
LSA? Experimental
Mechanics, vol. 60, no. 4, p. 509-534, Society for
Experimental Mechanics and Springer,
2020.
Link.
Pdf
file.
Bibtex.
2DGridRender
Matlab code (GPU / CPU code) for rendering 2D grids:
2DGridRender.tgz (last modified August 17th, 2023)
To use it: download CheckerBoardRender then replace the functions in the
functions directory by the corresponding ones in 2DGridRender.
Datasets:
Rendered by BSpeckleRender:
figure3.tgz: data used to generate Figure 3 in the paper. Please consult readme.txt.
sample1.tgz: eleven 512x512 8-bit speckle images translated by a n*0.1 pixel displacement, n
being between 0 and 10. Generated by script_translation.m in the
archive (the same as in BSpeckleRender.tgz).
sample1b.tgz: eleven 512x512 8-bit speckle images translated by a n*0.1 pixel displacement, n
being between 0 and 10. Generated by script_translation.m in the
archive (different parameters).
sample2.tgz:
reference image and deformed image (512x512 8-bit images), inverse displacement
distributed according to a modulated sine wave. Generated by
script_modsinewave.m in the archive (the same as in BSpeckleRender.tgz).
Rendered by BSpeckleRender_b:
sample_a.tgz: two pairs of 12-bit 500x100 images
generated by script_speckleBSR.m in the archive (the same as in
BSpeckleRender_b.tgz). See README.txt to visualize the images in MATLAB.
Last modified: August 17th 2023.