- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I would like to copy an array of 8u ( 0..255) image to a 16s image,
could anyone point me to a function to do this?
I tried ippsConvert_8s16s but it converts in -128,127 range instead of just copying the unsigned value to signed container
Regards
could anyone point me to a function to do this?
I tried ippsConvert_8s16s but it converts in -128,127 range instead of just copying the unsigned value to signed container
Regards
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Found the answer myself
run this sequence
ippsConvert_8s16s( (Ipp8s *)srcbuffer8u, dstbuffer16s, length );
ippsAndC_16u_I(0x00FF, (Ipp16u*)dstbuffer16s, length);
run this sequence
ippsConvert_8s16s( (Ipp8s *)srcbuffer8u, dstbuffer16s, length );
ippsAndC_16u_I(0x00FF, (Ipp16u*)dstbuffer16s, length);
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