Digital Image Correlation Engine
Version 1.0
A modular, high-performance, image correlation tool used to compute full-field displacements and strains from digital images
|
tests to see if there has been any motion since the last frame if not, this frame can be skipped. More...
#include <DICe_Initializer.h>
Public Member Functions | |
Motion_Test_Utility (Schema *schema, const scalar_t &tol) | |
~Motion_Test_Utility () | |
virtual destructor | |
void | reset () |
reset the result flag (should be done at the beginning of each frame) | |
bool | motion_detected (const int_t sub_image_id) |
Private Attributes | |
Schema * | schema_ |
pointer to the schema that created this initializer, used for field access | |
scalar_t | tol_ |
image diff tolerance (above this means motion is occurring) | |
Motion_State | motion_state_ |
tests to see if there has been any motion since the last frame if not, this frame can be skipped.
constructor
schema | pointer to the schema that will be calling the motion test utility |
tol | determines the threshold for the image diff to register motion |
bool DICe::Motion_Test_Utility::motion_detected | ( | const int_t | sub_image_id | ) |
Returns true if motion is detected
sub_image_id | the id of the window image around the subset |
|
private |
keep a copy of the result incase another call is made for this initializer by another subset