ComfyUI Node
SonarQuantileFilteredNoise
Custom noise type that allows filtering noise based on the quantile
SonarQuantileFilteredNoise
- custom_noise
- SONAR_CUSTOM_NOISE
◄factor1.000►
◄quantile0.850►
◄dim1►
◄flattentrue►
◄norm_factor1.000►
◄norm_power0.500►
◄normalize_noisefalse►
◄normalizedisabled►
◄strategyclamp►
Categoryadvanced/noise
Inputs (10)
| Name | Type | Default | Description |
|---|---|---|---|
| factor | FLOAT | 1.000-10000–10000 | Scaling factor for the generated noise of this type. |
| custom_noise | SONAR_CUSTOM_NOISE,OCS_NOISE | Custom noise type to filter. The following input types are supported: SONAR_CUSTOM_NOISE, OCS_NOISE | |
| quantile | FLOAT | 0.850-1–1 | When enabled, will normalize generated noise to this quantile (i.e. 0.75 means outliers >75% will be clipped). Set to 1.0 or 0.0 to disable quantile normalization. A value like 0.75 or 0.85 should be reasonable, it really depends on the input and how many of the values are extreme. (Experimental) You can also use a negative quantile to consider values closest to 0 to be 'extreme'. |
| dim | COMBO | 1 | Controls what dimensions quantile normalization uses. Dimensions start from 0. Image latents have dimensions: batch, channel, row, column. Video latents have dimensions: batch, channel, frame, row, column. |
| flatten | BOOLEAN | true | Controls whether the noise is flattened before quantile normalization. You can try disabling it but they may have a very strong row/column influence. |
| norm_factor | FLOAT | 1.0000.00001–10000 | Multiplier on the input noise just before it is clipped to the quantile min/max. Generally should be left at the default. |
| norm_power | FLOAT | 0.500-10000–10000 | The absolute value of the noise is raised to this power after it is clipped to the quantile min/max. You can use negative values here, but anything below -0.3 will probably produce pretty strange effects. Generally should be left at the default. |
| normalize_noise | BOOLEAN | false | Controls whether the noise source is normalized before quantile filtering occurs. |
| normalize | COMBO | disabled | Controls whether the generated noise is normalized to 1.0 strength after quantile filtering. |
| strategy | COMBO | clamp | Determines how to treat outliers. zero and reverse_zero modes are only useful if you're going to do something like add the result to some other noise. zero will return zero for anything outside the quantile range, reverse_zero only _keeps_ the outliers and zeros everything else. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| SONAR_CUSTOM_NOISE | SONAR_CUSTOM_NOISE | A custom noise chain. |