Add solidity filter #378
Current coverage is
|
|
Good question. I might just make it a percentage from 0 to 100, so we don't have to deal with figuring how how many digits to round the label to |
|
I actually didn't realize that convex hulls could have 0 area, but I guess that's possible if it's a single pixel. I think that teams will usually have a minimum area filter of at least one, so it should be fine. |
|
Won't this break save files? |
|
You tested this? |
Yes
Ideally I guess we would have something like that, but I don't think we need to stop adding new features until then |
|
Okay, sure. You can disagree. I'm not merging this yet though. |
Jonathan, we can decide as a group what to prioritize for the next release. It's not your decision alone. Stop pretending like it is. |

This lets you filter contours by their "solidity", which is the ratio of their area to the area of their convex hull.
You can technically filter out false positives by just having a minimum area, but that means that actual targets will be filtered out if you're too far away from them. In addition, larger false positives will still show up.
The FIRST Stronghold targets have a solidity of about 1/3 regardless of how far away they are, so using a solidity filter gets them very reliably.