Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

matlab how to for loop

plodosplodos Posts: 2Member
main.m
[code]
close all;
clear all;
I=imread('k052.jpg');
segment=skin(I);
imshow(segment)

[face_a,skin_region]=face(I);

figure, imshow(face_a)
figure, imshow(skin_region)

template=imread('b.jpg');


nframe=eyematch(frame,thresh,b);
for i=1:N
????????????
end
[/code]

Problem is that, I have 126 pictures...
I need to write a FOR LOOP for match the pictures..

The original source code is here with functions...and picture names k001.JPG, k002.JPG, k003.JPG, k004.JPG, k005.JPG, k006.JPG, k007.JPG, k008.JPG, k009.JPG, k010.JPG, k011.JPG, k012.JPG ....

http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=13716&objectType=FILE (source code, pictures all informationss)

Sign In or Register to comment.