Forums > Jitter

Using [jit.histogram] output for color processing

July 7, 2009 | 11:51 pm

Hi, I know this question might seem overtly simple, but I’m just beginning to grasp what Jitter is about and after reading some tutorials I still don’t understand some basic things:

While working with jit.histogram, I’ve been puzzled about what the planes output tell me. What is it? RGB, ARGB, or what? How can I translate it to [swatch] RGBA?

Also, which is the best way to translate a synthesized (like 50*50 pixels from 320 240) matrix to "display" the picture in another app (e.g. Director or Flash)? I realize jit.histogram won’t give me the coordinates to that, so how can I translate position and color planes for a given area?

Below is a sample patch to explain more accurately what I’m asking…

– Pasted Max Patch, click to expand. –

July 8, 2009 | 1:58 am

a histogram gives you the number of pixels of all 256 saturation steps of each plane.

planes 0-3 show ARGB

– Pasted Max Patch, click to expand. –

hth
p


July 8, 2009 | 5:14 am

Thank you sir!


Viewing 3 posts - 1 through 3 (of 3 total)