Closed AhmedKhaled945 closed 4 years ago
Hi, Drawing these examples is not supported at the moment. But, here is something you can try first.
I just need to get the full picture, first we have a database of cameras:features pairs, the cameras here get me the Homography, which is the matrix relating the real world coordinates to the hawk eye or the mini map coordinates. x' = Hx Where x' is the minimap or the template coordinates, and x is the real world coordinates (frame coordinates) So here, i suppose you meant by ( warp the image ) to warp the template? because my frame image is already in world coordinates,
Also, i have some matlab knowledge, if the matlab project is opensource or this piece of code, it would be really great if you shared it with me,
Thanks in advance.
Hi, Here is the matlab file: https://github.com/lood339/CalibMe/blob/master/matlab/image_to_model_warp.m This is the unit test file: https://github.com/lood339/CalibMe/blob/master/matlab/ut_image_to_model_warp.m Sorry, the code is for another project and is not cleaned. You may have to clean/test by yourself.
Of course, thanks so much Dr Chen, Appreciate it.
@lood339 Hello Dr.Chen, I used HoG features because Deep features is not working for some reason, giving bad results on test set, so after i used HoG, i got my refined homography, now i want to visualize the results, i can multiply the homography by the input image but i don't have the template img (can't find it in the repo). Would appreciate the help! Thanks in advance. Example of what i need:![image](https://user-images.githubusercontent.com/36905018/84907916-1750e200-b0b4-11ea-866f-d643295fcada.png)