Optional mask argument for MatchTemplate_Demo#6758
Optional mask argument for MatchTemplate_Demo#6758acinader wants to merge 1 commit intoopencv:masterfrom
Conversation
|
Currently the added code isn't used in the demo, so to prevent adding a dead code please also extend the demo to use a mask. |
|
Hi @apavlenko . Glad to look into it. When you say extend the demo, do you mean this demo: https://github.com/tsdconseil/opencv-demonstrator If so, I'll take a look, thought i'd probably have to start with tsdconseil/opencv-demonstrator#27 Or is there another demo you're referring to? If so, can you give me a link to get me started. Thanks. |
|
Actually I meant |
|
Hi @apavlenko thanks for getting back to me. I think I understand - update the doc: http://docs.opencv.org/master/de/da9/tutorial_template_matching.html#gsc.tab=0 by editing the doxygen markdown in this doc: edit the docs to include how to use the mask with an example. I am now able to build and view the doxygen files, so I think I should be able to do this. Please let me know if I am not understanding your request. Will take me at least a few days to get around to it and get it right. If there is some other demo app that needs extending, please send me a link to where it is on github and I'll work on that too. Sorry if I am a little slow, but not very familiar with opencv (yet!). Thanks! |
|
Hi @acinader, yes, this is exactly what I mean, thanks for your contribution! |
7ae8ccd to
a6ade2b
Compare
|
hm, so weird. its like github is busted or something (not likely). I updated the docs, pushed commit to my branch, but it isn't showing up here. never happened to me before. I do see that it is stuck on "checking for ability to merge automatically". the commit shows up on my fork: https://github.com/acinader/opencv/commits/add-mask-to-match-template-demo so odd! So I closed it thinking i would be able to reopen, will have to create a new pr now....sorry |

Accept and use optional mask argument for MatchTemplate_Demo.
Useful for visualizing effect of a mask on template matching.