
gavspav
User

Mar 14, 2008, 10:18 AM
Post #2 of 2
(664 views)
Shortcut
|
I've had a bit of a play and have come up with two different methods. Firstly using the Colorizer Actor I've separated the 2 images into R,G & B channels and added a Calc Brightness actor. Then by comparing the brightness value of each image for each channel, I trigger a Float Counter (add or minus depending on the result) which adjusts the relevant input of the Colorizer actor. In this way I end up with an image with (roughly) the same R,G & B values as the source. It takes a while to initialize though at the moment. I could definitely improve on it. Secondly I tried using Quartz Composer. I compiles the Histogram operation in the Developer examples, added a couple of crop patches and published the inputs and output. Then I put the patch in the freeframe folder and used it in Isadora. It works instantly! But I am having trouble using the result with my patch cos it uses Video as opposed to CI. I keep getting weird results. I don't think its bugs. Think its got something to do with infinite sizes! Something I've read about in Quartz but don't understand yet. I've attached my first effort though its probably more useful as a document about the inside of my brain than any practical use! There's alot of room for improvement. Gavin
|