Replies: 1 comment 2 replies
-
|
Background: iw3 applies min-max normalization to depth as a preprocessing step. Min-max normalization: the minimum value of that depth gets transformed into a 0.0, the maximum value gets transformed into a 1.0, and every other value gets transformed into a decimal between 0.0 and 1.0. min_value = depth.min()
max_value = depth.max()
normalized_depth = (depth - min_value) / (max_value - min_value)In video processing, in addition to model accuracy, this min-max normalization can cause depth flicker. With min_value = depth.min()
max_value = depth.max()
ema_min_value = 0.9 * ema_min_value + (1.0 - 0.9) * min_value
ema_max_value = 0.9 * ema_max_value + (1.0 - 0.9) * max_value
normalized_depth = (depth - ema_min_value) / (ema_max_value - ema_min_value)
normalized_depth = clamp(normalized_depth, min=0, max=1)where comp.mp4(src: https://www.pexels.com/video/a-woman-standing-on-the-boat-8515879/ Here is a plot of the maximum value of the frame sequence. 0.99 is the smoothest, but shows a large deviation from the actual value. Personally, I do not see much effect of this option on the SBS video. So I don't really recommend it. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Let's discuss what the 'Flicker Reduction' option in the GUI will do.
Current values are: 0.99, 0.9, 0.75, 0.50
What does this option do?
When should it be used?
Is this a feature of another project I could read about, or is it something built-in and unique to iw3?
Thanks Everyone!
Beta Was this translation helpful? Give feedback.
All reactions