Hi, I have a tool that needs to obtain the maximum velocity value from a
scanline renderer. Currently I am finding the max pixel value of the
motion channel generated by the scanline renderer by iterating through
each pixel of the motion channel and returning the max(). A basic but
inaccurate optimisation is to skip x pixels to speed this up but I was
hoping there might be a more cunning way of doing this?
I'm presuming the Scanline Renderer itself doesn't store min/max
velocities in a hidden knob or something else accessible?
I was hoping to keep this process live and contained in an embedded
python script, so using NDK or a node tree (dilate to value of width of
image worked well enough if I went this method) so any suggestions are
welcome.
Steve
--
Stephen Newbold
Compositing Lead - Film
MPC
127 Wardour Street
Soho, London, W1F 0NL
Main - + 44 (0) 20 7434 3100
www.moving-picture.com
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python