Re: analysing image to find blobs
Re: analysing image to find blobs
- Subject: Re: analysing image to find blobs
- From: Roland King <email@hidden>
- Date: Sat, 29 Nov 2008 19:28:32 +0800
No I know there's nothing like the code which will find things on an
image, but cocoa does have the primitive bits I think I need like
converting to a bitmap I can search. The best for me actually would
probably be converting to a bitmap with alpha channel only, then I can
search it byte by byte for things with alpha > threshold and that will
be enough. What I was looking for were the best and fastest ways to
get a PNG into such a bitmap .. or any other suggestions for looking
at the image pixel by pixel and determining which bits of it are
coloured .. after a fashion.
On Nov 29, 2008, at 12:48 PM, Andrew Farmer wrote:
On 28 Nov 08, at 20:18, Roland King wrote:
I have an image, it's PNG in this case although GIF/JPG are
possible. It's got a transparent background and a few well-spaced
coloured circles on it. Most of the image is blank.
I want to search the image and find the locations of the circles.
There's nothing really like this in Cocoa, but OpenCV has all sorts
of computer-vision functionality, including blob detection (and even
more interesting things, like face detection). Enjoy.
http://opencv.willowgarage.com/wiki/
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden