About
  1. | API Documentation
  2. | Common
  3. | io

io

Basic input and output operations

Functions

CalcRotatedImageBufferSize

Calculate the size of a buffer that would be needed to hold an image that is rotated. For example, if I rotate a 100x100 image by 45 degrees, it will no longer fit in a buffer allocated for 100x100 because now the corners would be outside of the original view.

CreateVideoFilename

Get a correctly formatted filename for the video file created from a data capture.

GetCameraMatricesFromFile

Load camera calibration matrices from a camera calibration file created by this program.

GetFileExt

Get the extension or suffix of a file from the passed in path.

ParseVideoFilename

Parse a passed in string for relevant information from the filename of a video file that was created with CreateVideoFilename.

PopulateImagesFromVideo

Pull images from the provided videos.

ProcessConfigFile

Read a saved TrackerConfigFile from file and store in the given TrackerConfigFile.

ReadImages

No details given

ReadMarkedPointsFromFile

Marked points are user input that tells us which clusters across camera images are the same for a given timestep.

ReadTriangulationInfoToFile

No details given

ReadXMLImages

The list of images for a capture are stored in xml files. This function parses the files and returns a list of paths to the image files.

WriteConfig

Write out the configuration to file.

WriteMarkedPointsToFile

Write the points that the user marked to file for re-use if the user would like to run a slightly different version of triangulation.

WriteTriangulationInfoToFile

Take the 3d triangulated points for each timestep and write them to a file.

SnakeStrike — An program for high-speed multi-camera data collection and triangulation.

Page owner(s): gwjensen  Last updated: 2020-09-28 07:40:17 +0000