File Exchange

image thumbnail

Ncorr

version 1.14.0.0 (204 KB) by Justin Blaber
2D-DIC program that uses contiguous circular subsets, biquintic B-spline interp, and complex ROIs

20 Downloads

Updated 08 May 2020

From GitHub

View Version History

View license on GitHub

2D Digital Image Correlation Matlab Software. The most up to date code now uses my github: justinblaber/ncorr_2D_matlab

Cite As

Justin Blaber (2021). Ncorr (https://github.com/justinblaber/ncorr_2D_matlab), GitHub. Retrieved .

Comments and Ratings (36)

Niccolo Cymbalist

Has this been tested with 2020a+? I'm having 'Invalid MEX-file....A dynamic
link library (DLL) initialization routine failed.' issues with it in the most recent versions of MATLAB. This seems to be a known issue with 2020a+

Xing Li

Joaquim Sanctorum

Hi all,

I have performed a successful DIC analysis using this code. However, when I want to format my displacements, I receive this error:
"Seeding failed for the conversion analysis. Please rerun DIC analysis and make sure regions have a large contiguous region."

I've rerun my DIC analysis plenty of times (with various parameters, using 4 seeds), but I always get the same error. For my purpose, I just use the 1 unit = 1 pixel conversion in the displacement formatting menu.

Has anyone encountered this issue? I have no idea what to chance in my DIC settings to avoid this error.

Aurelie Azoug

Sorry, let's rewrite properly. Does anybody know how to export the ROI coordinates? All the fields in my MATLAB output named roi are empty. Meaning there is not way to correlate with the initial image points.
thank you for any help you can provide.

Aurelie Azoug

thank you for this code it is amazing. Does anybody knows how to export the ROIs coordinates. All the fields in my output Matlab structure named rob are empty.

Sikander Naseem

fangxin wang

Sikander Naseem

Nidhin Dileep

I am getting the following error,
One of the compiled files is missing. If using automatic installaion, then mex files will compile; if using manual installation, please close Ncorr and make sure all the files compiled properly.

could someone help me solve it please?
I am using windows 10 and matlab 2015a version .

iacopo frezzotti

I am getting the following error,
One of the compiled files is missing. If using automatic installaion, then mex files will compile; if using manual installation, please close Ncorr and make sure all the files compiled properly.

could someone help me solve it please?

Maxime Harazi

Hossein Ariannejad

@jedi and @jack carter if you guys are still dealing with the same error, it's because of a visual studio bug on windows! try the answer by fredreich in following url and try installation again! it should work this time!
https://www.mathworks.com/matlabcentral/answers/90383-fix-problem-when-mex-cpp-file

lcy_joe

Jedi

Hi!
I have problems with this... I am getting the following error, One of the compiled files is missing. If using automatic installaion, then mex files will compile; if using manual installation, please close Ncorr and make sure all the files compiled properly.

Could someone help me solve it please?

What should i do?

Postel Victor

Thanks for sharing your code
Is there a way to obtain the strain matrix for every frame?

lalalal

I see that the examples you give are all related to tensile tests, and the test I want to do is DIC analysis of concrete uniaxial compression. I don't know if Ncorr can perform compression test analysis.

Bo Peng

jack carter

I am getting the following error,
One of the compiled files is missing. If using automatic installaion, then mex files will compile; if using manual installation, please close Ncorr and make sure all the files compiled properly.

could someone help me solve it please?

Ragunanth Venkatesh

Ragunanth Venkatesh

Hi Justin, is there a way to get the coordinated from reference and deformed image. I would like to apply lens distortion technique invented by B.Pan et.al.

Yunting Yu

It shows 'Loading failed, most likely because Ncorr ran out of memory". How could I fix this problem?

murali krishna

Hii and Thank you very much @ handoko chi for your suggestion and now i am having a doubt that before starting Ncorr image processing should we do any scaling or any conversion to process the image in Ncorr successfully to get correct solution.. as i am using JPG format which is directly uploading in ncorr but not getting exact solutions...please suggest me regarding this...

Nasir Younus

Thanks for the reply handoko chi. Based on your suggestion to use in higher version i got successed and now i am facing the problem regarding validation of Ncorr results with respect to Experimental Results so i need some help from your side...

handoko chi

Hey guys, if any of you have experienced when saving the output file ncorr but the image quality (pixel) decreased? I experienced my original image size 512x512, after the ncorr process occurs and I want to test the image I can not process the data due to the size of the image to 128x128. does anyone try? or can help me?

handoko chi

Hi Anand, do you mean you getting error when installed Ncorr? Hmm, i thought Ncorr cant be installed in Mac. Correct me If im Wrong

handoko chi

Hi murali krishna, have you ever try using ncorr in higher version of matlab? like 2015? never happened to me, except ROI need to smaller or smaller the subset.

Anand Harihara

Hi,
I am trying to install this in Matlab 2015b for mac. But there are no supported compilers. Can anyone help with this regard?
Thank you!

Jakub Kowalczyk

murali krishna

Hi
I have some trouble with Setting of Region of Intrest. While loading ROI i am getting error message as
Error using waitfor
Error while evaluating uicontrol Callback
As i am using Win10 and R2013a if possible kindly help out me in this
Thanks and Regards.

Damian Wierzbicki

Great tool, thank you. I have a one question though: the size of the displacement plot is decreased in the way described in the manual. Now, if we look at the value of the u-displacement at location, for instance, x = 100 , y = 100 to which point does that correspond in our original image of the initial size ?

Paolo Ferraiuoli

Lena Bartell

Fantastic, thank you!

One comment: I have modified my copy of your code to also store/save the displacement gradients. I use this data in post-processing to reconstruct the deformation gradient tensor (F) and then calculate other quantities of interest. For example, the volume change (determinant of F) cannot be calculated from the strain tensors alone. This might be useful to other users, so you may want to save that displacement gradient data by default, as well.

Weilin Deng

Harilal

Julien

Thank you for your great Software...

Jiangping

Ncorr is a very useful and convenient opensource code. you can use it in Linux and Windows OS (I tested and it runs well).
It provides the platform for the fresh DIC users and developers to get start DIC very quickly and it's easy to modify the codes in your own way. Also it provide a very convenient GUI to measure the full-field displacement for all the users. Do not miss such good chance. Good Luck!

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!