- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1. Does ippiConvert_16u8u_C3R discard the most significant bits or the least significant bits :
2. Does the inverse functin, ippiConvert_8u16u_C3R copy the source 8 bits to the MSB or the LSB of the 16 bits destination.
Could not find details in the Intel's IPP manual.
2. Does the inverse functin, ippiConvert_8u16u_C3R copy the source 8 bits to the MSB or the LSB of the 16 bits destination.
Could not find details in the Intel's IPP manual.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm not sure if this is a complete answer to your question, but the result of the 16u8u conversion should be equivalent to an (Ipp8u) cast on all image values. The inverse should be equivalent to casting each byte to Ipp16u. If these functions do something different than standard casting (discard MSB to reduce bit depth, fill LSB to increase bit depth) please let us know.
Regards,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
By default all conversions in IPP are done with saturation - so for each pixel operation is the next:
for( n = 0; n < width; n++ ) {
if( src
dst
} else {
dst
}
}
Regards,
Igor

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