Reason for limitation in EdgeAwareInterpolator to max_short matches

asked 2019-07-28 15:47:36 -0600

The number of matches that can be used by the EdgeAwareInterpolator for dense flow interpolation is limited to 32767 matches which is due to the short type used to store the indices in the code.

I find this can be a serious limitation, when applying to video analytics. However one could substitute short type with int.

So I wounder does anyone know a reason why short has been used? Maybe a performance loss?

edit retag flag offensive close merge delete