riCOM_cpp
This repository contains the C++ implementation of the riCOM (Real Time Centre Of Mass) algorithm for 4D Scanning electron microscopy.
Public Member Functions | List of all members
CAMERA::Camera< CameraInterface, EVENT_BASED > Class Template Reference

#include <Camera.h>

Inheritance diagram for CAMERA::Camera< CameraInterface, EVENT_BASED >:
[legend]
Collaboration diagram for CAMERA::Camera< CameraInterface, EVENT_BASED >:
[legend]

Public Member Functions

 Camera ()
 
 Camera (Camera_BASE &cam)
 
void run (Ricom *ricom)
 
void read_frame_com (std::vector< size_t > &dose_map, std::vector< size_t > &sumx_map, std::vector< size_t > &sumy_map, std::vector< float > &stem_map, bool &b_stem, std::array< float, 2 > &offset, std::array< float, 2 > &radius, int &processor_line, int &preprocessor_line, size_t &first_frame, size_t &end_frame)
 
void read_frame_com_cbed (std::vector< size_t > &dose_map, std::vector< size_t > &sumx_map, std::vector< size_t > &sumy_map, std::vector< float > &stem_map, bool &b_stem, std::array< float, 2 > &offset, std::array< float, 2 > &radius, std::vector< size_t > &frame, std::array< std::atomic< size_t >, 3 > &frame_id_plot_cbed, int &processor_line, int &preprocessor_line, size_t &first_frame, size_t &end_frame)
 
- Public Member Functions inherited from CAMERA::Camera_BASE
void init_uv_default ()
 
 Camera_BASE ()
 

Additional Inherited Members

- Public Attributes inherited from CAMERA::Camera_BASE
Camera_model model
 
Camera_type type
 
uint16_t nx_cam
 
uint16_t ny_cam
 
bool swap_endian
 
uint16_t depth
 
size_t group_size
 
int dwell_time
 
std::vector< int > u
 
std::vector< int > v
 

Detailed Description

template<class CameraInterface>
class CAMERA::Camera< CameraInterface, EVENT_BASED >

Definition at line 90 of file Camera.h.

Constructor & Destructor Documentation

◆ Camera() [1/2]

template<class CameraInterface >
CAMERA::Camera< CameraInterface, EVENT_BASED >::Camera ( )

◆ Camera() [2/2]

template<class CameraInterface >
CAMERA::Camera< CameraInterface, EVENT_BASED >::Camera ( Camera_BASE cam)
explicit

Member Function Documentation

◆ read_frame_com()

template<class CameraInterface >
void CAMERA::Camera< CameraInterface, EVENT_BASED >::read_frame_com ( std::vector< size_t > &  dose_map,
std::vector< size_t > &  sumx_map,
std::vector< size_t > &  sumy_map,
std::vector< float > &  stem_map,
bool &  b_stem,
std::array< float, 2 > &  offset,
std::array< float, 2 > &  radius,
int &  processor_line,
int &  preprocessor_line,
size_t &  first_frame,
size_t &  end_frame 
)

◆ read_frame_com_cbed()

template<class CameraInterface >
void CAMERA::Camera< CameraInterface, EVENT_BASED >::read_frame_com_cbed ( std::vector< size_t > &  dose_map,
std::vector< size_t > &  sumx_map,
std::vector< size_t > &  sumy_map,
std::vector< float > &  stem_map,
bool &  b_stem,
std::array< float, 2 > &  offset,
std::array< float, 2 > &  radius,
std::vector< size_t > &  frame,
std::array< std::atomic< size_t >, 3 > &  frame_id_plot_cbed,
int &  processor_line,
int &  preprocessor_line,
size_t &  first_frame,
size_t &  end_frame 
)

◆ run()

template<class CameraInterface >
void CAMERA::Camera< CameraInterface, EVENT_BASED >::run ( Ricom ricom)

The documentation for this class was generated from the following file: