Description
Compute rows × columns and subtract the interior rectangle for the boundary count using exact integers.
A rectangular cell grid has interior, boundary, and corner cells. Degenerate one-row or one-column grids need unique-corner counting rather than a fixed four-corner assumption.
Compute rows × columns and subtract the interior rectangle for the boundary count using exact integers.
When to use this tool
Use Microscope Grid Edge Share when you need an exact cell-boundary count and share.
How to use the tool and how it works
- Enter rows, columns, includeCorners. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read totalCellsDecimal, boundaryCellsDecimal, share. Use the output convention below.
Compute rows × columns and subtract the interior rectangle for the boundary count using exact integers. Optionally remove unique corner cells, accounting for one-row or one-column grids; return decimal counts and a numeric share.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| rows | Rows | Required. Safe integer; minimum 1. |
| columns | Columns | Required. Safe integer; minimum 1. |
| includeCorners | Include Corners | Required. Boolean. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| totalCellsDecimal | Total Cells Decimal | Required. Text; maximum UTF-16 length 8192. |
| boundaryCellsDecimal | Boundary Cells Decimal | Required. Text; maximum UTF-16 length 8192. |
| share | Dimensionless fraction under the stated denominator policy. | Required. Finite number. |
{
"input": {
"rows": 3,
"columns": 4,
"includeCorners": true
},
"output": {
"totalCellsDecimal": "12",
"boundaryCellsDecimal": "10",
"share": 0.8333333333333334
}
} Limitations and assumptions
- This is a cell-grid boundary convention, not a rule for counting objects touching microscopy grid lines.
- 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
Inspect the actual sampling geometry before using a cell-count share as an area or object-count proportion.
References
Similar or alternative tools
- Lab Plate Unused Well Budget Term
Count rows × columns wells, reserve controls + standards, and require samples × replicates sample wells.
- Micrograph Cell Count Grid Area Term
Multiply countedSquares by squareArea for countedArea.