Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

extract a mat which have address in a mat from another mat

Example in matlab: A =

 4     9     8
10     3     7
 5     8     4

b = [2 3; 4 5]

b =

 2     3
 4     5

A(b)

ans =

10     5
 9     3

how to find A(b) in OpenCV???? Thank!!!! [email protected]

click to hide/show revision 2
No.2 Revision

updated 2015-03-22 05:09:35 -0600

berak gravatar image

extract a mat which have address in a mat from another mat

Example in matlab: A =matlab:

A =

     4     9     8
 10     3     7
  5     8     4
>> b = [2 3; 4 5]
b =

b = [2 3; 4 5]

b =

 2 3
 4 5
>> A(b)
ans =

A(b)

ans =

10 5
  9 3

how to find A(b) in OpenCV???? Thank!!!! [email protected]Thank!!!!