2016-09-17 09:25:22 -0600 | received badge | ● Notable Question (source) |
2015-12-21 10:06:44 -0600 | received badge | ● Popular Question (source) |
2012-10-01 03:50:39 -0600 | received badge | ● Student (source) |
2012-10-01 03:36:19 -0600 | asked a question | Unwarp segment of 360 degree fisheye lens I have a 360 degree image taken from a fisheye lens and I would like to unwarp a segment of it. i.e. select a point in the image and then unwarp a segment surrounding that point - like a digital pan-tilt-zoom within the image. I can successfully use the C++ version of opencv to create a panoramic image from it by building a mapping array and using remap like so: I think I should be able to create mapping matrices and do a similar set of steps but I am a bit lost on the maths on how to do this. Is there perhaps an easier way of doing this in opencv? I found detail::FisheyeWarper and detail::SphericalWarper and thought perhaps their warpBackward() method might work but my experimentation has so far been unsuccessful in getting these to do anything at all without asserting. |