Description
DICOM modality rescale value m*SV+b for one explicitly supplied stored value, without display windowing or interpreting physical units.
An image grid has array indices as well as physical spacing, timing, and signal conventions. A calculation on supplied metadata describes one part of that grid or signal; it does not inspect an image, validate a complete file, or interpret anatomy.
DICOM modality rescale value m*SV+b for one explicitly supplied stored value, without display windowing or interpreting physical units.
When to use this tool
Use it for dicom rescale slope intercept one pixel when the required inputs and conventions are already available.
How to use the tool and how it works
- Enter storedPixel, slope, intercept. Use the stated units and boundary conventions.
- Run the calculation. Correct any input error before interpreting a result.
- Read modalityValue. Inspect any known, defined, inclusion, or boundary flags before interpreting numeric values.
Multiply storedPixel by slope and add intercept to return modalityValue. Use the supplied numeric parameters directly.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| storedPixel | Stored Pixel | Required. Finite number. |
| slope | Slope | Required. Finite number. |
| intercept | Intercept | Required. Finite number. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| modalityValue | Modality Value | Required. Finite number. |
{
"input": {
"storedPixel": 100,
"slope": 2,
"intercept": -100
},
"output": {
"modalityValue": 100
}
} Limitations and assumptions
- The tool does not inspect Rescale Type, determine whether output units are Hounsfield units, apply windowing, or identify tissue from the transformed value.
- The field tables describe structural bounds; the mechanics also state cross-field requirements. Malformed input shapes, disallowed keys, and invalid domains cause input errors. Results must remain finite and within the declared output contract. A successful false flag or zero placeholder is distinct from an error.
- Numeric arithmetic uses binary floating point. Exact comparisons have no hidden tolerance or decimal rounding; negative zero is exported as zero. Decimal-text integer operations retain the exactness specifically stated above.
Alternative or Complementary methods
For dicom rescale slope intercept one pixel, check the source records and the supplied rule before comparing the result with another method. Use a full image reader and geometry or signal analysis when the task requires interpreting image data.
References
Similar or alternative tools
- DICOM Pixel Representation Signextension Mask
Unsigned-word masking and two-complement interpretation/sign extension for at most 32 stored bits; no endian or transfer-syntax decoding.
- DICOM Pixel Spacing Row Column Crosswalk
DICOM Pixel Spacing order is row then column, in millimeters; distances are in the image plane, not patient-coordinate reconstruction.