pyvale.render.dicexamples module

Generation and caching of the Riley images used by DIC examples.

class DICExampleImages(cam0_reference, cam1_reference, cam0_deformed, cam1_deformed, calibration)[source]

Bases: object

Paths to example DIC images.

cam0_reference
cam1_reference
cam0_deformed
cam1_deformed
calibration
__init__(cam0_reference, cam1_reference, cam0_deformed, cam1_deformed, calibration)
create_example_images_platehole()[source]

Create and cache Riley images for the plate-hole DIC examples.

Returns:

DICExampleImages – Paths to the generated reference, deformed, and calibration files.

create_example_images_rigid()[source]

Create and cache rigid images in one folder.

Frames 00-10 are the 1px case; frames 25 and 50 are frames 1 and 2 from the 50px simulation.

Returns:

DICExampleImages – Paths to the generated reference, deformed, and calibration files.