he GIMP is an extremely powerful program and animation in the GIMP can be achieved with layers. That’s why I can get so much work done just with Free software and GNU tools like gnuplot. This includes some of the following new examples, which are done by taking screenshots (from the GIMP), stacking them up as layers, and then saving them as a GIF file with the animation option enabled.
The following file, an animated GIF image which comprises 8 frames with 600ms setting them apart (click the image to zoom), shows my new algorithm tracking the heart’s boundaries in a sequence taken from the same slice, which prevents sudden, unregistered change in the intensity values near the point being probed. 16 points are initially fixed in a region, equally spaced although that is not a strict requirement because the program takes any list of points and handles each one in turn. The points are separated by a 5-pixel distance in the x and y axes although that too can vary independently based on parameter input that sets a grid (better initialisation would look for edges of interest). The shown arrows are narrow and crude although an option exists for making them thick (which then hides interesting parts of the image). The shuffle parameters in this case involve a frame size of 9×9 pixels, a shuffle radius of 5 pixels, and a summation of pixel-wise differences.
A colour representation of the same images sequence is shown below (click to zoom).
Another newly-implemented method looks at another measure for a window of pixels taken from consecutive frames. It considers a minimum of pixel-wise differences in a given range rather than take the average difference. The results obtained using each of these methods cannot be easily compared without a simplified synthetic set and a proper study would need to involve systematic experiments that look at how varying window size, radius, and calculation method affects overall performance. There is quite a project right there, but it only involves tracking, with or without tagging. Tags can help in identifying good landmark points to start with — points that define an anatomically-meaningful edge to start from and track as the sequence of frames progresses. Eventually, providing a formula for normalising a measure of similarity would be nice. Such a normalisation method — if properly applied — gives a new way of finding landmark points ‘on the move’. Doing so using non-rigid registration (NRR) is not possible for the heart as there is hardly a one-to-one correspondence between points (too much movement). The hope is that by employing a fast tracking algorithm with a good transform which adjusts itself for image intensity, size et cetera, it will be possible to identify edges and perform localised measurements, perhaps even do statistical analysis based on different sets of videos (long-term goal). These ideas are not far fetched and the body of work already done in this area ought to be explored. The novelty is the transform being used to quickly calculate similarity wrt neighbouring points, so existing work look at how to adjust parameters so as to get better results. In this particular problem domain, tracking the heart’s contours reliably and robustly enough is the objective, however it is not simple to do this ‘on he fly’ (speed of video playback for example).
EAKS are often just material which was supposed to be in the public domain all along. Copyright is not the issue. Since it was kept secret (often for no truly justifiable reason), input which was contained in it assumed no moderation would be needed. As such, secrecy resulted in mischief, rudeness, and often the perpetuation of misconduct, which relied on lack of wider awareness.
As I explained repeatedly over the years, I too was bullied for leaking documents which ought to have been out there all along. This is the main reason I am willing to dedicate so much time to defence of Wikileaks. I too may soon leak some more documents and I don’t want to get the “Assange treatment”. Nobody does. “EVERY attack now made on WikiLeaks and Julian Assange was made against me,” writes Daniel Ellsberg this week. For those who do not know, Ellsberg was partly responsible for ending the bloody Vietnam war.
Leaks hurt. Truth hurts, too. But always bother to check who it hurts the most. Therein lies the answer regarding the ethics of a leak.
The word “leak” — like “whistle-blower” — has a negative connotation. Let’s call leaks “enlightenment” and whistle-blowers “truth revealers”.
HAD worries that GNU Octave would not support some of the advanced graphing functionality of MATLAB, but with the help of tools like gnuplot, Octave stays on par in this game (bar some OpenGL enhancements). Much to my surprise, the 3-D charting and graphing software in GNU Octave. Here are some visualisations of cardiac images I work with.
Summary: Another ordinary episode with a lot of interesting topics and news
ODAY’S show is a mixed bag of GNU/Linux, antiquated law, computer games, and Microsoft pretending to be “open”. OpenBytes will publish the show notes very soon. We suffered from unusual connection difficulties which sometimes made the audio a little poor in terms of quality, but overall it should be easy to understand throughout.
ODAY I decided to step up with my support of Wikileaks, which I perceive as a test case for free speech and Internet freedom regardless or irrespective of the impact of what they are doing. Therefore I changed my usual avatar in Twitter and Identi.ca to a modified version of a banner calling for the release of Manning, the leaker who is the real hero in this case (Assange is the messenger/publisher).
Summary: Issues of the day are debated and treated as something gentle to end a Wikileaks-filled news week with
ODAY’S show is the first show of this month. Rather than cover a lot of news we picked topics which we selected in advance all of for us to cover without preparation. This show is shorter than usual because it was recorded around midnight and OpenByteswill publish the show notes very soon.
VERY program has areas worth improving. GNU Octave is no exception and I’ve been trying to submit bug reports (via Savannah) only to find that it has just been compromised (therefore temporarily down), so in the mean time, here is the gist of issues that I found so far.
While Octave is proving to be perfectly compatible with all the basic functions in MATLAB it also proves to be ‘compatible’ with MATLAB’s weight problem. Octave’s core is generally light and much faster to start than MATLAB’s, but when it opens child windows (e.g. ImageMagick), then it suffers a limitation due to the maximum number of allowed windows. For some reason, resources appear not to be recovered when images are closed (it may be leaking memory too), so X.org limits are sooner or later reached. This is a bizarre issue that’s hard to reproduce (in Fedora I cannot even open such windows [1, 2, 3]). But anyway, that’s mostly a performance issue. Closing an Octave session also helps as once it’s restarted windows are numbered from 1 upwards once again.
When it comes to vertical listing of files the UNIX way, there is something a little unexpected in Octave’s implementation of it (which may or may not be compatible with other software). The “ls” function, unless it gets invoked with specific options, will pick its data horizontally rather than vertically from standard I/O in the system call. To illustrate this point consider the following:
The arrangement is supposed to be on a column-by-column basis (the real ordering), but in the case of an assignment the data gets flattened in a way which does not preserve the original file ordering (alpha-numeric in this case).
By all means move from MATLAB to GNU Octave because these issues are not critical and some may be matters of convenience rather than practicality. If anything, this proves that Octave has only minor creases and no major deficiencies. That’s all I could find after heavy usage.
Retrieval statistics: 23 queries taking a total of 0.130 seconds • Please report low bandwidth using the feedback form
Original styles created by Ian Main (all acknowledgements) • PHP scripts and styles later modified by Roy Schestowitz • Help yourself to a GPL'd copy
|— Proudly powered by W o r d P r e s s — based on a heavily-hacked version 1.2.1 (Mingus) installation —|