- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
If yes, is the fractional value used in the interpolation, or just rounded/truncated to integer values?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page