2018-09-07 06:44:21 -0600 | received badge | ● Student (source) |
2014-12-02 02:56:37 -0600 | received badge | ● Editor (source) |
2014-12-01 14:39:46 -0600 | asked a question | Open CV on Java, Mask after findHomography() I am using opencv in version 2.4.9, using Java JNI. I've downloaded it from open cv official site. In project there is java\x64\opencv_java249.dll included. I have problem with The mask I have is from But draws all (over 2000) matched points. here you can find ready to use (after image downloaed) code snippet: code snippet on gist.github.com I used random images from Wikipedia: first picture from wikipedia, second picture from wikipedia Here is result I got: As you can see, all matched points are drawn, instead just this according to mask. I am doubt if this is a bug in openCv. Maybe I am using incorrect datatypes? I look into the documentation, but provided exampples are in C or Python. I think that I am following instructions from them perfectly. Regards, Marcin -------------- updated at 02.12.2014 I simplified my code snippet, a little bit. Now I tried to set mask explicit. whole code at: https://gist.github.com/sokolek/2ef24411e9c7259d2f5e mask is filled by zero, but all of the points are still drawn. |