问题
I am trying to extract the length and width from a set lidar sensor points (pink) as shown in the image below. The points circled in blue and white are actually noise which I wish to eliminated. [The orange box is the length and width I currently have calculated from the points. As seen, the calculated width is much 1/3 wider than it is supposed to be, due to the noisy points i blue and white]
I've read some approaches to do corner/rectangle fitting, then discarding x% of the poorest fitting points. This would help me to get rid of the circled points. But so far, after many searches I still cannot find any concrete implementations on how to do this fitting.
Can any provide any suggestions how I can go about doing this?
来源:https://stackoverflow.com/questions/40945907/fitting-a-l-shape-corner-to-points-to-remove-outliers