How to compute thickness of a layer in an image
조회 수: 2 (최근 30일)
이전 댓글 표시
I would like to compute the thickness of a layer in an image (image_1.png). I would like to do this by computing the pixel value in the top layer subtracted by the pixel value in the corresponding bottom layer and averaged over the entire layer
. Can someone help me how i could proceed with this?
Thank you
댓글 수: 0
답변 (1개)
Simon Chan
2021년 7월 20일
편집: Simon Chan
2021년 7월 20일
You can only measure the thickness (or distance) in terms of pixel numbers according to your method.
Hence you also need to know the pixel size on your image so that you can convert the pixel value to a real distance.
You may use function imfinfo to retrieve the information regarding to the graphic file
On the other hand, if you are using dicom file, you may use function dicominfo
참고 항목
카테고리
Help Center 및 File Exchange에서 Convert Image Type에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!