ROI creation [closed]
Hey guys,
can you help me create a ROI of the type "vector < vector < rect> > & rois" for the function stitch? Its a vector of vector of the image's ROIs (rectangles) ?
thank you.
Hey guys,
can you help me create a ROI of the type "vector < vector < rect> > & rois" for the function stitch? Its a vector of vector of the image's ROIs (rectangles) ?
thank you.
Asked: 2015-02-11 08:21:27 -0600
Seen: 291 times
Last updated: Feb 11 '15
You could have waited until your previous question was answered ... basically you can do it with the following pseudocode.
Now you can push
all_matches
to the stitcher pipeline.sorry, it was a different question, I thought it was better to create another question. I'll try this pseudocode and give the feedback. thanks =)
it partially works!
for (int i = initial_num; i<= num_img ; i++) {
this code works. But when I change 0.5 to 0.8 ( to get the last 20% of the image) or any other number, it gives an error:
error:
I will look into it tomorrow!
ok, and I found this code:
and it worked. But I didn't understand the values 2/5 and 3/5.
its the subdimensions of the rectangle that you want to match. That code does exactly what I gave you :P
thanks man