How can I find the pixel size?

4 ビュー (過去 30 日間)
Tomas
Tomas 2012 年 11 月 28 日
Hello, How can I find the pixel size in an image with matlab? thanks

回答 (1 件)

Walter Roberson
Walter Roberson 2012 年 11 月 28 日
It is not possible to find the pixel size without additional information.
Q: In the movie Star Wars, how large is the Imperial Battle Cruiser?
A: About 3 feet long. It just looks huge because of the camera angles and very very careful use of perspective.
If you have DICOM images it is often possible (but not always) to find the pixel size information in the DICOM headers. Some scientific devices put sufficient information into JPEG or TIFF headers, but this is not common and tends to be wrong.
If you have an object of known size in the image, such as a ruler, then it may be possible to calculate the pixel size.

カテゴリ

Help Center および File ExchangeConvert Image Type についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by