Click or drag to resize

BaseImageProcessingVariationCapableElement Methods

The BaseImageProcessingVariationCapableElement type exposes the following members.

Methods
 NameDescription
Public methodAreAllLoopsFinished Loops through all variation parameters defined in this searcher and checks if all parameter's loop counters have reached their end values.
Public methodClearSettingView Cleans up the setting view of an image processing element when its settings dialog is closed.
(Inherited from BaseImageProcessingElement)
Public methodCreateVariationParameter Creates the variation parameter with the given property name and fills it with the values of the relevant properties of this image processing element. Which properties are filled is defined in the list in PropertyNameToLabelMap.
Public methodDispose
(Inherited from BasePlugin)
Protected methodDispose(Boolean)
(Inherited from BasePlugin)
Public methodDisposeUI
(Inherited from BaseImageProcessingElement)
Protected methodDoDisposeUI
(Inherited from BasePlugin)
Public methodDoExecute Does the native execution of an object; i. e. the execution is done directly and not triggered by the image processing object; no thread is started.
(Inherited from BaseImageProcessingElement)
Protected methodDoExecuteWithLooping Executes the image processing element with looping over the variation parameters.
Protected methodDoExecuteWithoutLooping Executes the image processing element, but without variation looping.
Protected methodDoShowUI Shows the specific UI embedded in the plug-in instance. The content will be wrapped by a preset view.
(Inherited from BasePlugin)
Protected methodDoShowUICallback Invokes the callback that can be used when the DoShowUI method is done.
(Inherited from BasePlugin)
Public methodEnDisableTimeout Enables and disables the timeout feature in this image processing element if available.
(Inherited from BaseImageProcessingElement)
Public methodExecute Does the image processing. Method is used as delegate method for ImageProcessing.ExecuteImgProcElWithTimeout() and may be started in an own thread to allow aborting in case of a timeout.
(Overrides BaseImageProcessingElementExecute(CancellationToken))
Protected methodGetModel Gets the data model of the given view. If the view is not derived from IIImageProcessingModelView, the model is fetched from the image processing element itself.
Public methodGetSettingsFromView Retrieves possibly changed data from an image processing job element's Settings dialog.
(Overrides BaseImageProcessingElementGetSettingsFromView(IImageProcessingView, Boolean))
Public methodGetVariationProperties Creates a dictionary of property names of all the currently (according to advanced mode) usable (and therefore visible) parameters. Used to show the usable parameters in the GUI's combo box to select them for looping.
Public methodInitialize Plug-in specific initialization can be done here if necessary.
(Inherited from BasePlugin)
Public methodLimitInputValues Checks all input values on exceeding ranges. If any range is exceeded, the value is set to the min. or max. allowed value.
(Inherited from BaseImageProcessingElement)
Protected methodResetParameter Resets the given looping parameter to its base value as defined in the variation parameter list, and sets the counter to 0.
Public methodResetVariationParameter Resets the given variation parameter back to its base value. The infrastructure of BaseImageProcessingSearcherElement.VaryParameterSequential() is used; the counter is patched to achieve setting the value.
Public methodResetVariationsCounters Resets the counter of all variation parameters of the given model (it is in the view) and of the variation parameters in the model which is referenced in the variation parameter itself. Furthermore the current value is set to the base value.
Protected methodRestoreInputData Resets the parameters to the beforehand saved input data values. Called when the Cancel button is pressed.
(Overrides BaseImageProcessingElementRestoreInputData)
Protected methodSaveInputData Saves some input data when the dialog opens to set them back in case the Cancel button is pressed.
(Overrides BaseImageProcessingElementSaveInputData)
Public methodShowUI
(Inherited from BaseImageProcessingElement)
Public methodShowUICallback
(Inherited from BaseImageProcessingElement)
Public methodShowUICancelCallback
(Inherited from BaseImageProcessingElement)
Protected methodStoreOrResetVariationParameters Copies the data model of an image processing element to a backup memory or restores it from there. If true the property is put into the backup, if false it is recreated from there.
Public methodToString Returns a string representation in the form "shortLabel (NameInGui)".
(Inherited from BaseImageProcessingElement)
Public methodUpdateUsedVariationParameters Fills the list of currently used variation parameters with the values derived from this image processing element.
Public methodUpdateUsedVariationParametersEditableState Updates in a model the editable state a variation parameters. This is used to gray out parameters of "foreign" elements. E.g. the filter parameters are grayed in the circle searcher dialog.
Public methodUpdateVariationParameterInView Updates in the variation parameter table of the given view the variation parameter with the given property name and the possibly new base value.
Public methodUpdateVariationParameters Updates all the looping parameters in the given list to the current values in the image processing object. Necessary because it can happen that these are not the ones that are demanded during looping due to range restrictions in OpenCV; these restrictions are checked and corrected while an image processing object is executed.
Public methodVaryParameter 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.
Public methodVaryParameterPermutational Increments or decrements the first parameter that is found whose counter has not reached the wanted tryCount. The search is done permutationally, i.e. a "lower" parameter's counter is reset as soon a "higher" parameter has reached its max. counter value.
Public methodVaryParameterSequential Increments or decrements the first parameter that is found whose counter has not reached the wanted tryCount.
Top
See Also