EikonalWorks User's Manual
  • Workbench
  • IntensityView
  • Core Calculations
Search Results for

    Show / Hide Table of Contents
    • Edit Tools
    • Properties
    • Property Fields
    • Photometry Type And Resolution
    • Geometry Editor
    • Rotation
    • Symmetrize
    • Automatic Alignment
    • Smoothing And Denoising
    • Sharpen Intensity
    • Scale
    • Combine
    • Photometry Packaging Builder

    Smoothing And Denoising

    Smoothing And Denoising

    The Smoothing / Denoising page applies Gaussian smoothing to selected luminous intensity distributions. It is useful for reducing measurement noise while preserving the overall photometric shape.

    Modes

    • Planar slices only smooths along planar slices.
    • Conic slices only smooths along conic slices.
    • 2D gaussian smoothing smooths across both photometric axes.
    • 2D solid-angle spherical smoothing uses angular distance and cell solid angle.
    • 2D pole-weighted spherical smoothing varies the angular width between the sampling poles and equator.

    Parameters

    Preserve luminous flux, checked by default below Mode, rescales the smoothed distribution to its original integrated flux. This applies to both the preview and UPDATE, without altering lamp flux. Uncheck it to retain the raw smoothed result. Reset enables preservation again. Undo restores the original distribution.

    • Window is the kernel size in cells. It must be odd and at least 3.
    • Passes repeats the smoothing operation and must be at least 1.
    • Sigma controls the Gaussian falloff and must be larger than zero.
    • Center weight scales the current cell's contribution and must be non-negative.
    • Neighbour weight scales neighboring cells and must be non-negative.

    Center weight and Neighbour weight cannot both be zero.

    These grid-cell parameters apply to the first three modes. Spherical mode instead shows Angular width (0.1-30 degrees, initially 5), Passes (1-50), and the same Preserve luminous flux option. Switching modes retains each mode family's width independently. Enter or leaving the input commits a changed width.

    Solid-Angle Spherical Smoothing

    In a Type-C grid, polar cells cover much less solid angle than equatorial cells. For comparable ray flux, they typically collect fewer rays, making the intensity estimate noisier. A fixed window of grid cells does not represent the same physical neighborhood everywhere on the sphere.

    The spherical mode averages within a fixed angular neighborhood. For unit directions u and v, angular width s in radians, and contributing cell solid angle Omega, the weight is:

    K(u,v) = exp((dot(u,v) - 1) / s^2)
    I_filtered(u) = sum(K(u,v) * Omega(v) * I(v)) / sum(K(u,v) * Omega(v))
    

    This is a Fisher-von Mises kernel, the spherical analogue of a Gaussian. For small angular separations it approaches exp(-angle^2 / (2*s^2)); the angular width is therefore a local Gaussian scale, not the support radius. The implementation truncates the kernel at three angular widths and renormalizes the retained weights. The spherical-kernel interpretation follows Seon, Smoothing of an All-sky Survey Map with a Fisher-von Mises Function. The general tradeoff between noise reduction and spatial bias in photon-density estimation is discussed in PBRT, Stochastic Progressive Photon Mapping.

    Near the poles, more azimuth samples occupy the same angular neighborhood. Pooling these samples reduces polar noise without deliberately broadening the physical blur there. Solid-angle weighting prevents densely sampled regions from dominating solely because they contain more samples. It is not an uncertainty model based on ray hit counts, nor does it recover optical detail absent from the input.

    Type-C symmetry is represented in temporary integration data; rotational symmetry is integrated around virtual azimuth rings. Stored resolution and symmetry remain unchanged. Duplicate endpoint areas are counted once. At a measured coverage edge, weights are normalized over the available samples rather than treating missing measurements as extra zero samples. An isolated sample with no usable angular weight is retained. Constant distributions remain constant.

    Multiple passes increase blur. Optional flux preservation rescales the result to its original integrated luminous flux, since discrete filtering and coverage edges need not preserve it exactly. Color fields remain unchanged unless Smooth color is checked; ray hit counts always remain unchanged. Calculation uses CPU worker threads with a spatial neighborhood index; it does not require a GPU. Start with one pass and compare narrow beam features before applying.

    Pole-Weighted Spherical Smoothing

    Use this mode when polar noise requires stronger denoising but details around the equator should remain sharp. It uses the same solid-angle-weighted spherical kernel, with a different width for each destination direction:

    width(u) = equatorWidth + (poleWidth - equatorWidth) * dot(u, poleAxis)^2
    

    Pole width defaults to 5 degrees, Equator width to 0 degrees, and Passes to 1. Pole width accepts 0.1-30 degrees; equator width accepts 0 up to the pole width. Width denotes angular sigma, with support truncated at three times the local width. For Type-C, the profile is proportional to cos(gamma)^2: both nadir and zenith receive the full pole width, while the equator receives the equator width. Type-A and Type-B follow their native sampling poles (Z and X, respectively); HEALPix uses Z.

    At zero width the filter leaves that sample untouched. Widths too small to resolve reliably in floating-point direction comparisons also leave the sample untouched. Preserve luminous flux remains a separate global rescaling step, so it can change an equatorial intensity even when the equator width is zero. Equal pole and equator widths give the constant-width spherical mode. Stored angular planes, symmetry and coverage are retained; filtering does not invent new measurement planes.

    Smoothing Color

    Smooth color is unchecked by default in IntensityView and applies to every smoothing mode. When enabled, valid colors are converted to linear XYZ, weighted by their input intensity and the smoothing kernel, and converted back to the original color coordinate system. Chromaticity coordinates and color temperatures are not averaged directly. Tristimulus Y follows the smoothed intensity, including flux preservation when selected.

    Missing or invalid colors are excluded from the color mixture without discarding valid intensity data. If no usable colored contributor exists, a valid destination color is retained; zero-light or invalid-only colors are cleared. Files without color data remain intensity-only. Hit counts are not averaged. Reset unchecks the color option. Preview and UPDATE use the same settings.

    Preview And Commit

    Changing a mode or parameter refreshes the after preview. Invalid input disables UPDATE. Reset restores 2D gaussian smoothing with a window of 5 cells, 1 pass, sigma 1.0, center weight 1.0, and neighbour weight 1.0. UPDATE applies the smoothing to all selected non-result photometries.

    Measurement Stripe Example

    Some goniophotometer measurements create alternating up/down scan artifacts that are visible as stripes in an illuminance rendering.

    Smoothing Before

    Applying a small smoothing pass can remove the jitter while keeping the intended beam shape.

    Smoothing Operation

    The corrected result is visible in the after rendering.

    Smoothing After

    In this article
    Back to top Generated by DocFX