ImageGear22.Processing.Advanced Assembly > ImageGear.Processing Namespace > ImGearEffects Class : EdgeDetection(ImGearRasterPage,ImGearEdgeDetectionMethods) Method |
'Declaration Public Shared Sub EdgeDetection( _ ByVal page As ImGearRasterPage, _ ByVal method As ImGearEdgeDetectionMethods _ )
'Usage Dim page As ImGearRasterPage Dim method As ImGearEdgeDetectionMethods ImGearEffects.EdgeDetection(page, method)
public static void EdgeDetection( ImGearRasterPage page, ImGearEdgeDetectionMethods method )
public: static void EdgeDetection( ImGearRasterPage* page, ImGearEdgeDetectionMethods method )
public: static void EdgeDetection( ImGearRasterPage^ page, ImGearEdgeDetectionMethods method )
// 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);
' 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)