Ask Your Question
0

what kind of values are stored in the Mat returned from .compute(....))

asked 2015-03-30 05:00:34 -0600

RB gravatar image

updated 2015-03-30 06:15:23 -0600

berak gravatar image

I just want to know which kind of data is included in "mat_jf01_Descriptor" returned from the method:

    descExtract.compute(path2Mat(path_jf01), matKeyPts_jf01, mat_jf01_Descriptor);

i created a two nested for-loops and displayed the values, but i do not know what are these values about

I know that, in the following line:

        descripMatcher.match(mat_jf01_Descriptor, mat_jf01_rev_Descriptor, matDMatch);

matDMatch includes distances, but what is included in "mat_jf01_Descriptor"?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-03-30 06:09:06 -0600

thdrksdfthmn gravatar image

updated 2015-03-30 06:14:30 -0600

match function should have the same parameters as in the docs

So the first parameter (mat_jf01_Descriptor) should contain the descriptors that you are trying to match; the second one (mat_jf01_rev_Descriptor) is containing the descriptors that you trained on (the one that you are searching for) and the third, as you said is containing the distances.

What are the descriptors? They are some values that describe the feature you detected (for more info about how they are computed, see the docs of each type)

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-03-30 05:00:34 -0600

Seen: 59 times

Last updated: Mar 30 '15