资源简介
可以计算物体表面变形前后位移场和应变场,有需要的朋友可以下载。
代码片段和文件信息
%This code shifts the control points specified by gridx and gridy by
%computing the normalized cross-correlation coefficient.
function [validxvalidy]=automate_image_GUI_compatible(filenamelist...
reductiongridxgridyref_imagesubsetsearch_zoneN_images_correlated...
N_ptsinitialxinitialyN_threadsloop_type)
%Initialize variables:
validx = zeros(N_ptsN_images_correlated);
validy = zeros(N_ptsN_images_correlated);
validx(:1) = gridx;
validy(:1) = gridy;
% Initialize the JAVA progress bar
try % Initialization
percent = 1;
do_debug = 1;
ppm = ParforProgressStarter2(‘Correlate Images Progress Bar‘ ...
N_images_correlated percent do_debug);
catch me % make sure “ParforProgressStarter2“ didn‘t get moved to a different directory
if strcmp(me.message ‘Undefined function or method ‘‘ParforProgressStarter2‘‘ for input arguments of type ‘‘char‘‘.‘)
error(‘ParforProgressStarter2 not in path.‘);
else
% this should NEVER EVER happen.
msg{1} = ‘Unknown error while initializing “ParforProgressStarter2“:‘;
msg{2} = me.message;
print_error_red(msg);
% backup solution so that we can still continue.
ppm.increment = nan(1 N_images_correlated);
end
end
% Choose serial or parallel loop and run through the loop over the images
if strcmp(loop_type‘serial‘) == 1 %Use serial loops
[validx validy] = serial(filenamelistreductiongridxgridy...
validxvalidyref_imagesubsetsearch_zoneN_images_correlatedN_pts...
initialxinitialyppm);
elseif strcmp(loop_type‘parallel‘) == 1 %Use parallel loops
[validxvalidy] = parallel(filenamelistreductiongridxgridy...
validxvalidysubsetsearch_zoneN_images_correlatedN_ptsN_threads...
initialxinitialyppm);
end
%Close the wait bar
try % use try / catch here since delete(struct) will raise an error.
delete(ppm);
catch me %#ok
end
end
%% This function uses a serial for loop to run through the images
function [validxvalidy] = serial(filenamelistreductiongridxgridy...
validxvalidyref_imagesubsetsearch_zoneN_images_correlatedN_pts...
initialxinitialyppm)
for i=1:N_images_correlated %Loop over all the images in the set
%% Read in the reference image
if ref_image == 1 %Reference image = first image
base_points = zeros(N_pts2);
base_points(:1) = gridx;
base_points(:2) = gridy;
if reduction ~= 1
base = imresize(imread(filenamelist(1:))1/reduction);
else
base = imread(filenamelist(1:));
end
elseif ref_image == 2 %Reference image = preceeding image
if i == 1 %Self correlation of the first image with itself
if reduction ~= 1
base = imresize(imread(filenamelist(1:))1/reduction);
else
base = imread(filena
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-11-16 16:25 sandianwanqu数据\
目录 0 2018-11-16 16:25 sandianwanqu数据\Matlab DIC files\
文件 12184 2014-02-12 14:33 sandianwanqu数据\Matlab DIC files\FEM_strains_setup_GUI_compatible.m
文件 1687 2014-02-12 14:33 sandianwanqu数据\Matlab DIC files\Gauss_Quad.m
文件 4520 2014-02-12 14:33 sandianwanqu数据\Matlab DIC files\ParforProgress2.m
文件 3638 2014-02-12 14:33 sandianwanqu数据\Matlab DIC files\ParforProgressClient2.class
文件 7618 2014-02-12 14:33 sandianwanqu数据\Matlab DIC files\ParforProgressClient2.java
文件 1473 2014-02-12 14:33 sandianwanqu数据\Matlab DIC files\ParforProgressConsole2.m
文件 1030 2014-02-12 14:33 sandianwanqu数据\Matlab DIC files\ParforProgressServer2$1.class
文件 9144 2014-02-12 14:33 sandianwanqu数据\Matlab DIC files\ParforProgressServer2.class
文件 17291 2014-02-12 14:33 sandianwanqu数据\Matlab DIC files\ParforProgressServer2.java
文件 3578 2014-02-12 14:33 sandianwanqu数据\Matlab DIC files\ParforProgressStarter2.m
文件 1647 2014-02-12 14:33 sandianwanqu数据\Matlab DIC files\ParforProgressStressTest2.m
文件 13381 2014-02-12 14:33 sandianwanqu数据\Matlab DIC files\Shape_Funct_LH.m
文件 6122 2014-02-12 14:33 sandianwanqu数据\Matlab DIC files\automate_image_GUI_compatible.m
文件 1686 2014-02-12 14:33 sandianwanqu数据\Matlab DIC files\average_image.m
文件 3372 2014-02-12 14:33 sandianwanqu数据\Matlab DIC files\average_line_GUI_compatible.m
文件 5919 2014-02-12 14:33 sandianwanqu数据\Matlab DIC files\calc_derivatives_GUI_compatible.m
文件 1556 2014-02-12 14:33 sandianwanqu数据\Matlab DIC files\calc_disp.m
文件 2026 2014-02-12 14:33 sandianwanqu数据\Matlab DIC files\calc_disp_reduced.m
文件 1182 2014-07-18 10:28 sandianwanqu数据\Matlab DIC files\calc_strains_GUI_compatible.m
文件 591 2014-02-12 14:33 sandianwanqu数据\Matlab DIC files\calc_strains_loop.m
文件 7648 2014-02-12 14:33 sandianwanqu数据\Matlab DIC files\compute_data_GUI.fig
文件 16781 2014-02-12 14:33 sandianwanqu数据\Matlab DIC files\compute_data_GUI.m
文件 9617 2014-02-12 14:33 sandianwanqu数据\Matlab DIC files\correlate_images_GUI.fig
文件 30188 2014-02-12 14:33 sandianwanqu数据\Matlab DIC files\correlate_images_GUI.m
文件 9632 2014-12-01 16:03 sandianwanqu数据\Matlab DIC files\cpcorr_mod.m
文件 760 2014-02-12 14:33 sandianwanqu数据\Matlab DIC files\data_avg_GUI_compatible.m
文件 1217 2014-02-12 14:33 sandianwanqu数据\Matlab DIC files\deformed_grid.m
文件 3921 2014-02-12 14:33 sandianwanqu数据\Matlab DIC files\delete_data_GUI.fig
文件 23405 2014-02-12 14:33 sandianwanqu数据\Matlab DIC files\delete_data_GUI.m
............此处省略53个文件信息
- 上一篇:TFC膜系设计软件,需要的
- 下一篇:Web前端大作业.zip
相关资源
- tftb-0.2.zip
- LMD分解并求分量的能量熵,然后分类
- 多约束条件下的无人作战飞行器在线
- 最新版的m_map工具箱
- 模拟退火进化粒子群算法
- 车牌识别课程设计,能运行,模板匹
- 一维数学形态学滤波程序-mathematical
- kddcup 数据两层CNN入侵检测
- StatTransfer_Twelve_12
- MAAB最新建模规范4.01版本
- GBVS视觉显著性代码
- 2019年华中杯B题数学建模数据处理
- matpower最新版安装包2016.9
- 虹膜识别 完整代码12
- PSAT-2.0.0-ref-中文说明书.pdf
- 自适应双阈值法检测心电R波波峰,配
- stateflow教材手把手教你-Stateflow教程
- 预测控制经典教程席裕庚-预测控制
- 以A计权方式测量声卡声压级-SLM.zip
- 关于svm和神经网络相结合的论文-svm
- 平均速度NewmarkRiccati传递矩阵法-一种
- 蚱蜢优化算法
- 健康人视觉工作记忆任务多通道脑电
- 作业一:彩色图像的直方图均衡化.
- 平滑伪Wigner-Ville分布,可以运行。
- 二机五节点的潮流程序
- PCA算法融合多光谱图像和全色图像附
- 基于主成分分析的人脸识别
- 单相桥式和三相桥式全控整流电路仿
- LSB算法和量化水印算法对比,DFT、D
评论
共有 条评论