- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Link Copied

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

It should be right that to chang the starting point and region of interest each time while using "add or Copy" in ipp , to copy a small image to another big image.

For example,

big image

1 2 3 4 5

6 7 8 9 10

11 12 13 14 15

16 17 18 19 20

the (0, 0) point : pSrcDst

small image

1 2

3 4

the starting point: pSrc

roiSize = {2, 2};

You may change pSrcDst to pSrcDst to pSrcDst+2 to piont (0, 2) , use

IppStatus ippiAdd_

(please note : as the Regin of interest is unchanged in the case, you don't need change it)

to add

3 4

8 9

and

1 2

3 4

if move pSrcDst to pSrcDst+3, then add

4 5

9 10

and

1 2

3 4.

Best Regards,

Ying

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

*...to add*

3

3

**4**

*8*

**9**

and

1

and

1

**2**

3

3

**4**

*if move pSrcDst to pSrcDst+3, then add*

**4**

*5*

**9**

*10*

and

and

**1**

*2*

**3**

*4*

It looks like there is a small error in the description of the solution. It adds values {2,4} to {4,9} and then again {1,3} to {4,9}.

I underlined all these values.

Best regards,

Sergey

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

EDerman wrote:Dear all, I am going to add one small image data to another big one, but I need to repeat copying the small one to fill out all the big image region. This is similar to copying one small matrix data repeatedly to one bigger matrix in a loop in c++, etc. Is there any good way to do this? I was thinking about changing the starting point and region of interest each time while using "add" in ipp, which sounds also like a loop. But I failed. Many thanks in advance. Best regards, Ederman

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

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