Border evaluation: Large area IoU may hide the contour error
Splits the area IoU by pixel area.
Learning objectives and first steps2 objectives 2 first fixes
Try to do it after reading
- Distinguishing regional overlaps from border quality
- Description of boundary tolerance distance and scale agreement
Suggested first
- Thrust and Matrix Operations
- Basic neural network
It's close. The edges may still be bad
Splits the area IoU by pixel area. For large objects, the diversion of small quantities of pixels along the border may be only a small fraction of the total area, with regional scores still high; For fine structures, the same deviation could seriously damage shapes. In evaluating the contours, there is a need to complement border-sensitive indicators rather than looking at overlaps as a whole.
Simplified by continuous squares: Real Area 10 x 10, Forecast Consort 12 x 12, Convergence 100, collection 144, IoU about 0.694444. Real 100 x 100, projected homogenous 102 x 102, with a border also outbound, IoU approximately 0.96169. The same absolute border deviation is punished differently in regional indicators.
This example does not mean that the two scales should be evaluated in exactly the same way, but rather suggests that the selection of indicators implicitly implies the weight of the scale. Boundary bandwidth, using fixed pixels, image-to-angle or object scale scales, will be sensitive to different degrees and must be clearly agreed upon.
Border indicators are also specifically defined
Boundary IoU Match and compare the area by a banding near the regional boundary, directly counting the area IoU Different. The border F score usually involves matching the boundary point within the tolerance distance, another definition that cannot be confused with a mere “border accuracy rate”.
The method of extracting the boundary, connectivity, morphological operations, image edge processing and empty mask influence the discrete result. If true and predictions are empty, there should be a clear agreement; If multiple debris is projected, the boundary length may increase significantly, requiring treatment in accordance with selected indicators rather than manual deletion of difficult cases.
Model comparisons can be made of the area IoU, boundary indicators and sub-target slices, avoiding the optimization of only one number. There is also noise on the edge of the label itself, and too narrow a tolerance belt may miscalculate all reasonable differences and should be selected in conjunction with the resolution and mission needs.
Visualization should add the prediction to the true contour and indicate the scale. Displaying the smooth plug value of the software may make the edges look better, and the actual evaluation is still based on discrete mask and cannot be replaced with a screenshot of the value.
References to this section Boundary IoU The original paper splits the frame with the example, and the square is a continuous composite geometry, not an experiment of reproducing the paper. 0.694 and 0.961 describe only regional scale effects.
Value recovery
import mathassert math.isclose(100/144,0.6944444444444444)assert math.isclose(10000/10404,0.9611687812379854)Also, one unit outwards. Why is the large object area IoU higher?
The additional border area is smaller than the original area and the relative penalties vary from region to region.
Boundary IoU With borders F Can the scores be considered the same formula?
It is not possible to combine structures, matches and attributions that are different, and that specific definitions and tolerance should be given.
Sources and reconciliations
Definitions, methods and interfaces are available.
Figures and calculations are reorganized according to this chapter. Mathematical measurements, framework operations and real business effects are described separately in the body of the text.