Find/enumerate all non-white pixels in a CGImage?

I need to know if there are any non-white points in a CGImage and I can′t think of a light method for doing it.

Can anyone suggest a method?

Upvotes: 1

Views: 280

Answers (1)

Peter M
Peter M

Reputation: 7493

Is this for iPhone et al or for Mac OSX? If the former then you have to do it manually. If its the latter then you can use the Core Image Filter CIAreaHistogram.

Upvotes: 1

Related Questions