Giter Site home page Giter Site logo

ncorr_2d_matlab's People

Contributors

javnik36 avatar justinblaber avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ncorr_2d_matlab's Issues

Format of the matrix required to load current images through matlab code

I am a student from Aalborg university, and my group and I has as part of a project created "support" program for processing a large amount of data in NCORR.
And as part of this we would like the capability of opening NCORR preloaded with the video that the support program formats to frames.
I am able to load both the reference and the roi image, but I am having difficulties loading the current images. I have tried a few things but cant find any documentation on how the matrix should be formatted.

We recently uploaded it to Github if it has any interrest:
https://github.com/Krille945/Image-sequencer-for-NCORR

Hope that you are able to help with this.
Sincerely,
Christopher Endelt

OpenMP seems to be fine but ncorr doesn't recognize that

Although I have installed PCT toolbox and openmp configurations seems to be fine, as I run handles_ncorr = ncorr, I get this error:

Files compiled, but it was determined that OpenMP 
is not actually supported. Please reinstall Ncorr in 
single threaded mode or use a compiler which 
supports OpenMP

Please see that all commands are successful.

>> mex -c standard_datatypes.cpp
Building with 'Microsoft Visual C++ 2013'.
MEX completed successfully.
>> mex -c ncorr_datatypes.cpp
Building with 'Microsoft Visual C++ 2013'.
MEX completed successfully.
>> mex -c ncorr_lib.cpp
Building with 'Microsoft Visual C++ 2013'.
MEX completed successfully.
>> mex ncorr_alg_formmask.cpp standard_datatypes.obj ncorr_datatypes.obj ncorr_lib.obj
Building with 'Microsoft Visual C++ 2013'.
MEX completed successfully.
>> mex ncorr_alg_formregions.cpp standard_datatypes.obj ncorr_datatypes.obj ncorr_lib.obj
Building with 'Microsoft Visual C++ 2013'.
MEX completed successfully.
>> mex ncorr_alg_formboundary.cpp standard_datatypes.obj ncorr_datatypes.obj ncorr_lib.obj
Building with 'Microsoft Visual C++ 2013'.
MEX completed successfully.
>> mex ncorr_alg_formthreaddiagram.cpp standard_datatypes.obj ncorr_datatypes.obj ncorr_lib.obj
Building with 'Microsoft Visual C++ 2013'.
MEX completed successfully.
>> mex ncorr_alg_formunion.cpp standard_datatypes.obj ncorr_datatypes.obj ncorr_lib.obj
Building with 'Microsoft Visual C++ 2013'.
MEX completed successfully.
>> mex ncorr_alg_extrapdata.cpp standard_datatypes.obj ncorr_datatypes.obj ncorr_lib.obj
Building with 'Microsoft Visual C++ 2013'.
MEX completed successfully.
>> mex ncorr_alg_adddisp.cpp standard_datatypes.obj ncorr_datatypes.obj ncorr_lib.obj
Building with 'Microsoft Visual C++ 2013'.
MEX completed successfully.
>> mex ncorr_alg_convert.cpp standard_datatypes.obj ncorr_datatypes.obj ncorr_lib.obj
Building with 'Microsoft Visual C++ 2013'.
MEX completed successfully.
>> mex ncorr_alg_dispgrad.cpp standard_datatypes.obj ncorr_datatypes.obj ncorr_lib.obj
Building with 'Microsoft Visual C++ 2013'.
MEX completed successfully.
>> mex ncorr_alg_testopenmp.cpp standard_datatypes.obj ncorr_datatypes.obj ncorr_lib.obj
Building with 'Microsoft Visual C++ 2013'.
MEX completed successfully.
>> mex ncorr_alg_calcseeds.cpp standard_datatypes.obj ncorr_datatypes.obj ncorr_lib.obj
Building with 'Microsoft Visual C++ 2013'.
MEX completed successfully.
>> mex ncorr_alg_rgdic.cpp standard_datatypes.obj ncorr_datatypes.obj ncorr_lib.obj
Building with 'Microsoft Visual C++ 2013'.
MEX completed successfully.
>> mex ncorr_alg_testopenmp.cpp standard_datatypes.obj ncorr_datatypes.obj ncorr_lib.obj COMFLAGS="$COMFLAGS /openmp /DNCORR_OPENMP"
Building with 'Microsoft Visual C++ 2013'.
MEX completed successfully.
>> mex ncorr_alg_calcseeds.cpp standard_datatypes.obj ncorr_datatypes.obj ncorr_lib.obj COMFLAGS="$COMFLAGS /openmp /DNCORR_OPENMP"
Building with 'Microsoft Visual C++ 2013'.
MEX completed successfully.
>> mex ncorr_alg_testopenmp.cpp standard_datatypes.obj ncorr_datatypes.obj ncorr_lib.obj COMFLAGS="$COMFLAGS /openmp /DNCORR_OPENMP"
Building with 'Microsoft Visual C++ 2013'.
MEX completed successfully.
>> type('ncorr_installinfo.txt')

1,4

u-displacement map

Hi Justin,

Wondering if it would be possible to perform the DIC only in a horizontal (u) direction to improve the computation time. I've applied image rectification prior to uploading them onto the reference and current image so that they are horizontally aligned, such that only u-displacement map is necessary. How would we go about executing this?

Running without Matlab

Hello,

I have been using ncorr around 2 years, but today what i realized that my department will no longer make matlab available for students. Is there any way to run ncorr without matlab ? Thanks

Octave compatibility?

Can this theoretically work in Octave? This might be good to boost the utility
of your program in the open software universe.

I tried to run this in Octave by following the manual, but I encountered errors.

handles_ncorr = ncorr;
parse error near line 3356 of file /home/jerome/github/ncorr_2D_matlab/ncorr.m

syntax error

function [handle_name,outstate] = gui_sethandle(pos_parent)

run out of memory error when analyze large size SEM image

Hi Justin Blaber,

I am Dongdi Yin from Southwest Jiaotong University. We are working on HRDIC based on SEM. We have got very nice strain maps using Ncorr for small size SEM images (up to 6749x5229 pixels). However, when we tried to analyze larger size SEM images, such as 8818x6871 pixels, an error occurred, which seems a run out of memory error. The screenshot of the error message is attached below.
We are using MATLAB 2021b. 20 cores are set for the OpenMP multithreading.
The computer we used: Intel® Xeon® Gold 6230R Processor (35.75M Cache, 2.10 GHz, 26 cores)+192GB DDR4 memory.

Many thanks and Happy New Year!
Looking forward to hearing from you
Kind regards
Dongdi Yin

error-20220110183910

Plot Lagragian Strain on current image

This isn't really an issue in the code, but more of request.

Do you plan on updating Ncorr to be able to plot the Lagrangian strain on the current image? This would greatly increase users' ability to present data to audiences.

Problem with contour plot

Hi!
I'm using matlab v2017b and contour plot seems not working...I see only borders, without data under it (i assume it should be filled with color, right? 😄 ).
Like here:
image
Do you have any advices?

Ncorr_post matlab software

Dear Blaber:

Recently I learned your 2D-DIC matlab software-ncorr,and I watch your video,but after I watch the "2D Digital Image Correlation using Ncorr -MATLAB- - Tutorial -PART 2",I find your Ncorr_post matlab software is a very useful tool.I search it in the web,but I didn't find it.I especially need it now,can you send it to me by email?

Thanks a lot!!!

Ncorr_post_CSTool

After loading the data from ncorr post to ncorr post CStools, I encountered a problem related to colormap. The error comes in caxis (line 108), where it gives me a message like this: "Error using caxis (line 108) must be a two-element row vector," whereas I have followed all the steps of the manuals from YouTube. Please help me figure out how to sort out this problem.

Problem while compoiling

Hi
I was trying to compile ncorr on visual studio 2019.
But there is an error in code!
How can I fix it?
Threre are several places in code with this issue

template <typename T_container> 
    inline typename sub_iterator<T_container>::sub_iterator& sub_iterator<T_container>::operator++() {    
        this->chk_valid_increment();

        // increment sub_p, then determine position from it
        ++sub_p;
        this->p = this->A_ptr->sub2ind(sub_p % sub_h + r_sub1_2D.first, sub_p / sub_h + r_sub2_2D.first);

        return *this;
    }  

and the error is :
overloaded function "ncorr::details::sub_iterator<T_container>::sub_iterator" is not a type name

Loading failed, most likely because Ncorr ran out of memory

Hello! Recently I am getting the error stated in the title, when I try to load data I have already saved via Ncorr and then I have to re-run the analysis to get to the contour plots. Does anyone have the same problem and could suggest a solution?

Thank you in advance.

Anastasia

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.