|
CppNCorr
C++ ncorr Digital Image Correlation engine
|
Namespaces | |
| namespace | details |
| namespace | exact_detail |
| namespace | legacy_detail |
| namespace | log |
Classes | |
| class | Array2D |
| struct | Config |
| All tuneable ncorr parameters with their compiled-in defaults. More... | |
| class | Data2D |
| struct | DIC_analysis_input |
| struct | DIC_analysis_output |
| struct | DIC_analysis_parallel_input |
| struct | DIC_analysis_step_data |
| struct | DICResult |
| Result of running DIC on a single deformed frame. More... | |
| class | Disp2D |
| struct | FilterConfig |
| class | Image2D |
| struct | ImageBuffer |
| Thin, non-owning view over a raw image in memory. More... | |
| class | ImageProcessor |
| class | IniFile |
| In-memory representation of a parsed INI file. More... | |
| class | NcorrSession |
| Drives an in-memory Digital Image Correlation session. More... | |
| class | ROI2D |
| struct | SeedAnalysisResult |
| struct | SeedComputationData |
| struct | SeedConvergence |
| struct | SeedParams |
| struct | SessionConfig |
| Configuration for an in-memory DIC session. More... | |
| class | Strain2D |
| struct | strain_analysis_input |
| struct | strain_analysis_output |
| class | VideoImporter |
| struct | VideoImportParams |
Enumerations | |
| enum class | PAD { ZEROS , EXPAND_EDGES } |
| enum class | INTERP { NEAREST , LINEAR , CUBIC_KEYS , CUBIC_KEYS_PRECOMPUTE , QUINTIC_BSPLINE , QUINTIC_BSPLINE_PRECOMPUTE } |
| enum class | LINSOLVER { LU , QR , CHOL } |
| enum class | FilterType { SATURATION , BANDPASS } |
| enum class | ROI_UPDATE_MODE { SKIP_ALL , SKIP_INVALID } |
| enum class | ACCUMULATION_MODE { ON_THE_FLY , POST_PROCESS } |
| enum class | DIC_analysis_config { NO_UPDATE , KEEP_MOST_POINTS , REMOVE_BAD_POINTS } |
| enum class | PERSPECTIVE { EULERIAN , LAGRANGIAN } |
| enum class | DISP { U , V } |
| enum class | STRAIN { EYY , EXY , EXX } |
| enum class | SUBREGION { CIRCLE , SQUARE } |
Functions | |
| template<typename T = double, typename T_alloc = std::allocator<T>> | |
| Array2D< T, T_alloc > | eye (typename Array2D< T, T_alloc >::difference_type n, T type=T(), T_alloc=T_alloc()) |
| ROI2D | update (const ROI2D &, const Disp2D &, INTERP, ROI_UPDATE_MODE mode=ROI_UPDATE_MODE::SKIP_ALL) |
| ROI2D | matlab_update_roi (const ROI2D &, const Disp2D &, INTERP, ROI2D::difference_type radius) |
| Data2D | update (const Data2D &, const Disp2D &, INTERP, ROI_UPDATE_MODE mode=ROI_UPDATE_MODE::SKIP_ALL) |
| Disp2D | add (const std::vector< Disp2D > &, INTERP) |
| Disp2D | add_with_rois (const std::vector< Disp2D > &disps, const std::vector< ROI2D > &rois, INTERP interp_type) |
| Disp2D | RGDIC (const Array2D< double > &, const Array2D< double > &, const ROI2D &, ROI2D::difference_type, INTERP, SUBREGION, ROI2D::difference_type, ROI2D::difference_type, double, bool) |
| DIC_analysis_output | DIC_analysis (const DIC_analysis_input &) |
| DIC_analysis_output | DIC_analysis_sequential (const DIC_analysis_input &) |
| SeedAnalysisResult | analyze_seeds (const details::subregion_nloptimizer &sr_nloptimizer, const Array2D< double > &ref_gs, const ROI2D &roi, const std::vector< SeedParams > &seed_positions, ROI2D::difference_type radius, int cutoff_iteration, double cutoff_max_diffnorm, double cutoff_max_corrcoef, bool debug=true) |
| std::vector< SeedComputationData > | compute_only_seed_points (const Array2D< double > &A_ref, const std::vector< Array2D< double > > &A_curs, const ROI2D &roi, ROI2D::difference_type scalefactor, INTERP interp_type, SUBREGION subregion_type, const std::vector< SeedParams > &seeds_by_region, double cutoff_corrcoef, ROI2D::difference_type region_idx=0, bool debug=false) |
| Disp2D | compute_displacements (const details::subregion_nloptimizer &sr_nloptimizer, const ROI2D &roi_reduced, const SeedParams &seedparams, ROI2D::difference_type scalefactor, double cutoff_corrcoef, ROI2D::difference_type region_idx, bool debug) |
| std::vector< SeedParams > | propagate_seeds (const std::vector< SeedParams > &seeds, ROI2D::difference_type spacing) |
| DIC_analysis_output | DIC_analysis_parallel (const DIC_analysis_parallel_input &) |
| DIC_analysis_output | matlab_DIC_analysis_parallel (const DIC_analysis_parallel_input &) |
| DIC_analysis_output | DIC_analysis_sequential (const DIC_analysis_input &DIC_input, const std::vector< SeedParams > &seeds_by_region={}, bool seeds_are_optimized=false) |
| DIC_analysis_output | DIC_analysis_sequential (const DIC_analysis_parallel_input &) |
| DIC_analysis_output | matlab_DIC_analysis_sequential (const DIC_analysis_input &DIC_input, const std::vector< SeedParams > &seeds_by_region={}, bool seeds_are_optimized=false) |
| DIC_analysis_output | matlab_DIC_analysis_sequential (const DIC_analysis_parallel_input &) |
| DIC_analysis_output | exact_matlab_DIC_analysis_parallel (const DIC_analysis_parallel_input &) |
| DIC_analysis_output | exact_matlab_DIC_analysis_sequential (const DIC_analysis_input &DIC_input, const std::vector< SeedParams > &seeds_by_region={}, bool seeds_are_optimized=false) |
| DIC_analysis_output | exact_matlab_DIC_analysis_sequential (const DIC_analysis_parallel_input &) |
| Disp2D | exact_add_with_rois (const std::vector< Disp2D > &disps, const std::vector< ROI2D > &rois) |
| Disp2D | RGDIC_with_seeds (const Array2D< double > &A_ref, const Array2D< double > &A_cur, const ROI2D &roi, const DIC_analysis_parallel_input &input) |
| DIC_analysis_output | change_perspective (const DIC_analysis_output &, INTERP) |
| DIC_analysis_output | change_perspective_with_inversion (const DIC_analysis_output &, INTERP) |
| DIC_analysis_output | set_units (const DIC_analysis_output &, const std::string &, double) |
| DIC_analysis_output | filter_by_correlation (const DIC_analysis_output &, double) |
| Strain2D | LS_strain (const Disp2D &, PERSPECTIVE, double, SUBREGION, ROI2D::difference_type) |
| strain_analysis_output | strain_analysis (const strain_analysis_input &) |
| void | imshow_ncorr_data_over_img (const Image2D &, const Data2D &, ROI2D::difference_type=-1) |
| void | save_ncorr_data_over_img (const std::string &, const Image2D &, const Data2D &, double, double, double, bool, bool, bool, const std::string &, double, double, double, ROI2D::difference_type, int) |
| void | save_ncorr_data_over_img_video (const std::string &, const std::vector< Image2D > &, const std::vector< Data2D > &, double, double, double, double, bool, bool, bool, const std::string &, double, double, double, ROI2D::difference_type, int, double, int) |
| void | save_DIC_video (const std::string &, const DIC_analysis_input &, const DIC_analysis_output &, DISP, double, double, double=std::numeric_limits< double >::quiet_NaN(), double=std::numeric_limits< double >::quiet_NaN(), bool=true, bool=true, bool=true, double=-1.0, double=1.0, ROI2D::difference_type=11, int=cv::COLORMAP_JET, double=2.0, int=cv::VideoWriter::fourcc('M', 'J', 'P', 'G')) |
| void | save_strain_video (const std::string &, const strain_analysis_input &, const strain_analysis_output &, STRAIN, double, double, double=std::numeric_limits< double >::quiet_NaN(), double=std::numeric_limits< double >::quiet_NaN(), bool=true, bool=true, bool=true, double=-1.0, double=1.0, ROI2D::difference_type=11, int=cv::COLORMAP_JET, double=2.0, int=cv::VideoWriter::fourcc('M', 'J', 'P', 'G')) |
| bool | load_config_file (const std::string &config_path, Config &out) |
| Load compiled defaults, then overlay values from an INI config file. | |
| const std::vector< std::string > & | image_extensions () |
| Supported image extensions (lowercase, including the leading dot). | |
| bool | has_image_extension (const std::string &lower_name) |
| Test whether a (lowercased) filename ends with a supported image extension. | |
| bool | natural_less (const std::string &a, const std::string &b) |
| Natural (human) ordering comparison for filenames. | |
| std::vector< std::string > | discover_frames (const std::string &folder, const std::string &ref_path, const std::string &roi_path) |
Discover the deformed-frame image files inside folder. | |
| template<typename T , typename T_container > | |
| T_container & | fill (T_container &A, const ROI2D::region_nlinfo &nlinfo, const T &val) |
| template<typename T , typename T_container > | |
| T_container & | fill (T_container &A, const Array2D< double > &boundary, const T &val) |
| template<typename T_container > | |
| std::pair< typename T_container::value_type, typename T_container::coords > | max (T_container &A, const ROI2D::region_nlinfo &nlinfo) |
| template<typename T_container > | |
| std::pair< typename T_container::value_type, typename T_container::coords > | min (T_container &A, const ROI2D::region_nlinfo &nlinfo) |
| std::ostream & | operator<< (std::ostream &os, const Data2D &data) |
| void | imshow (const Data2D &data, Data2D::difference_type delay) |
| bool | isequal (const Data2D &data1, const Data2D &data2) |
| void | save (const Data2D &data, std::ofstream &os) |
| std::ostream & | operator<< (std::ostream &os, const Disp2D &disp) |
| void | imshow (const Disp2D &disp, Disp2D::difference_type delay) |
| bool | isequal (const Disp2D &disp1, const Disp2D &disp2) |
| void | save (const Disp2D &disp, std::ofstream &os) |
| std::ostream & | operator<< (std::ostream &os, const Image2D &img) |
| void | imshow (const Image2D &img, Image2D::difference_type delay) |
| bool | isequal (const Image2D &img1, const Image2D &img2) |
| void | save (const Image2D &img, std::ofstream &os) |
| Disp2D | RGDIC_without_thread (const Array2D< double > &A_ref, const Array2D< double > &A_cur, const ROI2D &roi, ROI2D::difference_type scalefactor, INTERP interp_type, SUBREGION subregion_type, ROI2D::difference_type r, double cutoff_corrcoef, bool debug, const std::vector< SeedParams > &seeds_by_region={}, bool seeds_are_optimized=false) |
| void | save (const DIC_analysis_input &DIC_input, std::ofstream &os) |
| void | save (const DIC_analysis_input &DIC_input, const std::string &filename) |
| void | save (const DIC_analysis_output &DIC_output, std::ofstream &os) |
| void | save (const DIC_analysis_output &DIC_output, const std::string &filename) |
| void | save (const DIC_analysis_step_data &step_data, std::ofstream &os) |
| void | save (const DIC_analysis_step_data &step_data, const std::string &filename) |
| void | save (const strain_analysis_input &strain_input, std::ofstream &os) |
| void | save (const strain_analysis_input &strain_input, const std::string &filename) |
| void | save (const strain_analysis_output &strain_output, std::ofstream &os) |
| void | save (const strain_analysis_output &strain_output, const std::string &filename) |
| std::vector< SeedComputationData > | compute_only_seed_points (const Array2D< double > &A_ref, const std::vector< Array2D< double > > &A_curs, const ROI2D &roi, ROI2D::difference_type scalefactor, INTERP interp_type, SUBREGION subregion_type, ROI2D::difference_type r, const std::vector< SeedParams > &seeds_by_region, double cutoff_corrcoef, ROI2D::difference_type region_idx, bool debug) |
| DIC_analysis_output | exact_matlab_DIC_analysis_impl (const DIC_analysis_parallel_input &input, bool run_in_parallel, const std::string &mode_name) |
| std::ostream & | operator<< (std::ostream &os, const ROI2D &roi) |
| bool | isequal (const ROI2D &roi1, const ROI2D &roi2) |
| void | save (const ROI2D &roi, std::ofstream &os) |
| std::ostream & | operator<< (std::ostream &os, const ROI2D::region_nlinfo &nlinfo) |
| bool | isequal (const ROI2D::region_nlinfo &nlinfo1, const ROI2D::region_nlinfo &nlinfo2) |
| void | save (const ROI2D::region_nlinfo &nlinfo, std::ofstream &os) |
| std::ostream & | operator<< (std::ostream &os, const ROI2D::region_boundary &boundary) |
| bool | isequal (const ROI2D::region_boundary &boundary1, const ROI2D::region_boundary &boundary2) |
| void | save (const ROI2D::region_boundary &boundary, std::ofstream &os) |
| std::ostream & | operator<< (std::ostream &os, const ROI2D::region ®) |
| void | save (const ROI2D::region ®, std::ofstream &os) |
| std::ostream & | operator<< (std::ostream &os, const Strain2D &strain) |
| void | imshow (const Strain2D &strain, Strain2D::difference_type delay) |
| bool | isequal (const Strain2D &strain1, const Strain2D &strain2) |
| void | save (const Strain2D &strain, std::ofstream &os) |
Variables | |
| const class details::last_index | last |
| const class details::all_range | all |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
| SeedAnalysisResult ncorr::analyze_seeds | ( | const details::subregion_nloptimizer & | sr_nloptimizer, |
| const Array2D< double > & | ref_gs, | ||
| const ROI2D & | roi, | ||
| const std::vector< SeedParams > & | seed_positions, | ||
| ROI2D::difference_type | radius, | ||
| int | cutoff_iteration, | ||
| double | cutoff_max_diffnorm, | ||
| double | cutoff_max_corrcoef, | ||
| bool | debug = true |
||
| ) |
| DIC_analysis_output ncorr::change_perspective | ( | const DIC_analysis_output & | DIC_output, |
| INTERP | interp_type | ||
| ) |
| DIC_analysis_output ncorr::change_perspective_with_inversion | ( | const DIC_analysis_output & | DIC_output, |
| INTERP | interp_type | ||
| ) |
| Disp2D ncorr::compute_displacements | ( | const details::subregion_nloptimizer & | sr_nloptimizer, |
| const ROI2D & | roi_reduced, | ||
| const SeedParams & | seedparams, | ||
| ROI2D::difference_type | scalefactor, | ||
| double | cutoff_corrcoef, | ||
| ROI2D::difference_type | region_idx, | ||
| bool | debug | ||
| ) |
| std::vector< SeedComputationData > ncorr::compute_only_seed_points | ( | const Array2D< double > & | A_ref, |
| const std::vector< Array2D< double > > & | A_curs, | ||
| const ROI2D & | roi, | ||
| ROI2D::difference_type | scalefactor, | ||
| INTERP | interp_type, | ||
| SUBREGION | subregion_type, | ||
| const std::vector< SeedParams > & | seeds_by_region, | ||
| double | cutoff_corrcoef, | ||
| ROI2D::difference_type | region_idx = 0, |
||
| bool | debug = false |
||
| ) |
| std::vector< SeedComputationData > ncorr::compute_only_seed_points | ( | const Array2D< double > & | A_ref, |
| const std::vector< Array2D< double > > & | A_curs, | ||
| const ROI2D & | roi, | ||
| ROI2D::difference_type | scalefactor, | ||
| INTERP | interp_type, | ||
| SUBREGION | subregion_type, | ||
| ROI2D::difference_type | r, | ||
| const std::vector< SeedParams > & | seeds_by_region, | ||
| double | cutoff_corrcoef, | ||
| ROI2D::difference_type | region_idx, | ||
| bool | debug | ||
| ) |
| DIC_analysis_output ncorr::DIC_analysis | ( | const DIC_analysis_input & | DIC_input | ) |
| DIC_analysis_output ncorr::DIC_analysis_parallel | ( | const DIC_analysis_parallel_input & | input | ) |
| DIC_analysis_output ncorr::DIC_analysis_sequential | ( | const DIC_analysis_input & | ) |
| DIC_analysis_output ncorr::DIC_analysis_sequential | ( | const DIC_analysis_input & | DIC_input, |
| const std::vector< SeedParams > & | seeds_by_region = {}, |
||
| bool | seeds_are_optimized = false |
||
| ) |
| DIC_analysis_output ncorr::DIC_analysis_sequential | ( | const DIC_analysis_parallel_input & | parallel_input | ) |
|
inline |
Discover the deformed-frame image files inside folder.
See the file-level documentation for the expected naming convention. Files named "roi.png"/"ref.png" (case-insensitive) and any matching the supplied roi_path / ref_path basenames are excluded; hidden files, sub-directories and non-image extensions are skipped. The result is sorted with natural_less.
| folder | Directory to scan. |
| ref_path | Reference image path whose basename should be excluded (may be empty). |
| roi_path | ROI image path whose basename should be excluded (may be empty). |
| std::runtime_error | if folder cannot be opened. |
Definition at line 122 of file frame_reader.h.
| DIC_analysis_output ncorr::exact_matlab_DIC_analysis_impl | ( | const DIC_analysis_parallel_input & | input, |
| bool | run_in_parallel, | ||
| const std::string & | mode_name | ||
| ) |
| DIC_analysis_output ncorr::exact_matlab_DIC_analysis_parallel | ( | const DIC_analysis_parallel_input & | input | ) |
| DIC_analysis_output ncorr::exact_matlab_DIC_analysis_sequential | ( | const DIC_analysis_input & | DIC_input, |
| const std::vector< SeedParams > & | seeds_by_region = {}, |
||
| bool | seeds_are_optimized = false |
||
| ) |
| DIC_analysis_output ncorr::exact_matlab_DIC_analysis_sequential | ( | const DIC_analysis_parallel_input & | input | ) |
| T_container & ncorr::fill | ( | T_container & | A, |
| const Array2D< double > & | boundary, | ||
| const T & | val | ||
| ) |
| T_container & ncorr::fill | ( | T_container & | A, |
| const ROI2D::region_nlinfo & | nlinfo, | ||
| const T & | val | ||
| ) |
| DIC_analysis_output ncorr::filter_by_correlation | ( | const DIC_analysis_output & | DIC_output, |
| double | cutoff_corrcoef | ||
| ) |
|
inline |
Test whether a (lowercased) filename ends with a supported image extension.
Length-safe: never reads out of bounds for short names.
| lower_name | Filename already converted to lowercase. |
Definition at line 60 of file frame_reader.h.
|
inline |
Supported image extensions (lowercase, including the leading dot).
Mirrors the formats OpenCV's imread handles in this build. Keep in sync with the user guide.
Definition at line 46 of file frame_reader.h.
| void ncorr::imshow | ( | const Data2D & | data, |
| Data2D::difference_type | delay | ||
| ) |
Definition at line 58 of file Data2D.cpp.
| void ncorr::imshow | ( | const Disp2D & | disp, |
| Disp2D::difference_type | delay | ||
| ) |
Definition at line 38 of file Disp2D.cpp.
| void ncorr::imshow | ( | const Image2D & | img, |
| Image2D::difference_type | delay | ||
| ) |
Definition at line 90 of file Image2D.cpp.
| void ncorr::imshow | ( | const Strain2D & | strain, |
| Strain2D::difference_type | delay | ||
| ) |
Definition at line 38 of file Strain2D.cpp.
| void ncorr::imshow_ncorr_data_over_img | ( | const Image2D & | img, |
| const Data2D & | data, | ||
| ROI2D::difference_type | delay = -1 |
||
| ) |
Definition at line 72 of file Data2D.cpp.
Definition at line 46 of file Disp2D.cpp.
Definition at line 94 of file Image2D.cpp.
| bool ncorr::isequal | ( | const ROI2D::region_boundary & | boundary1, |
| const ROI2D::region_boundary & | boundary2 | ||
| ) |
| bool ncorr::isequal | ( | const ROI2D::region_nlinfo & | nlinfo1, |
| const ROI2D::region_nlinfo & | nlinfo2 | ||
| ) |
Definition at line 46 of file Strain2D.cpp.
| bool ncorr::load_config_file | ( | const std::string & | config_path, |
| Config & | out | ||
| ) |
Load compiled defaults, then overlay values from an INI config file.
Only keys present in the file override the corresponding Config field; unknown keys are ignored (optionally reported by the parser). Missing file is treated as "use defaults".
| config_path | Path to an INI config file (e.g. config/default.cfg). |
| out | Config to update in place (start from compiled defaults). |
out is left at its incoming/default values). | std::runtime_error | on a malformed value (e.g. non-integer for an int). |
Definition at line 15 of file config.cpp.
| Strain2D ncorr::LS_strain | ( | const Disp2D & | disp, |
| PERSPECTIVE | perspective_type, | ||
| double | units_per_pixel, | ||
| SUBREGION | subregion_type, | ||
| ROI2D::difference_type | r | ||
| ) |
| DIC_analysis_output ncorr::matlab_DIC_analysis_parallel | ( | const DIC_analysis_parallel_input & | input | ) |
| DIC_analysis_output ncorr::matlab_DIC_analysis_sequential | ( | const DIC_analysis_input & | DIC_input, |
| const std::vector< SeedParams > & | seeds_by_region = {}, |
||
| bool | seeds_are_optimized = false |
||
| ) |
| DIC_analysis_output ncorr::matlab_DIC_analysis_sequential | ( | const DIC_analysis_parallel_input & | input | ) |
| ROI2D ncorr::matlab_update_roi | ( | const ROI2D & | roi, |
| const Disp2D & | disp, | ||
| INTERP | interp_type, | ||
| ROI2D::difference_type | radius | ||
| ) |
| std::pair< typename T_container::value_type, typename T_container::coords > ncorr::max | ( | T_container & | A, |
| const ROI2D::region_nlinfo & | nlinfo | ||
| ) |
| std::pair< typename T_container::value_type, typename T_container::coords > ncorr::min | ( | T_container & | A, |
| const ROI2D::region_nlinfo & | nlinfo | ||
| ) |
|
inline |
Natural (human) ordering comparison for filenames.
Compares runs of digits by numeric value so unpadded numeric frame names sort correctly, e.g. "frame_2.png" < "frame_10.png". Falls back to lexicographic for non-digit runs. Zero-padded names also sort correctly under this rule.
| a | Left-hand filename. |
| b | Right-hand filename. |
a should sort before b. Definition at line 81 of file frame_reader.h.
| std::ostream & ncorr::operator<< | ( | std::ostream & | os, |
| const Data2D & | data | ||
| ) |
Definition at line 50 of file Data2D.cpp.
| std::ostream & ncorr::operator<< | ( | std::ostream & | os, |
| const Disp2D & | disp | ||
| ) |
Definition at line 30 of file Disp2D.cpp.
| std::ostream & ncorr::operator<< | ( | std::ostream & | os, |
| const Image2D & | img | ||
| ) |
Definition at line 80 of file Image2D.cpp.
| std::ostream & ncorr::operator<< | ( | std::ostream & | os, |
| const ROI2D & | roi | ||
| ) |
| std::ostream & ncorr::operator<< | ( | std::ostream & | os, |
| const ROI2D::region & | reg | ||
| ) |
| std::ostream & ncorr::operator<< | ( | std::ostream & | os, |
| const ROI2D::region_boundary & | boundary | ||
| ) |
| std::ostream & ncorr::operator<< | ( | std::ostream & | os, |
| const ROI2D::region_nlinfo & | nlinfo | ||
| ) |
| std::ostream & ncorr::operator<< | ( | std::ostream & | os, |
| const Strain2D & | strain | ||
| ) |
Definition at line 30 of file Strain2D.cpp.
| std::vector< SeedParams > ncorr::propagate_seeds | ( | const std::vector< SeedParams > & | seeds, |
| ROI2D::difference_type | spacing | ||
| ) |
| Disp2D ncorr::RGDIC | ( | const Array2D< double > & | A_ref, |
| const Array2D< double > & | A_cur, | ||
| const ROI2D & | roi, | ||
| ROI2D::difference_type | scalefactor, | ||
| INTERP | interp_type, | ||
| SUBREGION | subregion_type, | ||
| ROI2D::difference_type | r, | ||
| ROI2D::difference_type | num_threads, | ||
| double | cutoff_corrcoef, | ||
| bool | debug | ||
| ) |
| Disp2D ncorr::RGDIC_with_seeds | ( | const Array2D< double > & | A_ref, |
| const Array2D< double > & | A_cur, | ||
| const ROI2D & | roi, | ||
| const DIC_analysis_parallel_input & | input | ||
| ) |
| Disp2D ncorr::RGDIC_without_thread | ( | const Array2D< double > & | A_ref, |
| const Array2D< double > & | A_cur, | ||
| const ROI2D & | roi, | ||
| ROI2D::difference_type | scalefactor, | ||
| INTERP | interp_type, | ||
| SUBREGION | subregion_type, | ||
| ROI2D::difference_type | r, | ||
| double | cutoff_corrcoef, | ||
| bool | debug, | ||
| const std::vector< SeedParams > & | seeds_by_region = {}, |
||
| bool | seeds_are_optimized = false |
||
| ) |
| void ncorr::save | ( | const Data2D & | data, |
| std::ofstream & | os | ||
| ) |
Definition at line 78 of file Data2D.cpp.
| void ncorr::save | ( | const DIC_analysis_input & | DIC_input, |
| const std::string & | filename | ||
| ) |
| void ncorr::save | ( | const DIC_analysis_input & | DIC_input, |
| std::ofstream & | os | ||
| ) |
| void ncorr::save | ( | const DIC_analysis_output & | DIC_output, |
| const std::string & | filename | ||
| ) |
| void ncorr::save | ( | const DIC_analysis_output & | DIC_output, |
| std::ofstream & | os | ||
| ) |
| void ncorr::save | ( | const DIC_analysis_step_data & | step_data, |
| const std::string & | filename | ||
| ) |
| void ncorr::save | ( | const DIC_analysis_step_data & | step_data, |
| std::ofstream & | os | ||
| ) |
| void ncorr::save | ( | const Disp2D & | disp, |
| std::ofstream & | os | ||
| ) |
Definition at line 50 of file Disp2D.cpp.
| void ncorr::save | ( | const Image2D & | img, |
| std::ofstream & | os | ||
| ) |
Definition at line 123 of file Image2D.cpp.
| void ncorr::save | ( | const ROI2D & | roi, |
| std::ofstream & | os | ||
| ) |
| void ncorr::save | ( | const ROI2D::region & | reg, |
| std::ofstream & | os | ||
| ) |
| void ncorr::save | ( | const ROI2D::region_boundary & | boundary, |
| std::ofstream & | os | ||
| ) |
| void ncorr::save | ( | const ROI2D::region_nlinfo & | nlinfo, |
| std::ofstream & | os | ||
| ) |
| void ncorr::save | ( | const Strain2D & | strain, |
| std::ofstream & | os | ||
| ) |
Definition at line 50 of file Strain2D.cpp.
| void ncorr::save | ( | const strain_analysis_input & | strain_input, |
| const std::string & | filename | ||
| ) |
| void ncorr::save | ( | const strain_analysis_input & | strain_input, |
| std::ofstream & | os | ||
| ) |
| void ncorr::save | ( | const strain_analysis_output & | strain_output, |
| const std::string & | filename | ||
| ) |
| void ncorr::save | ( | const strain_analysis_output & | strain_output, |
| std::ofstream & | os | ||
| ) |
| void ncorr::save_DIC_video | ( | const std::string & | filename, |
| const DIC_analysis_input & | DIC_input, | ||
| const DIC_analysis_output & | DIC_output, | ||
| DISP | disp_type, | ||
| double | alpha, | ||
| double | fps, | ||
| double | min_disp = std::numeric_limits<double>::quiet_NaN(), |
||
| double | max_disp = std::numeric_limits<double>::quiet_NaN(), |
||
| bool | enable_colorbar = true, |
||
| bool | enable_axes = true, |
||
| bool | enable_scalebar = true, |
||
| double | num_units = -1.0, |
||
| double | font_size = 1.0, |
||
| ROI2D::difference_type | num_tick_marks = 11, |
||
| int | colormap = cv::COLORMAP_JET, |
||
| double | end_delay = 2.0, |
||
| int | fourcc = cv::VideoWriter::fourcc('M','J','P','G') |
||
| ) |
| void ncorr::save_ncorr_data_over_img | ( | const std::string & | filename, |
| const Image2D & | img, | ||
| const Data2D & | data, | ||
| double | alpha, | ||
| double | min_data, | ||
| double | max_data, | ||
| bool | enable_colorbar, | ||
| bool | enable_axes, | ||
| bool | enable_scalebar, | ||
| const std::string & | units, | ||
| double | units_per_pixel, | ||
| double | num_units, | ||
| double | font_size, | ||
| ROI2D::difference_type | num_tick_marks, | ||
| int | colormap | ||
| ) |
| void ncorr::save_ncorr_data_over_img_video | ( | const std::string & | filename, |
| const std::vector< Image2D > & | imgs, | ||
| const std::vector< Data2D > & | data, | ||
| double | alpha, | ||
| double | fps, | ||
| double | min_data, | ||
| double | max_data, | ||
| bool | enable_colorbar, | ||
| bool | enable_axes, | ||
| bool | enable_scalebar, | ||
| const std::string & | units, | ||
| double | units_per_pixel, | ||
| double | num_units, | ||
| double | font_size, | ||
| ROI2D::difference_type | num_tick_marks, | ||
| int | colormap, | ||
| double | end_delay, | ||
| int | fourcc | ||
| ) |
| void ncorr::save_strain_video | ( | const std::string & | filename, |
| const strain_analysis_input & | strain_input, | ||
| const strain_analysis_output & | strain_output, | ||
| STRAIN | strain_type, | ||
| double | alpha, | ||
| double | fps, | ||
| double | min_strain = std::numeric_limits<double>::quiet_NaN(), |
||
| double | max_strain = std::numeric_limits<double>::quiet_NaN(), |
||
| bool | enable_colorbar = true, |
||
| bool | enable_axes = true, |
||
| bool | enable_scalebar = true, |
||
| double | num_units = -1.0, |
||
| double | font_size = 1.0, |
||
| ROI2D::difference_type | num_tick_marks = 11, |
||
| int | colormap = cv::COLORMAP_JET, |
||
| double | end_delay = 2.0, |
||
| int | fourcc = cv::VideoWriter::fourcc('M','J','P','G') |
||
| ) |
| DIC_analysis_output ncorr::set_units | ( | const DIC_analysis_output & | DIC_output, |
| const std::string & | units, | ||
| double | units_per_pixel | ||
| ) |
| strain_analysis_output ncorr::strain_analysis | ( | const strain_analysis_input & | strain_input | ) |
| Data2D ncorr::update | ( | const Data2D & | data, |
| const Disp2D & | disp, | ||
| INTERP | interp_type, | ||
| ROI_UPDATE_MODE | mode = ROI_UPDATE_MODE::SKIP_ALL |
||
| ) |
| ROI2D ncorr::update | ( | const ROI2D & | roi, |
| const Disp2D & | disp, | ||
| INTERP | interp_type, | ||
| ROI_UPDATE_MODE | mode = ROI_UPDATE_MODE::SKIP_ALL |
||
| ) |
| const class details::all_range ncorr::all |
| const class details::last_index ncorr::last |