decadenza / DirectStereoRectification

"Rectifying Homographies for Stereo Vision: Analytical Solution for Minimal Distortion": algorithm to compute the optimal rectifying homographies that minimise perspective distortion.
GNU General Public License v3.0
26 stars 5 forks source link

stereo rectification between pinhole and fisheye #4

Closed williamhyin closed 2 years ago

williamhyin commented 2 years ago

Hi

Thanks for your great work. And I'm looking forward to your paper.

I have a question about the stereo rectification between pinhole and fisheye. Is there possible to use your algorithms to realize stereo rectification between pinhole and fisheye?

If possible ,how could i modify your code?

Thanks

decadenza commented 2 years ago

Hi @williamhyin and thank you.

This works for the classic pinhole camera model. As far as I know, the fisheye camera model is different and I am not sure that the same procedure can be applied to it.

You may want to start from the fisheye basics (and maybe compare with classic pinhole basics) and then have a look at the dedicated OpenCV fisheye rectification.

I am closing this enhancement request as it is not in the plans now, but please share your findings with us! There may be a way to apply the same reasoning to fisheye...