Community
cancel
Showing results for 
Search instead for 
Did you mean: 
34 Views

Remap Fractional Pixel Values

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
34 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