# how to convert Pixel to cm

36 views (last 30 days)

Show older comments

Hi all

Hope you are keeping good and enjoying a lot. i contoured some region of a image using imfreehand. i want to caculate the volume of every pixel inside the contour. but the information i have get in pixels[X and Y coordinate values are in pixel] and Z coordinate is thickness of the image which is in cm. i need to convert the pixel to cm to get the volume of the each pixel. is there any formula or any suggestions???

but for the whole image i have voxel size information as below. voxel size [Y=0.09cm, Y=0.09cm, Z=0.18cm].will this helpful.

any help is appreciated in advance.

##### 6 Comments

Image Analyst
on 31 Jul 2021

### Answers (1)

Walter Roberson
on 17 Sep 2013

### See Also

### Community Treasure Hunt

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

Start Hunting!