Class AlphaContourExtractor
Namespace: Aurigma.DesignAtoms.ImageProcessing.Services.RasterServices
Assembly: Aurigma.DesignAtoms.ImageProcessing.dll
Syntax
public class AlphaContourExtractor
Inheritance: System.Object -> AlphaContourExtractor
Inherited Members
System.Object.ToStringSystem.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.ReferenceEquals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.GetTypeSystem.Object.MemberwiseClone
Constructors
AlphaContourExtractor
public AlphaContourExtractor()
Methods
ExtractImageContour
public Path ExtractImageContour(Bitmap sourceBitmap)
Parameters
| Type | Name | Description |
|---|---|---|
Aurigma.GraphicsMill.Bitmap | sourceBitmap |
Returns
Aurigma.GraphicsMill.AdvancedDrawing.Path
GetImageAlphaContour
public Path GetImageAlphaContour(Bitmap sourceBitmap, bool extractBackground)
Parameters
| Type | Name | Description |
|---|---|---|
Aurigma.GraphicsMill.Bitmap | sourceBitmap | |
System.Boolean | extractBackground |
Returns
Aurigma.GraphicsMill.AdvancedDrawing.Path
PrepareCounterMask
public bool[, ] PrepareCounterMask(Path contour, Bitmap sourceBitmap)
Parameters
| Type | Name | Description |
|---|---|---|
Aurigma.GraphicsMill.AdvancedDrawing.Path | contour | |
Aurigma.GraphicsMill.Bitmap | sourceBitmap |
Returns
System.Boolean[,]