Hi, Gamera offers a plugin function called "clip_image()", but this seems to return just the intersection of 2 images. I am looking for a function to get a...
... Yes. In Python: view = image.subimage(ul_y, ul_x, nrows, ncols) returns a view on the image. The coordinates are relative to the original underlying data....
... There is no example image with training data available at the moment, though I plan to make one available in the near future. All of the collections I...
Will newimage = image.clip_image(Rect(p1y, p1x, p2y - p1y, p2x - p1x)) or something along those lines not do the trick? That's roughly what I've been doing....
No, it's definitely not "wrong". Both will work. David's approach has a little more overhead (probably not enough to care about -- this is Python after all),...
Luis, I hope I can clarify my earlier response. I apologise if it was confusing. I do intend to do my best to help anyone interested in Gamera on this list,...
Hallo, while looking through all plugins I have noticed that there is currently no convolution plugin. Before we implement it ourselves (based on the neighbor9...
... Yes. Karl put in a fair bit of work to ensure it was easy to use Vigra code from Gamera. The process is not fully automatic, however -- you will have to...
... I was thinking of the convolution with "kernels", which might help us in smoothing some images. Rather than adding a plethora of functions for various...
... The second option is better, as it allows for non-square kernels. However, I think the most powerful option will be for image.convolve to take a FloatImage...
... The typical C++ approach would be to overload the FloatImage constructor, so that you could write kernel = FloatImage(A) but this does not seem to be...
... It's not impossible, but requires a little fiddleyness with variable length and default arguments, which would also add a little runtime overhead. It's...
I've been looking at this whole Gamera animal and am wondering... The classifier goes through and guesses against the glyphs... Once enough training is...
... Do the following with the classified glyph list: a) sort by offset_y and offset_x using the Python sort method with an appropriately defined comparison...
Thank you, Christoph. I agree with your response. Just one thing to add and one small correction... Transcribing a page of text turns out to be fairly...
... This reminds me to come back to our discussion about "confidence" (sorry if that becomes tiresome): Is there a way to get the class name of the majority...
... The current behavior is that the first result is always the majority of k, *whether or not it has the highest average confidence*. To put it another way,...
Thank you friends. I'm fairly good at Perl and PHP but am a bit lazy about trying to pick up Python. Sorry... I guess I'll need to roll up my sleeves and...
Hallo, currently I am testing the rotateShear method for skew correction of our input documents, and have some questions about it. 1) Is there a way to choose...
All, There is a slew of additions to Gamera to announce: - convolution - arithmetic - improvements to draw.py - utilities to convert images to/from nested...
All, It is my pleasure to announce that Robert Ferguson has joined our team at the Digital Knowledge Center. Robert has assisted with Gamera OS-X-related...
Well team happy... I spent the weekend wrapping myself in Python to get a better feel of what's going on. I imported roman_text and it seems to be meeting with...
... I'm away from a Gamera install at the moment, so I can't test this, but have you tried output.append(roman_text.make_string(section.lines)) ? Mike...
Hallo, I am trying to return a list of IntVector's from a plugin function. The usage in python should be something like: image.bla() # return value: ...
Thank you Mike, That worked just fine... I had to remark out line 166 for it was creating errors... I then had to convert my training database to the unicode...
I'm not certain what might be going wrong. Are you certain that the image is unusable? Does it lead to any sort of exception (as opposed to warning)? I have...
Thanks Michael, I'm not sure either... I ran it from a dos console and found that the script is actually crashing in roman_script.py... I'll need to ponder...
I can run this code from the GUI and the image errors only show up in the dos console.... In the GUI I see the following errors: ERROR: Name not found: _SPLIT...