• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
analysing image to find blobs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

analysing image to find blobs


  • Subject: analysing image to find blobs
  • From: Roland King <email@hidden>
  • Date: Sat, 29 Nov 2008 12:18:03 +0800

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.

My first thought was to convert to some kind of bitmap, perhaps one which is greyscale or even one-bit per pixel, using some of the standard libraries, then go hunt the bitmap. What I was looking for here was a couple of pointers to what classes and methods in the documentation would give me a good place to start. eg a good way to convert a PNG to a bitmap, how to flatten the colour space right down.

If someone has something like 'read about these two classes, take a look at these 4 methods and you probably want this kind of transform', that would get me going in the right direction.

You can probably assume that if I get to the point I have something I can search across and determine for each point if it's coloured or not, I can manage the 'finding the center of the circle' bit of the algorithm. I just want to get the data into the best format for it as fast as possible using as much framework as I can.

Thanks

Roland
_______________________________________________

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


  • Follow-Ups:
    • Re: analysing image to find blobs
      • From: Andrew Farmer <email@hidden>
    • Re: analysing image to find blobs
      • From: j o a r <email@hidden>
  • Prev by Date: Re: NSMutableArray vs NSArrayController
  • Next by Date: Checking One Array Against Another
  • Previous by thread: Re: Checking One Array Against Another?
  • Next by thread: Re: analysing image to find blobs
  • Index(es):
    • Date
    • Thread