LatticeFilterParam0 Option

 

The LatticeFilterParam0 option changes the first parameter for the designated filter type. The OptionValue is a number. This option is only available when LatticeFilterType = 2, 3, 4, 9, 10, 27, 28, 29.  For each filter type, the setting the LatticeFilterParam0 is changing is listed below.

 

For LatticeFilterType = 2, this is Lower Bound

For LatticeFilterType = 3, this is Brightness

For LatticeFilterType = 4, this is Power

For LatticeFilterType = 9, this is Gamma

For LatticeFilterType = 10, this is Alpha

For LatticeFilterType = 27, this is Threshold

For LatticeFilterType = 28, this is Threshold

For LatticeFilterType = 29, this is Alpha.

 

Syntax

object.Construct(“ModifyModule”)

object.Option(“Module”, “Filter”)

object.Option(“LatticeFilterParam0”, “OptionValue”)

object.Do() or object.DoOnce()

 

Example

This example shows how to change the first parameter for a filter for the function lattice.

 

  CommandApi.Construct ("ModifyModule")

  CommandApi.Option ("Module", "Filter")

  CommandApi.Option ("LatticeFilterParam0", "1.5")

  CommandApi.Do()

 

Used by: LatticeFilter

 

 

See Also

Automation Model