Re: link all the code
- From: "khoo " <jim_khoo@xxxxxxxxxxx>
- Date: Sat, 30 Aug 2008 10:49:01 +0000 (UTC)
Looks to me like you should investigate cell arrays.
numimage = 5;
x = cell(numimage,1);
B = cell(numimage,1);
y = cell(numimage,1);
for K = 1:numimage
imagename = sprintf('image%d.jpg', K);
x{K} = imread(imagename);
B{K} = double(x{K});
y{K} = abs(fftshift(fft2(B{K})));
end
and so on.
how to do the loop for it??as you can see..each image use
same loop..but i want use same loop but different images
.
- References:
- Re: link all the code
- From: Walter Roberson
- Re: link all the code
- Prev by Date: convertion of image
- Next by Date: Re: Problem reading lines from a serial device
- Previous by thread: Re: link all the code
- Next by thread: Re: link all the code
- Index(es):
Relevant Pages
|