how to convert coordinates in pixel to mm?

6 views (last 30 days)
i have x,y,z coordinates of dicom in pixel.i have to convert them into mm?

Accepted Answer

KSSV
KSSV on 17 Jul 2017
  2 Comments
lovey chatha
lovey chatha on 17 Jul 2017
i need way to find out way to convert pixel coordinates into mm?
KSSV
KSSV on 18 Jul 2017
It is mentioned in the link...what problem you facing?

Sign in to comment.

More Answers (1)

Image Analyst
Image Analyst on 18 Jul 2017
I know you've already accepted an answer but I just thought I'd include my code to do spatial calibration, if you still need it.
  4 Comments
tom coder
tom coder on 2 Mar 2019
Image Analyst,
I am confirming the pixel2mm factors for EPID of a linac. The phantom chosen is made of 3 BB with known diamter. Successfuly detect all 9 circles using imfindcircles in 3 dicom images but failed on the 4th (SID80, attached). The original dicom image is also zip-attached.
Any efficient algorithm to detect center of circle at subpixel level?
Thanks.
Image Analyst
Image Analyst on 2 Mar 2019
Edited: Image Analyst on 2 Mar 2019
Tom Coder:
Try thresholding:
binaryImage = grayImage < 3300;
See attached demo.

Sign in to comment.

Categories

Find more on DICOM Format in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!