allow me to change contour thickness and set it to 1mm by default.
- User
allow me to change contour thickness and set it to 1mm by default.
- Assistant
Now let me update the detection logic to use
contourThicknessMmas the search band width instead of a fixed percentage. The band should be roughly half the line thickness on each side of the nominal radius. Let me view the relevant section:Let me find where the search band is defined:
Now let me add the contourThicknessMm to the options interface and use it to compute a search band in pixels:
Now let me update the function parameters and replace the hardcoded band with a thickness-based one:
Now let me replace the hardcoded search band with a thickness-based one: