首页 > 代码库 > 相关性分析代码片段
相关性分析代码片段
ldcca_tms = img_To_4D_array(‘C:\Users\Administrator\Desktop\contrast\2014-05-20-17-10.img‘);spm_tms = img_To_4D_array(‘C:\Users\Administrator\Desktop\contrast\no_phycaa.img‘);% x = size(spm_tms,1);% y = size(spm_tms,2);% z = size(spm_tms,3);% % %spm_tms_1d = reshape(spm_tms ,[1,x*y*z] );% % % x = size(ldcca_tms,1);% y = size(ldcca_tms,2);% z = size(ldcca_tms,3);% % % ldcca_tms_1d = reshape( ldcca_tms , [1,x*y*z] );mask_ldcca_tms = ldcca_tms > 0;inv_mask_ldcca_tms = ~mask_ldcca_tms;mask_spm_tms = spm_tms > 0;inv_mask_spm_tms = ~mask_spm_tms;%% 先提取出被去噪去除的点的时间过程 实验结果,去除了435个点,% left_spm_tms = spm_tms(inv_mask_ldcca_tms);tmp_spm = spm_tms .* inv_mask_ldcca_tms;%>>这是最后的模板mask_big_left_spm_tms = tmp_spm>0;% big_left_spm_tms = left_spm_tms(left_spm_tms>0);% aa = size(big_left_spm_tms)%% 利用我们的去噪算法,得到的新的点,一个点都没有增加% left_ldcca_tms = ldcca_tms(ldcca_tms);tmp_ldcca = ldcca_tms .* inv_mask_spm_tms;%>>这是最后的模板mask_big_left_ldcca_tms = tmp_ldcca > 0; tmp_ldcca_data = http://www.mamicode.com/tmp_ldcca>0;>
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。