How to get median values from N_Corr software?

3 次查看(过去 30 天)
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)

回答(1 个)

Chougag Khaoula
Chougag Khaoula 2022-7-4
编辑:Chougag Khaoula 2022-7-11
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.

类别

Help CenterFile Exchange 中查找有关 Image Segmentation and Analysis 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by