ImageGear for .NET
EdgeMap(ImGearRasterPage,ImGearEdgeMapMethods) Method
See Also  Example Send Feedback
ImageGear21.Processing.Advanced Assembly > ImageGear.Processing Namespace > ImGearEffects Class > EdgeMap Method : EdgeMap(ImGearRasterPage,ImGearEdgeMapMethods) Method




page
An ImageGear.Core.ImGearRasterPage class object to detect edge map for.
method
Type of edge map operation to perform.

Glossary Item Box

Performs the edge map operation specified by the method argument. Processes color channels only.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

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

C#Copy Code
// Filters an image into an edge map.
ImGearEffects.EdgeMap(igRasterPage, ImGearEdgeMapMethods.PREWITT);
Visual BasicCopy Code
' Filters an image into an edge map.
ImGearEffects.EdgeMap(igRasterPage, ImGearEdgeMapMethods.PREWITT)

See Also

©2013. Accusoft Corporation. All Rights Reserved.