Panorama schlie├čen

Autolevels Plugin autolevels.swf for Flash
by Aldo Hoeben - fieldofview.com

Description

This plugin dynamically applies an autolevels effect to the krpano view. When properly used, this can mimic autoexposure of a (video-)camera, or the adaptation of the human perceptive system. The effect can be tuned to affect just the luminosity of the view, or the luminosity as well as the color of the view.

Please note that the effect is applied to the (jpeg compressed) 8 bit panorama, so if the effect is too pronounced you will start to see artifacts such as banding and color mismatches.

Download

autolevels.swf  (plugin only)

The autolevels sources and examples are available as part of the fovplugins package

fovplugins.zip  (plugin, source code & examples)

Syntax / XML Usage Example

<plugin name="autolevels" 
        url="autolevels.swf" 
        enabled="true" 
        effect="1" 
        adaptation="0.1" 
        coloradjust="1" 
        threshold="0" 
        attenuation="0" 
        keep="true"
        />

Plugin Attributes

enabled
enable/disable the "metering"
values: true/false, default: true
effect
limit the effect of the plugin (0: no effect, 1: full effect)
values: 0-1, default: 1
adaptation
speed at which the camera iris "adapts" (1: full speed, less means there is a transition)
values: 0-1, default: 0.1
coloradjust
amount of color adjusting to do (0: only lightness, 1: lightness and color)
values: 0-1, default: 1
threshold
clip small highlight and/or shadow areas.
values: 0-255, default: 0
attenuation
"centerweight": 0: meter full view/window, 1: only use center pixel of the window for metering.
values: 0-1, default: 0

Example

CLICK TO VIEW EXAMPLE

The slider ui in the example above was contributed by michel

License

CC-BY-3.0 The plugin can be used free of charge, in commercial or non-commercial applications. The source code is available under a Creative Commons Attribution license.

In a nutshell, this means you are free to use the software and its source code in your projects. If you use the source code in another software project, you are required to add attribution to the author(s). You are encouraged to share the your source code under a similar fashion, but it is not a requirement.

If you use the plugins regularly, you may consider making a donation so I can afford to continue making these plugins and making them available.