Description
Subtract excludedPixels within nonnegative integer pixelCount and multiply by positive xLengthPerPixel times yLengthPerPixel.
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.
Subtract excludedPixels within nonnegative integer pixelCount and multiply by positive xLengthPerPixel times yLengthPerPixel.
When to use this tool
Use Region Area Pixel Scale when you need one explicit histology image-scale or section-geometry component.
How to use the tool and how it works
- Enter pixelCount, xLengthPerPixel, yLengthPerPixel, excludedPixels. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read pixelArea, regionArea. Use the output convention below.
Subtract excludedPixels within nonnegative integer pixelCount and multiply by positive xLengthPerPixel times yLengthPerPixel. Return that pixelArea and eligible regionArea.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| pixelCount | Pixel Count | Required. Safe integer; minimum 0. |
| xLengthPerPixel | X Length Per Pixel | Required. Finite number; strictly above 0. |
| yLengthPerPixel | Y Length Per Pixel | Required. Finite number; strictly above 0. |
| excludedPixels | Excluded Pixels | Required. Safe integer; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| pixelArea | Pixel Area | Required. Finite number. |
| regionArea | Region Area | Required. Finite number. |
{
"input": {
"pixelCount": 100,
"xLengthPerPixel": 0.5,
"yLengthPerPixel": 0.25,
"excludedPixels": 20
},
"output": {
"pixelArea": 0.125,
"regionArea": 10
}
} Limitations and assumptions
- Separate axis scales permit anisotropic pixels and must use one length unit; no segmentation, calibration, or tissue interpretation is performed.
- 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
- Histology Annotation Physical Area Term
Multiply nonnegative pixelArea by positive xMicronsPerPixel and yMicronsPerPixel for squareMicrons, then divide by one million for squareMillimeters.
- Slide Scanner Microns Per Pixel Factor
Multiply positive baseMicronsPerPixel by positive downsample for levelMicronsPerPixel, then by nonnegative pixels for lengthMicrons.