tag:blogger.com,1999:blog-9199573357345606334.post2053791234985382976..comments2020-07-31T10:52:03.557-07:00Comments on From a remote village: Cocoa Application with custom Core Image filter 4: packaging the filter as an Image UnitPaul Franceushttp://www.blogger.com/profile/11557290901923425436noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-9199573357345606334.post-62389722182246178432007-05-14T04:37:00.000-07:002007-05-14T04:37:00.000-07:00Daniel-No, I've never tried it with Core Image Fun...Daniel-<BR/><BR/>No, I've never tried it with Core Image Fun House, sorry.<BR/><BR/>PaulPaul Franceushttps://www.blogger.com/profile/11557290901923425436noreply@blogger.comtag:blogger.com,1999:blog-9199573357345606334.post-2242226119968997692007-05-14T03:20:00.000-07:002007-05-14T03:20:00.000-07:00Hi Paul,have you ever tested this filter with the ...Hi Paul,<BR/><BR/>have you ever tested this filter with the "Core Image Fun House"?<BR/>It loads the Image Unit without any problems and it seems to work, but not in the way you're used to it from all the other filters in the Fun House:<BR/>the sliders are not very responsive (they are really hard to slide!) and the modification takes long or is applied when you deactivate and then reactivate the filter...<BR/>Can you confirm this behaviour? I'm looking for a solution to this, but so far nothing worked out.<BR/><BR/>Thanks and greets,<BR/><BR/> DanielDanielhttps://www.blogger.com/profile/12902250437347097240noreply@blogger.comtag:blogger.com,1999:blog-9199573357345606334.post-17515637785159869942007-05-11T14:01:00.000-07:002007-05-11T14:01:00.000-07:00Daniel-I'm glad you found the posts useful. I feel...Daniel-<BR/><BR/>I'm glad you found the posts useful. I feel like I'm just getting started with this myself.<BR/><BR/>Please make use of this code in anyway you want!<BR/><BR/>As far as clamping, I don't really have an official answer for you except that I think the system can really only display values up to 1.0, so clamping is not needed. For absolute correctness you probably should do that, and I'm sure that there is somewhere out there that might have an "official" answer for you. I'm thinking that if you were going to further process the values after the convolution, then perhaps you might want to clamp().<BR/><BR/>Thanks for catching my mistake. I've corrected the post as you see. That's what I get for posting at 1AM.<BR/><BR/>PaulPaul Franceushttps://www.blogger.com/profile/11557290901923425436noreply@blogger.comtag:blogger.com,1999:blog-9199573357345606334.post-9029749282791503642007-05-11T12:52:00.000-07:002007-05-11T12:52:00.000-07:00Hi!All your posts on the CoreImage-Programming wer...Hi!<BR/>All your posts on the CoreImage-Programming were really useful for me, because I choose to hold a presentation on CoreImage and image processing at college and I'm working me through the CoreImage Programming Guide.<BR/>What really helped me, was your 2nd post on the kernel, 'cause I was trying to get a convolution running with the OpenGL language.<BR/><BR/>I'm new to the CoreImage-stuff and this is my 1st cocoa(and Mac)-project...so your posts have been a really good addition to the Apple documentation.<BR/>And if you don't mind I'll take some code of your cocoa-app as basis for mine...;-)<BR/><BR/>I've got one question: why isn't it necessary to do some clamping on the result pixel? I tried it with your code with the clamp() method, but there was no difference...<BR/><BR/>And I think there is a mistake in the last paragraph of this post. The directories are /Library/Graphics/Image Units and ~/Library/Graphics/Image Units<BR/><BR/>That's it so far.<BR/>Greetings from Germany,<BR/><BR/>DanielDanielhttps://www.blogger.com/profile/12902250437347097240noreply@blogger.com