Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
Announcements
Important Update: Community Platform Migration​. Learn more​>

Remap Fractional Pixel Values

Raymond_Castonguay
973 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
Moderator
973 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

0 Kudos
Reply