Hi,
I am not sure wheter equilib is supporting my request.
I would like to programme a panorama correction tool which is able to:
- align the panorama to a new vertical axis
- lower or lift the horizon
- shift the forward direction of the panorama (already solved with PIL [pillow] with picture shifting)
The input is an (all around = 360°) equirectangular panorama picture (2:1).
The output shall be the same panorama with corrected axis, corrected horizon and corrected forward direction in equirectangular format.
Analogue to my current tool (Bildshifter = picture shifter) I would like to do the following:
- convert the equirectangular panorama picture to a small version for a faster preview
- show panorama picture in browser (flask / flaskwebgui) with javascript panorama viewer (PanoradoViewer.js)
- interactively change the vertical angle, horizontal line and forward direction line in browser
- take the values of Theta (angle of vertical [=upright] correction in starting view), Gamma (angle of horizon correction) and Phi (shifting angle for new fwd direction) and calculate a new equirectangular panorama in 3 steps:
- correct vertical angle
- correct horizon
- shift fwd view position (picture shifting already coded)
I would use an interactive web page (with flask / flaskwebgui) with a javascript viewer (panorado) for the ineractive part (already working with picture shifting).
The small preview picture for the web page is created using PIL (pillow).
Is the recalculation possible with equilib and numpy?
Is there example code doing these operations (mainly step 1 and 2) already existing?
I would be grateful for any help.
Greetings
Sebastian
Hi,
I am not sure wheter equilib is supporting my request.
I would like to programme a panorama correction tool which is able to:
The input is an (all around = 360°) equirectangular panorama picture (2:1).
The output shall be the same panorama with corrected axis, corrected horizon and corrected forward direction in equirectangular format.
Analogue to my current tool (Bildshifter = picture shifter) I would like to do the following:
I would use an interactive web page (with flask / flaskwebgui) with a javascript viewer (panorado) for the ineractive part (already working with picture shifting).
The small preview picture for the web page is created using PIL (pillow).
Is the recalculation possible with equilib and numpy?
Is there example code doing these operations (mainly step 1 and 2) already existing?
I would be grateful for any help.
Greetings
Sebastian