CIFilter Kernel Pixel Position

6 views
Skip to first unread message

Andy Brace

unread,
Nov 21, 2011, 4:53:24 PM11/21/11
to quart...@lists.apple.com
I have a filter/kernel that is used to calculate a median pixel value from the surrounding pixels. The problem I encounter is image edge detection. If I try to grab pixel values outside of the image, it corrupts my median calculation. Has anyone come up with a solution to determine if a coordinate value is within the bounds of the image?

Thanks

Andy Brace

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list (Quart...@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartz-dev/quartz-dev-garchive-50095%40googlegroups.com

This email sent to quartz-dev-g...@googlegroups.com

Reply all
Reply to author
Forward
0 new messages