Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.

Remap Fractional Pixel Values

Raymond_Castonguay
118 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
118 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