Digital Image Correlation Engine  Version 1.0
A modular, high-performance, image correlation tool used to compute full-field displacements and strains from digital images
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
DICe::utils::Image_Reader_Cache Class Reference

#include <DICe_ImageIO.h>

Public Member Functions

Teuchos::RCP< DICe::cine::Cine_Readercine_reader (const std::string &id)
 

Static Public Member Functions

static Image_Reader_Cacheinstance ()
 return an instance of the singleton
 

Private Member Functions

 Image_Reader_Cache ()
 constructor
 
 Image_Reader_Cache (Image_Reader_Cache const &)
 copy constructor
 
void operator= (Image_Reader_Cache const &)
 asignment operator
 

Private Attributes

std::map< std::string, Teuchos::RCP< DICe::cine::Cine_Reader > > cine_reader_map_
 map of cine readers
 

Detailed Description

used for file reads and getting image dimensions without having to reload the header every time

Member Function Documentation

◆ cine_reader()

Teuchos::RCP<DICe::cine::Cine_Reader> DICe::utils::Image_Reader_Cache::cine_reader ( const std::string &  id)

add a cine reader to the map

Parameters
idthe string name of the reader in case multiple headers are loaded (for example in stereo) if the reader doesn't exist, it gets created