From: Charles Yeomans <[EMAIL PROTECTED]>
Date: Mon, 25 Sep 2006 11:52:28 -0400
On Sep 24, 2006, at 8:24 PM, Theodore H. Smith wrote:
Firstly... I think you should give up.
Unless you want a slow solution.
Or do it in C, and be prepared to use some mind bending algorithms
to optimise it ;)
It's not going to be fast in RB, that is all. You need low level
access for it to be fast. You could petition for RB to have C-like
pointers, perhaps... and to get pointer access to pictures also.
And an optimising compiler that is good at optimising pointer code.
You're out of date. Additions to REALbasic in recent versions make
it possible to write much faster code in many situations.
Than C?
Or do you mean in taking on this task of doing blob detection? I
suppose, RB's floodfill, and then perhaps an image difference call,
would make it not so bad.
Only problem then is knowing where to start the floodfills from, in
the first place. And then knowing which blobs overlap. Actually
matching shouldn't be too hard if you reduce it to an X,Y point, you
could store it as a string in a dictionary, like "134,82".
--
http://elfdata.com/plugin/
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>