Skip to content

{ Monthly Archives } December 2007

Finished Rewriting Routines

I have finished rewriting all the subroutines now and I have manage to increase the speed even more. When rewriting, I got rid of any grossly underperforming code and now at 100mm/h it runs through in just under a second.
But once again, the errors are still plaguing the system. At this rainfall rate [...]

Sound Libraries for Qt

Just been looking around for some open source sound libraries to work in Qt, since Qt has no native support for low(ish) level access.

http://www.libsdl.org/  - Looks quite complicated
http://www.portaudio.com/trac/wiki/TutorialDir/TutorialStart - Again looks quite complicated
http://www.music.mcgill.ca/~gary/rtaudio/ - Looks the best to me.  Object oriented, simple, I’ll try this first.

Slight error in Multilateration Routines

After a knock in the right direction from Kevin, I found a slight error in the Multilateration routines.  When simplifying U, we chose points on the edge of the tank to solve for.  The point which is at the top right of the tank was wrong.  I was solving for x^2+y^2 = 1.  I should [...]

Facial Recognition and NFX Software

I would like to have a play with facial recognition algorithms, so I had a quick sgeggy on the net to see what I could find.  I found quite a few:

Face Recognition Workshop 1 and 2

Eigeface tutorial in Matlab
Face Detection in c# (CodeProject)
Motion Detection in c# (CodeProject)
Video Survelliance in c# (CodeProject)

Would be great if I [...]

Final output from the Disdrometer test

Well here it is. A good couple of months worth of work summed up in a single image. Says a lot doesnt it…

Source of the final errors

I have confirmed that the source of the errors in the newest program is definatly because there is a chance that a random combination of pulses could produce a valid output. So I think the only way to mitigate this is to also check the value and add that to the error.
Plus there are [...]

Chosen a Language, Subset and IDE

I think I have finally chosen all the things I need to get cracking with the real software. No more of this nancy Matlab.
Ive chosen C++, mainly because it will be more beneficial to me in the future.  Companies really need you to know c++, and I can learn C# on top of that if [...]

Record Deletion Update

As I thought, by changing the code to copy the good records rather than trying to delete the bad ones is a million times faster.  The 20 second code from yesterday is now down to 8 seconds.  Now the real possible combination sorting isnt even on the profiler any more, its that fast.  The slowest [...]

More Speed!

Found something very interesting with the profiler. In the file “Find_Best_Combination.m”, line 56, there is the code:
Possible_Combinations(Temp_Index,:) = [];
Line 56: Possible_Combinations(Temp_Index,:) = []; 220223 Calls, 7.095 s
So basically it takes for ever to delete a record that is in the middle of a set of data. Maybe instead of deleting a record, I [...]

New Working Multilateration routines

Note: What I do need to do is create some new tests to see if we are actually capturing the correct drop pulses, or just collecting combinations of pulses and pretending they are a drop. Causing not 1, but 2 gross errors in the data. I might leave this until we start writing [...]