Method FilterAO
FilterAO(ImageList, ImageList, double, double, double, int, bool, double)
Filter an AO map using ATrous method
Declaration
[HandleProcessCorruptedStateExceptions]
public ImageList FilterAO(ImageList aoMaps, ImageList normalMaps, double sigmaPos = 2, double sigmaValue = 0.2, double sigmaNormal = 0.2, int levelCount = 4, bool filterLowValues = true, double lowValueThreshold = 0.01)
Parameters
| Type | Name | Description |
|---|---|---|
| ImageList | aoMaps | Input AO Maps (the alpha component must be set to 0 for unused pixels) |
| ImageList | normalMaps | Input Normal Maps (preferable to use World space normal maps, but Object space normal maps can be used too) |
| double | sigmaPos | ATrous Sigma pos |
| double | sigmaValue | ATrous Sigma value |
| double | sigmaNormal | ATrous Sigma normal |
| int | levelCount | Atrous #Levels |
| bool | filterLowValues | Remove low values from the filtering (see: lowValuesThreshold parameter) |
| double | lowValueThreshold | Threshold used if filterLowValues is enabled |
Returns
| Type | Description |
|---|---|
| ImageList |