- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
how to convert 32bit image to 8bit image use ipp?
i can't found any function about this in ippcc.h,who can tell me can i do this with ipp?
thank you!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
ippcc.h file contains declarations of color convertion primitives. I'd recommend you to start from reading manual, especially when you work with such wide SDK as IPP.
Please take a look on special data type convertion functions from image processing domains, for example
IPPAPI ( IppStatus, ippiConvert_8u32s_C1R,
(const Ipp8u* pSrc, int srcStep, Ipp32s* pDst, int dstStep,
IppiSize roiSize ))
IPPAPI ( IppStatus, ippiConvert_32s8u_C1R,
( const Ipp32s* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
IppiSize roiSize ))
Regards,
Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
oh!!thank you!in my ipp version this function is in ippi.h, thank you very much!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello,after convert the 32bit image to 8bit image use ippiConvert_32s8u_C1R(),where can i get the palette,i want to save the 8bit image to file.
thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
IPP function only converts data type and does not append any image header to that.
You can construct unified gray palette easely in your code, right?
Regards,
Vladimir

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page