I want to segment/contour first image named “image-origin” sticks like zones. As an example, I manually contoured six different colored contours in second image named “image-segmentation”. Segmentation is based on orientation of sticks. Having similar direction sticks should be placed in a same segmented zone.
Can you advise me how to handle it?
And once segmented, I need to average length of the sticks in each segmented zone as well.