I have this Houdini scene that reads a motion vector sequence and compare 2 frames to read the lowest pixel value (in my example: lowest red). It work for the 2 frame, but I would like to do it for the entire sequence. I didn't find a way to keep the lowest value throughout the sequence.
At frame 63, the lowest value is at this frame (now: -1.0913). This is good.
At frame 64, the lowest value is at the previous frame (prev: -1.0913). Still good, it is the lowest value so far.
At frame 65, both value are higher than the lowest value we got so far and the result is the lowest value between the two frames (prev: -1.04709). This is now what I want. I would like RESULT to keep the lowest value so far (-1.0913).
But I have not find a way to do that. If someone have a solution to this, it would help me to automize the sequence analyze.
Thankyou.
Pierre Lalancette.