AutoCropAnalysis<TPixel> Class
The result of ImageProcessingExtensions.AnalyzeAutoCrop: the background, as a pixel of the image, and the content box detected in an Image<TPixel>.
public sealed class AutoCropAnalysis<TPixel> : AutoCropAnalysis where TPixel : unmanagedType parameters
TPixel- The pixel type of the analyzed image.
Remarks
See AutoCropAnalysis for the other members and the lifetime of an analysis.
- Inheritance
AutoCropAnalysisAutoCropAnalysis<TPixel>
Properties
| Name | Description |
|---|---|
| BackgroundColor | Gets the detected background: the first border pixel of the most frequent border color, as stored in the image. A fully transparent background is transparent black. The AutoCropAnalysis.BackgroundColor of the base type is the same color widened exactly to 16 bits (for RgbaFloat and RgbaHalf, clipped to [0, 1] and rounded to 16 bits). |
BackgroundColor
AutoCropAnalysis{TPixel}.csGets the detected background: the first border pixel of the most frequent border color, as stored in the image. A fully transparent background is transparent black. The AutoCropAnalysis.BackgroundColor of the base type is the same color widened exactly to 16 bits (for RgbaFloat and RgbaHalf, clipped to [0, 1] and rounded to 16 bits).
public new TPixel BackgroundColor { get; }Property value
TPixel