C# Contour Segmentation Utility
Budget: $250 – $750 USD
I want a clean, standalone C# implementation that mirrors the behaviour of HALCON’s segment_contours_xld operator for shape-recognition tasks. The goal is to take an XLD contour (or an equivalent polyline structure) and output its segmented parts exactly as the HALCON reference describes: break points at curvature changes, inflexions, and user-controlled distance thresholds.
Key points to cover
• Pure C#, no external system integration or UI—just a well-structured class library that I can drop into any project.
• Match the options and output convention shown in the HALCON 13 docs linked above (breakpoint selection, max_length, smooth_contours, etc.).
• Robust unit tests that demonstrate correct segmentation on synthetic and real-world edge data; NUnit or xUnit are fine, with clear pass/fail assertions.
• Inline XML comments plus a short README so usage is obvious.
Acceptance criteria
• Segment results on the supplied test contours are bit-for-bit identical (or within floating-point tolerance) to HALCON’s output for the same parameters.
• All tests execute with a single command (dotnet test) and pass on .NET 7.
• Code style follows standard C# conventions and compiles with no warnings.
I will provide a small set of reference contours exported from HALCON. Deliver the finished library, test project, and instructions for building and running the suite.
Key points to cover
• Pure C#, no external system integration or UI—just a well-structured class library that I can drop into any project.
• Match the options and output convention shown in the HALCON 13 docs linked above (breakpoint selection, max_length, smooth_contours, etc.).
• Robust unit tests that demonstrate correct segmentation on synthetic and real-world edge data; NUnit or xUnit are fine, with clear pass/fail assertions.
• Inline XML comments plus a short README so usage is obvious.
Acceptance criteria
• Segment results on the supplied test contours are bit-for-bit identical (or within floating-point tolerance) to HALCON’s output for the same parameters.
• All tests execute with a single command (dotnet test) and pass on .NET 7.
• Code style follows standard C# conventions and compiles with no warnings.
I will provide a small set of reference contours exported from HALCON. Deliver the finished library, test project, and instructions for building and running the suite.