help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Octave 3.7.2+ Visual Studio


From: ijourneaux
Subject: Re: Octave 3.7.2+ Visual Studio
Date: Fri, 8 Nov 2013 06:49:29 -0800 (PST)

Alois

I am using NAN 2.5.5. Is it sufficient to rename kth_element.mex? I did
notice that there was a big difference in the size of kth_element.mex
between 3.6.4 (54kb) and 3.7.2+ (9kb)

This is strictly pseudocode. I will try to package up a sample on the
weekend.

I am not "trying" to do anything fancy with median.

AID=imread(T);
AID6=imsmooth(AID,'Gaussian',6);
Sim=size(AID6);
AID8=AID6(20:Sim(1)-20,20:Sim(2)-20);
Sim2=size(AID8);
                
incri=floor(Sim2(1)/768)
incrj=floor(Sim2(2)/768)
                
for i=1:incri;
      for j=1:incrj;
        gu=double(AID8(1+(i-1)*768:768+(i-1)*768,1+(j-1)*768:768+(j-1)*768));   
        
        imared(i,j)=std2(gu);                           
        gu2=AID8(1+(i-1)*768:768+(i-1)*768,1+(j-1)*768:768+(j-1)*768);
        immedian(i,j)=median(gu2(:));
        gu3=imresize(gu2,0.333334,'nearest');
      end
end

Take Care.



--
View this message in context: 
http://octave.1599824.n4.nabble.com/Octave-3-7-2-Visual-Studio-tp4658928p4658948.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]