Re: Error =/
- From: dpb <none@xxxxxxx>
- Date: Fri, 31 Aug 2007 08:15:55 -0500
Hugo wrote:
brain = imread('81am','jpg');
figure(1);
imshow(brain);
Fbrain = fft2(brain);
Fv = fftshift(log(abs(Fbrain)+1));
figure(2);
out = uint8(Fv * 255/max(Fv(:)));
imshow(out);
imwrite(out, 'fft_brain.jpg');
[h,w] = size(brain);
passa_baixas = baixas(100, 4, h, w);
figure(3);
out = uint8(passa_baixas * 255/max(passa_baixas(:)));
imshow(out);
imwrite(out, 'passa_baixas.jpg');
produto = Fbrain .* passa_baixas;
I'm getting a error in the last line, it says:
??? Error using ==> .*
Number of array dimensions must match for binary array op.
I tried everything I know but didn't find out the answer.
What do size(Fbrain) and size(passa_baixas) return?
That should lead to the problem and one would assume a way to fix it...
--
.
- Follow-Ups:
- Re: Error =/
- From: Hugo
- Re: Error =/
- References:
- Error =/
- From: Hugo
- Error =/
- Prev by Date: Re: compression of sound
- Next by Date: Re: drawnow function problem
- Previous by thread: Error =/
- Next by thread: Re: Error =/
- Index(es):
Relevant Pages
|