Read and keep the lowest pixel value from a sequence

   101   1   1
User Avatar
Member
8 posts
Joined: 7月 2005
Offline
Hello everyone.

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.
Image Not Found
Edited by Lancelot - 昨日 09:45:58

Attachments:
motion_vector.zip (499.8 KB)
problem_mv_02.jpg (15.0 KB)
problem_mv_03.jpg (12.9 KB)
problem_mv_04.jpg (12.5 KB)
problem_mv_01.jpg (504.7 KB)

Life is endlessly short
User Avatar
Member
8836 posts
Joined: 7月 2007
Offline
You can use either Solver SOP to compare with previous frame

Or Foreach Block with feedback

Or you can also import your values to Chops using Geometry CHOP and get minimum of the resulting channel
Edited by tamte - 昨日 16:20:24
Tomas Slancik
FX Supervisor
Method Studios, NY
  • Quick Links