[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Octave 3.7.2+ Visual Studio
From: |
Alois Schloegl |
Subject: |
Re: Octave 3.7.2+ Visual Studio |
Date: |
Fri, 08 Nov 2013 17:36:26 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130922 Icedove/17.0.9 |
You can get v2.5.7 from here
http://pub.ist.ac.at/~schloegl/matlab/NaN/
On 11/08/2013 03:49 PM, ijourneaux wrote:
> Alois
>
> I am using NAN 2.5.5. Is it sufficient to rename kth_element.mex?
Renaming is fine. You might need to restart octave (I'm not sure whether
"clear function" is sufficient) to remove it.
> 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.
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://mailman.cae.wisc.edu/listinfo/help-octave
>