Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

toolbox requirements in step1p and step3 stitching #30

Open
takmiyamott opened this issue Oct 1, 2021 · 7 comments
Open

toolbox requirements in step1p and step3 stitching #30

takmiyamott opened this issue Oct 1, 2021 · 7 comments

Comments

@takmiyamott
Copy link

Hi Dana,

Thanks for dealing with my previous problem.
Again, I have some questions here.

I recognized that MultiDIC requires Image Processing Toolbox, Statistics and Machine Lerning Toolbox, and Computer Vision System Toolbox.
I have these Add-ons here, but when I ran step1p and step3 (only if I tried stitching), following errors occured.

For step1p, it said

STEP1p_DLTreconstruction
To use 'rms', the following product must be licensed, installed, and enabled:
Signal Processing Toolbox

Error in plotCalibrationResults (line 91)
RMSE(ipair)=rms(sqrt(sum(DLTstruct.reconstructErrors{ipair}.^2,2)));

Error in STEP1p_DLTreconstruction (line 161)
plotCalibrationResults(DLTstructPairs,saveDLTpairsLogic,figuresPath);

And for step3, if I selected the stitching option, it said

STEP3_3Dreconstruction
To use 'dist', the following product must be licensed, installed, and enabled:
Neural Network Toolbox

Error in triSurfSetDist (line 25)
d=dist(v1,V_intersect');

Error in removeOverlapSurface_temp_2018_10_30 (line 37)
Q1=triSurfSetDist(F1,V1,F2,V2,'ray');

Error in DIC3DsurfaceStitch (line 80)
[CT1,CT2] = removeOverlapSurface_temp_2018_10_30(F1,F2,V1,V2,[],[],minGap);

Error in STEP3_3Dreconstruction (line 222)
[DIC3Dcombined]= DIC3DsurfaceStitch(DIC3DAllPairsResults,pairIndList);

So, do I have to get additional toolboxes to use these functions?

Best regards,
Tk

@danasolav
Copy link
Contributor

Hi Tk,

Sorry for the slow response.
Do you still need help with that?
Thank you for pointing that out. I'll include these toolboxes in the instruction manual or replace these functions with my own.
If it's problematic for you to access these two toolboxes, please let me know and I'll send you replacement functions, which will fix this issue.

Thanks,
Dana

@takmiyamott
Copy link
Author

Dana,

Thank you for your reply!
Since I don't have access to those toolboxes, I'm grateful if you would include the functions to MultiDIC.

Best regards,
Tk

@danasolav
Copy link
Contributor

danasolav commented Dec 14, 2021 via email

@danasolav
Copy link
Contributor

I resolved the dependencies that were caused by the functions "rms" and "dist". Please let me know if it works now, and if you encounter any other problems.
By the way, how many cameras/ camera pairs are you using?

@takmiyamott
Copy link
Author

Dana,

Thank you for your quick support!
I confirmed that "rms" function works properly when I run Step1p!

Conversely, stitching option in Step3 still didn't work.
When I run Step3 with stitching, it said

STEP3_3Dreconstruction
Index exceeds matrix dimensions.

Error in distND (line 7)
B=V2(:,q); %Coordinates of second set

Error in triSurfSetDist (line 28)
d=distND(v1,V_intersect'); %GIBBON's dist function

Error in removeOverlapSurface_temp_2018_10_30 (line 37)
Q1=triSurfSetDist(F1,V1,F2,V2,'ray');

Error in DIC3DsurfaceStitch (line 80)
[CT1,CT2] = removeOverlapSurface_temp_2018_10_30(F1,F2,V1,V2,[],[],minGap);

Error in STEP3_3Dreconstruction (line 222)
[DIC3Dcombined]= DIC3DsurfaceStitch(DIC3DAllPairsResults,pairIndList);

My Matlab version is 2017b and I have Image Processing Toolbox, Statistics and Machine Lerning Toolbox, and Computer Vision System Toolbox here.

And for your question, I have just two cameras (only one pair), but I'm acquiring the images with rotating my sample to build "virtual" multi camera setup like in following paper (Genovese, K.; Cortese, L.; Rossi, M.; Amodio, D. A 360-Deg Digital Image Correlation System for Materials Testing. Optics and Lasers in Engineering 2016, 82, 127–134. https://doi.org/10.1016/j.optlaseng.2016.02.015.)

Thanks,
Tk

@danasolav
Copy link
Contributor

danasolav commented Dec 21, 2021 via email

@takmiyamott
Copy link
Author

Dana,
Thanks a lot!
Tk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants