- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What is ippiCopy_8u_C1C4R supposed to do ? If it is supposed to copy one channel (of a one-channel image) to multiple channels (of a multi-channel image) how is it different from ippiDup_8u_C1C4R ? And in that case, why was ippiDup_8u_C1C4R introduced ?
I noticed by the way that ippiCopy_8u_C1C4R doesn't work (for the supposed purpose) where ippiDup_8u_C1C4R does work.
Regards,
Adriaan van Os
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI Adriaan,
ippiCopy_8u_C1C4R only copy data from a one-channel image pSrc to only "one" channel of a multi-channel dst image. It you want to copy one channel (of a one-channel image) to multiple channels, it needs to use ippiDup functions.
Thanks,
Chao
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for clarifying this. This is a useful function in itself !
I suggest to change the wording in the manual "Case 5: Copying a one-channel image to a multi-channel image" to "Case 5: Copying a one-channel image to one channel a multi-channel image"
ippiCopy_xx_C1C4R doesn't have a channel parameter, but that doesn't matter much as the channel can be selected through an offset of the pDst parameter.
Regards,
Adriaan van Os
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Adriaan,
thank you, will be fixed in the manual.
regards, Igor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Also I suggest to add ippiDup_16u_C1C4R and ippiDup_32f_C1C4R.
Regards,
Adriaan van Os
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page