Description
Subtract matchedOverlapCount from the two counts and overlapArea from the two areas.
Counts per field or area depend on the sampled denominator and any overlap or edge policy. Scaling a sampled density assumes the counted region represents the target region.
Subtract matchedOverlapCount from the two counts and overlapArea from the two areas.
When to use this tool
Use Microscopy Field Overlap Count Adjustment when you need a transparent field, grid, or area-normalized count.
How to use the tool and how it works
- Enter firstCount, secondCount, matchedOverlapCount, firstArea, secondArea, overlapArea. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read uniqueCount, unionArea, density. Use the output convention below.
Subtract matchedOverlapCount from the two counts and overlapArea from the two areas. Divide uniqueCount by positive unionArea for density.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| firstCount | First Count | Required. Safe integer; minimum 0. |
| secondCount | Second Count | Required. Safe integer; minimum 0. |
| matchedOverlapCount | Matched Overlap Count | Required. Safe integer; minimum 0. |
| firstArea | First Area | Required. Finite number; strictly above 0. |
| secondArea | Second Area | Required. Finite number; strictly above 0. |
| overlapArea | Overlap Area | Required. Finite number; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| uniqueCount | Unique Count | Required. Safe integer. |
| unionArea | Union Area | Required. Finite number. |
| density | Density | Required. Finite number. |
{
"input": {
"firstCount": 30,
"secondCount": 25,
"matchedOverlapCount": 5,
"firstArea": 2,
"secondArea": 2,
"overlapArea": 0.5
},
"output": {
"uniqueCount": 50,
"unionArea": 3.5,
"density": 14.285714285714286
}
} Limitations and assumptions
- Overlap counts and area must already be known; detections are not matched automatically and sampling bias is not corrected.
- 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 the original images and a documented sampling and counting protocol, with uncertainty analysis where needed.
References
Similar or alternative tools
- Micrograph Cell Count Grid Area Term
Multiply countedSquares by squareArea for countedArea.
- Benign Colony Edge Count Policy
Include edge in count only when edgeIncluded is true.