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.
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.
C# | Copy Code |
---|---|
// Filters an image into an edge map.
ImGearEffects.EdgeMap(igRasterPage, ImGearEdgeMapMethods.PREWITT); |
Visual Basic | Copy Code |
---|---|
' Filters an image into an edge map.
ImGearEffects.EdgeMap(igRasterPage, ImGearEdgeMapMethods.PREWITT) |