ImageGear .NET v25.1 - Updated
EdgeMap(ImGearRasterPage,ImGearEdgeMapMethods) Method
Example 




ImageGear.Processing.Advanced Assembly > ImageGear.Processing Namespace > ImGearEffects Class > EdgeMap Method : EdgeMap(ImGearRasterPage,ImGearEdgeMapMethods) Method
An ImageGear.Core.ImGearRasterPage class object to detect edge map for.
Type of edge map operation to perform.
Performs the edge map operation specified by the method argument. Processes color channels only.
Syntax
'Declaration
 
Public Overloads Shared Sub EdgeMap( _
   ByVal page As ImGearRasterPage, _
   ByVal method As ImGearEdgeMapMethods _
) 
'Usage
 
Dim page As ImGearRasterPage
Dim method As ImGearEdgeMapMethods
 
ImGearEffects.EdgeMap(page, method)
public static void EdgeMap( 
   ImGearRasterPage page,
   ImGearEdgeMapMethods method
)
public: static void EdgeMap( 
   ImGearRasterPage* page,
   ImGearEdgeMapMethods method
) 
public:
static void EdgeMap( 
   ImGearRasterPage^ page,
   ImGearEdgeMapMethods method
) 

Parameters

page
An ImageGear.Core.ImGearRasterPage class object to detect edge map for.
method
Type of edge map operation to perform.
Remarks
An edge map is an image that shows where there are changes in contrast in the original image. Where there are no changes, the resulting image is black. The stronger the contrast change, the brighter the resultant image. The different types of edge maps are slight variations of the algorithms used, and produce slightly different results.

This method takes into account the ROI settings of page object that are accessible via the ImageGear.Core.ImGearRasterPage.ROI property. By default ROI is set to the entire image.

Example
// Filters an image into an edge map.
ImGearEffects.EdgeMap(igRasterPage, ImGearEdgeMapMethods.PREWITT);
' Filters an image into an edge map.
ImGearEffects.EdgeMap(igRasterPage, ImGearEdgeMapMethods.PREWITT)
See Also

Reference

ImGearEffects Class
ImGearEffects Members
Overload List
ImGearEdgeMapMethods Enumeration
CanApplyEdgeMap Method
ImGearRasterPage Class