Skip to content

Parameter adjustments - #38

Merged
AdenAthar merged 3 commits into
devfrom
parameter_adjustments
Oct 15, 2025
Merged

Parameter adjustments#38
AdenAthar merged 3 commits into
devfrom
parameter_adjustments

Conversation

@AdenAthar

@AdenAthar AdenAthar commented Oct 14, 2025

Copy link
Copy Markdown
Collaborator

Exposes 35 parameters across all 5 analyses, allowing users to configure analysis behavior and visualization settings via CLI.

Parameters exposed:

  • Segmentation (9): YOLO confidence/IOU thresholds, visualization settings, row tolerance
  • Starch (3): Starch threshold, blur kernel, mask transparency
  • Blush (9): Blush/fruit thresholds, overlay colors, text positioning
  • Peel Color (8): LAB color ranges, purple removal, lightness normalization
  • Superficial Scald (6): Morphology kernel, thresholds, histogram parameters

All parameters are optional with defaults matching previous hardcoded values

AdenAthar and others added 3 commits October 9, 2025 16:01
Added 32 configurable parameters across all 5 analyses:

Segmentation (8 params):
- Analysis: conf, iou, row_tolerance
- Visualization: mask_alpha, color_brightness, bbox_thickness, font_scale, text_thickness

StarchArea (3 params):
- Analysis: starch_threshold, blur_kernel
- Visualization: mask_alpha

BlushColor (8 params):
- Analysis: fruit_threshold
- Visualization: blush_color_r/g/b, text_x/y, font_scale, text_thickness

SuperficialScald (6 params):
- Analysis: morph_kernel, min_threshold, purple_threshold, blur_kernel, hist_factor, hist_top_n

PeelColor (7 params):
- Analysis: purple_threshold, lightness_min/max, green_min/max, yellow_min/max, normalize_lightness

All parameters use descriptive names and include comprehensive documentation in parameter_adjustments.md with defaults, ranges, types, and usage examples.
@AdenAthar
AdenAthar merged commit 87487cf into dev Oct 15, 2025
@AdenAthar
AdenAthar deleted the parameter_adjustments branch November 20, 2025 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant