dicutil.hpp¶
-
namespace util¶
Functions
-
void extract_image(double *img_def_stack, int image_number, int px_hori, int px_vert)¶
Extracts a single image from a stacked image array and stores it in an
Imageobject.Takes a specific 2D image (identified by
image_number) from a 3D image stack (img_def_stack) and stores its pixel values into thevalsfield of the providedutil::Imagestructure.- Parameters:
img_def – Pointer to a
util::Imageobject that will be populated with the extracted image data.img_def_stack – Pointer to a flat array representing a stack of images stored sequentially (row-major order).
image_number – Index of the image to extract from the stack (0-based).
-
int next_pow2(int n)¶
-
void gen_size_and_step_vector(std::vector<int> &ss_sizes, std::vector<int> &ss_steps, const int ss_size, const int ss_step, const int max_disp)¶
-
struct Config¶
Public Members
-
int ss_step¶
-
int ss_size¶
-
int max_iter¶
-
int px_hori¶
-
int px_vert¶
-
int num_def_img¶
-
int num_params¶
-
double precision¶
-
double threshold¶
-
double bf_threshold¶
-
int max_disp¶
-
std::pair<int, int> rg_seed¶
-
std::string corr_crit¶
-
std::string shape_func¶
-
std::string interp_routine¶
-
std::string scan_method¶
-
std::vector<std::string> filenames¶
-
bool fft_mad¶
-
double fft_mad_scale¶
-
unsigned int debug_level¶
-
int ss_step¶
-
struct Image¶
- #include <dicutil.hpp>
Represents an image with pixel data and dimensions.
This struct holds the pixel values of an image along with its dimensions. The pixel data is stored in row-major order.
-
void extract_image(double *img_def_stack, int image_number, int px_hori, int px_vert)¶