How to get median values from N_Corr software?
3 views (last 30 days)
Show older comments
Hello,
I have recently done a DIC test and am using the N_Corr software to find the displacements and strains. I know I can get GIFs of the displacements and strains but I want to get the median value of strain from each figure. I know I can access the information about either displacements or strains by typing "handles_ncorr.data_dic.displacements.plot_v_ref_formatted" in the command window. This entry looks at the displacements of the figure in the y direction. It is important to note that I run the software on my computer and don't know how to access the data, so I don't think the code I post will be able to run for you. If you are able to help it will be much appreciated, thanks.
CODE:
Data = handles_ncorr.data_dic;
extractfield(handles_ncorr.data_dic,displacements)
Medians = zeros(8,1);
for i = 1:length(Data)
Medians(i) = median(handles_ncorr.data_dic.displacements.plot_v_ref_formatted(i))
end
% csvwrite('Median_Values.txt',M)
0 Comments
Answers (1)
Chougag Khaoula
on 4 Jul 2022
Edited: Chougag Khaoula
on 11 Jul 2022
If you want the median value for each image, once you plot the strain or displacement, below each image appears some information related to it. The last sentence states the max, median, and min values.
0 Comments
See Also
Categories
Find more on Image Segmentation and Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!