ROBERTS Function

Performs a Roberts edge enhancement of an image.

Usage

Input Parameters

Returned Value

Keywords


NOTE: For horizontal line enhancement only, you must disable the vertical line enhancement by setting the Row keyword to 0.

TIP: Use the No_Clip keyword to avoid overflow conditions.

Return = 'abs' Return = 'phase' Return = 'value'
Col = 1,Row = 0 ABS(col grad) Invalid Condition column gradient
Col = 0,Row = 1 ABS(row grad) Invalid Condition row gradient
Col = 1,Row = 1 ABS(row grad)+ABS(col grad) ATAN(row grad ÷ col grad), data type is double Invalid Condition
Col = 0,Row = 0 Invalid Condition Invalid Condition Invalid Condition


NOTE: For vertical line enhancement only, you must disable the horizontal line enhancement by setting the Col keyword to 0.

Discussion


CAUTION: Because the result image is saved in integer format, large original data values will cause overflow. Overflow occurs when the absolute value of the result is larger than 32,767. Use the No_Clip keyword to avoid overflow.

Example








Figure 2-95 Original image (left), and Roberts edge enhanced image (right).

Figure 2-96 Original image (left), and Roberts edge enhanced image (right).

See Also





doc@boulder.vni.com
Copyright © 1999, Visual Numerics, Inc. All rights reserved.