What is Nostr?
Chew Toy Jenny :TransButterfly:​ :3hearts: /
npub152r…2j54
2024-07-02 22:17:34
in reply to nevent1q…zm0f

Chew Toy Jenny :TransButterfly:​ :3hearts: on Nostr: Is stdDeviation the only adjustable value? Based on a quick Google, the gaussian ...

Is stdDeviation the only adjustable value? Based on a quick Google, the gaussian function needs a standard deviation, which controls how much neighboring pixels affect the target pixel, and a radius, which controls how far away a pixel has to be to affect the target pixel, and that ideally they should both scale together. One implementation I saw just set the standard deviation to half the radius, so you could just try 200 and 50, and then adjust them until the output looks like it matches the PNG files. (Pasting one over the other in Krita with the layer mode set to Difference is a good way to test; identical images will produce pure black and any different pixels will be briggter, as the name implies.) As long as the second blue's standard deviation is 4x larger than the first, the proportion should be correct, at least.
Author Public Key
npub152rg2hwa6cpvk3glax2m52ygfljkpe5m0u08yyzwy95j8sfmyy8sre2j54