Click or drag to resize

BaseImageProcessingVariationCapableElementVaryParameter Method

Changes the property of the image processing object that is referenced by the given variation parameter in its PropertyName property by the value given in its Delta property. There may be different situations: - If the image processing element is open in the GUI we want to change the edit fields in it, i. e. in guiView. The values will be transferred later into the image processing element before execution. - If the image processing element is not open in the GUI we must modify the properties directly in the image processing element. This is the case either because the execution is done via API, or because it is e. g. a PictureFilter but the CircleSearcher settings dialog is open in the GUI.

Namespace: RAYLASE.Marker.JobElement.ImageProcessing
Assembly: RAYLASE.Marker.JobElement (in RAYLASE.Marker.JobElement.dll) Version: 2.19.0
Syntax
C#
public virtual void VaryParameter(
	VariationParameter variationParameter,
	IImageProcessingView guiView
)

Parameters

variationParameter  VariationParameter
The variation parameter that should be varied.
guiView  IImageProcessingView
In case the image processing with looping is started by the GUI (rather than the API), the variation capable parameters available in the GUI must be varied.
Remarks
Example: If variationParameter.PropertyName is "KernelSizeX", variationParameter.Delta is 1, variationParameter.TryCount is 6 and KernelSizeX is 20, the following value sequences will be created for KernelSizeX while variationParameter.Counter is increased: - with variationParameter.IsToggleDirection = false: 21, 22, 23, 24, 25, 26 - with variationParameter.IsToggleDirection = true: 21, 19, 22, 18, 23, 17
See Also