Description
Multiply signed second-minus-first index difference by thickness+gap, then subtract modeled depth from suppliedDepthDifference.
Histology images and sections have pixel scales, physical dimensions, cutting indexes, and processing changes. Geometric arithmetic depends on those conventions and does not identify tissue or establish diagnostic adequacy.
Multiply signed second-minus-first index difference by thickness+gap, then subtract modeled depth from suppliedDepthDifference.
When to use this tool
Use Serial Section Depth Gap when you need one explicit histology image-scale or section-geometry component.
How to use the tool and how it works
- Enter firstSection, secondSection, sectionThickness, interSectionGap, suppliedDepthDifference. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read modelDepthDifference, residual. Use the output convention below.
Require nonnegative section indexes, positive sectionThickness, and nonnegative interSectionGap. Multiply signed second-minus-first index difference by thickness+gap, then subtract modeled depth from suppliedDepthDifference.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| firstSection | First Section | Required. Safe integer; minimum 0. |
| secondSection | Second Section | Required. Safe integer; minimum 0. |
| sectionThickness | Section Thickness | Required. Finite number; strictly above 0. |
| interSectionGap | Inter Section Gap | Required. Finite number; minimum 0. |
| suppliedDepthDifference | Supplied Depth Difference | Required. Finite number. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| modelDepthDifference | Model Depth Difference | Required. Finite number. |
| residual | Residual | Required. Finite number. |
{
"input": {
"firstSection": 2,
"secondSection": 5,
"sectionThickness": 2,
"interSectionGap": 1,
"suppliedDepthDifference": 10
},
"output": {
"modelDepthDifference": 9,
"residual": 1
}
} Limitations and assumptions
- Lengths share units and uniform spacing is assumed; residual does not identify distortion, section loss, or true tissue depth.
- 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
Verify calibration, section preparation, image registration, and the complete sampling protocol before interpreting tissue measurements.
References
Similar or alternative tools
- Serial Section Index Offset
Add (sectionIndex-anchorIndex) × sectionStep to firstCoordinate, using an exact integer index difference before numeric multiplication.
- Section Gap To Thickness Ratio
Divide nonnegative gap by positive thickness for ratio.