« first day (76 days earlier)      last day (3159 days later) » 
03:00 - 22:0022:00 - 00:00

10:00 PM
but yes, I'm quite sure I did it properly. I centered the spectrum, generated a grid of coordinates that correspond to -pi to pi for horizontal and vertical
do an element-wise multiplication, then uncentre the spectrum and inverse.
but I'm pretty sure it's aliasing. I don't know how to fix it... I thought of padding, but I'm not sure how much to pad the image by.
I also tried upsampling the FFT... sampling by twice as many points in both directions... or even three times. Still the same effect.
 
@rayryeng Exactly the same?
 
I normally ignore e-mails sent to me asking me to fix their code, but because I don't know how to fix this problem, it has been bothering me
 
Changing the sampling should strongly affect aliasing, yes?
 
@AndrasDeak - Yes, that's what I thought!
@AndrasDeak - It didn't change a thing.
 
So maybe it's not aliasing:)
As I imagine, aliasing is Fourier components "bouncing off" from the wall given by Nyquist/Shannon's rule or whatever you call it.
 
10:02 PM
I'm stuck... which is why I asked Luis for help lol. It's not so much as helping the guy who emailed me...
it's for me to understand why this is happening.
 
If you move the wall, the fake peaks should definitely move.
 
Still opening the files... my laptop is terribly slow
 
If the aliasing only occurs after the derivation, how would that look like? Any ideas?
 
But aliasing comes from sampling, not from applying a filter
The derivative is a (high-pass) filter
 
Yeah, I'm not sure what I wrote makes any sense.
 
10:05 PM
@LuisMendo - Oh that's fine sir :) take your time.
It's a relatively small image.. what the person sent me. It's only 311 x 311.
 
Yes, the problem is my old laptop :-)
 
And how do you sample? Depending on resolution?
 
@LuisMendo - oh :)
@AndrasDeak - For images, the default is that the output 2D FFT is the same size as the image. One point per pixel
if you want to upsample, then there's interpolation involved.
 
OK, I suspected something like this:)
Could it be that the integer factor of upsampling accounts for the lack of change in the aliasing?
Would it be messy to use entirely interpolated points, which is roughly incommensurate with the base frequency?
 
sorry hold on
juggling too many things at one time
 
10:18 PM
I'm gonna go anyway. Just contributing to the noise:D
I need my beauty sleep, gonna fly home tomorrow:P
 
lol ok boss. have fun!
 
10:36 PM
Check the answer to my weird question! stackoverflow.com/questions/32583295/…
he has done a fantastic job
 
chappjc is the MEX master
expect to always get an answer from him if you ask MEX questions.
 
yeah. Still, the question was bit weird, and he did make a brilliant answer!
I also learned today to trust CUDA docs even less!
Was using code from their samples and its not 100% good
To query devices it enables them all, unabling the computer to actually use them fur graphics stuff!
 
CUDA docs blow!
 
CUDA docs are the reason why SO Documentation will work
 
11:01 PM
@AnderBiguri - yes!
@LuisMendo - Did you manage to run it?
 
11:39 PM
have you guys seen this yet?
 
@OneRaynyDay - not yet
 
it's easily one of the strangest things i've seen today LOL
I wonder if stack overflow really made this
also it;s strange that andrew ng only has octave tutorial in his videos
I feel sort of out of place by using matlab :'(
 
Octave syntax and MATLAB syntax are pretty much the same
there are some subtle nuances, but any MATLAB users can definitely use Octave and vice-versa.
which is why I can also answer Octave questions.
 
Ahh, I see :)
 
Yeah. Just because the name is difference doesn't mean the syntax is different. It is mostly the same.
 
11:43 PM
Hmm.. then isn't octave effectively driving matlab out of business if it's free and has the same syntax?
I guess except for some very special features that are super specific in matlab
 
not necessarily.
MATLAB has a ton of more toolboxes and has a lot more support than Octave.
you seriously get what you pay for. Most of the toolboxes in MATLAB are not available in Octave.
there is a developer community though in Octave, and one of their jobs is to try and replicate the toolboxes as much as possible.
However, there is a huge difference in the image processing toolboxes between both versions.
Octave's image package has less than half of the functions that MATLAB has.
even though they will eventually be implemented, it is currently a slow process.
It's mainly volunteers... that's what you get with Open Source software.
MATLAB is PAID software and so naturally there will be more support and more development to it.
There are also many toolboxes that MATLAB has that Octave doesn't have.
I'm not putting down Octave... it's a great alternative for scientific computing, but if you want to develop any serious applications, you're going to need the toolboxes, and MATLAB has a lot more to offer there... but you get what you pay for of course.
I am currently not paying for it. I'm using my university's Site-Wide License as an alumni.
 
hello guys
 
Ahh I see :)
I understand! I guess to an untrained eye they seem about the same
but after development and experience one can really tell the difference
 
@legends2k - hi!
BTW, this is an interesting website
It's basically Octave online. It originally started out by a couple of people taking the ML course.
then they decided to make it available to everyone. A lot of the people who took the ML course used it
You basically don't need to install anything. Just use Octave online.
 
oooh an online editor? that looks awesome
 
11:52 PM
Yup. It's great when you're away and you're using a computer that isn't yours and you still want to do stuff.
It also allows you to submit assignments through their interface
so it's a nice integrated environment for learning on the go
 
ah yeah - that's awesome! Thank you Ray :)
Never heard about it until now
Seems like there's a lot of people taking the ML course huh
 
@OneRaynyDay - Yup... it's a very popular course.
 
Oh, and I guess also the fact that Andrew created coursera itself.. haha
 
He's co-founder. He co-founded it with Daphne Koller.
I tried taking her Probabilistic Graphical Models course... I ended up dropping it because it was too much work
and I tried taking it the same year I was defending my PhD.... not a good idea lol
 
@rayryeng Found it!
I just sent you an email
 
11:56 PM
Ahh that sounds very complicated LOL
 
@LuisMendo - Qué pasa?
 
Defending your phD? You need to defend it? :o
 
@LuisMendo - wow... was that seriously it?
face palm
@OneRaynyDay - It's a term used in academia... to "Defend" your PhD thesis.
 
Yep. Periodic extension, and difference not derivative
 
it basically means that you are to present it to an evaluation committee and they assess its merits.
if you pass, you get your PhD... that's after you pass the qualification exams and courses of course.
 
11:58 PM
Ahh, okay interesting. I imagined a phD jousting tournament
 
hahahaha
yeah totally. I'd sport the MATLAB logo.
@LuisMendo - How long did it take you to figure that out? I will also need to update my post with this information. It is currently not correct.
 
LOL "And today's PhD joust is brought to you by MATLAB"
 
It took me quite a while, but just because I was too dumb to see. I tried the ifftshift, fftshift (sometimes I get confused with that, but they were right)
 
03:00 - 22:0022:00 - 00:00

« first day (76 days earlier)      last day (3159 days later) »