- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Suppose I have an 3 channel 640x480 image. For masked operation on 3-channel images (e.g. ippiCopy_8u_C3R), what size does the mask need to be? From my experiments, it seems like it needs to be 1920x1440 for ippiCopy_8u_C3R to work. In other words there are 3 mask pixels corresponding to each pixel, one mask value for each color channel. My expectation would be that the mask is a 640x4801 channel image for a 640x480 3 channel image, one mask value for every RGB triple.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In IPP masked functions (eg ippiCopy_8u_C3MR) the mask should contain 1 byte for each image pixel. For 3 channel 640x480 mask should be 1 8u channel 640x480. Please check src, dst, mask image steps
Alexander
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