Skip to content

Info / Feature request for correction of equirectangular panoramas #32

@testor2897

Description

@testor2897

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:
  1. correct vertical angle
  2. correct horizon
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions