Divide
OpenLvVision_OpenCv.lvlib:Divide.vim
Performs per-element division of two arrays or a scalar by an array.
The function divide performs per-element division of two arrays or a scalar by an array:
- Division of one array by another:$ \texttt{dst}(I) = \texttt{saturate}(\texttt{src1}(I) \cdot \texttt{scale} / \texttt{src2}(I)) $
- Division of a scalar by an array (when there is no
src1
):$ \texttt{dst}(I) = \texttt{saturate}(\texttt{scale} / \texttt{src2}(I)) $
Different channels of multi-channel arrays are processed independently.
For detailed information, please refer to the OpenCV documentation
error in error in can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error. |
status status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error. |
code |
source source describes the origin of the error or warning. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error. |
Src1 First input array or image |
Src2 Second input array, image or constant |
Dst Output array or image that has the same size and number of channels as the input arrays or image. the depth is defined by src1/src2. |
Scale scalar factor. |
error out error in can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error. |
status status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error. |
code |
source source describes the origin of the error or warning. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error. |
Dst out Output array or image that has the same size and number of channels as the input arrays or image. the depth is defined by src1/src2. |