Description

This filter is the complement of Sobel.

Return Type

A McImage object.  

The resulting McImage.

Syntax

object.SobelPhase ([vSourceImg])

The SobelPhase Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McEdges.
vSourceImgOptional. A Variant value.

Optional input McImage or McRegionAccess.

Remarks

Displays the direction of the gradient. Directions are coded from 0 (0 degrees) to image's maximum pixel value (360 degrees).

Exceptions

The exception mceINVALIDARG (E_INVALIDARG) will be thrown if one of the parameters is invalid.