2.0.15
profile influences configuration
This commit is contained in:
@@ -4,8 +4,18 @@ public class LeerformRecipe
|
||||
{
|
||||
public string RecipeName { get; set; } = string.Empty;
|
||||
public CellPattern Pattern { get; set; } = new();
|
||||
public int[] HistogramBins { get; set; } = [5, 5, 5];
|
||||
public float[] AverageSpline { get; set; } = [];
|
||||
public Dictionary<int, float[]> CellSplines { get; set; } = new();
|
||||
|
||||
/// <summary>LAB a* threshold for white chocolate (THRESH_BINARY_INV). Pixels with a* below this become foreground.</summary>
|
||||
public int AThreshold { get; set; } = 140;
|
||||
|
||||
/// <summary>LAB L* threshold for dark chocolate (THRESH_BINARY_INV). Pixels with L* below this become foreground.</summary>
|
||||
public int LThreshold { get; set; } = 100;
|
||||
|
||||
/// <summary>Minimum contour area (px) for a detected blob to count.</summary>
|
||||
public int MinBlobArea { get; set; } = 100;
|
||||
|
||||
/// <summary>Maximum contour area (px) for a detected blob to count.</summary>
|
||||
public int MaxBlobArea { get; set; } = 5000;
|
||||
|
||||
public string ThumbnailBase64 { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user