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::atomic< size_t > &idx, 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, size_t first_frame, size_t end_frame) |
void | read_frame_com_cbed (std::atomic< size_t > &idx, 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< uint16_t > &frame, size_t frame_id, 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 |
int | nx_cam |
int | ny_cam |
bool | swap_endian |
int | depth |
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::atomic< size_t > & | idx, |
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, | ||
size_t | first_frame, | ||
size_t | end_frame | ||
) |
void CAMERA::Camera< CameraInterface, EVENT_BASED >::read_frame_com_cbed | ( | std::atomic< size_t > & | idx, |
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< uint16_t > & | frame, | ||
size_t | frame_id, | ||
size_t | first_frame, | ||
size_t | end_frame | ||
) |
void CAMERA::Camera< CameraInterface, EVENT_BASED >::run | ( | Ricom * | ricom | ) |