Merging window(viz3d and mat)
I want to combine the mat window and the viz3d type trackbar window. Because the dimensions of the two windows are different, I need to have just two windows attached. (I have tried to merge a viz3d type window into a mat with an existing mat type window, but in this case it merely shows a window of type viz3d, which can not control the object of viz3d) Please help me.
show, what you tried.
This is my code example)
//window : vizviewer (viz3d object) //trackbar_img : trackbar( mat object)
cv::Mat dst; hconcat(window.getScreenshot(),trackbar_img,dst);
2.overlay
auto image_overlay = cv::viz::WImageOverlay(trackbar_img, cv::Rect(0, 0, 250, 250));
In 1) case, viz window only displayed window's image on stiching image. So I can't control viz object in stiching image.
In 2) case, trackbar image only displayed trackbar's image on viz window. So I can't control trackbar param in soverlay image.