Javascript must be activated for this page!
NOTE: This page is from an older version, see the latest version
here .
The post-processing plugins are high-performance WebGL shaders that will process the final rendered image.
For more information about the related krpano WebGL API please see
here .
Light - High-quality exposure and light/shadow control.
Blur - High-performance image blurring.
Sharpen - An Unsharp-Mask filter for sharpening or local contrast enhancement.
Third party post-processing plugins:
zFilter - Brightness, Hue, Saturation, Vibrance, Vignette, Sepia, Color-Blending.
Postprocessing Plugins Demo
Popups with Background-Blur
Zoom-based Sharpening
Attribute nameType Default value
exposure
lights
shadows
Number Number Number
0.0 0.0 0.0
Exposure control:
Positive values will light the image.
Negative values will darken the image.
The exposure setting will affect the overall image,
the lights and shadows
settings only the lighter and darker parts of the image.
Attribute nameType Default value
filterrange Number 60.0
The range of the pixels that will be used for the
lights and shadows
changes.
Larger values for smoother transitions between lights and shadow changes.
The larger the setting, the larger the quality setting might need to be to avoid noise.
Attribute nameType Default value
masking Number 1.0
The lights / shadows mask range selection.
Larger values for a stronger lights / shadows separation, smaller values for more blending.
Attribute nameType Default value
quality int 7 or 3
A quality / performance control.
Affects only the lights and shadows settings.
The lower the quality setting value the faster the image processing, but therefore also more noise will be in the resulting image.
Value range: 0 (lowest quality) to 50 (highest quality).
On mobile and tablet devices the default is 3 for faster rendering performance.
Note - changing the quality setting can be a costly operation (browser and GPU dependent), so it should be not changed during animations.
A high-performance image blurring filter.
It uses a fixed-number of pixels (based on the quality setting) for calculating the blurred image.
That means same rendering performance regardless of the blurring range.
Syntax:
<plugin name ="pp_blur" devices ="html5" keep ="true"
url ="pp_blur.js"
enabled ="true"
range ="0.0"
quality ="10"
linearrgb ="false"
mirroredges ="false"
order =""
phase ="2"
/>
Attribute nameType Default value
range
Number
0.0
The blurring range in pixel.
Attribute nameType Default value
quality int 10 or 5
The quality setting affects the blurring quality and the rendering-performance.
The lower the quality setting value the faster the image processing, but therefore also more noise will be in the resulting image.
Value range: 1 (lowest quality) to 50 (highest quality).
Typically a setting between 5 and 10 is enough for the most usage cases.
On mobile and tablet devices the default is 5 for faster rendering performance.
Note - changing the quality setting can be a costly operation (browser and GPU dependent), so it should be not changed during animations.
Attribute nameType Default value
linearrgb Boolean false
Do the blurring in linear-RGB space.
This results in more correct blended/blurred colors, but also costs a bit performance, therefore it is disabled by default.
Attribute nameType Default value
mirroredges Boolean false
By default the pixels at the edges will get repeated when blurring the image.
When enabling this setting, the pixel will get mirrored instead.
This can improve the image quality a bit and reduce artefacts at the edges, but also costs a bit performance, therefore it is disabled by default.
Attribute nameType Default value
strength
Number
0.0
The strength of the sharpening / contrast enhancement.
Attribute nameType Default value
range
Number
0.0
The blurring range in pixel.
Attribute nameType Default value
luminanceonly
Boolean
true
Do sharpening only in the luminance channel instead of in RGB channels.
The processing is slightly faster when enabled (internally only 2 instead of 3 passes).
For normal sharping it shouldn't better what settings is used, but for local contrast enhancements it might look better when this setting is disabled.
Attribute nameType Default value
quality int 5
The quality setting affects the blurring quality and the rendering-performance.
The lower the quality setting value the faster the image processing, but therefore also more noise will be in the resulting image.
Value range: 1 (lowest quality) to 50 (highest quality).
Typically a setting between 5 and 10 is enough for the most usage cases.
For small range settings even a lower quality setting (e.g. 1-3) can be good enough.
The setting quality=1 is additionally a special case for a good performance / quality ratio at very low range settings (e.g. lower than 2) .
Note - changing the quality setting can be a costly operation (browser and GPU dependent), so it should be not changed during animations.
Attribute nameType Default value
enabled Boolean true
Enable or disable the plugin.
Attribute nameType Default value
order int
A number for sorting.
When using several postprocessing plugin they will be ordered by this given number.
When not set, the plugins will be processed in the order they were first added.
Attribute nameType Default value
phase int 2
The Postprocessing 'Phase'.
There are two phases:
phase=1
After rendering the pano image, but BEFORE rendering the hotspots.
Could be used e.g. for blurring the pano image, but keeping the hotspots sharp.
phase=2
After rendering the pano image and AFTER rendering the hotspots.
As last postprocessing step before showing the image on the screen.