Hi everyone,

I'm looking for a fast way to find the minimum and maximum color value of a
buffer. The goal is to normalize a picture of a sequence.
I've tried the CurveTool but it need to be compute manually and it's not
very stable. For instance, if i create it like this:
C = nuke.createNode("CurveTool", "operation 3")
C.knob('go').execute()
With nothing connected to it, Nuke crash.

The HistEQ divide the picture by it's maximum value. But for very little
color range, the histogram must be very large and it still not very
reliable. Also, it update on every frame and it's not what i want.

I also tried the sample command in python/TCL that did off-course exactly
what i wanted but it's very slow to compute on HD picture.

What i'm looking for is a very simple command like the "Stat()" node in
Shake that find a maximum or minimum value and return dynamically a filled
buffer with that value.

Regards,
Bertrand
_______________________________________________
Nuke-python mailing list
[email protected]
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to