Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I believe we found a bug in the ispstats. Because our code is modifieda bit to work only in one zone out fix ins not aplicable to the general case where multiple zones are supported.
The results come out of a debugging session with @tasgomes
The bug we found is here:
Vitis_Libraries/vision/L1/include/imgproc/xf_ispstats.hpp
Lines 128 to 130 in b2c657d
The problem is that
colis running one value further than the range that would be natural to expect. As a result, withroi_tlx=0, thezone_colgoes outside of the allowed range (for 1 zone it jumps from 0 to 1), so does thezone_idxand as a result the bin update logic fails.Vitis_Libraries/vision/L1/include/imgproc/xf_ispstats.hpp
Line 113 in b2c657d
We could fix the issue easily by hardcoding
zone_idx=0- but of course this solution only works specifically for us with only one zone.Could someone confirm if what we found is really a but? I am a bit surprised beause to me it seems like this is not a edge-case at all and anybody using the
ispstatson a full frame. So I can hardly estimate nobody ran into this before.Beta Was this translation helpful? Give feedback.
All reactions