How to get median values from N_Corr software?

조회 수: 4 (최근 30일)
Robert  Flores
Robert Flores 2019년 3월 27일
편집: Chougag Khaoula 2022년 7월 11일
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