I have a problem trying to select virtual subimages (lets call them ROIs) in a fisheye image which then I want to undistort.
I have the fisheye calibration parameters following. Scaramuzza calibration model. What I would like to do is creating an array of virtual pinhole cameras (53° FOV) with a degree of overlap among them and sampling their correspondent subimage from the fisheye's. So imagine that my fisheye FOV is aproximately 180° and I want to cover that whole FOV with my 53° virtual cameras with 20° overlap among them, i.e, I would need roughly 180/(53-20)=5.45 cameras (I am not 100% sure about this calculation have to think a bit more about it). Correct me if I am wrong: is it the same to undistort the whole fisheye image and extracting the pinhole views from there than inferring the ROIs in the fisheye domain and undistort each of them separately? If not, I guess the second is the right way to go but how should I proceed. How can I know which area from the fisheye camera belong to each 53°FOV camera? My intuition tells me that the ones pointing towards the edge of the fisheye should have a more distorted ROI than the ones near the center.
I am not really good at understanding projective space and how to operate in there. Hope you guys can help me anyhow.