• 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
Re: Fastest color detection in image?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fastest color detection in image?


  • Subject: Re: Fastest color detection in image?
  • From: douglas welton <email@hidden>
  • Date: Fri, 26 Sep 2008 11:07:45 -0400

On Sep 26, 2008, at 10:04 AM, Christian Klotz wrote:

Hi,

I'm trying to scan an image for existence of a given color. So I was wondering what the most performing way is to achieve this goal.

Take a look at the "vImage Programming Guide" and the associated reference. vImage contains several APIs to do histogram generation. I'm sure one of them will be just perfect for you.


Basically I want to find out which amount of the given color that image has.
Furthermore, are there ways to find all regions of the image having the color? So it would be easy to show the user which parts of the image are matching.

Have you taken a look at any of the Core Image filters? Perhaps something like CIColorCube or one of the compositing filters might be what you need to highlight the region of a selected color.


additionally, if you can't find what you need, you can always write your on custom filter using the Core Image Kernal Language. (for more info, see the Core Image Programming Guide)
_______________________________________________


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


References: 
 >Fastest color detection in image? (From: Christian Klotz <email@hidden>)

  • Prev by Date: Re: Porting 'operator' to Obj-C
  • Next by Date: Re: Porting 'operator' to Obj-C
  • Previous by thread: Fastest color detection in image?
  • Next by thread: Re: Fastest color detection in image?
  • Index(es):
    • Date
    • Thread