一区二区三区在线-一区二区三区亚洲视频-一区二区三区亚洲-一区二区三区午夜-一区二区三区四区在线视频-一区二区三区四区在线免费观看

服務(wù)器之家:專注于服務(wù)器技術(shù)及軟件下載分享
分類導(dǎo)航

PHP教程|ASP.NET教程|Java教程|ASP教程|編程技術(shù)|正則表達(dá)式|C/C++|IOS|C#|Swift|Android|VB|R語(yǔ)言|JavaScript|易語(yǔ)言|vb.net|

服務(wù)器之家 - 編程語(yǔ)言 - C/C++ - 基于matlab對(duì)比度和結(jié)構(gòu)提取的多模態(tài)解剖圖像融合實(shí)現(xiàn)

基于matlab對(duì)比度和結(jié)構(gòu)提取的多模態(tài)解剖圖像融合實(shí)現(xiàn)

2022-03-07 14:28紫極神光 C/C++

這篇文章主要介紹了多模態(tài)醫(yī)學(xué)圖像配準(zhǔn)與融合的概念、方法及意義,最后簡(jiǎn)單介紹了小波變換分析方法。感興趣的小伙伴可以跟隨小編一起學(xué)習(xí)一下

一、圖像融合簡(jiǎn)介

應(yīng)用多模態(tài)圖像的配準(zhǔn)與融合技術(shù),可以把不同狀態(tài)的醫(yī)學(xué)圖像有機(jī)地結(jié)合起來(lái),為臨床診斷和治療提供更豐富的信息。介紹了多模態(tài)醫(yī)學(xué)圖像配準(zhǔn)與融合的概念、方法及意義。最后簡(jiǎn)單介紹了小波變換分析方法。

 

二、部分源代碼

clear; close all; clc; warning off
%% A Novel Multi-Modality Anatomical Image FusionMethod Based on Contrast and Structure Extraction
% F = fuseImage(I,scale)

%Inputs:
%I - a mulyi-modal anatomical image sequence

%scale - scale factor of dense SIFT, the default value is 16

%% load images from the folder that contain multi-modal image to be fused
%I=load_images('./Dataset\CT-MRI\Pair 1');
I=load_images('./Dataset\MR-T1-MR-T2\Pair 1');
%I=load_images('./Dataset\MR-Gad-MR-T1\Pair 1');
% Show source input images 
figure;
no_of_images = size(I,4);
for i = 1:no_of_images
  subplot(2,1,i); imshow(I(:,:,:,i));
end
suptitle('Source Images');


%%
F=fuseImage(I,16);
%% Output: F - the fused image

F=rgb2gray(F);
figure;
imshow(F);
function [ F ] = fuseImage(I,scale)


addpath('Pyramid_Decomposition');
addpath('Guided_Filter');
addpath('Dense_SIFT');

tic
%%
[H, W, C, N]=size(I);
imgs=im2double(I);
IA=zeros(H,W,C,N);
for i=1:N
IA(:,:,:,i)=enhnc(imgs(:,:,:,i));

end
%%
imgs_gray=zeros(H,W,N);
for i=1:N
  imgs_gray(:,:,i)=rgb2gray(IA(:,:,:,i));
end
%
% %dense sift calculation
dsifts=zeros(H,W,32,N, 'single');
for i=1:N
  img=imgs_gray(:,:,i);
  ext_img=img_extend(img,scale/2-1);
  [dsifts(:,:,:,i)] = DenseSIFT(ext_img, scale, 1);
  
end
%%
%local contrast
contrast_map=zeros(H,W,N);
for i=1:N
  contrast_map(:,:,i)=sum(dsifts(:,:,:,i),3);

end


%winner-take-all weighted average strategy for local contrast

[x, labels]=max(contrast_map,[],3);
clear x;
for i=1:N
  mono=zeros(H,W);
  mono(labels==i)=1;
  contrast_map(:,:,i)=mono;

end



%% Structure 
h = [1 -1];
structure_map=zeros(H,W,N);

for i=1:N
structure_map(:,:,i) = abs(conv2(imgs_gray(:,:,i),h,'same')) + abs(conv2(imgs_gray(:,:,i),h','same')); %EQ 13

 
end


%winner-take-all weighted average strategy for structure

[a, label]=max(structure_map,[],3);
clear x;
for i=1:N
  monoo=zeros(H,W);
  monoo(label==i)=1;
  structure_map(:,:,i)=monoo;
   
end

%%
weight_map=structure_map.*contrast_map;




%weight map refinement using Guided Filter
for i=1:N
  
  weight_map(:,:,i) = fastGF(weight_map(:,:,i),12,0.25,2.5);

end



% normalizing weight maps
%
weight_map = weight_map + 10^-25; %avoids division by zero
weight_map = weight_map./repmat(sum(weight_map,3),[1 1 N]);

%% Pyramid Decomposition

% create empty pyramid
pyr = gaussian_pyramid(zeros(H,W,3));
nlev = length(pyr);

% multiresolution blending
for i = 1:N
  % construct pyramid from each input image
 
  % blend
  for b = 1:nlev
      w = repmat(pyrW{b},[1 1 3]);
      
      pyr{b} = pyr{b} + w .*pyrI{b};
  end
  
end

% reconstruct
F = reconstruct_laplacian_pyramid(pyr);

toc

end


 

三、運(yùn)行結(jié)果

基于matlab對(duì)比度和結(jié)構(gòu)提取的多模態(tài)解剖圖像融合實(shí)現(xiàn)

基于matlab對(duì)比度和結(jié)構(gòu)提取的多模態(tài)解剖圖像融合實(shí)現(xiàn)

 

四、matlab版本

matlab版本

2014a

以上就是基于matlab對(duì)比度和結(jié)構(gòu)提取的多模態(tài)解剖圖像融合實(shí)現(xiàn)的詳細(xì)內(nèi)容,更多關(guān)于matlab  多模態(tài)解剖圖像融合的資料請(qǐng)關(guān)注服務(wù)器之家其它相關(guān)文章!

原文鏈接:https://blog.csdn.net/TIQCmatlab/article/details/121590311

延伸 · 閱讀

精彩推薦
主站蜘蛛池模板: 亚洲国产日韩欧美在线vip1区 | 26uuu成人人网图片 | 星空传媒在线视频 | caoporen在线视频入口 | 免费波多野结衣庭教师 | 日韩欧一级毛片在线播无遮挡 | 精品亚洲欧美中文字幕在线看 | 成人国产一区二区 | 精品欧美男同同性videos | 欧美a在线| 天堂欧美| 桥本有菜ssni-677在线观看 | 啪啪免费网址 | 国产成人高清亚洲一区91 | 色戒完整版2小时38分钟 | 美女扒开腿让男人桶爽免费gif | 四虎影视在线看免费 720p | brazzersvideo欧美最新 | 九九精品视频在线免费观看 | ass性强迫rape| 亚洲国产日韩成人综合天堂 | 毛片在线免费观看网站 | 成人啪啪漫画羞羞漫画www网站 | 国产精品免费综合一区视频 | 亚洲AV 日韩 国产 有码 | 完整秽淫刺激长篇小说 | 青青成人福利国产在线视频 | 久久亚洲精品AV成人无 | 四虎影视免费观看 | 日本肥熟| 欧美在线视频一区在线观看 | 狠狠躁夜夜躁人人爽天天miya | 午夜精品国产自在现线拍 | 性柔术xxxhd| 花核调教 | 青草福利在线 | 国产精品福利短视在线播放频 | 精品久久香蕉国产线看观看麻豆 | 四虎成人免费观看在线网址 | 欧美日韩精品一区二区三区视频在线 | 奇米777四色精品综合影院 |