image processing with parallel approach

clc
clear all
s=load('matlab.mat','imagest1','imagest2','Train_Number');
imagest1=s.imagest1;
imagest2=s.imagest2;
Train_Number=s.Train_Number;
eyeimage=imread('C:\Users\PRIYAM\Desktop\project\project pictures and links\CASIA Iris Image Database (version 1.0)\002\1\002_1_3.bmp');
%imshow(eyeimage)
radpixels=50;
angpixels=1000;
[circleiris, circlepupil, imagewithnoise,] = segmentiris(eyeimage);
[polar_array, noise_array] = normaliseiris(imagewithnoise, circleiris(2),circleiris(1), circleiris(3),circlepupil(2), circlepupil(1), circlepupil(3),...
eyeimage,radpixels,angpixels);
subplot(2,2,2)
imshow(polar_array)
%imshow(polar_array)
[icodeV,icodeH]= irisfeature(polar_array);
for i=1:Train_Number
HD=0;
for j=1:500
HD=HD+((xor(icodeV(1,j),imagest2(i,j))+xor(icodeH(1,j),imagest1(i,j)))/2);
end
hd(i)=HD;
end
loc=0;
for i=1:Train_Number
if (hd(i)<149.5)
loc=i;
fprintf('image matched with image number %d \n with hamming distance %d',loc,hd(i));
end
end
if (loc==0)
disp('image not matched with any image');
end;toc
How can i parallelize this code snippet??

1 件のコメント

shital shinde
shital shinde 2020 年 2 月 21 日
you done with the above code in term of parallelization ?? If yes, please share with me. thanks.

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeRead, Write, and Modify Image についてさらに検索

質問済み:

2012 年 2 月 18 日

コメント済み:

2020 年 2 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by