Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- page
- An ImageGear.Core.ImGearRasterPage class object on which the algorithm will be performed.
- method
- Type of edge detection method to perform.
Method can be applied only to 8bit grayscale images with one channel.
C# | Copy Code |
---|---|
// Convert an image to grayscale and detect the edges in the image. ImGearRasterProcessing.ConvertColorSpace(igRasterPage, new ImGearColorSpace(ImGearColorSpaceIDs.Gy)); ImGearEffects.EdgeDetection(igRasterPage, ImGearEdgeDetectionMethods.DIFF_RECURSIVE); |
Visual Basic | Copy Code |
---|---|
' Convert an image to grayscale and detect the edges in the image. ImGearRasterProcessing.ConvertColorSpace(igRasterPage, New ImGearColorSpace(ImGearColorSpaceIDs.Gy)) ImGearEffects.EdgeDetection(igRasterPage, ImGearEdgeDetectionMethods.DIFF_RECURSIVE) |