Description

Brings out edges and contours in an image using a 2x2 filter.

Return Type

A McImage object.  

The resulting McImage.

Syntax

object.Roberts ([vSourceImg])

The Roberts Method syntax has these parts:

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

Optional input McImage or McRegionAccess.

Exceptions

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