If a point and/or its subvolume lay outside of the volume (plus the initial registration for the correlate) the dvc executable crashes. What should happen is that the code catches the error and then returns a code.
I think we should set the bounding box here within the volume,
|
est_box = new BoundBox(region->min(), region->max()); |
|
act_box = new BoundBox(region->min(), region->max()); |
or just return outside FOV at process_point:
|
void Search::process_point(int t, int n, DataCloud *srch_data, int test) |
If a point and/or its subvolume lay outside of the volume (plus the initial registration for the correlate) the dvc executable crashes. What should happen is that the code catches the error and then returns a code.
I think we should set the bounding box here within the volume,
DigitalVolumeCorrelation/Core/Interpolate.cpp
Lines 51 to 52 in fb90d75
or just return outside FOV at
process_point:DigitalVolumeCorrelation/Core/Search.cpp
Line 95 in fb90d75