Prev: Problems with functions
Next: plotsc?
From: PinkLab on 21 Apr 2010 06:13 "aslak grinsted" <rek(a)phunck.cmo> wrote in message <ef2963d.1(a)webx.raydaftYaTP>... > Please do not write in all CAPS with lots of exclamation and question > marks. It is very annoying and probably why nobody has answered you > yet. Anyway i think this might do the trick. > > I=imread('c:\inputimage.jpg'); > O=zeros(size(I)); %output image... > for ii=2:size(I,1)-1 > for jj=2:size(I,2)-1 > neighborhood=I(ii+(-1:1),jj+(-1:1)); > O(ii,jj)=fuzzitup(neighborhood); > end > end I am also trying to do this neighborhood stuff, what is this fuzzitup variable? giving me error ??? Undefined function or method 'fuzzitup' for input arguments of type 'uint8'. Error in ==> RunMe at 43 O(ii,jj)=fuzzitup(neighborhood);
|
Pages: 1 Prev: Problems with functions Next: plotsc? |