I have two images of the same matrix size (512x512) but different pixel spacing. One image has a pixel spacing of 0.7 and the other 0.4. How do I get the two images to have the same pixel spacing and still maintain the matrix size of both images.
조회 수: 2 (최근 30일)
이전 댓글 표시
답변 (1개)
Chaya N
2016년 12월 8일
You could extract the image pixel values into new arrays. This would preserve the size of the images and ignore pixel spacing (or consider them equal if you will). I would suggest using the impixel function.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!