- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Lets say I have an ROI with a height of 100 pixels. I want to copy all the pixels from the first row and
paste them onto the next 99 rows. Of course, I know that I can loop through the rows
and do it.
My question, is there a fast optimized way to do this in IPP, where the algorithm just pastes the same set of pixels
onto the entire ROI.
(This is uesful if you want to expand an image at a given x-y coordinate.)
paste them onto the next 99 rows. Of course, I know that I can loop through the rows
and do it.
My question, is there a fast optimized way to do this in IPP, where the algorithm just pastes the same set of pixels
onto the entire ROI.
(This is uesful if you want to expand an image at a given x-y coordinate.)
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - reportbase
Lets say I have an ROI with a height of 100 pixels. I want to copy all the pixels from the first row and
paste them onto the next 99 rows. Of course, I know that I can loop through the rows
and do it.
My question, is there a fast optimized way to do this in IPP, where the algorithm just pastes the same set of pixels
onto the entire ROI.
(This is uesful if you want to expand an image at a given x-y coordinate.)
paste them onto the next 99 rows. Of course, I know that I can loop through the rows
and do it.
My question, is there a fast optimized way to do this in IPP, where the algorithm just pastes the same set of pixels
onto the entire ROI.
(This is uesful if you want to expand an image at a given x-y coordinate.)
Hello
may you try the function
IppStatus ippiCopyReplicateBorder_c8u_C1IR(const Ipp
see if it can meet your request?
(the functionis supposedbe able tocopy
1 2 3 4 5
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
to
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5)
Regards,
Ying
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - reportbase
Lets say I have an ROI with a height of 100 pixels. I want to copy all the pixels from the first row and
paste them onto the next 99 rows. Of course, I know that I can loop through the rows
and do it.
My question, is there a fast optimized way to do this in IPP, where the algorithm just pastes the same set of pixels
onto the entire ROI.
(This is uesful if you want to expand an image at a given x-y coordinate.)
paste them onto the next 99 rows. Of course, I know that I can loop through the rows
and do it.
My question, is there a fast optimized way to do this in IPP, where the algorithm just pastes the same set of pixels
onto the entire ROI.
(This is uesful if you want to expand an image at a given x-y coordinate.)
Hello
may you try the function
IppStatus ippiCopyReplicateBorder_c8u_C1IR(const Ipp
see if it can meet your request?
(the functionis supposedbe able tocopy
1 2 3 4 5
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
to
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5)
Regards,
Ying
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Ying H (Intel)
Hello
may you try the function
IppStatus ippiCopyReplicateBorder_c8u_C1IR(const Ipp
see if it can meet your request?
(the functionis supposedbe able tocopy
1 2 3 4 5
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
to
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5)
Regards,
Ying
Thank You. That did the trick.
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