Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.

Remap Fractional Pixel Values

Raymond_Castonguay
84 Views
In the function Remap, can the PxMap and pyMap arrays contain fractional pixel values, such as (1.456, 2.534)?
If yes, is the fractional value used in the interpolation, or just rounded/truncated to integer values?
0 Kudos
1 Reply
Chao_Y_Intel
Employee
84 Views

Hi,

Please find some comment from our engineer owner:
The maps values are truncated to integer values as follows:

float *xMap;
int x;
x = (int)( xMap + (1.0e-7) );

Thanks,
Chao

Reply