- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
How can I select the COI? For example, I have a 3 channel image and I want to calculate the mean of only the second channel using ippiMean_8u_C1R. Could you please help me? Thanks
Regards,
Hadi
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Other way, according to IPP manual, might be use of ippiMean_8u_C3CR function with specifying channel of interest (see coi parameter description).
Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Processing of channel of interest requires special branch in code, it is the reason why we have dedicated functions to work with COI (they have specificator CnC in the name).
In general, it was created not for all IPP functions.
You may consider splitting multi-channel image into separate planes and do processing for each channel independently.
You also can submit feature request for functions you think are important for your application on Intel Premier Support, this will be considered at the next IPP verion planning stage. Please specify in your request what exactly you want to implement with IPP, so we may analyse and probably suggest you other solution.
Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok, I do so. In the meantime do you have a quick solution for me. Suppose that I want to create a new image plane by ippimalloc and copy the R channel of another image to it. I want to do it as fast as possible. Thanks
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page