Re: Comparing NSImages
Re: Comparing NSImages
- Subject: Re: Comparing NSImages
- From: Greg Guerin <email@hidden>
- Date: Fri, 24 Jul 2009 10:30:15 -0700
Benjamin Rister wrote:
Thanks, I didn't know if there was a cleaner way than doing it
pixel- by-pixel myself; the info on reasonable tolerances is also
quite helpful.
Image subtraction or differencing is an image-processing operation.
Consider looking in that domain. E.g. look for an Obj-C library that
performs generalized image-processing on NSImage types.
Also, some image-processing can be synthesized from image-compositing
operations and judicious use of constant (e.g. all-white, all-black,
etc.) images. Look at the formulas for the NSCompositeXX values and
apply some algebra.
-- GG
_______________________________________________
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