PDA

View Full Version : Core Image Filter Writing




cblackburn
Feb 13, 2007, 09:13 AM
Hey everyone,

There are plenty of examples on the web of how to write a CIFilter of your own, however there are none that I can find that take two images as an input and compute the output based on them both.

If anyone know how to code one help would be greatly appreciated.

Chris



robbieduncan
Feb 13, 2007, 09:35 AM
I don't see the issue, but then I've never written a Core Image Filter.

Simply define two samplers in the kernel arguments and two CIImage arguments in the interface.

Edit to add: looks like in some situations you will need to define your own ROI function (http://developer.apple.com/documentation/GraphicsImaging/Conceptual/CoreImaging/index.html?http://developer.apple.com/documentation/GraphicsImaging/Conceptual/CoreImaging/ci_concepts/chapter_2_section_6.html) too...

happyElephant
Feb 13, 2007, 08:12 PM
Hey,
I've been looking for somebody who might know anything about image processing(using java, not matlab). Has anyone between you guys heard about it? Please, let me know if yes.

cblackburn
Feb 14, 2007, 04:28 AM
What do you mean?

Do you want to do some image processing in pure Java or via the Java-Cocoa Interface?

Chris

happyElephant
Feb 22, 2007, 11:46 AM
What do you mean?

Do you want to do some image processing in pure Java or via the Java-Cocoa Interface?

Chris

Hi, Chris,

I'd like to do some image processing using imageJ. Furthermore, this is a very novel thing for me. Would you mind explaining me, please, what the difference between image processing in pure Java and via the Java-Cocoa Interface is?
Remark: We had a project to do in a group at my school: extract points of interest from the given images using some complicated math formulas. Our tutor wasn't interested to help us in any way for some reason(I know it sounds very strange to you).
As a result, I don't really now where to start: I have an image, math formula& imageJ. If I want to extract the shape of an object, for ex, where do I start?