Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Isadora: Feature Requests:
Get Pixel Colour from Video Stream

 

 


gavspav
User


Oct 24, 2007, 4:52 AM

Post #1 of 4 (1903 views)
Shortcut
Get Pixel Colour from Video Stream Can't Post

With reference to thread:http://forum.troikatronix.com/forum/Isadora_C2/General_F4/Get_Pixel_Colour_P1063/

I would like a way of determining the colour of a particular pixel (or matrix of pixels!) from an image or video stream.

This could be used in tandem with the chromakey & eyes++ actor to click on an area of an image and then track that colour.

Takes me back to Track them Colours.

Gavin


teiden_zero
Novice

Jan 4, 2008, 3:08 AM

Post #2 of 4 (1794 views)
Shortcut
Re: [gavspav] Get Pixel Colour from Video Stream [In reply to] Can't Post

uhm... this also could be useful to solve my problem (http://forum.troikatronix.com/forum/Isadora_C2/General_F4/Comparing_two_streams_P1457/).
Determining the colour of every pixel of an image starting for example from pixel 1,1 and compare its value with the same xy coords of another image can reveal us differences between two pictures.
It also can be useful a function like "assign value to a pixel", for something like "pixel 13,150 is R=30 G=150 B= 80 in pict_1 AND pixel 13,150 is R=30 G=150 B=80 in pict_2 THEN output a new value for that pixel that can be Difference between value (in this case 0,0,0), Sum (60,255,160), or Pure Black or Pure White and something like this.
To involve a video stream it would be nice to select a "how many times per second do the comparison" value.
Wouldn't it be useful?


gavspav
User


Jan 4, 2008, 9:11 AM

Post #3 of 4 (1788 views)
Shortcut
Re: [teiden_zero] Get Pixel Colour from Video Stream [In reply to] Can't Post

Haven't actually tried it but I'm pretty sure you can now do this by writing a Quartz Composer Patch - as I remember it has Get Pixel Colour in the new version.
Gav


gavspav
User


Jan 14, 2008, 7:05 AM

Post #4 of 4 (1636 views)
Shortcut
Re: [gavspav] Get Pixel Colour from Video Stream [In reply to] Can't Post

Here's an example of the above.
It is just the Image Pixel 'actor' from Quartz Composer with Published in/outputs.
I guess it will only work with Leopard. And only with the Core Version of Isadora?
Drop rgb.qtz into your freeframe folder.

Gavin
Attachments: rgb.qtz (1.38 KB)

 
 
 


Search for (options) copyright © TroikaTronix 2007