riCOM_cpp
This repository contains the C++ implementation of the riCOM (Real Time Centre Of Mass) algorithm for 4D Scanning electron microscopy.
|
#include <Camera.h>
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 |
CAMERA::Camera< CameraInterface, EVENT_BASED >::Camera | ( | ) |
|
explicit |
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 | ||
) |
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 | ||
) |
void CAMERA::Camera< CameraInterface, EVENT_BASED >::run | ( | Ricom * | ricom | ) |