Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Mar 20, 2011, 01:45 PM   #1
Abunga
macrumors newbie
 
Join Date: Jan 2011
Colour comparison?

Heya all,

I am looking at which idea to put forward for an app and wondering if the SDK has classes that allow the IPhone to take a photo and then analyse the image for a colour? (Almost like a piece of comparison code that asks if certain colours exist in the image taken.)

Probably a stupid question but thought i'd ask the Rumors Collective Mind.
__________________
If you're the PC, I'm happy to be the Mac!
(Apple Imac 21.5" / Iphone 3GS/ HP Mini 210 Netbook)
Abunga is offline   0 Reply With Quote
Old Mar 20, 2011, 02:03 PM   #2
robbieduncan
Demi-God (Moderator)
 
robbieduncan's Avatar
 
Join Date: Jul 2002
Location: London
Not directly no. There are ways to get the pixel data of an image that you could then iterate over and do whatever you want. But you have to write it all yourself: the iteration, the colour comparison etc.
robbieduncan is online now   0 Reply With Quote
Old Mar 20, 2011, 02:45 PM   #3
firewood
macrumors 603
 
Join Date: Jul 2003
Location: Silicon Valley
There are already at least a half dozen apps in the store that do this, but not by just calling an API or existing library function.
firewood is offline   0 Reply With Quote
Old Mar 20, 2011, 03:12 PM   #4
Abunga
Thread Starter
macrumors newbie
 
Join Date: Jan 2011
Thought So...

Thanks guys, I thought there might be a way, just wasn't sure.

I want to use it as an way of forming a basic ID.

For example, if an image was taken of a red car, the app would call ALL red car images from its library to show the user.

Either way, looks like I may need to look at the ideas you have given.

Appreciated, thanks.
__________________
If you're the PC, I'm happy to be the Mac!
(Apple Imac 21.5" / Iphone 3GS/ HP Mini 210 Netbook)
Abunga is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
UK carrier comparison szolr iPhone 64 Nov 24, 2011 08:07 AM
Colours Book - Your baby's first colours book! jasonleung8866 iPad Apps 0 Oct 8, 2011 12:50 AM
UK network tariff comparison spreadsheet - including sim-only cost comparison Sardukar iPhone 12 Jun 25, 2010 05:56 PM
Colour Issue: Colour LCD? Adobe RGB. MacWin Design and Graphics 4 Mar 1, 2008 11:24 PM
VPC Performance Comparisons mmcneil General Mac Discussion 3 Feb 2, 2002 05:41 PM


All times are GMT -5. The time now is 04:43 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Privacy / DMCA contact / Affiliate and FTC Disclosure
Copyright 2002-2013, MacRumors.com, LLC