Does Mat inherit from InputArray?
up vote
0
down vote
favorite
I've read the OpenCV documentation stating that InputArray and Mat can be used interchangeably.
But how do these two relate?
Is InputArray Mat's superclass?
opencv
add a comment |
up vote
0
down vote
favorite
I've read the OpenCV documentation stating that InputArray and Mat can be used interchangeably.
But how do these two relate?
Is InputArray Mat's superclass?
opencv
1
look at the source code, it is open source
– Micka
Nov 18 at 13:41
1
I'm not sure where exactly you see such statement. It's a proxy class "designed solely for passing parameters" -- meaning it's a thin wrapper that allows OpenCV functions to take a number of different datatypes as input (Mats, vectors, etc).
– Dan Mašek
Nov 18 at 13:41
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I've read the OpenCV documentation stating that InputArray and Mat can be used interchangeably.
But how do these two relate?
Is InputArray Mat's superclass?
opencv
I've read the OpenCV documentation stating that InputArray and Mat can be used interchangeably.
But how do these two relate?
Is InputArray Mat's superclass?
opencv
opencv
asked Nov 18 at 12:13
Max Herrmann
1297
1297
1
look at the source code, it is open source
– Micka
Nov 18 at 13:41
1
I'm not sure where exactly you see such statement. It's a proxy class "designed solely for passing parameters" -- meaning it's a thin wrapper that allows OpenCV functions to take a number of different datatypes as input (Mats, vectors, etc).
– Dan Mašek
Nov 18 at 13:41
add a comment |
1
look at the source code, it is open source
– Micka
Nov 18 at 13:41
1
I'm not sure where exactly you see such statement. It's a proxy class "designed solely for passing parameters" -- meaning it's a thin wrapper that allows OpenCV functions to take a number of different datatypes as input (Mats, vectors, etc).
– Dan Mašek
Nov 18 at 13:41
1
1
look at the source code, it is open source
– Micka
Nov 18 at 13:41
look at the source code, it is open source
– Micka
Nov 18 at 13:41
1
1
I'm not sure where exactly you see such statement. It's a proxy class "designed solely for passing parameters" -- meaning it's a thin wrapper that allows OpenCV functions to take a number of different datatypes as input (
Mats, vectors, etc).– Dan Mašek
Nov 18 at 13:41
I'm not sure where exactly you see such statement. It's a proxy class "designed solely for passing parameters" -- meaning it's a thin wrapper that allows OpenCV functions to take a number of different datatypes as input (
Mats, vectors, etc).– Dan Mašek
Nov 18 at 13:41
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53360730%2fdoes-mat-inherit-from-inputarray%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
look at the source code, it is open source
– Micka
Nov 18 at 13:41
1
I'm not sure where exactly you see such statement. It's a proxy class "designed solely for passing parameters" -- meaning it's a thin wrapper that allows OpenCV functions to take a number of different datatypes as input (
Mats, vectors, etc).– Dan Mašek
Nov 18 at 13:41