Hallo, while segmenting a skeleton, I would like to keep the information which segments are touching. Hence I store for each branching point a list of pointers...
... C extension types need to provide a hash function in order to be hashable. (Point should have one -- it could just be x * 2^16 + y or something simple). ...
On Fri, 9 Dec 2005 10:21:52 -0500 ... Ah thanks! The following now works: class hashablePoint(Point): def __hash__(self): return (self.x << 65536) + self.x m =...
Hi, I would like to create an image with the command img=Image((0, 0), Dim(20, 50), ONEBIT) ... Traceback (most recent call last): File "test_runlength.py",...
It looks as if you are trying to construct the argument descriptor "Image" from args.py, not an actual Gamera Image as defined in core.py and imageobject.cpp....
Michael, actually I got this error message from the MusicStaves plugin ... Traceback (most recent call last): File "test_runlength.py", line 22, in ? ...
Sorry to be short with the answer --- don't know when I'll have the chance to actually test this. The quick fix is to add "from gamera.core import Image" to...
... Weird, this seems to work. But can you tell me, why the statement from gamera.core import * does not import 'Dim'? My test script included that import...
... My guess is that the Dim imported is later overridden by an import from gamera.args or gamera.plugin, but just a guess -- if you send the whole script it...
Hallo, currently I am trying to add a new free plugin function (least_squares_fit_xy) to structural.py in the gamera sources. Although I have implemented this...
Hello everybody! After porting the MusicStaves toolkit to Gamera 3, some strange behaviour occured when using the GUI functions of the StaffFinder class: When...
On first glance, it seems like a signed/unsigned bug. (Look at the incredibly large value of y1_). I would look into the clipping function and see if there's...
Hi all! ... Aah, I found something I overlooked yesterday (it was late ;-)). In fact, I am passing a -1 value to be the ul.x parameter of draw_filled_rect. But...
Hi again! For convenience, I created a patch for draw.hpp. Use in gamera root dir entering: patch include/plugins/draw.hpp < draw.hpp.diff Any suggestions? ...
Hi again! Ok, I know I'm annoying, but here's another one: I discovered that passing the negative value to draw_filled_rect() does happen in the draw_marker()...
Hallo, just found the solution to an older posting (just in case someone runs ... I have noticed that legend(handlelen = 0.05, handletextsep = 0.02) solves the...
Hallo, the least_square_fit function in gamera cannot be used for lines that are nearly vertical. Hence I have written a new function "least_squares_fit_xy"...
I'm surprised you're getting this only on OS-X, but I'm pretty sure it's benign. Basically the problem is that Image(Point, Dimensions) is kept around (but ...
Hallo, some time ago there has been some discussion about adding template macthing (i.e. a cross correlation plugin) to gamera. I have noticed that there are...
On Fri, 6 Jan 2006 09:45:52 -0500 ... A question about FFTW3. I have seen that I can install FFTW from Fink on OSX, which will put it into /sw/[lib|include]. ...
On Fri, 6 Jan 2006 09:45:52 -0500 ... While compiling, I have obtained a number of get/set deprectaion warnings. Is it possible that this toolkit has not yet...
That's an excellent question... I haven't tried this myself as you can install it yourself simply with: http://www.fftw.org/fftw-3.0.1-fma.tar.gz . If you are...
On Fri, 6 Jan 2006 09:45:52 -0500 ... And here is yet another question: It seems that the entire toolkit operates on COMPLEX images which I have not found...
It hasn't really changed at all in the past year since nobody has been interested in using it :) Fortunately the docs do build, so the warnings shouldn't...