# Pixelanalyser

**URL:** https://forum.highend3d.com/t/pixelanalyser/9787
**Category:** Compositing
**Tags:** shake
**Created:** [March 17, 2006, 3:46pm UTC](https://forum.highend3d.com/t/pixelanalyser/9787 "2006-03-17T15:46:55Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![user\_deleted](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/u/35a633/32.png) [@user\_deleted](https://forum.highend3d.com/u/user_deleted)
#### Post date: [March 17, 2006, 3:46pm UTC](https://forum.highend3d.com/t/pixelanalyser/9787/1 "2006-03-17T15:46:55Z")

</div>

Hi Folks,

Hope you can help out this Shake newbie...I'm probably asking something that's  
either obvious or impossible...

I've used a PixelAnalyser node on a clip that has changes in  
luminance level over five hundred frames and have saved the result of the analysis.

How do I then apply this analysis to control another node, say ContrastLum for example?

Thanks in advance for any suggestions.

Halfmedley

---

<div class="post-metadata">

### Author: ![user\_deleted](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/u/35a633/32.png) [@user\_deleted](https://forum.highend3d.com/u/user_deleted)
#### Post date: [March 18, 2006, 6:42pm UTC](https://forum.highend3d.com/t/pixelanalyser/9787/2 "2006-03-18T18:42:36Z")

</div>

you should look up "Linking Parameters" in the manual.  
To get you started, here is script that uses PixelAnalyzer to form a rudimentary flicker fixer:  
Color1 = Color(720, 486, 4, .8-(sin(time)/5), .8-(sin(time)/5),   
 .8-(sin(time)/5), 1, 0);  
Mult1 = Mult(Color1, (1/pa1.area1AverageRed), (1/pa1.area1AverageGreen),   
 (1/pa1.area1AverageBlue), 1, 1);  
pa1 = PixelAnalyzer(Color1, "1", 1, "area1", 0, 0, 0, 0, 0, 0,   
 0, 0, 0, 0, 0, 0, width/2, height/2, 30, 30, 1);  
Exposure\_comp = Mult(Mult1, 1, 1, 1, 1, 1);

Replace Color1 with your image. Mult1 mulitplies the image with the inverse of the PixelAnalyzer (pa1)  
Set Exposure\_comp to the color you want the area you are analyzing to be stabilized to.
