Description
Subtract annotation holes with a supplied shared-area correction.
Skin-image research can record scale, annotation geometry, visibility and timing. Pixel counts, mask components and supplied metadata are technical summaries rather than disease findings or proof an image is suitable for diagnosis.
Subtract annotation holes with a supplied shared-area correction.
When to use this tool
Use Lesion Annotation Holes Area Term when checking a supplied dermatology research image or annotation record.
How to use the tool and how it works
- Enter outerArea, holeAreas, sharedHoleArea, pixelArea. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read netPixelArea, physicalArea. Use the output convention below.
Subtract annotation holes with a supplied shared-area correction. Require nonnegative areas, sharedHoleArea <= summed holes and corrected holes <= outerArea; netPixelArea = outer-sum(holes)+shared, physicalArea multiplies by pixelArea.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| outerArea | Outer Area | Required. Finite number; minimum 0. |
| holeAreas | Hole Areas | Required. Array of finite number; maximum items 256. |
| sharedHoleArea | Shared Hole Area | Required. Finite number; minimum 0. |
| pixelArea | Physical area represented by one pixel, in the desired area units. | Required. Finite number; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| netPixelArea | Net Pixel Area | Required. Finite number. |
| physicalArea | Physical Area | Required. Finite number. |
{
"input": {
"outerArea": 100,
"holeAreas": [
10,
5
],
"sharedHoleArea": 0,
"pixelArea": 0.2
},
"output": {
"netPixelArea": 85,
"physicalArea": 17
}
} Limitations and assumptions
- Overlap correction and physical pixel scale are supplied, not inferred or verified from an image.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Use calibrated imaging and professional clinical assessment for any health interpretation; validate annotation and measurement methods separately.
References
Similar or alternative tools
- Lesion Annotation Area Share
Return annotation share after an excluded-area intersection correction.
- Lesion Mask Island Count
Count connected foreground islands in a binary mask.