MATLAB Answers

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.

9 ビュー (過去 30 日間)
Slim 2016 年 12 月 8 日
コメント済み: Slim 2016 年 12 月 8 日
Image Processing

  0 件のコメント

サインイン to comment.

回答 (1 件)

Chaya N
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.

  1 件のコメント

Slim 2016 年 12 月 8 日
I don't want to extract the pixels from the image, my aim is to make these images the same both in matrix size and pixel spacing so I can register them. At the moment my registration is failing because although my images are the same in size the spacing between my matrices are different.

サインイン to comment.

サインイン してこの質問に回答します。

Translated by