How can I extract a 'flat' image from a spherical panorama?

  • I would like to convert a panorama (360 x 180 degree equirectangular image) to a rectilinear projection with specific angles and field of view. So far, I am using the droplets to create a viewer and then after adjusting angles and field of view within the viewer, I did a screen capture, but this creates an image whose resolution is limited to the screen resolution. How do I use krpano tools to generate directly the high resolution rectilinear projection?

  • Hi,

    the 'screen-shots' are not limited to the screen-resolution.

    They can be as big as the supported WebGL rendering size by the devices (on mobile devices typically 4096x4096, on desktop systems typically 16384x16384, although the memory-need can get problematic with such large sizes).

    See here the makeScreenshot API:
    https://krpano.com/docu/pluginint….makeScreenshot

    and here in this example the 'makescreenshot_hires' <action>:
    https://krpano.com/examples/#makescreenshot-api

    For offline krpanotools processing there is the VIEW mode of the spheretocube tool to generate a custom rectilinear view out of a spherical image:
    https://krpano.com/docu/tools/#spheretocube

    E.g.

    Code
    krpanotools spheretocube VIEW pano.jpg view.jpg -hlookat=12,3,0 -fov=110 -outsize=4000x300

    Best regards,
    Klaus

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!