Package Objects API Reference#

Geometrical and Physical Objects#

The pysdic package provides a collection of classes for storing point clouds, meshes, and integration points. These objects are the building blocks for many SDIC analyses.

  • PointCloud: A class to store and manipulate point clouds, which are collections of points that can represent surfaces or volumes.

  • Connectivity: A class to store and manipulate connectivity information for meshes, such as adjacency matrices and element connectivity.

  • Mesh: A class to store and manipulate meshes, which consist of a combination of PointCloud and Connectivity objects, along with additional attributes for storing mesh-specific information.

  • IntegrationPoints: A class to store and manipulate integration points, which are used for numerical integration in finite element analyses.

Some default mesh creation functions are also provided to create meshes for common geometries (See Mesh Creation Functions).

Image Processing and Camera Manipulations#

To perform stereo digital image correlation analyses, the pysdic package provides classes to handle images, cameras, and views, as well as functions to perform projections and store projection results.

  • Image: A class to store and manipulate images, which are 2D arrays of pixel values that can represent the visual information captured by cameras.

  • Camera: A class to store and manipulate camera parameters, such as intrinsic and extrinsic parameters, which define the camera’s position, orientation, and optical properties.

  • View: A class to store and manipulate views, which consist of a combination of Camera and Image objects, along with additional attributes for storing view-specific information.

  • ProjectionResult: A class to store the results of projecting 3D points onto 2D image planes using camera parameters.

  • ImageProjectionResult: A class to store the results of projecting 3D points onto 2D image planes along with the corresponding pixel values from the images.

See also

  • The pycvcam package for camera‑model manipulations and calibrations. The quantities stored in the Camera class are objects from the pycvcam package.