Search - User list
Full Version: Read and keep the lowest pixel value from a sequence
Root » Technical Discussion » Read and keep the lowest pixel value from a sequence
Lancelot
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
tamte
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
Lancelot
I am already able to compare with the previous frame. It is to keep the highest or lowest value over the entire sequence that was the problem.

I am really not familiar with the foreach ways of Houdini, so I am more interested by your Geometry CHOP. I will look into that. Thanks.
tamte
Lancelot
I am already able to compare with the previous frame. It is to keep the highest or lowest value over the entire sequence that was the problem.
Right, what I meant in Solver SOP by previous frame is that it will remember output of previous frame
So every frame the previous frame can be the minimum of all previous frames etc.

I can provide examples of mentioned methods, when I get to Houdini
Lancelot
Indeed, I am curious on how to do that because I miss the way to keep that low value from one frame to the next. The actual frame value always overwrite what I try to keep. I just don't know the proper way to do it.

Pierre.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB