read array of image radial

1 次查看(过去 30 天)
fatimah towailib
fatimah towailib 2016-12-27
i have file that contain array of images. I read image in x,y direction this mean axial know i need to read it in z direction which is radial. the question that Dr give me is: Q/Find the axial and radial resolution after every 10 slices. for axial i did it for radial not yet

回答(1 个)

Walter Roberson
Walter Roberson 2016-12-27
Image arrays do not contain information about resolution. Image files might contain information about resolution, but unless they are DICOM images (or perhaps PNG produced by scientific microscopes), any resolution information they contain is likely to be wrong.
If you have a DICOM file that contains a number of slices, then the z spacing has to be read from the DICOM metadata. Typically the z spacing is given as a scalar -- the space between slices is a constant typically. The z resolution is really not something you calculate, it is something you read out from the metadata.
However, if there happened to be something of known size that was present in every slice, then you could potentially calculate the resolution from the images themselves. For medical images, this typically only happens if you are running a "phantom" (imaging a non-medical object of known properties.)
  1 个评论
Image Analyst
Image Analyst 2016-12-27
What kind of file is it? If it's a dicom file, do this:
info = dicominfo(filename)
What does it show in the command window?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 DICOM Format 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by