how to convert coordinates in pixel to mm?
6 views (last 30 days)
Show older comments
i have x,y,z coordinates of dicom in pixel.i have to convert them into mm?
0 Comments
Accepted Answer
More Answers (1)
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
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
on 2 Mar 2019
Edited: Image Analyst
on 2 Mar 2019
Tom Coder:
Try thresholding:
binaryImage = grayImage < 3300;
See attached demo.

See Also
Categories
Find more on DICOM Format in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!