Sign in
RadiAnt DICOM Viewer - Discussion Forum
Calculation of Pixel Spacing Value.

Apr 8, 2024 08:18 AM
by Ankit
I have a DICOM file containing rows (the image's dimension in the Y-axis in pixels), columns (the image's dimension in the X-axis in pixels), and the DPI value of the JPEG image. I want to calculate the pixel spacing value during DICOM conversion from JPEG to DICOM. Can I use the following formula to calculate the pixel spacing:

Physical Width of Image (inches) = Columns (Pixels) / DPI
Pixel Spacing (x-direction) (mm) = Physical Width of Image (inches) / Columns (Pixels) * 25.4 (To convert inches to mm)
Post reply
Author (first name or pseudonym):


Captcha image

Visitors can post messages on the forum without having to register. Please input your first name or pseudonym in the "Author" field. Do not publish any personally identifiable information (PII).

Please ensure you write your posts in English so that our international audience can understand and reply to your message.

The Administrator reserves the right to remove any messages that violate our forum rules; for example, those that are not related to the RadiAnt DICOM Viewer software, published in a language other than English, contravene regulations, etc.