Skip to content

Spatial Smoothing #1269

@RosdasHH

Description

@RosdasHH

Feature request

What problem does this feature solve?

Currently, HyperHDR only applies temporal smoothing (over time) for LED color updates.
This leads to abrupt color changes between neighboring LEDs.
Spatial smoothing would create a kind of gradient between adjacent LEDs, resulting in smoother transitions and a more natural Ambilight effect.

What does the proposed API look like?

Add an option in the LED settings called "Spatial Smoothing" with an adjustable slider (0–100%) to control the amount of blur between neighboring LEDs.
The smoothing should be applied after the color capture but before sending the data to LEDs, and it should work together with existing temporal smoothing.

How should this be implemented in your opinion?

Implement a simple weighted average or Gaussian blur between adjacent LED colors.
For example, each LED could take a fraction of its own color and a fraction of its neighbors, similar to a 1D convolution.
This should be efficient enough to run in real-time without dropping FPS.

Are you willing to work on this yourself?

No, I am requesting this feature as a user.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions