|
CPPxDIC
C++ Digital Image Correlation library for fingertip 3D reconstruction
|
Implementation of the mirrored-camera xDIC mode ("MNG" variant). More...
#include "xdic/mirrored/mirrored_mode.h"#include "config.h"#include "parameters.h"#include "utils.h"#include "image_processor.h"#include "roi_manager.h"#include "step_d_workflow.h"#include "mat_writer.h"#include "logging.h"#include <ncorr.h>#include <opencv2/opencv.hpp>#include <algorithm>#include <cmath>#include <filesystem>#include <fstream>#include <iomanip>#include <iostream>#include <regex>#include <sstream>#include <string>#include <vector>Go to the source code of this file.
Namespaces | |
| namespace | xdic |
| namespace | xdic::mirrored |
Functions | |
| ViewPair | xdic::mirrored::resolveViewPair (int stereopair, const std::vector< int > &cam_order) |
| Resolve the two views that form a given mirrored stereopair. | |
| cv::Mat | xdic::mirrored::extractViewFromFrame (const cv::Mat &frame, MaskHalf half) |
| Extract a single mirror view (full frame) from a decoded camera frame. | |
| bool | xdic::mirrored::importRawViewMirrored (const Config &config, int trial, const ViewInfo &view, int frameStart, int frameEnd, int frameJump, std::vector< std::string > &out_frames) |
| Decode a physical-camera video and write per-view masked frames to disk. | |
| bool | xdic::mirrored::run (const Config &config, const std::vector< int > &trials={}) |
| Run the mirrored-camera 2D DIC pipeline. | |
Implementation of the mirrored-camera xDIC mode ("MNG" variant).
Compiled into cppxdic only when configured with -DXDIC_MODE=mirrored (which defines XDIC_MODE_MIRRORED). See include/xdic/mirrored/mirrored_mode.h.
Pipeline (mirror of stepD_2DDIC_MNG.m):
Definition in file mirrored_mode.cpp.